6F

Proving the derivative of sin x

The limit of sin h over h as h tends to zero, proved geometrically, and the proof from first principles that the derivative of sin x is cos x, with the derivatives of cos x and tan x that follow.

In 6B we argued from the graph that the derivative of $\sin x$ is a cosine-shaped wave. The graph can't tell us its height is exactly $1$. This section closes that gap. The whole proof rests on one fact: near the origin, $\sin x$ and $x$ are almost the same number, as long as $x$ is in radians.

A key inequality

Draw a unit circle with centre $O$. Mark a point $A$ on it, and a point $B$ on the circle so that angle $AOB$ is $x$ radians, with $0 \lt x \lt \tfrac{\pi}{2}$. Then draw the tangent to the circle at $A$, meeting the line $OB$ (extended) at $M$. Three regions sit inside each other:

RegionAreaWhy
triangle $OAB$$\tfrac12\sin x$$\tfrac12ab\sin C$ with $a = b = 1$
sector $OAB$$\tfrac12x$$\tfrac12r^2\theta$ with $r = 1$ (this is where radians are needed)
triangle $OAM$$\tfrac12\tan x$right angle at $A$, base $1$, height $AM = \tan x$

The triangle fits inside the sector, which fits inside the bigger triangle. Comparing the areas and doubling gives:

The limit of sin x over x

Proof that the limit is 1●●●

Show that $\displaystyle\lim_{x \to 0}\frac{\sin x}{x} = 1$.

$1 \lt \dfrac{x}{\sin x} \lt \dfrac{1}{\cos x}$
Start from the inequality, for small positive x. Divide every part by sin x, which is positive, so the signs stay the same.
$\cos x \lt \dfrac{\sin x}{x} \lt 1$
Take reciprocals of positive numbers. This reverses both inequality signs.
$\dfrac{\sin x}{x} \to 1$ as $x \to 0^+$
As x → 0, cos x → 1. The ratio is trapped between two things that both approach 1.
$\displaystyle\lim_{x \to 0}\frac{\sin x}{x} = 1$
sin(−x)/(−x) = sin x / x, so the ratio is even. The same limit holds from the left.

Since $\dfrac{\tan x}{x} = \dfrac{\sin x}{x} \times \dfrac{1}{\cos x}$, it follows that $\dfrac{\tan x}{x} \to 1 \times 1 = 1$ as well.

sin x, x and tan x near the origin

Orange: y = sin x. Dashed blue: the line y = x. Green: y = tan x.

Try this

Drag H towards $0$ from the right and watch $\dfrac{\sin h}{h}$. Check that $\sin h \lt h \lt \tan h$ at every position. What happens to the three graphs very close to the origin?

Example 1●●

Find (a) $\displaystyle\lim_{x \to 0}\frac{\sin 4x}{x}$ and (b) $\displaystyle\lim_{x \to 0}\frac{\sin 4x}{\sin 3x}$.

(a) $\dfrac{\sin 4x}{x} = 4 \times \dfrac{\sin 4x}{4x} \to 4 \times 1 = 4$
The angle is 4x, so we need 4x underneath. Multiply and divide by 4.
(b) $\dfrac{\sin 4x}{\sin 3x} = \dfrac{\sin 4x}{4x} \times \dfrac{3x}{\sin 3x} \times \dfrac{4}{3} \to \dfrac43$
Rewrite both sine terms so each sits over its own angle.

The derivative of sin x

We need one fact from the Extension 1 course, which we accept here: $\sin(A + B) = \sin A\cos B + \cos A\sin B$.

Proof from first principles●●●

Prove that $\dfrac{d}{dx}\sin x = \cos x$.

$\dfrac{d}{dx}\sin x = \displaystyle\lim_{h \to 0}\frac{\sin(x + h) - \sin x}{h}$
The first-principles definition of the derivative.
$\dfrac{\sin x\cos h + \cos x\sin h - \sin x}{h} = \cos x \times \dfrac{\sin h}{h} + \sin x \times \dfrac{\cos h - 1}{h}$
Expand sin(x + h), then group the two sin x terms.
$\dfrac{\cos h - 1}{h} = \dfrac{\cos^2 h - 1}{h(\cos h + 1)} = -\dfrac{\sin h}{h} \times \dfrac{\sin h}{\cos h + 1}$
The first fraction tends to 1. For the second, multiply top and bottom by cos h + 1 and use cos²h − 1 = −sin²h.
$\dfrac{\cos h - 1}{h} \to 0$
As h → 0, that is −1 × 0/2 = 0.
$\dfrac{d}{dx}\sin x = \cos x \times 1 + \sin x \times 0 = \cos x$
Put the two limits together.

Cosine and tangent follow

  • $\cos x = \sin\left(\tfrac{\pi}{2} - x\right)$. By the chain rule, $\dfrac{d}{dx}\cos x = -\cos\left(\tfrac{\pi}{2} - x\right) = -\sin x$.
  • $\tan x = \dfrac{\sin x}{\cos x}$. By the quotient rule, $\dfrac{d}{dx}\tan x = \dfrac{\cos x\cos x - \sin x(-\sin x)}{\cos^2 x} = \dfrac{1}{\cos^2 x} = \sec^2 x$.

Your turn

Find $\displaystyle\lim_{x \to 0}\frac{\tan 2x}{3x}$.

Show the working

$\dfrac{\tan 2x}{3x} = \dfrac{\tan 2x}{2x} \times \dfrac{2}{3}$. Since $\dfrac{\tan 2x}{2x} \to 1$, the limit is $\dfrac23$.

Flashcards
$displaystylelim_{x o 0}rac{sin x}{x}$
$1$, with $x$ in radians
The inequality for $0 lt x lt frac{pi}{2}$
$\sin x \lt x \lt \tan x$
Small angles in radians
$\sin x \approx x$ and $\tan x \approx x$
Practice
  1. With $h$ in radians, $\displaystyle\lim_{h \to 0}\frac{\sin h}{h}$ is:

  2. Find $\displaystyle\lim_{x \to 0}\frac{\sin 3x}{x}$.

  3. Find $\displaystyle\lim_{x \to 0}\frac{\tan 2x}{x}$.

  4. For $0 \lt x \lt \dfrac{\pi}{2}$:

  5. Find $\displaystyle\lim_{x \to 0}\frac{\sin 5x}{\sin 2x}$.

  6. Use $\sin x \approx x$ to estimate $\sin 0.02$.

  7. In the proof, $\displaystyle\lim_{h \to 0}\frac{\cos h - 1}{h}$ equals:

  8. Evaluate $\dfrac{\sin 0.1}{0.1}$ correct to four decimal places (radians).

  9. Exam style: an angle of $x^\circ$ is $\dfrac{\pi x}{180}$ radians. Find $\displaystyle\lim_{x \to 0}\frac{\sin x^\circ}{x}$ correct to four decimal places.

  10. Exam style: find $\displaystyle\lim_{x \to 0}\frac{1 - \cos x}{x^2}$.

Formula sheet