Mister Exam

Integral of 1/tanx dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  1            
  /            
 |             
 |      1      
 |  1*------ dx
 |    tan(x)   
 |             
/              
0              
$$\int\limits_{0}^{1} 1 \cdot \frac{1}{\tan{\left(x \right)}}\, dx$$
Integral(1/tan(x), (x, 0, 1))
The answer (Indefinite) [src]
  /                                                      
 |                      /          2   \      /     2   \
 |     1             log\-2 + 2*sec (x)/   log\2*sec (x)/
 | 1*------ dx = C + ------------------- - --------------
 |   tan(x)                   2                  2       
 |                                                       
/                                                        
$$\int 1 \cdot \frac{1}{\tan{\left(x \right)}}\, dx = C + \frac{\log{\left(2 \sec^{2}{\left(x \right)} - 2 \right)}}{2} - \frac{\log{\left(2 \sec^{2}{\left(x \right)} \right)}}{2}$$
The answer [src]
oo
$$\infty$$
=
=
oo
$$\infty$$
Numerical answer [src]
43.9178423877238
43.9178423877238

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