# Math Help - [SOLVED] Integral with complex roots

1. ## [SOLVED] Integral with complex roots

I have the following integral

$\int\frac{4x+7}{x^2+6x+14}$

Now I know there is a "trick" to finding part of the denominator as long as the roots are negative. You just take 1/2 of B^2.

So in this example it would be $(x+3)^2$. But I also know that you need to tack a +5 to the end. How was this +5 found, is there some kind of trick?

2. Never mind I got it. You just take the new b and square that value. then subtract it from the original c. So before +14 for c. and the new b was 3 so s^2 is 9 and 14 - 9 = 5.