Trigonometric equation solver

A trigonometric equation usually has several solutions in a given interval because the functions repeat. The method is to find the principal value, then use symmetry or the period to find the rest.

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What this topic covers

Find the principal value with the inverse function, then use symmetry for the others (general solutions of sin, cos, tan). Know the ranges in inverse trigonometric ranges; the parametric circle shows why the solutions are symmetric.

Each part of this topic has its own page with the formula, worked examples and a solver: General solutions: sin, General solutions: cos, General solutions: tan, Inverse trigonometric functions: ranges, Parametric circle.

Closely related topics: Right-angled trigonometry, Sine and cosine rule, Quadratic equations.

What is it used for?

Trigonometric equations have the unknown inside sin, cos or tan. They usually have several solutions in a range, found from the graph’s symmetry.

How to solve it

  1. Isolate the trigonometric function, for example sin x = 0.5.
  2. Use the inverse function on a calculator to get the principal value.
  3. Use the graph or CAST diagram to find the other solution(s) in one cycle.
  4. Add multiples of the period (360° or 2π for sin and cos, 180° or π for tan) to find all solutions in the range.
  5. For a multiple angle such as sin 2x, solve for 2x over a wider range first.

Worked examples

The examples marked with a button were worked out by the solver on this page. You can try each one yourself.

Example 1: solve sin(x) = 0.5 for 0 <= x <= 360

Worked out by the solver on this page. Press the button to try it yourself.

Trigonometric equation Answer checked
Answer
x=30∘,x=150∘x = 30^{\circ},\quad x = 150^{\circ}
  1. The equation and the range
  2. Treat \sin(x) as one unknown u and solve
  3. Principal values
    Other solutions: 180° − θ₀, then add or subtract 360° each time.
  4. All solutions in the range
    Found by checking the whole range and refining each crossing.
  5. Check: put each answer back into the equation

Example 2: solve cos(x) = -0.5 for 0 <= x <= 360

Worked out by the solver on this page. Press the button to try it yourself.

Trigonometric equation Answer checked
Answer
x=120∘,x=240∘x = 120^{\circ},\quad x = 240^{\circ}
  1. The equation and the range
  2. Treat \cos(x) as one unknown u and solve
  3. Principal values
    Other solutions: −θ₀ (or 360° − θ₀), then add or subtract 360° each time.
  4. All solutions in the range
    Found by checking the whole range and refining each crossing.
  5. Check: put each answer back into the equation

Example 3: solve tan(x) = 1 for 0 <= x <= 360

Worked out by the solver on this page. Press the button to try it yourself.

Trigonometric equation Answer checked
Answer
x=45∘,x=225∘x = 45^{\circ},\quad x = 225^{\circ}
  1. The equation and the range
  2. Treat \tan(x) as one unknown u and solve
  3. Principal values
    Other solutions: add or subtract 180° each time.
  4. All solutions in the range
    Found by checking the whole range and refining each crossing.
  5. Check: put each answer back into the equation

Example 4: solve sin(2x) = 0.5 for 0 <= x <= 360

Worked out by the solver on this page. Press the button to try it yourself.

Trigonometric equation Answer checked
Answer
x=15∘,x=75∘,x=195∘,x=255∘x = 15^{\circ},\quad x = 75^{\circ},\quad x = 195^{\circ},\quad x = 255^{\circ}
  1. The equation and the range
  2. Treat \sin(2 x) as one unknown u and solve
  3. Principal values
    Other solutions: 180° − θ₀, then add or subtract 360° each time.
  4. All solutions in the range
    Found by checking the whole range and refining each crossing.
  5. Check: put each answer back into the equation

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

sin x = 0.5

x = 30° or 150°

180° − 30°.

cos x = −0.5

x = 120° or 240°

360° − 120°.

tan x = 1

x = 45° or 225°

Add 180°.

sin 2x = 0.5

x = 15°, 75°, 195°, 255°

Solve for 2x first.

Word problems

Find the principal value, use the symmetry of the graph for the other solutions, then adjust for any multiple of x.

Sine

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

  1. Principal value30°
  2. Second180° − 30° = 150°
  3. Check: sin 150° = 0.5 ✓150

Cosine

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

  1. Principal value120°
  2. Second360° − 120° = 240°
  3. Check: cos 240° = −0.5 ✓240

Tangent Higher

Solve tan x = 1 for 0° ≤ x ≤ 360°.

  1. Principal value45°
  2. Add 180°225°
  3. Check: tan 225° = 1 ✓225

Double angle Higher

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

  1. 2x values30°, 150°, 390°, 510°
  2. Halve15°, 75°, 195°, 255°
  3. Check: 2 × 15° = 30° ✓255

Common mistakes

Giving only the calculator value

30° only ✗

also 150° ✓

Use the symmetry.

Wrong second solution for cos

180° − α ✗

360° − α ✓

Cosine is symmetric about 180°.

Halving too early with sin 2x

solve in 2x range of 0–360 ✗

range 0–720 ✓

Double the interval first.

Dividing by sin x

losing solutions ✗

factorise instead ✓

Never divide by a trig function.

Exam tips

  1. Inverse gives the first solution.
  2. Symmetry gives the rest.
  3. Extend the range for sin 2x.
  4. Factorise rather than divide.
  5. Check in range.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. Second solution of sin x = 0.6 (2 dp) Foundation

143.13

2. First solution of cos x = 0.3 (2 dp) Foundation

72.54

3. Second solution of cos x = 0.3 (2 dp) Foundation

287.46

4. Second solution of tan x = 2 (2 dp) Higher

243.43

5. sin x = 1: x Higher

90

6. cos x = 0: smaller solution Higher

90

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Principal value
The calculator answer.
General solution
All solutions.
Period
Repeat length of the graph.
Symmetry
Reflection in the graph.
Inverse function
sin⁻¹, cos⁻¹, tan⁻¹.
Interval
The range given.

Frequently asked questions

How do I solve sin x = k?

x = sin⁻¹ k and x = 180° − sin⁻¹ k, plus multiples of 360°.

How do I solve tan x = k?

x = tan⁻¹ k plus multiples of 180°.

Why more than one solution?

The graphs repeat and are symmetric.

Which page covers sin?

general solutions of sin.

Which page covers cos?

general solutions of cos.

Which page covers tan?

general solutions of tan.

More in Trigonometry and the formula sheets.