Question
Question: Solve: \(\left| \cos x \right|=\cos x-2\sin x\) [a] \(x=\left( 2n+1 \right)\pi +\dfrac{\pi }{4}\) ...
Solve: ∣cosx∣=cosx−2sinx
[a] x=(2n+1)π+4π
[b] (2n+1)π+2π
[c] 2nπ+4π
[d] 2nπ+2π
Solution
Hint: Use the fact that if ∣x∣=a,a≥0, then the solution of the given system is x=±a. Hence the system ∣cosx∣=cosx−2sinx, will have a solution if cosx−2sinx≥0 and the solution of the system will be cosx=±(cosx−2sinx). Take the signs individually and solve the equations. Use the fact that if tanx = tany, then x=nπ+y,n∈Z and if sinx = siny, then x=nπ+(−1)ny,n∈Z. Remove the extraneous roots and hence find the general solution of the equation. Alternatively, find the roots of the given equation in the interval [0,2π). If the set of the roots found is S(say), then the general solution of the given equation is x\in \left\\{ 2n\pi +y,n\in \mathbb{Z},y\in S \right\\}.
Complete step-by-step answer:
We have ∣cosx∣=cosx−2sinx.
Since ∣x∣≥0, we have cosx−2sinx≥0 (a)
The equation (a) will be later on used.
Now, we know that if ∣x∣=a,a≥0, then the solution of the given system is x=±a.
Hence, we have
cosx=±(cosx−2sinx)
Taking the positive sign, we get
cosx=cosx−2sinx⇒2sinx=0⇒sinx=0
Taking the negative sign, we get
cosx=−cosx+2sinx⇒2cosx=2sinx⇒tanx=1
Solving sinx = 0:
We know that sin(0) = 0
Hence, we have sinx = sin0
We know that if sinx = siny, then x=nπ+(−1)ny,n∈Z
Hence, we have
x=nπ,n∈Z
Solving tanx = 1
We have
tan(4π)=1
Hence, we have
tanx=tan4π
We know that of tanx = tany, then x=nπ+y,n∈Z
Hence, we have
x=nπ+4π,n∈Z
Now consider the solution x=nπ,n∈Z
When n is odd, we have cosx=cos((2k+1)π)=−1 and sin((2k+1)π)=1
Hence, we have
cosx<2sinx
Hence when n is odd x=nπ does not satisfy equation(a) and hence is not the solution of the given equation.
When n is even, we have cosx=cos2kπ=1 and sinx=sin2kπ=0
Hence, we have cosx≥2sinx and hence when n is even x=nπ is a solution of the given equation
Consider the solution x=nπ+4π
When n is odd, we have cosx=−21 and sinx=2−1
Hence, we have cosx≥2sinx
Hence when n is odd, we have x=nπ+4π is a solution of the given equation
When n is even, we have cosx=21 and sinx=21
Hence, we have cosx<2sinx
Hence, when n is even, x=nπ+4π is not a solution of the given equation.
Hence the solution set of the given equation is \left\\{ 2k\pi ,k\in \mathbb{Z} \right\\}\bigcup \left\\{ \left( 2k+1 \right)\pi +\dfrac{\pi }{4},k\in \mathbb{Z} \right\\}=\left\\{ 2k\pi ,k\in \mathbb{Z} \right\\}\bigcup \left\\{ 2k\pi +\dfrac{3\pi }{4},k\in \mathbb{Z} \right\\}, which is the required solution set of the given equation.
Hence option [a] is correct.
Note: Alternative method:
In the interval [0,2π), we have x=0,x=43π satisfy the given equation.
Hence, we have the solution of the given equation is x\in \left\\{ 2k\pi ,2k\pi +\dfrac{\pi }{4},k\in \mathbb{Z} \right\\}