Mister Exam

Other calculators


2/(x^2-4)

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

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  1          
  /          
 |           
 |    2      
 |  ------ dx
 |   2       
 |  x  - 4   
 |           
/            
0            
$$\int\limits_{0}^{1} \frac{2}{x^{2} - 4}\, dx$$
Integral(2/(x^2 - 4), (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=-4, context=1/(x**2 - 4), symbol=x), False), (ArccothRule(a=1, b=1, c=-4, context=1/(x**2 - 4), symbol=x), x**2 > 4), (ArctanhRule(a=1, b=1, c=-4, context=1/(x**2 - 4), symbol=x), x**2 < 4)], context=1/(x**2 - 4), symbol=x)

    So, the result is:

  2. Now simplify:

  3. Add the constant of integration:


The answer is:

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

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