# Another integral

• January 29th 2009, 09:10 PM
dmac
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
• January 29th 2009, 09:14 PM
Chop Suey
Quote:

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.
• January 29th 2009, 09:23 PM
dmac
thank you very much that helps so much! Its just hard to see that. guess I need to practice more! tyvm