[Math] Using long division to divide one polynomial by another of a higher degree

polynomialsrational-functionsreal-analysis

My friend and I were finding the series expansion of the function $\frac{2x}{x^2+1}$. I naturally went for the Maclaurin expansion method, using the differentials to find the series expansion.
The answer I got (which is correct) is $$\sum_{n=0}^\infty (-1)^n 2x^{(2n+1)} $$
The problem is, this took me a while to differentiate enough to see the pattern. My friend, however did something much faster – he used long division!
$$
\require{enclose}
\begin{array}{r}
\end{array}
{x^2+1} \enclose{longdiv}{2x} $$
Apparently, instead of using the $x^2$ (the highest power of x) as the subject for his division, he used 1 (the lowest power of $x$), and he got the answer almost immediately. Example: 1 goes into $2x$ $2x$ times, and $(2x)({x^2+1}) = ({2x^3+2x})$. Subtract this from $2x$ and continue.

I couldn't find any evidence of this type of long division anywhere, and I'm having trouble understanding the logic behind it. How can he start subtracting something larger than $2x$ from $2x$? What sort of long division is this?

Could someone please help me understand?

Best Answer

The reason we usually go with the leading term in polynomial division is because this will make it so that we cancel out the leading term in the numerator. This makes the total degree of what we're working with go down and we stop when we can't go any further.

But, this only works if the leading term of the denominator is smaller than the leading term of the numerator. So we shouldn't be able to apply it to something like $\frac{2x}{x^2+1}$.

But, note that the final term in the denominator has smaller degree than the final term in the numerator. This means that we can always make the final terms equal. Doing it like this will make the total degree of the output larger, hence we get the series expansion for the rational function.

So, in your example, $2x=2x(x^2+1)-2x^3$. Here we're just making the $+1$ part of $x^2+1$ equal to $2x$ and then subtracting out whatever is leftover (some may say the remainder). With this, you can write

$$ \frac{2x}{x^2+1} = 2x - \frac{2x^3}{x^2+1} $$ Note that the power in the numerator increased, so we can do this again, but with $-\frac{2x^3}{x^2+1}$. In this case, $-2x^3=-2x^3(x^2+1) + 2x^5$, and so overall we have $$ \frac{2x}{x^2+1} = 2x - 2x^3 + \frac{2x^5}{x^2+1} $$ And, again, the power in the numerator increased. Since we can increase this without bound, we can continue on to obtain the power series expansion.

Related Question