MATH 140 Calculus 1 • McGill University, Montreal

Revision sheet: derivatives of trigonometric functions (MATH 140)

This sheet is not a summary of section 3.3 of Stewart: you already have the course notes. It answers one question only, what makes students lose marks on the derivatives of trigonometric functions in MATH 140 at McGill University, and which precise gesture avoids each loss.

The chapter looks like a table of six formulas to memorize, and the formulas are rarely the problem. The marks are lost on the limit behind them, on a minus sign, on a quotient differentiated as if the rule did not exist, and on an equation f′(x)=0f'(x) = 0 solved by dividing. Every value below is exact and done by hand, as on the exam.

Mark this sheet as read or add it to your favourites: a free account, no password, keeps your read sheets and favourites from one visit to the next and tells you which chapter to tackle next. Create your space, an email is enough.

The thread of the chapter

Every trigonometric derivative is borrowed from ONE limit, sin⁡θθ→1\frac{\sin\theta}{\theta} \to 1, and inherits its three conditions: the angle in RADIANS, the variable going to 00, the SAME quantity under the sine and in the denominator; beyond it, the product and quotient rules applied honestly and the minus sign of every co-function.

This chapter is part of MATH 140, Calculus 1 (McGill)

The essentials

One limit, three conditions

  • • lim⁡θ→0sin⁡θθ=1\lim_{\theta\to 0}\frac{\sin\theta}{\theta} = 1, proved by squeezing cos⁡θ<sin⁡θθ<1\cos\theta < \frac{\sin\theta}{\theta} < 1, which comes from comparing the areas 12sin⁡θ<θ2<12tan⁡θ\frac{1}{2}\sin\theta < \frac{\theta}{2} < \frac{1}{2}\tan\theta on the unit circle.
  • • Condition 1, RADIANS: the sector area θ2\frac{\theta}{2} is a radian formula. In degrees, sin⁡(x∘)x→π180\frac{\sin(x^\circ)}{x} \to \frac{\pi}{180}.
  • • Condition 2, the variable goes to 00: at infinity sin⁡xx→0\frac{\sin x}{x} \to 0 by the squeeze, and at π\pi the quotient sin⁡xx\frac{\sin x}{x} is simply 00.
  • • Condition 3, the SAME box: sin⁡□□→1\frac{\sin\square}{\square} \to 1 only if the expression under the sine is the one in the denominator. sin⁡3xx=3⋅sin⁡3x3x→3\frac{\sin 3x}{x} = 3\cdot\frac{\sin 3x}{3x} \to 3.
  • • The companion: 1−cos⁡θθ=sin⁡θθ⋅sin⁡θ1+cos⁡θ→0\frac{1 - \cos\theta}{\theta} = \frac{\sin\theta}{\theta}\cdot\frac{\sin\theta}{1 + \cos\theta} \to 0, and 1−cos⁡θθ2→12\frac{1 - \cos\theta}{\theta^2} \to \frac{1}{2}.
-8-7-6-5-4-3-2-112345678-0.75-0.5-0.250.250.50.7511.25sin(x)/x → 1(1 - cos x)/x → 0x
Both quotients have no value at 00, but the blue one tends to 11 and the orange one to 00: 1−cos⁡x1 - \cos x shrinks much faster than xx.

The proof of (sin⁡x)′=cos⁡x(\sin x)' = \cos x uses exactly these two limits, with hh as the variable: a limit written with the wrong value, 11 for 1−cos⁡hh\frac{1 - \cos h}{h}, gives a wrong derivative.

The six derivatives, and where each sign comes from

  • • (sin⁡x)′=cos⁡x(\sin x)' = \cos x and (cos⁡x)′=−sin⁡x(\cos x)' = -\sin x, both from the definition and the addition formulas; the minus comes from cos⁡(x+h)=cos⁡xcos⁡h−sin⁡xsin⁡h\cos(x + h) = \cos x\cos h - \sin x\sin h.
  • • (tan⁡x)′=sec⁡2x=1+tan⁡2x(\tan x)' = \sec^2 x = 1 + \tan^2 x and (sec⁡x)′=sec⁡xtan⁡x(\sec x)' = \sec x\tan x, by the quotient rule on sin⁡xcos⁡x\frac{\sin x}{\cos x} and 1cos⁡x\frac{1}{\cos x}, where cos⁡x≠0\cos x \ne 0.
  • • (cot⁡x)′=−csc⁡2x(\cot x)' = -\csc^2 x and (csc⁡x)′=−csc⁡xcot⁡x(\csc x)' = -\csc x\cot x, where sin⁡x≠0\sin x \ne 0. The three CO-functions take a minus sign.
  • • The derivatives of sin⁡\sin and cos⁡\cos repeat every four steps: sin⁡→cos⁡→−sin⁡→−cos⁡→sin⁡\sin \to \cos \to -\sin \to -\cos \to \sin.
  • • Read cos⁡x\cos x as the slope of sin⁡x\sin x: slope 11 at 00, 00 at π2\frac{\pi}{2}, −1-1 at π\pi. It is the fastest check of a sign.
π2πflat: slope 0flat: slope 0y = sin xy = cos x
Where sin⁡x\sin x is flat, at π2\frac{\pi}{2} and 3π2\frac{3\pi}{2}, cos⁡x\cos x crosses zero; where sin⁡x\sin x climbs steepest, at 00 and 2π2\pi, cos⁡x\cos x is at its top value 11.

The rules in table form

Each row reads from left to right: the assumptions, then the result. A red cell is not an answer, it is the finding that the form settles nothing and the instruction to rewrite it. Every case is followed by a worked example.

The six derivatives, each with a slope you can check

Read a line as: the function of the first column, rewritten as in the second, has the derivative of the third. The red lines are rules that do not exist: two students in three write one of them at least once in the term.

FunctionRewritten asDerivative
sin⁡x\sin x definition cos⁡x\cos x

Example: Slope at 00: cos⁡0=1\cos 0 = 1, so the tangent at the origin is y=xy = x.

cos⁡x\cos x definition −sin⁡x-\sin x

Example: Slope at π2\frac{\pi}{2}: −sin⁡π2=−1-\sin\frac{\pi}{2} = -1; cosine is falling there, through 00.

tan⁡x\tan x sin⁡xcos⁡x\frac{\sin x}{\cos x} sec⁡2x\sec^2 x

Example: Slope at π4\frac{\pi}{4}: sec⁡2π4=(2)2=2\sec^2\frac{\pi}{4} = (\sqrt 2)^2 = 2.

sec⁡x\sec x 1cos⁡x\frac{1}{\cos x} sec⁡xtan⁡x\sec x\tan x

Example: Slope at π3\frac{\pi}{3}: 2⋅3=232\cdot\sqrt 3 = 2\sqrt 3.

cot⁡x\cot x cos⁡xsin⁡x\frac{\cos x}{\sin x} −csc⁡2x-\csc^2 x

Example: Slope at π4\frac{\pi}{4}: −csc⁡2π4=−2-\csc^2\frac{\pi}{4} = -2, the mirror of tan⁡x\tan x.

csc⁡x\csc x 1sin⁡x\frac{1}{\sin x} −csc⁡xcot⁡x-\csc x\cot x

Example: Slope at π6\frac{\pi}{6}: −2⋅3=−23-2\cdot\sqrt 3 = -2\sqrt 3.

tan⁡x\tan x (sin⁡x)′(cos⁡x)′\frac{(\sin x)'}{(\cos x)'} −cot⁡x-\cot x rule that does not exist

Example: At π4\frac{\pi}{4} it gives −1-1, while the true slope is 22; at 00 it is not even defined.

What to do: Quotient rule: cos⁡xcos⁡x−sin⁡x(−sin⁡x)cos⁡2x=1cos⁡2x\frac{\cos x\cos x - \sin x(-\sin x)}{\cos^2 x} = \frac{1}{\cos^2 x}.

sin⁡xcos⁡x\sin x\cos x (sin⁡x)′(cos⁡x)′(\sin x)'(\cos x)' −sin⁡xcos⁡x-\sin x\cos x rule that does not exist

Example: At 00 it gives 00, while the true slope is cos⁡20−sin⁡20=1\cos^2 0 - \sin^2 0 = 1.

What to do: Product rule: cos⁡xcos⁡x+sin⁡x(−sin⁡x)=cos⁡2x−sin⁡2x\cos x\cos x + \sin x(-\sin x) = \cos^2 x - \sin^2 x.

Swap each function with its co-function and add a minus: tan⁡→sec⁡2\tan \to \sec^2 becomes cot⁡→−csc⁡2\cot \to -\csc^2, and sec⁡→sec⁡tan⁡\sec \to \sec\tan becomes csc⁡→−csc⁡cot⁡\csc \to -\csc\cot.

The mistakes that cost marks

These are the errors I correct most often in session. Each one costs marks on a paper, even when the reasoning behind it is right.

1. Using the standard limit with the wrong box

2 marks, the whole limit

What not to write

“lim⁡x→0sin⁡3xx=1\lim_{x\to 0}\frac{\sin 3x}{x} = 1, since sin⁡□□→1\frac{\sin\square}{\square} \to 1.”

What to write

“sin⁡3xx=3⋅sin⁡3x3x\frac{\sin 3x}{x} = 3\cdot\frac{\sin 3x}{3x}, and 3x→03x \to 0, so the limit is 3⋅1=33 \cdot 1 = 3.”

Why: The rule needs the SAME expression under the sine and in the denominator. Multiply and divide by the constant that creates it, before any limit law.

2. Answering 1 to one minus cosine over x

2 marks, and a wrong derivative of sine if it is used in the proof

What not to write

“lim⁡x→01−cos⁡xx=1\lim_{x\to 0}\frac{1 - \cos x}{x} = 1, like sin⁡xx\frac{\sin x}{x}.”

What to write

“1−cos⁡xx=sin⁡xx⋅sin⁡x1+cos⁡x→1⋅02=0\frac{1 - \cos x}{x} = \frac{\sin x}{x}\cdot\frac{\sin x}{1 + \cos x} \to 1 \cdot \frac{0}{2} = 0.”

Why: 1−cos⁡x1 - \cos x behaves like x22\frac{x^2}{2}, not like xx: it is 1−cos⁡xx2\frac{1 - \cos x}{x^2} that tends to a nonzero number, 12\frac{1}{2}. The figure of the first block shows the two curves.

3. Replacing sin x and tan x by x inside a difference

the whole question

What not to write

“tan⁡x≈x\tan x \approx x and sin⁡x≈x\sin x \approx x, so tan⁡x−sin⁡xx3→x−xx3=0\frac{\tan x - \sin x}{x^3} \to \frac{x - x}{x^3} = 0.”

What to write

“tan⁡x−sin⁡x=sin⁡x(1−cos⁡x)cos⁡x\tan x - \sin x = \frac{\sin x(1 - \cos x)}{\cos x}, so the quotient is sin⁡xx⋅1−cos⁡xx2⋅1cos⁡x→1⋅12⋅1=12\frac{\sin x}{x}\cdot\frac{1 - \cos x}{x^2}\cdot\frac{1}{\cos x} \to 1 \cdot \frac{1}{2} \cdot 1 = \frac{1}{2}.”

Why: A limit law applies to a product or a quotient of factors that each have a limit, never to a piece of a difference. Factor until only the standard quotients appear.

4. Losing the minus sign of a co-function

1 mark per derivative, and every tangent line built on it

What not to write

“(csc⁡x)′=csc⁡xcot⁡x(\csc x)' = \csc x\cot x, just as (sec⁡x)′=sec⁡xtan⁡x(\sec x)' = \sec x\tan x.”

What to write

“(csc⁡x)′=(1sin⁡x)′=−cos⁡xsin⁡2x=−csc⁡xcot⁡x(\csc x)' = \left(\frac{1}{\sin x}\right)' = \frac{-\cos x}{\sin^2 x} = -\csc x\cot x.”

Why: The co-functions, cos⁡\cos, cot⁡\cot and csc⁡\csc, carry a minus in their derivatives. Sign test: csc⁡x\csc x decreases on (0,π2)\left(0, \frac{\pi}{2}\right) while csc⁡xcot⁡x>0\csc x\cot x > 0 there.

5. Differentiating a quotient as the quotient of the derivatives

the whole derivative

What not to write

“(tan⁡x)′=(sin⁡x)′(cos⁡x)′=cos⁡x−sin⁡x=−cot⁡x(\tan x)' = \frac{(\sin x)'}{(\cos x)'} = \frac{\cos x}{-\sin x} = -\cot x.”

What to write

“By the quotient rule, (tan⁡x)′=cos⁡xcos⁡x−sin⁡x(−sin⁡x)cos⁡2x=1cos⁡2x=sec⁡2x(\tan x)' = \frac{\cos x\cos x - \sin x(-\sin x)}{\cos^2 x} = \frac{1}{\cos^2 x} = \sec^2 x.”

Why: There is no quotient-of-derivatives rule. The student's answer is not even defined at 00, where y=tan⁡xy = \tan x has the tangent y=xy = x.

6. Differentiating a product as the product of the derivatives

the whole derivative

What not to write

“(x2sin⁡x)′=2xcos⁡x(x^2\sin x)' = 2x\cos x.”

What to write

“With u=x2u = x^2 and v=sin⁡xv = \sin x: (uv)′=u′v+uv′=2xsin⁡x+x2cos⁡x(uv)' = u'v + uv' = 2x\sin x + x^2\cos x.”

Why: Writing uu, vv, u′u' and v′v' on the copy before assembling is the gesture that makes the error impossible, and it is where the method mark is.

7. Dividing by sin x when solving f'(x) = 0

3 of the 5 points, often half the question

What not to write

“g(x)=cos⁡x+sin⁡2xg(x) = \cos x + \sin^2 x: −sin⁡x+2sin⁡xcos⁡x=0-\sin x + 2\sin x\cos x = 0, so 2cos⁡x=12\cos x = 1, so x=π3x = \frac{\pi}{3} or 5π3\frac{5\pi}{3}.”

What to write

“g′(x)=sin⁡x (2cos⁡x−1)=0g'(x) = \sin x\,(2\cos x - 1) = 0, so sin⁡x=0\sin x = 0 or cos⁡x=12\cos x = \frac{1}{2}: x=0,π3,π,5π3,2πx = 0, \frac{\pi}{3}, \pi, \frac{5\pi}{3}, 2\pi.”

π/2π3π/22π1-1green: cos x = 1/2red: sin x = 0
Five horizontal tangents on [0,2π][0, 2\pi]: the green ones come from cos⁡x=12\cos x = \frac{1}{2}, the three red ones from sin⁡x=0\sin x = 0, and dividing by sin⁡x\sin x erases the red ones.

Why: Dividing by sin⁡x\sin x is legitimate only where sin⁡x≠0\sin x \ne 0, and the lost solutions are exactly where it vanishes. Factor, then set each factor to zero.

8. Differentiating with the angle in degrees

1 mark per derivative, and every numerical slope

What not to write

“If xx is in degrees, the derivative of sin⁡x\sin x is still cos⁡x\cos x.”

What to write

“ddxsin⁡(x∘)=π180cos⁡(x∘)\frac{d}{dx}\sin(x^\circ) = \frac{\pi}{180}\cos(x^\circ); the formula (sin⁡x)′=cos⁡x(\sin x)' = \cos x is a statement about radians.”

Why: The proof uses sin⁡hh→1\frac{\sin h}{h} \to 1, which comes from the sector area θ2\frac{\theta}{2}, a radian formula. In degrees the limit is π180\frac{\pi}{180} and it multiplies every derivative.

9. Reading a high derivative on parity

the whole question, it is only the sign

What not to write

“9999 is odd, so d99dx99sin⁡x=cos⁡x\frac{d^{99}}{dx^{99}}\sin x = \cos x.”

What to write

“99=4×24+399 = 4 \times 24 + 3, so d99dx99sin⁡x=(sin⁡x)′′′=−cos⁡x\frac{d^{99}}{dx^{99}}\sin x = (\sin x)''' = -\cos x.”

Why: Parity tells sine from cosine; the SIGN needs the remainder modulo 44, because the cycle is sin⁡,cos⁡,−sin⁡,−cos⁡\sin, \cos, -\sin, -\cos.

Which method to choose

Which tool for a trigonometric limit, by the FORM of the expression

Look at where the variable goes and at the shape of the expression before writing anything

  • If x→0x \to 0 and sin⁡(ax)bx\frac{\sin(ax)}{bx} or sin⁡(ax)sin⁡(bx)\frac{\sin(ax)}{\sin(bx)} → make the box appear: multiply and divide by the constant, then use the standard limit

    Example: sin⁡5x3x=53⋅sin⁡5x5x→53\frac{\sin 5x}{3x} = \frac{5}{3}\cdot\frac{\sin 5x}{5x} \to \frac{5}{3}

  • If a tan⁡\tan, cot⁡\cot, sec⁡\sec or csc⁡\csc → rewrite in sines and cosines; a cosine going to 11 is harmless

    Example: tan⁡4xx=4⋅sin⁡4x4x⋅1cos⁡4x→4\frac{\tan 4x}{x} = 4\cdot\frac{\sin 4x}{4x}\cdot\frac{1}{\cos 4x} \to 4

  • If a factor 1−cos⁡(⋅)1 - \cos(\cdot) → multiply by the conjugate 1+cos⁡(⋅)1 + \cos(\cdot) and use 1−cos⁡2=sin⁡21 - \cos^2 = \sin^2

    Example: 1−cos⁡xxsin⁡x=sin⁡xx⋅11+cos⁡x→12\frac{1 - \cos x}{x\sin x} = \frac{\sin x}{x}\cdot\frac{1}{1 + \cos x} \to \frac{1}{2}

  • If a difference of trigonometric terms, such as tan⁡x−sin⁡x\tan x - \sin x → factor into a product of standard quotients; never replace a term by x

    Example: tan⁡x−sin⁡xx3→12\frac{\tan x - \sin x}{x^3} \to \frac{1}{2}

  • If x→a≠0x \to a \ne 0 with the form 00\frac{0}{0} → shift the box to u=x−au = x - a, or recognize the difference quotient of a derivative

    Example: cos⁡x+1x−π=cos⁡x−cos⁡πx−π→−sin⁡π=0\frac{\cos x + 1}{x - \pi} = \frac{\cos x - \cos\pi}{x - \pi} \to -\sin\pi = 0

  • If x→±∞x \to \pm\infty → squeeze with ∣sin⁡∣≤1|\sin| \le 1 and ∣cos⁡∣≤1|\cos| \le 1; the standard limit says nothing

    Example: −1x≤sin⁡xx≤1x-\frac{1}{x} \le \frac{\sin x}{x} \le \frac{1}{x}, so the limit is 00

L'Hospital's rule is not available at this point of MATH 140, and it would be circular here anyway: it needs (sin⁡x)′=cos⁡x(\sin x)' = \cos x, which is proved FROM sin⁡xx→1\frac{\sin x}{x} \to 1.

How the answer is expected to be written

A marker ticks steps. Here they are in order, with the concluding sentence expected word for word.

Proving the derivative of cosine from the definition

When to use it: Any question that says “from the definition” or “using the limit definition of the derivative” about sin⁡x\sin x or cos⁡x\cos x

  1. 1 Write the difference quotient cos⁡(x+h)−cos⁡xh\frac{\cos(x + h) - \cos x}{h}, and say that xx is fixed while h→0h \to 0.
  2. 2 Open cos⁡(x+h)\cos(x + h) with the addition formula, naming it: cos⁡xcos⁡h−sin⁡xsin⁡h\cos x\cos h - \sin x\sin h.
  3. 3 Regroup by the constants cos⁡x\cos x and sin⁡x\sin x: cos⁡x⋅cos⁡h−1h−sin⁡x⋅sin⁡hh\cos x\cdot\frac{\cos h - 1}{h} - \sin x\cdot\frac{\sin h}{h}.
  4. 4 Quote the two limits, with hh in radians: cos⁡h−1h→0\frac{\cos h - 1}{h} \to 0 and sin⁡hh→1\frac{\sin h}{h} \to 1.
  5. 5 Conclude by the sum and product laws: cos⁡x⋅0−sin⁡x⋅1=−sin⁡x\cos x \cdot 0 - \sin x \cdot 1 = -\sin x.

Concluding sentence

“Since lim⁡h→0cos⁡h−1h=0\lim_{h\to 0}\frac{\cos h - 1}{h} = 0 and lim⁡h→0sin⁡hh=1\lim_{h\to 0}\frac{\sin h}{h} = 1, the limit laws give (cos⁡x)′=cos⁡x⋅0−sin⁡x⋅1=−sin⁡x(\cos x)' = \cos x\cdot 0 - \sin x\cdot 1 = -\sin x for every real xx.”

The trap: Writing lim⁡h→0cos⁡(x+h)−cos⁡xh=−sin⁡x\lim_{h\to 0}\frac{\cos(x + h) - \cos x}{h} = -\sin x “by the table”: a proof from the definition cannot quote the formula it is proving.

Marking: Typically 1 mark for the quotient, 2 for the addition formula, 2 for the regrouping, 3 for the two named limits, 2 for the conclusion.

Check before you hand in

Five minutes of checking recover more marks than one more problem started in a hurry.

The typical problem, taken apart

A quotient that collapses: limit, derivative and tangent line

Let f(x)=1−cos⁡xsin⁡xf(x) = \frac{1 - \cos x}{\sin x} on (0,π)(0, \pi). Find lim⁡x→0+f(x)\lim_{x\to 0^+} f(x), compute f′(x)f'(x) in its simplest form, and give the tangent line at x=π2x = \frac{\pi}{2}.

No calculator. Name every limit and every rule, as on a MATH 140 final.

π/2π123y = (1 - cos x)/sin x
The graph starts from a hole at the origin and climbs toward the dashed line x=πx = \pi, where sin⁡x\sin x vanishes and 1−cos⁡x1 - \cos x does not.

Step 1

The form is 00\frac{0}{0}. Write f(x)=1−cos⁡xx⋅xsin⁡xf(x) = \frac{1 - \cos x}{x}\cdot\frac{x}{\sin x}: the first factor tends to 00, the second to 11, so lim⁡x→0+f(x)=0\lim_{x\to 0^+} f(x) = 0.

Why

The two standard limits appear with the same box xx. Splitting as (1−cos⁡x)⋅1sin⁡x(1 - \cos x)\cdot\frac{1}{\sin x} instead gives the form 0⋅∞0 \cdot \infty and nothing.

Step 2

Quotient rule with u=1−cos⁡xu = 1 - \cos x, u′=sin⁡xu' = \sin x, v=sin⁡xv = \sin x, v′=cos⁡xv' = \cos x: f′(x)=sin⁡x⋅sin⁡x−(1−cos⁡x)cos⁡xsin⁡2xf'(x) = \frac{\sin x\cdot\sin x - (1 - \cos x)\cos x}{\sin^2 x}.

Why

Naming uu, vv, u′u', v′v' is the method mark. The derivative of −cos⁡x-\cos x is +sin⁡x+\sin x: the minus of the formula meets the minus in front.

Step 3

The numerator is sin⁡2x−cos⁡x+cos⁡2x=1−cos⁡x\sin^2 x - \cos x + \cos^2 x = 1 - \cos x, and sin⁡2x=1−cos⁡2x=(1−cos⁡x)(1+cos⁡x)\sin^2 x = 1 - \cos^2 x = (1 - \cos x)(1 + \cos x). On (0,π)(0, \pi), 1−cos⁡x≠01 - \cos x \ne 0, so f′(x)=11+cos⁡xf'(x) = \frac{1}{1 + \cos x}.

Why

The identity used twice, then a factor cancelled only because it does not vanish on the domain: say so, it is part of the answer.

Step 4

At π2\frac{\pi}{2}: f(π2)=1−01=1f\left(\frac{\pi}{2}\right) = \frac{1 - 0}{1} = 1 and f′(π2)=11+0=1f'\left(\frac{\pi}{2}\right) = \frac{1}{1 + 0} = 1. Tangent: y=1+(x−π2)=x+1−π2y = 1 + \left(x - \frac{\pi}{2}\right) = x + 1 - \frac{\pi}{2}.

Why

A tangent line needs the point AND the slope, both exact; π2\frac{\pi}{2} stays in the equation.

Step 5

Check by a second road: multiplying by the conjugate, f(x)=1−cos⁡2xsin⁡x(1+cos⁡x)=sin⁡x1+cos⁡xf(x) = \frac{1 - \cos^2 x}{\sin x(1 + \cos x)} = \frac{\sin x}{1 + \cos x}, whose derivative is cos⁡x(1+cos⁡x)+sin⁡2x(1+cos⁡x)2=11+cos⁡x\frac{\cos x(1 + \cos x) + \sin^2 x}{(1 + \cos x)^2} = \frac{1}{1 + \cos x}. Same result.

Why

Two independent computations that agree are worth more than one computation checked twice. The simpler form also confirms the limit 00 at once.

The conclusion, written out

“lim⁡x→0+f(x)=0\lim_{x\to 0^+} f(x) = 0; by the quotient rule and sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1, f′(x)=11+cos⁡xf'(x) = \frac{1}{1 + \cos x} on (0,π)(0, \pi); the tangent at x=π2x = \frac{\pi}{2} is y=x+1−π2y = x + 1 - \frac{\pi}{2}.”

The classic mistake on this problem: Writing u′=−sin⁡xu' = -\sin x for u=1−cos⁡xu = 1 - \cos x, which gives the numerator −sin⁡2x−cos⁡x+cos⁡2x-\sin^2 x - \cos x + \cos^2 x and nothing simplifies; or cancelling 1−cos⁡x1 - \cos x without saying it is nonzero on (0,π)(0, \pi).

Learn by heart

  • • sin⁡θθ→1\frac{\sin\theta}{\theta} \to 1 and 1−cos⁡θθ→0\frac{1 - \cos\theta}{\theta} \to 0 as θ→0\theta \to 0, in RADIANS; 1−cos⁡θθ2→12\frac{1 - \cos\theta}{\theta^2} \to \frac{1}{2}.
  • • Same box: sin⁡□□→1\frac{\sin\square}{\square} \to 1 only when the SAME □\square tends to 00; sin⁡axx→a\frac{\sin ax}{x} \to a.
  • • (sin⁡x)′=cos⁡x(\sin x)' = \cos x, (cos⁡x)′=−sin⁡x(\cos x)' = -\sin x, (tan⁡x)′=sec⁡2x(\tan x)' = \sec^2 x.
  • • (sec⁡x)′=sec⁡xtan⁡x(\sec x)' = \sec x\tan x, (csc⁡x)′=−csc⁡xcot⁡x(\csc x)' = -\csc x\cot x, (cot⁡x)′=−csc⁡2x(\cot x)' = -\csc^2 x: the co-functions take a minus.
  • • dndxnsin⁡x\frac{d^n}{dx^n}\sin x depends on the remainder of nn divided by 44: sin⁡,cos⁡,−sin⁡,−cos⁡\sin, \cos, -\sin, -\cos.
  • • f′(x)=0f'(x) = 0: FACTOR, never divide by sin⁡x\sin x or cos⁡x\cos x without checking.

Frequently asked questions

Why must x be in radians to differentiate sin x?

Because the formula comes from the limit of sin h over h as h goes to zero, and that limit equals 1 only in radians: its proof uses the area of a circular sector, one half of r squared times the angle, which is a radian formula. In degrees the same limit is pi over 180, and the derivative of the sine of x degrees is pi over 180 times its cosine.

How do I remember the signs of the six trig derivatives?

The three co-functions, cosine, cotangent and cosecant, have a minus sign in their derivatives, and the three others do not. Each co-derivative is also the mirror of its partner: swap every function with its co-function and add the minus. Tangent gives secant squared, so cotangent gives minus cosecant squared; secant gives secant tangent, so cosecant gives minus cosecant cotangent.

How do I compute the limit of sin 5x over 3x as x goes to 0?

Make the same expression appear under the sine and in the denominator. Write the quotient as five thirds times sin 5x over 5x. Since 5x goes to zero, sin 5x over 5x goes to 1, and the limit is five thirds. Answering 1 directly is the most common mistake: the rule needs the same box in both places.

Can I differentiate sin 2x before learning the chain rule?

Yes. Write sin 2x as 2 sin x cos x and use the product rule: the derivative is 2 times cos squared x minus sin squared x, which is 2 cos 2x by the double angle formula. The factor 2 is the one students drop when they answer cos 2x. The chain rule of the next chapter gives the same result mechanically.

What is the 99th derivative of sin x?

The derivatives of sine repeat every four steps: cosine, minus sine, minus cosine, then sine again. Divide 99 by 4: the remainder is 3, so the 99th derivative equals the third one, minus cosine of x. Reasoning only on whether 99 is odd tells you it is a cosine, but not its sign.

Practise it

Corrected exercises: Derivatives of trigonometric functions, MATH 140 at McGill

A method is proved on a paper, not on a sheet. The set for the same chapter takes each of these traps into a problem, with the solution written out step by step.

  • 10 corrected exercises
  • 100 points
  • 150 minutes
Do the exercises
Previous sheet Differentiation rules Next sheet The chain rule

© Ahmed Squalli Houssaini. Revision sheet published at www.letuteurscientifique.ca/en/fiches/math140-trigonometric-derivatives. Free for personal and classroom use; republishing it elsewhere requires written permission (legal notice).

See also

Looking for a MATH 140 tutor in Montreal?

Get in touch for a first session. The trigonometric derivatives come back in every later chapter of the course, from the chain rule to related rates and curve sketching: they are worth mastering now.

Site by Studio Squalli