Integral of tg^3(x) dx
The solution
Detail solution
-
Rewrite the integrand:
tan3(x)=(sec2(x)−1)tan(x)
-
There are multiple ways to do this integral.
Method #1
-
Let u=sec2(x).
Then let du=2tan(x)sec2(x)dx and substitute 2du:
∫2uu−1du
-
The integral of a constant times a function is the constant times the integral of the function:
∫uu−1du=2∫uu−1du
-
Rewrite the integrand:
uu−1=1−u1
-
Integrate term-by-term:
-
The integral of a constant is the constant times the variable of integration:
∫1du=u
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−u1)du=−∫u1du
-
The integral of u1 is log(u).
So, the result is: −log(u)
The result is: u−log(u)
So, the result is: 2u−2log(u)
Now substitute u back in:
−2log(sec2(x))+2sec2(x)
Method #2
-
Rewrite the integrand:
(sec2(x)−1)tan(x)=tan(x)sec2(x)−tan(x)
-
Integrate term-by-term:
-
Let u=sec(x).
Then let du=tan(x)sec(x)dx and substitute du:
-
The integral of un is n+1un+1 when n=−1:
∫udu=2u2
Now substitute u back in:
2sec2(x)
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−tan(x))dx=−∫tan(x)dx
-
Rewrite the integrand:
tan(x)=cos(x)sin(x)
-
Let u=cos(x).
Then let du=−sin(x)dx and substitute −du:
∫(−u1)du
-
The integral of a constant times a function is the constant times the integral of the function:
∫u1du=−∫u1du
-
The integral of u1 is log(u).
So, the result is: −log(u)
Now substitute u back in:
−log(cos(x))
So, the result is: log(cos(x))
The result is: log(cos(x))+2sec2(x)
Method #3
-
Rewrite the integrand:
(sec2(x)−1)tan(x)=tan(x)sec2(x)−tan(x)
-
Integrate term-by-term:
-
Let u=sec(x).
Then let du=tan(x)sec(x)dx and substitute du:
-
The integral of un is n+1un+1 when n=−1:
∫udu=2u2
Now substitute u back in:
2sec2(x)
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−tan(x))dx=−∫tan(x)dx
-
Rewrite the integrand:
tan(x)=cos(x)sin(x)
-
Let u=cos(x).
Then let du=−sin(x)dx and substitute −du:
∫(−u1)du
-
The integral of a constant times a function is the constant times the integral of the function:
∫u1du=−∫u1du
-
The integral of u1 is log(u).
So, the result is: −log(u)
Now substitute u back in:
−log(cos(x))
So, the result is: log(cos(x))
The result is: log(cos(x))+2sec2(x)
-
Add the constant of integration:
−2log(sec2(x))+2sec2(x)+constant
The answer is:
−2log(sec2(x))+2sec2(x)+constant
The graph
1 1
- - + --------- + log(cos(1))
2 2
2*cos (1)
log(cos(1))−21+2cos2(1)1
=
1 1
- - + --------- + log(cos(1))
2 2
2*cos (1)
log(cos(1))−21+2cos2(1)1
-1/2 + 1/(2*cos(1)^2) + log(cos(1))
Use the examples entering the upper and lower limits of integration.