Integral of tan(x/2) dx
The solution
Detail solution
-
Rewrite the integrand:
tan(2x)=cos(2x)sin(2x)
-
There are multiple ways to do this integral.
Method #1
-
Let u=cos(2x).
Then let du=−2sin(2x)dx and substitute −2du:
∫u4du
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−u2)du=−2∫u1du
-
The integral of u1 is log(u).
So, the result is: −2log(u)
Now substitute u back in:
−2log(cos(2x))
Method #2
-
Let u=2x.
Then let du=2dx and substitute 2du:
∫cos(u)4sin(u)du
-
The integral of a constant times a function is the constant times the integral of the function:
∫cos(u)2sin(u)du=2∫cos(u)sin(u)du
-
Let u=cos(u).
Then let du=−sin(u)du and substitute −du:
∫u1du
-
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)
Now substitute u back in:
−log(cos(u))
So, the result is: −2log(cos(u))
Now substitute u back in:
−2log(cos(2x))
-
Now simplify:
−2log(cos(2x))
-
Add the constant of integration:
−2log(cos(2x))+constant
The answer is:
−2log(cos(2x))+constant
The answer (Indefinite)
[src]
/
|
| /x\ / /x\\
| tan|-| dx = C - 2*log|cos|-||
| \2/ \ \2//
|
/
2logsec(2x)
The graph
−2logcos(21)
=
−2log(cos(21))
Use the examples entering the upper and lower limits of integration.