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.

The natural numbers are the usual counting numbers,
$0,1,2,3,4,\dots $. We shall use the symbol $\mathbb{N}$ for
the set of all such numbers, so
$\mathbb{N}=\left\{0,1,2,3,\dots \right\}$. Equally important
for these numbers are certain operations that apply to them. For
instance, for each natural number $n$ there is a next

number $n+1$. Also, there are important operations of addition
and multiplication on natural numbers, $n+m$ and $n\xb7m$,
and two natural numbers can be compared to see which is the greater
via the $<$ or $\u2a7d$ relation.

One complication is that there are two competing conventions for $\mathbb{N}$: whether to include $0$ or not. I am firmly in the first camp, and for me $\mathbb{N}=\left\{0,1,2,3,\dots \right\}$. 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 $\mathbb{N}$ you are thinking of. In the few occasions when it does matter, I will try to remind you which my $\mathbb{N}$ 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 $\dots $ appears.

Principle of Induction.

Suppose a statement $S\left(k\right)$ is true for some number $k$; suppose also that whenever $S\left(n\right)$ is true then $s\left(n\mathrm{+1}\right)$ also holds. Then $S\left(n\right)$ holds for all $n\u2a7ek$.

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

$S\left(k\right)$ is the
case of the smallest natural number $k=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, $s\left(n\mathrm{+1}\right)$, it is permissible to assume that $S\left(m\right)$ folds for all $k\u2a7dm\u2a7dn$. In principle (though not always in practice) this makes the proof of the induction step easier at no extra cost.

Theorem.

Suppose a statement $S\left(k\right)$ is true for some number $k$; suppose also that whenever $S\left(m\right)$ is true for all $m=k,k\mathrm{+1},\dots ,n$ then $s\left(n\mathrm{+1}\right)$ also holds. Then $S\left(n\right)$ holds for all $n\u2a7ek$.

A variation of this is the least number principle (also
called smallest counterexample

) as follows.

Theorem.

Suppose a statement $S\left(n\right)$ is false for some number $n\in \mathbb{N}$. Then there is a least $n\in \mathbb{N}$ such that $S\left(n\right)$ is false, i.e., a number $n\in \mathbb{N}$ such that $S\left(n\right)$ is false and $S\left(k\right)$ is true for $k=0,1,2,\dots ,n-1$.

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 $\mathbb{Z}$.

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 $(\mathbb{Z},+)$ is an abelian (or commutative) group with identity $0$ and inverses $-x$ for each $x\in \mathbb{Z}$. If we take away the number zero we also get an abelian semigroup for multiplication, $(\mathbb{Z}-\left\{0\right\},\xb7)$, i.e., the associativity and commutativity axioms hold for multiplication, and there is a multiplicative identity $1$. Furthermore, the distributivity law, $(y+z)=xy+xz$ also holds. This means that $(\mathbb{Z},+,\xb7)$ 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 $\mathbb{Z}$ and their congruence relations via the idea of one number being a factor of another.

The next stage is to extend our number system still further to add multiplicative inverses $\frac{1}{n}$ for each non-zero integer $n$. We then close our resulting collection of numbers under addition and multiplication. The result is the set $\mathbb{Q}$ of all rational numbers, or fractions. A rational number will be written as $\frac{p}{q}$ where $p$ and $q$ are integers, and $q\ne 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 $\frac{p}{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 $\frac{p}{q}$. There will be many such. For example, if $\frac{p}{q}$ represents a certain number then so do $\frac{-p}{-q}$ and $\frac{2p}{2q}$ 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 $\left(\frac{p}{q}\right)/\left(\frac{r}{s}\right)=\frac{ps}{qr}$.

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 $\sqrt{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 $\mathbb{R}$ is, and this is what
these web pages are really about.