# Pop maths: A sliver of algebraic geometry – Part 3

This is the final post in this series, where I give a layperson’s explanation of a result from algebraic geometry, using only high school–level algebra as a starting point. If you’ve not read the first two in the series, you might want to start here.

In this post, we’re going to need a couple of facts from high-school algebra. The first is a technique for solving quadratic equations called “completing the square”. This refers to the fact that

You can verify this for yourself by expanding the brackets using the FOIL method on the right-hand side. The second algebra fact is that

commonly referred to as the “difference of two squares”, and is another fact you can check for yourself using FOIL.

###### The claim

Recall that a conic in is a curve given by an equation that is homogeneous of degree 2. That is, an equation of the kind

(1)

where the ‘s are any number — we only exclude the possibility that all six ‘s are zero. This covers every possible equation you can make with 3 letters multiplied together in pairs, once all term have been moved to the left hand side (there’s no reason whatever to think of and as separate equations when all we want to study is the geometry of the solutions).

In the first article, I talked about the affine plane , and how curves there are equivalent if one can be transformed into the other by a substitution

where , which we referred to as non-degeneracy. These substitutions can equivalently be thought of as the transformation of one figure into another equivalent figure, or as simply a change of the coordinate system used to describe ; they are two sides of the same coin, and you can choose your preferred interpretation. The same thing is true in , but using the letters , , and rather than and . This suggests that some conics might be equivalent to others. Can we classify the equivalent types of conics in ? And what relation will they have to Apollonius’ classification of the Euclidean/affine conic sections?

I claim that up to equivalence, there are really only five conics in , despite the infinitely many equations of the type that are possible.

###### Proving the claim

One way to show this is to employ a technique called the Lagrange diagonalization algorithm. It uses coordinate transformations like the kind above to remove the “mixed” terms , , and from the picture. I’ll now explain the algorithm and give an example. This is definitely the most formula-heavy part of the whole series, so feel free to just skim-read it and pick up again at the conclusion, although the techniques used are nothing more than the two facts from basic algebra outlined in the intro.

1. Look at the left hand side of your equation, and look for a squared term like , , or . When you find one, look for a mixed term containing the squared letter. So for example, if you find , look to see if there is a term such as or . If there is no such mixed term, nothing to do here, move on to the next squared term, such as . If there is, then “complete the square” (as in the introduction) on the squared and mixed term you have found. For example, if the terms are and , rewrite them like this

Then just make the non-degenerate transformation.

This means that

Notice how we have essentially “killed off” a mixed term using the coordinate transformation. With a little re-arranging of the two substitutions above, this also implies that , so if there is another mixed term, say , we can swap the for . This means there are no more s and s in the equation, only and . We can then repeat the process outlined about on the resulting and term. Once this is done, look for more squared terms you can use to eliminate mixed terms with further transformations—these may now be terms like and so on.

2. But what if there are no squared terms at some stage in the algorithm? What if we are stuck with only mixed terms? In that case, we can take a mixed term like and make the non-degenerate transformation

so that by the “difference of two squares” formula above. Now we have some squared terms to work with, but we may have created some more mixed terms in the process. So go back to step 1. and use the newly created squared terms to eliminate more mixed terms.

3. Repeat steps 1 and 2 until there are no more mixed terms left. The resulting equation is not uniquely defined: it depends on the choices you made along the way about what order to do things in. You and I could each perform the algorithm and get different results. We’ll deal with that after.Let’s do a fully worked example of this part of the algorithm to make sure that it is clear. Our conic is defined by an equation, say, . There are no squared terms, so let’s pick and make the transformation in step 2: , and . Thus the equation becomes

Remember: this equation defines an equivalent projective curve to the original equation, because all we did was make a valid non-degenerate change of coordinates. Now we can use the term to kill off the term. Just write . Then we can make the change of coordinates , , so the equation becomes:

Finally, we can use to eliminate the term. I can write

and then make the transformation and . So the equation becomes

Now there are no more mixed terms, so we are done.

4. If we relabel all our symbols so that the s are hidden, we are left with an equation that looks like

where , , and are some combination of the ‘s in the original equation, and may or may not be zero. The final step is to make the non-dengerate transformation , and then again for and . Thus we have the following situation. If is positive, then . If is negative, then . If , there’s nothing to do. The same is true analogously for and , and and . After making these changes, we are left with a new equation of the form , where , and are either , , or , and the number of s, s, and s appearing in this form is uniquely defined. You and I could do the algorithm, or indeed any algorithm using valid coordinate changes, to get the equation to a form with only s, s and s as coefficients, but we’d always end up with the same number — the only possible difference is the names of the variables, but we can always swap these around anyway. This is a result called (for some mysterious reason) “Sylvester’s law of inertia”1, but it’s a bit more advanced so I won’t prove2 it here.

Therefore, if we swap the names of the variables if need be, and perhaps replace an equation with its negative (since and clearly have the same solutions), then every conic in is equivalent to one of the following five conics:

That’s it for the algebra. Now what about the geometry?

###### Discussion

In the previous article, I wrote that we could obtain an affine curve from a projective curve by simply writing , and then studying the points in corresponding to . These are just the points of the projective curve where , and is commonly called an “affine piece” of the curve. The “shortcut” method for doing this calculation is just to rewrite the equation, but replacing with , and replace by and by . Geometrically, we are intersecting the curve with a copy of , and studying the intersection. Hence we will do that for each of the five conics to see what these affine pieces of the curve look like, and then briefly examine the points at infinity with respect to the affine pieces.

First, . Wherever , its points are equivalent to . This implies that on these points. However, could be anything. So the affine part of this curve contains all points — it’s just a line running along the -axis in our coordinate system. Is this a conic section? Well, actually yes: it’s a particularly ugly conic section obtained by intersecting a cone with a plane that just glances the edge of the cone:

The point also satisfies the equation. This point does not lies in the affine piece where , but is the point at infinity where the opposite ends of the affine line meet. Projective lines are like circles — they loop back on themselves.

Now for . Repeating the process, we have obtain the affine curve . But that’s a difference of two squares, so this can also be written as . This equation is true whenever is zero, or is zero. Therefore this curve is comprised of two straight lines, described by and , which intersect at the point . It’s a cross shape, and is also a degenerate conic section:

The points where , are and . These are the points the two lines disappear off to in the distance.

Then we have . In the projective plane, because does not refer to a projective point, this equation holds only at . However, this point does lie in the affine plane where , so when we take it to the affine piece, we find that also defines a single point, sitting at . It corresponds to another degenerate conic section—when the plane only cuts at the point of the cone.

Now we come to the two most interesting cases. Let’s rewrite the curve equation to and study the affine part . The affine curve we obtain here is : an affine ellipse, one of Apollonius’s conic sections. On the other hand, if , then we have which has no projective solutions, and so there are no points at infinity. But that’s exactly what we would expect, because ellipses do not extend infinitely far.

But what about the other conic sections of Apollonius? If we relabel variables to , and , we have , and then write this as , we can study the part where . But that’s just the affine curve : precisely the points of a hyperbola. If we check the points at infinity by examining the curve where , we have , with solution and . These are the same points at infinity as with the cross above, and with a picture, we can see why:

The arms of the hyperbola meet with the cross at the same points at infinity.

What about the parabola, the third conic section? Returning to , we can write this using the difference of two squares formula , and then making the non-degenerate change of coordinates and . Hence we have . Then at the part of the curve where , we have , the parabola. There is a single point infinitely far from this parabola, at in coordinates.

These considerations lead us to the inescapable conclusion that the three conic sections identified by Apollonius are just three pieces of a single projective curve . The projective plane unifies our vision of all three curves, which can now be studied as a single geometric entity. It is an example of how even ideas many hundreds of years old can be given a new perspective by the abstract power of more modern mathematics.

Now we come to the final projective conic, given by the equation . This one presents an unfortunate problem, because it doesn’t seem to describe a projective curve at all. It could only be solved if , , and were all zero, but is not a point in projective space. This equation doesn’t have any geometry.

###### That troublesome fifth conic

But perhaps we’re being too hasty. There is a way out, but it involves moving to an even more abstract space. The complex numbers are the number system obtained by adding square roots to negative numbers, and are a foundational part of much of modern mathematics and physics. And we can transfer everything we have done so far to the complex world. We can study equations where the numbers involved are complex numbers, form an affine plane that has points given in coordinates as pairs where and are each complex numbers, and form the complex projective plane by dividing three-dimensional complex affine space into complex lines through the origin, and has coordinates as ratios where each entry is complex. By this point, there is no way that any human can imagine what a complex projective space “looks” like3. We can work with it perfectly well mathematically, but any visualization we do is via analogy, which with training and intuition can be surprisingly accurate guides to navigating this strange world.

We can study conics given by equations

where now the s are complex numbers, and even repeat steps 1-3 of the algorithm above. In step 4, however, we can even go a step further. In the complex world, there is no distinction between positive and negative numbers. Once we have arrived at the form , where , , and , are complex we can just make the change of coordinates , , and . These square roots always exist in the complex numbers, no matter what , and are.4  Now the curve can only possibly be in one of three forms (after possibly swapping the names of the variables):

simply depending on how many of , , and were zero.

Classical — and much of modern — algebraic geometry is really the study of curves, surfaces, and higher dimensional geometric objects living in complex projective spaces. In the complex world, every algebraic equation has a geometric meaning. The theory is more unified, and frankly easier, owing to a number of powerful results about complex geometry that make the correspondence between geometry and algebra as rich as can be.

Let’s take one last look at that final curve . In the complex case, this definitely has solutions, for example . In fact, it has infinitely many. And as a final nod to our friend Apollonius, we can make another non-degenerate change of coordinates , so that the equation becomes

In the complex projective plane, that fifth conic, the most degenerate and problematic of them all, is one and the same with the fourth conic, which was the most beautiful and interesting. Apollonius’s conic sections live inside it, as the complex numbers contain the ordinary “real” numbers, and so this complex curve contains all the original solutions to the fourth equation. The whole family of conic sections, studied by the ancient Greeks, and later by Islamic and Renaissance mathematicians, are still there despite the long journey they have been on, through increasingly abstract spaces, from , to , to .