PYQ Vault

NDA Maths · Trigonometric Equations

General Solutions & Counting Solutions

Because sine, cosine, and tangent repeat, a trig equation has an infinite family of solutions captured by one general formula — and counting how many fall in a given interval is the most-tested skill in the chapter.

Why this matters

The chapter's hardest pocket (13 PYQs, 6 HARD). Two skills dominate: writing the general solution after reducing the equation to a standard sin = sin / cos = cos / tan = tan form, and counting the solutions inside an interval. Get the reduction right and the counting follows.

Test yourself — a quick 14-question Trigonometric Equations recall quiz, instant score.

Concept 1 of 4: The General-Solution Formulas

Solving sin θ = sin α doesn't give one answer — it gives every angle co-terminal with α or its supplement. The three general-solution formulas package that whole infinite family into a single expression with an integer parameter n.

Definition

Write each equation in the form (function of θ) = (same function of a known angle α), then:

  • sin⁡θ=sin⁡α⇒θ=nπ+(−1)nα\sin\theta = \sin\alpha \Rightarrow \theta = n\pi + (-1)^n \alpha
  • cos⁡θ=cos⁡α⇒θ=2nπ±α\cos\theta = \cos\alpha \Rightarrow \theta = 2n\pi \pm \alpha
  • tan⁡θ=tan⁡α⇒θ=nπ+α\tan\theta = \tan\alpha \Rightarrow \theta = n\pi + \alpha

for n∈Zn \in \mathbb{Z}. The principal solution is the one in the first cycle; the general solution adds the periodic family. (Special: sin⁡θ=0⇒θ=nπ\sin\theta=0 \Rightarrow \theta=n\pi; cos⁡θ=0⇒θ=(2n+1)π2\cos\theta=0 \Rightarrow \theta=(2n+1)\tfrac{\pi}{2}.) The identity layer underneath — how an equation gets INTO a solvable shape. Most PYQs here open with one of these before any general solution is written (full treatment in the Trigonometric Identities notes, linked below):

  • Reciprocals: sec⁡θ=1cos⁡θ\sec\theta=\tfrac1{\cos\theta}, csc⁡θ=1sin⁡θ\csc\theta=\tfrac1{\sin\theta}, cot⁡θ=1tan⁡θ=cos⁡θsin⁡θ\cot\theta=\tfrac1{\tan\theta}=\tfrac{\cos\theta}{\sin\theta}. Pythagorean: sin⁡2θ+cos⁡2θ=1\sin^2\theta+\cos^2\theta=1, 1+tan⁡2θ=sec⁡2θ1+\tan^2\theta=\sec^2\theta, 1+cot⁡2θ=csc⁡2θ1+\cot^2\theta=\csc^2\theta — the tool for turning a mixed sin⁡2,cos⁡\sin^2,\cos equation into a quadratic in ONE ratio.
  • Double angle: sin⁡2θ=2sin⁡θcos⁡θ\sin2\theta=2\sin\theta\cos\theta, cos⁡2θ=cos⁡2θ−sin⁡2θ=1−2sin⁡2θ=2cos⁡2θ−1\cos2\theta=\cos^2\theta-\sin^2\theta=1-2\sin^2\theta=2\cos^2\theta-1; power reduction sin⁡2θ=1−cos⁡2θ2\sin^2\theta=\tfrac{1-\cos2\theta}{2}, cos⁡2θ=1+cos⁡2θ2\cos^2\theta=\tfrac{1+\cos2\theta}{2} (so 8sin⁡2(θ+π4)=4(1+sin⁡2θ)8\sin^2(\theta+\tfrac\pi4)=4(1+\sin2\theta)).
  • Compound angle: sin⁡(A±B)=sin⁡Acos⁡B±cos⁡Asin⁡B\sin(A\pm B)=\sin A\cos B\pm\cos A\sin B, cos⁡(A±B)=cos⁡Acos⁡B∓sin⁡Asin⁡B\cos(A\pm B)=\cos A\cos B\mp\sin A\sin B, tan⁡(A±B)=tan⁡A±tan⁡B1∓tan⁡Atan⁡B\tan(A\pm B)=\dfrac{\tan A\pm\tan B}{1\mp\tan A\tan B} — the DIFFERENCE forms included. cos⁡Acos⁡B−sin⁡Asin⁡B=cos⁡(A+B)\cos A\cos B-\sin A\sin B=\cos(A+B) is what collapses cot⁡2xcot⁡3x=1\cot2x\cot3x=1 to cos⁡5x=0\cos5x=0.
  • Co-functions: cos⁡θ=sin⁡(π2−θ)\cos\theta=\sin(\tfrac\pi2-\theta) AND tan⁡A=cot⁡B⇒A+B=π2\tan A=\cot B\Rightarrow A+B=\tfrac\pi2 (mod π\pi). Angle sum of a triangle =π=\pi, so "angles x,x,xx,x,x" means 3x=π3x=\pi.
  • Half angle: 1+cos⁡x=2cos⁡2x21+\cos x=2\cos^2\tfrac x2, 1−cos⁡x=2sin⁡2x21-\cos x=2\sin^2\tfrac x2, sin⁡x=2sin⁡x2cos⁡x2\sin x=2\sin\tfrac x2\cos\tfrac x2; Weierstrass with t=tan⁡θ2t=\tan\tfrac\theta2: sin⁡θ=2t1+t2\sin\theta=\dfrac{2t}{1+t^2}, cos⁡θ=1−t21+t2\cos\theta=\dfrac{1-t^2}{1+t^2}, tan⁡θ=2t1−t2\tan\theta=\dfrac{2t}{1-t^2} — note the HALF angle; t=tan⁡θt=\tan\theta is the recorded wrong substitution.

General solutions

sin⁡θ=sin⁡α: θ=nπ+(−1)nα;cos⁡θ=cos⁡α: θ=2nπ±α;tan⁡θ=tan⁡α: θ=nπ+α;sin⁡θ=0: θ=nπ;cos⁡θ=0: θ=(2n+1)π2;sin⁡2θ=sin⁡2α: θ=nπ±α\sin\theta=\sin\alpha:\ \theta=n\pi+(-1)^n\alpha; \quad \cos\theta=\cos\alpha:\ \theta=2n\pi\pm\alpha; \quad \tan\theta=\tan\alpha:\ \theta=n\pi+\alpha; \quad \sin\theta=0:\ \theta=n\pi; \quad \cos\theta=0:\ \theta=(2n+1)\tfrac{\pi}{2}; \quad \sin^2\theta=\sin^2\alpha:\ \theta=n\pi\pm\alpha

Worked example

Find the general solution of cos⁡θ=12\cos\theta = \tfrac{1}{2}.
Practice this concept6 quick reps

The same idea in a real exam question:

NDA · Sep 2024 · Q27Moderate

Example 1 · Trigonometric Equations · General Solutions and Counting Solutions of Trigonometric Equations

What is the general solution of cos⁡100x−sin⁡100x=1\cos^{100}x-\sin^{100}x=1? (where nn is an integer)

sin and cos use DIFFERENT general forms

sin⁡θ=sin⁡α\sin\theta=\sin\alpha uses nπ+(−1)nαn\pi+(-1)^n\alpha; cos⁡θ=cos⁡α\cos\theta=\cos\alpha uses 2nπ±α2n\pi\pm\alpha. Swapping them is the most common error and changes which solutions you count.

The (−1)n(-1)^n belongs to SINE only

The alternating factor (−1)n(-1)^n appears ONLY in the sine general solution θ=nπ+(−1)nα\theta=n\pi+(-1)^n\alpha. Cosine uses 2nπ±α2n\pi\pm\alpha and tangent uses nπ+αn\pi+\alpha — neither carries a (−1)n(-1)^n. Writing cos⁡θ=cos⁡α⇒θ=nπ+(−1)nα\cos\theta=\cos\alpha\Rightarrow\theta=n\pi+(-1)^n\alpha is wrong.

The ±\pm is the whole point of the cosine form

cos⁡θ=cos⁡α\cos\theta=\cos\alpha gives BOTH branches 2nπ+α2n\pi+\alpha and 2nπ−α2n\pi-\alpha, so the formula is 2nπ±α2n\pi\pm\alpha. Dropping the ±\pm and writing only 2nπ+α2n\pi+\alpha loses half the solutions.

tan and sin share nπn\pi but differ in the add-on

tan⁡θ=tan⁡α\tan\theta=\tan\alpha gives θ=nπ+α\theta=n\pi+\alpha — note it is nπn\pi (period π\pi), NOT 2nπ2n\pi. Tangent repeats every π\pi, so its general solution steps by π\pi, unlike cosine's 2nπ2n\pi.

Concept 2 of 4: Reducing an Equation to Standard Form

Most equations don't arrive as sin = sin. The work is to massage them — co-function shifts, double-angle identities, or factoring a quadratic in one ratio — into a standard form. Watch for extraneous roots when you square.

Definition

Common reductions:

  • Co-function: sin⁡2θ=cos⁡3θ=sin⁡(π2−3θ)\sin 2\theta = \cos 3\theta = \sin(\tfrac{\pi}{2} - 3\theta), then equate angles.
  • Quadratic in one ratio: equations like 2cos⁡2x+cos⁡x−1=02\cos^2 x + \cos x - 1 = 0 factor; solve each linear factor.
  • Half-angle collapse: csc⁡x+cot⁡x=1+cos⁡xsin⁡x\csc x + \cot x = \dfrac{1+\cos x}{\sin x}, and with 1+cos⁡x=2cos⁡2x21+\cos x = 2\cos^2\tfrac{x}{2}, sin⁡x=2sin⁡x2cos⁡x2\sin x = 2\sin\tfrac{x}{2}\cos\tfrac{x}{2} this is cot⁡x2\cot\tfrac{x}{2}. So csc⁡x+cot⁡x=3\csc x + \cot x = \sqrt3 is just cot⁡x2=3⇒x2=π6⇒x=π3\cot\tfrac{x}{2} = \sqrt3\Rightarrow \tfrac{x}{2} = \tfrac{\pi}{6}\Rightarrow x = \tfrac{\pi}{3} on (0,2π)(0,2\pi) — no squaring, no false roots. Its sibling: csc⁡x−cot⁡x=tan⁡x2\csc x - \cot x = \tan\tfrac{x}{2}. (Cross-multiplying to 1+cos⁡x=3sin⁡x1+\cos x = \sqrt3\sin x and squaring also works, but manufactures cos⁡x=−1\cos x = -1, which must then be discarded.)
  • Weierstrass t=tan⁡x2t=\tan\tfrac x2 when an equation mixes sin⁡x\sin x and cos⁡x\cos x linearly, e.g. asin⁡x+bcos⁡x=ca\sin x+b\cos x=c: sin⁡x=2t1+t2\sin x=\dfrac{2t}{1+t^2}, cos⁡x=1−t21+t2\cos x=\dfrac{1-t^2}{1+t^2} turn it into the quadratic (b+c)t2−2at+(c−b)=0(b+c)t^2-2at+(c-b)=0; each real tt gives x=2tan⁡−1tx=2\tan^{-1}t (and check x=πx=\pi, where tt is undefined, separately).
  • Always verify roots in the ORIGINAL equation — squaring or dividing can introduce or drop solutions (e.g. where a denominator vanishes).

Co-function reduction

cos⁡θ=sin⁡ ⁣(π2−θ),sin⁡θ=cos⁡ ⁣(π2−θ)\cos\theta = \sin\!\left(\tfrac{\pi}{2} - \theta\right), \quad \sin\theta = \cos\!\left(\tfrac{\pi}{2} - \theta\right)

Worked example

Solve sin⁡3θ=cos⁡2θ\sin 3\theta = \cos 2\theta for 0<θ<π20 < \theta < \tfrac{\pi}{2}.

The same idea in a real exam question:

NDA · Sep 2018 · Q42Hard

Example 2 · Trigonometric Equations · General Solutions and Counting Solutions of Trigonometric Equations

What is/are the solution(s) of the trigonometric equation csc⁡x+cot⁡x=3\csc x + \cot x = \sqrt{3}, where 0<x<2π0 < x < 2\pi?

Squaring can add false roots — collapse to a half-angle instead when you can

1+cos⁡x=3sin⁡x1 + \cos x = \sqrt3\sin x squared gives a quadratic whose roots include cos⁡x=−1\cos x = -1 — which makes the original csc⁡x+cot⁡x\csc x + \cot x undefined. Substitute every root back before counting. Better: recognise 1+cos⁡xsin⁡x=cot⁡x2\dfrac{1+\cos x}{\sin x} = \cot\tfrac{x}{2} and never square at all.

Dividing by cos⁡x\cos x (or sin⁡x\sin x) can LOSE roots

Going from sin⁡x=cos⁡x\sin x = \cos x to tan⁡x=1\tan x = 1 by dividing by cos⁡x\cos x silently assumes cos⁡x≠0\cos x \ne 0. That is fine here, but in general dividing by a trig factor throws away every solution where that factor is zero — factor instead of divide.

sin⁡x=2\sin x = 2 has NO solution

After reducing, always check the range: sin⁡x\sin x and cos⁡x\cos x live in [−1,1][-1,1]. An equation that forces sin⁡x=2\sin x = 2 (or cos⁡x=−3\cos x = -3) has no real solution at all — don't write a general solution for it.

Concept 3 of 4: Counting Solutions in an Interval

'How many solutions?' is asking how many members of the infinite family land inside the interval. Reduce to a single function = constant, then count the periods that fit — graphically, how many times the curve crosses the level line.

Definition

To count solutions of (function) =k= k on an interval:

  • Reduce to one trig function equal to a constant (e.g. cot⁡2xcot⁡3x=1⇒cos⁡5x=0\cot 2x\cot 3x = 1 \Rightarrow \cos 5x = 0).
  • Find the general solution, then list the values of nn that keep θ\theta inside the interval.
  • Discard values where the original equation is undefined (a cotangent/cosecant blowing up, a denominator zero).
  • Graphically, the count is the number of intersections of y=(function)y = (\text{function}) with the horizontal line y=ky = k over the interval.

Count = solutions of the reduced equation in range

cot⁡2x cot⁡3x=1 ⇒ cos⁡5x=0 ⇒ 5x=(2n+1)π2\cot 2x\,\cot 3x = 1 \ \Rightarrow\ \cos 5x = 0 \ \Rightarrow\ 5x = (2n+1)\tfrac{\pi}{2}
y = ½π/65π/6π2πsin x = ½ on [0, 2π] → 2 solutions

Worked example

How many solutions does sin⁡2x=12\sin 2x = \tfrac{1}{2} have on 0≤x<2π0 \le x < 2\pi?
Practice this concept4 quick reps

The same idea in a real exam question:

NDA · Sep 2024 · Q26Moderate

Example 3 · Trigonometric Equations · General Solutions and Counting Solutions of Trigonometric Equations

What is the number of solutions of the equation cot⁡2x⋅cot⁡3x=1\cot 2x\cdot\cot 3x=1 for 0<x<π0<x<\pi?

Scale the interval when the angle is multiplied

For sin⁡2x=k\sin 2x = k on 0≤x<2π0 \le x < 2\pi, substitute u=2xu = 2x so uu runs over [0,4π)[0, 4\pi) — TWICE the length. Counting solutions in the original xx-interval instead of the stretched uu-interval halves the count.

Discard solutions where the equation is undefined

When a reduced equation like cos⁡5x=0\cos 5x = 0 came from cot⁡2x cot⁡3x=1\cot 2x\,\cot 3x = 1, drop any value of xx where cot⁡2x\cot 2x or cot⁡3x\cot 3x blows up — those are not genuine solutions of the original, even though they satisfy the reduced form.

Concept 4 of 4: Range & Existence Conditions

Before solving, check whether a solution can exist at all: sine and cosine are trapped in [−1, 1], so an equation that forces a value outside that has no solution. The same bound limits how many parameter values are allowed.

Definition

  • sin⁡x,cos⁡x∈[−1,1]\sin x, \cos x \in [-1, 1], so asin⁡x=ba\sin x = b needs ∣b∣≤∣a∣|b| \le |a|; count integer parameters by intersecting with this range.
  • For cos⁡100x−sin⁡100x=1\cos^{100}x - \sin^{100}x = 1: since both terms are in [0,1][0,1], equality forces cos⁡2x=1\cos^2 x = 1, i.e. x=nπx = n\pi.
  • A boundary condition (0≤x≤π20 \le x \le \tfrac{\pi}{2}) plus an undefined-point check often cuts the candidate solutions down to one or two.

Existence bound

asin⁡x=b  solvable  ⟺  ∣b∣≤∣a∣a\sin x = b \ \text{ solvable} \iff |b| \le |a|

Worked example

For how many integers kk does 3cos⁡x=k3\cos x = k have a solution?
Practice this concept2 quick reps

The same idea in a real exam question:

NDA · Apr 2021 · Q6Moderate

Example 4 · Trigonometric Equations · General Solutions and Counting Solutions of Trigonometric Equations

The number of integer values of kk, for which the equation 2sin⁡x=2k+12\sin x = 2k+1 has a solution, is

Count integers INCLUSIVELY across the range

For 3cos⁡x=k3\cos x = k the bound is k∈[−3,3]k \in [-3,3], which contains 77 integers −3,…,3-3,\dots,3 — not 66. Endpoints ±3\pm 3 are achievable (at cos⁡x=±1\cos x = \pm 1), so include them; forgetting one or both endpoints is the classic off-by-one.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (4)

  • The General-Solution Formulas

    General solutions

    sin⁡θ=sin⁡α: θ=nπ+(−1)nα;cos⁡θ=cos⁡α: θ=2nπ±α;tan⁡θ=tan⁡α: θ=nπ+α;sin⁡θ=0: θ=nπ;cos⁡θ=0: θ=(2n+1)π2;sin⁡2θ=sin⁡2α: θ=nπ±α\sin\theta=\sin\alpha:\ \theta=n\pi+(-1)^n\alpha; \quad \cos\theta=\cos\alpha:\ \theta=2n\pi\pm\alpha; \quad \tan\theta=\tan\alpha:\ \theta=n\pi+\alpha; \quad \sin\theta=0:\ \theta=n\pi; \quad \cos\theta=0:\ \theta=(2n+1)\tfrac{\pi}{2}; \quad \sin^2\theta=\sin^2\alpha:\ \theta=n\pi\pm\alpha
  • Reducing an Equation to Standard Form

    Co-function reduction

    cos⁡θ=sin⁡ ⁣(π2−θ),sin⁡θ=cos⁡ ⁣(π2−θ)\cos\theta = \sin\!\left(\tfrac{\pi}{2} - \theta\right), \quad \sin\theta = \cos\!\left(\tfrac{\pi}{2} - \theta\right)
  • Counting Solutions in an Interval

    Count = solutions of the reduced equation in range

    cot⁡2x cot⁡3x=1 ⇒ cos⁡5x=0 ⇒ 5x=(2n+1)π2\cot 2x\,\cot 3x = 1 \ \Rightarrow\ \cos 5x = 0 \ \Rightarrow\ 5x = (2n+1)\tfrac{\pi}{2}
  • Range & Existence Conditions

    Existence bound

    asin⁡x=b  solvable  ⟺  ∣b∣≤∣a∣a\sin x = b \ \text{ solvable} \iff |b| \le |a|

Watch out for (10)

Test yourself on Trigonometric Equations

10 past NDA questions from this chapter, timed at 13 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.

Related notes