Skip to main content

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

For the given integral problem: `int (x^3+3x-4)/(x^3-4x^2+4x)dx` , we may simplify  by applying long division since the highest degree of x is the same from numerator and denominator side.


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


Apply partial fraction decomposition on the expression `(4x^2-x-4)/(x^3-4x^2+4x)` .


The pattern on setting up partial fractions will depend on the factors of the denominator. For the given problem, the factored form of the denominator will be:


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


                            `=(x) (x-2)(x-2)`  or `x(x-2)^2`


For the linear factor `(x)` , we  will have partial fraction: `A/x`


For the repeated linear factor `(x-2)^2` , we will have partial fractions: `B/(x-2) + C/(x-2)^2` .


The rational expression becomes:


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


Multiply both side by the `LCD =x(x-2)^2` :


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


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


We apply zero-factor property on x(x-2)^2 to solve for value we can assign on x.


`x=0`


`x-2 = 0` then `x=2` .


To solve for `A` , we plug-in `x=0` :


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


`0-0-4 = A*(-2)^2 +0 +0`


`-4 =4A`


`-4/4 =(4A)/4`


`A =-1`


To solve for `C` , we plug-in `x=2` :


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


`16-2-4 = A*0 +B*0 +2C`


`10= 0 + 0 +2C`


`10 =2C`


`(10)/2= (2C)/2`


`C=5`


To solve for B, plug-in `x=1` ,`A=-1` , and `C=5` :



`4*1^2-1-4=(-1)*(1-2)^2+B*(1(1-2)) + 5*1 `


`4-1-4= (-1)*(-1)^2+B(1*(-1)) +5`


`-1= -1-B +5`


`-1= -B+4`


`-1-4= -B`


`-5=-B`


`(-5)/(-1) = (-B)/(-1)`


`B =5`


Plug-in `A = -1` , `B =5,` and `C=5` , we get the partial decomposition:


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


 Then the integrand becomes:


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


                    ` =1-1/x +5/(x-2) + 5/(x-2)^2`


 Apply the basic integration property:`int (u+-v) dx = int (u) dx +- int (v) dx` .


`int (x^3+3x-4)/(x^3-4x^2+4x) dx = int [1-1/x +5/(x-2) + 5/(x-2)^2] dx`


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



Apply basic integration property: ` int(a) dx = ax+C`


`int1 dx = 1x` or `x`


Apply integration formula for logarithm: `int 1/u du = ln|u|+C` .


`int 1/x dx=ln|x|`


`int 5/(x-2)dx= int 5/udu`


                  `= 5ln|u|`


                 `=5 ln|x-2|`


Note: Let `u =x-2` then `du = dx` .


Apply the Power Rule for integration: `int (u^n) dx =u^(n+1)/ (n+1) +C` .


`int 5/(x-2)^2dx=int 5/u^2du`


                    `=int 5u^(-2)du`


                     `= 5 * u^(-2+1)/(-2+1)`


                     `= 5* u^-1/(-1)`


                     `= -5/u`


                     `= -5/(x-2)`


Note: Let `u =x-2` then `du = dx`


Combining the results, we get the indefinite integral as:


`int (x^3+3x-4)/(x^3-4x^2+4x)dx =x-ln|x| +5 ln|x-2|-5/(x-2)+C`

Comments

Popular posts from this blog

etymology - Origin of the greeting "Sweet dreams".

Does anybody know the etymology of the phrase "sweet dreams"? I tried googling but did not find anything satisfying. Is this a relatively new phrase of the modern world or has this been in use for some time? I think it's the latter one. Answer The OED has the interjection as "a farewell to someone going to bed" from the 20th century: 1908 Sears Roebuck Catal. 198/1 Tenor Solos..Good Bye, Sweet Dreams, Good Bye. But it goes back until at least the 19th and possibly 18th centuries. John Wolcot, writing under the pseudonym of Peter Pindar, used it in his poem "Orson and Ellen; A Legendary Tale" published in 1801: Also from 1801 in The infernal Quixote (Page 287) by Charles Lucas: In the March 1776 of The Universal Magazine was published "The Serenade. A Pastoral Tale. From the German of Gesner" , where the shepherd Daphnis watches over his beloved as she sleeps and sings: The same tale appears in 1776's as Idyl XI, " Daphnis ...

Is there a word/phrase for "unperformant"?

As a software engineer, I need to sometimes describe a piece of code as something that lacks performance or was not written with performance in mind. Example: This kind of coding style leads to unmaintainable and unperformant code. Based on my Google searches, this isn't a real word. What is the correct way to describe this? EDIT My usage of "performance" here is in regard to speed and efficiency. For example, the better the performance of code the faster the application runs. My question and example target the negative definition, which is in reference to preventing inefficient coding practices. Answer This kind of coding style leads to unmaintainable and unperformant code. In my opinion, reads more easily as: This coding style leads to unmaintainable and poorly performing code. The key to well-written documentation and reports lies in ease of understanding. Adding poorly understood words such as performant decreases that ease. In addressing the use of such a poorly ...

What are the similarities between the relationships of the characters in The Outsiders and Romeo and Juliet?

At first glance, it might appear as if the characters in  The Outsiders  by S. E. Hinton and  Romeo and Juliet  by William Shakespeare do not have much in common; however, when one isolates the core of the conflicts, it becomes clear that the relationships in both stories are rooted in rivalry and secrecy.  In both  The Outsiders  and  Romeo and Juliet , an overarching theme is rivalry. While   socioeconomic status separates the greasers from the Socs in The Outsiders , last names separates the Montagues from the Capulets, who appear to be relatively equal in terms of socioeconomic status. Due to these rivalries, there are instances of deadly interactions in both stories. In  The Outsiders , Johnny kills Bob (whether his actions were justified or not is debatable). In  Romeo and Juliet , Romeo kills Tybalt and Paris, and Tybalt kills Mercutio. These deaths have profound effects on the main characters. In Ponyboy's case, the Johnny's death and other events in the novel inspire h...