Mathématiques • Physique • Chimie
Préparation au CEGEP | Exercices • Défis • Corrections
Étudier. Pratiquer. Progresser. Study. Practice. Improve.
📝
Exercices Practice problems
💡
Défis Challenges
✓
Corrections Detailed solutions
📖
Concepts Deeper understanding
StudyGroup AN educational mascot

Unit Circle, Trig Derivatives and Sketching f′: 8 Solved Exercises

Version française

At the end of my exam review, there were three things I still didn't know by heart: the unit circle (especially the values of tangent), the derivatives of the six trigonometric functions, and sketching f′ from the graph of f. I redid all three on a single page. Here is the method, 8 solved exercises and the 3 traps I noted along the way.

Level: CEGEP — Differential Calculus (NYA)
Concepts: unit circle, exact values, tangent line trick, derivatives of sin, cos, tan, cot, sec and csc, sign of the derivative, sketching f′, asymptotes

Table of Contents

  1. The Unit Circle and the Tangent Line
  2. Derivatives of the Six Trigonometric Functions
  3. Sketching f′ from the Graph of f
  4. 8 Solved Exercises
  5. The 3 Traps in My Review
  6. Twin Exercises

1. The Unit Circle and the Tangent Line

On the circle of radius 1, the point for the angle \(\theta\) has coordinates \((\cos\theta,\ \sin\theta)\). You only need to know the first quadrant: the others follow by symmetry, changing only the signs.

\(\theta\)\(0\)\(\frac{\pi}{6}\)\(\frac{\pi}{4}\)\(\frac{\pi}{3}\)\(\frac{\pi}{2}\)
\(\cos\theta\)\(1\)\(\frac{\sqrt{3}}{2}\)\(\frac{\sqrt{2}}{2}\)\(\frac{1}{2}\)\(0\)
\(\sin\theta\)\(0\)\(\frac{1}{2}\)\(\frac{\sqrt{2}}{2}\)\(\frac{\sqrt{3}}{2}\)\(1\)
\(\tan\theta\)\(0\)\(\frac{1}{\sqrt{3}}\)\(1\)\(\sqrt{3}\)undefined

Signs by quadrant:

  • Quadrant I \(\left(0\lt \theta\lt \frac{\pi}{2}\right)\): cos \(+\), sin \(+\), tan \(+\)
  • Quadrant II \(\left(\frac{\pi}{2}\lt \theta\lt \pi\right)\): cos \(-\), sin \(+\), tan \(-\)
  • Quadrant III \(\left(\pi\lt \theta\lt \frac{3\pi}{2}\right)\): cos \(-\), sin \(-\), tan \(+\)
  • Quadrant IV \(\left(\frac{3\pi}{2}\lt \theta\lt 2\pi\right)\): cos \(+\), sin \(-\), tan \(-\)

For example, \(\frac{5\pi}{6}\) is the “mirror image” of \(\frac{\pi}{6}\) in quadrant II: its point is \(\left(-\frac{\sqrt{3}}{2},\ \frac{1}{2}\right)\).

The Tangent Line Trick

My trick for never forgetting the values of \(\tan\theta\): I draw the vertical line \(x=1\), which touches the circle at \((1,0)\). The ray leaving the center at angle \(\theta\), extended, crosses this line exactly at height \(\tan\theta\).

  • For \(\frac{\pi}{6}\), \(\frac{\pi}{4}\), \(\frac{\pi}{3}\), the ray crosses the line at \(\frac{1}{\sqrt{3}}\), \(1\), \(\sqrt{3}\): tangent increases as the angle increases.
  • For \(\frac{11\pi}{6}\), \(\frac{7\pi}{4}\), \(\frac{5\pi}{3}\), we go below the axis: \(-\frac{1}{\sqrt{3}}\), \(-1\), \(-\sqrt{3}\).
  • For \(\frac{\pi}{2}\) and \(\frac{3\pi}{2}\), the ray is vertical, so it is parallel to the line \(x=1\): it never crosses it, and \(\tan\theta\) is undefined.

Why it works: by similar triangles, \(\dfrac{\text{height}}{1}=\dfrac{\sin\theta}{\cos\theta}=\tan\theta\).

2. Derivatives of the Six Trigonometric Functions

FunctionDerivativeIts “co-” partnerDerivative
\(\sin x\)\(\cos x\)\(\cos x\)\(-\sin x\)
\(\tan x\)\(\sec^2 x\)\(\cot x\)\(-\csc^2 x\)
\(\sec x\)\(\sec x\tan x\)\(\csc x\)\(-\csc x\cot x\)

Two patterns to remember:

  • The three functions that start with co (cos, cot, csc) have a derivative with a minus sign.
  • To go from the left column to the right column, replace each function with its partner: \(\sec x\tan x\) becomes \(\csc x\cot x\), then add the minus.

With \(u\) a function of \(x\), simply multiply by \(u'\) (chain rule): for example, \(\left(\csc u\right)'=-\csc u\cot u\cdot u'\).

3. Sketching f′ from the Graph of f

We don't know the formula for \(f\), only its graph. We read the slope of the graph of \(f\) everywhere, and plot it as the height of the graph of \(f'\).

On the graph of \(f\)On the graph of \(f'\)
\(f\) increasing\(f'\) above the \(x\)-axis \((+)\)
\(f\) decreasing\(f'\) below the \(x\)-axis \((-)\)
Horizontal tangent (peak, valley)\(f'=0\): the graph crosses the \(x\)-axis
Straight-line segment\(f'\) constant: horizontal segment
Corner\(f'\) undefined: a jump, with an open circle
Vertical tangent\(f'\to\pm\infty\): vertical asymptote
Horizontal asymptote \(y=L\)\(f'\to 0\): horizontal asymptote \(y=0\)

My 3-step method:

  1. Write a \(+\) or \(-\) sign above each piece of the graph of \(f\).
  2. Mark the special points: horizontal tangents (\(f'=0\)), corners and vertical tangents (\(f'\) undefined).
  3. Draw \(f'\) piece by piece, following the signs and the behaviour near the special points.

4. 8 Solved Exercises

Exercise 1 — Exact Values

Find \(\sin\frac{5\pi}{6}\), \(\cos\frac{4\pi}{3}\), \(\tan\frac{7\pi}{4}\) and \(\sec\frac{2\pi}{3}\).

  • \(\frac{5\pi}{6}\) is in quadrant II, the mirror image of \(\frac{\pi}{6}\): \(\sin\frac{5\pi}{6}=\frac{1}{2}\).
  • \(\frac{4\pi}{3}\) is in quadrant III, the mirror image of \(\frac{\pi}{3}\): \(\cos\frac{4\pi}{3}=-\frac{1}{2}\).
  • \(\frac{7\pi}{4}\) is in quadrant IV: \(\tan\frac{7\pi}{4}=-1\).
  • \(\cos\frac{2\pi}{3}=-\frac{1}{2}\), so \(\sec\frac{2\pi}{3}=\dfrac{1}{-\frac{1}{2}}=-2\).

Answer: \(\frac{1}{2}\); \(-\frac{1}{2}\); \(-1\); \(-2\)

Exercise 2 — An Equation with Tangent

Solve \(\tan x=-\sqrt{3}\) for \(x\in[0,2\pi]\).

We know that \(\tan\frac{\pi}{3}=\sqrt{3}\). Tangent is negative in quadrants II and IV, so we take the mirror images of \(\frac{\pi}{3}\) in those two quadrants: \(\pi-\frac{\pi}{3}\) and \(2\pi-\frac{\pi}{3}\).

Answer: \(x=\frac{2\pi}{3}\) or \(x=\frac{5\pi}{3}\)

Exercise 3 — An Equation with Cosine

Solve \(\cos x=-\frac{\sqrt{2}}{2}\) for \(x\in[0,2\pi]\).

\(\cos\frac{\pi}{4}=\frac{\sqrt{2}}{2}\). Cosine is negative in quadrants II and III: \(\pi-\frac{\pi}{4}\) and \(\pi+\frac{\pi}{4}\).

Answer: \(x=\frac{3\pi}{4}\) or \(x=\frac{5\pi}{4}\)

Exercise 4 — Deriving sec and csc Yourself

Using the quotient rule, show that \(\left(\sec x\right)'=\sec x\tan x\) and \(\left(\csc x\right)'=-\csc x\cot x\).

\(\displaystyle \left(\frac{1}{\cos x}\right)'=\frac{0\cdot\cos x-1\cdot(-\sin x)}{\cos^2x}=\frac{\sin x}{\cos^2x}=\frac{1}{\cos x}\cdot\frac{\sin x}{\cos x}=\sec x\tan x\)

\(\displaystyle \left(\frac{1}{\sin x}\right)'=\frac{0\cdot\sin x-1\cdot\cos x}{\sin^2x}=-\frac{1}{\sin x}\cdot\frac{\cos x}{\sin x}=-\csc x\cot x\)

If you forget a derivative during an exam, you can always rebuild it this way in one line.

Exercise 5 — Differentiate, Then Evaluate

Let \(f(x)=\sec x+\cot x\). Find \(f'\left(\frac{\pi}{4}\right)\).

\(f'(x)=\sec x\tan x-\csc^2x\). At \(\frac{\pi}{4}\): \(\sec\frac{\pi}{4}=\sqrt{2}\), \(\tan\frac{\pi}{4}=1\), \(\csc\frac{\pi}{4}=\sqrt{2}\), so \(\csc^2\frac{\pi}{4}=2\).

Answer: \(f'\left(\frac{\pi}{4}\right)=\sqrt{2}-2\)

Exercise 6 — Equation of the Tangent Line

Find the equation of the tangent line to the curve \(y=\csc x\) at \(x=\frac{5\pi}{6}\).

  • Point: \(\csc\frac{5\pi}{6}=\dfrac{1}{\sin\frac{5\pi}{6}}=\dfrac{1}{1/2}=2\), so the point is \(\left(\frac{5\pi}{6},\ 2\right)\).
  • Slope: \(y'=-\csc x\cot x\). Since \(\cot\frac{5\pi}{6}=\dfrac{-\sqrt{3}/2}{1/2}=-\sqrt{3}\), we get \(m=-(2)(-\sqrt{3})=2\sqrt{3}\).

Answer: \(y-2=2\sqrt{3}\left(x-\frac{5\pi}{6}\right)\)

Exercise 7 — Reading the Sign of f′ from a Graph

The graph of \(f\) below is made of a line segment on \([-4,-2]\), a half-circle on \([-2,2]\), and a curve that approaches \(y=1\) as \(x\to\infty\).

Graph of a function f made of a line segment, a half-circle and a curve approaching y = 1
Exercises 7 and 8: the graph of f.

a) On which intervals is \(f'(x)\gt 0\)? \(f'(x)\lt 0\)? b) Where is \(f'(x)=0\)? c) Where is \(f'\) undefined?

  • a) \(f\) decreases on \((-4,-2)\) and on \((-2,0)\): \(f'\lt 0\). \(f\) increases on \((0,2)\) and on \((2,\infty)\): \(f'\gt 0\).
  • b) The bottom of the half-circle has a horizontal tangent: \(f'(0)=0\).
  • c) At \(x=-2\) and \(x=2\), the half-circle has a vertical tangent: \(f'\) is undefined there.

Exercise 8 — Sketching f′

Using the same graph, sketch the graph of \(f'\).

  • On \((-4,-2)\): a segment with slope \(-1\), so \(f'=-1\) (horizontal segment), with an open circle at \(x=-2\).
  • Just to the right of \(-2\): a vertical tangent going down, so \(f'\to-\infty\). Then \(f'\) rises back up to \(0\) at \(x=0\).
  • On \((0,2)\): \(f'\) is positive and climbs toward \(+\infty\) as \(x\to2^-\) (vertical tangent).
  • On \((2,\infty)\): \(f\) increases more and more slowly toward \(y=1\), so \(f'\) is positive and approaches 0.

Answer: vertical asymptotes of \(f'\) at \(x=-2\) and \(x=2\); horizontal asymptote \(y=0\) on the right.

Sketch of f′ with a segment at y = −1, vertical asymptotes at x = −2 and x = 2, and a horizontal asymptote y = 0

Solution to exercise 8: a vertical tangent becomes a vertical asymptote.


5. The 3 Traps in My Review

Trap 1 — Forgetting the minus on the “co” functions

In my notes, I first wrote \(\left(\csc x\right)'=-\cot x\csc x\), then rewrote it in red in the order \(-\csc x\cot x\). The product is the same, but this order follows the pattern of \(\left(\sec x\right)'=\sec x\tan x\): this way I only have to remember one form, and I no longer miss the minus on the “co” functions.

Trap 2 — Giving a value to \(\tan\frac{\pi}{2}\)

\(\tan\frac{\pi}{2}\) and \(\tan\frac{3\pi}{2}\) are neither \(0\) nor \(\infty\): they are undefined, because \(\cos\theta=0\). With the tangent line trick, the vertical ray never crosses the line \(x=1\). This is also why the graph of \(y=\tan x\) has vertical asymptotes at \(x=\frac{\pi}{2}+k\pi\).

Trap 3 — Copying the asymptote of f onto f′

If \(f\) has a horizontal asymptote \(y=1\), \(f'\) does not have the asymptote \(y=1\): when the curve becomes almost flat, its slope approaches \(0\). So the horizontal asymptote of \(f'\) is \(y=0\). In my sketch, I wrote “AH \(y=0\)” (French for HA) next to \(f'\) so I wouldn't get it wrong.

In the same way, a vertical tangent on \(f\) becomes a vertical asymptote on \(f'\).

My Handwritten Notes

Here are two pages from my review: my unit circle with the tangent line, and a sketch of \(f'\) I made for a textbook exercise. (AV and AH are the French abbreviations for vertical and horizontal asymptote.)

Handwritten notes: unit circle with angle coordinates, the tangent line trick and the derivatives of the trig functions

My unit circle, the tangent line trick and my red correction on csc.

Handwritten sketch of the graph of f′ drawn from the graph of f

My sketch of f′ for a textbook exercise.


6. Twin Exercises

Same method, new values. Try them before opening the answers.

  1. Find \(\cos\frac{7\pi}{6}\), \(\tan\frac{5\pi}{3}\) and \(\csc\frac{3\pi}{4}\).
  2. Solve \(\sin x=-\frac{\sqrt{3}}{2}\) for \(x\in[0,2\pi]\).
  3. Differentiate \(g(x)=\csc(3x)+\tan^2x\).
  4. A function \(f\) has the horizontal asymptote \(y=-4\) as \(x\to\infty\), and a vertical tangent at \(x=1\). What can you say about the graph of \(f'\)?
Show answers
  1. \(-\frac{\sqrt{3}}{2}\); \(-\sqrt{3}\); \(\sqrt{2}\)
  2. Quadrants III and IV: \(x=\frac{4\pi}{3}\) or \(x=\frac{5\pi}{3}\)
  3. \(g'(x)=-3\csc(3x)\cot(3x)+2\tan x\sec^2x\)
  4. \(f'\) has a horizontal asymptote \(y=0\) as \(x\to\infty\) (not \(y=-4\)), and a vertical asymptote at \(x=1\).

Continue Your Review


StudyGroup AN — Mathematics, physics and chemistry exercises and solutions for CEGEP students.
Review: Yootak Hong, PhD