Question
Question: Number of solutions of the equation f(x) = g(x) in x $\in$ [-π, $\frac{7\pi}{2}$] is equal to...
Number of solutions of the equation f(x) = g(x) in x ∈ [-π, 27π] is equal to

A
4
B
5
C
6
D
8
Answer
6
Explanation
Solution
The equation f(x)=g(x) simplifies to cosx+sinx−1=sin2x−2.
Substitute t=cosx+sinx, which implies sin2x=t2−1.
The equation becomes t−1=(t2−1)−2, leading to t2−t−2=0.
Solving for t, we get (t−2)(t+1)=0, so t=2 or t=−1.
t=cosx+sinx=2sin(x+4π).
If t=2, 2sin(x+4π)=2⟹sin(x+4π)=2, which has no solution as sin(X)≤1.
If t=−1, 2sin(x+4π)=−1⟹sin(x+4π)=−21.
This yields x+4π=2nπ+45π or x+4π=2nπ+47π.
Solving for x, we get x=(2n+1)π or x=2nπ+23π.
Listing solutions in x∈[−π,27π]:
For x=(2n+1)π: −π,π,3π.
For x=2nπ+23π: −2π,23π,27π.
Total distinct solutions: 6.