An affine variety in is the common zero set of a collection of polynomials in , with its Zariski topology. We use the convention of this question that such a variety need not be irreducible. Its vanishing ideal and coordinate ring are
The quotient identifies polynomials that give the same function on , so its elements are exactly polynomial functions on .
For affine embeddings and , a morphism of affine varieties is a map with and image in . Pullback of polynomial functions defines the contravariant homomorphism
It is well defined because any polynomial vanishing on pulls back to zero on , and it preserves addition, multiplication, one, and the constants in .
Polynomial functions are regular, giving an injective map ; injectivity follows from quotienting by the full vanishing ideal. To prove surjectivity, let be globally regular and consider the denominator ideal
It is an ideal because sums and polynomial multiples preserve this property.
Fix . Locally on a neighbourhood of , with nonzero there. Principal affine opens form a basis, so choose with and . Then
as functions on all of : on it follows from the local fraction, and off both sides vanish because . Hence and .
Thus has no common zero on . By the weak Nullstellensatz for , every proper ideal lies in a maximal ideal belonging to a point of ; therefore cannot be proper. We get , so itself is polynomial. This proves
The argument works for reducible affine varieties as well: it uses functions and denominator ideals rather than assuming a single fraction field.
For an affine variety with vanishing ideal , its Zariski tangent space at is
The dimension from minimum tangent dimension is
Now let with irreducible. The Strong Hilbert Nullstellensatz gives , so
Its dimension is at least , and it is exactly wherever .
It remains to find such a point in positive characteristic . If every partial derivative of were the zero polynomial, every exponent occurring in would be divisible by . Since the algebraically closed field is perfect, all coefficients have th roots and would be a th power, contradicting irreducibility. Thus some partial derivative is nonzero. If the gradient nevertheless vanished at every point of , the Nullstellensatz would imply . This is impossible because . The smooth point on an irreducible hypersurface in positive characteristic therefore exists, and