Question
Question: How do you solve \(2{\sin ^2}x = 2 + \cos x\) between \(0\) and \(2pi\)?...
How do you solve 2sin2x=2+cosx between 0 and 2pi?
Solution
In this problem we have given an equation and we asked to solve the given equation between the limits 0 and 2pi. There is a sine term in the equation and to solve this given equation we need to replace the sine term by cos term. Because in the right hand side there is a cos term so making the common terms on both sides makes us solve the problem easily.
Formula used: sin2x=1−cos2x
Complete step-by-step solution:
Given equation is 2sin2x=2+cosx between 0 and 2pi
First we are going to substitute sin2x=1−cos2x in the given equation to remove the sine term from the left hand side of the given equation, we get
⇒2(1−cos2x)=2+cosx, multiply 2 with each term in the left hand side, implies
⇒2−2cos2x=2+cosx, now keep all the cosine terms in the right hand side and take the integers to left hand side, we get
⇒2−2=cosx+2cos2x, here +2 and −2 gets cancelled and so the left hand side becomes 0.
⇒0=cosx+2cos2x−−−−−(1)
In the right hand side of equation (1) cosx is common in both the addition of two terms. So we are going to take one cosx as common, we get
⇒0=cosx(1+2cosx)
Now, we are going to zero product property, then
⇒cosx=0 or 2cosx+1=0
⇒cosx=0 or 2cosx=−1
⇒cosx=0 or cosx=2−1, here our work is to find the value of x.
Now take the cosx to the right hand side, then it becomes cosx of inverse, that is cos−1, we get
⇒x=cos−1(0)Orx=cos−1(−21)
⇒x=2π,23πOrx=32π,34π
This is the required answer.
Note: Here cos−1 is assuming that the inverse of cosine. And cos−1 is an angle x, for which cosx=0. If we take the graph of f(x)=cosx if we see that cosx=0 then x=2π+kπ for any k∈Z, so that the smallest positive value is 2π or 23π. Like the same way we use for x=cos−1(−21) and we get x=32π,34π.