> |
MATH 392 -- Seminar in Computational Commutative Algebra
Division with Quotients
The following procedure implements our division algorithm
and prints out the quotients as well as the remainder.
(The source code is available from the course home page.
You can download it, then copy and paste into a Maple
worksheet if you want to use it.)
> |
> | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
To use the procedure, we will enter the dividend and divisors first:
> | ![]() |
> | ![]() |
Then dividing f by the divisors in Plist
using the lex order gives:
> | ![]() |
The divisors are the elements of the list; the remainder is the
polynomial after the list. We check that the division went correctly:
> | ![]() |
> |
Same dividend and divisors, but using the graded reverse lex
order:
> | ![]() |
> | ![]() |
> |