My question has to do with changing improper rational functions to the sum of a polynomial and proper rational function. If it matters, the context of this is inverse Z-transforms.
My textbook says to do this by doing polynomial long division with the polynomials written in **reverse** order. But I have assignments where the solutions do the long division in the original order, and if I tried doing it in reverse order, I get an answer with different signs that I can't easily factor.
Textbook example (reverse order):
Assignment example (normal order):
Now, if I do the assignment example using the reverse order, I get:
...which I can't factor out the denominator in the nice way it was done in the normal order example.
So what's the deal here? Does the order I do the division not matter, and I should just choose the one that gives me the easier answer to work with? Or is one right and the other wrong?