# `int (4x^2+2x-1)/(x^3+x^2) dx` Use partial fractions to find the indefinite integral

`int (4x^2+2x-1)/(x^3+x^2)dx`

To solve using partial fraction method, the denominator of the integrand should be factored.

`(4x^2+2x-1)/(x^3+x^2)=(4x^2+2x-1)/(x^2(x+1))`

Take note that if the factor in the denominator is linear and non-repeating, each factor in the denominator has a partial fraction form of `A/(ax+b)` .

And if the factor is linear and...

Start your 48-hour free trial to unlock this answer and thousands more. Enjoy eNotes ad-free and cancel anytime.

`int (4x^2+2x-1)/(x^3+x^2)dx`

To solve using partial fraction method, the denominator of the integrand should be factored.

`(4x^2+2x-1)/(x^3+x^2)=(4x^2+2x-1)/(x^2(x+1))`

Take note that if the factor in the denominator is linear and non-repeating, each factor in the denominator has a partial fraction form of `A/(ax+b)` .

And if the factor is linear and repeating, its partial fraction decomposition has a form `A_1/(ax+b) + A_2/(ax+b)^2+... +A_n/(ax+b)^n` .

So, expressing the integrand as sum of fractions, it becomes:

`(4x^2+2x-1)/(x^2(x+1))=A/x+B/x^2+C/(x+1)`

To determine the values of A, B and C, multiply both sides by the LCD of the fractions present.

`x^2(x+1)*(4x^2+2x-1)/(x^2(x+1))=(A/x+B/x^2+C/(x+1))*x^2(x+1)`

`4x^2+2x-1=Ax(x+1)+B(x+1)+Cx^2`

Then, assign values to x in which either x, x^2 or x+1 will become zero.

So plug-in x=0 to get the value of B.

`4(0)^2+2(0)-1=A(0)(0+1)+B(0+1)+C(0)^2`

`-1=A(0)+ B(1)+C(0)`

`-1=B`

Also, plug-in x=-1 to get the value of C.

`4(-1)^2+2(-1)-1=A(-1)(-1+1)+B(-1+1)+C(-1)^2`

`1=A(0)+B(0)+C(1)`

`1=C`

To get the value of A, plug-in the values of B and C. Also, assign any value to x. Let it be x=1.

`4(1)^2+2(1)-1=A(1)(1+1)+ (-1)(1+1)+1(1)^2`

`5=A(2)-2+1`

`5=2A-1`

`6=2A`

`3=A`

So, the partial fraction decomposition of the integrand is:

`int(4x^2+2x-1)/(x^3+x^2)dx`

`= int (4x^2+2x-1)/(x^2(x+1))dx`

`= int (3/x -1/x^2+1/(x+1))dx`

Then, express it as three integrals.

`= int 3/x dx - int 1/x^2 dx + int 1/(x+1)dx`

`= 3int 1/x dx- int x^(-2) dx + int 1/(x+1)dx`

For the first and third integral, apply the formula `int 1/u du = ln|u|+C` .

And for the second integral, apply the formula `int u^n du = u^(n+1)/(n+1)+C` .

`= 3ln|x| + x^(-1) + ln|x+1| +C`

`=3ln|x| +1/x + ln|x+1| +C`

Therefore, `int(4x^2+2x-1)/(x^3+x^2)=3ln|x| +1/x + ln|x+1| +C` .

Approved by eNotes Editorial Team
{"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "https://www.enotes.com/homework-help/int-4x-2-2x-1-x-3-x-2-dx-use-partial-fractions-782814", "fetch_time": 1656814793000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2022-27/segments/1656104209449.64/warc/CC-MAIN-20220703013155-20220703043155-00235.warc.gz", "warc_record_offset": 798200619, "warc_record_length": 19880, "token_count": 987, "char_count": 2424, "score": 4.1875, "int_score": 4, "crawl": "CC-MAIN-2022-27", "snapshot_type": "longest", "language": "en", "language_score": 0.7058339715003967, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00014-of-00064.parquet"}