Math Core

Lesson 7.3 · Trigonometric Equations

Solving equations with identities

Some equations mix different functions or different angles, like sin⁡2x=cos⁡x\sin 2x = \cos x or 2sin⁡2x+3cos⁡x−3=02\sin^2 x + 3\cos x - 3 = 0. You can't isolate "the" trig function because there are two of them. The identities from the previous unit fix this: they let you rewrite the equation in terms of one function of one angle, and then the methods you already know take over.

The goal: one function, one angle

Every strategy in this lesson aims at the same target. Rewrite the equation so it contains a single trig function of a single angle, then either isolate it or factor.

Tools for rewriting trig equations

  • Pythagorean identities trade squares: sin⁡2x=1−cos⁡2x\sin^2 x = 1 - \cos^2 x, cos⁡2x=1−sin⁡2x\cos^2 x = 1 - \sin^2 x, tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1.
  • Double-angle identities turn 2x2x into xx: sin⁡2x=2sin⁡xcos⁡x\sin 2x = 2\sin x\cos x and cos⁡2x=1−2sin⁡2x=2cos⁡2x−1=cos⁡2x−sin⁡2x\cos 2x = 1 - 2\sin^2 x = 2\cos^2 x - 1 = \cos^2 x - \sin^2 x.
  • Get zero on one side and factor. Set each factor equal to 00.
  • Never divide by a trig expression that could be zero. Factor it out instead.

Using a Pythagorean identity

When an equation has sin⁡2x\sin^2 x and cos⁡x\cos x (or cos⁡2x\cos^2 x and sin⁡x\sin x), replace the square so that everything is in terms of the other function. The result is a quadratic in one trig function.

Worked example: Trading sin² x for cosine

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

Replace sin⁡2x\sin^2 x with 1−cos⁡2x1 - \cos^2 x:

2(1−cos⁡2x)+3cos⁡x−3=0−2cos⁡2x+3cos⁡x−1=02cos⁡2x−3cos⁡x+1=0(2cos⁡x−1)(cos⁡x−1)=0\begin{aligned} 2(1 - \cos^2 x) + 3\cos x - 3 &= 0 \\ -2\cos^2 x + 3\cos x - 1 &= 0 \\ 2\cos^2 x - 3\cos x + 1 &= 0 \\ (2\cos x - 1)(\cos x - 1) &= 0 \end{aligned}
  • cos⁡x=12\cos x = \dfrac{1}{2}: x=π3x = \dfrac{\pi}{3} or x=5π3x = \dfrac{5\pi}{3}
  • cos⁡x=1\cos x = 1: x=0x = 0

The solutions are 00, π3\dfrac{\pi}{3} and 5π3\dfrac{5\pi}{3}.

Using a double-angle identity

When the angles don't match, like 2x2x and xx, a double-angle identity brings everything down to xx.

Worked example: Matching the angles

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

Replace sin⁡2x\sin 2x with 2sin⁡xcos⁡x2\sin x\cos x, move everything to one side and factor:

2sin⁡xcos⁡x−cos⁡x=0cos⁡x (2sin⁡x−1)=0\begin{aligned} 2\sin x\cos x - \cos x &= 0 \\ \cos x\,(2\sin x - 1) &= 0 \end{aligned}
  • cos⁡x=0\cos x = 0: x=π2x = \dfrac{\pi}{2} or x=3π2x = \dfrac{3\pi}{2}
  • sin⁡x=12\sin x = \dfrac{1}{2}: x=π6x = \dfrac{\pi}{6} or x=5π6x = \dfrac{5\pi}{6}

There are four solutions: π6\dfrac{\pi}{6}, π2\dfrac{\pi}{2}, 5π6\dfrac{5\pi}{6} and 3π2\dfrac{3\pi}{2}. The graph confirms four crossings.

y = sin 2x and y = cos x cross four times on [0, 2π): at π/6, π/2, 5π/6 and 3π/2.Open in grapher →

Common mistake

It's tempting to divide both sides of 2sin⁡xcos⁡x=cos⁡x2\sin x\cos x = \cos x by cos⁡x\cos x to get 2sin⁡x=12\sin x = 1. That throws away π2\dfrac{\pi}{2} and 3π2\dfrac{3\pi}{2}, where cos⁡x=0\cos x = 0. Dividing by zero is never allowed, and you can't know in advance that cos⁡x≠0\cos x \ne 0. Factor instead of dividing.

Choosing the right form of cos 2x

cos⁡2x\cos 2x has three forms. Pick the one that matches the other function in the equation.

  • If the equation also has sin⁡x\sin x, use cos⁡2x=1−2sin⁡2x\cos 2x = 1 - 2\sin^2 x.
  • If it also has cos⁡x\cos x, use cos⁡2x=2cos⁡2x−1\cos 2x = 2\cos^2 x - 1.

Worked example: Picking a form of cos 2x

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

The other term is sin⁡x\sin x, so use cos⁡2x=1−2sin⁡2x\cos 2x = 1 - 2\sin^2 x:

1−2sin⁡2x+sin⁡x=02sin⁡2x−sin⁡x−1=0(2sin⁡x+1)(sin⁡x−1)=0\begin{aligned} 1 - 2\sin^2 x + \sin x &= 0 \\ 2\sin^2 x - \sin x - 1 &= 0 \\ (2\sin x + 1)(\sin x - 1) &= 0 \end{aligned}
  • sin⁡x=−12\sin x = -\dfrac{1}{2}: x=7π6x = \dfrac{7\pi}{6} or x=11π6x = \dfrac{11\pi}{6}
  • sin⁡x=1\sin x = 1: x=π2x = \dfrac{\pi}{2}

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

Squaring both sides

Sometimes squaring is the only easy way to connect sin⁡x\sin x and cos⁡x\cos x. But squaring can create extraneous solutions, just like it does with radical equations: a=ba = b and a=−ba = -b both square to a2=b2a^2 = b^2. So after squaring, you must check every answer in the original equation.

Worked example: Checking for extraneous solutions

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

Square both sides and use sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1:

sin⁡2x+2sin⁡xcos⁡x+cos⁡2x=11+2sin⁡xcos⁡x=1sin⁡2x=0\begin{aligned} \sin^2 x + 2\sin x\cos x + \cos^2 x &= 1 \\ 1 + 2\sin x\cos x &= 1 \\ \sin 2x &= 0 \end{aligned}

With u=2xu = 2x and 0≤u<4π0 \le u < 4\pi: u=0,π,2π,3πu = 0, \pi, 2\pi, 3\pi, so x=0,π2,π,3π2x = 0, \dfrac{\pi}{2}, \pi, \dfrac{3\pi}{2}.

Now check each one in sin⁡x+cos⁡x=1\sin x + \cos x = 1:

xxsin⁡x+cos⁡x\sin x + \cos xworks?
000+1=10 + 1 = 1yes
π2\dfrac{\pi}{2}1+0=11 + 0 = 1yes
π\pi0+(−1)=−10 + (-1) = -1no
3π2\dfrac{3\pi}{2}−1+0=−1-1 + 0 = -1no

The solutions are x=0x = 0 and x=π2x = \dfrac{\pi}{2}. The other two solve sin⁡x+cos⁡x=−1\sin x + \cos x = -1 instead.

Tip

A sum formula can avoid squaring. Since sin⁡x+cos⁡x=2sin⁡(x+π4)\sin x + \cos x = \sqrt{2}\sin\left(x + \dfrac{\pi}{4}\right), the equation above becomes sin⁡(x+π4)=22\sin\left(x + \dfrac{\pi}{4}\right) = \dfrac{\sqrt{2}}{2}, a shifted-angle equation with no extraneous roots.

Practice

Practice 1

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

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

Practice 2

Solve sin⁡2x+sin⁡x=0\sin 2x + \sin x = 0 on [0,2π)[0, 2\pi). Give exact answers.

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

Practice 3

Solve cos⁡2x=cos⁡x\cos 2x = \cos x on [0,2π)[0, 2\pi). Give exact answers.

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

Practice 4

Maya solves sin⁡xcos⁡x=sin⁡x\sin x\cos x = \sin x on [0,2π)[0, 2\pi) by dividing both sides by sin⁡x\sin x. She gets cos⁡x=1\cos x = 1, so x=0x = 0. Which solution in [0,2π)[0, 2\pi) did she lose? Give an exact answer.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 5

Solve cos⁡2θ+3sin⁡θ−2=0\cos 2\theta + 3\sin\theta - 2 = 0 on [0∘,360∘)[0^\circ, 360^\circ). Give your answers in degrees.

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

Practice 6

Solve tan⁡2x−sec⁡x−1=0\tan^2 x - \sec x - 1 = 0 on [0,2π)[0, 2\pi). Give exact answers.

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

Practice 7

Solve sin⁡xcos⁡x=14\sin x\cos x = \dfrac{1}{4} on [0,2π)[0, 2\pi). Give exact answers.

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

Practice 8

Solve 3sin⁡x+cos⁡x=1\sqrt{3}\sin x + \cos x = 1 on [0,2π)[0, 2\pi). Give exact answers.

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