How to calculate derivative of $ \cos nx$? Do I need any formula for $ \cos nx$?
The answer in my exercise book says it is $-a \sin ax$. But I don't know how to come to this result. Could you maybe explain it to me?
|
How to calculate derivative of $ \cos nx$? Do I need any formula for $ \cos nx$? The answer in my exercise book says it is $-a \sin ax$. But I don't know how to come to this result. Could you maybe explain it to me? |
|||
|
|
Hint: Apply the Chain Rule with $u=nx$. Solution:
|
||||
|
|
|
As @Amzoti and @George noted, you can use the Chain rule. If $f(u)=y$ and $u=g(x)$ then: $$\frac{dy}{dx}=\frac{dy}{du}\times\frac{du}{dx}$$, so in your problem we have : $$(\cos nx)'=\frac{d(\cos(u))}{du}\times\frac{du}{dx}=-\sin(u)\times n$$ This is what you are supposed to get during another answer. What I want to add you here is that, you should always care about the variable and about the constants. For example if you want the derivative of $\cos nx$ such that $n$ is variable and $x$ is constant then we will have : $$(\cos nx)'=\frac{d(\cos(u))}{du}\times\frac{du}{dx}=-\sin(u)\times x=-\sin(nx)\times x$$ |
|||