Irreducible components of algebraic affine varieties

419 Views Asked by At

I'm trying to compute the irreducible components of an affine variety $V(U) = V(U_1) \cup V(U_2)$ . I already know that $V(U)$ is irreducible component if and only if the ideal $I(V(U))$ is prime, so, I suppose that I need to decompose the ideal into primes, but I don't know if there exists an algorithm (or an easier way to decompose varieties). Thanks in advance