8) Indefinite Integrals

Consider the following function:

> w:=x->(x^2+2*x+1)/((x^2+1)^2*(x-2));

To integrate we need to use partial fraction expansion

> convert(w(x),parfrac,x);

> int(%,x);

We can check our answer by differentiating

> simplify(diff(%,x));