Mister Exam

Other calculators

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

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

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

    1. The integral of a constant times a function is the constant times the integral of the function:

      1. Let .

        Then let and substitute :

        1. The integral of is .

        Now substitute back in:

      So, the result is:

    1. The integral of is .

    The result is:

  2. Now simplify:

  3. Add the constant of integration:


The answer is:

The answer (Indefinite) [src]
  /                                          
 |                                           
 | /1     2  \                               
 | |- + -----| dx = C + 2*log(x - 1) + log(x)
 | \x   x - 1/                               
 |                                           
/                                            
$$\int \left(\frac{2}{x - 1} + \frac{1}{x}\right)\, dx = C + \log{\left(x \right)} + 2 \log{\left(x - 1 \right)}$$
The graph
The answer [src]
nan
$$\text{NaN}$$
=
=
nan
$$\text{NaN}$$
nan
Numerical answer [src]
-44.0914674384461
-44.0914674384461

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