Mister Exam

Integral of tang(x) dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  1          
  /          
 |           
 |  tan(x) dx
 |           
/            
0            
$$\int\limits_{0}^{1} \tan{\left(x \right)}\, dx$$
Integral(tan(x), (x, 0, 1))
Detail solution
  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:

  3. Add the constant of integration:


The answer is:

The answer (Indefinite) [src]
  /                           
 |                            
 | tan(x) dx = C - log(cos(x))
 |                            
/                             
$$\log \sec x$$
The graph
The answer [src]
-log(cos(1))
$$-\log \cos 1$$
=
=
-log(cos(1))
$$- \log{\left(\cos{\left(1 \right)} \right)}$$
Numerical answer [src]
0.615626470386014
0.615626470386014
The graph
Integral of tang(x) dx

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