Triangles, Curves and a Prize

Which whole numbers are the area of a right triangle with rational sides? The question turns into counting the rational points on a curve, and the Birch and Swinnerton-Dyer conjecture would answer it. This lesson lays out the problem

Triangles, Curves and a Prize

A whole number n is called congruent if it is the area of a right triangle whose sides are all fractions. 6 is (the 3–4–5 triangle), 5 is, and 1 is not, but no one has a method that is proved to decide every n. The question turns into counting the rational points on the curve y² = x³ − n²x, and the Birch and Swinnerton-Dyer conjecture would settle it.

Triangles With Rational Sides

Pick an area n and drag the triangle’s corner along the curve of all right triangles with that area: only rare points give three rational sides. Watch the tiles sort every n up to 60 into found, proved impossible, and predicted but not found, and raise the search size to move tiles between groups.

1.5
leg a (dragged)
6.667
leg b (dragged)
6.833
hypotenuse c = √(a² + b²)
all rational
a triangle the search found
0
A: solutions of 2x² + y² + 8z² = 5
0
B: solutions of 2x² + y² + 32z² = 5
0
2B
A = 2B
Tunnell: congruent if the conjecture holds
The triangle found, in exact fractions
a =3/2b =20/3c =41/6ab/2 =5 (exactly n)a² + b² − c² =0 (exactly)from the point(−4, 6) on y² = x³ − 25x
5 is congruent, and the triangle proves it. Tunnell’s counts agree, as they must: A = 2B.

Checking… so far, of 1 to 60: 0 with a triangle found, 0 proved not congruent, 0 predicted congruent with no small triangle found. Tap a tile to choose it.

every right triangle of area n has its corner on this curve, ab = 2na triangle with all three sides rationalthe corner you drag

Drag the amber corner along the curve: the area stays n, but the sides are usually irrational. Near a sky-blue dot it snaps to a triangle the search found, and the sides become exact fractions. The picture is scaled by √(2n) so every n fits.

Go deeper:A thousand-year-old problem, Fermat’s descent and Tunnell’s test

An old question. Which whole numbers are areas of right triangles with rational sides is one of the oldest unsolved problems in mathematics: it appears in Arab manuscripts of the 10th century. An equivalent form: n is congruent exactly when there are three squares of fractions in arithmetic progression with common difference n (for 6: 1/4, 25/4, 49/4). Scaling a triangle by k multiplies its area by k², so only the squarefree part of n matters: 24 is congruent because 24 = 6 × 2² and the 3–4–5 triangle doubled has area 24.

Fermat and 1. Fermat proved that 1 is not congruent, by infinite descent: from a right triangle with whole sides whose area is a perfect square he built a smaller one of the same kind, which cannot go on forever. Clearing denominators, “1 is congruent” and “some right triangle with whole sides has square area” are the same statement, so neither happens. The same argument shows x⁴ − y⁴ = z² has no solutions in positive whole numbers, the case n = 4 of Fermat’s Last Theorem.

Tunnell’s theorem (1983). For squarefree odd n, let A count the whole-number solutions of 2x² + y² + 8z² = n and B those of 2x² + y² + 32z² = n; for even n use 4x² + y² + 8z² and 4x² + y² + 32z² equal to n/2. Jerrold Tunnell proved that if n is congruent then A = 2B. Read the other way, A ≠ 2B proves n is not congruent, and that is a finite computation. The converse, that A = 2B makes n congruent, follows from the Birch and Swinnerton-Dyer conjecture for the curve y² = x³ − n²x, and is not proved in general.

How the search works, and what it cannot do. A triangle of area n gives a rational point with x = u/v², and because x, x − n and x + n multiply to a square, the squarefree part of u must divide 2n. The demo tries every x = d·a²/b² with d such a divisor and a, b up to the search size, and checks exactly whether x³ − n²x is the square of a fraction. Finding nothing proves nothing: 37 and 23 need search sizes of 150 and 160, and the simplest triangle for 157, found by Don Zagier, has sides whose numerators and denominators run to dozens of digits.

From Triangle to Curve

Start from a triangle’s point on the curve and press Double or add a point of order 2: every new point is a new right triangle of the same area, computed exactly. Watch the digits grow, and see what happens at the three points with y = 0.

0
operations so far
3
digits in x (numerator and denominator)
6 exactly
area ab/2 of its triangle
0 exactly
a² + b² − c²
The triangle gives the point (12, 36) on y² = x³ − 36x. Double it, or add a point of order 2, to make new triangles of area 6.
The newest point and its triangle, exactly
x =12y =36a = |x² − n²|/|y| =3b = |2nx|/|y| =4c = (x² + n²)/|y| =5
#operationxdigits of xtriangle?
0the point from the triangle123yes
y² = x³ − n²xpoints made so farthe newest pointthe three points of order 2the chord or tangent, and the reflection

The curve is drawn scaled (x divided by n, y by n√n) so that one picture serves every n; the arithmetic is exact. Points that leave the picture are marked by an arrow at its edge.

Go deeper:The correspondence, the points of order 2 and infinitely many triangles

The algebra. Let a, b, c be the sides, with a² + b² = c² and ab/2 = n. Then (c/2)² ± n = (a² + b² ± 2ab)/4 = ((a ± b)/2)², so x = (c/2)² has x − n, x and x + n all rational squares, and x(x − n)(x + n) = x³ − n²x is a square too. That gives a rational point on y² = x³ − n²x. The demo uses the slightly different point (x, y) = (nb/(c − a), 2n²/(c − a)), whose inverse is a = (x² − n²)/y, b = 2nx/y, c = (x² + n²)/y; the point with x = c²/4 turns out to be its double. For the 3–4–5 triangle, (12, 36) doubles to (25/4, −35/8), and that point’s triangle has sides 7/10, 120/7 and 1201/70, area 6 again.

Why y = 0 gives nothing. The formulas divide by y. The points with y = 0 are where x³ − n²x = 0: x = 0, n or −n. Each is its own negative, so it has order 2, and together with the point at infinity O they form a group of four. Reducing the curve modulo primes p ≡ 3 mod 4 not dividing 2n, where it has exactly p + 1 points, shows that these four are the only rational points of finite order.

Congruent means rank at least 1. So a triangle gives a point with y ≠ 0, which has infinite order: its multiples are all different, and n has infinitely many triangles, with sides of ever more digits. Conversely, any point of infinite order has y ≠ 0 and gives a triangle. Hence n is congruent exactly when y² = x³ − n²x has infinitely many rational points, that is, when its rank is at least 1. See also the group law over the real numbers in Algebraic Geometry, and the next lesson of this module, which builds it in exact fractions.

What the Conjecture Would Settle

Watch L(En, 1) being computed from point counts for every squarefree n up to 60, then sort by n mod 8. Check that Tunnell’s counts and the L-value give the same answer on every row, and tap a bar for its numbers.

0 / 37
squarefree n ≤ 60 computed
0 / 0
rows where A = 2B exactly when L(En, 1) = 0
0
with root number −1 (L(En, 1) = 0 forced)
0
L(En, 1) = 0 but no small triangle found
n = 5: not computed yet. Press Play or Step.
nn mod 8root numberL(En, 1)A2Btriangle foundroutes agree
L(En, 1), computed from point countstriangle foundproved not congruent (A ≠ 2B)A = 2B, no small triangle found

Each L-value is built from the numbers of solutions of y² = x³ − n²x modulo primes, using the conductor and root number stated in the table (both confirmed by the functional equation’s residual). “≈ 0” means below 10⁻⁸: a numerical zero, not a proof. Tap a bar or a row to choose n.

Go deeper:The Millennium Prize problem and what is proved for congruent numbers

The prize. In 2000 the Clay Mathematics Institute named the Birch and Swinnerton-Dyer conjecture one of seven Millennium Prize problems, with $1 million for a proof. For an elliptic curve E over ℚ, the number of solutions modulo each prime builds a function L(E, s), and the conjecture says the rank of E (how many independent points of infinite order it has) equals the order of vanishing of L(E, s) at s = 1. A refined form predicts the leading Taylor coefficient there; later lessons compute every term of it.

The sign. L(E, s) satisfies a functional equation relating s and 2 − s, with a sign w = ±1, the root number. When w = −1 it forces L(E, 1) = 0. For y² = x³ − n²x with n squarefree, w = −1 exactly when n ≡ 5, 6 or 7 mod 8, so the conjecture predicts that every such n is congruent. Kurt Heegner proved in 1952 that primes p ≡ 5 or 7 mod 8 are congruent. The conductor, 32n² for odd n and 16n² for even n, and the sign are not assumed by the demo: the functional equation holds to about 10⁻¹¹ with them and fails badly with anything else.

What is proved. These curves have complex multiplication, and for such curves John Coates and Andrew Wiles proved in 1977 that L(E, 1) ≠ 0 implies only finitely many rational points. Through Waldspurger’s work, Tunnell showed that A = 2B exactly when L(En, 1) = 0, which is why the two columns always agree. When L vanishes to order exactly 1, the theorems of Gross–Zagier (1986) and Kolyvagin (1988–89) give rank 1, so n is congruent. What remains is the case of a zero of order 2 or more, as for 34 and 41, where no theorem connects the zero to points. A proof of the conjecture would close that gap, and turn Tunnell’s finite count into a complete test for congruent numbers. See also L-functions in the Langlands Program module, and curves over finite fields for the point counts themselves.

Key Takeaways

  • A congruent number is the area of a right triangle with rational sides, such as 5, 6 and 7, but not 1, 2 or 3.
  • Triangles of area n are the rational points with y ≠ 0 on y² = x³ − n²x, so n is congruent exactly when the rank is at least 1.
  • Tunnell’s counts prove many n are not congruent; the conjecture would make A = 2B prove the rest are.
  • For n ≡ 5, 6, 7 mod 8 the root number forces L(En, 1) = 0, and the conjecture predicts a triangle every time.

Spot a mistake or have an idea?

Search