Final answer to the problem
Step-by-step Solution
Learn how to solve integrals by partial fraction expansion problems step by step online. Integrate int((x^2)/(x^2-4)+(-(x+1))/(x+2))dx. Simplify the expression. The integral \int\frac{x^2}{x^2-4}dx results in: x-\ln\left(x+2\right)+\ln\left(x-2\right). Gather the results of all integrals. The integral \int\frac{-x-1}{x+2}dx results in: -x-2+2\ln\left(x+2\right)-\ln\left(x+2\right).