52

Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss
Page 2: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Binary Quadratic Forms (BQF)

I Binary quadratic form:

Degree 2 homogeneous polynomial in 2 variables.

f(x, y) = ax2 + bxy + cy2

I Ex. f(x, y) = 3x2 − 2xy + y2.

I Seems easy?

Page 3: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Binary Quadratic Forms (BQF)

I Popular with old-timey Europeans like Fermat, Lagrange,Legendre, Euler, Gauss.

I Classic questions:I Which primes are the sum of two squares?

p = x2 + y2?

I When is a BQF invariant under change of coordinates?

f(x, y) = x2 − xy + y2 = f(x− y, x).

I When are two BQF the same after change of coordinates?

Page 4: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

What’s the Big Deal?!

Legendre writing aboutBQF in 1798.

David A. Cox writing aboutBQF in 1989.

Page 5: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

What’s the Big Deal?!Conway writing about BQF in 1997!

Page 6: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Introducing: the Topograph

Page 7: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Introducing: the Topograph

Page 8: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Introducing: the Topograph

Page 9: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Introducing: the Topograph

Page 10: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Topographical FactsI No vector ever repeats.I Vectors

[ab

]and

[cd

]are adjacent if and only if

ad− bc = det

[a cb d

]= ±1.

Page 11: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Topographical Facts

Say[ab

]is primitive if gcd(a, b) = 1.

I Every primitive vector shows up in the topograph.

I Define the Top and Bottom operations by

T[ab

]=

[a + bb

]B[ab

]=

[a

a + b

].

I Every primitive vector can be made from[10

]or

[01

]using a

sequence of top and bottom operations.

Page 12: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Topographical Facts

Idea: work backwards![311

]= B3

[32

]= B3T1

[12

]= B3T1B2

[10

].

Can you see why this works? Try more examples!

Page 13: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Topographical Facts

Idea: work backwards![311

]= B3

[32

]= B3T1

[12

]= B3T1B2

[10

].

Can you see why this works? Try more examples!

Page 14: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

BQF on the Topograph

f(x, y) = ax2 + bxy + cy2

I f(kx, ky) = a(kx)2 + b(kx)(ky) + c(ky)2 = k2f(x, y)

I f(−x,−y) = f(x, y)

I Enough to know the values of f(x, y) on primitive vectors.

Page 15: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

BQF on the Topograph

Page 16: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

BQF on the Topograph

Page 17: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

The Arithmetic Progression Law

Page 18: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

From (Almost) Nothing to Everything!

I We don’t even need to know the vectors!I Coordinate free way to study BQF.

Page 19: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

From (Almost) Nothing to Everything!

Page 20: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

From (Almost) Nothing to Everything!

Page 21: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

From (Almost) Nothing to Everything!

Page 22: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

From (Almost) Nothing to Everything!

Page 23: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Formula Found

Page 24: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

The Climbing Lemma

Page 25: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

The Climbing Lemma

Page 26: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Race to the Bottom

I We can always head downhill!

I What happens at the bottom?

Page 27: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Stuck in the Well

I Climbing Lemma: At most one well.I If f > 0, then it has a well and f is called positive definite.

I To tell if two positive definite forms are equivalent, go meetat the well.

Page 28: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Down by the River

I Climbing Lemma: At most one river!I If f 6= 0 and has a river, then f is called indefinite.

Page 29: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Down by the River

I Climbing Lemma: At most one river!I If f 6= 0 and has a river, then f is called indefinite.

Page 30: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

DiscriminationIf a and c are adjacent values of f with common difference hbetween them, then the discriminant of f is

∆ = h2 − 4ac.

I Same value measured anywhere on the topograph!I Ex. ∆ = −8.

Page 31: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

River or Well?

Page 32: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

The Repeating River

Suppose f has a river.

I Finitely many options for a, c, h.

I Therefore the river must always repeat!

Page 33: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

The Repeating River

f(x, y) = x2 + 3xy − 2y2

Page 34: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Lakes

I If f has a lake, then ∆ = h2 is a square.I One lake =⇒ f(x, y) = ax2.

Page 35: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Lakes

If both ± appear, there are two lakes connected by a river.

Page 36: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Lakes

Sometimes the river floods and the lakes merge.

Page 37: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Symmetries

I A symmetry of a BQF f is a linear change of coordinatesthat leaves f invariant,

f(Ax + By,Cx + Dy) = f(x, y).

I Alternatively, it is a transformation of the topograph thatpreserves the f labelling.

Page 38: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

SymmetriesI A symmetry of a BQF f is a linear change of coordinates

that leaves f invariant,f(Ax + By,Cx + Dy) = f(x, y).

I Alternatively, it is a transformation of the topograph thatpreserves the f labelling.

Page 39: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

SymmetriesSymmetries preserve all special features!

I Wells, rivers, and lakes, are preserved.

Page 40: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Another Perspective

Page 41: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Another Perspective

The mediant of reduced fractions ab and c

d is a + cb + d .

Page 42: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Another Perspective

The mediant of reduced fractions ab and c

d is a + cb + d .

Page 43: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Equivalence

Page 44: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Old Facts, New Light

Two rational numbers ab and c

d are adjacent if and only if theirdifference is an Egyptian fraction 1

m .

ab −

cd =

ad− bcbd = ± 1

bd .

Page 45: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Old Facts, New Light

Every reduced fraction eventually appears.I Define Top and Bottom operations on fractions by

T(ab

)=

a + bb B

(ab

)=

aa + b .

I Notice: T is “add one” and B is “flip, add one, flip.”

T(ab

)= 1 +

ab B

(ab

)=

1a+ba

=1

1 + ba

=1

1 + 1ab

.

I Applying T and B repeatedly is easy.

Tm(ab

)= m +

ab Bm

(ab

)=

1m + 1

ab

.

I (flip, add one, flip)(flip, add one, flip) = (flip, add two, flip)

Page 46: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Continued Fractions

I Recall that [311

]= B3T1B2

[10

].

I Check it out:

B3T1B2( 10

)=

1

3 +1

1 +1

2 +1∞

=1

3 +1

1 +12

=1

3 +23

=311

Page 47: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Continued Fractions

Continued fraction expansion of ab is a path from∞ to a

b !

311 =

1

3 +1

1 +1

2 +1∞

Page 48: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

But wait, there’s more!

New model shows there are hidden cells in our topograph livingoff near the horizon.

√2 = 1+

1

2 +1

2 +1

2 +1. . .

Page 49: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Back to the River

f(x, y) = x2 − 2y2 =⇒ fy2 =

(xy

)2− 2

Lagrange: If d ≥ 0 and a, b, d are integers, then the continuedfraction expansion of a + b

√d is eventually periodic.

Page 50: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Topographical Trinitarianism

Page 51: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

The End

Page 52: Binary Quadratic Forms (BQF)tghyde/Hyde -- Exploring the topograph.pdf · Binary Quadratic Forms (BQF) I Popular with old-timey Europeans like Fermat, Lagrange, Legendre, Euler, Gauss

Want More?

The Sensual (Quadratic) Formby John H. Conway.

Topology of Numbersby Allen Hatcher.