Skip to content
Tutorials Center
My learning

Topics

Lesson 23 of 37 · Trigonometric Functions Review

Solving Trigonometric Equations

Solve trig equations using the unit circle, inverse functions and identities, finding every solution in an interval or in general.

A trig equation such as 2 sin x = 1 is true only for certain angles, and because the functions repeat there are usually many solutions. The job is to find all of them in a given interval, or to write a general formula for every one.

You will need the inverse trig functions to turn a value back into an angle, so this lesson starts with them.

Inverse trig functions

Sine is not one-to-one, so to invert it we restrict its domain to get a principal value:

Function Meaning Output range
arcsin x angle whose sine is x [−π/2, π/2]
arccos x angle whose cosine is x [0, π]
arctan x angle whose tangent is x (−π/2, π/2)

The input of arcsin and arccos must be in [−1, 1]. The notation sin⁻¹ x is the same thing as arcsin x, not 1/sin x.

Note arcsin(sin(5π/6)) = π/6, not 5π/6, because the answer must lie in the principal range.

Strategy for basic equations

To solve sin x = k for all x:

  1. Find the principal angle α = arcsin k.
  2. Sine takes the same value at π − α.
  3. Add multiples of 2π to both.
Text
x = α + 2πn   or   x = π − α + 2πn,    n any integer

For cos x = k: x = ±α + 2πn with α = arccos k.

For tan x = k: x = α + πn with α = arctan k (tangent repeats every π).

Example: solve 2 sin x − 1 = 0 on [0, 2π)

sin x = 1/2. The reference angle is π/6; sine is positive in quadrants I and II:

Text
x = π/6   or   x = 5π/6

Example: solve cos x = −√2/2 on [0, 2π)

Reference angle π/4; cosine is negative in quadrants II and III:

Text
x = 3π/4   or   x = 5π/4
Python Find 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.

Equations that need algebra or identities

Factoring

Solve 2 sin²x − sin x = 0 on [0, 2π):

Text
sin x (2 sin x − 1) = 0
sin x = 0  →  x = 0, π
sin x = 1/2 →  x = π/6, 5π/6

Never divide both sides by sin x; that would lose the solutions with sin x = 0.

Quadratic in a trig function

Solve 2cos²x + cos x − 1 = 0. Let u = cos x: 2u² + u − 1 = (2u − 1)(u + 1) = 0, so u = 1/2 or u = −1.

  • cos x = 1/2 gives x = π/3, 5π/3.
  • cos x = −1 gives x = π.

Using an identity first

Solve cos 2x = cos x on [0, 2π). Replace cos 2x with 2cos²x − 1:

Text
2cos²x − cos x − 1 = 0  →  (2cos x + 1)(cos x − 1) = 0

So cos x = −1/2 (x = 2π/3, 4π/3) or cos x = 1 (x = 0).

Multiple angles

For sin 3x = √3/2, solve for 3x first, then divide. On one full turn of x, the angle 3x travels through 6π, so expect up to six solutions.

Python Check solutions and find roots numerically

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.

Extraneous and missing solutions

  • If you square both sides, check each answer in the original equation.
  • If the equation involves tan, sec, cot or csc, exclude angles where the function is undefined.
  • If the interval is [0, 2π) do not forget the second solution: sine and cosine each take most values twice per turn.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. What is arcsin(1/2)?

    The principal value of arcsin lies in [-π/2, π/2], and sin(π/6) = 1/2.
  2. 2. How many solutions does sin x = 0.3 have on [0, 2π)?

    Sine is positive in quadrants I and II, giving two solutions.
  3. 3. What is the general solution of tan x = 1?

    Tangent has period π, so solutions repeat every π.
  4. 4. In 2 sin²x = sin x, why is dividing both sides by sin x a mistake?

    Factor instead: sin x (2 sin x - 1) = 0 keeps both families of solutions.

Summary

  • arcsin, arccos and arctan return principal values in restricted ranges.
  • For sin x = k: x = α + 2πn or π − α + 2πn; for cos x = k: x = ±α + 2πn; for tan x = k: x = α + πn.
  • Factor, substitute u for a trig function, or use an identity to reduce to a basic equation.
  • Never divide by a trig factor; factor it out.
  • Check for extraneous solutions and for angles where a function is undefined.

Next: Vectors in the Plane