Lecture 11: The Number Theory Revival - From Diophantus to Fermat
Lecture 11: The Number Theory Revival - From Diophantus to Fermat
Section titled “Lecture 11: The Number Theory Revival - From Diophantus to Fermat”Lecture Line
Section titled “Lecture Line”This lecture is not a catalogue of famous number-theory results. It asks how number theory in the 17th century regained methods. Stillwell Chapter 11 first fills the space between Diophantus and Fermat, especially binomial coefficients, then moves through Fermat’s little theorem, Fermat’s last theorem, infinite descent, rational right triangles, and rational points on cubics.
The main line is Fermat, not probability. Pascal’s triangle appears because it connects binomial coefficients, combinations, and a route to Fermat’s little theorem. The division of stakes is a useful side reading about Pascal’s combinatorial interpretation, but it should not be the main classroom activity.
Students should perform three mathematical actions:
- use binomial coefficients to prove a congruence;
- understand how infinite descent proves nonexistence;
- use a line intersecting a curve to construct rational points.
Entry Problem: How Can One Prove an Integer Equation Has No Solution?
Section titled “Entry Problem: How Can One Prove an Integer Equation Has No Solution?”Earlier lectures used equations to describe curves, areas, and tangents. Number theory asks a stricter question: which solutions are integers or rational numbers?
The equation
has many positive integer solutions. Fermat claimed that for ,
has no positive integer solutions.
Finding a solution can be done by search, parametrization, or construction. Proving that no solution exists requires a different kind of method. Fermat’s importance lies in methods such as modular reasoning and infinite descent.
1. Between Diophantus and Fermat
Section titled “1. Between Diophantus and Fermat”Diophantus studied many integer and rational equations, but his work did not immediately become a continuous European tradition. Stillwell stresses that the period between Diophantus and Fermat was not empty:
- Chinese mathematics developed the Chinese remainder theorem and triangular tables of binomial coefficients;
- Yang Hui and Zhu Shijie preserved forms of what is now called Pascal’s triangle, tracing it back to Jia Xian;
- Levi ben Gershon gave formulas for permutations and combinations and came close to mathematical induction.
The 17th-century revival was therefore not creation from nothing. Old problems, old tools, and new notation converged again.
2. Pascal’s Triangle: Why It Belongs Here
Section titled “2. Pascal’s Triangle: Why It Belongs Here”Pascal’s triangle records binomial coefficients:
The entries satisfy
This follows from
Pascal did not discover the triangle first. His significance is that he unified two interpretations:
- algebraic interpretation: the entries are coefficients in the binomial expansion;
- combinatorial interpretation: counts ways to choose objects from .
For this chapter, the important point is not naming. It is that binomial coefficients have divisibility properties that lead directly into Fermat’s little theorem.
Pascal’s triangle can also be viewed as a modular object. Modulo , the odd entries form a Sierpinski-like pattern. Lucas’s theorem explains the structure: if and are written in binary, then
is odd exactly when every bit of occurs in a position where also has a bit. For example,
So the odd entries in row occur at
This turns Pascal’s triangle from a table of counts into an object with modular structure.
3. Fermat’s Little Theorem
Section titled “3. Fermat’s Little Theorem”Modern statement: if is prime and , then
Equivalently, for every integer ,
First prove the case . By the binomial theorem,
If is prime, then for ,
is divisible by . The numerator has a factor , and the denominator does not; since the binomial coefficient is an integer, the factor remains.
Thus the middle terms are divisible by , so
For general , use induction through the binomial theorem. If
then
So
for all positive integers . If , divide by modulo to obtain
This proof places Pascal’s triangle, prime divisibility, and induction in one chain.
The theorem also has an immediate algorithmic use. If is odd and
then is certainly composite. The converse is false: passing the test does not prove primality. A standard example is
Since
we have
Thus is composite but passes the base- Fermat test. This is a good place to discuss the difference between using a theorem and using its converse.
4. Fermat’s Last Theorem
Section titled “4. Fermat’s Last Theorem”Fermat famously claimed that for ,
has no positive integer solutions.
The modern proof by Andrew Wiles uses elliptic curves and modular forms. That is not the focus of this lecture. The better classroom question is: what method did Fermat actually leave?
One answer is infinite descent, especially in the case.
It is enough to prove Fermat’s last theorem for prime exponents. If and
then
A counterexample for a composite exponent would give a counterexample for a prime exponent.
5. Infinite Descent
Section titled “5. Infinite Descent”Infinite descent has a simple logical shape:
- Assume a positive-integer object with a certain property exists.
- Choose a smallest one.
- Construct a smaller object with the same property.
- This contradicts minimality.
The method relies on the well-ordering of the positive integers. It is especially suited to number theory.
Fermat used it in the theorem:
A right triangle with rational side lengths cannot have square area.
A primitive Pythagorean triple can be written as
where are coprime and of opposite parity. Its area is
If this area were a square, coprimality and parity force strong square-structure conditions on
Fermat’s key step is that from such a hypothetical triangle one can construct a smaller rational right triangle whose area is still a square. Thus a smallest counterexample would produce a smaller counterexample, impossible.
This also gives the case of Fermat’s last theorem, because an equation such as
leads to a rational right triangle with square area.
6. Rational Points on Conics
Section titled “6. Rational Points on Conics”Diophantine problems are often questions about rational points on curves.
For the unit circle
the point is rational. Draw a line of rational slope through it:
The other intersection with the circle is
If is rational, then are rational. Conversely, all rational points on the circle except arise this way.
This is the geometric form of the formula for Pythagorean triples.
7. Cubics of Genus 0
Section titled “7. Cubics of Genus 0”Stillwell then moves to cubic curves. If a cubic has a double point, it can often be parametrized by rational functions. Such curves are of genus 0.
For the folium of Descartes,
the origin is a double point. Let
Substitution gives
Apart from the double intersection at the origin, the other point is
Rational gives rational points. The construction parallels the unit-circle method: start from a special rational point and sweep lines of rational slope.
8. Cubics of Genus 1
Section titled “8. Cubics of Genus 1”If a cubic has no double point or cusp, the situation changes. It usually cannot be parametrized by rational functions. These are genus 1 curves, the entrance to elliptic curves.
Stillwell considers cubics of the form
If and are rational points, the line
through them meets the cubic at a third point . Substituting gives a cubic equation whose roots are . Comparing the coefficient of yields
so
If the coefficients and the first two points are rational, then the third point is rational.
This chord-tangent construction later becomes the addition law on elliptic curves. If one chooses a point at infinity as the zero point, then
is defined as the reflection of the third intersection point across the -axis. The associativity of this operation is not obvious and does not need to be proved here. The important classroom point is that rational points on a curve are not only a question of existence; they can carry an operation.
This explains why integer equations, rational points, and geometry keep returning to one another. The modern cryptographic story is a possible extension, but the lecture’s main mathematical point is the connection between Diophantine equations, rational points, and geometric operations.
Classroom Activities
Section titled “Classroom Activities”Activity A: From Fermat’s Little Theorem to Primality Testing
Section titled “Activity A: From Fermat’s Little Theorem to Primality Testing”- Expand .
- Explain why is divisible by prime for .
- Conclude
- Verify numerically for .
Now use the theorem in reverse. If an odd number satisfies
then is certainly composite.
Test . Then examine the counterexample
Since
we have
Discussion: why can Fermat’s test prove that some numbers are composite, but not prove by itself that a number is prime?
Activity B: Pascal’s Triangle mod 2 and the Lucas Idea
Section titled “Activity B: Pascal’s Triangle mod 2 and the Lucas Idea”Draw the first 16 rows of Pascal’s triangle. Color odd entries black and even entries white. Students should see a Sierpinski-like pattern.
Now look at row 13:
A mod 2 consequence of Lucas’s theorem is: is odd exactly when the binary -bits of occur only where has -bits.
Students list
Then check these positions in row 13 of Pascal’s triangle.
The aim is to move Pascal’s triangle from a table of combinations to a modular object with number-theoretic structure.
Activity C: Rational Points on the Circle and Pythagorean Triples
Section titled “Activity C: Rational Points on the Circle and Pythagorean Triples”Use
and
to derive
Try and compute the corresponding rational points.
Then write each point as
obtaining a Pythagorean triple
Final question: why does a line of rational slope through a rational point produce another rational point?
Activity D: The Logic of Descent, from to Fermat
Section titled “Activity D: The Logic of Descent, from 2\sqrt22 to Fermat”Begin with the lighter example: prove that is irrational.
Assume there is a smallest positive integer pair such that
Show that are both even, so is a smaller pair of the same kind. Contradiction.
Then return to Fermat’s rational right triangle theorem. Students do not need every algebraic step; they should identify the four logical components of a descent proof:
- What object is assumed to exist?
- Which positive integer measures minimality?
- How is a smaller object of the same kind produced?
- Why can this not continue forever?
Compare the descent with Fermat’s descent. The logic is the same; where does the difficulty increase?
Activity E: Genus 0 and Genus 1 Behave Differently
Section titled “Activity E: Genus 0 and Genus 1 Behave Differently”For the unit circle, one rational point plus an arbitrary rational slope gives all rational points.
For the folium of Descartes,
the origin is a double point, so lines also give a rational parametrization.
For a nonsingular cubic such as
a line usually meets the curve in three points. Students should explain:
- Why does “one known point plus one slope” no longer sweep out all points as it does for the circle?
- Why does “two points determine a line, then take the third intersection” become the natural operation?
- Why does this suggest an addition law on an elliptic curve?
Discussion Questions
Section titled “Discussion Questions”- Fermat’s little theorem can rule out compositeness failures, but why can it not by itself certify primality? What does the example show?
- Pascal’s triangle mod 2 produces a fractal pattern. What number-theoretic information is carried by binomial coefficients beyond counting?
- Where exactly is primality used in the proof of Fermat’s little theorem? Which step fails for composite moduli?
- Infinite descent and induction both rely on well-ordering. Compare “proving upward” with “constructing downward to a contradiction.”
- Why can rational points on conics be parametrized by rational slopes? Why is the same method insufficient for nonsingular cubics?
- Why does the chord-tangent construction on an elliptic curve turn “finding points” into “operating on points”?
- The modern proof of Fermat’s last theorem connects elliptic curves and modular forms. Does this suggest that the original integer equation already contained hidden geometry?
Further Directions
Section titled “Further Directions”- Early history of the Chinese remainder theorem.
- Pascal’s triangle in Chinese, Hebrew, and Pascal’s traditions: discovery, transmission, and systematization.
- Fermat’s little theorem, Euler’s theorem, and the arithmetic behind RSA.
- Infinite descent examples: irrationality of , Pythagorean triples, Fermat’s case.
- Congruent number problem: which numbers occur as areas of rational right triangles?
- Rational parametrization of the folium of Descartes.
- Chord-tangent law on elliptic curves and its connection to Fermat’s last theorem.
- Pascal’s division of stakes as a side reading on combinatorial interpretation.