@Count_Iblis comment#11 :
i've tried to think in another way...
i supposed that x^4/(x^2-1)^4 = A/(x-1)^4 + B/(x+1)^4
i found A = B = 1/16
D.H. already pointed out that this can't be right. You can ask how you still found A and B and what that means. The terms A/(x-1)^4 and
B/(x+1)^4 correctly describe the leading behavior at the singularities at x = ±1. But there are less singular terms as well that are missing. The question is as always: How can you obtain the correct result with the least amount of computations?
In this case writing out the full partial fraction expansion with undetermined coefficients is not recommended, as that involves a lot unnecessary computations. The more computations you have to do, the greater the chances of error are. In general (not just for patial fractioin expansions), this means that you have to master many different methods to solve the same type of problems, even if one particular method would suffice. Learning to select an efficient method is as much part of learning math as learning to use some general method.
So, when you wrote down the partial fraction expansion of x/(x^2-1) to try to extract the partial fraction expansion of its fourth power, that was a good move. However, you went wrong when you wrote down the incomplete partial fraction expansion of the fourth power. So, let's try something different. We have:
[x/(x^2-1)]^4 = 1/(x-1)^4 [x/(x+1)]^4
What we need to do is to expand [x/(x+1)]^4 around
x = 1 to third order. That will yield all the singular terms of the expansion around x = 1. You then don't have to compute the singular terms of the expansion around x = -1, as they all follow from the first expansion by using that the function is an even function. Like partial fraction expansions, there are many different ways to do series expansions, and the method that is the most universal (i.e. using the Taylor expansion formula) is usually the most inefficient method and should thus be avoided. Let's write
x = 1 + t
then we need to expand in powers of t.
We have:
x/(x+1) = 1 - 1/(x+1) = 1 - 1/(2+t) =
1/2 + t/4 - t^2/8 + t^3/16 + ...
You can directly take the fourth power of this expansion. You can also take the logarithm, expand the logarithm, multiply by 4, take the exponential and then expand that. This is, believe it or not, far simpler than directly computing the fourth power:
Log[1/2 + t/4 - t^2/8 + t^3/16 + ...] =
Log(1/2) + Log[1 + t/2 - t^2/4 + t^3/8 + ...] =
Log(1/2) + t/2 - t^2/4 + t^3/8+... - (t/2 - t^2/4+...)^2/2 +
(t/2 +...)^3/3 +... =
Log(1/2) + t/2 - t^2/4 - t^2/8 + t^3/8+ t^3/8 + t^3/24 =
Log(1/2) + t/2 - 3/8 t^2 +7/24 t^3 + ...
We then have:
Exp[4 (Log(1/2) + t/2 - 3/8 t^2 +7/24 t^3 +...)] =
1/16 Exp[2 t - 3/2 t^2 + 7/6 t^3 + ...] =
1/16 [1 + (2 t - 3/2 t^2 + 7/6 t^3 + ...) + (2 t - 3/2 t^2 + ...)^2/2 + (2 t +...)^3/6 + ...] =
1/16 [1 + 2 t - 3/2 t^2 + 2 t^2 + 7/6 t^3 -3 t^3 + 4/3 t^3 + ...] =
1/16 + 1/8 t + 1/32 t^2 -1/32 t^3 + terms of order t^4 and higher
This yields the expansion:
1/(x-1)^4 [x/(x+1)]^4 =
1/16 1/(x-1)^4 + 1/8 1/(x-1)^3 + 1/32 1/(x-1)^2 -1/32 1/(x-1) + regular terms
If we now replace x by -x on both sides then the lefth hand side stays the same becaiuse the function is even. The full right hand side also stays the same if you include all the regular terms. However, the singular and regular terms separately do not stay the same. What is clear is that the singular terms of the expansion around 1 become precisely the singular terms in the expansion around -1. So, the sum of all the singular terms of both expansions is:
1/16 1/(x-1)^4 + 1/8 1/(x-1)^3 + 1/32 1/(x-1)^2 -1/32 1/(x-1)
1/16 1/(x+1)^4 - 1/8 1/(x+1)^3 + 1/32 1/(x+1)^2 + 1/32 1/(x+1)
And this is then the desired partial fraction expansion, as this expression has exactly the same singular behavior as the original ratonal expression. The difference between this expression and the rational function is certainly a rational function, but one without any siungularities and is thus a polynomial. However it is clear that for x to infinity, this polynomial would have to have a limit of zero, which means that the polynomial is in fact identical to zero.