Mister Exam

Integral of tg(x)+ctg(x) dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  1                     
  /                     
 |                      
 |  (tan(x) + cot(x)) dx
 |                      
/                       
0                       
$$\int\limits_{0}^{1} \left(\tan{\left(x \right)} + \cot{\left(x \right)}\right)\, dx$$
Integral(tan(x) + cot(x), (x, 0, 1))
Detail solution
  1. Integrate term-by-term:

    1. Rewrite the integrand:

    2. 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:

    1. Rewrite the integrand:

    2. Let .

      Then let and substitute :

      1. The integral of is .

      Now substitute back in:

    The result is:

  2. Add the constant of integration:


The answer is:

The answer (Indefinite) [src]
  /                                                    
 |                                                     
 | (tan(x) + cot(x)) dx = C - log(cos(x)) + log(sin(x))
 |                                                     
/                                                      
$$\int \left(\tan{\left(x \right)} + \cot{\left(x \right)}\right)\, dx = C + \log{\left(\sin{\left(x \right)} \right)} - \log{\left(\cos{\left(x \right)} \right)}$$
The graph
The answer [src]
oo
$$\infty$$
=
=
oo
$$\infty$$
oo
Numerical answer [src]
44.5334688581098
44.5334688581098
The graph
Integral of tg(x)+ctg(x) dx

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