A trigonometric equation is an equation involving trigonometric functions of an unknown angle. Because these functions are periodic, every such equation has infinitely many solutions, and we must learn to write all of them in one expression , the general solution.
Principal value vs general solution
If sinx=21, then x=6π works. But so does 65π (the same height on the other side of the unit circle), and also 6π+2π, 65π+2π, 6π−2π, and so on. The general solution captures every one of these.
The three master rules
For each basic equation we write the general solution in closed form.
sinx=sinα
x=nπ+(−1)nα,n∈Z.
Verify at n=0: x=α. At n=1: x=π−α. At n=2: x=2π+α. Etc.
cosx=cosα
x=2nπ±α,n∈Z.
tanx=tanα
x=nπ+α,n∈Z.
(Period of tan is π, not 2π.)
Three special cases
Equation
General solution
sinx=0
x=nπ
cosx=0
x=(2n+1)2π
tanx=0
x=nπ
sinx=1
x=(4n+1)2π
sinx=−1
x=(4n−1)2π
cosx=1
x=2nπ
cosx=−1
x=(2n+1)π
Strategy for general equations
Reduce to a basic form. Use identities to get sin=sin, cos=cos, or tan=tan.
Square only when necessary. Squaring can introduce extraneous solutions; check at the end.
Factor. Quadratics in sinx or cosx factor and split into two equations.
Write the general solution. Apply the master rules and combine.
Solving asinx+bcosx=c
Convert to Rsin(x+ϕ)=c with R=a2+b2. The equation has solutions iff ∣c∣≤R. If yes, sin(x+ϕ)=c/R, and we solve as sinα=c/R.
Worked examples
Example 1. Solve sinx=23.
sinx=sin3π, so x=nπ+(−1)n3π, n∈Z.
Example 2. Solve 2cos2x−1=0.
cos2x=21, so cosx=±21. The two cases:
cosx=21⇒x=2nπ±4π.
cosx=−21⇒x=2nπ±43π.
Compactly: x=nπ±4π, n∈Z. (Or use cos2x=0: 2x=(2n+1)π/2, x=(2n+1)π/4.)
Example 3. Solve tanx=−1.
tanx=tan(−4π), so x=nπ−4π.
Example 4. Solve sinx+cosx=1.
Convert: 2sin(x+4π)=1, so sin(x+4π)=21=sin4π.
So x+4π=nπ+(−1)n4π. Splitting by parity:
n even: x+4π=2kπ+4π, so x=2kπ.
n odd: x+4π=(2k+1)π−4π, so x=2kπ+2π.
Combined: x=2kπ or x=2kπ+2π for k∈Z.
Example 5 (harder). Solve sin5x=sin3x.
Bring to one side and use sum-to-product:
sin5x−sin3x=2cos4xsinx=0.
So cos4x=0 or sinx=0.
cos4x=0⇒4x=(2n+1)2π⇒x=(2n+1)8π.
sinx=0⇒x=mπ.
General solution: x=mπ or x=(2n+1)8π.
Try it yourself
Solve cosx=21.
Solve tanx=3.
Solve sin2x=sinx.
Solve cos3x=cos2x.
Solve 2sin2x−3sinx+1=0.
Solve sinx+sin3x=0.
Solve 3sinx+cosx=1.
Solve tanx+cotx=2.
Solve sin2x−cos2x=21 (use cos2x=cos2−sin2).
Find all x∈[0,2π] with sinx=cosx.
Solve cosxcos2x=41. (Use product-to-sum.)
Solve sinx+sin2x+sin3x=0.
Pitfalls / Tricks
For sinx=0, the general solution is x=nπ, notx=2nπ , the period of sinx is 2π, but zeros occur every π.
When you square both sides, check the final answers , squaring can introduce spurious roots.
tanx has solutions x=nπ+α, without the (−1)n factor (which is only for sin).
Insight. Almost every trigonometric equation reduces to sinf(x)=sing(x) or cosf(x)=cosg(x). Master these two patterns and you can solve nearly any problem.