Question
Question: Evaluate \(\int {{e^x}} (\tan x + \log (\sec x))dx\)...
Evaluate ∫ex(tanx+log(secx))dx
Solution
Here in this question we will first solve the bracket and multiply the given terms then we will apply integration by parts. To solve this question we required some integration and differentiation formulas which are mentioned below:-
∫exdx=ex
dxd(secx)=secxtanx
dxdlogx=x1
Integration by parts is done when integration of two products have to be find out here is the formula where U is taken as first function and V is taken as second function ∫U.Vdx=U∫Vdx−[∫dxdU∫Vdx]
Complete step-by-step answer:
We have to evaluate this integral given ∫ex(tanx+log(secx))dx so first of all we will multiply exponential function inside with other functions.
⇒∫extanxdx+exlog(secx)dx
Now we will apply integration by parts ∫U.Vdx=U∫Vdx−[∫dxdU∫Vdx] in exlog(secx) where U will be log(secx)and V will be ex
⇒∫extanxdx+log(secx)∫exdx−[∫dxdlog(secx)∫exdx]
Now we will do integration of exponential function and differentiation of log (sec x) function.
⇒∫extanxdx+log(secx)(ex)−∫secx1×secxtanx(ex)dx
Here we have applied chain rule where we first did differentiation of log x which is 1/x then we have done differentiation of sec x which is sec x tan x. Now we will just cancel sec x from numerator and denominator.
⇒∫extanxdx+log(secx)(ex)−∫tanx(ex)dx
Now we will simply cancel equal and opposite integral terms form the equation.
⇒log(secx)(ex)+C (Where C is the constant)
Therefore integral value of ∫ex(tanx+log(secx))dx is log(secx)(ex)+C
Note: Students may get confused while applying integration by parts in which we have to choose which function we should take first and which to take second for this there is a short trick of ILATE which is briefly explained below.
ILATE is a short trick which helps to find out the order for applying integration by parts. Priority is given from top to bottom.
I = Integer
L = logarithmic function
A= algebra
T= trigonometric function
E= exponential function