# Number systems

## 1. Introduction

This web page discusses perhaps the most obviously basic part of analysis, or of mathematics, that is the numbers we work with. The numbers are usually classified as being whole numbers (integers), fractions (rationals), real numbers, or complex numbers. However there is more to this than just saying what each kind of number is. We should also describe the fundamental properties (or axioms) satisfied by these numbers so that we are sure our work relies on only these and no other implicit or hidden property.

You should be reasonably familiar with the usual number systems of mathematics, the natural numbers, the integers, the rationals, the reals, and the complex numbers. This web page introduces these in a fairly informal way to agree some notation and terminology for the way these main number systems used in these pages. These systems will be subject to a lot more discussion as our work gets more advanced and the methods we have of describing them get more detailed.

## 2. The natural numbers

The natural numbers are the usual counting numbers, 0,1,2,3,4,. We shall use the symbol for the set of all such numbers, so =0,1,2,3, . Equally important for these numbers are certain operations that apply to them. For instance, for each natural number there is a next number +1. Also, there are important operations of addition and multiplication on natural numbers, + and , and two natural numbers can be compared to see which is the greater via the or relation.

One complication is that there are two competing conventions for : whether to include 0 or not. I am firmly in the first camp, and for me =0,1,2,3, . I am aware you may be reading material written by, or studying with, another mathematician who prefers the other convention. Where possible I will write text, examples, exercises, in such a way that it doesn't matter which you are thinking of. In the few occasions when it does matter, I will try to remind you which my is.

Apart from these arithmetic operations, the most important feature of the natural numbers is induction. This is the main method of proof for anything to do with natural numbers and is implicit in any mathematics where the elipsis appears.

Principle of Induction.

Suppose a statement () is true for some number ; suppose also that whenever () is true then (+1) also holds. Then () holds for all .

You will have seen many examples of this principle being used to good effect, and will see many more examples in these notes. Usually (but not always) the base case () is the case of the smallest natural number =0 itself.

An important and useful variation of induction is what I like to call total induction which says that in proving the induction step, (+1) , it is permissible to assume that () folds for all . In principle (though not always in practice) this makes the proof of the induction step easier at no extra cost.

Theorem.

Suppose a statement () is true for some number ; suppose also that whenever () is true for all =,+1,, then (+1) also holds. Then () holds for all .

A variation of this is the least number principle (also called smallest counterexample) as follows.

Theorem.

Suppose a statement () is false for some number . Then there is a least such that () is false, i.e., a number such that () is false and () is true for =0,1,2,,-1 .

## 3. The integers

The next important ingredent is subtraction. By adding to the set of natural numbers the negatives of these numbers we get the integers. An integer is a whole number, which may be positive or negative. The set of integers is denoted .

The set of integers has a very close connection with the natural numbers. Indeed the set of natural numbers is the set of integers that are greater than or equal to zero. The negative numbers makes arithmetic in the integers much more convenient, however, and (,+) is an abelian (or commutative) group with identity 0 and inverses - for each . If we take away the number zero we also get an abelian semigroup for multiplication, (-0,) , i.e., the associativity and commutativity axioms hold for multiplication, and there is a multiplicative identity 1. Furthermore, the distributivity law, (+)=.+. also holds. This means that (,+,) is a ring. It is a particularly nice ring with an order relation and other nice properties, and you will most likely have spent some time studying the properties of numbers in and their congruence relations via the idea of one number being a factor of another.

## 4. The rationals

The next stage is to extend our number system still further to add multiplicative inverses 1 for each non-zero integer . We then close our resulting collection of numbers under addition and multiplication. The result is the set of all rational numbers, or fractions. A rational number will be written as

where

and are integers, and 0 . Note that this is true for all rational numbers, and (unlike in primary school) we do not care whether the fraction is "proper" or not. So

1

is a perfectly good rational, and this explains why set of the rational numbers includes the set of integers.

The main complication is that a rational number will not have a unique representation as

. There will be many such. For example, if

represents a certain number then so do -

- and 2.

2. represent the same number.

The operations of addition and multiplication have to be extended to the new system. That's OK, and it is done as you learnt in primary school, essentially by putting the result over a common denominator. big advantage of the rationals over the integers is that in the rationals you can also divide by any nonzero number since (

)/( )=

.

. .

The disadvantage of the rationals is that there are still lots of operations one cannot do. The most obvious is taking square roots. You may have come across the well known theorem attributed to Euclid that says that 2 is not a rational number. There are plenty of other equations that might reasonably have roots, but do not have roots in the rationals. Going down this line might lead you to the field of algebraic numbers. However, studying this is best done as part of a course in algebra, rather than analysis.

Analysis takes a more radical and much more powerful approach of closing the field of rationals under the process of taking limits. This is what the field of real numbers is, and this is what these web pages are really about.