Suppose first that the affine variety is irreducible. If , then
Both pieces are Zariski closed in . Irreducibility forces one to equal , so either or . Thus is a prime ideal.
Conversely, suppose that is prime and that with closed in . If both were proper, the Hilbert Nullstellensatz would give
Choose and . Their product vanishes on , so , contradicting primality. Hence one piece equals . This proves the criterion of irreducibility and prime vanishing ideal:
For the semicubical parabola
consider
Certainly . Divide any polynomial by the monic polynomial as a polynomial in ; its remainder is . If this remainder lies in , then
The first summand contains only odd powers of and the second only even powers, so both vanish and . Therefore
The latter is a subring of the integral domain , hence is a domain. Thus is prime and
An affine variety of dimension is smooth at when its Zariski tangent space has dimension ; equivalently, the Jacobian criterion requires the Jacobian of its defining ideal to have rank . For this plane curve, put . Its gradient is
At the gradient vanishes, so the tangent space is all of and has dimension two rather than the curve dimension one. Hence the result on the coordinate ring and singularity of the semicubical parabola gives