The quadratic and an axis.
(Taken from my notes on intersection theory)
Let , be the vanishing set of the global section of , and be the vanishing set of the global section of (here by vanishing of we mean the set of all points where ). The intersection contains all the points where and are in . Consider the affine patch , and suppose that has a point outside that open set. Clearly the point in this patch is in . We seek to compute the intersection multiplicity at this point. For this it will suffice to work in the affine plane, with the equations and . Then we compute and
and so . This confirms our intuition from calculus that the multiplicity of the quadratic’s zero is 2. But are there no other points in the intersection? There are no other intersections in this affine patch, so it remains only to check the points at infinity. If , then implies by primality, so if we have that . But as we exclude the irrelevant ideal, so there is no intersection at infinity and we have verified Bézout’s theorem in this case.