Differentiate
and state where the derivative exists.
Identify the layers and the domain. The function is a triple composition: with and . For to be defined we need , i.e. ; the derivative will require the strict inequality , because has an infinite slope at .
Differentiate the outer layer.
The minus sign belongs to the derivative of cosine and must not be lost.
Differentiate the inner square root, using the chain rule again. Writing ,
The factor from cancels the from the power rule — a tidy coincidence specific to the coefficient .
Multiply the two rates.
Check numerically and inspect the endpoint. At : , so , and a central difference of at gives ✓. At the function is defined () but the denominator vanishes, so the graph has a vertical tangent and does not exist there.
Need to solve a different problem like this? Open the solver →