A trigonometric equation like sinx=0 or cosx=1/2 has infinitely many solutions, because every trig function repeats itself every 2π (or π, for tan). Instead of listing solutions one by one, the goal is a single formula -- the general solution -- that generates every one of them as an integer n ranges over all of Z.
The three base formulas, each proved directly from where the function is zero or repeats:
- sinx=0⟺x=nπ
- cosx=0⟺x=(2n+1)2π
- tanx=0⟺x=nπ
The three general formulas, for a known value sinx=siny (and likewise for cos, tan), where y is any one known solution (often found from a standard angle):
- sinx=siny⟺x=nπ+(−1)ny
- cosx=cosy⟺x=2nπ±y
- tanx=tany⟺x=nπ+y
Worked example. Solve sinx=21.
Since sin(π/6)=1/2, take y=π/6. By the sine formula, the general solution is x=nπ+(−1)n6π, n∈Z. Checking n=0 gives x=π/6 (correct, sin(π/6)=1/2); n=1 gives x=π−π/6=5π/6 (also correct, since sin(5π/6)=sin(π/6)=1/2) -- the alternating (−1)n is exactly what reflects the solution into the second quadrant on odd n. …