How do you differentiate #f(x)=sqrtcos(lnx^2)# using the chain rule?
Here, basically, you have 4 functions one inside the other! Starting for the most "external" you have:
the square root or
To derive you start from the outer one (the square root) and subsequently multiply by each derivative up the inner one (colored).