2.1 Real numbers and their decimal representations
Definition 2.1 (Real number).
A real number is a point on the real line.
The numbers , , , , , , , and are examples of real numbers. There are numbers that are not real. For example, you will study complex numbers later in your degree programme. We begin by discussing different types of real number and different ways of representing them.
Definition 2.2 (Integer).
An integer is any one of the numbers .
The most common way of writing integers is the decimal numeral system. This is also known as the Hindu–Arabic numeral system due to its origins in those civilisations. We will now define terms. Please check that you understand each definition and that it agrees with what you already know.
In the decimal numeral system, a non-negative real number (meaning ) is written as a sum
where each of and is a digit (meaning one of ).11 1 You may find this definition circular, since we use an integer written in decimal (namely ) to define what it means to write an integer in decimal. However, the ‘’ here really means the integer obtained by adding together ten lots of .
We abbreviate the sum above to ‘’, which is called a decimal representation of . We also say that is written in decimal notation. Observe that we allow infinitely many digits to the right of the decimal point.
The integer (denoted by ‘’) is called the integer part of . The real number (denoted by ‘0.’) is called the fractional part of .
For example, the decimal representation means . The integer part of is and the fractional part is .
The following examples demonstrate different properties that decimal representations can have.
-
•
has decimal representation , but usually we do not write the tail of s and instead write . We say that the decimal representation terminates.
-
•
has decimal representation (with repeating indefinitely to the right).
-
•
has decimal representation , and we shall write to mean that the block "09" of two digits repeats indefinitely to the right.
-
•
has decimal representation , to 15 decimal places. has no repeating pattern in the fractional part. This requires proof and is not obvious.
Note that above we only defined the decimal representation of a non-negative real number . For completeness, if is a negative real number then is positive and so has some decimal representation . Then has integer part and fractional part .