NIMCET, GATE, CUET & CBSE test series are live — start practicing free
syllabuzAI

Trigonometric Equations and General Solutions | NIMCET

Learn the general solutions of sin x = sin α, cos x = cos α and tan x = tan α, how to solve quadratic and a cos x + b sin x = c type equations, and how to count solutions in an interval.

5 min read

SP

SHIVAM PRADHAN

Updated 25 October 2026

On this page

Quick answer: The principal solutions of a trigonometric equation lie in [0,2π)[0, 2\pi); the general solution lists every solution using an integer nn. The three basic results are: sin⁡x=sin⁡α⇒x=nπ+(−1)nα\sin x = \sin\alpha \Rightarrow x = n\pi + (-1)^n\alpha; cos⁡x=cos⁡α⇒x=2nπ±α\cos x = \cos\alpha \Rightarrow x = 2n\pi \pm \alpha; tan⁡x=tan⁡α⇒x=nπ+α\tan x = \tan\alpha \Rightarrow x = n\pi + \alpha, where n∈Zn \in \mathbb{Z}.

Since trigonometric functions are periodic, an equation like sin⁡x=12\sin x = \frac{1}{2} has infinitely many solutions. The general solution packs all of them into one formula.

Basic general solutions

EquationGeneral solution (n∈Zn \in \mathbb{Z})
sin⁡x=0\sin x = 0x=nπx = n\pi
cos⁡x=0\cos x = 0x=(2n+1)π2x = (2n + 1)\frac{\pi}{2}
tan⁡x=0\tan x = 0x=nπx = n\pi
sin⁡x=sin⁡α\sin x = \sin\alphax=nπ+(−1)nαx = n\pi + (-1)^n\alpha
cos⁡x=cos⁡α\cos x = \cos\alphax=2nπ±αx = 2n\pi \pm \alpha
tan⁡x=tan⁡α\tan x = \tan\alphax=nπ+αx = n\pi + \alpha
sin⁡2x=sin⁡2α\sin^2 x = \sin^2\alpha, cos⁡2x=cos⁡2α\cos^2 x = \cos^2\alpha or tan⁡2x=tan⁡2α\tan^2 x = \tan^2\alphax=nπ±αx = n\pi \pm \alpha
sin⁡x=1\sin x = 1x=2nπ+π2x = 2n\pi + \frac{\pi}{2}
cos⁡x=−1\cos x = -1x=(2n+1)πx = (2n + 1)\pi

Why sin has (−1)n(-1)^n: sin⁡x=sin⁡α\sin x = \sin\alpha is satisfied by α\alpha and π−α\pi - \alpha, then every 2π2\pi after that. Writing nn even gives 2kπ+α2k\pi + \alpha and nn odd gives (2k+1)π−α(2k + 1)\pi - \alpha, which is exactly nπ+(−1)nαn\pi + (-1)^n\alpha.

Types of equations and how to solve them

1. Equations in one function

Rewrite everything in one ratio, solve as an algebraic equation, then reject impossible values.

Example: 2cos⁡2x+3sin⁡x=02\cos^2 x + 3\sin x = 0.

Step 1: 2(1−sin⁡2x)+3sin⁡x=02(1 - \sin^2 x) + 3\sin x = 0, so 2sin⁡2x−3sin⁡x−2=02\sin^2 x - 3\sin x - 2 = 0.

Step 2: (2sin⁡x+1)(sin⁡x−2)=0(2\sin x + 1)(\sin x - 2) = 0. Reject sin⁡x=2\sin x = 2.

Step 3: sin⁡x=−12=sin⁡(−π6)\sin x = -\frac{1}{2} = \sin\left(-\frac{\pi}{6}\right), so

x=nπ+(−1)n(−π6)=nπ−(−1)nπ6x = n\pi + (-1)^n\left(-\frac{\pi}{6}\right) = n\pi - (-1)^n\frac{\pi}{6}

2. Factorisation using sum-to-product

Example: cos⁡x+cos⁡3x=0\cos x + \cos 3x = 0 becomes 2cos⁡2xcos⁡x=02\cos 2x\cos x = 0, so cos⁡2x=0\cos 2x = 0 or cos⁡x=0\cos x = 0. This gives x=(2n+1)π4x = \frac{(2n + 1)\pi}{4} or x=(2n+1)π2x = \frac{(2n + 1)\pi}{2}. The sum-to-product formulas are the main tool here.

3. Equations of the form a cos x + b sin x = c

Divide by r=a2+b2r = \sqrt{a^2 + b^2} and write the left side as cos⁡(x−α)\cos(x - \alpha), where cos⁡α=ar\cos\alpha = \frac{a}{r} and sin⁡α=br\sin\alpha = \frac{b}{r}:

cos⁡(x−α)=cr\cos(x - \alpha) = \frac{c}{r}

A solution exists only if ∣c∣≤a2+b2\lvert c\rvert \le \sqrt{a^2 + b^2}.

Example: 3cos⁡x+sin⁡x=2\sqrt{3}\cos x + \sin x = \sqrt{2}.

Step 1: r=2r = 2, so 32cos⁡x+12sin⁡x=12\frac{\sqrt{3}}{2}\cos x + \frac{1}{2}\sin x = \frac{1}{\sqrt{2}}.

Step 2: The left side is cos⁡(x−π6)\cos\left(x - \frac{\pi}{6}\right), and 12=cos⁡π4\frac{1}{\sqrt{2}} = \cos\frac{\pi}{4}.

Step 3: x−π6=2nπ±π4x - \frac{\pi}{6} = 2n\pi \pm \frac{\pi}{4}, so

x=2nπ+5π12orx=2nπ−π12x = 2n\pi + \frac{5\pi}{12} \quad \text{or} \quad x = 2n\pi - \frac{\pi}{12}

4. Equations with no solution (use ranges)

sin⁡x+cos⁡x=2\sin x + \cos x = 2 has no solution, because sin⁡x+cos⁡x≤2\sin x + \cos x \le \sqrt{2}. Similarly, sin⁡x=π2\sin x = \frac{\pi}{2} has no solution because π2>1\frac{\pi}{2} > 1. Checking ranges first can save a lot of algebra.

Counting solutions in an interval

List the general solution, then substitute n=0,±1,±2,…n = 0, \pm 1, \pm 2, \ldots and keep the values inside the interval.

Example: How many solutions does sin⁡2x=12\sin 2x = \frac{1}{2} have in [0,2π][0, 2\pi]?

Step 1: 2x=nπ+(−1)nπ62x = n\pi + (-1)^n\frac{\pi}{6}, so x=nπ2+(−1)nπ12x = \frac{n\pi}{2} + (-1)^n\frac{\pi}{12}.

Step 2: n=0,1,2,3n = 0, 1, 2, 3 give π12,5π12,13π12,17π12\frac{\pi}{12}, \frac{5\pi}{12}, \frac{13\pi}{12}, \frac{17\pi}{12}. n=4n = 4 gives 25π12>2π\frac{25\pi}{12} > 2\pi.

Answer: 4 solutions.

A quick check: sin⁡2x\sin 2x completes 2 full cycles in [0,2π][0, 2\pi], and each cycle crosses the level 12\frac{1}{2} twice.

Summary table

Equation typeMethod
One functionReduce to a polynomial in that function; reject out-of-range roots
Sums of sines/cosinesSum-to-product, then set each factor to zero
a cos x + b sin x = cDivide by a2+b2\sqrt{a^2 + b^2}; solution only if ∣c∣≤a2+b2\lvert c\rvert \le \sqrt{a^2 + b^2}
Squared formssin⁡2x=sin⁡2α⇒x=nπ±α\sin^2 x = \sin^2\alpha \Rightarrow x = n\pi \pm \alpha
Counting rootsSubstitute integer values of nn and keep those in range

Exam tips

  • Always state "n∈Zn \in \mathbb{Z}" with a general solution.
  • Never divide by sin⁡x\sin x or cos⁡x\cos x; factor instead, or you may lose solutions.
  • Squaring both sides can create extra roots; check them in the original equation.
  • For counting questions, a sketch of the graph often gives the answer faster than listing.

See the NIMCET Trigonometry chapter for related articles.

Common mistakes

  • Writing x=2nπ±αx = 2n\pi \pm \alpha for sin⁡x=sin⁡α\sin x = \sin\alpha. That form belongs to cosine.
  • Keeping impossible roots such as sin⁡x=2\sin x = 2.
  • Cancelling a common factor like cos⁡x\cos x and losing the solutions x=(2n+1)π2x = (2n + 1)\frac{\pi}{2}.
  • Forgetting that tan⁡x=tan⁡α\tan x = \tan\alpha excludes points where tan⁡x\tan x is undefined.

Frequently Asked Questions

What is the general solution of sin x = sin α?

x = nπ + (−1)ⁿα, where n is any integer.

What is the general solution of cos x = cos α?

x = 2nπ ± α, where n is any integer.

What is the general solution of tan x = tan α?

x = nπ + α, where n is any integer.

When does a cos x + b sin x = c have a solution?

Only when |c| ≤ √(a² + b²). Otherwise the equation has no real solution.

What is the difference between principal and general solutions?

Principal solutions are the solutions in [0, 2π). The general solution is a formula, using an integer n, that gives every solution.

Concept Check

EXPERT

Consider the cubic polynomial equation x3−px2+qx−r=0x^3 - px^2 + qx - r = 0. If its three roots α,β,γ\alpha, \beta, \gamma are in Geometric Progression (G.P.), which algebraic relation connecting the coefficients p,q,p, q, and rr must be strictly satisfied?

Suggested for you