Question
Question: Number of solutions of the equation \(\tan x + \sec x = 2\cos x,x \in \left[ {0,\pi } \right]\) is ...
Number of solutions of the equation tanx+secx=2cosx,x∈[0,π] is
(a)0
(b)1
(c)2
(d)3
Solution
In this particular question use the concept that tan x = (sin x/cos x) and sec x = (1/cos x) so use them and try to make a quadratic equation in sin x, then try to solve the quadratic equation using factorization or by quadratic formula so, use these concepts to reach the solution of the question.
Complete step-by-step answer :
Given equation:
tanx+secx=2cosx,x∈[0,π]
Now as we know that tanx=cosxsinx,secx=cosx1 so use these properties in the given equation we have,
⇒cosxsinx+cosx1=2cosx
⇒1+sinx=2cos2x
Now as we know that cos2x=1−sin2x so we have,
⇒1+sinx=2(1−sin2x)
⇒2sin2x+sinx−1=0
Now as we see that this is a quadratic equation in sin x so apply quadratic formula we have,
⇒sinx=2a−b±b2−4ac, where, a = 2, b = 1, and c = -1 so we have,
⇒sinx=2(2)−1±12−4(2)(−1)
⇒sinx=4−1±9=4−1±3
⇒sinx=4−1−3,4−1+3
⇒sinx=−1,21
So, when sin x = -1
⇒x=sin−1(−1)=sin−1(sin(2n+1)2π), where n = 1, 2, 3......
⇒x=(2n+1)2π
⇒x=23π,25π,27π,....>π
So, x∈/[0,π] so this is not the solution.
Now when, sinx=21
⇒x=sin−1(21)=sin−1(sin6π)=sin−1(sin65π) in the interval [0,π]
⇒x=6π,65π,x∈[0,π]
So the given equation has two solutions in the interval [0,π].
Hence option (c) is the correct answer.
Note : Whenever we face such types of questions the key concept we have to remember is that always recall the quadratic formula which is given as x=2a−b±b2−4ac, so first convert the equation into quadratic form as above and then apply the quadratic formula we will get the solutions for the sin x, then find the solutions for x as above then check which of the solutions are in the interval[0,π], which is the required answer.