StemCET Logo

Maths Question 12 – JEE-MAIN 2026

← Back
Let S={x∈[−π,π]:sin⁡x(sin⁡x+cos⁡x)=a,a∈Z}. Then n(S) is equal to :

Rewrite the given expression f(x)=sin⁡x(sin⁡x+cos⁡x) using double angle formulas to simplify it into a form A+Bsin⁡(Cx+D).

● Video Walkthrough
Step 1: Simplify the expression for f(x) and determine its range✦ Active

The given expression is f(x)=sin⁡x(sin⁡x+cos⁡x)=sin2⁡x+sin⁡xcos⁡x. Using the identities sin2⁡x=1−cos⁡(2x)2 and sin⁡xcos⁡x=sin⁡(2x)2, we can rewrite f(x) as:

f(x)=1−cos⁡(2x)2+sin⁡(2x)2=12+12(sin⁡(2x)−cos⁡(2x))

We can express sin⁡(2x)−cos⁡(2x) as 2sin⁡(2x−π4). So, f(x) becomes:

f(x)=12+12sin⁡(2x−π4)

Given x∈[−π,π], we have 2x∈[−2π,2π]. Therefore, 2x−π4∈[−2π−π4,2π−π4]=[−9π4,7π4]. The range of sin⁡(2x−π4) is [−1,1]. Thus, the range of f(x) is [12−12,12+12]. Numerically, this range is approximately [−0.207,1.207]. Since a∈Z, the possible integer values for a are 0 and 1.

Step 2: Solve for a=0 and a=1○ Expand

Case 1: a=0. Set f(x)=0:

12+12sin⁡(2x−π4)=0⟹sin⁡(2x−π4)=−12

Let Y=2x−π4. We need to solve sin⁡Y=−12 for Y∈[−9π4,7π4]. The values of Y are −9π4,−3π4,−π4,5π4,7π4. Each of these Y values corresponds to a unique x value in [−π,π]. Thus, there are 5 solutions for a=0.

Case 2: a=1. Set f(x)=1:

12+12sin⁡(2x−π4)=1⟹sin⁡(2x−π4)=12

Let Y=2x−π4. We need to solve sin⁡Y=12 for Y∈[−9π4,7π4]. The values of Y are −7π4,−5π4,π4,3π4. Each of these Y values corresponds to a unique x value in [−π,π]. Thus, there are 4 solutions for a=1.

Step 3: Calculate the total number of solutions○ Expand

The total number of solutions n(S) is the sum of solutions for a=0 and a=1. Therefore, n(S)=5+4=9.

✦ STEM Console utilizes AI models to generate step-by-step explanations and math clues. AI can make mistakes.