← Back to learning objective

Derivative of cos(x) from the limit definition

Let f(x)=cos⁡(x)f(x) = \cos(x). Use the limit definition of the derivative, f′(x)=lim⁡h→0f(x+h)−f(x)h,f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}, together with the angle addition formula cos⁡(x+h)=cos⁡(x)cos⁡(h)−sin⁡(x)sin⁡(h)\cos(x+h) = \cos(x)\cos(h) - \sin(x)\sin(h), to find f′(x)f'(x). What is f′(x)f'(x)?

Hint

Write cos⁡(x+h)−cos⁡(x)\cos(x+h) - \cos(x) using the angle addition formula, then group terms to isolate the two standard limits lim⁡h→0cos⁡(h)−1h=0\lim_{h\to 0} \frac{\cos(h)-1}{h} = 0 and lim⁡h→0sin⁡(h)h=1\lim_{h\to 0} \frac{\sin(h)}{h} = 1.

Step-by-step solution

Start with f(x+h)−f(x)h=cos⁡(x+h)−cos⁡(x)h\frac{f(x+h)-f(x)}{h} = \frac{\cos(x+h) - \cos(x)}{h}. Substitute the angle addition formula: cos⁡(x+h)=cos⁡(x)cos⁡(h)−sin⁡(x)sin⁡(h)\cos(x+h) = \cos(x)\cos(h) - \sin(x)\sin(h), so the numerator becomes cos⁡(x)cos⁡(h)−sin⁡(x)sin⁡(h)−cos⁡(x)\cos(x)\cos(h) - \sin(x)\sin(h) - \cos(x). Grouping the cos⁡(x)\cos(x) terms gives cos⁡(x)[cos⁡(h)−1]−sin⁡(x)sin⁡(h)\cos(x)[\cos(h)-1] - \sin(x)\sin(h).

Divide by hh to write the difference quotient as cos⁡(x)⋅cos⁡(h)−1h−sin⁡(x)⋅sin⁡(h)h\cos(x)\cdot\frac{\cos(h)-1}{h} - \sin(x)\cdot\frac{\sin(h)}{h}. Taking the limit as h→0h \to 0, use the known limits lim⁡h→0cos⁡(h)−1h=0\lim_{h\to 0}\frac{\cos(h)-1}{h}=0 and lim⁡h→0sin⁡(h)h=1\lim_{h\to 0}\frac{\sin(h)}{h}=1. This yields f′(x)=cos⁡(x)⋅0−sin⁡(x)⋅1=−sin⁡(x)f'(x) = \cos(x)\cdot 0 - \sin(x)\cdot 1 = -\sin(x).

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap