# Math Help - Another integral

1. ## Another integral

mmk so heres a indefinite integral. (2x-5)/(x^2+2x+2) I know I need to complete the square but im not sure as to what I do from there

2. Originally Posted by dmac
mmk so heres a indefinite integral. (2x-5)/(x^2+2x+2) I know I need to complete the square but im not sure as to what I do from there
By simple algebraic manipulations:
\begin{aligned}
\frac{2x-5}{x^2+2x+2} &= \frac{2x+2}{x^2+2x+2} - \frac{7}{x^2+2x+1+1}\\
&= \frac{2x+2}{x^2+2x+2} - \frac{7}{(x+1)^2+1}
\end{aligned}

Which are two straightforward integrals.

3. thank you very much that helps so much! Its just hard to see that. guess I need to practice more! tyvm