The Hilbert series allows us to compute the
degree of an algebraic variety as the value at 1 of the numerator of the Hilbert series. This provides also a rather simple proof of
Bézout's theorem. For showing the relationship between the degree of a
projective algebraic set and the Hilbert series, consider a projective algebraic set , defined as the set of the zeros of a
homogeneous ideal I\subset k[x_0, x_1, \ldots, x_n], where is a field, and let R=k[x_0, \ldots, x_n]/I be the ring of the
regular functions on the algebraic set. In this section, one does not need irreducibility of algebraic sets nor primality of ideals. Also, as Hilbert series are not changed by extending the field of coefficients, the field is supposed, without loss of generality, to be algebraically closed. The dimension of is equal to the
Krull dimension minus one of , and the degree of is the number of points of intersection, counted with multiplicities, of with the intersection of d hyperplanes in
general position. This implies the existence, in , of a
regular sequence h_0, \ldots, h_{d} of homogeneous polynomials of degree one. The definition of a regular sequence implies the existence of exact sequences :0 \longrightarrow \left(R/\langle h_0,\ldots, h_{k-1}\rangle \right)^{[1]} \stackrel{h_k}{\longrightarrow} R/\langle h_1,\ldots, h_{k-1}\rangle \longrightarrow R/\langle h_1,\ldots, h_k \rangle \longrightarrow 0, for k=0, \ldots, d. This implies that :HS_{R/\langle h_0, \ldots, h_{d-1}\rangle}(t) = (1-t)^d\,HS_R(t)=\frac{P(t)}{1-t}, where P(t) is the numerator of the Hilbert series of . The ring R_1=R/\langle h_0, \ldots, h_{d-1}\rangle has Krull dimension one, and is the ring of regular functions of a projective algebraic set V_0 of dimension 0 consisting of a finite number of points, which may be multiple points. As h_d belongs to a regular sequence, none of these points belong to the hyperplane of equation h_d=0. The complement of this hyperplane is an
affine space that contains V_0. This makes V_0 an
affine algebraic set, which has R_0 = R_1/\langle h_d-1\rangle as its ring of regular functions. The linear polynomial h_d-1 is not a zero divisor in R_1, and one has thus an exact sequence :0 \longrightarrow R_1 \stackrel{h_d-1}{\longrightarrow} R_1 \longrightarrow R_0 \longrightarrow 0, which implies that :HS_{R_0}(t) = (1-t)HS_{R_1}(t) = P(t). Here we are using
Hilbert series of filtered algebras, and the fact that the Hilbert series of a graded algebra is also its Hilbert series as filtered algebra. Thus R_0 is an
Artinian ring, which is a -vector space of dimension , and
Jordan–Hölder theorem may be used for proving that is the degree of the algebraic set . In fact, the multiplicity of a point is the number of occurrences of the corresponding maximal ideal in a
composition series. For proving Bézout's theorem, one may proceed similarly. If f is a
homogeneous polynomial of degree \delta, which is not a zero divisor in , the exact sequence :0 \longrightarrow R^{[\delta]} \stackrel{f}{\longrightarrow} R \longrightarrow R/\langle f\rangle \longrightarrow 0, shows that :HS_{R/\langle f \rangle}(t)= \left (1-t^\delta \right )HS_R(t). Looking on the numerators this proves the following generalization of Bézout's theorem: :
Theorem - If is a homogeneous polynomial of degree \delta, which is not a zero divisor in , then the degree of the intersection of with the hypersurface defined by f is the product of the degree of by \delta. In a more geometrical form, this may restated as: :
Theorem - If a projective hypersurface of degree does not contain any
irreducible component of an algebraic set of degree , then the degree of their intersection is . The usual Bézout's theorem is easily deduced by starting from a hypersurface, and intersecting it with other hypersurfaces, one after the other. ==Complete intersection==