Rational Solutions to Polynomials, Part II
by t0rajir0u, Mar 30, 2008, 9:25 PM
In the previous post we tried to find rational solutions to (families of) one-variable polynomials, which are a finite set of points. That's easy enough; even without the Rational Root Theorem (which trivializes the problem for any particular polynomial), modular arithmetic (as we have seen) does wonders.
We are doing so within the context of algebraic geometry, which can be defined as the study of algebraic varieties, sets of points defined as the intersection of the solution sets of one or more polynomials. We can talk about affine varieties, which are the ones we're used to, but talking about projective varieties (by embedding things in projective space) turns out to be more useful geometrically and algebraically. Varieties have a notion of dimension; dimension
varieties are collections of points, such as in the previous post. We defined them by a single polynomial in a single variable. (We can also define them by, for example, the intersection of
lines in
variables.)
What happens when we talk about a single polynomial in two variables? Well, we get dimension
varieties, or algebraic curves. For example,
![\[ x^2 + y^2 = 1
\]](//latex.artofproblemsolving.com/9/0/4/9043f7fb16760617641bf4d1ef5d0c77dd2c6b78.png)
is an algebraic curve that we know as a circle. Of course, any conic section is therefore an algebraic curve. Like the problem of finding rational points among the roots of a polynomial (a variety of dimension
), we can ask about rational points on algebraic curves, and these points correspond to solutions of Diophantine equations.
Problem 1: Describe the set of rational points on the unit circle
.
Method 1: Let
where
. Then we are looking at solutions to
; in other words, primitive Pythagorean triples. It's well-known (but can you prove it?) that the set of primitive Pythagorean triples is generated by
![\[ (a, b, c) = (m^2 - n^2, 2mn, m^2 + n^2)
\]](//latex.artofproblemsolving.com/d/1/0/d106183ad29eef34bd4d768d4b838c2734cb8b2f.png)
which gives
. Letting
, we can rationally parameterize the set of rational points on the unit circle as
![\[ (x, y) = \left( \frac {1 - t^2}{1 + t^2}, \frac {2t}{1 + t^2} \right)
\]](//latex.artofproblemsolving.com/7/3/c/73c4586aae86031cf66bd191b5a4e874d6274ef5.png)
for any rational
. We know we have not missed any rational points because we know the complete description of the set of Pythagorean triples. Here information about the solution of a Diophantine equation lets us find the rational points on a curve. But really we have done this backwards.
Method 2: Fix the point
and consider the line with slope
passing through it. It intersects the circle at another point
. What are the coordinates of
?
The line in question has equation
. Substituting,
![\[ x^2 + t^2 x^2 + 2t^2 x + (t^2 - 1) = 0 \implies
\]](//latex.artofproblemsolving.com/3/6/9/3698c1d61c54e206260541dcc32a409d1dd3f5b5.png)
![\[ x^2 + \frac {2t^2}{1 + t^2} x + \frac {t^2 - 1}{t^2 + 1} = 0.
\]](//latex.artofproblemsolving.com/7/c/6/7c6346bdb170a5cfaf7cf91114955c4a57674121.png)
This is a quadratic with rational coefficients. Recall that we already know one of its (rational) roots, which is
. This tells us that the other root is rational! By Vieta's, we also know that that particular root is
. This gives us the same formulas as from Method 1. (The notion of considering a line passing through one rational point and showing that it must pass through a second rational point is rather beautiful, and this isn't the last time you'll see it.)
Here's the fascinating part: given a rational point
on the circle,
clearly has rational slope, so we have directly proven (without appealing to any facts about Pythagorean triples) a one-to-one correspondence between rational numbers and rational points on the unit circle. The second interesting thing going on here is that Method 2 can be used to prove that our description of Pythagorean triples is correct. In other words, information about rational points on a curve lets us solve a Diophantine equation.
Of course, I have lied a little. We are missing the same point in both descriptions. Note that no rational
maps to the point
, so our correspondence is not in fact one-to-one!
Fortunately, this is a fixable problem. You can see that as
we approach the point
. We are so close to a one-to-one correspondence that it is tempting to say that
maps to
and be done with it. In fact, geometrically this makes perfect sense: the line with slope
is merely the tangent line to
, which intersects it with multiplicity
. But of course
is not a rational number.
What it is, however, is the point at infinity on the rational projective line.
Recall our definition of the rational projective line as the set of equivalence classes of pairs of rationals
(minus
) under the equivalence relation
. The rational points we have been talking about now can be described as the points
(an affine slice), and the point at infinity is then the point
. (Note that we could have chosen to divide out by
instead; affine slices are not unique.) One way we can interpret the projective line is to think about the point
as the line passing through
and
, defined by its slope; then the point at infinity is the line with infinite slope as we saw earlier.
If we're talking about projective coordinates, we're talking about homogeneous polynomials. How does a two-variable polynomial homogenize?
Definition: The homogenization of a polynomial
of degree
is the homogeneous polynomial
.
Since the unit circle is the zero set of the polynomial
, its homogenization is given by
![\[ X^2 + Y^2 = Z^2,
\]](//latex.artofproblemsolving.com/a/c/2/ac2601b975317f68268054047a8baf96c677ea7d.png)
precisely the Pythagorean triple equation. The points on this unit circle (which is a projective variety, not an affine one) are points in the projective plane
, denoted by coordinates
under the same equivalence relation from before. The rational points on the unit circle are points in the rational projective plane
.
Let's take a moment to describe the projective plane. When
we can divide out to write our points as
, which is essentially a copy of the affine plane (the plane we were working in just now) When
, we instead write
, which is a copy of the projective line called the line at infinity.
The line at infinity does not enter into our discussions because when
we have
![\[ X^2 + Y^2 = 0
\]](//latex.artofproblemsolving.com/8/1/0/8103808f7c11b6aa92a8c38ec88a0e1b84733797.png)
and so
, which we have said is not a point. The unit circle therefore contains no (real) points at infinity.
I'd like to take a moment to discuss how the notion of points at infinity gives a concrete algebraic reality to intuitive geometric notions. Consider the parabola
, whose homogenization is
![\[ YZ = X^2
\]](//latex.artofproblemsolving.com/0/6/3/063f55f2e3a0e9233b79487e738b4845152879ab.png)
.
Letting
we have
and the point at infinity
. In other words, this parabola does contain a point at infinity that its affine slice does not. If we think of a parabola as an ellipse that's been "stretched" so that its second focus is at infinity, we can consider this point at infinity as the point at which the two sides of the parabola meet.
Here's another example. Remember that affine slices are not unique. If we divide out by
instead, we get the hyperbola
. The points at infinity here (with respect to this new affine slice) are the points where
, which are the points
and
. Thinking about the graph of the affine hyperbola, we can think of these points at infinity as the points at which the branches of the hyperbola meet.
Note that we have also demonstrated that a projective parabola and a projective hyperbola are in some sense the same object; they are merely affine shadows cast by the same projective curve. In fact, this viewpoint generalizes; we find in general that there are fewer different types of curves in projective than in affine space.
Our goal was to "repair" the near-bijectivity of our mapping from the rationals to the rational points on the unit circle. Let's call this map
, the projective unit circle
, and its set of rational points
.
takes the point
on the rational projective line to the point
![\[ (A^2 - B^2 : 2AB : A^2 + B^2)
\]](//latex.artofproblemsolving.com/4/4/a/44a5ccd6bb21b81104b97660aa785cc21f244327.png)
on the rational projective plane (and here we really see how this gives us information about Pythagorean triples). Moreover, this map is one-to-one. If our geometric argument wasn't enough, the inverse map
takes
to
.
Let's take a moment and think about what kind of a function this is. You are used to functions from the real numbers to the real numbers, which are functions from the affine real line to the affine real line. Here we have a function from a projective variety to another projective variety. In particular, every point on one maps to a unique point on the other; it is a bijection from one variety to the other. Moreover, the bijection has the property that rational points map to rational points. This bijection allows us to compute Pythagorean triples by picking an arbitrary point on the rational projective line and translating it to a point on
, which in turn lets us describe the set of Pythagorean triples. In the language of algebraic geometry,
is isomorphic to the projective line over
, and the above map is an isomorphism of varieties defined over
. What this means, for our purposes, is that
is very easily describable.
Here's where it starts to get interesting: the argument we gave in Method 2 is valid for any conic section with rational coefficients. All we needed was a single rational point. We therefore have the following remarkable fact:
Every rational conic section with a rational point is isomorphic to the projective line over
.
We can now solve a pretty broad class of Diophantine equations.
Note that what we've been doing corresponds to solving homogeneous Diophantine equations in three variables such as the Pythagorean triple equation
. We cannot use the techniques we have developed to find integer points on a Diophantine equation in two variables such as
, but that's what Pell's equations are for. 
This material is inspired in part by the first chapter of Tate and Silverman's Rational Points on Elliptic Curves, which is a great introduction to the theory if you want to have a go at it yourself. It is also inspired by several problems I've seen on the forums. I've tried to phrase this discussion within the context of competition-style problems so that the "applications" (such as they are) are clearer, but realize that these ideas have very broad scope.
So much for conic sections. Because they're all isomorphic to the projective line, we won't be looking at them further.
Problem 2: (From the previous post) Describe the set of rational points on the curve
.
I solved this problem in a comment on the previous post, but here is a more condensed version of that solution that uses the concepts we have discussed above:
Call the curve
and homogenize to
. Then
and our points take the form
![\[ (X(X^2 + Y^2) : Y(X^2 + Y^2) : X^3 + Y^3).
\]](//latex.artofproblemsolving.com/4/f/0/4f03a3f257e38256ee4feeaa3a6cefef0cd7697d.png)
This is a morphism from the projective line to
whose inverse map takes
to
, and it also takes rational points to rational points. We therefore conclude that
is also isomorphic to the projective line over
.
It turns out that this isn't a result you should expect; most cubic curves are not isomorphic to the projective line, and are instead elliptic curves, whose sets of rational points have much more interesting structure (and let us solve cubic Diophantines). Cubic curves that are isomorphic to the projective line are singular (or not smooth).
, for example, has a singularity at
. Singularities include points like cusps, and are essentially points at which the curve behaves "badly."
How can you tell if a cubic curve is singular (and therefore whether you should look for isomorphisms from the rational projective line)? A singularity on the curve
is a point at which the partial derivatives of
with respect to
simultaneously vanish. Now that's fascinating: we are using calculus to help us discern the nature of solutions to a Diophantine equation. This is one of the several deep connections you'll find all throughout algebraic geometry.
What connects a conic section to a singular cubic curve is that they both have genus zero. Don't worry about what this means; suffice it to say that the first really interesting case is genus one, which is an elliptic curve.
Practice Problem 1: Describe the set of rational points on the hyperbola
.
Practice Problem 2a: Describe the set of rational points on the singular cubic curve
. (No, this is not a trick question!) Where is its singularity? Graph it.
Practice Problem 2b: Using the results of the previous problem, describe the set of rational points on the singular cubic curve
.
Practice Problem 3a: Describe the set of rational points on the singular cubic curve
. Where is its singularity? Graph it.
Practice Problem 3b: Using the results of the previous problem, describe the set of rational points on the singular cubic curve
.
We are doing so within the context of algebraic geometry, which can be defined as the study of algebraic varieties, sets of points defined as the intersection of the solution sets of one or more polynomials. We can talk about affine varieties, which are the ones we're used to, but talking about projective varieties (by embedding things in projective space) turns out to be more useful geometrically and algebraically. Varieties have a notion of dimension; dimension



What happens when we talk about a single polynomial in two variables? Well, we get dimension

![\[ x^2 + y^2 = 1
\]](http://latex.artofproblemsolving.com/9/0/4/9043f7fb16760617641bf4d1ef5d0c77dd2c6b78.png)
is an algebraic curve that we know as a circle. Of course, any conic section is therefore an algebraic curve. Like the problem of finding rational points among the roots of a polynomial (a variety of dimension

Problem 1: Describe the set of rational points on the unit circle

Method 1: Let



![\[ (a, b, c) = (m^2 - n^2, 2mn, m^2 + n^2)
\]](http://latex.artofproblemsolving.com/d/1/0/d106183ad29eef34bd4d768d4b838c2734cb8b2f.png)
which gives


![\[ (x, y) = \left( \frac {1 - t^2}{1 + t^2}, \frac {2t}{1 + t^2} \right)
\]](http://latex.artofproblemsolving.com/7/3/c/73c4586aae86031cf66bd191b5a4e874d6274ef5.png)
for any rational

Method 2: Fix the point




The line in question has equation

![\[ x^2 + t^2 x^2 + 2t^2 x + (t^2 - 1) = 0 \implies
\]](http://latex.artofproblemsolving.com/3/6/9/3698c1d61c54e206260541dcc32a409d1dd3f5b5.png)
![\[ x^2 + \frac {2t^2}{1 + t^2} x + \frac {t^2 - 1}{t^2 + 1} = 0.
\]](http://latex.artofproblemsolving.com/7/c/6/7c6346bdb170a5cfaf7cf91114955c4a57674121.png)
This is a quadratic with rational coefficients. Recall that we already know one of its (rational) roots, which is


Here's the fascinating part: given a rational point


Of course, I have lied a little. We are missing the same point in both descriptions. Note that no rational


Fortunately, this is a fixable problem. You can see that as








What it is, however, is the point at infinity on the rational projective line.
Recall our definition of the rational projective line as the set of equivalence classes of pairs of rationals









If we're talking about projective coordinates, we're talking about homogeneous polynomials. How does a two-variable polynomial homogenize?
Definition: The homogenization of a polynomial



Since the unit circle is the zero set of the polynomial

![\[ X^2 + Y^2 = Z^2,
\]](http://latex.artofproblemsolving.com/a/c/2/ac2601b975317f68268054047a8baf96c677ea7d.png)
precisely the Pythagorean triple equation. The points on this unit circle (which is a projective variety, not an affine one) are points in the projective plane



Let's take a moment to describe the projective plane. When




The line at infinity does not enter into our discussions because when

![\[ X^2 + Y^2 = 0
\]](http://latex.artofproblemsolving.com/8/1/0/8103808f7c11b6aa92a8c38ec88a0e1b84733797.png)
and so

I'd like to take a moment to discuss how the notion of points at infinity gives a concrete algebraic reality to intuitive geometric notions. Consider the parabola

![\[ YZ = X^2
\]](http://latex.artofproblemsolving.com/0/6/3/063f55f2e3a0e9233b79487e738b4845152879ab.png)
.
Letting



Here's another example. Remember that affine slices are not unique. If we divide out by





Note that we have also demonstrated that a projective parabola and a projective hyperbola are in some sense the same object; they are merely affine shadows cast by the same projective curve. In fact, this viewpoint generalizes; we find in general that there are fewer different types of curves in projective than in affine space.
Our goal was to "repair" the near-bijectivity of our mapping from the rationals to the rational points on the unit circle. Let's call this map





![\[ (A^2 - B^2 : 2AB : A^2 + B^2)
\]](http://latex.artofproblemsolving.com/4/4/a/44a5ccd6bb21b81104b97660aa785cc21f244327.png)
on the rational projective plane (and here we really see how this gives us information about Pythagorean triples). Moreover, this map is one-to-one. If our geometric argument wasn't enough, the inverse map



Let's take a moment and think about what kind of a function this is. You are used to functions from the real numbers to the real numbers, which are functions from the affine real line to the affine real line. Here we have a function from a projective variety to another projective variety. In particular, every point on one maps to a unique point on the other; it is a bijection from one variety to the other. Moreover, the bijection has the property that rational points map to rational points. This bijection allows us to compute Pythagorean triples by picking an arbitrary point on the rational projective line and translating it to a point on





Here's where it starts to get interesting: the argument we gave in Method 2 is valid for any conic section with rational coefficients. All we needed was a single rational point. We therefore have the following remarkable fact:
Every rational conic section with a rational point is isomorphic to the projective line over

We can now solve a pretty broad class of Diophantine equations.




This material is inspired in part by the first chapter of Tate and Silverman's Rational Points on Elliptic Curves, which is a great introduction to the theory if you want to have a go at it yourself. It is also inspired by several problems I've seen on the forums. I've tried to phrase this discussion within the context of competition-style problems so that the "applications" (such as they are) are clearer, but realize that these ideas have very broad scope.
So much for conic sections. Because they're all isomorphic to the projective line, we won't be looking at them further.
Problem 2: (From the previous post) Describe the set of rational points on the curve

I solved this problem in a comment on the previous post, but here is a more condensed version of that solution that uses the concepts we have discussed above:
Call the curve



![\[ (X(X^2 + Y^2) : Y(X^2 + Y^2) : X^3 + Y^3).
\]](http://latex.artofproblemsolving.com/4/f/0/4f03a3f257e38256ee4feeaa3a6cefef0cd7697d.png)
This is a morphism from the projective line to





It turns out that this isn't a result you should expect; most cubic curves are not isomorphic to the projective line, and are instead elliptic curves, whose sets of rational points have much more interesting structure (and let us solve cubic Diophantines). Cubic curves that are isomorphic to the projective line are singular (or not smooth).


How can you tell if a cubic curve is singular (and therefore whether you should look for isomorphisms from the rational projective line)? A singularity on the curve



What connects a conic section to a singular cubic curve is that they both have genus zero. Don't worry about what this means; suffice it to say that the first really interesting case is genus one, which is an elliptic curve.
Practice Problem 1: Describe the set of rational points on the hyperbola

Practice Problem 2a: Describe the set of rational points on the singular cubic curve

Practice Problem 2b: Using the results of the previous problem, describe the set of rational points on the singular cubic curve

Practice Problem 3a: Describe the set of rational points on the singular cubic curve

Practice Problem 3b: Using the results of the previous problem, describe the set of rational points on the singular cubic curve
