Mister Exam

Other calculators


2/(x^2-1)

Integral of 2/(x^2-1) dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  1          
  /          
 |           
 |    2      
 |  ------ dx
 |   2       
 |  x  - 1   
 |           
/            
0            
$$\int\limits_{0}^{1} \frac{2}{x^{2} - 1}\, dx$$
Integral(2/(x^2 - 1), (x, 0, 1))
Detail solution
  1. The integral of a constant times a function is the constant times the integral of the function:

      PiecewiseRule(subfunctions=[(ArctanRule(a=1, b=1, c=-1, context=1/(x**2 - 1), symbol=x), False), (ArccothRule(a=1, b=1, c=-1, context=1/(x**2 - 1), symbol=x), x**2 > 1), (ArctanhRule(a=1, b=1, c=-1, context=1/(x**2 - 1), symbol=x), x**2 < 1)], context=1/(x**2 - 1), symbol=x)

    So, the result is:

  2. Now simplify:

  3. Add the constant of integration:


The answer is:

The answer (Indefinite) [src]
  /                                          
 |                   //                2    \
 |   2               ||-acoth(x)  for x  > 1|
 | ------ dx = C + 2*|<                     |
 |  2                ||                2    |
 | x  - 1            \\-atanh(x)  for x  < 1/
 |                                           
/                                            
$$\int \frac{2}{x^{2} - 1}\, dx = C + 2 \left(\begin{cases} - \operatorname{acoth}{\left(x \right)} & \text{for}\: x^{2} > 1 \\- \operatorname{atanh}{\left(x \right)} & \text{for}\: x^{2} < 1 \end{cases}\right)$$
The graph
The answer [src]
-oo - pi*I
$$-\infty - i \pi$$
=
=
-oo - pi*I
$$-\infty - i \pi$$
-oo - pi*i
Numerical answer [src]
-44.7841039667738
-44.7841039667738
The graph
Integral of 2/(x^2-1) dx

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