Lesson 4 of 8 · 15 min

The graphs of sin, cos and tan

Unroll the unit circle into the graphs of y=sin⁡(x)y = \sin(x), y=cos⁡(x)y = \cos(x) and y=tan⁡(x)y = \tan(x), and sketch them on extended domains with every key feature.

What you will be able to do

  • Sketch y=sin⁡(x)y = \sin(x) and y=cos⁡(x)y = \cos(x) on extended domains, with intercepts, maximum and minimum points.
  • Explain why y=cos⁡(x)y = \cos(x) is y=sin⁡(x)y = \sin(x) translated π2\frac{\pi}{2} to the left.
  • Sketch y=tan⁡(x)y = \tan(x) with its asymptotes, intercepts and period π\pi.

As PP travels round the unit circle, its height sin⁡(x)\sin(x) rises to 1, falls to −1-1 and comes back, over and over. Plot that height against the angle xx and you get a wave. Its horizontal position, cos⁡(x)\cos(x), makes the same wave started at a different point.

Interactive

Unrolling the circle

Drag PP all the way round. Its height traces y=sin⁡(x)y = \sin(x) and its horizontal position traces y=cos⁡(x)y = \cos(x). Where are they equal?

y=sin⁡(x)y = \sin(x) on the extended domain −2π≤x≤2π-2\pi \le x \le 2\pi: two full cycles.

The features of the two waves. Each pattern repeats every 2π2\pi in both directions.
Featurey=sin⁡(x)y = \sin(x)y=cos⁡(x)y = \cos(x)
Period2π2\pi2π2\pi
Range−1≤y≤1-1 \le y \le 1−1≤y≤1-1 \le y \le 1
yy-intercept(0,0)(0, 0)(0,1)(0, 1)
xx-intercepts0,±π,±2π,…0, \pm\pi, \pm 2\pi, \ldots±π2,±3π2,±5π2,…\pm\frac{\pi}{2}, \pm\frac{3\pi}{2}, \pm\frac{5\pi}{2}, \ldots
Maximum of 11 atx=π2x = \frac{\pi}{2} and every 2π2\pi from itx=0x = 0 and every 2π2\pi from it
Minimum of −1-1 atx=3π2x = \frac{3\pi}{2} and every 2π2\pi from itx=πx = \pi and every 2π2\pi from it
Symmetryabout the origin: sin⁡(−x)=−sin⁡(x)\sin(-x) = -\sin(x)in the yy-axis: cos⁡(−x)=cos⁡(x)\cos(-x) = \cos(x)

Find the xx-intercepts of y=cos⁡(x)y = \cos(x) for 0≤x≤2π0 \le x \le 2\pi.

x =

Press Enter or type a comma after each value.

The cosine curve is the sine curve moved π2\frac{\pi}{2} to the left.

Key idea

One wave, two starting points

cos⁡(x)=sin⁡(x+π2)\cos(x) = \sin\left(x + \frac{\pi}{2}\right)

Over one cycle starting at x=0x = 0, sine goes mean → max → mean → min → mean, while cosine goes max → mean → min → mean → max. Each step is a quarter-period, π2\frac{\pi}{2}.

The tangent graph looks quite different, because tan⁡(x)=sin⁡(x)cos⁡(x)\tan(x) = \frac{\sin(x)}{\cos(x)} is a fraction:

  • It is zero wherever sin⁡(x)=0\sin(x) = 0: x=0,±π,±2π,…x = 0, \pm\pi, \pm 2\pi, \ldots
  • It is undefined wherever cos⁡(x)=0\cos(x) = 0: x=±π2,±3π2,…x = \pm\frac{\pi}{2}, \pm\frac{3\pi}{2}, \ldots Close to these values the denominator is tiny, so tan⁡(x)\tan(x) shoots off to very large positive or negative values. The graph has vertical asymptotes there.
  • Between two asymptotes it increases through every real number, so its range is all of R\mathbb{R}.
  • It repeats every π\pi, not 2π2\pi.

Worked example

Sketch y=tan⁡(x)y = \tan(x) for 0≤x≤2π0 \le x \le 2\pi

  • Simple familiar
  • Technology free

Sketch the graph of y=tan⁡(x)y = \tan(x) for 0≤x≤2π0 \le x \le 2\pi. Label the asymptotes, the xx-intercepts and the points where y=±1y = \pm 1.

4 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Asymptotes where cos⁡(x)=0\cos(x) = 0, intercepts where sin⁡(x)=0\sin(x) = 0.

  2. Plot the points with tan⁡(x)=±1\tan(x) = \pm 1, a quarter-period either side of each intercept.

  3. Draw increasing branches that approach, but never cross, the asymptotes.

Watch out for

  • Joining the branches across an asymptote.

  • Using period 2π2\pi for tangent: it repeats every π\pi.

The finished sketch of y=tan⁡(x)y = \tan(x) for 0≤x≤2π0 \le x \le 2\pi. The branches never cross the dashed asymptotes.

State the equations of the vertical asymptotes of y=tan⁡(x)y = \tan(x) for −2π≤x≤0-2\pi \le x \le 0.

x =

Press Enter or type a comma after each value.

Common mistake

Joining tan across an asymptote

tan⁡(π2)\tan\left(\frac{\pi}{2}\right) is not 0 and not "infinity": it is undefined. Draw each asymptote as a dashed line, and let each branch approach it without touching or crossing it.

Use the graph of y=cos⁡(x)y = \cos(x) to find every xx in −2π≤x≤2π-2\pi \le x \le 2\pi where cos⁡(x)=−1\cos(x) = -1.

x =

Press Enter or type a comma after each value.

Exam tip

Sketches on extended domains

Mark the xx-axis in multiples of π2\frac{\pi}{2} (or π4\frac{\pi}{4}), draw exactly the domain asked for, and label every intercept and turning point with exact coordinates. For tan⁡\tan, add the asymptote equations.

Summary

  • y=sin⁡(x)y = \sin(x) and y=cos⁡(x)y = \cos(x) are waves with period 2π2\pi and range −1≤y≤1-1 \le y \le 1.

  • Sine starts a cycle at (0,0)(0, 0) heading up; cosine starts at its maximum (0,1)(0, 1). cos⁡(x)=sin⁡(x+π2)\cos(x) = \sin\left(x + \frac{\pi}{2}\right).

  • y=tan⁡(x)y = \tan(x) has period π\pi, xx-intercepts at multiples of π\pi, and vertical asymptotes at x=π2+nπx = \frac{\pi}{2} + n\pi for integers nn.

  • On an extended domain, repeat one cycle's key points every period, and stop exactly at the ends of the domain.

Finished the lesson?

Try the 3 quick checks above and the lesson completes itself, or mark it complete now.

Lesson 4 of 80% read

Save your progress with a free account