Tutorials › AP Calculus › Deriving the Sine Derivative

Trigonometric and Exponential Derivatives · Tutorial 141 of 999

Deriving the Sine Derivative

Use the difference quotient and standard trigonometric limits to prove that the derivative of sine is cosine at every real input.

Intermediate 9 min read

What You'll Learn

  • Write the difference quotient that defines the derivative of sine at a real number.
  • Apply the sine angle-addition identity to separate the changing input.
  • Use the standard limits involving sine and cosine as the increment approaches zero.
  • Explain why the derivation requires angles measured in radians.
  • Find exact sine slopes and write a tangent-line equation using the result.
  • Identify and correct a common error when expanding the difference quotient.

Why Derive the Sine Derivative?

A derivative describes the instantaneous rate of change of a function. For the sine function, the derivative turns out to be the cosine function. Rather than accept that formula as a fact to memorize, we can obtain it directly from the definition of a derivative.

The derivation depends on a precise trigonometric identity and two limits. It also depends on measuring angles in radians. Each part has a distinct role: the identity rewrites the difference quotient, while the limits evaluate the pieces that remain as the input increment approaches zero.

Key result: When \(x\) is a real number measured in radians, the derivative of \(f(x)=\sin x\) exists and is \(f'(x)=\cos x\).

The Difference Quotient for Sine

For a function \(f\), its derivative at \(x\), when the limit exists, is defined by the difference quotient

$$ f'(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}. $$

Here \(h\) is a nonzero increment that approaches zero. For \(f(x)=\sin x\), this definition gives

$$ \frac{d}{dx}\sin x = \lim_{h\to 0}\frac{\sin(x+h)-\sin x}{h}. $$

The quotient compares the sine value at \(x+h\) with the sine value at \(x\), then divides their difference by the change in input. To evaluate its limit, use the angle-addition identity

$$ \sin(x+h)=\sin x\cos h+\cos x\sin h. $$

The standard trigonometric limits needed are

$$ \lim_{h\to 0}\frac{\sin h}{h}=1 \qquad\text{and}\qquad \lim_{h\to 0}\frac{\cos h-1}{h}=0. $$

These limits apply when the angle variable is measured in radians. In particular, the first limit has value \(1\) under the radian convention used here.

Deriving the Formula

Substitute the angle-addition identity into the difference quotient. Then regroup the numerator so that each standard limit appears explicitly.

$$ \begin{aligned} \frac{\sin(x+h)-\sin x}{h} &=\frac{\sin x\cos h+\cos x\sin h-\sin x}{h}\\ &=\frac{\sin x(\cos h-1)+\cos x\sin h}{h}\\ &=\sin x\frac{\cos h-1}{h}+\cos x\frac{\sin h}{h}. \end{aligned} $$

In this limit, \(x\) is fixed, so \(\sin x\) and \(\cos x\) are constants with respect to \(h\). Taking the limit term by term gives

$$ \begin{aligned} \lim_{h\to 0}\frac{\sin(x+h)-\sin x}{h} &=\sin x\lim_{h\to 0}\frac{\cos h-1}{h} +\cos x\lim_{h\to 0}\frac{\sin h}{h}\\ &=\sin x\cdot 0+\cos x\cdot 1\\ &=\cos x. \end{aligned} $$
Theorem: For every real \(x\), with angles measured in radians, $$ \frac{d}{dx}\sin x=\cos x. $$

Why the Derivation Works

The angle-addition identity makes the change in sine depend on two separate changes: the factor \(\cos h-1\) and the factor \(\sin h\). After division by \(h\), the first contributes a limit of zero, while the second contributes a limit of one. The remaining coefficients are \(\sin x\) and \(\cos x\), so only the cosine term survives.

This also establishes that the derivative exists at every real input. The two limits used in the calculation exist, and the factors \(\sin x\) and \(\cos x\) are finite constants for each fixed real \(x\). Therefore, the difference quotient has a finite limit for each such \(x\).

1
Start with the definition.
Write the difference quotient for \(\sin x\).
2
Expand the shifted sine.
Apply the angle-addition identity to \(\sin(x+h)\).
3
Separate the limits.
Factor the quotient into terms involving \((\cos h-1)/h\) and \(\sin h/h\).
4
Evaluate and simplify.
The two limits are zero and one, respectively, leaving \(\cos x\).

Worked Examples

Worked Example: Find the Slope of Sine at Zero from the Definition

At \(x=0\), the difference quotient is

$$ \lim_{h\to 0}\frac{\sin(0+h)-\sin 0}{h}. $$

Since \(\sin 0=0\), this becomes

$$ \lim_{h\to 0}\frac{\sin h}{h}=1. $$

Thus the slope of the sine function at zero is \(1\). The general formula gives the same value: \(\cos 0=1\). This checks the result at this particular input.

Worked Example: Find the Slope of Sine at \(\pi/3\)

Use the difference quotient directly at \(x=\pi/3\):

$$ \lim_{h\to 0} \frac{\sin(\pi/3+h)-\sin(\pi/3)}{h}. $$

Apply the angle-addition identity and use \(\sin(\pi/3)=\sqrt{3}/2\) and \(\cos(\pi/3)=1/2\):

$$ \begin{aligned} \frac{\sin(\pi/3+h)-\sin(\pi/3)}{h} &=\frac{(\sqrt{3}/2)\cos h+(1/2)\sin h-\sqrt{3}/2}{h}\\ &=\frac{\sqrt{3}}{2}\frac{\cos h-1}{h} +\frac{1}{2}\frac{\sin h}{h}. \end{aligned} $$

Now take the limit of each term:

$$ \begin{aligned} \lim_{h\to 0} \left( \frac{\sqrt{3}}{2}\frac{\cos h-1}{h} +\frac{1}{2}\frac{\sin h}{h} \right) &=\frac{\sqrt{3}}{2}(0)+\frac{1}{2}(1)\\ &=\frac{1}{2}. \end{aligned} $$

Therefore, the slope is \(1/2\). The formula gives \(\cos(\pi/3)=1/2\), which verifies the calculation.

Worked Example: Write the Tangent Line to Sine at \(\pi/6\)

The point on the graph when \(x=\pi/6\) has height

$$ \sin(\pi/6)=\frac{1}{2}. $$

The derivative formula gives the slope at that input:

$$ \cos(\pi/6)=\frac{\sqrt{3}}{2}. $$

A line with slope \(m\) through \((a,b)\) has equation \(y-b=m(x-a)\). Substituting \(a=\pi/6\), \(b=1/2\), and \(m=\sqrt{3}/2\) gives

$$ y-\frac{1}{2} = \frac{\sqrt{3}}{2}\left(x-\frac{\pi}{6}\right). $$

Check: when \(x=\pi/6\), the right side is zero, so \(y=1/2=\sin(\pi/6)\). The line passes through the correct point, and its slope is \(\sqrt{3}/2\), the derivative value there.

A Common Mistake

A tempting but incorrect shortcut is to treat the change in sine as if it were simply \(\sin h\). For example, at \(x=\pi/3\), this mistake would replace

$$ \sin(\pi/3+h)-\sin(\pi/3) $$

with \(\sin h\), leading to the incorrect quotient \(\sin h/h\) and the incorrect slope \(1\). The angle-addition identity shows why that replacement fails:

$$ \sin(\pi/3+h)-\sin(\pi/3) = \frac{\sqrt{3}}{2}(\cos h-1)+\frac{1}{2}\sin h. $$

After division by \(h\), the first term tends to zero and the second tends to \(1/2\), not \(1\). The correction is to expand the shifted sine before taking the limit; the shift changes the sine value according to both terms in the identity.

Why Radians Matter Here

The standard limits used in the proof are stated for \(h\) in radians. The derivation relies on their exact values: \(\sin h/h\) approaches \(1\), and \((\cos h-1)/h\) approaches \(0\). If the angle variable were measured in another unit, the first limit would not have the same value, and the resulting derivative formula would include a conversion factor.

For this reason, the result proved here is specifically the derivative of sine when its input is in radians. The unit is part of the mathematical condition, not an optional label.

Using the Result

The formula translates a derivative question into a cosine value. For instance, to find the instantaneous rate of change of \(\sin x\) at any specified radian input \(a\), evaluate \(\cos a\). The difference-quotient derivation explains why this rule holds for every real \(a\), rather than merely confirming it at a few sample values.

In applications, this derivative can describe the rate at which an oscillating quantity changes at a particular position in its cycle. The derivative may be positive, negative, or zero depending on the cosine value. The sign indicates whether sine is increasing, decreasing, or momentarily has a horizontal tangent at that input.

Check Your Understanding

Answer these questions using the difference quotient, the two standard limits, and the derivative formula established above.

  1. Write the difference quotient for the derivative of \(\sin x\) at a real input \(x\).
  2. Which angle-addition identity is used to expand \(\sin(x+h)\)?
  3. Evaluate the derivative of sine at \(x=\pi/4\).
  4. Why does the term involving \((\cos h-1)/h\) contribute zero in the derivation?
  5. What incorrect conclusion results from replacing \(\sin(x+h)-\sin x\) with \(\sin h\)?

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon
Clinical Biostats