Math Core

Lesson 5.3 · Analytic Trigonometry

Trigonometric equations

An identity is true for every input. A trigonometric equation is true only for certain inputs, and your job is to find them all. Because trig functions are periodic, a solvable equation usually has infinitely many solutions, so the answer is either a list on one period, such as [0,2π)[0, 2\pi), or a formula that captures every solution at once.

The basic equation

Every trig equation eventually comes down to one of the form sin⁡x=c\sin x = c, cos⁡x=c\cos x = c or tan⁡x=c\tan x = c. Solve it in two stages:

  1. Find all solutions in one period. For sine and cosine that period is [0,2π)[0, 2\pi), and there are usually two solutions, one in each quadrant where the function has the sign of cc. Tangent has period π\pi, so one solution per π\pi.
  2. Add multiples of the period to get every solution.
On [0, 2π) the line y = −1/2 meets y = sin x at 7π/6 ≈ 3.67 and 11π/6 ≈ 5.76.Open in grapher →

Worked example: A linear equation

Solve 2sin⁡x+1=02\sin x + 1 = 0. Give the solutions on [0,2π)[0, 2\pi) and the general solution.

Solution. Isolate the trig function: sin⁡x=−12\sin x = -\dfrac{1}{2}. The reference angle is π6\dfrac{\pi}{6}, and sine is negative in Quadrants III and IV, so on [0,2π)[0, 2\pi)

x=π+π6=7π6orx=2π−π6=11π6.x = \pi + \frac{\pi}{6} = \frac{7\pi}{6} \qquad\text{or}\qquad x = 2\pi - \frac{\pi}{6} = \frac{11\pi}{6}.

Every solution is one of these plus a whole number of full turns:

x=7π6+2πkorx=11π6+2πk,k an integer.x = \frac{7\pi}{6} + 2\pi k \quad\text{or}\quad x = \frac{11\pi}{6} + 2\pi k, \qquad k \text{ an integer}.

When cc is not a special value, use the inverse function for one solution and symmetry for the other. For sin⁡x=c\sin x = c, the solutions on one period are sin⁡−1c\sin^{-1} c and π−sin⁡−1c\pi - \sin^{-1} c. For cos⁡x=c\cos x = c, they are ±cos⁡−1c\pm\cos^{-1} c. For tan⁡x=c\tan x = c, it's tan⁡−1c+πk\tan^{-1} c + \pi k.

General solutions

For an integer kk:

sin⁡x=c  ⟺  x=sin⁡−1c+2πk  or  x=π−sin⁡−1c+2πk(−1≤c≤1)cos⁡x=c  ⟺  x=±cos⁡−1c+2πk(−1≤c≤1)tan⁡x=c  ⟺  x=tan⁡−1c+πk(any c)\begin{aligned} \sin x = c &\iff x = \sin^{-1} c + 2\pi k \ \text{ or } \ x = \pi - \sin^{-1} c + 2\pi k \quad (-1 \le c \le 1) \\ \cos x = c &\iff x = \pm\cos^{-1} c + 2\pi k \quad (-1 \le c \le 1) \\ \tan x = c &\iff x = \tan^{-1} c + \pi k \quad (\text{any } c) \end{aligned}

If ∣c∣>1|c| > 1, then sin⁡x=c\sin x = c and cos⁡x=c\cos x = c have no solutions.

Equations of quadratic type

If the same trig function appears squared and to the first power, treat it like a variable. Setting u=cos⁡xu = \cos x turns 2cos⁡2x−cos⁡x−1=02\cos^2 x - \cos x - 1 = 0 into 2u2−u−1=02u^2 - u - 1 = 0. Factor or use the quadratic formula, then solve each basic equation. Throw out any value of uu outside the range of the function.

When the equation mixes two functions, use a Pythagorean identity to rewrite it in just one.

Worked example: Use an identity, then factor

Solve 2cos⁡2x+3sin⁡x=32\cos^2 x + 3\sin x = 3 on [0,2π)[0, 2\pi).

Solution. Replace cos⁡2x\cos^2 x with 1−sin⁡2x1 - \sin^2 x so only sine remains:

2(1−sin⁡2x)+3sin⁡x−3=0⟹2sin⁡2x−3sin⁡x+1=0.2(1 - \sin^2 x) + 3\sin x - 3 = 0 \quad\Longrightarrow\quad 2\sin^2 x - 3\sin x + 1 = 0.

Factor: (2sin⁡x−1)(sin⁡x−1)=0(2\sin x - 1)(\sin x - 1) = 0.

  • sin⁡x=12\sin x = \dfrac{1}{2} gives x=π6x = \dfrac{\pi}{6} or x=5π6x = \dfrac{5\pi}{6}.
  • sin⁡x=1\sin x = 1 gives x=π2x = \dfrac{\pi}{2}.

The solutions are π6\dfrac{\pi}{6}, π2\dfrac{\pi}{2} and 5π6\dfrac{5\pi}{6}.

Factor, don't divide

When the same trig function appears in every term, it's tempting to divide it out. Don't. Dividing by sin⁡x\sin x silently throws away every solution where sin⁡x=0\sin x = 0.

Worked example: A double angle

Solve sin⁡2x=cos⁡x\sin 2x = \cos x on [0,2π)[0, 2\pi).

Solution. Rewrite with a single angle: 2sin⁡xcos⁡x=cos⁡x2\sin x\cos x = \cos x. Move everything to one side and factor:

2sin⁡xcos⁡x−cos⁡x=0⟹cos⁡x (2sin⁡x−1)=0.2\sin x\cos x - \cos x = 0 \quad\Longrightarrow\quad \cos x\,(2\sin x - 1) = 0.
  • cos⁡x=0\cos x = 0 gives x=π2x = \dfrac{\pi}{2} or x=3π2x = \dfrac{3\pi}{2}.
  • sin⁡x=12\sin x = \dfrac{1}{2} gives x=π6x = \dfrac{\pi}{6} or x=5π6x = \dfrac{5\pi}{6}.

So x=π6,π2,5π6,3π2x = \dfrac{\pi}{6}, \dfrac{\pi}{2}, \dfrac{5\pi}{6}, \dfrac{3\pi}{2}. Dividing by cos⁡x\cos x at the start would have lost two of the four.

Common mistake

Never divide both sides by an expression that can equal zero, such as sin⁡x\sin x, cos⁡x\cos x or tan⁡x\tan x. Factor it out instead and set each factor equal to zero.

Multiple angles

For an equation like sin⁡3x=c\sin 3x = c, solve for the whole angle θ=3x\theta = 3x first, then divide. The catch is the interval. If 0≤x<2π0 \le x < 2\pi, then 0≤3x<6π0 \le 3x < 6\pi, which is three full turns, so you should expect three times as many solutions.

Worked example: Solving for a multiple angle

Solve 2cos⁡2x=32\cos 2x = \sqrt3 on [0,2π)[0, 2\pi).

Solution. cos⁡2x=32\cos 2x = \dfrac{\sqrt3}{2}. Let θ=2x\theta = 2x, which runs over [0,4π)[0, 4\pi). Cosine equals 32\dfrac{\sqrt3}{2} at θ=π6\theta = \dfrac{\pi}{6} and 11π6\dfrac{11\pi}{6} in the first turn, and one full turn later at 13π6\dfrac{13\pi}{6} and 23π6\dfrac{23\pi}{6}.

Divide each by 22:

x=π12, 11π12, 13π12, 23π12.x = \frac{\pi}{12}, \ \frac{11\pi}{12}, \ \frac{13\pi}{12}, \ \frac{23\pi}{12}.

Equivalently, from the general solution 2x=±π6+2πk2x = \pm\dfrac{\pi}{6} + 2\pi k you get x=±π12+πkx = \pm\dfrac{\pi}{12} + \pi k: the period has been cut in half.

Squaring can add false solutions

Sometimes the only way to get to one function is to square both sides, for example in sin⁡x+cos⁡x=1\sin x + \cos x = 1. Squaring gives 1+2sin⁡xcos⁡x=11 + 2\sin x\cos x = 1, so sin⁡2x=0\sin 2x = 0, which suggests x=0,π2,π,3π2x = 0, \dfrac{\pi}{2}, \pi, \dfrac{3\pi}{2}. But squaring also accepts solutions of sin⁡x+cos⁡x=−1\sin x + \cos x = -1. Check each candidate in the original equation: x=πx = \pi gives 0+(−1)=−10 + (-1) = -1 and x=3π2x = \dfrac{3\pi}{2} gives −1+0=−1-1 + 0 = -1, so both are extraneous. The true solutions are 00 and π2\dfrac{\pi}{2}.

Tip

A graph is a fast check on how many solutions to expect. Graph each side as its own function over one period and count the intersections. If you found three solutions but the curves cross four times, go back and look for the missing one.

A good order of attack for any trig equation: rewrite in a single angle, rewrite in a single function if possible, collect everything on one side, factor, solve each basic equation, and check if you squared.

Practice

Practice 1

Solve 2sin⁡x+1=02\sin x + 1 = 0 on [0,2π)[0, 2\pi). Separate answers with commas.

Separate answers with commas, e.g. 2, -5

Practice 2

Solve tan⁡2x=3\tan^2 x = 3 on [0,2π)[0, 2\pi).

Separate answers with commas, e.g. 2, -5

Practice 3

Solve 2cos⁡2x−cos⁡x−1=02\cos^2 x - \cos x - 1 = 0 on [0,2π)[0, 2\pi).

Separate answers with commas, e.g. 2, -5

Practice 4

Solve sin⁡2x=sin⁡x\sin 2x = \sin x on [0,2π)[0, 2\pi).

Separate answers with commas, e.g. 2, -5

Practice 5

Solve 2sin⁡2x+3cos⁡x−3=02\sin^2 x + 3\cos x - 3 = 0 on [0,2π)[0, 2\pi).

Separate answers with commas, e.g. 2, -5

Practice 6

Solve cos⁡3x=0\cos 3x = 0 on [0,2π)[0, 2\pi).

Separate answers with commas, e.g. 2, -5

Practice 7

Solve 3sin⁡x=13\sin x = 1 on [0,2π)[0, 2\pi). Round each answer to the nearest hundredth.

Separate answers with commas, e.g. 2, -5

Practice 8

Solve sin⁡x−cos⁡x=1\sin x - \cos x = 1 on [0,2π)[0, 2\pi).

Separate answers with commas, e.g. 2, -5