Question
Question: How do you solve \(\int{\tan xdx}\)?...
How do you solve ∫tanxdx?
Solution
In this problem we have to calculate the integration value of the trigonometric ratio tanx. First, we will convert the given trigonometric ratio into sinx, cosx by using the basic definitions of trigonometric ratios i.e., tanx=cosxsinx. Now we will assume the substitution u=cosx For this assumption we will calculate the value of dxdu by differentiating the equation u=cosx with respect to x. Now we will substitute the values of u, du in the integration value and simplify the equation by using the integration formulas. Now we will re substitute the value of u=cosx after applying the integration formulas and simplify the equation to get the required result.
Complete step by step answer:
Given that, ∫tanxdx.
From the basic definitions of trigonometric ratios, we have the value of tanx as tanx=cosxsinx. Substituting this value in the above integration value, then we will get
⇒∫tanxdx=∫cosxsinxdx
By observing the equation, we are going to take the substitution u=cosx in the above equation. Now differentiating the value of u with respect to x, then we will get
⇒dxdu=dxd(cosx)
We have the differentiation value of cosx as −sinx, then the above equation modified as
⇒dxdu=−sinx
From the above equation, the value of du will be
⇒du=−sinxdx
Now substituting the value u=cosx in the integration value, then we will get
⇒∫tanxdx=∫usinxdx
Multiplying the above equation with negative signs, then we will have
⇒∫tanxdx=−∫u−sinxdx
Substituting the value du=−sinxdx in the above equation, then we will get
⇒∫tanxdx=−∫udu
We have the integration formula ∫xdx=lnx+C. Applying this formula in the above equation, then we will get
⇒∫tanxdx=−ln∣u∣+C
Resubstituting the value of u in the above equation, then we will get
⇒∫tanxdx=−ln∣cosx∣+C
We have the logarithmic formula −ln∣a∣=lna1. Applying this formula in the above equation, then we will have
⇒∫tanxdx=ln(cosx1)+C
We have the trigonometric formula cosx1=secx, then the integration value of the tanx will be
⇒∫tanxdx=ln∣secx∣+C
Note: We can also follow the above procedure to calculate the integral value of cotx. We will use the definition of the cotx as cotx=sinxcosx. We will take the substitution u=sinx and follow the above procedure to get the integral value of cotx.