RegularChains
MainDegree
main degree of a nonconstant polynomial
Calling Sequence
Parameters
Description
Examples
MainDegree(p, R)
R
-
polynomial ring
p
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](..).
with⁡RegularChains:
R≔PolynomialRing⁡x,y,z
R≔polynomial_ring
p≔y+1⁢x3+z+4⁢x+3
MainVariable⁡p,R
x
Initial⁡p,R
y+1
MainDegree⁡p,R
3
Rank⁡p,R
x3
Tail⁡p,R
x⁢z+4⁢x+3
Change the ordering of the variable.
R≔PolynomialRing⁡z,y,x
p≔expand⁡y+1⁢x3+z+4⁢x+3
p≔x3⁢y+x3+x⁢z+4⁢x+3
z
1
x3⁢y+x3+4⁢x+3
Set the characteristic to 3.
R≔PolynomialRing⁡z,y,x,3
p≔x+y3⁢z3+3⁢z2+2⁢z+y+4
x3+y3
z3
y+2⁢z+1
See Also
Initial
MainVariable
PolynomialRing
Rank
Separant
Tail
Download Help Document