Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Write the General Solution of a Trig Equation

Trig functions repeat, so an equation with one solution has infinitely many. Find the solutions in one period and add every multiple of the period: 2π2\pi for sine and cosine, π\pi for tangent.

Recognize the task

"Find all solutions", "find the general solution", "solve for all real xx", or an answer to be given with k∈Zk \in \mathbb{Z}. Test: no interval is given.
The difference between general and restricted solutions is explained in the lesson; the formulas are the general solutions of sine, cosine and tangent equations.

Two ways to do it

One period plus multiplesusual choice
x=x1+2kπ  or  x=x2+2kπ,k∈Zx = x_1 + 2k\pi \ \text{ or } \ x = x_2 + 2k\pi, \quad k \in \mathbb{Z}
Solve on [0,2π)[0, 2\pi) as a basic equation, then add the period to each.
Compact formulasone line
sin⁡x=a: x=(−1)karcsin⁡a+kπcos⁡x=a: x=±arccos⁡a+2kπtan⁡x=a: x=arctan⁡a+kπ\sin x = a:\ x = (-1)^k\arcsin a + k\pi \qquad \cos x = a:\ x = \pm\arccos a + 2k\pi \qquad \tan x = a:\ x = \arctan a + k\pi
The same solution sets, written with one parameter.

Steps

StepOn sin⁡x=12\sin x = \frac{1}{2}
1Solve on one period. Basic trig equation.x=π6x = \frac{\pi}{6}, 5π6\frac{5\pi}{6}
2Choose the period. 2π2\pi for sine and cosine, π\pi for tangent (periodicity). In degrees: 360∘360^\circ and 180∘180^\circ.period 2π2\pi
3Add k times the period to each solution. State that kk is an integer.x=π6+2kπx = \frac{\pi}{6} + 2k\pi or x=5π6+2kπx = \frac{5\pi}{6} + 2k\pi, k∈Zk \in \mathbb{Z}
4Check one value of k. k=1k = 1 should give another true solution.13π6\frac{13\pi}{6}: sin⁡13π6=12\sin\frac{13\pi}{6} = \frac{1}{2} ✓

Worked examples

Example 1 · cosine

±
cos⁡x=22\cos x = \frac{\sqrt{2}}{2}: one period gives ±π4\pm\frac{\pi}{4}
x=±π4+2kπx = \pm\frac{\pi}{4} + 2k\pi

Example 2 · tangent

period π
tan⁡x=3\tan x = \sqrt{3}: x=π3x = \frac{\pi}{3}
one solution per half-turn
x=π3+kπx = \frac{\pi}{3} + k\pi

Example 3 · in degrees

one solution per turn
sin⁡x=−1\sin x = -1: x=270∘x = 270^\circ
the only point at the bottom
x=270∘+360∘kx = 270^\circ + 360^\circ k

See it happen

The graph of sin⁡x\sin x crosses the line y=12y = \frac{1}{2} twice in every window of width 2π2\pi, and each window is a copy of the last. The general solution lists the two crossings in one window and says "and every copy of them".

Common mistakes

Adding 2kπ to tangent

✗ tan⁡x=3:x=π3+2kπ\tan x = \sqrt{3}: x = \frac{\pi}{3} + 2k\pi
✓ that misses 4π3\frac{4\pi}{3}; add kπk\pi

Only one family for sine

✗ sin⁡x=12:x=π6+2kπ\sin x = \frac{1}{2}: x = \frac{\pi}{6} + 2k\pi
✓ also 5π6+2kπ\frac{5\pi}{6} + 2k\pi

k left undefined

✗ x=π6+2kπx = \frac{\pi}{6} + 2k\pi
✓ add "k∈Zk \in \mathbb{Z}": kk runs over all integers