Answer:

Explanation:
Integrate the following expression.


In order to integrate this function we are gonna have to use partial fraction decomposition. Start by factoring the the denominator completely.

Now we can apply partial fractions. Partial fractions allows us to split up complex fractions, in doing so this will make them easier to integrate.
^2(x+1)\\\\\Longrightarrow \boxed{-x+5=A(x-2)^2+B(x+1)+C(x-2)(x+1)}](https://img.qammunity.org/2024/formulas/mathematics/college/dsehwno8kfy9skl7m6xu1te7y08qw1x7fk.png)
Expand the right-hand-side and use the comparison method to find the values of the undetermined coefficients, A, B, and C.

We can now form a system of equations.
For x^2 terms:

For x terms:

For #'s:


You can use any method of choice to solve the system of equations. I am going to put the system in a matrix and use my calculator to row reduce.
![\Longrightarrow \left[\begin{array}{ccc}1&0&1\\-4&1&-1\\4&1&-2\end{array}\right] =\left[\begin{array}{c}0\\-1\\5\end{array}\right]\\\\ \\ \ \ \ \Longrightarrow \left[\begin{array}{ccc}1&0&0\\0&1&0\\0&0&1\end{array}\right] =\left[\begin{array}{c}(2)/(3) \\1\\-(2)/(3)\end{array}\right]\\\\\\\therefore \boxed{A=(2)/(3), \ B=1, \ \text{and} \ C=-(2)/(3)}](https://img.qammunity.org/2024/formulas/mathematics/college/mx2n1m8d9j71oqlz4lyf2u1qv6dyha419u.png)
Now we can split up the fraction.

We can integrate the three fractions separately.

For the first integral let u=x+1 => du=dx, for the second let v=x-2 => dv=dx, and for the third integral let w=x-2 => dw=dx

Use the rules of integration to integrate.


Thus, the given integral is solved where "C" is some arbitrary constant that can be found given an initial condition.