Section 3.5 Surprises in Integer Equations
ยถThis chapter has discussed linear and quadratic Diophantine equations. As you can see, even relatively simple questions become much harder once you have to restrict yourself to integer solutions. And doing it without any more tools becomes increasingly unwieldy. But there is one final example of a question we can at least touch on. Recall that Pythagorean triples come, at their heart, from the observation that 32+42=52. This is an interesting coincidence of powers involving nearby numbers, in this case perfect squares. So too, we can notice that 32 and 23 are only one apart, and 52 and 33 are only two units apart; a perfect square and a perfect cube are close together. As usual, we can think of this graphically, using the integer lattice.
xxxxxxxxxx
def _(k=(1,[-5..25])):
f(x,y)=y^2-x^3-k
p = implicit_plot(f,(x,-3,3),(y,-6,6),plot_points = 200)
lattice_pts = [[i,j] for i in [-3..3] for j in [-6..6]]
plot_lattice_pts = points(lattice_pts,rgbcolor=(0,0,0),pointsize=2)
curve_pts = [coords for coords in lattice_pts if f(coords[0],coords[1])==0]
if len(curve_pts)==0:
show(p+plot_lattice_pts, figsize = [5,5], aspect_ratio=1)
else:
plot_curve_pts = points(curve_pts, rgbcolor = (0,0,1),pointsize=20)
show(p+plot_lattice_pts+plot_curve_pts, figsize = [5,5])
pretty_print(html("Solutions of $x^3+%s=y^2$ in this viewing window"%(k,)))
Remark 3.5.2.
We will learn more about Mordell in Section 15.3. Andrรฉ Weil in [C.5.8] describes โClaude Gaspard Bachet, sieur de Mรฉziriacโ as a โcountry gentleman ... no mathematician [who somehow] developed an interest in mathematical recreationsโ, but who in the end provided โa reliable text of Diophantus along with a mathematically sound translation and commentary.โ
Example 3.5.3.
We already saw that for k=2 we get the solution 25+2=27. The history is interesting; Bachet himself, in his translation and commentary on Diophantus, talked about finding rational solutions to what is now โhisโ equation. Fermat asked the English mathematician John Wallis (most famous for his infinite product for ฯ and for a nasty controversy with Thomas Hobbes) whether there were other solutions, and implied there were no others. Euler proved this is the only solution, but using some hidden assumptions so his proof was incomplete; see Fact 15.3.5.)
Example 3.5.4.
When k=โ1, Euler's proof in 1738 that 9โ1=8 is the only nontrivial solution is correct, however. He uses the same method of infinite descent we saw in Proposition 3.4.11. (He even shows that there aren't even any other rational number solutions to y2โ1=x3, all in the midst of a paper actually about demonstrating Exercise 3.6.17.)
Question 3.5.5. Catalan's Conjecture.
Eight and nine are consecutive perfect (nontrivial) powers. Are there any others?
xxxxxxxxxx
def _(end_range=10):
pretty_print(html("Solutions through numbers and powers $%s$"%end_range))
print([(x,p,y,q) for x in range(1,end_range) for y in range(1,end_range) for p in range(2,end_range) for q in range(2,end_range) if x^p+1==y^q])