Urutan Leksikografis

In algebra it is traditional to order terms in a polynomial, by ordering the monomials in the indeterminates. This is fundamental, to have a normal form. Such matters are typically left implicit in discussion between humans, but must of course be dealt with exactly in computer algebra. In practice one has an alphabet of indeterminates "X", "Y", ... and orders all monomials formed from them by a variant of lexicographical order. For example if one decides to order the alphabet by