Question
Question: How do you solve \(2{{\sin }^{2}}x=\cos x+1\) in the interval \(0\le x\le 2\pi \) ?...
How do you solve 2sin2x=cosx+1 in the interval 0≤x≤2π ?
Solution
We have been given an inequation consisting of two trigonometric functions, sine of x and cosine of x. Since the mentioned interval is 0≤x≤2π, therefore, we shall only find the principal values only for which this equation holds true. Firstly, we shall convert the entire equation in terms of the cosine function using the trigonometric identities. Then we shall solve it further like a quadratic function which would be in terms of cos x.
Complete step by step solution:
Given that 2sin2x=cosx+1.
We shall use the trigonometric identity sin2x+cos2x=1 to substitute the square of sine of x with 1 minus the square of cosine of x, that is, sin2x=1−cos2x.
⇒2(1−cos2x)=cosx+1
⇒2−2cos2x=cosx+1
Transposing the constant term 1 and cosx to the left hand side of equation, we get
⇒2−2cos2x−cosx−1=0
⇒1−2cos2x−cosx=0
We will multiply the entire equation with a negative sign.
⇒2cos2x+cosx−1=0
Now, we shall factor the quadratic equation formed above and further group them into two groups.
⇒2cos2x+2cosx−cosx−1=0
⇒2cosx(cosx+1)−1(cosx+1)=0
⇒(cosx+1)(2cosx−1)=0
Thus, cosx+1=0 and 2cosx−1=0.
For cosx+1=0,
⇒cosx=−1
This holds true for x=π in the interval 0≤x≤2π.
For 2cosx−1=0,
⇒cosx=−21
This holds true for x=32π,34π in the interval 0≤x≤2π.
Therefore, the solution of 2sin2x=cosx+1 in the interval 0≤x≤2π is x=32π,π,34π.
Note: In order to find the solution of various trigonometric equations, we must have prior knowledge of the main trigonometric identities. Also, we could have substituted the quadratic equation formed in terms of cosine of x function with any variable-t to proceed with solving the quadratic equation. Later we could equate the calculated values of t-variable equal to cos x to find our final solution.