Skip to content
Tutorials Center
My learning

Topics

Lesson 24 of 38 · Solving Trigonometric Equations

Solving Basic Trigonometric Equations

Solve sin x = k, cos x = k and tan x = k on an interval and as general solutions, using the unit circle, symmetry and the principal value.

A trigonometric equation is true only for some angles. sin x = 0.5 is an equation; sin²x + cos²x = 1 is an identity. Solving the equation means finding every angle that makes it true. Because trig functions repeat, there are usually infinitely many solutions, so a problem either gives an interval (for example 0° ≤ x < 360°) or asks for the general solution.

The method in four steps

  1. Isolate the trig function: sin x = k.
  2. Check that a solution exists (|k| ≤ 1 for sine and cosine; tangent accepts any k).
  3. Find the reference angle α = arcsin|k| (or arccos|k|, arctan|k|).
  4. Use the quadrants to list all angles in your interval, then add periods if you need the general solution.

Sine: sin x = k

Sine is positive in quadrants I and II, negative in III and IV. For 0° ≤ x < 360°, the two solutions are symmetric about 90°.

  • If k > 0: x = α and x = 180° − α.
  • If k < 0: x = 180° + α and x = 360° − α.

Example. sin x = 0.5. Here α = 30°, so x = 30° or 150°.

Example. sin x = −√2/2. Here α = 45°, so x = 225° or 315°.

General solution of sin x = k with principal value a = arcsin k:

Text
x = a + 360°n      or      x = 180° − a + 360°n      (n any integer)

Cosine: cos x = k

Cosine is positive in quadrants I and IV, negative in II and III. Solutions are symmetric about 0°.

  • If k > 0: x = α and x = 360° − α.
  • If k < 0: x = 180° − α and x = 180° + α.

Example. cos x = −√3/2: α = 30°, so x = 150° or 210°.

General solution with a = arccos k: x = ±a + 360°n.

Tangent: tan x = k

Tangent has period 180°, so there is only one solution per half-turn. In 0° ≤ x < 360° the solutions are x = a and x = a + 180°, where a = arctan k (adjusted into the interval).

Example. tan x = 1: x = 45° or 225°. Example. tan x = −1: arctan(−1) = −45°, so add 180° and 360°: x = 135° or 315°.

General solution: x = a + 180°n.

In radians

Replace 360° by 2π, 180° by π. For sin x = 1/2 on 0 ≤ x < 2π: x = π/6 or 5π/6. General solution: x = π/6 + 2πn or x = 5π/6 + 2πn.

Always set your calculator to the right mode (degrees or radians) before using arcsin, arccos or arctan. The wrong mode is the most common source of wrong answers.

A solver you can read

Python List all solutions in an interval

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The solver follows the same steps as the hand method: principal value, mirror image, then shifting by whole periods into the window. It rounds to 6 decimals to avoid duplicate floats such as 29.999999999999996.

Check every answer

Substitute back. This catches wrong mode, wrong quadrant and arithmetic slips.

Python Verify solutions by substitution

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Special values worth remembering

k sin x = k on [0°, 360°) cos x = k on [0°, 360°)
0 0°, 180° 90°, 270°
1 90° 0°
−1 270° 180°
1/2 30°, 150° 60°, 300°
√3/2 60°, 120° 30°, 330°

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. How many solutions does cos x = 0.3 have for 0° ≤ x < 360°?

    Cosine takes each value strictly between −1 and 1 twice in one full turn: once in quadrant I and once in quadrant IV here.
  2. 2. What are the solutions of sin x = −1/2 for 0° ≤ x < 360°?

    The reference angle is 30°. Sine is negative in quadrants III and IV: 180° + 30° = 210° and 360° − 30° = 330°.
  3. 3. What is the general solution of tan x = 1?

    Tangent has period 180°, so the solutions repeat every 180°.
  4. 4. sin x = 1.5 has:

    Sine never exceeds 1, so no angle works.

Summary

  • An equation holds for specific angles; list them within the given interval.
  • sin x = k: x = a and 180° − a; cosine: x = ±a; tangent: x = a + 180°n.
  • Use the reference angle and the quadrant signs to find all solutions.
  • General solutions add 360°n (or 180°n for tangent).
  • If |k| > 1 for sine or cosine, there is no solution.
  • Always check by substitution.

Next: Equations with Multiple Angles