PolynomialIdeals
PrimaryDecomposition
compute a primary decomposition of an ideal
PrimeDecomposition
compute a prime decomposition of the radical of an ideal
Calling Sequence
Parameters
Options
Description
Examples
References
Compatibility
PrimaryDecomposition(J, k, removeredundant=b)
PrimeDecomposition(J, k, removeredundant=b)
J
-
polynomial ideal
k
(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.
with⁡PolynomialIdeals:
J≔x2,x⁢y+x
PrimeDecomposition⁡J
x
PrimaryDecomposition⁡J
x,x2,y+1
J≔x2−2,y2+1,z2+2
P≔PrimaryDecomposition⁡J
P≔x2−2,y2+1,z2+2,−x⁢y+z,x2−2,y2+1,z2+2,x⁢y+z
Intersect⁡P
x2−2,y2+1,z2+2
K≔J,characteristic=5
K≔x2+3,y2+1,z2+2
P≔PrimaryDecomposition⁡K
P≔y+2,z+2⁢x,x2+3,y2+1,z2+2,y+2,z+3⁢x,x2+3,y2+1,z2+2,y+3,z+2⁢x,x2+3,y2+1,z2+2,y+3,z+3⁢x,x2+3,y2+1,z2+2
P≔Simplify⁡P
P≔y+2,z+2⁢x,x2+3,y+2,z+3⁢x,x2+3,y+3,z+2⁢x,x2+3,y+3,z+3⁢x,x2+3
x2+3,y2+1,z2+2
L≔x⁢z2−2⁢x⁢y,y2−z2⁢x
L≔−x⁢z2+y2,x⁢z2−2⁢x⁢y
P≔PrimaryDecomposition⁡L
P≔x,y2,y,z2,−z2+4⁢x,−z2+2⁢y
IdealContainment⁡L,Intersect⁡P,L
true
H≔x2+y2−1,x+y
H≔x+y,x2+y2−1
PrimeDecomposition⁡H
x+y,x2+y2−1
alias⁡α=RootOf⁡z2−2
α
P≔PrimeDecomposition⁡H,α
P≔x+y,2⁢x−α,x2+y2−1,x+y,2⁢x+α,x2+y2−1
Simplify⁡P
2⁢x−α,α+2⁢y,2⁢x+α,−α+2⁢y
Redundant components are not removed by default:
PrimaryDecomposition⁡x⁢y,x2+x
x,x,y,y,x+1
PrimaryDecomposition⁡x⁢y,x2+x,removeredundant
x,y,x+1
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.
See Also
Groebner[Solve]
PolynomialIdeals[IdealContainment]
PolynomialIdeals[Intersect]
PolynomialIdeals[IsPrimary]
PolynomialIdeals[IsPrime]
PolynomialIdeals[Radical]
PolynomialIdeals[Simplify]
PolynomialIdeals[ZeroDimensionalDecomposition]
Download Help Document