Polynomial division

There is a long way to do this, which has the merits of being fairly straightforward and self-explanatory, as well as being able to deal with any sort of polynomials. You can find it described e.g. here.

There are a number of optimisations of the process designed to reduce the amount of un-necessary writing - for example Synthetic division, described here.

Exercises:

[polynomialdivxl]