Number Systems
Number Systems
Number Systems
Number Systems
A Path into Rigorous Mathematics
Anthony Kay
First edition published 2022
by CRC Press
6000 Broken Sound Parkway NW, Suite 300, Boca Raton, FL 33487-2742
Cover image: Postage stamp commemorating 150th birth anniversary of Richard Dedekind, whose ideas are fundamental
to much of the material in this book.
Reasonable efforts have been made to publish reliable data and information, but the author and publisher cannot as-
sume responsibility for the validity of all materials or the consequences of their use. The authors and publishers have
attempted to trace the copyright holders of all material reproduced in this publication and apologize to copyright holders
if permission to publish in this form has not been obtained. If any copyright material has not been acknowledged please
write and let us know so we may rectify in any future reprint.
Except as permitted under U.S. Copyright Law, no part of this book may be reprinted, reproduced, transmitted, or
utilized in any form by any electronic, mechanical, or other means, now known or hereafter invented, including pho-
tocopying, microfilming, and recording, or in any information storage or retrieval system, without written permission
from the publishers.
For permission to photocopy or use material electronically from this work, access www.copyright.com or contact the
Copyright Clearance Center, Inc. (CCC), 222 Rosewood Drive, Danvers, MA 01923, 978-750-8400. For works that are
not available on CCC please contact mpkbookspermissions@tandf.co.uk
Trademark notice: Product or corporate names may be trademarks or registered trademarks and are used only for iden-
tification and explanation without intent to infringe.
3 Natural Numbers, N 19
3.1 Peano’s Axioms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.2 Addition of Natural Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.3 Multiplication of Natural Numbers . . . . . . . . . . . . . . . . . . . . . . . 25
3.4 Exponentiation (Powers) of Natural Numbers . . . . . . . . . . . . . . . . . 27
3.5 Order in the Natural Numbers . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.6 Bounded Sets in N . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3.7 Cardinality, Finite and Infinite Sets . . . . . . . . . . . . . . . . . . . . . . 36
3.7.1 Some Useful Notations . . . . . . . . . . . . . . . . . . . . . . . . . . 38
3.7.2 Finite Sets, Their Subsets and Injections . . . . . . . . . . . . . . . . 39
3.7.3 Finiteness and Boundedness of Sets . . . . . . . . . . . . . . . . . . 41
3.7.4 Infinite Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
3.8 Subtraction: The Inverse of Addition . . . . . . . . . . . . . . . . . . . . . 44
v
vi Contents
4 Integers, Z 49
4.1 Definition of the Integers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
4.2 Arithmetic on Z . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
4.3 Algebraic Structure of Z . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
4.3.1 An Abelian Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
4.3.2 A Commutative Ring . . . . . . . . . . . . . . . . . . . . . . . . . . 59
4.4 Order in Z . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
4.4.1 How to Solve Inequalities . . . . . . . . . . . . . . . . . . . . . . . . 66
4.5 Finite, Infinite, and Bounded Sets in Z . . . . . . . . . . . . . . . . . . . . 70
Bibliography 297
Index 299
Preface and Acknowledgments
ix
x Preface and Acknowledgments
Theory; in a book dealing with the theory of number systems, I did not want readers to
first spend time getting to grips with the axioms of Set Theory. Chapter 3, on Natural
Numbers, sets the pattern for how number systems will be treated throughout the book:
after defining the numbers, we develop the theory of their binary operations of addition,
multiplication, and exponentiation; then their order relations, properties of bounded sets,
and cardinality are covered. Chapter 4 on Integers contains the first definitions of algebraic
structures (groups and rings), and also introduces methods for solving inequalities, since
these will remain essentially unchanged in subsequent number systems. Chapter 5 may seem
to be a digression from the main thrust of the book: we introduce primes and factorisations,
representations of numbers in any base (we avoid giving base ten its usual pre-eminence),
and modular arithmetic, which will all reappear later in the book; but the only new number
systems defined in this chapter are the finite rings and fields of integers modulo n. Chapters
6 and 7 return to the main objective of defining number systems and examining their
properties, with the theory of Rational Numbers and Real Numbers involving some notably
more difficult proofs than have been required earlier in the book.
If you notice a discontinuity in style between Chapters 7 and 8, that is because the
earlier chapters are based on material that I had taught for many years, whereas the later
chapters consist of material that I would have liked to teach but had not previously writ-
ten any detailed notes for; and also, shortly after I had started on Chapter 8, I had to
take a year off writing the book due to pressure of other work. Anyway, my approach to
Complex Numbers is somewhat unconventional. First, I start by treating them as “just
another quadratic extension”: whereas Chapter 8 is devoted to quadratic extensions of the
Integers and Rationals, (and includes material that might more commonly be found in the
early chapters of a book on Algebraic Number Theory), Complex Numbers are introduced
as a quadratic extension of the Real Numbers. Then a large part of Chapter 9 concerns
the search for how to exponentiate complex numbers: other books either assume knowl-
edge of exponential and trigonometric functions, whose properties actually require quite
sophisticated knowledge of Analysis in the Real Numbers, or else they avoid the subject of
exponentiation altogether. My approach defines geometrical/trigonometrical concepts from
manipulations with numbers (involving quite a lot of work with sequences, and introducing
the famous numbers π and e on the way), rather than using geometry to define properties of
complex numbers. After this, we look briefly at even more complicated number systems in
Chapter 10. Finally, since in my lectures I always liked to draw attention to the connections
between what I was teaching and other topics, my Chapter 11 very briefly discusses how
the theory of number systems leads on to broader topics in mathematics. I have in recent
years encouraged students to use self-explanation when reading proofs and derivations: this
is a strategy which has been found by Lara Alcock, Mark Hodds, and Matthew Inglis to
improve students’ comprehension, and I would like to thank these authors for providing
me with the text for their guidance notes on self-explanation which are reproduced here as
Appendix A.
There are snippets of information on the historical development of the subject scattered
throughout the book, but no attempt has been made to give a coherent account of the history
of number systems. For readers who want to explore this further, go first to the MacTutor
History of Mathematics Archive, hosted on the website of the School of Mathematics and
Statistics at the University of St Andrews, from where there are links to more detailed
historical articles.
There are several features (or quirks) of the book that are worthy of comment here:
• Several concepts of much wider importance in mathematics are introduced just where
they are first encountered in the development of the theory of number systems. So
for example, isomorphism is defined in the chapter on Integers, just where the first
Preface and Acknowledgments xi
example of an isomorphism (between the Positive Integers and the Natural Numbers)
is encountered; convergence of sequences is defined shortly after we discuss repeating
representations of rational numbers in decimal or other bases, because such represen-
tations are the first example of an infinite sequence that we meet.
• Some of the notation may be regarded as quirky, or even annoying, by some readers.
Where my choice of notation differs from that used by the majority of authors, I have
explained the rationale behind my choice in a note in the text or in a footnote.
• The book contains Exercises within the text of each chapter and Investigations at
the end of most chapters. The Exercises are for the student to fill in some of the
less demanding proofs of theorems, or to gain practice with important procedures.
The Investigations, many of which are based on coursework set for students when I
was teaching the subject, invite the student to explore more deeply and outside the
main thrust of the text. Solutions to the Exercises, and hints relating to some of the
Investigations, are available online at the book’s website.
• Footnotes are indicated by Roman numerals,i because an Arabic numeral as a super-
script can be confused with a power, and the font of special symbols such as asterisk,
dagger, etc. is not big enough for my requirements in some chapters.
As is usual for an undergraduate text, the book does not contain any new research results,
but does involve new presentation of existing knowledge. So unlike a research monograph,
I have not cited references within the text, and the bibliography only includes other books.
But this does not mean that I have not consulted anything outside these books while
preparing this text. For the more advanced material in later chapters I have sometimes read
the original research papers; lecture notes that other academics have kindly made freely
available on the Internet have sometimes helped my thinking, and my ideas have sometimes
even been stimulated by posts on Mathematics StackExchange. So I would like to apologise
to all those people who share their knowledge freely in this way but are not named in this
book, and thank them for their generosity in the true spirit of scientific openness.
Writing this book has sometimes seemed a rather lonely endeavour, but would not have
been done without the encouragement of friends, family, and colleagues. It is traditional
for authors of textbooks to thank their family members for their forbearance while the
author was absorbed in the task of writing; but being the stereotypically obsessive, un-
communicative, and socially awkward mathematician that I am, I doubt whether my wife
and son noticed much difference in my behaviour while I was writing the book; so I would
just like to thank them for their tolerance of me at all times. As well as the published and
internet sources mentioned above and in the bibliography, my thinking has been stimulated
by colleagues in the Department of Mathematical Sciences and the Mathematics Education
Centre at Loughborough University, who have always been a pleasure to work alongside,
even when more senior management has not been so conducive to a good atmosphere.
Regarding the latter, I would particularly like to thank Mark Biggs, who during his brief
tenure as Dean of Science at Loughborough made life so unpleasant that I was pleased to
accept the offer of going part-time on a teaching-only contract, which meant that I had the
time to start writing this book. Finally I would like to thank the editorial staff at CRC
Press, first for taking on this project and then for their encouragement and also forbearance
when deadlines slipped.
1
2 Number Systems: A Path into Rigorous Mathematics
all the other mathematical notions used in applications in natural sciences and many areas
of human activity; and they need to be self-consistent, i.e. they must not allow contradictory
deductions to be made.
Thus the axiomatic method which we adopt proceeds from the axioms by first proving a
theorem based only on the axioms, then proving further theorems which may be based on
previous theorems as well as on the axioms, building a structure of theoretical knowledge
in which everything ultimately rests on the axioms. Some theorems will be described as
lemmas, which are those that are not of much interest in themselves but are needed in order
to prove later theorems, or as corollaries, which are those that follow almost immediately
from the previous theorem.
All axioms, theorems, and any other statements in any mathematical argument are
propositions. A proposition is a statement that can only be true or false, so excludes
self-contradictory statements (for example, “This sentence is false”) and a huge variety of
statements made in ordinary discourse. That is not to say that the truth or falsehood of a
proposition must be known. Indeed there exist propositions in mathematics which are known
to be undecidable: all that is known about such a proposition is that no process of logical
deduction based on the accepted axioms is capable of proving either truth or falsehood.
Below, we sometimes use a single letter P or Q to symbolise a general proposition; we also
occasionally use the somewhat tautological phrase “P is true” for emphasis (it is tautological
because writing, “Paris is in France” is sufficient to indicate the truth of the proposition
that Paris is in France; we don’t write, “ ‘Paris is in France’ is true.”). We shall also use the
phrase, “P is false” for what in the standard notation of logic can be written ¬P (“not P ”).
If a proposition concerns a class of objects, we may write P (x) where x denotes a general
object from the class; for example, if x denotes cities, P (x) might be the proposition, “x is
in France”.
Leopold Kronecker thought that “Die ganzen Zahlen hat Gott gemacht, alles andere ist
Menschenwerk ” [God made the whole numbers, all else is the work of humansi ]. However,
the approach in this book follows the philosophy of Dedekind, that “Die Zahlen sind freie
Schöpfungen des menschlichen Geistes” [Numbers are free creations of the human mind],
since for each of the five number systems mentioned above we shall write down axioms
which were originally devised by human thinkers. No kind of number is supposed to simply
exist without the need for such axioms to be laid down, although all number systems must
demonstrate utility in describing the natural world and/or facilitating human activity.
Having defined our number systems, what do we do with them? We have mentioned
some practical applications of numbers above, but what is the next step in the process
of building a body of theory by logical deduction? There are various directions that one
can take. Most obvious is Number Theory, which investigates the properties of the Natural
Numbers and the Integers in depth. Secondly, there is Analysis, which deals with functions
of Real Numbers and of Complex Numbers, laying the rigorous foundations for differential
and integral calculus and then extending to consider multi-dimensional spaces. Importantly,
Analysis replaces vague concepts of “infinitely large” or “infinitesimally small” with rigorous
definitions based on the properties of Real Numbers; infinity is not a number, and statements
like “1 ÷ 0 = ∞” have no place in mathematics! Thirdly, the study of arithmetic operations
in number systems yields some of the basic concepts of Abstract Algebra, in which one
investigates the structures arising from operations on sets of objects without reference to the
kind of object in the set. Some of the elementary concepts in all these areas of mathematics
will be discussed in this book where they arise naturally, but readers wishing to investigate
any of these topics in greater depth should find a textbook devoted to the topic.
created anything as abhorrent as negative numbers? It is probably better to translate the phrase as “natural
numbers”.
4 Number Systems: A Path into Rigorous Mathematics
logically equivalent to the original statement. This last sentence is itself an “if and only if”
statement: it is saying that if ¬Q ⇒ ¬P , then P ⇒ Q, and also (the converse) if P ⇒ Q,
then ¬Q ⇒ ¬P . To verify this, first suppose that ¬Q ⇒ ¬P , i.e. P being false is a logical
consequence of Q being false; then P cannot be true if Q is false; so if P is true, then
Q cannot be false, i.e. Q must be true. For the converse, suppose that P ⇒ Q: if P is
true, then so is Q; thus P could not have been true if Q is found to be false, i.e. Q being
false implies that P was false. The practical implication is that if it is easier to prove a
contrapositive statement than the statement as originally framed, that suffices to prove the
original statement.
An example to illustrate these ideas: consider the statement, “All cats are black”, which
can be clarified as “If an object is a cat, then that object is black”. The converse is: “if an
object is black, then it is a cat”. Clearly saying that “All cats are black” does not eliminate
the possibility of a dog being black: the original statement is not equivalent to the converse.
But the contrapositive is: “if an object is not black, then it is not a cat”. If you know that
all cats are black, and you find a non-black object, you can be certain that it is not a cat:
the original statement has implied the contrapositive.
When proving a proposition about a class of object (for example, all numbers in a number
system), it is important to note that any proof must be completely general; showing the
proposition to be true for some example(s) taken from the class of object is not sufficient.
On the other hand, it is only necessary to find a single object in that class which does
not satisfy the proposition in order to prove the proposition to be false; such an object is
a counterexample to the proposition. Finding a single white cat proves the proposition
that “All cats are black” to be false; whereas finding any number of black cats (examples
satisfying the proposition) would not prove it to be true – unless you were certain that
you had found every cat in existence. That would be a proof by exhaustion, where each
member of a class of objects is verified to satisfy a proposition; not often a practical method,
although sometimes a large class of objects may be split into sub-classes, and the “proof by
exhaustion” involves examining whether each sub-class satisfies the proposition.
If you want to fully understand a proof, you will need to put in a certain amount of
effort. It is recommended that you use the “self-explanation” strategy set down by Lara
Alcock, Mark Hodds, and Matthew Inglis: their guidance notes, “How to read proofs: the
self-explanation strategy” are reproduced as Appendix A at the back of this book. The
strategy essentially involves ensuring that you fully understand the reasoning in each step
of the proof before proceeding to the next line. There is nothing new or revolutionary about
this: it is what successful mathematicians have been doing for centuries; but the great
insight of Alcock, Hodds, and Inglis was to realise that it is not something that students of
mathematics automatically know how to do when they first meet the rigorous development
of theory by the axiomatic method; hence the need for guidance notes. To help you in your
self-explanation as you read this book, a reason will often be stated for each step in a proof;
the reasons will be in italics in brackets.
References
M. Anderson and T. Feil. A First Course in Abstract Algebra. Chapman and Hall/CRC, 2005.
J.H. Conway and R.K. Guy. The Book of Numbers. Copernicus, 1996.
R. Courant and H. Robbins. What is Mathematics? Oxford University Press, 1978.
V. Deaconu and D.C. Pfaff. A Bridge to Higher Mathematics. CRC Press, 2017.
H.-D. Ebbinghaus, H. Hermes, F. Hirzebruch, M. Koecher, K. Mainzer, J. Neukirch, A. Prestel, and R.
Remmert. Numbers. Springer, 1991.
W.J. Gilbert and S.A. Vanstone. An Introduction to Mathematical Thinking: Algebra and Number Systems.
Pearson Prentice Hall, 2005.
G.H. Hardy and E.M. Wright. An Introduction to the Theory of Numbers. Oxford University Press, 1979.
O.A. Ivanov. Making Mathematics Come to Life. American Mathematical Society, 2009.
B.L. Johnston and F. Richman. Numbers and Symmetry: An Introduction to Algebra. CRC Press, 1997.
T.W. Körner. Where do Numbers Come From? Cambridge University Press, 2019.
E. Landau. Foundations of Analysis. Chelsea Publishing Company, 1960.
C.H.C. Little, K.L. Teo, and B. van Brunt. The Number Systems of Analysis. World Scientific, 2003.
I.K. Rana. From Numbers to Analysis. World Scientific, 1998.
G.A. Spooner and R.L. Mentzer. Introduction to Number Systems. Prentice Hall, 1968.
F.W. Stevenson. Exploring the Real Numbers. Prentice Hall, 2000.
I. Stewart and D. Tall. The Foundations of Mathematics. Oxford University Press, 2015.
J. Stillwell. Elements of Number Theory. Springer, 2002.298