>
|
|
| (1) |
We first consider lexicographic order with x > y > z > w > t. The terms of f can be ordered by Maple's sort command.
>
|
|
| (2) |
The LeadingTerm command returns the sequence (leading monomial, leading coefficient). To construct the actual term we multiply its output using `*`.
>
|
|
There are two ways of computing the smallest term with respect to a monomial order. One is to use the "reverse variant" and compute the leading term. We can also use the TrailingTerm command.
>
|
|
>
|
|
Next we consider graded lexicographic order with x > y > z > w > t. Terms are compared first by their total degree, with ties broken by lexicographic order. This is the default order for Maple's sort command.
>
|
|
| (6) |
>
|
|
>
|
|
We can examine the terms of maximal degree using the InitialForm command. All but two terms have total degree 6.
>
|
|
| (9) |
Here are the terms of f sorted in (ascending) graded-reverse lexicographic order. Among the last three terms, ties are broken by smallest degree in t, then w, and finally z before the order of the monomials is determined.
>
|
|
| (11) |
In the elimination order below, we compare monomials first using tdeg(x,y) with ties broken by tdeg(z,w,t). In a Groebner basis computation using this order, the variables {x,y} would be eliminated as much as possible from the polynomial system.
>
|
|
| (12) |
Next we consider a weighted degree order. Each power of x counts for two, while each power of y counts for one half. The remaining variables count for one.
>
|
|
>
|
|
All of the builtin orders have representations as matrix orders. We will represent graded reverse lexicographic order as a matrix order and compute the leading term of f.
>
|
|
| (15) |
| (16) |
>
|
|
For examples of multivariate polynomial division see Groebner[NormalForm]. To compute Groebner bases, use the Groebner[Basis] command. To define monomial orders other than the ones on this page, see Groebner[MonomialOrder].