Solveeit Logo

Question

Question: How do you solve \[\tan x + \cot x - 2 = 0\]?...

How do you solve tanx+cotx2=0\tan x + \cot x - 2 = 0?

Explanation

Solution

To solve tanx+cotx2=0\tan x + \cot x - 2 = 0 we will transform cotangent value to tangent value and then we will form a quadratic equation in tangent. We will assume tanx=t\tan x = t and we will solve the quadratic equation in tt using the factorization method. Then we will substitute back tt as tanx\tan x. At last, we will take the inverse trigonometric function on both sides to find the result.

Complete step by step answer:
Given, tanx+cotx2=0\tan x + \cot x - 2 = 0.
Substituting cotx=1tanx\cot x = \dfrac{1}{{\tan x}} in the above equation, we get
tanx+1tanx2=0\Rightarrow \tan x + \dfrac{1}{{\tan x}} - 2 = 0
Taking the LCM on the left hand side of the equation, we get
tan2x2tanx+1tanx=0\Rightarrow \dfrac{{{{\tan }^2}x - 2\tan x + 1}}{{\tan x}} = 0
Cross multiplying the value from the denominator of left hand side of the equation to right hand side of the equation, we get
tan2x2tanx+1=0\Rightarrow {\tan ^2}x - 2\tan x + 1 = 0
We can see that this is a quadratic equation in tanx\tan x.
Now, putting tanx=t\tan x = t, we get
t22t+1=0\Rightarrow {\operatorname{t} ^2} - 2\operatorname{t} + 1 = 0
Now splitting the coefficient of t\operatorname{t} in a way that its product is equal to the product of coefficient of other two terms and sum is equal to coefficient to t\operatorname{t} .
t2tt+1=0\Rightarrow {t^2} - t - t + 1 = 0
Taking common, we get
t(t1)1(t1)=0\Rightarrow t\left( {t - 1} \right) - 1\left( {t - 1} \right) = 0
(t1)(t1)=0\Rightarrow \left( {t - 1} \right)\left( {t - 1} \right) = 0
On solving we get
t=1\Rightarrow t = 1
Now, substituting t=tanxt = \tan x, we get
tanx=1\Rightarrow \tan x = 1
Taking inverse trigonometric function on both the sides, we get
tan1(tanx)=tan1(1)\Rightarrow {\tan ^{ - 1}}\left( {\tan x} \right) = {\tan ^{ - 1}}\left( 1 \right)
As tan1(tanx)=x{\tan ^{ - 1}}\left( {\tan x} \right) = x, we get
x=tan1(1)\Rightarrow x = {\tan ^{ - 1}}\left( 1 \right)
Therefore, the solution of tanx+cotx2=0\tan x + \cot x - 2 = 0 is tan1(1){\tan ^{ - 1}}\left( 1 \right).

Note:
If we further solve the result tan1(1){\tan ^{ - 1}}\left( 1 \right), then we will get π4\dfrac{\pi }{4} as the principal solution. A function that repeats its values after every particular interval is called the periodic function. As we know, tanx\tan x is a periodic function and the period is π\pi . The general solution is given by π4+nπ\dfrac{\pi }{4} + n\pi . So, π4+π\dfrac{\pi }{4} + \pi , π4+2π\dfrac{\pi }{4} + 2\pi , π4+3π\dfrac{\pi }{4} + 3\pi , etc. are also the solution.