NormalForm - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Groebner

  

NormalForm

  

normal form of a polynomial modulo an ideal

  

Reduce

  

full reduction of a polynomial

 

Calling Sequence

Parameters

Description

Examples

References

Calling Sequence

NormalForm(f, G, T, Q, characteristic=p)

Reduce(f, G, T, s, Q, characteristic=p)

Parameters

f

-

a polynomial or a list or set of polynomials

G

-

a list of polynomials or a PolynomialIdeal

T

-

a MonomialOrder or ShortMonomialOrder

Q

-

(optional) name - assigned quotients

p

-

(optional) characteristic

s

-

(optional) name - assigned denominator

Description

• 

The NormalForm command computes the remainder of a multivariate polynomial f divided by a list of multivariate polynomials G.  The division takes place with respect to a monomial order T.  If G is a Groebner basis with respect to T then the result is a canonical representative for the equivalence class of f modulo G. A list of quotients can be assigned to an optional fourth argument Q.

• 

The Reduce command is similar to NormalForm, except that denominators are cleared and content is removed. The result is a scaled remainder r, denominator s, and quotients Q such that rs=fi=1nQiGi where r/s is the normal form. Note that NormalForm and Reduce return the same quotients Q (they are not scaled by s).

• 

If the first argument is a list or set then a sparse algorithm based on linear algebra is used to divide all the polynomials simultaneously.  This is more efficient than mapping NormalForm or Reduce over the list or set.  It is also more efficient when a lot of reduction steps are expected (the polynomials involved have high degree or many terms).  The sparse algorithm does not compute quotients. Setting infolevel[F4] to either 4 or 5 will output information about the size of the linear system being solved.

• 

If T is a ShortMonomialOrder then the elements of f and G must be polynomials in the ring implied by T.  If T is a MonomialOrder created with the Groebner[MonomialOrder] command, then the elements of f and G must be members of the algebra used to define T.  If G is a PolynomialIdeal, a Groebner basis with respect to T is computed automatically and used for the division.

• 

The optional argument characteristic=p can be used to specify the ring characteristic when G is a list of polynomials and T is a ShortMonomialOrder.  The default value is zero.

• 

Note that the normalf and reduce commands have been superseded by NormalForm and Reduce. They are now deprecated, and may not be supported in a future Maple release.

Examples

withGroebner:

Fx22xz+5,xy2+yz3,3y28z3

Fx22xz+5,yz3+xy2,8z3+3y2

(1)

GBasisF,tdegx,y,z

Gx22xz+5,8z33y2,8xy2+3y3,9y4+48y3z+320y2

(2)

p320xy2+9xy496z2y4x+1600y318y5xz592xzy3+45y5+240zy4

p18y5xz96z2y4x+9xy4592xzy3+45y5+240zy4+320xy2+1600y3

(3)

NormalFormp,G,tdegx,y,z,Q

0

(4)

Q

0,0,94y3z12z2y2+98y274zy+40,34zy2+378y

(5)

rpaddQiGi,i=1..nopsG

r18y5xz96z2y4x+9xy4592xzy3+45y5+240zy4+320xy2+1600y394y3z12z2y2+98y274zy+408xy2+3y334zy2+378y9y4+48y3z+320y2

(6)

expandr

0

(7)

q3x3yz2xz2+y3+yz

q3x3yz2xz2+y3+zy

(8)

NormalFormq,G,tdegx,y,z

9y3z215yz2xxz2414y3+60zy2+zy

(9)

Reduceq,G,tdegx,y,z,s

36y3z260yz2x4xz241y3+240zy2+4zy

(10)

s

4

(11)

infolevelF45:

NormalFormp,q,G,tdegx,y,z

 19 x 19 with 2 rhs
 symbolic preproc       0.001 sec
 linear solve           0.001 sec
 build result           0.000 sec

0,9y3z215yz2xxz2414y3+60zy2+zy

(12)

The next example is a non-commutative (Weyl) algebra where Dn*n = n*Dn + 1

withOre_algebra:

Adiff_algebraDn,n

AOre_algebra

(13)

TMonomialOrderA,tdegDn

Tmonomial_order

(14)

w17nDn+1

w17nDn+1

(15)

w25Dn2

w25Dn2

(16)

Reduceskew_productn5Dn41,w1,A,w1,T

0

(17)

wskew_productskew_productnDn+5,w1,A,skew_productn3Dn2,w2,A,A+Dn51

w35n5Dn5+14n5+425n4Dn4+170n4+880n3Dn3352n3Dn2+Dn51

(18)

Reducew,w1,w2,T,s

−1

(19)

s

16807n5225008n6+16807n5+76560

(20)

rNormalFormw,w1,w2,T,Q

r225008n616807n57656016807n5

(21)

Q

5Dn4n42Dn3n4+40n3Dn318n3Dn2+Dn47n82n2Dn729Dn349n2+656n49+638Dn2343n39570Dn2401n4+7656016807n5,0

(22)

normalwskew_productQ1,w1,A+skew_productQ2,w2,A,expanded

225008n616807n57656016807n5

(23)

References

  

Cox, D.; Little, J.; and O'Shea, D. Ideals, Varieties, and Algorithms. 2nd ed. Springer-Verlag, 1997.

  

Pearce, R., and Monagan, M. "A Sparse Algorithm for Polynomial Division with Application to F4." In preparation, 2006.

See Also

Basis

InterReduce

MonomialOrder