Solveeit Logo

Question

Question: Find the number of roots of the equation \[\tan x + \sec x = 2\cos x\] in the interval \[\left[ {0,2...

Find the number of roots of the equation tanx+secx=2cosx\tan x + \sec x = 2\cos x in the interval [0,2π]\left[ {0,2\pi } \right]
A. 1
B. 2
C. 3
D. 4

Explanation

Solution

We convert all the trigonometric functions into simpler forms of sine and cosine. Take LCM and form a quadratic equation. Use the formula of trigonometry cos2x=1sin2x{\cos ^2}x = 1 - {\sin ^2}x to convert the complete equation in terms of sine. Find the roots of the equation by factorization method.

  • secx=1cosx;tanx=sinxcosx\sec x = \dfrac{1}{{\cos x}};\tan x = \dfrac{{\sin x}}{{\cos x}}
  • Roots of an equation axn+bxn1+........c=0a{x^n} + b{x^{n - 1}} + ........c = 0 are those values of x which give the value of the equation equal to zero when substituted in the equation. Let y be a root of the equation, we can write (xy)=0(x - y) = 0 is a factor of the equation. On equating the factor we write x=yx = y is a root of the equation.
  • Factorization method: If ‘p’ and ‘q’ are the roots of a quadratic equation, then we can say the quadratic equation is (xp)(xq)=0(x - p)(x - q) = 0

Complete step-by-step answer:
We are given the equation tanx+secx=2cosx\tan x + \sec x = 2\cos x............… (1)
Substitute the value of secx=1cosx;tanx=sinxcosx\sec x = \dfrac{1}{{\cos x}};\tan x = \dfrac{{\sin x}}{{\cos x}} in equation (1)
sinxcosx+1cosx=2cosx\Rightarrow \dfrac{{\sin x}}{{\cos x}} + \dfrac{1}{{\cos x}} = 2\cos x
Take LCM of the fractions on LHS of the equation
sinx+1cosx=2cosx\Rightarrow \dfrac{{\sin x + 1}}{{\cos x}} = 2\cos x
Multiply both sides of the equation by cosx\cos x
sinx+1cosx×cosx=2cosx×cosx\Rightarrow \dfrac{{\sin x + 1}}{{\cos x}} \times \cos x = 2\cos x \times \cos x
Cancel same terms from numerator and denominator in LHS of the equation
sinx+1=2cos2x\Rightarrow \sin x + 1 = 2{\cos ^2}x
Substitute the value of cos2x=1sin2x{\cos ^2}x = 1 - {\sin ^2}x in RHS of the equation
sinx+1=2(1sin2x)\Rightarrow \sin x + 1 = 2(1 - {\sin ^2}x)
sinx+1=22sin2x\Rightarrow \sin x + 1 = 2 - 2{\sin ^2}x
Shift all terms to LHS of the equation
sinx+12+2sin2x=0\Rightarrow \sin x + 1 - 2 + 2{\sin ^2}x = 0
2sin2x+sinx1=0\Rightarrow 2{\sin ^2}x + \sin x - 1 = 0..............… (2)
Now we factorize the terms of equation (2)
We can write sinx=2sinxsinx\sin x = 2\sin x - \sin x
Substitute the value of sinx=2sinxsinx\sin x = 2\sin x - \sin x in equation (2)
2sin2x+2sinxsinx1=0\Rightarrow 2{\sin ^2}x + 2\sin x - \sin x - 1 = 0
Take 2sinx2\sin xcommon from first two terms and -1 common from last two terms of the equation
2sinx(sinx+1)1(sinx+1)=0\Rightarrow 2\sin x(\sin x + 1) - 1(\sin x + 1) = 0
Collect the factors
(sinx+1)(2sinx1)=0\Rightarrow (\sin x + 1)(2\sin x - 1) = 0
Since we know the roots of an equation are found by equating the factors to zero.
Put (sinx+1)=0(\sin x + 1) = 0
sinx=1\Rightarrow \sin x = - 1
We know sine has value -1 when the angle is 3π2\dfrac{{3\pi }}{2}
x=3π2\Rightarrow x = \dfrac{{3\pi }}{2}
Since we cannot take the value of cosx0\cos x \ne 0, so we will neglect this value of x as cos3π2=0\cos \dfrac{{3\pi }}{2} = 0 which will make the initial equation zero.
Also, (2sinx1)=0(2\sin x - 1) = 0
2sinx=1\Rightarrow 2\sin x = 1
Divide both sides by 2
sinx=12\Rightarrow \sin x = \dfrac{1}{2}
We know sine has value 12\dfrac{1}{2} when the angle is π6,5π6\dfrac{\pi }{6},\dfrac{{5\pi }}{6}
x=π6,5π6\Rightarrow x = \dfrac{\pi }{6},\dfrac{{5\pi }}{6}
So, π6,5π6\dfrac{\pi }{6},\dfrac{{5\pi }}{6} are two roots of the equation tanx+secx=2cosx\tan x + \sec x = 2\cos x
\therefore Number of roots is 2.

\therefore Correct option is B.

Note: Students are likely to make the mistake of writing that there are three roots of the equation as they don’t check for the initial condition. Also, many students assume the value of roots will be 1-1 and 12\dfrac{1}{2} but those are the values of the function sinx\sin x obtained from solving the quadratic equation.