How do you differentiate y=cos^2(x^2-2)y=cos2(x22)?

1 Answer
Feb 25, 2017

y'=-4xsin(x^2-2)cos(x^2-2)

Explanation:

You would use the power rule:

f(x)=x^n->f'(x)=n*x^(n-1)

f(x)=g(x)^n->f'(x)=n*g(x)^(n-1)*g'(x)

and the chain rule

f(x)=cos(g(x))->f'(x)=-sin(g(x))*g'(x)

Then it is:

y'=2cos(x^2-2)*(-sin(x^2-2))*2x

y'=-4xsin(x^2-2)cos(x^2-2)