The definition of the derivative is used to prove the formula for the derivative of \( \cos (x)\)
. The derivative of a cosine composite function is also presented including examples with their solutions.
Proof of the Derivative of cos x Using the Definition
The definition of the derivative \( f' \) of a function \( f \) is given by
\[ f'(x) = \lim_{h \to 0} \dfrac{f(x+h)-f(x)}{h} \]
Let \( f(x) = \cos(x) \) and write the derivative of \( \cos(x) \) as a limit
\( f'(x) = \lim_{h \to 0} \dfrac{\cos(x+h)-\cos(x)}{h} \)
Use the formula \( \cos(x+h) = \cos(x)\cos(h) - \sin(x)\sin(h)\) to rewrite the derivative of \( cos(x) \) as
\( f'(x) = \lim_{h \to 0} \dfrac{\cos(x)\cos(h) - \sin(x)\sin(h) - \cos(x)}{h} \)
Rewrite \( f'(x) \) as follows
\( f'(x) = \lim_{h \to 0} \dfrac{\cos(x) (cos(h) - 1) - \sin(x) \sin(h))}{h} \)
Use the theorem on limits that states: the limit of a difference of two functions is equal to the difference of the limits, to rewrite \( f'(x) \) as follows
\( f'(x) = \lim_{h \to 0} \dfrac{\cos(x) (cos(h) - 1)}{h} - \lim_{h \to 0} \dfrac{\sin(x) \sin(h)}{h} \)
Rewrite the above as
\( f'(x) = \cos(x) \lim_{h \to 0} \dfrac{ (cos(h) - 1)}{h} - \sin(x) \lim_{h \to 0} \dfrac{ \sin(h)}{h} \)
We now use the well known results on the limits of trigonometric functions
\( \lim_{h \to 0} \dfrac{\sin(h)}{h} = 1 \) , prooved in the use of squeezing theorem to find limits of mathematical functions.
\( \lim_{h \to 0} \dfrac{cos(h) - 1}{h} = 0 \) , prooved in calculate limits of trigonometric functions
to simplify \( f'(x) \) to
\( f'(x) = \sin(x) (0) - \sin(x) (1) = - sin(x) \)
conclusion
\[ \displaystyle {\dfrac {d}{dx} \cos x = - \sin x } \]
Graph of cos x and its Derivative
The graphs of \( \cos(x) \) and its derivative are shown below. Note that at any maximum or minimum of \( \cos(x) \) corresponds a zero of the derivative. For any interval over which \( \cos(x) \) is increasing the derivative is positive and for any interval over which \( \cos(x) \) is decreasing, the derivative is negative.
Let \( u(x) = 2x+2 \) and therefore \( \dfrac{d}{dx} u = \dfrac{d}{dx} (2x+2) = 2 \) and apply the rule for the composite cos function given above
\( \displaystyle \dfrac{d}{dx} f(x) = \dfrac{d}{dx} \cos(u) = -\sin u \dfrac{d}{dx} u = -\sin (2x+2) \times 2 \)
\( = - 2 \sin (2x+2) \)
Let \( u(x) = \tan x \) and therefore \( \dfrac{d}{dx} u = \dfrac{d}{dx} \tan x = \sec^2 x \) and apply the above rule of differentiation for the composite cos function
Let \( u(x) = \left(\dfrac{x^2}{x^2+1} \right) \) and therefore \( \dfrac{d}{dx} u = \frac{2x}{\left(x^2+1\right)^2} \) and apply the rule of differentiation for the composite cos function obtained above