The derivative of cos^2(4x) is 2cos(4x)(-sin(4x))(4) Why do I take the derivative of the 4x? Why is that last 4 present?
that's how the chain rule works, u have to derive from inner till outer
derivative of 4x is 4
derivative of (...)^2 = 2(...)
derivative of cos() = -sin()
times up of them
Yes, I understand all of the rest of it. But I don't know why I have to take the derivative of the 4x. I guess I just don't understand the chain rule.
well, i will show step by step
we have y = cos^2(4x) let u = 4x du/dx = 4, agree ?
yes
ok, now we have y = cos^2 (u) let v = cos(u) dv/du = -sin(u), agree ?
ok
finally, now we have y = v^2 dy/dv = 2v, right ?
right
thus, to get y' = dy/dx just multiply of them dy/dx = du/dx * dv/du * dy/dv dy/dx = 4 * (-sin(u)) * 2v
but, the answer must be in x term so, subtitute back that u = 4x and v = cos(u) = cos(4x)
therefore, dy/dx = 4 * (-sin(u)) * 2v dy/dx = 4 * (-sin(4x)) * 2cos(4x)
that's look too long way, so u have to doing the chain rule directly to be easier
Ok, so cos(x) would actually have a derivative of -sin(x) * 1 where the one is the derivative of x?
exactly, yes!
Thank you very much! You've helped a lot
my pleasure could help u :)
Join our real-time social learning platform and learn together with your friends!