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.