Zero dimensional ideals and their primary decomposition

195 Views Asked by At

Let $S=k[x_1,\dots,x_n]$ be a polynomial ring over a field $k$, and $I$ a zero dimensional ideal with a primary decomposition $I=\cap Q_i$. Why is $\sum \dim_k S/Q_i = \dim_k S/I$?