# Hilbert's Nullstellensatz

In mathematics, Hilbert's Nullstellensatz (German for "theorem of zeros", or more literally, "zero-locus-theorem") is a theorem that establishes a fundamental relationship between geometry and algebra. This relationship is the basis of algebraic geometry. It relates algebraic sets to ideals in polynomial rings over algebraically closed fields. This relationship was discovered by David Hilbert, who proved the Nullstellensatz in his second major paper on invariant theory in 1893 (following his seminal 1890 paper in which he proved Hilbert's basis theorem).

## Formulation

Let $k$ be a field (such as the rational numbers) and $K$ be an algebraically closed field extension of $k$ (such as the complex numbers). Consider the polynomial ring $k[X_{1},\ldots ,X_{n}]$ and let $I$ be an ideal in this ring. The algebraic set $\mathrm {V} (I)$ defined by this ideal consists of all $n$-tuples $\mathbf {x} =(x_{1},\dots ,x_{n})$ in $K^{n}$ such that $f(\mathbf {x} )=0$ for all $f$ in $I$. Hilbert's Nullstellensatz states that if p is some polynomial in $k[X_{1},\ldots ,X_{n}]$ that vanishes on the algebraic set $\mathrm {V} (I)$, i.e. $p(\mathbf {x} )=0$ for all $\mathbf {x}$ in $\mathrm {V} (I)$, then there exists a natural number $r$ such that $p^{r}$ is in $I$.
An immediate corollary is the weak Nullstellensatz: The ideal $I\subseteq k[X_{1},\ldots ,X_{n}]$ contains 1 if and only if the polynomials in $I$ do not have any common zeros in K$^n$. Specializing to the case $k=K=\mathbb {C} ,n=1$, one immediately recovers a restatement of the fundamental theorem of algebra: a polynomial P in $\mathbb {C} [X]$ has a root in $\mathbb {C}$ if and only if deg P ≠ 0. For this reason, the (weak) Nullstellensatz has been referred to as a generalization of the fundamental theorem of algebra for multivariable polynomials. The weak Nullstellensatz may also be formulated as follows: if I is a proper ideal in $k[X_{1},\ldots ,X_{n}],$ then V(I) cannot be empty, i.e. there exists a common zero for all the polynomials in the ideal in every algebraically closed extension of k. This is the reason for the name of the theorem, the full version of which can be proved easily from the 'weak' form using the Rabinowitsch trick. The assumption of considering common zeros in an algebraically closed field is essential here; for example, the elements of the proper ideal (X$^2$ + 1) in $\mathbb {R} [X]$ do not have a common zero in $\mathbb {R} .$
With the notation common in algebraic geometry, the Nullstellensatz can also be formulated as
    ${\hbox{I}}({\hbox{V}}(J))={\sqrt {J}}$
for every ideal J. Here, ${\sqrt {J}}$ denotes the radical of J and I(U) is the ideal of all polynomials that vanish on the set U.
In this way, taking $k=K$ we obtain an order-reversing bijective correspondence between the algebraic sets in K$^n$ and the radical ideals of $K[X_{1},\ldots ,X_{n}].$ In fact, more generally, one has a Galois connection between subsets of the space and subsets of the algebra, where "Zariski closure" and "radical of the ideal generated" are the closure operators.
As a particular example, consider a point $P=(a_{1},\dots ,a_{n})\in K^{n}$. Then $I(P)=(X_{1}-a_{1},\ldots ,X_{n}-a_{n})$. More generally,
    ${\sqrt {I}}=\bigcap _{(a_{1},\dots ,a_{n})\in V(I)}(X_{1}-a_{1},\dots ,X_{n}-a_{n}).$
Conversely, every maximal ideal of the polynomial ring $K[X_{1},\ldots ,X_{n}]$ (note that $K$ is algebraically closed) is of the form $(X_{1}-a_{1},\ldots ,X_{n}-a_{n})$ for some $a_{1},\ldots ,a_{n}\in K$.
As another example, an algebraic subset W in K$^n$ is irreducible (in the Zariski topology) if and only if $I(W)$ is a prime ideal.

## Proofs

There are many known proofs of the theorem. Some are non-constructive, such as the first one. Others are constructive, as based on algorithms for expressing 1 or p$^r$ as a linear combination of the generators of the ideal.

### Using Zariski's lemma

Zariski's lemma asserts that if a field is finitely generated as an associative algebra over a field k, then it is a finite field extension of k (that is, it is also finitely generated as a vector space).
Here is a sketch of a proof using this lemma.
Let $A=k[t_{1},\ldots ,t_{n}]$ (k algebraically closed field), I an ideal of A, and V the common zeros of I in $k^{n}$. Clearly, ${\sqrt {I}}\subseteq I(V)$. Let $f\not \in {\sqrt {I}}$. Then $f\not \in {\mathfrak {p}}$ for some prime ideal ${\mathfrak {p}}\supseteq I$ in A. Let $R=(A/{\mathfrak {p}})[f^{-1}]$ and ${\mathfrak {m}}$ a maximal ideal in $R$. By Zariski's lemma, $R/{\mathfrak {m}}$ is a finite extension of k; thus, is k since k is algebraically closed. Let $x_{i}$ be the images of $t_{i}$ under the natural map $A\to k$ passing through $R$. It follows that $x=(x_{1},\ldots ,x_{n})\in V$ and $f(x)\neq 0$.

### Using resultants

The following constructive proof of the weak form is one of the oldest proofs (the strong form results from the Rabinowitsch trick, which is also constructive).
The resultant of two polynomials depending on a variable x and other variables is a polynomial in the other variables that is in the ideal generated by the two polynomials, and has the following properties: if one of the polynomials is monic in x, every zero (in the other variables) of the resultant may be extended into a common zero of the two polynomials.
The proof is as follows.
If the ideal is principal, generated by a non-constant polynomial p that depends on x, one chooses arbitrary values for the other variables. The fundamental theorem of algebra asserts that this choice can be extended to a zero of p.
In the case of several polynomials $p_{1},\ldots ,p_{n},$ a linear change of variables allows to suppose that $p_{1}$ is monic in the first variable x. Then, one introduces $n-1$ new variables $u_{2},\ldots ,u_{n},$ and one considers the resultant
    $R=\operatorname {Res} _{x}(p_{1},u_{2}p_{2}+\cdots +u_{n}p_{n}).$
As R is in the ideal generated by $p_{1},\ldots ,p_{n},$ the same is true for the coefficients in R of the monomials in $u_{2},\ldots ,u_{n}.$ So, if 1 is in the ideal generated by these coefficients, it is also in the ideal generated by $p_{1},\ldots ,p_{n}.$ On the other hand, if these coefficients have a common zero, this zero can be extended to a common zero of $p_{1},\ldots ,p_{n},$ by the above property of the resultant.
This proves the weak Nullstellensatz by induction on the number of variables.

### Using Gröbner bases

A Gröbner basis is an algorithmic concept that was introduced in 1973 by Bruno Buchberger. It is presently fundamental in computational geometry. A Gröbner basis is a special generating set of an ideal from which most properties of the ideal can easily be extracted. Those that are related to the Nullstellensatz are the following:
* An ideal contains 1 if and only if its reduced Gröbner basis (for any monomial ordering) is 1.
* The number of the common zeros of the polynomials in a Gröbner basis is strongly related to the number of monomials that are irreducibles by the basis. Namely, the number of common zeros is infinite if and only if the same is true for the irreducible monomials; if the two numbers are finite, the number of irreducible monomials equals the numbers of zeros (in an algebraically closed field), counted with multiplicities.
* With a lexicographic monomial order, the common zeros can be computed by solving iteratively univariate polynomials (this is not used in practice since one knows better algorithms).
* Strong Nullstellensatz: a power of p belongs to an ideal I if and only the saturation of I by p produces the Gröbner basis 1. Thus, the strong Nullstellensatz results almost immediately from the definition of the saturation.

## Generalizations

The Nullstellensatz is subsumed by a systematic development of the theory of Jacobson rings, which are those rings in which every radical ideal is an intersection of maximal ideals. Given Zariski's lemma, proving the Nullstellensatz amounts to showing that if k is a field, then every finitely generated k-algebra R (necessarily of the form R=k[t$_1$, ⋯, t$_n$]/I{\textstyle R=k[t_{1}, \cdots , t_{n}]/I}) is Jacobson. More generally, one has the following theorem:
    Let $R$ be a Jacobson ring. If $S$ is a finitely generated R-algebra, then $S$ is a Jacobson ring. Furthermore, if ${\mathfrak {n}}\subseteq S$ is a maximal ideal, then ${\mathfrak {m}}:={\mathfrak {n}}\cap R$ is a maximal ideal of R{\textstyle R}, and $S/{\mathfrak {n}}$ is a finite extension of $R/{\mathfrak {m}}$.
Other generalizations proceed from viewing the Nullstellensatz in scheme-theoretic terms as saying that for any field k and nonzero finitely generated k-algebra R, the morphism SpecR→Speck{\textstyle \mathrm {Spec} \, R\to \mathrm {Spec} \, k} admits a section étale-locally (equivalently, after base change along SpecL→Speck{\textstyle \mathrm {Spec} \, L\to \mathrm {Spec} \, k} for some finite field extension L/k{\textstyle L/k}). In this vein, one has the following theorem:
    Any faithfully flat morphism of schemes f:Y→X{\textstyle f:Y\to X} locally of finite presentation admits a quasi-section, in the sense that there exists a faithfully flat and locally quasi-finite morphism g:X$^′$→X{\textstyle g:X'\to X} locally of finite presentation such that the base change f$^′$:Y×$_X$X$^′$→X$^′${\textstyle f':Y\times _{X}X'\to X'} of f{\textstyle f} along g{\textstyle g} admits a section. Moreover, if X{\textstyle X} is quasi-compact (resp. quasi-compact and quasi-separated), then one may take X$^′${\textstyle X'} to be affine (resp. X$^′${\textstyle X'} affine and g{\textstyle g} quasi-finite), and if f{\textstyle f} is smooth surjective, then one may take g{\textstyle g} to be étale.
Serge Lang gave an extension of the Nullstellensatz to the case of infinitely many generators:
    Let κ{\textstyle \kappa } be an infinite cardinal and let K{\textstyle K} be an algebraically closed field whose transcendence degree over its prime subfield is strictly greater than $\kappa$. Then for any set S{\textstyle S} of cardinality κ{\textstyle \kappa }, the polynomial ring A=K[x$_i$]$_{i∈S}${\textstyle A=K[x_{i}]_{i\in S}} satisfies the Nullstellensatz, i.e., for any ideal J⊂A{\textstyle J\subset A} we have that ${\sqrt {J}}={\hbox{I}}({\hbox{V}}(J))$.

## Effective Nullstellensatz

In all of its variants, Hilbert's Nullstellensatz asserts that some polynomial g belongs or not to an ideal generated, say, by f$_1$, ..., f$_k$; we have g = f$^r$ in the strong version, g = 1 in the weak form. This means the existence or the non-existence of polynomials g$_1$, ..., g$_k$ such that g = f$_1$g$_1$ + ... + f$_k$g$_k$. The usual proofs of the Nullstellensatz are not constructive, non-effective, in the sense that they do not give any way to compute the g$_i$.
It is thus a rather natural question to ask if there is an effective way to compute the g$_i$ (and the exponent r in the strong form) or to prove that they do not exist. To solve this problem, it suffices to provide an upper bound on the total degree of the g$_i$: such a bound reduces the problem to a finite system of linear equations that may be solved by usual linear algebra techniques. Any such upper bound is called an effective Nullstellensatz.
A related problem is the ideal membership problem, which consists in testing if a polynomial belongs to an ideal. For this problem also, a solution is provided by an upper bound on the degree of the g$_i$. A general solution of the ideal membership problem provides an effective Nullstellensatz, at least for the weak form.
In 1925, Grete Hermann gave an upper bound for ideal membership problem that is doubly exponential in the number of variables. In 1982 Mayr and Meyer gave an example where the g$_i$ have a degree that is at least double exponential, showing that every general upper bound for the ideal membership problem is doubly exponential in the number of variables.
Since most mathematicians at the time assumed the effective Nullstellensatz was at least as hard as ideal membership, few mathematicians sought a bound better than double-exponential. In 1987, however, W. Dale Brownawell gave an upper bound for the effective Nullstellensatz that is simply exponential in the number of variables. Brownawell's proof relied on analytic techniques valid only in characteristic 0, but, one year later, János Kollár gave a purely algebraic proof, valid in any characteristic, of a slightly better bound.
In the case of the weak Nullstellensatz, Kollár's bound is the following:
    Let f$_1$, ..., f$_s$ be polynomials in n ≥ 2 variables, of total degree d$_1$ ≥ ... ≥ d$_s$. If there exist polynomials g$_i$ such that f$_1$g$_1$ + ... + f$_s$g$_s$ = 1, then they can be chosen such that
       $\deg(f_{i}g_{i})\leq \max(d_{s},3)\prod _{j=1}^{\min(n,s)-1}\max(d_{j},3).$
    This bound is optimal if all the degrees are greater than 2.
If d is the maximum of the degrees of the f$_i$, this bound may be simplified to
    $\max(3,d)^{\min(n,s)}.$
An improvement due to M. Sombra is
    $\deg(f_{i}g_{i})\leq 2d_{s}\prod _{j=1}^{\min(n,s)-1}d_{j}.$
His bound improves Kollár's as soon as at least two of the degrees that are involved are lower than 3.

## Projective Nullstellensatz

We can formulate a certain correspondence between homogeneous ideals of polynomials and algebraic subsets of a projective space, called the projective Nullstellensatz, that is analogous to the affine one. To do that, we introduce some notations. Let $R=k[t_{0},\ldots ,t_{n}].$ The homogeneous ideal,
    $R_{+}=\bigoplus _{d\geqslant 1}R_{d}$
is called the maximal homogeneous ideal (see also irrelevant ideal). As in the affine case, we let: for a subset $S\subseteq \mathbb {P} ^{n}$ and a homogeneous ideal I of R,
    ${\begin{aligned}\operatorname {I} _{\mathbb {P} ^{n}}(S)&=\{f\in R_{+}\mid f=0{\text{ on }}S\},\\\operatorname {V} _{\mathbb {P} ^{n}}(I)&=\{x\in \mathbb {P} ^{n}\mid f(x)=0{\text{ for all }}f\in I\}.\end{aligned}}$
By $f=0{\text{ on }}S$ we mean: for every homogeneous coordinates $(a_{0}:\cdots :a_{n})$ of a point of S we have $f(a_{0},\ldots ,a_{n})=0$. This implies that the homogeneous components of f are also zero on S and thus that $\operatorname {I} _{\mathbb {P} ^{n}}(S)$ is a homogeneous ideal. Equivalently, $\operatorname {I} _{\mathbb {P} ^{n}}(S)$ is the homogeneous ideal generated by homogeneous polynomials f that vanish on S. Now, for any homogeneous ideal $I\subseteq R_{+}$, by the usual Nullstellensatz, we have:
    ${\sqrt {I}}=\operatorname {I} _{\mathbb {P} ^{n}}(\operatorname {V} _{\mathbb {P} ^{n}}(I)),$
and so, like in the affine case, we have:
    There exists an order-reversing one-to-one correspondence between proper homogeneous radical ideals of R and subsets of $\mathbb {P} ^{n}$ of the form $\operatorname {V} _{\mathbb {P} ^{n}}(I).$ The correspondence is given by $\operatorname {I} _{\mathbb {P} ^{n}}$ and $\operatorname {V} _{\mathbb {P} ^{n}}.$

## Analytic Nullstellensatz (Rückert’s Nullstellensatz)

The Nullstellensatz also holds for the germs of holomorphic functions at a point of complex n-space $\mathbb {C} ^{n}.$ Precisely, for each open subset $U\subseteq \mathbb {C} ^{n},$ let ${\mathcal {O}}_{\mathbb {C} ^{n}}(U)$ denote the ring of holomorphic functions on U; then ${\mathcal {O}}_{\mathbb {C} ^{n}}$ is a sheaf on $\mathbb {C} ^{n}.$ The stalk ${\mathcal {O}}_{\mathbb {C} ^{n},0}$ at, say, the origin can be shown to be a Noetherian local ring that is a unique factorization domain.
If $f\in {\mathcal {O}}_{\mathbb {C} ^{n},0}$ is a germ represented by a holomorphic function ${\widetilde {f}}:U\to \mathbb {C}$, then let $V_{0}(f)$ be the equivalence class of the set
    $\left\{z\in U\mid {\widetilde {f}}(z)=0\right\},$
where two subsets $X,Y\subseteq \mathbb {C} ^{n}$ are considered equivalent if $X\cap U=Y\cap U$ for some neighborhood U of 0. Note $V_{0}(f)$ is independent of a choice of the representative ${\widetilde {f}}.$ For each ideal $I\subseteq {\mathcal {O}}_{\mathbb {C} ^{n},0},$ let $V_{0}(I)$ denote $V_{0}(f_{1})\cap \dots \cap V_{0}(f_{r})$ for some generators $f_{1},\ldots ,f_{r}$ of I. It is well-defined; i.e., is independent of a choice of the generators.
For each subset $X\subseteq \mathbb {C} ^{n}$, let
    $I_{0}(X)=\left\{f\in {\mathcal {O}}_{\mathbb {C} ^{n},0}\mid V_{0}(f)\supset X\right\}.$
It is easy to see that $I_{0}(X)$ is an ideal of ${\mathcal {O}}_{\mathbb {C} ^{n},0}$ and that $I_{0}(X)=I_{0}(Y)$ if $X\sim Y$ in the sense discussed above.
The analytic Nullstellensatz then states: for each ideal $I\subseteq {\mathcal {O}}_{\mathbb {C} ^{n},0}$,
    ${\sqrt {I}}=I_{0}(V_{0}(I))$
where the left-hand side is the radical of I.