# Evaluate the integral:` int(x^2+1)/(x+1)dx`

### 1 Answer | Add Yours

`int(x^2+1)/(x+1)dx`

To solve, expand the integrand by dividing the numerator by the denominator. In doing so, it becomes:

`=int(x - 1 + 2/(x+1) )dx`

`=intxdx-int1*dx+int2/(x+1)dx`

`=intx-intdx+2int1/(x+1)dx`

`=x^2/2-x+2ln|x+1| + C`

**Hence, `int(x^2+1)/(x+1)dx = x^2/2-x+2ln|x+1|+C` .**