compute a primary decomposition of an ideal
compute a prime decomposition of the radical of an ideal
PrimaryDecomposition(J, k, removeredundant=b)
PrimeDecomposition(J, k, removeredundant=b)
(optional) field extension
removeredundant=b, where b is true or false
If removeredundant=true, or just removeredundant is specified, then the resulting decomposition is irredundant, i.e., no component can be omitted without changing the intersection. This is not the case by default, for efficiency reasons.
The PrimaryDecomposition command constructs a finite sequence of primary ideals whose intersection equals the input J. Likewise the PrimeDecomposition command constructs a sequence of prime ideals whose intersection is equal to the radical of J. Calling PrimeDecomposition(J) is faster but otherwise equivalent to calling PrimaryDecomposition(Radical(J)).
By default, ideals are factored over the domain implied by their coefficients - usually the rationals or the integers mod p. Additional field extensions can be specified with an optional second argument k, which can be a single RootOf or radical, or a list or set of RootOfs and radicals.
The output of these commands is not canonical, and may not be unique. However, a Groebner basis is stored for each ideal in the sequence so the Simplify command can be used at no additional cost.
The algorithms employed by these commands require polynomials over a perfect field. Infinite fields of positive characteristic are not supported. Over finite fields, only zero-dimensional ideals can be handled because the dimension reducing process generates infinite fields.
J ≔ x2,x⁢y+x
J ≔ x2−2,y2+1,z2+2
P ≔ PrimaryDecomposition⁡J
K ≔ J,characteristic=5
P ≔ PrimaryDecomposition⁡K
P ≔ Simplify⁡P
L ≔ x⁢z2−2⁢x⁢y,y2−z2⁢x
P ≔ PrimaryDecomposition⁡L
H ≔ x2+y2−1,x+y
P ≔ PrimeDecomposition⁡H,α
Redundant components are not removed by default:
Gianni, P.; Trager, B.; and Zacharias, G. "Grobner bases and primary decompositions of polynomial ideals." J. Symbolic Comput. Vol. 6, (1988): 149-167.
The PolynomialIdeals[PrimaryDecomposition] and PolynomialIdeals[PrimeDecomposition] commands were updated in Maple 2021.
The removeredundant option was introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
Download Help Document