Trig graphs

The graphs of sin x and cos x are waves that repeat every 360°, staying between −1 and 1; the graph of tan x repeats every 180° and has vertical asymptotes. Changing the equation stretches or moves the graph in predictable ways.

Key facts

  • y = sin x: starts at 0, maximum 1 at 90°, minimum −1 at 270°, period 360°.
  • y = cos x: starts at 1, minimum −1 at 180°, period 360°.
  • y = tan x: period 180°, asymptotes at 90°, 270°, …
  • y = a sin x stretches vertically (max a); y = sin bx has period 360° ÷ b.
  • y = sin x + d moves the graph up d; y = sin(x − c) moves it right c.
  • Symmetry gives second solutions: sin x = k → x and 180° − x; cos x = k → x and 360° − x.

Worked examples

Example 1

Which equation is this graph: y = sin x, y = 2 sin x or y = sin 2x?

  1. It starts at the origin going up: a sine graph.
  2. Its highest point is 2, not 1: it is stretched upwards by 2.
  3. It repeats every 360°, the same as sin x, so x is not doubled. y = 2 sin x

Answer: y = 2 sin x

Example 2

Write down the maximum value, the minimum value and the period of y = 3 cos 2x + 1.

  1. cos goes from −1 to 1, so 3 cos 2x goes from −3 to 3.
  2. Adding 1 moves the whole graph up 1. max 3 + 1 = 4, min −3 + 1 = −2
  3. The 2 in front of x makes it repeat twice as often. period = 360 ÷ 2 = 180°

Answer: Maximum 4, minimum −2, period 180°

Example 3

One solution of sin x = 0.4 is x = 23.6°. Find the other solution between 0° and 360°.

  1. The line y = 0.4 crosses the curve twice between 0° and 360°. The first crossing is at 23.6°.
  2. The sine curve is symmetrical about x = 90°.
  3. So the other crossing is as far before 180° as 23.6° is after 0°. 180 − 23.6 = 156.4°

Answer: 156.4°

Example 4

Write down the maximum value and the period of y = sin x, with x in degrees.

  1. The sine graph goes up to 1 and down to −1.
  2. It repeats every 360°.

Answer: Maximum 1, period 360°

Example 5

Solve cos x = 0.5 for 0° ≤ x ≤ 360°.

  1. Use the inverse cosine. x = 60°
  2. The cosine graph is symmetrical about 180°. 360 − 60 = 300°

Answer: x = 60° or x = 300°

Example 6

Solve sin 2x = 0.5 for 0° ≤ x ≤ 180°.

  1. 2x goes from 0° to 360°. 2x = 30°, 150°
  2. Halve. x = 15° or 75°

Answer: x = 15° or x = 75°

Example 7

How many solutions does sin x = 0.3 have for 0° ≤ x ≤ 360°?

  1. Draw the line y = 0.3 across the sine graph.
  2. It crosses the curve twice between 0° and 180°, and not at all between 180° and 360°.

Answer: 2

Example 8

Describe the transformation that maps y = sin x onto y = sin(x − 30°).

  1. Subtracting 30° inside the function moves the graph right.
  2. So it is a translation by 30° in the positive x-direction.

Answer: A translation 30° to the right

Questions about trig graphs