Tutorials › Calculus I › Deriving the Sine Derivative from First Principles

Trigonometric Derivatives · Tutorial 489 of 1495

Deriving the Sine Derivative from First Principles

Use the difference quotient and standard trigonometric limits to prove that the derivative of sine is cosine when angles are measured in radians.

Intermediate 9 min read

What You'll Learn

  • Write the derivative of sine as a limit of difference quotients.
  • Use the sine subtraction identity to separate the changing increment.
  • Apply the standard sine limit and establish the needed cosine limit.
  • Prove from first principles that the derivative of sine is cosine.
  • Explain why the derivative has a different factor when the input is measured in degrees.
  • Identify common errors involving radians and trigonometric limit factors.

Why Derive the Sine Derivative?

A derivative describes the instantaneous rate of change of a function. For sine, the familiar rule is that its derivative is cosine. First principles reveal why this relationship holds and which assumptions are built into it.

The calculation depends on the change in sine between two nearby inputs. The sine subtraction identity rewrites that change in terms of sine and cosine of the small increment. Two standard trigonometric limits then determine what happens as the increment approaches zero.

Key point: The formula \(\frac{d}{dx}\sin x=\cos x\) uses radian measure for \(x\). With degree measure, a conversion factor is required.

The Difference Quotient

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

$$ 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\), the quotient becomes

$$ \frac{\sin(x+h)-\sin x}{h}. $$

The numerator is not yet in a form where the limit is immediate. The sine subtraction identity, written as an addition identity, states

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

Using this identity in the difference quotient gives

$$ \frac{\sin x\cos h+\cos x\sin h-\sin x}{h} = \sin x\frac{\cos h-1}{h} + \cos x\frac{\sin h}{h}. $$

The factor \(x\) is fixed while \(h\) approaches zero. Thus the key is to determine the limits of the two expressions involving \(h\).

The Trigonometric Limits Needed

The standard small-angle limit, with angles measured in radians, is

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

One justification comes from the unit-circle geometric inequality. For \(0<h<\frac{\pi}{2}\), comparing areas in the unit circle gives \(\sin h<h<\tan h\). Since all quantities are positive, division yields

$$ \cos h<\frac{\sin h}{h}<1. $$

As \(h\to0^+\), continuity of cosine gives \(\cos h\to1\). The squeeze theorem therefore gives \(\frac{\sin h}{h}\to1\) from the right. For negative \(h\), the quotient is even:

$$ \frac{\sin(-h)}{-h}=\frac{-\sin h}{-h}=\frac{\sin h}{h}. $$

So the same limit holds from the left, establishing the two-sided limit. The geometric inequality uses radian measure: on a unit circle, the angle in radians equals the length of its intercepted arc.

We also need the limit of \(\frac{\cos h-1}{h}\). The half-angle identity \(\cos h-1=-2\sin^2(h/2)\) gives, for \(h\ne0\),

$$ \frac{\cos h-1}{h} = -\frac{2\sin^2(h/2)}{h} = -\left(\frac{\sin(h/2)}{h/2}\right)\sin(h/2). $$

The last equality follows because \(h=2(h/2)\): multiplying \(\frac{\sin(h/2)}{h/2}\) by \(\sin(h/2)\) gives \(\frac{2\sin^2(h/2)}{h}\). As \(h\to0\), the first factor approaches \(1\) by the standard sine limit, and the second approaches \(0\). Hence

$$ \lim_{h\to0}\frac{\cos h-1}{h}=0. $$

This factorization is useful to check carefully: the coefficient multiplying the product is \(-1\), not \(-\frac12\).

Deriving the Derivative

Theorem: If the input is measured in radians, then the derivative of \(f(x)=\sin x\) exists for every real \(x\) and is \(f'(x)=\cos x\).

We can now take the limit of the difference quotient. The sine subtraction identity has already expressed it as a sum of a fixed multiple of each standard limit:

$$ \begin{aligned} f'(x) &=\lim_{h\to0}\frac{\sin(x+h)-\sin x}{h}\\ &=\lim_{h\to0}\left( \sin x\frac{\cos h-1}{h} + \cos x\frac{\sin h}{h} \right)\\ &=\sin x\cdot 0+\cos x\cdot 1\\ &=\cos x. \end{aligned} $$

The limit laws apply because \(\sin x\) and \(\cos x\) are constants with respect to \(h\), and both limits in the sum exist. This proves the derivative formula at every fixed real \(x\).

1
Start with the definition.
Form the difference quotient \(\frac{\sin(x+h)-\sin x}{h}\).
2
Expand the shifted sine.
Apply \(\sin(x+h)=\sin x\cos h+\cos x\sin h\), then collect the terms with \(h\).
3
Take the limit.
Use \(\lim_{h\to0}\frac{\sin h}{h}=1\) and \(\lim_{h\to0}\frac{\cos h-1}{h}=0\).
4
Identify the result.
The first contribution vanishes, and the second is \(\cos x\).

Worked Examples

Worked Example: Find the Derivative at Zero from the Definition

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

$$ \frac{\sin(0+h)-\sin 0}{h} = \frac{\sin h-0}{h} = \frac{\sin h}{h}, \qquad h\ne0. $$

The standard trigonometric limit therefore gives

$$ f'(0)=\lim_{h\to0}\frac{\sin h}{h}=1. $$

Check: the general result gives \(\cos 0=1\), which agrees with the direct difference-quotient calculation.

Worked Example: Find the Derivative at \(\frac{\pi}{3}\) from the Definition

Set \(x=\frac{\pi}{3}\) and use the sine addition identity. Since \(\sin\frac{\pi}{3}=\frac{\sqrt3}{2}\) and \(\cos\frac{\pi}{3}=\frac12\), the quotient is

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

Taking the limit gives

$$ \begin{aligned} f'\left(\frac{\pi}{3}\right) &= \frac{\sqrt3}{2}\cdot0+\frac12\cdot1\\ &=\frac12. \end{aligned} $$

Check: the derivative formula gives \(\cos\frac{\pi}{3}=\frac12\), matching the value obtained directly from the quotient.

Worked Example: Differentiate Sine of a Degree-Measured Input at \(30^\circ\)

Let \(x\) be a numerical angle measured in degrees, and define \(g(x)=\sin(\frac{\pi x}{180})\). The factor \(\frac{\pi}{180}\) converts degrees to radians. At \(x=30\), the difference quotient is

$$ \frac{g(30+h)-g(30)}{h} = \frac{\sin(\frac{\pi}{6}+\frac{\pi h}{180})-\sin(\frac{\pi}{6})}{h}. $$

Set \(k=\frac{\pi h}{180}\), so \(h=\frac{180k}{\pi}\), and \(k\to0\) as \(h\to0\). Substitution gives

$$ \begin{aligned} \frac{g(30+h)-g(30)}{h} &= \frac{\pi}{180} \frac{\sin(\frac{\pi}{6}+k)-\sin(\frac{\pi}{6})}{k}\\ &= \frac{\pi}{180}\left( \sin\frac{\pi}{6}\frac{\cos k-1}{k} + \cos\frac{\pi}{6}\frac{\sin k}{k} \right). \end{aligned} $$

Since \(\sin\frac{\pi}{6}=\frac12\), \(\cos\frac{\pi}{6}=\frac{\sqrt3}{2}\), and the two standard limits are \(0\) and \(1\), respectively,

$$ g'(30) = \frac{\pi}{180} \left(\frac12\cdot0+\frac{\sqrt3}{2}\cdot1\right) = \frac{\sqrt3\pi}{360}. $$

Check: the degree-to-radian conversion contributes the factor \(\frac{\pi}{180}\); multiplying it by \(\cos 30^\circ=\frac{\sqrt3}{2}\) gives \(\frac{\sqrt3\pi}{360}\), exactly the value found from the difference quotient. The derivative here is per degree of input.

Why Radian Measure Matters

The limit \(\frac{\sin h}{h}\to1\) is stated for a numerical input \(h\) measured in radians. If the input is instead a number of degrees, an increment of \(h\) degrees corresponds to an increment of \(\frac{\pi h}{180}\) radians. The degree-based difference quotient consequently includes the conversion factor \(\frac{\pi}{180}\), as the preceding example showed.

This is not a change in the geometry of sine. It is a change in the unit used to measure the input. A rate of change per degree and a rate of change per radian have different numerical values because one radian and one degree represent different angular increments.

A Common Pitfall

A frequent error is to apply \(\lim_{h\to0}\frac{\sin h}{h}=1\) without checking that \(h\) is measured in radians. For degree inputs, writing that limit as \(1\) skips the conversion.

For example, at zero, if \(x\) is measured in degrees, then

$$ \frac{\sin(h^\circ)-\sin(0^\circ)}{h} = \frac{\sin(\frac{\pi h}{180})}{h} = \frac{\pi}{180} \frac{\sin(\frac{\pi h}{180})}{\frac{\pi h}{180}}. $$

As \(h\to0\), the quotient on the right approaches \(1\), so the limit is \(\frac{\pi}{180}\), not \(1\). The correction is to convert the increment to radians before using the standard limit.

Another algebraic pitfall is losing a factor when rewriting the cosine limit. In particular,

$$ -\frac{2\sin^2(h/2)}{h} = -\left(\frac{\sin(h/2)}{h/2}\right)\sin(h/2), $$

not \(-\frac12\left(\frac{\sin(h/2)}{h/2}\right)\sin(h/2)\). The displayed identity can be checked by multiplying: \(\frac{\sin(h/2)}{h/2}\sin(h/2)=\frac{2\sin^2(h/2)}{h}\).

Check Your Understanding

Use the difference quotient and the limits established above to answer these questions.

  1. Write the difference quotient that defines the derivative of \(\sin x\) at a fixed input \(x\).
  2. Which identity rewrites \(\sin(x+h)\) in a form useful for this quotient?
  3. Why does \(\lim_{h\to0}\frac{\cos h-1}{h}=0\)? Give the factorization that establishes it.
  4. Evaluate the derivative of sine at \(x=\frac{\pi}{2}\) using the first-principles result, and state the exact value.
  5. What conversion factor appears when the input to sine is measured in degrees, and why?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): 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