main variable of a nonconstant polynomial - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Factorization and Solving Equations : RegularChains : RegularChains/MainVariable

RegularChains[MainVariable] - main variable of a nonconstant polynomial

Calling Sequence

MainVariable(p, R)

Parameters

R

-

polynomial ring

p

-

polynomial of R

Description

• 

The function call MainVariable(p,R) returns the greatest variable of p with respect to the variable ordering of R.

• 

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 MainVariable(..) only after executing the command with(RegularChains).  However, it can always be accessed through the long form of the command by using RegularChains[MainVariable](..).

Examples

withRegularChains:

R:=PolynomialRingx,y,z

R:=polynomial_ring

(1)

p:=y+1x3+z+4x+3

p:=y+1x3+z+4x+3

(2)

MainVariablep,R

x

(3)

Initialp,R

y+1

(4)

MainDegreep,R

3

(5)

Rankp,R

x3

(6)

Tailp,R

xz+4x+3

(7)

Change the ordering of the variable.

R:=PolynomialRingz,y,x

R:=polynomial_ring

(8)

p:=expandy+1x3+z+4x+3

p:=x3y+x3+xz+4x+3

(9)

MainVariablep,R

z

(10)

Initialp,R

x

(11)

MainDegreep,R

1

(12)

Rankp,R

z

(13)

Tailp,R

x3y+x3+4x+3

(14)

Set the characteristic to 3.

R:=PolynomialRingz,y,x,3

R:=polynomial_ring

(15)

p:=x+y3z3+3z2+2z+y+4

p:=x+y3z3+3z2+2z+y+4

(16)

MainVariablep,R

z

(17)

Initialp,R

x3+y3

(18)

MainDegreep,R

3

(19)

Rankp,R

z3

(20)

Tailp,R

y+2z+1

(21)

See Also

Initial, MainDegree, PolynomialRing, Rank, RegularChains, Separant, Tail


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam