Let \(k\) be algebraically closed and \(R=k[x_1,\dots,x_n]\). For an ideal \(I\subseteq R\), \[V(I)=\{a\in k^n:f(a)=0\text{ for every }f\in I\}.\] For an algebraic set \(X\), its vanishing ideal is \(I(X)\) and its coordinate ring is \(k[X]=R/I(X)\). Here a variety means an irreducible algebraic set.
For a nonempty affine algebraic set \(X\), \(\dim X=\dim_{\mathrm{Krull}}k[X]\); for irreducible \(X\) this also equals \(\operatorname{trdeg}_k k(X)\). For proper \(I\subset R\), \[\dim V(I)=n-\operatorname{ht}(\sqrt I)=n-\operatorname{ht}(I).\] Height is codimension, not dimension. For example, \(V(x)\subset\mathbb A^3\) is a plane of dimension \(2\), while \((x)\) has height \(1\).
A homogeneous ideal in \(k[x_0,\dots,x_n]\) defines a zero set in \(\mathbb P^n(k)\). If plane projective curves \(C=V(F)\) and \(D=V(G)\) have degrees \(d,e>0\) and no common component, then \[\sum_{p\in C\cap D} I_p(C,D)=de,\] where \(I_p\) is the local intersection multiplicity. For transverse intersections every multiplicity is \(1\), so there are \(de\) distinct points. The projective plane and no-common-component hypotheses matter; affine intersections can miss points at infinity.
Example: the conic \(YZ=X^2\) and its tangent \(Y=0\) meet only at \([0:0:1]\), with multiplicity \(2\).