The function associatedPrimes returns a list of the associated prime ideals for a given ideal I. The associated prime ideals correspond to the irreducible components of the variety associated to I. They are useful in many applications in commutative algebra, algebraic geometry and combinatorics.



See primary decomposition for more information about finding primary decompositions. To find just the minimal prime ideals see minimal primes of an ideal.