TITLE: Concrete Bezout's Theorem Calculation
QUESTION [5 upvotes]: For context: I'm taking an algebraic geometry class and TAing for a calculus class. My students had the classic problem of finding the area between $x^3$ and $x^2$, but primed by algebraic geometry, I had a thought while I was grading:

Shouldn't $x^2$ and $x^3$ intersect in $2 \cdot 3 = 6$ points by Bezout's Theorem?

Obviously for the purpose of the calculus class the answer is "no", the only intersections are $0$ and $1$, but there are 3 reasons why this might be the case:

We're working over $\mathbb{R}$ not $\mathbb{C}$
We're not working in a projective setting
$x^2$ and $x^3$ actually intersect twice at $0$, so our curves aren't suitably "generic" (whatever that means).

So I tried to solve these problems by considering (in $\mathbb{C}$) the intersection of

$yz = x^2 + \alpha z^2$
$yz = x^3 + \beta z^3$

Here we've projectivized, and the $\alpha$ and $\beta$ were added to try and solve the genericness issue while keeping the equation somewhat simple.
So surely these equations will have 6 solutions, right? Well...

If we look in the $x=1$ plane, then we see $1 + \alpha z^2 = yz = 1 + \beta z^2$, so either $z=0$ or $z = \frac{\alpha}{\beta}$. I think the solution $z=0$ doesn't actually exist, though, since
$y0 = 1 + \alpha 0^2$ has no solutions for $y$. So we pick up 1 solution.

If we look in the $y=1$ plane, nothing interesting happens since we can always just eliminate $y$, so any solutions will already by in the $x=1$ or $z=1$ planes. Let's move on.

If we look in the $z=1$ plane, then we get $x^2 + \alpha = y = x^3 + \beta$, so we pick up 3 complex solutions.


So then we end up with 4 solutions instead of the expected 6. Where did I go wrong? I suspect the issue is either

adding $\alpha$ and $\beta$ alone don't make these curves "generic enough", whatever that means (so the double root $z=0$ that we killed off in step 1 should really be counted, bringing our total to 6)
I've misunderstood something about solving equations where we can eliminate some variables, and there are some extra roots in the $y=1$ plane that I shouldn't have ignored.

Any clarification is appreciated! Thanks in advance!

REPLY [3 votes]: KReiser has given a nice explanation of what's going on with your original system of equations.  Let me discuss how to correctly investigate the perturbation with $\alpha$ and $\beta$ that you tried.
First, you made a mistake when homogenizing the second equation: it should be $$yz^2 = x^3 + \beta z^3,$$ not $$yz = x^3 + \beta z^3,$$ since every term needs to have degree $3$.
Now let's look at what happens when $x=1$.  The equations become $$yz=1+\alpha z^2$$ and $$yz^2=1+\beta z^3.$$  These can be combined to get $$z+\alpha z^3=1+\beta z^3$$ which for generic $\alpha$ and $\beta$ will have $3$ different solutions for $z$, all of which are nonzero.  For each value of $z$ you can then solve for $y$ (since $z$ is nonzero), so this gives $3$ solutions to the system.
In your attempt, you proceeded to consider the case $y=1$, and discarded it as redundant because you can "eliminate" $y$.  This doesn't make sense, though.  Remember that a solution to the original homogeneous system of equations is a triple $[x:y:z]$ which is defined up to scaling, and you are putting them in one of your affine planes by scaling so that one variable is $1$.  So, a solution $[x:y:z]$ can be scaled to be in the $y=1$ plane as long as its $y$-coordinate is nonzero.  This solution will also show up in the $x=1$ plane as long as its $x$-coordinate is nonzero, since you could instead scale it to make the $x$-coordinate nonzero.  This has nothing to do with whether $y$ can be "eliminated" from the system; rather, what is relevant is whether the resulting values of $x$ and $z$ you get are $0$ or not.
Here's how I would think about it instead.  We've already found the solutions where $x$ is nonzero (so we can scale to make $x=1$), so let's consider solutions where $x=0$.  As long as $y$ is nonzero, we can scale such a solution to make $y=1$, so let's set $x=0$ and $y=1$ in the equations to get $$z=\alpha z^2$$ and $$z^2=\beta z^3.$$  For generic $\alpha$ and $\beta$, this system has only $1$ solution, $z=0$.
The only remaining case is if $x$ and $y$ are both $0$, in which case $z$ must be nonzero (since we are not allowed to have all three variables $0$), and thus we can scale so $z=1$.  For generic $\alpha$ and $\beta$ this does not solve the equations, so we get no solutions in this case.
So in total, we got only $4$ solutions, not $6$!  What's wrong?  Well, it turns out that even with your $\alpha$ and $\beta$ perturbation, these polynomials are not sufficiently "generic", i.e. they still intersect with multiplicity.  Specifically, the intersection $[x:y:z]=[0:1:0]$ that we found in the second case actually has multiplicity $3$.  To get a sense of why this is the case, let's look at it in the $y=1$ plane, in which our equations become $$z=x^2+\alpha z^2$$ and $$z^2=x^3+\beta z^3.$$  Isolating $x$ in the first equation and cubing, we write $x^6$ as some degree $6$ polynomial in $z$.  Isolating $x$ in the second equation and squaring, we write $x^6$ as some other degree $6$ polynomial in $z$.  Setting these equal, we get a degree $6$ equation in $z$ which ought to have $6$ solutions.  Actually, though, it has only $4$, since $z=0$ is a triple root.  We can see this quickly by observing that both of the expressions we get for $x^6$ will be divisible by $z^3$.  On the other hand, if we perturbed the equations a little more (say by adding $\gamma y^2$ and $\delta y^3$ terms which would become constant terms when we set $y=1$), the degree $6$ polynomial in $z$ that we would get would generically have no repeated roots, so we would get $6$ different solutions for $z$.  For each one, we could then solve uniquely for $x$ (though it takes a bit of work to see we really do get solutions that work in the original system), giving $6$ different intersection points of our curves.