What is the derivative of #f(x)=cos^2x-cosx^2dx#?
2 Answers
# f'(x) = 2xsin(x^2) - sin2x #
Explanation:
I assume the
# f(x) = cos^2x-cos(x^2) #
We differentiate this by using the chain rule on both components separately;
For
# { ("Let",u=cosx, => (du)/dx=-sinx), ("Then",A=u^2, => (dA)/(du)=2u ) :}#
Using the chain rule
# (dA)/dx = (2u)(-sinx) #
# " " = (2cosx)(-sinx) #
# " " = -sin2x #
And, for
# { ("Let",u=x^2, => (du)/dx=2x), ("Then",B=cosu, => (dB)/(du)=-sinu ) :}#
Using the chain rule
# (dB)/dx = (-sinu)(2x) #
# " " = -2xsin(x^2) #
And combining the results we get:
# f'(x) = 2xsin(x^2) - sin2x #
Explanation:
Apply the sum/difference rule
=
Treat f, d as constants
Take the constant out of the brackets
Appy the product rule f*g = f+g + f+g
where f = x g = cos^2
Keep the f and #cos^2(x) separate and solve rest of the equation
d/dx(cos^2x)
Apply chain rule
Let cos(x) be u
=
Divide this equation into to and solve the first part
=
Then solve the second part
=
Now combine both the equations
substitute back cos(x)
=
Bring back the f and
=
=
=
Remember this equation
Now time to solve this
Apply the chain rule and let
=
Again separate the equation into two.
Now solve for the second part
=
=
Now substitute back
=
=
Now combine all the equations