07 Aug Quotient Rings
“book2” — 2013/5/24 — 8:18 — page i — #1 i
i
i
i
i
i
Learning Modern Algebra
From Early Attempts to Prove
Fermat’s Last Theorem
i
i
“book2” — 2013/5/24 — 8:18 — page ii — #2 i
i
i
i
i
i
c 2013 by The Mathematical Association of America (Incorporated)
Library of Congress Control Number: 2013940990
Print ISBN: 978-1-93951-201-7
Electronic ISBN: 978-1-61444-612-5
Printed in the United States of America
Current Printing (last digit):
10 9 8 7 6 5 4 3 2 1
i
i
“book2” — 2013/5/24 — 8:18 — page iii — #3 i
i
i
i
i
i
Learning Modern Algebra
From Early Attempts to Prove
Fermat’s Last Theorem
Al Cuoco
EDC, Waltham MA
and
Joseph J. Rotman
University of Illinois at Urbana–Champaign
Published and distributed by
The Mathematical Association of America
i
i
“book2” — 2013/5/24 — 8:18 — page iv — #4 i
i
i
i
i
i
Committee on Books
Frank Farris, Chair
MAA Textbooks Editorial Board
Zaven A. Karian, Editor
Matthias Beck Richard E. Bedient
Thomas A. Garrity
Charles R. Hampton
John Lorch
Susan F. Pustejovsky Elsa J. Schaefer
Stanley E. Seltzer
Kay B. Somers
MAA TEXTBOOKS
Bridge to Abstract Mathematics, Ralph W. Oberste-Vorth, Aristides Mouzakitis, and
Bonita A. Lawrence
Calculus Deconstructed: A Second Course in First-Year Calculus, Zbigniew H. Nitecki
Combinatorics: A Guided Tour, David R. Mazur
Combinatorics: A Problem Oriented Approach, Daniel A. Marcus
Complex Numbers and Geometry, Liang-shin Hahn
A Course in Mathematical Modeling, Douglas Mooney and Randall Swift
Cryptological Mathematics, Robert Edward Lewand
Differential Geometry and its Applications, John Oprea
Elementary Cryptanalysis, Abraham Sinkov
Elementary Mathematical Models, Dan Kalman
An Episodic History of Mathematics: Mathematical Culture Through Problem Solving,
Steven G. Krantz
Essentials of Mathematics, Margie Hale
Field Theory and its Classical Problems, Charles Hadlock
Fourier Series, Rajendra Bhatia
Game Theory and Strategy, Philip D. Straffin
Geometry Revisited, H. S. M. Coxeter and S. L. Greitzer
Graph Theory: A Problem Oriented Approach, Daniel Marcus
Knot Theory, Charles Livingston
Learning Modern Algebra: From Early Attempts to Prove Fermat’s Last Theorem, Al
Cuoco and and Joseph J. Rotman
Lie Groups: A Problem-Oriented Introduction via Matrix Groups, Harriet Pollatsek
Mathematical Connections: A Companion for Teachers and Others, Al Cuoco
Mathematical Interest Theory, Second Edition, Leslie Jane Federer Vaaler and James
W. Daniel
i
i
“book2” — 2013/5/24 — 8:18 — page v — #5 i
i
i
i
i
i
Mathematical Modeling in the Environment, Charles Hadlock
Mathematics for Business Decisions Part 1: Probability and Simulation (electronic text-
book), Richard B. Thompson and Christopher G. Lamoureux
Mathematics for Business Decisions Part 2: Calculus and Optimization (electronic text-
book), Richard B. Thompson and Christopher G. Lamoureux
Mathematics for Secondary School Teachers, Elizabeth G. Bremigan, Ralph J. Bremi-
gan, and John D. Lorch
The Mathematics of Choice, Ivan Niven
The Mathematics of Games and Gambling, Edward Packel
Math Through the Ages, William Berlinghoff and Fernando Gouvea
Noncommutative Rings, I. N. Herstein
Non-Euclidean Geometry, H. S. M. Coxeter
Number Theory Through Inquiry, David C. Marshall, Edward Odell, and Michael Star-
bird
A Primer of Real Functions, Ralph P. Boas
A Radical Approach to Lebesgue’s Theory of Integration, David M. Bressoud
A Radical Approach to Real Analysis, 2nd edition, David M. Bressoud
Real Infinite Series, Daniel D. Bonar and Michael Khoury, Jr.
Topology Now!, Robert Messer and Philip Straffin
Understanding our Quantitative World, Janet Andersen and Todd Swanson
MAA Service Center
P.O. Box 91112
Washington, DC 20090-1112
1-800-331-1MAA FAX: 1-301-206-9789
i
i
“book2” — 2013/5/24 — 8:18 — page vi — #6 i
i
i
i
i
i
i
i
“book2” — 2013/5/24 — 8:18 — page vii — #7 i
i
i
i
i
i
vii
Per Micky: Tutto quello che faccio, lo faccio per te.
i
i
“book2” — 2013/5/24 — 8:18 — page viii — #8 i
i
i
i
i
i
i
i
“book2” — 2013/5/24 — 8:18 — page ix — #9 i
i
i
i
i
i
Contents
Preface xiii
Some Features of This Book . . . . . . . . . . . . . . . . . . . . . xiv
A Note to Students . . . . . . . . . . . . . . . . . . . . . . . . . . xv
A Note to Instructors . . . . . . . . . . . . . . . . . . . . . . . . . xv
Notation xvii
1 Early Number Theory 1
1.1 Ancient Mathematics . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Diophantus . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Geometry and Pythagorean Triples . . . . . . . . . . . . . 8
The Method of Diophantus . . . . . . . . . . . . . . . . . 11
Fermat’s Last Theorem . . . . . . . . . . . . . . . . . . . 14
Connections: Congruent Numbers . . . . . . . . . . . . . . 16
1.3 Euclid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Greek Number Theory . . . . . . . . . . . . . . . . . . . . 21
Division and Remainders . . . . . . . . . . . . . . . . . . 22
Linear Combinations and Euclid’s Lemma . . . . . . . . . 24
Euclidean Algorithm . . . . . . . . . . . . . . . . . . . . . 30
1.4 Nine Fundamental Properties . . . . . . . . . . . . . . . . . . 36
1.5 Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Trigonometry . . . . . . . . . . . . . . . . . . . . . . . . 41
Integration . . . . . . . . . . . . . . . . . . . . . . . . . . 42
2 Induction 45
2.1 Induction and Applications . . . . . . . . . . . . . . . . . . . 45
Unique Factorization . . . . . . . . . . . . . . . . . . . . . 53
Strong Induction . . . . . . . . . . . . . . . . . . . . . . . 57
Differential Equations . . . . . . . . . . . . . . . . . . . . 60
2.2 Binomial Theorem . . . . . . . . . . . . . . . . . . . . . . . 63
Combinatorics . . . . . . . . . . . . . . . . . . . . . . . . 69
2.3 Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
An Approach to Induction . . . . . . . . . . . . . . . . . . 73
Fibonacci Sequence . . . . . . . . . . . . . . . . . . . . . 75
3 Renaissance 81
3.1 Classical Formulas . . . . . . . . . . . . . . . . . . . . . . . 82
3.2 Complex Numbers . . . . . . . . . . . . . . . . . . . . . . . 91
ix
i
i
“book2” — 2013/5/29 — 16:18 — page x — #10 i
i
i
i
i
i
x Contents
Algebraic Operations . . . . . . . . . . . . . . . . . . . . 92
Absolute Value and Direction . . . . . . . . . . . . . . . . 99
The Geometry Behind Multiplication . . . . . . . . . . . . 101
3.3 Roots and Powers . . . . . . . . . . . . . . . . . . . . . . . . 106
3.4 Connections: Designing Good Problems . . . . . . . . . . . . 116
Norms . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Pippins and Cheese . . . . . . . . . . . . . . . . . . . . . 118
Gaussian Integers: Pythagorean Triples Revisited . . . . . . 119
Eisenstein Triples and Diophantus . . . . . . . . . . . . . . 122
Nice Boxes . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Nice Functions for Calculus Problems . . . . . . . . . . . 124
Lattice Point Triangles . . . . . . . . . . . . . . . . . . . . 126
4 Modular Arithmetic 131
4.1 Congruence . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
4.2 Public Key Codes . . . . . . . . . . . . . . . . . . . . . . . . 149
4.3 Commutative Rings . . . . . . . . . . . . . . . . . . . . . . . 154
Units and Fields . . . . . . . . . . . . . . . . . . . . . . . 160
Subrings and Subfields . . . . . . . . . . . . . . . . . . . . 166
4.4 Connections: Julius and Gregory . . . . . . . . . . . . . . . . 169
4.5 Connections: Patterns in Decimal Expansions . . . . . . . . . 177
Real Numbers . . . . . . . . . . . . . . . . . . . . . . . . 177
Decimal Expansions of Rationals . . . . . . . . . . . . . . 179
Periods and Blocks . . . . . . . . . . . . . . . . . . . . . . 182
5 Abstract Algebra 191
5.1 Domains and Fraction Fields . . . . . . . . . . . . . . . . . . 192
5.2 Polynomials . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
Polynomial Functions . . . . . . . . . . . . . . . . . . . . 204
5.3 Homomorphisms . . . . . . . . . . . . . . . . . . . . . . . . 206
Extensions of Homomorphisms . . . . . . . . . . . . . . . 213
Kernel, Image, and Ideals . . . . . . . . . . . . . . . . . . 216
5.4 Connections: Boolean Things . . . . . . . . . . . . . . . . . . 221
Inclusion-Exclusion . . . . . . . . . . . . . . . . . . . . . 227
6 Arithmetic of Polynomials 233
6.1 Parallels to Z . . . . . . . . . . . . . . . . . . . . . . . . . . 233
Divisibility . . . . . . . . . . . . . . . . . . . . . . . . . . 233
Roots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
Greatest Common Divisors . . . . . . . . . . . . . . . . . 243
Unique Factorization . . . . . . . . . . . . . . . . . . . . . 248
Principal Ideal Domains . . . . . . . . . . . . . . . . . . . 255
6.2 Irreducibility . . . . . . . . . . . . . . . . . . . . . . . . . . 259
Roots of Unity . . . . . . . . . . . . . . . . . . . . . . . . 264
6.3 Connections: Lagrange Interpolation . . . . . . . . . . . . . . 270
7 Quotients, Fields, and Classical Problems 277
7.1 Quotient Rings . . . . . . . . . . . . . . . . . . . . . . . . . 277
7.2 Field Theory . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
Characteristics . . . . . . . . . . . . . . . . . . . . . . . . 287
Extension Fields . . . . . . . . . . . . . . . . . . . . . . . 289
i
i
“book2” — 2013/5/24 — 8:18 — page xi — #11 i
i
i
i
i
i
Contents xi
Algebraic Extensions . . . . . . . . . . . . . . . . . . . . 293
Splitting Fields . . . . . . . . . . . . . . . . . . . . . . . . 300
Classification of Finite Fields . . . . . . . . . . . . . . . . 305 7.3 Connections: Ruler–Compass Constructions . . . . . . . . . . 308
Constructing Regular n-gons . . . . . . . . . . . . . . . . 320
Gauss’s construction of the 17-gon . . . . . . . . . . . . . 322
8 Cyclotomic Integers 329
8.1 Arithmetic in Gaussian and Eisenstein Integers . . . . . . . . 330
Euclidean Domains . . . . . . . . . . . . . . . . . . . . . 333
8.2 Primes Upstairs and Primes Downstairs . . . . . . . . . . . . 337
Laws of Decomposition . . . . . . . . . . . . . . . . . . . 339 8.3 Fermat’s Last Theorem for Exponent 3 . . . . . . . . . . . . 349
Preliminaries . . . . . . . . . . . . . . . . . . . . . . . . . 350
The First Case . . . . . . . . . . . . . . . . . . . . . . . . 351
Gauss’s Proof of the Second Case . . . . . . . . . . . . . . 354
8.4 Approaches to the General Case . . . . . . . . . . . . . . . . 359 Cyclotomic integers . . . . . . . . . . . . . . . . . . . . . 360
Kummer, Ideal Numbers, and Dedekind . . . . . . . . . . . 365
8.5 Connections: Counting Sums of Squares . . . . . . . . . . . . 371
A Proof of Fermat’s Theorem on Divisors . . . . . . . . . 373
9 Epilog 379
9.1 Abel and Galois . . . . . . . . . . . . . . . . . . . . . . . . . 379
9.2 Solvability by Radicals . . . . . . . . . . . . . . . . . . . . . 381
9.3 Symmetry . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384 9.4 Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
9.5 Wiles and Fermat’s Last Theorem . . . . . . . . . . . . . . . 396
Elliptic Integrals and Elliptic Functions . . . . . . . . . . . 397
Congruent Numbers Revisited . . . . . . . . . . . . . . . . 400
Elliptic Curves . . . . . . . . . . . . . . . . . . . . . . . . 404
A Appendices 409
A.1 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
A.2 Equivalence Relations . . . . . . . . . . . . . . . . . . . . . . 420 A.3 Vector Spaces . . . . . . . . . . . . . . . . . . . . . . . . . . 424
Bases and Dimension . . . . . . . . . . . . . . . . . . . . 427
Linear Transformations . . . . . . . . . . . . . . . . . . . 435
A.4 Inequalities . . . . . . . . . . . . . . . . . . . . . . . . . . . 441
A.5 Generalized Associativity . . . . . . . . . . . . . . . . . . . . 442
A.6 A Cyclotomic Integer Calculator . . . . . . . . . . . . . . . . 444 Eisenstein Integers . . . . . . . . . . . . . . . . . . . . . . 445
Symmetric Polynomials . . . . . . . . . . . . . . . . . . . 446
Algebra with Periods . . . . . . . . . . . . . . . . . . . . . 446
References 449
Index 451
About the Authors 459
i
i
“book2” — 2013/5/24 — 8:18 — page xii — #12 i
i
i
i
i
i
i
i
“book2” — 2013/5/24 — 8:18 — page xiii — #13 i
i
i
i
i
i
Preface
This book is designed for college students who want to teach mathematics in
high school, but it can serve as a text for standard abstract algebra courses as
well. First courses in abstract algebra usually cover number theory, groups, and commutative rings. We have found that the first encounter with groups is
not only inadequate for future teachers of high school mathematics, it is also
unsatisfying for other mathematics students. Hence, we focus here on number
theory, polynomials, and commutative rings. We introduce groups in our last
chapter, for the earlier discussion of commutative rings allows us to explain how groups are used to prove Abel’s Theorem: there is no generalization of the
quadratic, cubic, and quartic formulas giving the roots of the general quintic
polynomial. A modest proposal: undergraduate abstract algebra should be a
sequence of two courses, with number theory and commutative rings in the
first course, and groups and linear algebra (with scalars in arbitrary fields) in
the second. We invoke an historically accurate organizing principle: Fermat’s Last The-
orem (in Victorian times, the title of this book would have been Learning Mod-
ern Algebra by Studying Early Attempts, Especially Those in the Nineteenth
Century, that Tried to Prove Fermat’s Last Theorem Using Elementary Meth-
ods). To be sure, another important problem at that time that contributed to modern algebra was the search for formulas giving the roots of polynomials.
This search is intertwined with the algebra involved in Fermat’s Last Theo-
rem, and we do treat this part of algebra as well. The difference between our
approach and the standard approach is one of emphasis: the natural direction
for us is towards algebraic number theory, whereas the usual direction is to- wards Galois theory.
Four thousand years ago, the quadratic formula and the Pythagorean The-
orem were seen to be very useful. To teach them to new generations, it was
best to avoid square roots (which, at the time, were complicated to compute),
and so problems were designed to have integer solutions. This led to Pythag-
orean triples: positive integers a; b; c satisfying a2 C b2 D c2. Two thousand years ago, all such triples were found and, when studying them in the seven-
teenth century, Fermat wondered whether there are positive integer solutions
to an C bn D cn for n > 2. He claimed in a famous marginal note that there are no solutions, but only his proof of the case n D 4 is known. This problem, called Fermat’s Last Theorem, intrigued many of the finest mathematicians, but it long resisted all attempts to solve it. Finally, using sophisticated tech-
niques of algebraic geometry developed at the end of the twentieth century,
Andrew Wiles proved Fermat’s Last Theorem in 1995.
xiii
i
i
“book2” — 2013/5/24 — 8:18 — page xiv — #14 i
i
i
i
i
i
xiv Preface
Before its solution, Fermat’s Last Theorem was a challenge to mathemati-
cians (as climbing Mount Everest was a challenge to mountaineers). There are
no dramatic applications of the result, but it is yet another triumph of human in- tellect. What is true is that, over the course of 350 years, much of contemporary
mathematics was invented and developed in trying to deal with it. The num-
ber theory recorded in Euclid was shown to have similarities with the behavior
of polynomials, and generalizations of prime numbers and unique factoriza-
tion owe their initial study to attempts at proving Fermat’s Last Theorem. But these topics are also intimately related to what is actually taught in high school.
Thus, abstract algebra is not merely beautiful and interesting, but it is also a
valuable, perhaps essential, topic for understanding high school mathematics.
Some Features of This Book
We include sections in every chapter, called Connections, in which we explic- itly show how the material up to that point can help the reader understand and
implement the mathematics that high school teachers use in their profession.
This may include the many ways that results in abstract algebra connect with
core high school ideas, such as solving equations or factoring. But it may also
include mathematics for teachers themselves, that may or may not end up “on the blackboard;” things like the use of abstract algebra to make up good prob-
lems, to understand the foundations of topics in the curriculum, and to place
the topics in the larger landscape of mathematics as a scientific discipline.
Many students studying abstract algebra have problems understanding
proofs; even though they can follow each step of a proof, they wonder how
anyone could have discovered its argument in the first place. To address such problems, we have tried to strike a balance between giving a logical develop-
ment of results (so the reader can see how everything fits together in a coherent
package) and discussing the messier kinds of thinking that lead to discovery
and proofs. A nice aspect of this sort of presentation is that readers participate
in doing mathematics as they learn it. One way we implement this balance is our use of several design features,
such as the Connections sections described above. Here are some others.
� Sidenotes provide advice, comments, and pointers to other parts of the text related to the topic at hand. What could be more fitting for a book related to
Fermat’s Last Theorem than to have large margins? � Interspersed in the text are boxed “callouts,” such as How to Think About
It, which suggest how ideas in the text may have been conceived in the first place, how we view the ideas, and what we guess underlies the formal
exposition. Some other callouts are:
Historical Note, which provides some historical background. It often helps
to understand mathematical ideas if they are placed in historical con-
text; besides, it’s interesting. The biographies are based on those in the MacTutor History of Mathematics Archive of the School of Mathemat-
ics and Statistics, University of St. Andrews, Scotland. It can be found
on the internet: its URL is
www-history.mcs.st-andrews.ac.uk
Etymology, which traces out the origin of some mathematical terms. We
believe that knowing the etymology of terms often helps to understand
the ideas they name.
i
i
“book2” — 2013/5/24 — 8:18 — page xv — #15 i
i
i
i
i
i
Preface xv
Etymology. The word mathematics comes from classical Greek; it
means “knowledge,” “something learned.” But in ancient Rome through
the thirteenth century, it meant “astronomy” and “astrology.” From the
Middle Ages, it acquired its present meaning.
The word arithmetic comes from the Greek word meaning “the art of
counting.” The word geometry, in classical Greek, meant “science of measuring;” it arose from an earlier term meaning “land survey.”
It is a pleasure to acknowledge those who have contributed valuable com-
ments, suggestions, ideas, and help. We thank Don Albers, Carol Baxter, Bruce
Berndt, Peter Braunfeld, Keith Conrad, Victoria Corkery, Don DeLand, Ben Conrad’s website www.math.uconn.edu/
˜kconrad/blurbs/
is full of beautiful ideas.
Fischer, Andrew Granville, Heini Halberstam, Zaven Karian, Tsit-Yuen Lam,
Paul Monsky, Beverly Ruedi, Glenn Stevens, and Stephen Ullom.
A Note to Students
The heart of a mathematics course lies in its problems. We have tried to or-
chestrate them to help you build a solid understanding of the mathematics in
the sections. Everything afterward will make much more sense if you work through as many exercises as you can, especially those that appear difficult.
Quite often, you will learn something valuable from an exercise even if you
don’t solve it completely. For example, a problem you can’t solve may show
that you haven’t fully understood an idea you thought you knew; or it may
force you to discover a fact that needs to be established to finish the solution.
There are two special kinds of exercises.
� Those labeled Preview may seem to have little to do with the section at hand; they are designed to foreshadow upcoming topics, often with numerical ex-
periments.
� Those labeled Take it Further develop interesting ideas that are connected to the main themes of the text, but are somewhat off the beaten path. They
are not essential for understanding what comes later in the text.
An exercise marked with an asterisk, such as 1.8*, means that it is either used in some proof or it is referred to elsewhere in the text. For ease of finding
such exercises, all references to them have the form “Exercise 1.8 on page 6”
giving both its number and the number of the page on which it occurs.
A Note to Instructors
We recommend giving reading assignments to preview upcoming material.
This contributes to balancing experience and formality as described above, and it saves time. Many important pages can be read and understood by students,
and they should be discussed in class only if students ask questions about them.
It is possible to use this book as a text for a three hour one-semester course,
but we strongly recommend that it be taught four hours per week.
—Al Cuoco and Joe Rotman
i
i
“book2” — 2013/5/24 — 8:18 — page xvi — #16 i
i
i
i
i
i
i
i
“book2” — 2013/5/24 — 8:18 — page xvii — #17 i
i
i
i
i
i
Notation
.a; b; c/ 4 triangle with sides of lengths a; b; c
ABC 4 triangle with vertices A;B; C
N 21 natural numbers
Z 21 integers
a j b 21 a is a divisor of b gcd.a; b/ 24 greatest common divisor
bxc 29 greatest integer in x Q 36 rational numbers
R 36 real numbers
) 46 implies lcm.a; b/ 55 least common multiple�
n r
� 63 binomial coefficient
<.z/ 92 real part of complex number z =.z/ 92 imaginary part of complex number z C 92 complex numbers
��! PQ 93 arrow from P to Q
z 96 conjugate of z
jzj 99 modulus of z arg.z/ 100 argument of z
ez 108 complex exponential
�.n/ 111 Euler �-function
N.z/ 116 norm of z
ZŒi 119 Gaussian integers
ZŒ!/ 120 Eisenstein integers
a � b mod m 132 a is congruent to b modulom m1 � � �cmi � � �mr 147 expression withmi deleted
Œa 154 congruence class of integer a
Zm 154 integers mod m
ZŒ� 157 cyclotomic integers
RS 157 ring of functionsR ! S C.X/ 157 ring of continuous functionsX ! R
xvii
i
i
“book2” — 2013/5/24 — 8:18 — page xviii — #18 i
i
i
i
i
i
xviii Notation
Fun.R/ 157 ring of functionsR ! R F4 165 field with 4 elements
2X 167 Boolean ring of subsets of set X
j.m/ 172 calendar month function
Frac.D/ 194 fraction field of domain D
a=b 195 element of Frac.D/
deg.f / 198 degree of polynomial f
RŒŒx 198 all power series over R
RŒx 198 all polynomials over R
x 200 indeterminate inRŒx
f 0.x/ 202 derivative of f .x/ 2 RŒx f # 204 associated polynomial function of f
Poly.R/ 204 all polynomials functions over R
k.x/ 205 field of rational functions over k
Fq 205 finite field with exactly q elements
RŒx1; : : : ; xn 205 polynomials in several variables over R
D.x1; : : : ; xn/ 206 rational functions in several variables over
domain D
R Š S 207 ringsR and S are isomorphic ker’ 217 kernel of homomorphism ‘
im’ 217 image of homomorphism ‘
.b1; : : : ; bn/ 218 ideal generated by b1; : : : ; bn
.a/ 218 principal ideal generated by a
.0/ 219 zero ideal D f0g IJ 220 product of ideals I and J
I C J 220 sum of ideals I and J R � S 221 direct product of rings R and S a _ b 223 binary operation in Boolean ring jAj 227 number of elements in finite set A PID 255 principal ideal domain
UFD 258 unique factorization domain
ˆd .x/ 265 cyclotomic polynomial
aC I 278 coset of element a mod ideal I a � b mod I 279 congruent mod ideal I
R=I 280 quotient ringR mod I˝ X ˛
293 subfield generated by subset X
ŒK W k 291 degree of extension field K=k k.z1 ; : : : ; zn/ 294 extension field adjoining z1; : : : ; zn to k
irr.z; k/ 296 minimal polynomial of z over k
PQ 310 line segment with endpoints P;Q
PQ 310 length of segment PQ
i
i
“book2” — 2013/5/24 — 8:18 — page xix — #19 i
i
i
i
i
i
Notation xix
L.P;Q/ 309 line determined by points P;Q
C.P;Q/ 309 circle with center P , radius PQ
@ 333 size function on Euclidean domain
� 348 � D 1 � ! � 350 valuation
r.n/ 371 number of non-associate z 2 ZŒi of norm n Q1 372 first quadrant
�.s/ 374 Riemann zeta function
�.n/ 375 a multiplicative function on ZŒi
Gal.f / 386 Galois group of polynomial f
Gal.E=k/ 387 Galois group of field extension E=k
Sn 389 symmetric group on n letters
G=N 392 quotient group
a 2 A 409 a is an element of set A 1X 411 identity function on set X
f W a 7! b 411 f .a/ D b U � V 410 U is a subset of set V U ¨ V 410 U is a proper subset of V
¿ 410 empty set
g ı f 414 composite f followed by g Œa 421 equivalence class of element a
SpanhXi 427 subspace spanned by subset X dim.V / 433 dimension of vector space V
V � 437 dual space of vector space V
A> 438 transpose of matrix A
i
i
“book2” — 2013/5/24 — 8:18 — page xx — #20 i
i
i
i
i
i
i
i
“book2” — 2013/5/24 — 8:18 — page 1 — #21 i
i
i
i
i
i
1 Early Number Theory Algebra, geometry, and number theory have been used for millennia. Of course,
numbers are involved in counting and measuring, enabling commerce and ar-
chitecture. But reckoning was also involved in life and death matters such as astronomy, which was necessary for navigation on the high seas (naval com-
merce flourished four thousand years ago) as well as to predict the seasons,
to apprise farmers when to plant and when to harvest. Ancient texts that have
survived from Babylon, China, Egypt, Greece, and India provide evidence for
this. For example, the Nile River was the source of life in ancient Egypt, for its banks were the only arable land in the midst of desert. Mathematics was
used by the priestly class to predict flooding as well as to calculate area (taxes
were assessed according to the area of land, which changed after flood waters
subsided). And their temples and pyramids are marvels of engineering.
1.1 Ancient Mathematics
The quadratic formula was an important mathematical tool, and so it was
taught to younger generations training to be royal scribes. Here is a problem from an old Babylonian cuneiform text dating from about 1700 BCE. We quote
from van der Waerden [35], p. 61 (but we write numbers in base 10 instead
of in base 60, as did the Babylonians). We also use modern algebraic notation
that dates from the fifteenth and sixteenth centuries (see Cajori [6]).
I have subtracted the side of the square from the area, and it is 870. What
is the side of my square?
The text rewrites the data as the quadratic equation x2 � x D 870; it then gives a series of steps showing how to find the solution, illustrating that the
Babylonians knew the quadratic formula.
Historians say that teaching played an important role in ancient mathe- matics (see van der Waerden [35], pp. 32–33). To illustrate, the coefficients
of the quadratic equation were chosen wisely: the discriminant b2 � 4ac D 1 � 4.�870/ D 3481 D 592 is a perfect square. Were the discriminant not a The number 59 may have
been chosen because
the Babylonians wrote
numbers in base 60, and
59 D 60 � 1.
perfect square, the problem would have been much harder, for finding square
roots was not routine in those days. Thus, the quadratic in the text is well- chosen for teaching the quadratic formula; a good teaching prize would not be
awarded for x2 � 47x D 210. The Babylonians were not afraid of cubics. Another of their problems from
about the same time is
1
i
i
“book2” — 2013/5/24 — 8:18 — page 2 — #22 i
i
i
i
i
i
2 Chapter 1 Early Number Theory
Solve 12×3 D 3630,
and the answer was given. The solution was, most likely, obtained by using tables of approximations of cube roots.
A standard proof of the quadratic formula is by “completing the square.”
This phrase can be taken literally. Given a quadratic x2C bx D c with b and c positive, we can view x2 C bx as the shaded area in Figure 1.1. Complete the
x
x
Figure 1.1. Completing the Square.
figure to a square by attaching the corner square having area 1 2 b � 1
2 b D 1
4 b2;
the new square has area
c C 1 4 b2 D x2 C bx C 1
4 b2 D .x C 1
2 b/2:
Thus, x C 1 2 b D
q c C 1
4 b2, which simplifies to the usual formula giving
the roots of x2 C bx � c. The algebraic proof of the validity of the quadratic
In [35], pp. 26–35, van
der Waerden considers
the origin of proofs in
mathematics, suggesting
that they arose in Europe
and Asia in Neolithic
(late Stone Age) times,
4500 BCE–2000 BCE.
formula works without assuming that b and c are positive, but the idea of the
proof is geometric.
a2
b2
a
b
a
b
a b
a
b
c2
Figure 1.2. Pythagorean Theorem.
The Babylonians were aware of the Pythagorean Theorem. Although they
believed it, there is no evidence that the Babylonians had proved the Pythag-
orean Theorem; indeed, no evidence exists that they even saw a need for a
proof. Tradition attributes the first proof of this theorem to Pythagoras, who Exercise 1.4 on page 5
asks you to show that the
rhombus in Figure 1.2
with sides of length c is a
square.
lived around 500 BCE, but no primary documents extant support this. An ele-
gant proof of the Pythagorean Theorem is given on page 354 of Heath’s 1926
translation [16] of Euclid’s The Elements; the theorem follows from equality
of the areas of the two squares in Figure 1.2.
i
i
“book2” — 2013/5/24 — 8:18 — page 3 — #23 i
i
i
i
i
i
1.1 Ancient Mathematics 3
Here is an ancient application of the Pythagorean Theorem. Aristarchus
(ca. 310 BCE–250 BCE) saw that the Moon and the Sun appear to be about
the same size, and he wondered how far away they are. His idea was that at the time of the half-moon, the Earth E , Moon M , and Sun S form a right
triangle with right angle †M (that is, looking up at the Moon, the line of sight seems to be perpendicular to the Sun’s rays). The Pythagorean Theorem gives
a
S M
E
Figure 1.3. Earth, Moon, and Sun.
jSEj2 D jSM j2 C jMEj2. Thus, the Earth is farther from the Sun than it is from the Moon. Indeed, at sunset, ˛ D †E seems to be very close to 90ı: if we are looking at the Moon and we wish to watch the Sun dip below the horizon,
we must turn our head all the way to the left. Aristarchus knew trigonometry;
he reckoned that cos˛ was small, and he concluded that the Sun is very much
further from the Earth than is the Moon.
Example 1.1. Next, we present a geometric problem from a Chinese collec-
tion of mathematical problems, Nine Chapters on the Mathematical Art, writ- ten during the Han Dynasty about two thousand years ago. Variations of this
problem still occur in present day calculus books!
There is a door whose height and width are unknown, and a pole whose There are similar problems from the Babylonians and
other ancient cultures. length p is also unknown. Carried horizontally, the pole does not fit by 4
ch’ihI vertically, it does not fit by 2 ch’ihI slantwise, it fits exactly. What are the height, width, and diagonal of the door?
p p – 2
p – 4
Figure 1.4. Door Problem.
The data give a right triangle with sides p � 4, p � 2, and p, and the Py- thagorean Theorem gives the equation .p � 4/2 C .p � 2/2 D p2, which simplifies to p2�12pC20 D 0. The discriminant b2�4ac is 144�80 D 64, a perfect square, so that p D 10 and the door has height 8 and width 6 (the other root of the quadratic is p D 2, which does not fit the physical data). The sides of the right triangle are 6, 8, 10, and it is similar to the triangle with
sides 3; 4; 5. Again, the numbers have been chosen wisely. The idea is to teach
i
i
“book2” — 2013/5/24 — 8:18 — page 4 — #24 i
i
i
i
i
i
4 Chapter 1 Early Number Theory
students how to use the Pythagorean Theorem and the quadratic formula. As
we have already remarked, computing square roots was then quite difficult, so
that the same problem for a pole of length p D 12 would not have been very bright because there is no right triangle with sides of integral length that hasThe word hypotenuse
comes from the Greek verb
meaning to stretch. hypotenuse 12. N
Are there right triangles whose three sides have integral length that are not
similar to the 3; 4; 5 triangle? You are probably familiar with the 5; 12; 13 tri-
angle. Let’s use 4.a; b; c/ (lower case letters) to denote the triangle whose sides have length a, b, and c; if 4.a; b; c/ is a right triangle, then c denotes the length of its hypotenuse, while a and b are its legs. Thus, the right trian-
gle with side-lengths 5, 12, 13 is denoted by 4.5; 12; 13/. (We use the usual notation, 4ABC , to denote a triangle whose vertices are A;B; C .)
Definition. A triple .a; b; c/ of positive integers with a2 C b2 D c2 is called a Pythagorean triple.
If .a; b; c/ is a Pythagorean triple, then the triangles 4.a; b; c/ and 4.b; a; c/ are the same. Thus, we declare that the Pythagorean triples .a; b; c/ and .b; a; c/ are the same.
Historical Note. Pythagorean triples are the good choices for problems teach-
ing the Pythagorean Theorem. There are many of them: Figure 1.5 shows a
Babylonian cuneiform tablet dating from the dynasty of Hammurabi, about
1800 BCE, whose museum name is Plimpton 322, which displays fifteen Pythagorean triples (translated into our number system).
b a c
120 119 169
3456 3367 4825
4800 4601 6649
13500 12709 18541
72 65 97
360 319 481
2700 2291 3541
960 799 1249
600 481 769
6480 4961 8161
60 45 75
2400 1679 2929
240 161 289
2700 1771 3229
90 56 106
Figure 1.5. Plimpton 322.
i
i
“book2” — 2013/5/24 — 8:18 — page 5 — #25 i
i
i
i
i
i
1.1 Ancient Mathematics 5
It is plain that the Babylonians had a way to generate large Pythagorean
triples. Here is one technique they might have used. Write
a2 D c2 � b2 D .c C b/.c � b/:
If there are integers m and n with
c C b D m2
c � b D n2;
then
a D p .c C b/.c � b/ D mn: (1.1)
We can also solve for b and c:
b D 1 2
� m2 � n2
� (1.2)
c D 1 2
� m2 C n2
� : (1.3)
Summarizing, here is what we call the Babylonian method. Choose odd num-
bers m and n (forcing m2 C n2 and m2 � n2 to be even, so that b and c are integers), and define a, b, and c by Eqs. (1.1), (1.2), and (1.3). For example, if m D 7 and n D 5, we obtain 35, 12, 37. If we choose m D 179 and n D 71, we obtain 13500, 12709, 18541, the largest triple on Plimpton 322.
The Babylonian method does not give all Pythagorean triples. For example,
.6; 8; 10/ is a Pythagorean triple, but there are no odd numbers m > n with
6 D mn or 8 D mn. Of course, .6; 8; 10/ is not signifcantly different from .3; 4; 5/, which arises from 3 > 1. In the next section, we will show, follow-
ing Diophantus, ca. 250 CE, how to find all Pythagorean triples. But now we
should recognize that practical problems involving applications of pure math-
ematics (e.g., surveying) led to efforts to teach this mathematics effectively,
which led to more pure mathematics (Pythagorean triples) that seems at first to After all, what practi-
cal application does
the Pythagorean triple
.13500; 12709; 18541/
have?
have no application outside of teaching. The remarkable, empirical, fact is that pure mathematics yields new and valuable applications. For example, we shall
see in the next section that classifying Pythagorean triples leads to simplifying
the verification of some trigonometric identities as well as the solution of cer-
tain integration problems (for example, we will see a natural way to integrate
sec x).
Exercises
1.1 Prove the quadratic formula for the roots of ax2Cbx Cc D 0 whose coefficients a, b, and c may not be positive.
1.2 Give a geometric proof that .a C b/2 D a2 C 2ab C b2 for a; b positive. 1.3 * Let f .x/ D ax2C bx C c be a quadratic whose coefficients a; b; c are rational.
Prove that if f .x/ has one rational root, then its other root is also rational.
1.4 *
(i) Prove that the rhombus with side lengths c in the left square of Figure 1.2 is The book by Loomis [20] contains 370 different
proofs of the Pythagorean
Theorem, by the author’s
count.
a square.
(ii) Prove the Pythagorean Theorem in a way suggested by Figure 1.2.
(iii) Give a proof of the Pythagorean Theorem different from the one suggested
by Figure 1.2.
i
i
“book2” — 2013/5/24 — 8:18 — page 6 — #26 i
i
i
i
i
i
6 Chapter 1 Early Number Theory
1.5 Here is another problem from Nine Chapters on the Mathematical Art. A pond is
10 ch’ih square. A reed grows at its center and extends 1 ch’ih out of the water.
If the reed is pulled to the side of the pond, it reaches the side precisely. What are
the depth of the water and the length of the reed?
Answer: Depth = 12 ch’ih and length = 13 ch’ih.
1.6 *
(i) Establish the algebraic identity
� a C b
2
�2 � �
a � b 2
�2 D ab:
(ii) Use (i) to establish the Arithmetic–Geometric Mean Inequality: if a and b
are positive reals, then
p ab � 12 .a C b/:
When is there equality?
(iii) Show how to dissect an a � b rectangle so that it fits inside a square with side-length .a C b/=2. How much is “left over?”
Hint: Try it with numbers. Cut an 8 � 14 rectangle to fit inside an 11 � 11 square.
(iv) Show that a rectangle of maximum area with fixed perimeter is a square.
(v) The hyperbolic cosine is defined by
cosh x D 12 .e x C e�x/:
Prove that cosh x � 1 for all real numbers x, while coshx D 1 if and only if x D 0.
(vi) Use Figure 1.6 to give another proof of the Arithmetic-Geometric Mean In-
equality.
a b
Figure 1.6. Arithmetic–Geometric Mean Inequality.
1.7 * Prove that there is no Pythagorean triple .a; b; c/ with c D 12.
1.8 * Let .a; b; c/ be a Pythagorean triple.
(i) Prove that the legs a and b cannot both be odd.
(ii) Show that the area of 4.a; b; c/ is an integer.
i
i
“book2” — 2013/5/24 — 8:18 — page 7 — #27 i
i
i
i
i
i
1.2 Diophantus 7
1.9 * Show that 5 is not the area of a triangle whose side-lengths form a Pythagorean
triple.
1.10 * Let .a; b; c/ be a Pythagorean triple. If m is a positive integer, prove that
.ma; mb; mc/ is also a Pythagorean triple.
1.11 .Converse of Pythagorean Theorem/: * Let 4 D 4.a; b; c/ be a triangle with sides of lengths a; b; c (positive real numbers, not necessarily integers). Prove that
if a2 C b2 D c2, then 4 is a right triangle.
Hint: Construct a right triangle 40 with legs of lengths a; b, and prove that 40 is congruent to 4 by side-side-side.
1.12 * Prove that every Pythagorean triple .a; b; c/ arises from a right triangle 4.a; b; c/ having sides of lengths a; b; c.
1.13 If P D .a; b; c/ is a Pythagorean triple, define r.P / D c=a. If we label the Py- thagorean triples on Plimpton 322 as P1; : : : ; P15 , show that r.Pi / is decreasing:
r.Pi / > r.PiC1/ for all i � 14.
1.14 * If .a; b; c/ is a Pythagorean triple, show that .a=c; b=c/ is a point on the graph
of x2 C y2 D 1. What is the graph of x2 C y2 D 1?
1.15 Preview: Let L be the line through .�1; 0/ with slope t . (i) If t D 12 , find all the points where L intersects the graph of x
2 C y2 D 1.
Answer: .35 ; 4 5 /.
(ii) If t D 32 , find all the points where L intersects the graph of x2 C y2 D 1.
Answer: . �513 ; 12 13
/.
(iii) Pick a rational number t , not 12 or 3 2 , and find all the points where L intersects
the graph of x2 C y2 D 1. (iv) Suppose ` is a line that contains .�1; 0/ with slope r . If r is a rational number,
show that ` intersects the graph of x2 C y2 D 1 in two points, each of which has rational number coordinates.
1.16 Preview: A Gaussian integer is a complex number a C bi where both a and b are integers. Pick six Gaussian integers r C si with r > s > 0 and square them. State something interesting that you see in your results.
1.17 Preview: Consider a complex number z D q C ip, where q > p are positive integers. Prove that
.q2 � p2; 2qp; q2 C p2/
is a Pythagorean triple by showing that jz2j D jzj2.
If z is a complex number,
say z D aC bi , then we define jzj D
p a2 C b2.
1.18 Preview: Show, for all real numbers m and n, that
h 1 2 .m C n/ C
1 2 .m � n/i
i2 D mn C 12 .m
2 � n2/i:
1.2 Diophantus
We are going to classify Pythagorean triples using a geometric method of Dio-
phantus that describes all Pythagorean triples.
Historical Note. We know very little about the life of Diophantus. He was
a mathematician who lived in Alexandria, Egypt, but his precise dates are
i
i
“book2” — 2013/5/24 — 8:18 — page 8 — #28 i
i
i
i
i
i
8 Chapter 1 Early Number Theory
unknown; most historians believe he lived around 250 CE. His extant work
shows systematic algebraic procedures and notation, but his leaps of intuition
strongly suggest that he was thinking geometrically; indeed, Newton called Diophantus’s discussion of Pythagorean triples the chord method (see Fig-
ure 1.7). Thus, geometry (the Pythagorean Theorem) and applied problems
(teaching) suggested an algebraic problem (find all Pythagorean triples), and
we now return to geometry to solve it. Here is evidence that the distinction
between algebra and geometry is an artificial one; both are parts of the same subject.
Geometry and Pythagorean Triples
Before we get into the technicalities of Diophantus’s classification of Pythag-
orean triples, let’s note that geometry is lurking nearby. Exercise 1.14 above
makes a natural observation: if .a; b; c/ is a Pythagorean triple, then
�a c
�2 C � b
c
�2 D 1;
a point on the unit circle, the circle having radius 1, center the origin, and
equation x2 C y2 D 1. Dividing through by c2 is a good idea. For example, .6; 8; 10/ is a “duplicate” of .3; 4; 5/, and both of these Pythagorean triples
determine the same point, .3=5; 4=5/, on the unit circle. Here is the main idea of Diophantus. Even though those points arising from
Pythagorean triples are special (for example, they lie in the first quadrant and
both their coordinates are rational numbers), let’s parametrize all the pointsP
on the unit circle. Choose a point on the unit circle “far away” from the first
quadrant; the simplest is .�1; 0/, and let ` D `.P / be the line joining it to P . We shall see that the slopes of such lines parametrize all the points on the
unit circle. In more detail, any line ` through .�1; 0/ (other than the tangent)
(–1,0)
P x, y= ( )
slope = t
l
Figure 1.7. Geometric Idea of Diophantus.
intersects the unit circle in a unique second point, P D .x; y/; let t be the slope of `. As t varies through all real numbers, �1 < t < 1, the intersection points P of ` and the unit circle trace out the entire circle (except for .�1; 0/).
Proposition 1.2. The points P on the unit circle .other than .�1; 0// are parametrized as
P D � 1 � t2 1C t2 ;
2t
1C t2
� ; where � 1 < t < 1:
i
i
“book2” — 2013/5/24 — 8:18 — page 9 — #29 i
i
i
i
i
i
1.2 Diophantus 9
Proof. The line through points .a; b/ and .c; d / has equation y�b D t.x�a/, where t D .d � b/=.c � a/, so the line ` through .�1; 0/ and a point P D .x; y/ on the unit circle has an equation of the form y D t.x C 1/, so that x D .y � t/=t . Thus, .x; y/ is a solution of the system
y D t.x C 1/ x2 C y2 D 1:
An obvious solution of this system is .�1; 0/, because this point lies on both the line and the circle. Let’s find x and y in terms of t . If the slope t D 0, then ` is the x-axis and the other solution is .1; 0/. To find the solutions when
t ¤ 0, eliminate x: the equations
y � t t
D x and x2 C y2 D 1
give
� y � t t
�2 C y2 D 1:
Expanding and simplifying, we obtain
y � .1 C t2/y � 2t
� D 0:
We knew at the outset that y D 0 makes this true. If y ¤ 0, then canceling gives
y D 2t 1C t2 ;
and solving for x gives
x D y � t t
D 2t 1Ct2 � t
t D 1 � t
2
1C t2 :
In Exercise 1.12 on page 7, we saw that every Pythagorean triple .a; b; c/
arises from a right triangle 4.a; b; c/ having sides of integral lengths a; b; c. Conversely, the Pythagorean Theorem says that every right triangle 4.a; b; c/ whose sides have integral length gives the Pythagorean triple .a; b; c/. Thus,
Pythagorean triples and certain right triangles are merely two ways to view the
same idea, one algebraic, one geometric. At any given time, we will adopt that
viewpoint which is most convenient.
We have already run across distinct Pythagorean triples that are essentially
the same; Exercise 1.10 on page 7 shows that if .a; b; c/ is a Pythagorean triple, then so is .ma;mb;mc/, where m is a positive integer. The right trian-
gles 4.a; b; c/ and 4.ma;mb;mc/ determined by these Pythagorean triples are similar, for their sides are proportional. More generally, the Pythagorean
triples .6; 8; 10/ and .9; 12; 15/ are not really different, for each arises from
.3; 4; 5/; however, neither .6; 8; 10/ nor .9; 12; 15/ is obtained from the other by multiplying its terms by some integer m.
Definition. Two Pythagorean triples .a; b; c/ and .u; v; z/ are similar if their
right triangles 4.a; b; c/ and 4.u; v; z/ are similar triangles.
i
i
“book2” — 2013/5/24 — 8:18 — page 10 — #30 i
i
i
i
i
i
10 Chapter 1 Early Number Theory
The method of Diophantus will give a formula for certain special Pythago-
rean triples, and it will then show that every Pythagorean triple is similar to a
special one.
Definition. A point .x; y/ in the plane is a rational point if both x and y are rational numbers.
A Pythagorean point is a rational point in the first quadrant, lying on the
unit circle, and above the diagonal line with equation y D x.
Remember that we regard Pythagorean triples .a; b; c/ and .b; a; c/ as the
same. Recall some analytic geometry: if a ¤ b, P D .a; b/, and Q D .b; a/, then the diagonal is the perpendicular bisector of the segment PQ. (The line
through P and Q has equation y D �x C a C b; it is perpendicular to the diagonal for the product of their slopes is �1; the line intersects the diagonal in the point .aCb
2 ; aCb 2 /, which is equidistant from P and Q. If a � b, then P
is above the diagonal and Q is below.)
Proposition 1.3. A triple .a; b; c/ of integers is a Pythagorean triple if and
only if .a=c; b=c/ is a Pythagorean point.
Proof. Let .a; b; c/ be a Pythagorean triple. Dividing both sides of the defining
equation a2 C b2 D c2 by c2 gives .a=c/2 C .b=c/2 D 1;
so that the triple gives an ordered pair of positive rational numbers .x; y/ D .a=c; b=c/ with x2 C y2 D 1. Thus, the rational point P D .x; y/ lies in the first quadrant. As both .a; b; c/ and .b; a; c/ are the same Pythagorean triple,
we may assume that
x D a=c � b=c D y;
so that .x; y/ lies above the diagonal line with equation y D x. Hence, .x; y/ is a Pythagorean point.
Conversely, let’s now see that a Pythagorean point .x; y/ gives rise to a
Pythagorean triple. Write the rational numbers x � y with the same denomi- nator, say, x D a=c and y D b=c, where a; b; and c are positive integers and a � b � c. Now
1 D x2 C y2 D a 2
c2 C b
2
c2 ;
so that a2 C b2 D c2 and hence .a; b; c/ is a Pythagorean triple. In summary, the problem of finding all Pythagorean triples corresponds to
the problem of finding all Pythagorean points. This is exactly what the geo-
metric idea of Diophantus does. In fact, a Pythagorean point .x; y/ gives rise
to infinitely many Pythagorean triples. Write the coordinates with another de-
nominator, say x D u=z and y D v=z. The calculation at the end of the proof of Proposition 1.3 shows that .u; v; z/ is another Pythagorean triple arising from .x; y/.
Etymology. Here are sources of some common words of mathematics.
� Proposition: From Latin, meaning a statement or something pictured in the mind.
i
i
“book2” — 2013/5/24 — 8:18 — page 11 — #31 i
i
i
i
i
i
1.2 Diophantus 11
� Theorem: From the Greek word meaning “spectacle” or “contemplate.” Re- lated words are “theory” and “theater.” Theorems are important propositions.
� Corollary:From the Latin word meaning “flower.” In ancient Rome, it meant a “gratuity;” flowers were left as tips. In mathematics, corollaries follow eas-
ily from theorems; they are gifts bequeathed to us.
� Lemma: From Greek; it meant something taken for granted. In mathematics nowadays, it is usually a technical result, a minor theorem, which can be
used in the course of proving a more important theorem.
� Proof: From Medieval French, meaning an argument from evidence estab- lishing the truth. The adage, “The exception proves the rule,” uses the word in the sense of testing: it originally meant a kind of indirect proof. We test
whether a rule is true by checking whether an exception to it leads to a con-
tradiction. Nowadays, this adage seems to have lost its meaning.
The Method of Diophantus
Proposition 1.2 parametrizes all the points P on the unit circle other than
.�1; 0/. We are now going to see which values of t produce Pythagorean points: rational points on the unit circle lying in the first quadrant above the
diagonal line with equation y D x.
Theorem 1.4. Let P D .x; y/ ¤ .�1; 0/ be a point on the unit circle, and let t be the slope of the line ` joining .�1; 0/ and P .
(i) The slope t is a rational number if and only if P is a rational point.
(ii) The point P is a Pythagorean point if and only if t is a rational number
satisfying p 2 � 1 < t < 1.
Proof. (i) The parametrization P D .x; y/ gives a pair of equations:
x D 1 � t 2
1C t2 and y D 2t
1C t2 :
Clearly, if t is rational, then both x and y are rational. Conversely, if
P D .x; y/ is a rational point, then the slope t of ` is t D y�0 x�.�1/ D
y xC1 ,
and so t is a rational number.
(ii) Pythagorean points correspond to rational points on the unit circle that lie
in the first quadrant above the line y D x. Points on the circle lying in the first quadrant arise from lines having slope t with 0 < t < 1. The point The slope of the line joining
.�1; 0/ to .0; 1/ is 1.in the first quadrant that is the intersection of the unit circle and the line y D x is .
p 2 2 ;
p 2 2 /, and the slope of the line joining .�1; 0/ to .
p 2 2 ;
p 2 2 /
is
t D
p 2 2
1C p 2 2
D p 2 � 1 � :414:
Therefore, Pythagorean points correspond to the lines ` through .�1; 0/ having rational slope t satisfying
p 2 � 1 < t < 1.
i
i
“book2” — 2013/5/24 — 8:18 — page 12 — #32 i
i
i
i
i
i
12 Chapter 1 Early Number Theory
Let’s look at this more closely. If t D p=q is a rational number betweenp 2� 1 and 1, then the Pythagorean point it gives can be expressed in terms of
p and q:
� 1 � t2 1C t2 ;
2t
1C t2
� D
0 B@ 1 �
� p q
�2
1C � p q
�2 ; 2 � p q
�
1C � p q
�2
1 CA
D � q2 � p2 q2 C p2 ;
2qp
q2 C p2
� : (1.4)
Theorem 1.5 (Diophantus). Every Pythagorean triple .a; b; c/ is similar to a
Pythagorean triple of the form
.2qp; q2 � p2; q2 C p2/;
where p and q are positive integers with q > p > p 2 � 1.
Proof. Since .a; b; c/ is a Pythagorean triple, P D .a=c; b=c/ is a Pythago- rean point. By Eq. (1.4),
�a c ; b
c
� D � 1 � t2 1C t2 ;
2t
1C t2 �
D � q2 � p2 q2 C p2 ;
2qp
q2 C p2 � :
It follows that 4.a; b; c/ is similar to 4.2pq; q2�p2; q2Cp2/, because their sides are proportional. Therefore, the Pythagorean triple .a; b; c/ is similar to .2qp; q2 � p2; q2 C p2/, as claimed.
How to Think About It. The strategy of Diophantus is quite elegant. The problem of determining all Pythagorean triples is reduced from finding three
unknowns, a; b; and c, to two unknowns, x D a=c and y D b=c, to one unknown, t D p=q. In effect, all Pythagorean triples are parametrized by t ; that is, as t varies over all rational numbers between
p 2�1 and 1, the formulas
involving t vary over all Pythagorean points and hence over all Pythagorean triples.
We can now show that the Babylonians had, in fact, found all Pythagorean
triples. We are tacitly using a
technique of proof called
Infinite Descent. If, for a
given positive integer n
with certain properties,
there always exists a
strictly smaller positive
integer n1 having the
same properties, then
there are infinitely many
such integers. But this is
impossible; there are only
finitely many integers with
n > n1 > n2 > � � � > 0.
Corollary 1.6. Every Pythagorean triple is similar to one arising from the
Babylonian method.
Proof. By Theorem 1.5, every Pythagorean triple is similar to one of the form
.2qp; q2�p2; q2Cp2/, where q > p are positive integers. If both q and p are even, then we can replace q > p by 1
2 q > 1
2 p, obtaining a Pythagorean triple
.1 4 2qp; 1
4 .q2�p2/; 1
4 .q2Cp2// similar to the original one. If both parameters
of the new triple are still even, replace 1 2 q > 1
2 p by 1
4 q > 1
4 p. Eventually, we
arrive at a Pythagorean triple .2rs; r2 � s2; r2 C s2/, similar to the original triple, that arises from parameters r > s, at least one of which is odd.
i
i
“book2” — 2013/5/24 — 8:18 — page 13 — #33 i
i
i
i
i
i
1.2 Diophantus 13
There are two possibilities. If r and s have different parity, definem D rCs and n D r � s. Both m and n are odd, and the Pythagorean triple given by the Babylonian method fromm > n is
B D � mn; 1
2 .m2 � n2/; 1
2 .m2 C n2/
� :
Substitute:
mn D .rCs/.r�s/ D r2�s2; 1 2 .m2�n2/ D 2rs; and 1
2 .m2�n2/ D r2Cs2:
Thus, the Pythagorean tripleB is similar to .2rs; r2 � s2; r2 C s2/. If both r and s are odd, then the Pythagorean triple given by the Babylo-
nian method from r > s is .rs; 1 2 .r2 � s2/; 1
2 .r2 C s2// which is similar to
.2rs; r2 � s2; r2 C s2/.
Not every Pythagorean triple .a; b; c/ is equal to .2qp; q2 � p2; q2 C p2/ for some q > p, nor does the theorem say that it is; the theorem asserts only
that .a; b; c/ is similar to a Pythagorean triple arising from the formula. For example, let us show that .9; 12; 15/ is not of this form. Since the leg 9 is odd,
the even leg 12 must be 2qp, so that qp D 6, and the only possible parameters are 3 > 2 or 6 > 1. But 3 > 2 gives .5; 12; 13/ and 6 > 1 gives .12; 35; 37/,
neither of which is similar to .9; 12; 15/. However, .9; 12; 15/ is similar to
.3; 4; 5/, and .3; 4; 5/ arises from 2 > 1. A Pythagorean triple .a; b; c/ is primitive if there is no integer d > 1 that
is a divisor of a; b, and c. Thus, .3; 4; 5/ is primitive but .9; 12; 15/ is not.
In Theorem 1.25, we’ll give a rigorous proof that every Pythagorean triple is
similar to exactly one primitive Pythagorean triple.
Exercises
1.19 Find q and p in Theorem 1.5 for each of the following Pythagorean triples.
(i) .7; 24; 25/.
Answer: q D 5 and p D 3. (ii) .129396;261547;291805/:
Answer: q D 526 and p D 123.
1.20 * Show that every Pythagorean triple .x; y; z/ with x; y; z having no common
factor d > 1 is of the form
.r2 � s2; 2rs; r2 C s2/
for positive integers r > s having no common factor > 1; that is,
x D r2 � s2; y D 2rs; z D r2 C s2:
1.21 A line in the plane with equation y D mx C c is called a rational line if m and c are rational numbers. If P and Q are distinct rational points, prove that the line
joining them is a rational line.
1.22 A lattice point is a point in the plane whose coordinates are integers. Let P D .x; y/ be a Pythagorean point and ` the line through P and the origin. Prove that
if Q D .a; b/ is a lattice point on ` and c is the distance from Q to the origin, then .a; b; c/ is a Pythagorean triple.
i
i
“book2” — 2013/5/24 — 8:18 — page 14 — #34 i
i
i
i
i
i
14 Chapter 1 Early Number Theory
1.23 * Let P D .x0; y0/ be a Pythagorean point and L the line joining P and the origin (so the equation of L is y D mx, where m D y0=x0). Show that if .a=c; b=c/ is a rational point on L, then .a; b; c/ is a Pythagorean triple.
1.24 Does every rational point in the plane correspond to a Pythagorean point? If so,
prove it. If not, characterize the ones that do.
Answer: No. For example, .12 ; 1 2 / does not correspond.
1.25 * Prove the identity � x2 C y2
�2 D � x2 � y2
�2 C .2xy/2: 1.26 *
(i) Show that the same number can occur as a leg in two nonsimilar Pythagorean
triangles.
(ii) Prove that the area of 4.a; b; c/, a right triangle with integer side lengths, is an integer.
(iii) A Heron triangle is a triangle with integer side lengths and area. Find a Heron
triangle that is not a right triangle.
Hint: Use parts (i) and (ii).
1.27 Show that every integer n � 3 occurs as a leg of some Pythagorean triple.
Hint: The cases n even and n odd should be done separately.
1.28 Distinct Pythagorean triples can have the same hypotenuse: both .33;56; 65/ and
.16; 63; 65/ are Pythagorean triples. Find another pair of distinct Pythagorean
triples having the same hypotenuse.
1.29 * If .cos �; sin �/ is a rational point, prove that both cos.� C30ı/ and sin.� C30ı/ are irrational.
Fermat’s Last Theorem
About fourteen centuries after Diophantus, Fermat (1601–1665) proved that
there are no positive integers a; b; c with a4 C b4 D c4. He was studying his copy of Diophantus’s Arithmetica, published in 1621, and he wrote in its
margin,
: : : it is impossible for a cube to be written as a sum of two cubes or a
fourth power to be written as a sum of two fourth powers or, in general,
for any number which is a power greater than the second to be written
as a sum of two like powers. I have discovered a truly marvelous demon-
stration of this proposition which this margin is too narrow to contain.
Fermat never returned to this problem (at least, not publicly) except for hisFermat was not the first mathematician to write a
marginal note in a copy
of Diophantus. Next to
the same problem, the
Byzantine mathematician
Maximus Planudes wrote,
Thy soul, Diophantus, be
with Satan because of the
difficulty of your theorems.
proof of the case n D 4, which we give below. The statement: If n > 2, there are no positive integers a; b; c with an C bn D cn, was called Fer- mat’s Last Theorem, perhaps in jest. The original text in which Fermat wrote
his famous marginal note is lost today. Fermat’s son edited the next edition
of Diophantus, published in 1670; this version contains Fermat’s annotations,
including his famous “Last Theorem;” it contained other unproved assertions as well, most true, some not. By the early 1800s, only Fermat’s Last Theorem
remained undecided. It became a famous problem, resisting the attempts of
mathematicians of the highest order for 350 years, until it was finally proved,
in 1995, by Wiles. His proof is very sophisticated, and most mathematicians
i
i
“book2” — 2013/5/24 — 8:18 — page 15 — #35 i
i
i
i
i
i
1.2 Diophantus 15
believe that Fermat did not have a correct proof. The quest for a proof of Fer-
mat’s Last Theorem generated much beautiful mathematics. In particular, it led
to an understanding of complex numbers, factorization, and polynomials. We’ll see, in the Epilog, that extending the method of Diophantus from quadratics to
cubics involves elliptic curves, the study of which is the setting for Wiles’
proof of Fermat’s Last Theorem.
Fermat proved the next theorem (which implies the case n D 4 of Fermat’s Last Theorem) because he was interested in the geometric problem of deter- mining which right triangles having all sides of rational length have integer
area (we’ll soon discuss this problem in more detail).
Theorem 1.7 (Fermat). There is no triple .x; y; z/ of positive integers with
x4 C y4 D z2: (1.5) This proof is not difficult,
but it uses several elemen-
tary divisibility results we’ll
prove later. Since we feel
that this is the appropriate
place for this theorem, we’ll
just refer to the needed
things.
Proof. The proof will be by infinite descent (Fermat invented infinite descent
for this very problem). Given a triple of positive integers .x; y; z/ satisfying Eq. (1.5), we’ll show there is another triple .u; v; w) of the same sort with
w < z, and so repeating this process leads to a contradiction.
Let’s say that integers x and y are relatively prime if there is no integer
d > 1 dividing both of them; that is, it’s not true that x D da and y D db. We can assume that x and y are relatively prime, for otherwise a common
factor of x and y would also be a factor of z, and we could divide it out. It
follows (and we’ll prove it in the next chapter) that x2 and y2 are also relatively
prime. And note that x4 C y4 D z2 implies that � x2 �2 C
� y2 �2 D z2
so that .x2; y2; z/ form a Pythagorean triple.
We also observe that x2 and y2 can’t both be odd; if x2 D 2k C 1 and y2 D 2j C 1, then
.2k C 1/2 C .2j C 1/2 D z2:
Expanding and collecting terms gives z2 D 4hC2 for some integer h. But you can check that the square of any integer is either of the form 4h or 4hC 1.
We can now assume that .x2; y2; z/ is a Pythagorean triple in which x and
y are relatively prime, x is odd, and y is even. By Exercise 1.20 on page 13,
there are relatively prime integers r and s with r > s > 0 such that
x2 D r2 � s2; y2 D 2rs; and z D r2 C s2:
The first equation says that x2 C s2 D r2; that is, .x; s; r/ is another Pythago- rean triple with x odd. Moreover, x and s have no common factor (why?), so
that Exercise 1.20 gives relatively prime integers a and b such that
x D a2 � b2; s D 2ab; and r D a2 C b2:
Now,
y2 D 2rs D 2.a2 C b2/.2ab/ D 4ab.a2 C b2/:
Since y is even, we have an equation in integers:
�y 2
�2 D ab.a2 C b2/: (1.6)
i
i
“book2” — 2013/5/24 — 8:18 — page 16 — #36 i
i
i
i
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.
About Writedemy
We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.
How It Works
To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Are there Discounts?
All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.
