Mister Exam

Other calculators


tan(x/2)

Integral of tan(x/2) dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  1          
  /          
 |           
 |     /x\   
 |  tan|-| dx
 |     \2/   
 |           
/            
0            
$$\int\limits_{0}^{1} \tan{\left(\frac{x}{2} \right)}\, dx$$
Integral(tan(x/2), (x, 0, 1))
Detail solution
  1. Rewrite the integrand:

  2. There are multiple ways to do this integral.

    Method #1

    1. Let .

      Then let and substitute :

      1. The integral of a constant times a function is the constant times the integral of the function:

        1. The integral of is .

        So, the result is:

      Now substitute back in:

    Method #2

    1. Let .

      Then let and substitute :

      1. The integral of a constant times a function is the constant times the integral of the function:

        1. Let .

          Then let and substitute :

          1. The integral of a constant times a function is the constant times the integral of the function:

            1. The integral of is .

            So, the result is:

          Now substitute back in:

        So, the result is:

      Now substitute back in:

  3. Now simplify:

  4. Add the constant of integration:


The answer is:

The answer (Indefinite) [src]
  /                             
 |                              
 |    /x\               /   /x\\
 | tan|-| dx = C - 2*log|cos|-||
 |    \2/               \   \2//
 |                              
/                               
$$2\,\log \sec \left({{x}\over{2}}\right)$$
The graph
The answer [src]
-2*log(cos(1/2))
$$-2\,\log \cos \left({{1}\over{2}}\right)$$
=
=
-2*log(cos(1/2))
$$- 2 \log{\left(\cos{\left(\frac{1}{2} \right)} \right)}$$
Numerical answer [src]
0.261168480887445
0.261168480887445
The graph
Integral of tan(x/2) dx

    Use the examples entering the upper and lower limits of integration.