Final answer to the problem
Step-by-step Solution
Specify the solving method
Divide $x^2-x+1$ by $x^2-x-2$
Learn how to solve problems step by step online.
$\begin{array}{l}\phantom{\phantom{;}x^{2}-x\phantom{;}-2;}{\phantom{;}1\phantom{;}\phantom{;}}\\\phantom{;}x^{2}-x\phantom{;}-2\overline{\smash{)}\phantom{;}x^{2}-x\phantom{;}+1\phantom{;}\phantom{;}}\\\phantom{\phantom{;}x^{2}-x\phantom{;}-2;}\underline{-x^{2}+x\phantom{;}+2\phantom{;}\phantom{;}}\\\phantom{-x^{2}+x\phantom{;}+2\phantom{;}\phantom{;};}\phantom{;}3\phantom{;}\phantom{;}\\\end{array}$
Learn how to solve problems step by step online. Find the integral int((x^2-x+1)/(x^2-x+-2))dx. Divide x^2-x+1 by x^2-x-2. Resulting polynomial. Expand the integral \int\left(1+\frac{3}{x^2-x-2}\right)dx into 2 integrals using the sum rule for integrals, to then solve each integral separately. The integral \int1dx results in: x.