Question
Question: Solve for x, \[\left( -\pi \le x\le \pi \right)\], the equation: \(2\left( \cos x+\cos 2x \right)+\s...
Solve for x, (−π≤x≤π), the equation: 2(cosx+cos2x)+sin2x(1+2cosx)=2sinx.
How many distinct values of x satisfy the equation in the above range?
(a) 2
(b) 4
(c) 5
(d) 6
Solution
Hint: Take all the terms to the left hand side (L.H.S). Apply the half angle formula to convert sin2x into 2sinxcosx. Now, take 2sinx common from the last two terms and use the conversion: 2cos2x−1=cos2x to simplify the terms. Now take all the common terms together and write the equation as a product of trigonometric terms. Equate each term equal to zero and use the formula for the general solution of the trigonometric functions. Use the relation: cosx=0⇒x=(2n+1)2π, where n is any integer. Remember that we have to choose such values of n for which, (−π≤x≤π).
Complete step-by-step answer:
We have been given: 2(cosx+cos2x)+sin2x(1+2cosx)=2sinx. Taking all the terms to L.H.S, we have,
2(cosx+cos2x)+sin2x(1+2cosx)−2sinx=0
Using the formula: sin2x=2sinxcosx, we get,
2(cosx+cos2x)+2sinxcosx(1+2cosx)−2sinx=0
Taking 2sin2x common from the 2nd and 3rd term, we get,
\begin{aligned}
& 2\left( \cos x+\cos 2x \right)+2\sin x\left\\{ \cos x\left( 1+2\cos x \right)-1 \right\\}=0 \\\
& \Rightarrow 2\left( \cos x+\cos 2x \right)+2\sin x\left\\{ \cos x+2{{\cos }^{2}}x-1 \right\\}=0 \\\
\end{aligned}
Using the identity: 2cos2x−1=cos2x, we have,
\begin{aligned}
& 2\left( \cos x+\cos 2x \right)+2\sin x\left\\{ \cos x\left( 1+2\cos x \right)-1 \right\\}=0 \\\
& \Rightarrow 2\left( \cos x+\cos 2x \right)+2\sin x\left\\{ \cos x+\cos 2x \right\\}=0 \\\
\end{aligned}
Dividing both sides by 2, we get,
\begin{aligned}
& \left( \cos x+\cos 2x \right)+\sin x\left\\{ \cos x+\cos 2x \right\\}=0 \\\
& \Rightarrow \left( \cos x+\cos 2x \right)\left( 1+\sin x \right)=0 \\\
\end{aligned}
Using the formula: cosa+cosb=2cos(2a+b)cos(2a−b), we get,
2cos(2x+2x)cos(2x−2x)(1+sinx)=0⇒2cos(23x)cos(2−x)(1+sinx)=0
We know that, cos(−a)=cosa, therefore,
2cos(23x)cos(2x)(1+sinx)=0⇒cos(23x)cos(2x)(1+sinx)=0
Substituting each term equal to 0, we get,
(i) Consider cos(23x)=0
Using the formula for general solution: cosx=0⇒x=(2n+1)2π, we get,
23x=(2n+1)2π⇒x=(2n+1)3π
Now, we must take such integer values of n for which (−π≤x≤π). Therefore,
For n = 0, we have,
x=3π
For n = -1, we have,
x=(2×(−1)+1)3π⇒x=(−2+1)3π⇒x=3−π
For n = -2, we have,
⇒x=(2×(−2)+1)3π⇒x=(−4+1)3π⇒x=−3×3π⇒x=−π
Now, there are no more values of n for which (−π≤x≤π).
(ii) Considering cos(2x)=0
Using the formula for general solution: cosx=0⇒x=(2n+1)2π, we get,
2x=(2n+1)2π⇒x=(2n+1)π
Now, we must take such integer values of n for which (−π≤x≤π). Therefore,
For n = 0, we have,
x=π
For n = -1, we have,
x=(2×(−1)+1)π⇒x=(−2+1)π⇒x=−π
Now, there are no more values of n for which (−π≤x≤π).
(iii) Considering (1+sinx)=0
⇒sinx=−1
The only value for which sinx=−1 in the domain (−π≤x≤π) is x=2−π.
Now, we can see that the solution x=π is common in the 1st and 2nd case. Therefore, we will count it as one solution. Therefore, total solutions are: −π,3−π,2−π,3π and π, which are 5 in numbers.
Hence, option (c) is the correct answer.
Note: One may note that we are not finding a general solution but the solutions in the domain: (−π≤x≤π). So, we have to consider each case and find their solutions. In the above solution, there were three cases and we have found the values of x for those three cases one by one. Remember that if you are getting a similar value of x in two or more cases, count them together as one solution.