Question
Question: Find the solution of the integral \(\dfrac{{\tan x}}{{\left( {\sec x + \tan x} \right)}}dx\)...
Find the solution of the integral (secx+tanx)tanxdx
Solution
Hint : We have to integrate indefinite integral (secx+tanx)tanxdx with respect to x. The process of differentiation and integration are inverses of each other. Hence, ∫f′(x)dx=f(x)+C where C is the arbitrary constant called the constant of integration. We solve this function by rationalizing it and after rationalizing we will simplify it and substitute sec2x−tan2x=1. We will split the single integral into multiple integrals. We also know various standard integration formulae; we will put the values of standard formulae and obtain the final answer in terms of x only.
Property for splitting the functions:
For functions f(x) and g(x), ∫[f(x)±g(x)]dx=∫f(x)dx±∫g(x)
I.e. The indefinite integral of the sum/difference is equal to the sum/difference of integrals.
Complete step by step solution:
Given ∫(secx+tanx)tanxdx
On rationalizing, we get
⇒∫(secx+tanx)tanx×(secx−tanx)(secx−tanx)dx
⇒∫sec2x−tan2xtanx(secx−tanx)dx
Simplify by multiplying
⇒∫sec2x−tan2xtanxsecx−tan1xtan1xdx
Use the power rule xm+xn=xm+n to combine the exponents.
⇒∫sec2x−tan2xtanxsecx−tan1+1xdx
⇒∫sec2x−tan2xtanxsecx−tan2xdx
We know that 1+tan2x=sec2x. Therefore, sec2x−tan2x=1
⇒∫1tanxsecx−tan2xdx
⇒∫(tanxsecx−tan2x)dx
Split the single integral into multiple integrals.
⇒∫tanxsecxdx−∫tan2xdx
Put tan2x=sec2x+1.
⇒∫tanxsecxdx−∫(sec2x−1)dx
Split the single integral into multiple integrals.
⇒∫tanxsecxdx−∫sec2xdx+∫1dx
Since the derivative of secx is secxtanx, the integral of secxtanx is secx and Integral of sec2x is tanx.
⇒secx−tanx+x+C
Where C is the arbitrary constant called the constant of integration.
Thus, the integration of (secx+tanx)tanxdx is, secx−tanx+x+C where C is the integration constant.
So, the correct answer is “secx−tanx+x+C”.
Note : We have indefinite integral that is why we added integration constant C. If we have a definite integral we do not add integration constant. There are different methods to solve indefinite integral questions. Here, in the given question we applied ∫[f(x)±g(x)]dx=∫f(x)dx±∫g(x) property. Suppose we have given any constant k with the integral then we will apply another property: ∫[kf(x)±kg(x)]dx=k∫f(x)±k∫g(x). The only difference between these two properties is, we kept the constant k outside of integral.