normal form of a polynomial modulo an ideal
full reduction of a polynomial
NormalForm(f, G, T, Q, characteristic=p)
Reduce(f, G, T, s, Q, characteristic=p)
a polynomial or a list or set of polynomials
a list of polynomials or a PolynomialIdeal
a MonomialOrder or ShortMonomialOrder
(optional) name - assigned quotients
(optional) name - assigned denominator
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=f−∑i=1n⁡Qi⁢Gi 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.
19 x 19 with 2 rhs
symbolic preproc 0.002 sec
linear solve 0.001 sec
build result 0.000 sec
The next example is a non-commutative (Weyl) algebra where Dn*n = n*Dn + 1
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.
Download Help Document
What kind of issue would you like to report? (Optional)