Lesson 4: The graphs of sin, cos and tan

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

SkillGraphs of sin, cos and tan

Worked example

  • 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.

1 of 4 steps
  1. Step 1: Find the asymptotes

    tan⁡(x)=sin⁡(x)cos⁡(x)\tan(x) = \frac{\sin(x)}{\cos(x)} is undefined where cos⁡(x)=0\cos(x) = 0: at x=π2x = \frac{\pi}{2} and x=3π2x = \frac{3\pi}{2} in this domain. Draw them as dashed vertical lines.

Try a similar one

A fresh question of the same kind, checked as you answer, with hints and a full solution.

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.

Save your progress with a free account