Mister Exam

Other calculators

Integral of (x^2-3*x+2)/(x^2+2*x+1) dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
    0                 
    /                 
   |                  
   |    2             
   |   x  - 3*x + 2   
   |   ------------ dx
   |    2             
   |   x  + 2*x + 1   
   |                  
  /                   
log(x)                
$$\int\limits_{\log{\left(x \right)}}^{0} \frac{x^{2} - 3 x + 2}{x^{2} + 2 x + 1}\, dx$$
Integral((x^2 - 3*x + 2)/(x^2 + 2*x + 1), (x, log(x), 0))
The answer (Indefinite) [src]
  /                                              
 |                                               
 |  2                                            
 | x  - 3*x + 2                6                 
 | ------------ dx = C + x - ----- - 5*log(1 + x)
 |  2                        1 + x               
 | x  + 2*x + 1                                  
 |                                               
/                                                
$$-5\,\log \left(x+1\right)-{{6}\over{x+1}}+x$$
The answer [src]
                                      6     
-6 - log(x) + 5*log(1 + log(x)) + ----------
                                  1 + log(x)
$${\it \%a}$$
=
=
                                      6     
-6 - log(x) + 5*log(1 + log(x)) + ----------
                                  1 + log(x)
$$- \log{\left(x \right)} + 5 \log{\left(\log{\left(x \right)} + 1 \right)} - 6 + \frac{6}{\log{\left(x \right)} + 1}$$

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