JEE Main 2026 · 2 April · Morning Shift · Mathematics · Trigonometric Equations
Let S = \ x ∈ [-π, π] : x ( x + x) = a, a ∈ ℤ\ . Then n(S) is equal...
Let S={x∈[−π,π]:sinx(sinx+cosx)=a,a∈Z}. Then n(S) is equal to :
Options
A3
B6
C7
D9
Correct answer
D. 9
Step-by-step solution
Given the equation: sinx(sinx+cosx)=a
⇒sin2x+sinxcosx=a
Using the double angle formulas sin2x=21−cos2x and sinxcosx=2sin2x, we get:
21−cos2x+2sin2x=a
⇒sin2x−cos2x=2a−1
We know that the range of Asinθ+Bcosθ is [−A2+B2,A2+B2]. Thus, the range of sin2x−cos2x is [−2,2].
⇒−2≤2a−1≤2
⇒1−1.414≤2a≤1+1.414
⇒−0.414≤2a≤2.414
⇒−0.207≤a≤1.207
Since a∈Z, the possible values for a are 0 and 1.
Case 1: a=0 sinx(sinx+cosx)=0 ⇒sinx=0 or sinx+cosx=0 For x∈[−π,π], sinx=0⇒x∈{−π,0,π} (3 solutions) sinx+cosx=0⇒tanx=−1⇒x∈{−4π,43π} (2 solutions) Total solutions for a=0 is 5.
Case 2: a=1 sin2x+sinxcosx=1 ⇒sinxcosx=1−sin2x ⇒sinxcosx=cos2x ⇒cosx(sinx−cosx)=0 ⇒cosx=0 or sinx−cosx=0 For x∈[−π,π], cosx=0⇒x∈{−2π,2π} (2 solutions) sinx−cosx=0⇒tanx=1⇒x∈{−43π,4π} (2 solutions) Total solutions for a=1 is 4.
The total number of elements in the set S is n(S)=5+4=9.