
Solve $\int {\dfrac{{1 + \tan x}}{{1 - \tan x}}} dx$
Answer
483.6k+ views
Hint: We are asked to integrate a given function, there are many ways to integrate a given function. Here, first we use the trigonometric ratio $\tan x = \dfrac{{\sin x}}{{\cos x}}$ in both the numerator and denominator and proceed with the simplification. After simplifying, we use the substitution method of integration to proceed further by taking $\cos x - \sin x = t$ and further simplification gives the required value.
Complete step-by-step answer:
We are asked to find the value of $\int {\dfrac{{1 + \tan x}}{{1 - \tan x}}} dx$
Now let $I = \int {\dfrac{{1 + \tan x}}{{1 - \tan x}}} dx$
The function inside the integral symbol is known as the integrand.
And the derivative next to the function defines with respect to which variable we are supposed to integrate.
That is, $dx$ defines that the given function should be integrated with respect to $x$
Firstly, let's write down the given function
$I = \int {\dfrac{{1 + \tan x}}{{1 - \tan x}}} dx$……… (1)
We know that by trigonometric ratios that $\tan x = \dfrac{{\sin x}}{{\cos x}}$
Substitute $\tan x = \dfrac{{\sin x}}{{\cos x}}$ in (1) in both the numerator and denominator
Now we need to take LCM in both the numerator and denominator and proceed to simplify
$I = \int {\dfrac{{\dfrac{{\cos x + \sin x}}{{\cos x}}}}{{\dfrac{{\cos x - \sin x}}{{\cos x}}}}} dx$
Now we can see that $\cos x$ is the common denominator for both the numerator and denominator. Hence, we can cancel it.
$I = \int {\dfrac{{\cos x + \sin x}}{{\cos x - \sin x}}} dx$ ……(2)
Now we can use the substitution method of integration to proceed further
Take $\cos x - \sin x = t$
We know that differentiation of $\cos x$ is $ - \sin x$ and differentiation of is $\cos x$
Differentiating this we get,
$\left( { - \sin x - \cos x} \right)dx = dt$
Taking minus as common we get
$ - \left( {\sin x + \cos x} \right)dx = dt$
Multiply by $ - 1$ on both sides we get
$\left( {\sin x + \cos x} \right)dx = - dt$
Now substitute $\cos x - \sin x = t$ and $\left( {\sin x + \cos x} \right)dx = - dt$ in (2)
$\int {\dfrac{{\cos x + \sin x}}{{\cos x - \sin x}}} dx = \int {\dfrac{{ - dt}}{t}} $
Taking the minus outside the integral we get
$I = - \int {\dfrac{{dt}}{t}} $
Now by using integration formulae, we know that $\int {\dfrac{{dx}}{x} = \log x + c} $
Using this our integral becomes
$I = - \int {\dfrac{{dt}}{t}} = - \log t + c$
In rules of logarithm, we know that $a\log b = \log {b^a}$
Using this we get,
$I = \log {t^{ - 1}} + c$
Now substitute $\cos x - \sin x = t$
$
I = \log {\left( {\cos x - \sin x} \right)^{ - 1}} + c \\
I = \log \left( {\dfrac{1}{{\cos x - \sin x}}} \right) + c \\
$
We know that $I = \int {\dfrac{{1 + \tan x}}{{1 - \tan x}}} dx$
Therefore, $\int {\dfrac{{1 + \tan x}}{{1 - \tan x}}} dx = \log \left( {\dfrac{1}{{\cos x - \sin x}}} \right) + c$
Note: The major mistake many students make is multiplying and dividing the given fraction by the conjugate of its denominator, but it will make the problem more hectic. Same way, many get confused with the trigonometric ratios. The solution for the above problem can also be written as $ - \log \left( {\cos x - \sin x} \right) + c$ .This is also the correct answer.
Complete step-by-step answer:
We are asked to find the value of $\int {\dfrac{{1 + \tan x}}{{1 - \tan x}}} dx$
Now let $I = \int {\dfrac{{1 + \tan x}}{{1 - \tan x}}} dx$
The function inside the integral symbol is known as the integrand.
And the derivative next to the function defines with respect to which variable we are supposed to integrate.
That is, $dx$ defines that the given function should be integrated with respect to $x$
Firstly, let's write down the given function
$I = \int {\dfrac{{1 + \tan x}}{{1 - \tan x}}} dx$……… (1)
We know that by trigonometric ratios that $\tan x = \dfrac{{\sin x}}{{\cos x}}$
Substitute $\tan x = \dfrac{{\sin x}}{{\cos x}}$ in (1) in both the numerator and denominator
Now we need to take LCM in both the numerator and denominator and proceed to simplify
$I = \int {\dfrac{{\dfrac{{\cos x + \sin x}}{{\cos x}}}}{{\dfrac{{\cos x - \sin x}}{{\cos x}}}}} dx$
Now we can see that $\cos x$ is the common denominator for both the numerator and denominator. Hence, we can cancel it.
$I = \int {\dfrac{{\cos x + \sin x}}{{\cos x - \sin x}}} dx$ ……(2)
Now we can use the substitution method of integration to proceed further
Take $\cos x - \sin x = t$
We know that differentiation of $\cos x$ is $ - \sin x$ and differentiation of is $\cos x$
Differentiating this we get,
$\left( { - \sin x - \cos x} \right)dx = dt$
Taking minus as common we get
$ - \left( {\sin x + \cos x} \right)dx = dt$
Multiply by $ - 1$ on both sides we get
$\left( {\sin x + \cos x} \right)dx = - dt$
Now substitute $\cos x - \sin x = t$ and $\left( {\sin x + \cos x} \right)dx = - dt$ in (2)
$\int {\dfrac{{\cos x + \sin x}}{{\cos x - \sin x}}} dx = \int {\dfrac{{ - dt}}{t}} $
Taking the minus outside the integral we get
$I = - \int {\dfrac{{dt}}{t}} $
Now by using integration formulae, we know that $\int {\dfrac{{dx}}{x} = \log x + c} $
Using this our integral becomes
$I = - \int {\dfrac{{dt}}{t}} = - \log t + c$
In rules of logarithm, we know that $a\log b = \log {b^a}$
Using this we get,
$I = \log {t^{ - 1}} + c$
Now substitute $\cos x - \sin x = t$
$
I = \log {\left( {\cos x - \sin x} \right)^{ - 1}} + c \\
I = \log \left( {\dfrac{1}{{\cos x - \sin x}}} \right) + c \\
$
We know that $I = \int {\dfrac{{1 + \tan x}}{{1 - \tan x}}} dx$
Therefore, $\int {\dfrac{{1 + \tan x}}{{1 - \tan x}}} dx = \log \left( {\dfrac{1}{{\cos x - \sin x}}} \right) + c$
Note: The major mistake many students make is multiplying and dividing the given fraction by the conjugate of its denominator, but it will make the problem more hectic. Same way, many get confused with the trigonometric ratios. The solution for the above problem can also be written as $ - \log \left( {\cos x - \sin x} \right) + c$ .This is also the correct answer.
Recently Updated Pages
Master Class 12 Economics: Engaging Questions & Answers for Success

Master Class 12 Physics: Engaging Questions & Answers for Success

Master Class 12 English: Engaging Questions & Answers for Success

Master Class 12 Social Science: Engaging Questions & Answers for Success

Master Class 12 Maths: Engaging Questions & Answers for Success

Master Class 12 Business Studies: Engaging Questions & Answers for Success

Trending doubts
Which are the Top 10 Largest Countries of the World?

What are the major means of transport Explain each class 12 social science CBSE

Draw a labelled sketch of the human eye class 12 physics CBSE

Differentiate between insitu conservation and exsitu class 12 biology CBSE

Draw a neat and well labeled diagram of TS of ovary class 12 biology CBSE

Give 10 examples of unisexual and bisexual flowers

