How to solve the  indefinite integral of  `(2x^2 +20x+44)/ (x^2 +7x+ 12)` ? `int(2x^2 +20x+44)/ (x^2 +7x+ 12)dx`

1 Answer | Add Yours

lemjay's profile pic

lemjay | High School Teacher | (Level 3) Senior Educator

Posted on

`int(2x^2 +20x+44)/ (x^2 +7x+ 12)dx`

Since both numerator and denominator have a degree of 2, we may simplify the integrand by dividing them.


`x^2+7x+12``bar(| 2x^2+20x+44)`

                   `-`  `2x^2+14x+24`  


                                      `6x + 20`

So the integral becomes:

`int(2x^2 +20x+44)/ (x^2 +7x+ 12)dx= int(2 + (6x+20)/(x^2+7x+12))dx`

Since the integrand is sum of two functions, then it can be express as sum of two integrals.

`= int 2dx + int (6x+20)/(x^2+7x+12) dx`

For the first integral, apply the formula `int kdx=kx+C` .

`= 2x+C+ int(6x+20)/(x^2+7x+12)dx`

For the second integral, since the degree of numerator is less than that of denominator, expand the integrand using partial fractions.

So, factor the denominator and express it as two fractions.


Then, determine the values of A and B. To do so, multiply both sides by the LCD.



To solve for A, set x=-3,




And to solve for B, set x=-4.





Hence, the second integral becomes:

`2x+C+ int(6x+20)/(x^2+7x+12)dx`


Again, express the integral as sum of two integrals.

`=2x+C+int2/(x+3)dx + int4/(x+4)dx`

`= 2x+ C +2int 1/(x+3)dx+4int1/(x+4)dx`

Then, apply the formula `int 1/u du = ln u + C` .


Since C represents any number, we can represent the sum of the three C's as C only.

`=2x+2ln(x+3)+ 4ln(x+4)+C`


`int(2x^2 +20x+44)/ (x^2 +7x+ 12)=2x+2ln(x+3)+ 4ln(x+4)+C` .

We’ve answered 319,631 questions. We can answer yours, too.

Ask a question