MHB How Do You Solve Integration Problems Involving Partial Fractions?

Click For Summary
The discussion focuses on solving the integral $$\int_0^{\infty}\frac{2x-4}{(x^2+1)(2x+1)}$$ using partial fractions. The initial poster correctly sets up the equation but struggles with the resulting system of equations for the coefficients. Suggestions include using elimination to simplify the equations and a method of substituting specific values to find the coefficients directly. Ultimately, the poster successfully determines the values of the coefficients as $b=0$, $c=-4$, and $a=2$, allowing for easier integration. The conversation highlights various methods for solving integration problems involving partial fractions.
Petrus
Messages
702
Reaction score
0
Hello MHB,
I got stuck on this integrate
$$\int_0^{\infty}\frac{2x-4}{(x^2+1)(2x+1)}$$
and my progress
$$\int_0^{\infty} \frac{2x-4}{(x^2+1)(2x+1)} = \frac{ax+b}{x^2+1}+ \frac{c}{2x+1}$$
then I get these equation that I can't solve
and I get these equation..
$$2a+c=0$$ that is for $$x^2$$
$$2b+a=2$$ that is for $$x$$
$$b+c=-4$$ that is for $$x^0$$
What have I done wrong?

Regards,
$$|\pi\rangle$$
 
Physics news on Phys.org
Re: partial fractions

The only thing I see wrong (besides omitting the differential from your original integral) is the line:

Petrus said:
$$\int_0^{\infty} \frac{2x-4}{(x^2+1)(2x+1)} = \frac{ax+b}{x^2+1}+ \frac{c}{2x+1}$$

You should simply write:

$$\frac{2x-4}{(x^2+1)(2x+1)} = \frac{ax+b}{x^2+1}+ \frac{c}{2x+1}$$

You have correctly determined the resulting linear system of equations. Can you choose and use a method with which to solve it?
 
Re: partial fractions

MarkFL said:
The only thing I see wrong (besides omitting the differential from your original integral) is the line:
You should simply write:

$$\frac{2x-4}{(x^2+1)(2x+1)} = \frac{ax+b}{x^2+1}+ \frac{c}{2x+1}$$

You have correctly determined the resulting linear system of equations. Can you choose and use a method with which to solve it?
Thanks for pointing that!:) I have actually no clue how to solve it, I don't know what method I should use.

Regards,
$$|\pi\rangle$$
 
Re: partial fractions

My choice would be elimination. Try subtracting the third equation from the first, and this will eliminate $c$, then combine this result with the second equation and you have a 2X2 system in $a$ and $b$. Can you state this system?
 
Re: partial fractions

MarkFL said:
My choice would be elimination. Try subtracting the third equation from the first, and this will eliminate $c$, then combine this result with the second equation and you have a 2X2 system in $a$ and $b$. Can you state this system?
I made it like a matrice and solved it :) Thanks for the help and sorry for not posting the progress but now I get $$b=0, c=-4, a=2$$ and that works fine when I put those value in the equation!:)

Regards,
$$|\pi\rangle$$
 
Re: partial fractions

Any valid method you choose is fine. Your solution is correct and now integration is a breeze. (Rock)
 
Re: partial fractions

$$2x-4 = (ax+b)(2x+1)+c(x^2+1)$$

Try the following method to find the constants

First Let $x = -{1 \over 2}$ then you can easily find $c $

Second Let $x =0$ you can find $b$ since you are given $c$

Finally find $a$ given $b$ and $c$ .
 
Re: partial fractions

MarkFL said:
The only thing I see wrong (besides omitting the differential from your original integral) is the line:
You should simply write:

$$\frac{2x-4}{(x^2+1)(2x+1)} = \frac{ax+b}{x^2+1}+ \frac{c}{2x+1}$$

You have correctly determined the resulting linear system of equations. Can you choose and use a method with which to solve it?

Here's a fancy little trick (more commonly used in complex analysis; similar to Zaid's) to get through these sorts of problems. Rather than solving a system of equations, one can simply "plug in some numbers" to get to the answer.

Let's begin at the point where we know that

$$\frac{2x-4}{(x^2+1)(2x+1)} = \frac{ax+b}{x^2+1}+ \frac{c}{2x+1}$$

First of all, multiplying both sides by $$2x+1$$, we have

$$\frac{2x-4}{(x^2+1)} = (2x+1)\frac{ax+b}{x^2+1}+ c$$

Now, having multiplied by our choice of term in the denominator, we plug in a value of x that makes this term zero. $$2x+1=0$$ when $$x=-\frac{1}{2}$$, so plug in that value. The first term on the right becomes zero after multiplying, leaving you with:

$$\frac{2(-\frac{1}{2})-4}{((-\frac{1}{2})^2+1)} = c$$

simply plug into find the answer (c = 4).
We can do something similar with $$x^2+1$$. First of all, multiply both sides to get

$$\frac{2x-4}{2x+1} = ax+b+ (x^2+1)\frac{c}{2x+1}$$

Now, we plug in a value of x that makes this term become zero. In this case, we note that $$x^2+1=0$$ when $$x=\pm i$$. Choosing $$x=i$$ and noting that the second term on the right multiplies to zero, this becomes

$$\frac{2i-4}{2i+1} = b + a i$$

Which, after some complex-number algebra, gives you a real and imaginary part corresponding to b and a. That is, the above evaluates to $$0 + 2i$$, telling you that a = 2 and b = 0.

This method is particularly useful when you only want to find a particular term without solving for the rest. Note that this method does not work for irreducible terms in the denominator taken to powers greater than 1; that requires a more subtle approach.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K