Trigonometric Equations, Periods, Graphs and Maximum Values
A trigonometric equation usually has infinitely many solutions, because the functions repeat. The general solution captures all of them in one formula, and an interval then picks out the ones a question wants. The same repeating nature gives every trigonometric graph a period, an amplitude and a range. Entry tests combine these ideas: count the roots in [0, 2π], find the period of a sum of functions, or find the greatest value of a sin x + b cos x + c.
Asked in: ECAT, NUST NET, JEE Main, FSc and Class 11-12 boards
General solutions
First reduce the equation to sin x = sin α, cos x = cos α or tan x = tan α, where α is a convenient principal value. Then write the general solution, with n any integer.
Equations in squares, such as sin²x = sin²α, have solutions x = nπ ± α, and the same holds for cos² and tan². This one form covers both the positive and the negative value of the ratio.
- sin x = sin α: x = nπ + (−1)ⁿα
- cos x = cos α: x = 2nπ ± α
- tan x = tan α: x = nπ + α
- sin²x = sin²α, cos²x = cos²α or tan²x = tan²α: x = nπ ± α
Solving in a given interval
To list the solutions in an interval such as [0, 2π], either put n = 0, 1, 2, … (and negative n if needed) into the general solution, or use the quadrant method: find the reference angle and place it in the quadrants where the ratio has the right sign.
Factorise rather than cancel. Dividing both sides by sin x or cos x throws away the solutions where that factor is zero. Reject any root that makes a term undefined (for example tan x at x = π/2) and any value of sin or cos outside [−1, 1].
- sin x positive in quadrants I and II, cos x in I and IV, tan x in I and III
- If sin x = k with |k| greater than 1 there is no solution
Equations of the form a cos x + b sin x = c
Divide by r = √(a² + b²). Then a/r and b/r are the cosine and sine of some angle α, and the left side becomes r cos(x − α). The equation turns into cos(x − α) = c/r.
This shows at once that the equation has a solution only when |c| ≤ √(a² + b²).
- a cos x + b sin x = r cos(x − α), r = √(a² + b²), tan α = b/a
- Solvable if and only if |c| ≤ √(a² + b²)
Periods of trigonometric functions
sin x, cos x, sec x and cosec x have period 2π; tan x and cot x have period π. Scaling x changes the period: f(ax + b) has period P ÷ |a|, while adding constants or multiplying the function does not change it.
Even powers and absolute values often halve the period: sin²x, |sin x| and |cos x| have period π. For a sum of functions with different periods, take the LCM of the periods (LCM of the numerators ÷ HCF of the denominators). Watch out for special cases such as |sin x| + |cos x| and sin⁴x + cos⁴x, whose period is π/2.
- Period of sin(ax + b) or cos(ax + b) = 2π/|a|
- Period of tan(ax + b) = π/|a|
- Period of a sum = LCM of the separate periods (check for a smaller one)
Graphs: amplitude, shift and range
For y = A sin(Bx + C) + D, the amplitude is |A|, the period is 2π/|B|, the graph is shifted left by C/B, and D moves it up. The range is [D − |A|, D + |A|].
Counting solutions of an equation such as f(x) = g(x) can be done by sketching both graphs and counting their intersections in the interval.
- y = A sin(Bx + C) + D: range [D − |A|, D + |A|]
Maximum and minimum values
Since a sin x + b cos x = r sin(x + α), its values run exactly from −r to r with r = √(a² + b²). Adding a constant c moves both ends by c.
For expressions that are quadratic in sin x or cos x, put t = sin x (or cos x), remember that t lies only in [−1, 1], and find the greatest and least values of the quadratic on that interval, not on all real t.
- −√(a² + b²) ≤ a sin x + b cos x ≤ √(a² + b²)
- Range of a sin x + b cos x + c: [c − √(a² + b²), c + √(a² + b²)]
- sin x cos x = ½ sin 2x, so its range is [−½, ½]
Solved examples
- Solve 2cos²x + 3 sin x = 0 for x in [0, 2π].
- Write cos²x = 1 − sin²x: 2 − 2sin²x + 3 sin x = 0, so 2sin²x − 3 sin x − 2 = 0.
- Factorise: (2 sin x + 1)(sin x − 2) = 0. sin x = 2 is impossible, so sin x = −1/2.
- Sine is negative in quadrants III and IV with reference angle π/6: x = π + π/6 = 7π/6 and x = 2π − π/6 = 11π/6.
Answer: x = 7π/6 and 11π/6 - Find the general solution of √3 cos x + sin x = √2.
- r = √(3 + 1) = 2. Divide by 2: (√3/2) cos x + (1/2) sin x = √2/2.
- The left side is cos x cos(π/6) + sin x sin(π/6) = cos(x − π/6). So cos(x − π/6) = 1/√2 = cos(π/4).
- x − π/6 = 2nπ ± π/4, so x = 2nπ + 5π/12 or x = 2nπ − π/12.
Answer: x = 2nπ + 5π/12 or x = 2nπ − π/12, n an integer - Find the periods of (a) sin 2x + cos 3x and (b) |sin x| + |cos x|.
- (a) sin 2x has period π = 3π/3 and cos 3x has period 2π/3. Over the common denominator 3, the LCM is LCM(3π, 2π)/3 = 6π/3 = 2π.
- (b) Shifting x by π/2 turns |sin x| into |cos x| and |cos x| into |sin x|, so the sum is unchanged. No smaller shift works, so the period is π/2, not π.
Answer: (a) 2π (b) π/2 - Find the greatest and least values of 3 sin x − 4 cos x + 7.
- r = √(3² + 4²) = 5, so 3 sin x − 4 cos x ranges from −5 to 5.
- Add 7: the expression ranges from 7 − 5 = 2 to 7 + 5 = 12.
Answer: Greatest 12, least 2 - Solve sin x + sin 3x = sin 2x for x in [0, π].
- Sum to product: sin 3x + sin x = 2 sin 2x cos x. The equation becomes 2 sin 2x cos x − sin 2x = 0.
- Factorise (do not cancel sin 2x): sin 2x (2 cos x − 1) = 0.
- sin 2x = 0 gives 2x = 0, π, 2π, so x = 0, π/2, π. cos x = 1/2 gives x = π/3.
- Solutions: 0, π/3, π/2 and π, four in all.
Answer: x = 0, π/3, π/2, π - Find the range of f(x) = cos²x + sin x.
- Write f = 1 − sin²x + sin x. Put t = sin x, with −1 ≤ t ≤ 1: f = −t² + t + 1.
- This parabola opens downward with vertex at t = 1/2, where f = −1/4 + 1/2 + 1 = 5/4.
- At the ends: t = 1 gives 1 and t = −1 gives −1. The least value is −1.
- Range = [−1, 5/4].
Answer: [−1, 5/4]
Exam shortcuts
- Before writing a general solution, convert to a single ratio of a single angle; mixed equations are usually factorised first.
- To count roots in [0, 2π] quickly, remember that sin x = k (with −1 less than k less than 1) has exactly 2 roots there, and sin 2x = k has 4.
- For the period of a sum, find each period separately and take the LCM, then test whether half or a quarter of it also works.
- For greatest or least values of a sin x + b cos x + c, write c ± √(a² + b²) at once.
- For a quadratic in sin x, the vertex value counts only if the vertex lies inside [−1, 1]; otherwise use the end values.
Common mistakes
- Cancelling a common factor such as sin x or cos x, losing solutions where it is zero.
- Writing x = nπ + (−1)ⁿα for sin²x = sin²α, which misses the solutions with negative sine.
- Keeping solutions where a term is undefined, as in tan 3x = tan x, where x = π/2 is not allowed.
- Taking the period of a sum as the sum or product of the periods instead of their LCM.
- Finding the range of a quadratic in sin x over all real values instead of only over [−1, 1].
Practice MCQs
- What is the period of y = 3 sin(4x − 1)?
A) π/4
B) π/2
C) 2π
D) 8π
Answer: B) π/2 — The period of sin(ax + b) is 2π/|a| = 2π/4 = π/2. The coefficient 3 and the shift −1 do not affect it. 2π ignores the 4, π/4 uses π instead of 2π, and 8π multiplies instead of dividing. - What is the period of y = tan(x/3)?
A) 3π
B) π/3
C) π
D) 6π
Answer: A) 3π — Tangent has period π, so tan(x/3) has period π ÷ (1/3) = 3π. 6π uses 2π as the basic period of tan, π/3 divides the wrong way, and π ignores the scaling. - What is the range of y = 2 − 5 cos 3x?
A) [−3, 7]
B) [−7, 3]
C) [−5, 5]
D) [−3, 5]
Answer: A) [−3, 7] — −5 cos 3x lies between −5 and 5 (the minus sign and the 3 do not change the range), so y lies between 2 − 5 = −3 and 2 + 5 = 7. [−5, 5] forgets the shift of 2, [−7, 3] shifts the wrong way, and [−3, 5] adds the shift to one end only. - Which values of x in [0, 2π) satisfy tan x = −√3?
A) 2π/3 and 4π/3
B) π/3 and 4π/3
C) 5π/6 and 11π/6
D) 2π/3 and 5π/3
Answer: D) 2π/3 and 5π/3 — The reference angle is π/3 and tangent is negative in quadrants II and IV: x = π − π/3 = 2π/3 and x = 2π − π/3 = 5π/3. π/3 and 4π/3 solve tan x = +√3, 4π/3 lies in quadrant III where tan is positive, and 5π/6 and 11π/6 solve tan x = −1/√3. - What is the greatest value of 6 sin x cos x + 4?
A) 13
B) 6
C) 7
D) 10
Answer: C) 7 — 6 sin x cos x = 3 sin 2x, whose greatest value is 3, so the greatest value is 3 + 4 = 7. 10 treats sin x cos x as reaching 1, 13 adds 6 + 3 + 4, and 6 is just the coefficient. - What is the least value of 5 cos x − 12 sin x + 3?
A) 3
B) −14
C) −10
D) −2
Answer: C) −10 — √(5² + 12²) = 13, so 5 cos x − 12 sin x ranges from −13 to 13 and the least value is 3 − 13 = −10. −14 adds the coefficients 5 + 12 as if both terms could reach their extremes at once, 3 is only the constant, and −2 uses 3 − 5. - What is the period of sin(2x/3) + cos(x/2)?
A) 6π
B) 12π
C) 7π
D) 24π
Answer: B) 12π — sin(2x/3) has period 2π ÷ (2/3) = 3π and cos(x/2) has period 2π ÷ (1/2) = 4π. Their LCM is 12π. 7π adds the periods, 6π is a multiple of 3π but not of 4π, and 24π is a period but not the smallest. - What is the general solution of sin²x = 1/4?
A) x = nπ + (−1)ⁿ π/6
B) x = 2nπ ± π/6
C) x = nπ ± π/6
D) x = nπ ± π/3
Answer: C) x = nπ ± π/6 — sin²x = sin²(π/6), so x = nπ ± π/6, which covers sin x = 1/2 and sin x = −1/2. nπ + (−1)ⁿπ/6 gives only sin x = 1/2, 2nπ ± π/6 misses values such as 5π/6, and π/3 is the angle for sin²x = 3/4. - How many solutions does 4cos²x − 4 cos x − 3 = 0 have in [0, 2π]?
A) 4
B) 3
C) 2
D) 1
Answer: C) 2 — Factorise: (2 cos x − 3)(2 cos x + 1) = 0. cos x = 3/2 is impossible, so cos x = −1/2, which gives x = 2π/3 and 4π/3: two solutions. 4 keeps the impossible root as if it had two solutions, and 3 and 1 miscount the roots of cos x = −1/2. - What is the period of sin⁴x + cos⁴x?
A) π
B) 2π
C) π/4
D) π/2
Answer: D) π/2 — sin⁴x + cos⁴x = (sin²x + cos²x)² − 2sin²x cos²x = 1 − ½ sin²2x = 3/4 + ¼ cos 4x, whose period is 2π/4 = π/2. π is the period of each term on its own, 2π ignores the powers, and π/4 is too small: the value at x = π/4 is 1/2, not 1 as at x = 0. - Which values of x in [0, 2π] satisfy sin x + cos x = 1?
A) 0 and π/2
B) 0, π/2 and 2π
C) π/4 only
D) π/2 and π
Answer: B) 0, π/2 and 2π — √2 sin(x + π/4) = 1, so sin(x + π/4) = 1/√2. With x + π/4 in [π/4, 9π/4], it equals π/4, 3π/4 or 9π/4, giving x = 0, π/2 and 2π. Stopping at 0 and π/2 forgets that the interval is closed at 2π, π/4 gives sin + cos = √2, and π gives −1. - For which values of k does sin x + √3 cos x = k + 1 have a real solution?
A) −3 ≤ k ≤ 3
B) −1 ≤ k ≤ 3
C) −2 ≤ k ≤ 2
D) −3 ≤ k ≤ 1
Answer: D) −3 ≤ k ≤ 1 — The left side ranges over [−2, 2] since √(1 + 3) = 2. So −2 ≤ k + 1 ≤ 2, giving −3 ≤ k ≤ 1. −2 ≤ k ≤ 2 forgets the + 1, −1 ≤ k ≤ 3 shifts the wrong way, and −3 ≤ k ≤ 3 applies the shift to the lower end only. - What is the general solution of tan 3x = tan x?
A) x = nπ/4
B) x = nπ
C) x = (2n + 1)π/2
D) x = nπ/3
Answer: B) x = nπ — 3x = nπ + x gives x = nπ/2. But for odd n, x is an odd multiple of π/2, where tan x is undefined, so those values must be rejected, leaving x = nπ. (2n + 1)π/2 keeps only the rejected values, nπ/4 fails at π/4, where tan 3x = −1 but tan x = 1, and nπ/3 fails at π/3, where tan π = 0 but tan(π/3) = √3. - What is the range of f(x) = sin²x − 3 sin x + 2?
A) [0, 6]
B) [−1/4, 2]
C) [−1/4, 6]
D) [0, 2]
Answer: A) [0, 6] — Put t = sin x in [−1, 1]: f = t² − 3t + 2 = (t − 3/2)² − 1/4. The vertex t = 3/2 lies outside [−1, 1], so f decreases over the interval: f(−1) = 6 and f(1) = 0. The range is [0, 6]. −1/4 is the vertex value, which sin x can never reach, and 2 is the value at t = 0. - What is the greatest value of 3 cos x + 4 sin(x + π/6)?
A) √37
B) √31
C) 5
D) 7
Answer: A) √37 — Expand: 4 sin(x + π/6) = 2√3 sin x + 2 cos x. The expression is 5 cos x + 2√3 sin x, whose greatest value is √(25 + 12) = √37. 7 adds 3 + 4 as if both terms peak together, 5 treats the angles as equal, and √31 comes from slipping the cross term.
Questions
What is the difference between principal and general solutions?
Principal solutions are those in [0, 2π) (or a stated interval). The general solution is a formula with an integer n that lists every solution.
Why can't I divide both sides by sin x?
Because sin x may be zero, and those values may be solutions. Move everything to one side and factorise instead; each factor then gives its own set of solutions.
How do I find the period of a sum like sin 3x + cos 5x?
Find each period (2π/3 and 2π/5) and take their LCM: LCM of the numerators over HCF of the denominators, here 2π/1 = 2π. Then check whether a smaller value also works.
Why is the greatest value of a sin x + b cos x equal to √(a² + b²) and not a + b?
sin x and cos x cannot both be 1 at the same x. Writing the expression as r sin(x + α) with r = √(a² + b²) shows the true greatest value is r.