# leadMonomial -- the leading monomial of a ring element

## Synopsis

• Usage:
• Inputs:
• f, , a polynomial
• Outputs:
• , the monomial, with no coefficient, of the leading term of f

## Description

The leading term is with respect to the monomial ordering in the ring. See monomial orderings for details.

 i1 : R = ZZ/5[a,b,c]; f = a*b^2 + 3*b*c^3 + 2; i3 : leadMonomial f 3 o3 = b*c o3 : R i4 : S = ZZ/5[a,b,c, MonomialOrder => Lex]; g = a*b^2 +3*b*c^3 + 2; i6 : leadMonomial g 2 o6 = a*b o6 : S

• leadComponent -- the leading component(s) of a vector or matrix
• leadMonomial -- the leading monomial of a ring element
• leadTerm -- get the greatest term
• monomials -- matrix of monomials in a ring element or matrix
• someTerms -- select some terms of a polynomial
• terms -- provide a list of terms of a polynomial