main degree of a nonconstant polynomial
polynomial of R
The function call MainDegree(p,R) returns the main degree of p, that is, the degree of p with respect to its main variable.
It is assumed that p is a nonconstant polynomial.
This command is part of the RegularChains package, so it can be used in the form MainDegree(..) only after executing the command with(RegularChains). However, it can always be accessed through the long form of the command by using RegularChains[MainDegree](..).
R ≔ PolynomialRing⁡x,y,z
p ≔ y+1⁢x3+z+4⁢x+3
Change the ordering of the variable.
R ≔ PolynomialRing⁡z,y,x
p ≔ expand⁡y+1⁢x3+z+4⁢x+3
Set the characteristic to 3.
R ≔ PolynomialRing⁡z,y,x,3
p ≔ x+y3⁢z3+3⁢z2+2⁢z+y+4
Download Help Document