The coordinate ring of an affine variety in the
-dimensional affine
space
,
where
is an algebraically closed field,
is the quotient ring
where
is the ideal of all polynomials
with coefficients in
that vanish at every point of
. If
is the entire affine space
, this ideal
is the zero ideal, so the coordinate ring is the polynomial ring
. For a plane curve
defined by the Cartesian equation
in the affine plane
, with
a nonzero polynomial, the coordinate
ring of its zero locus is
, where
is the ideal radical
of
.
It equals
when
already equals its ideal radical (Milne 2024, pp. 47-48).
In general, the Krull dimension of equals the dimension of
as a closed
set in the Zariski topology of
. Two polynomials
and
define the same function on
iff
. Hence the elements
of
are equivalence classes identified with the
polynomial functions from
to
.
More generally, the coordinate ring of an affine scheme is the ring
of global sections
of its structure
sheaf. For
,
it is naturally isomorphic to
(Stacks Project, Tag 01HV). Unlike the coordinate ring of
an affine variety, it need not be a reduced
ring. For example,
contains a nonzero nilpotent element, the class
of
,
whereas the coordinate ring of its reduced zero locus is
. A nilpotent element
maps to zero at every point valued in a field,
so point values alone do not recover the coordinate ring of a nonreduced affine
scheme.