Integration of Rational Functions by Partial Fractions

Jgoshorn1
Messages
17
Reaction score
0

Homework Statement



∫(x3+4)/(x2+4)dx

Homework Equations



n/a

The Attempt at a Solution



I know I have to do long division before I can break this one up into partial fractions. So I x3+4 by x2+4 and got x with a remainder of -4x+4 to be written as x+(4-4x/x2+4).

Then I rewrote the initial integral as ∫x + ∫(4-4x)/(x2+4) but then I get stuck from there.
Should the partial fraction be ∫x + ∫(Ax+B)/(x2+4)?
And if so, how would I go about solving that?
 
Physics news on Phys.org
##\frac x {x^2+4}## can be done with a u-substitution and ##\frac 2 {x^2+4}##is an Arctan form.
 
LCKurtz said:
##\frac x {x^2+4}## can be done with a u-substitution and ##\frac 2 {x^2+4}##is an Arctan form.

How/where are you getting x/x2+4 and 2/x2+4 from?
 
Long division for
\frac{x^3+4}{x^2+4}

yields
x - 4(\frac{x-1}{x^2+4}).

As you mentioned, you now have
\int x dx - 4\int \frac{x-1}{x^2+4} dx.

For the second integral, split up the integrand:
\int x dx - 4(\int \frac{x}{x^2+4} dx - \int \frac{1}{x^2+4} dx).

(This is what LCKurtz did, at least.)
 
Last edited:
So do you think it was just a typo that he wrote 2/x2+4 instead of 1/x2+4 because that 2 really confused me
 
Jgoshorn1 said:
So do you think it was just a typo that he wrote 2/x2+4 instead of 1/x2+4 because that 2 really confused me

Yes, the 2 was a typo. At any rate a constant factor wouldn't affect the method of integration.
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...

Similar threads

Back
Top