Chapter 1 Elementary Arithmetic

Section 1.1 Numbers, Variables, Terms

1.1.1 Introduction


Mathematics is a science in which abstract structures and the logical relations between them are investigated. Before we examine the actual subjects of this section in more detail, we shall refer briefly to the fundamental notion of a set.
Info 1.1.1
 

We will often be making statements about a number of structurally similar objects. To do so in a compact manner, we can gather such objects into sets that serve as containers for the objects. Let the objects be denoted by a,b,c,. Then the symbol M={a;b;c;} denotes the set M which has the previously listed objects as its elements. The latter statement is written in short as aM, bM, cM etc; thus the symbol " " reads "is an element of". (Sometimes it is more convenient to reverse the order of element and set. To do so, we can reverse the symbol , as in Ma, Mb, Mc. The meaning is the same as before, and the reversed symbol " " reads "contains as an element" or just "contains".)
Apart from the list notation for sets, other notations exist. If, for example, the elements have to satisfy a condition B, then this is written in the form T={x:x satisfies B}. If x is taken (explicitly) from a more comprehensive set U, then this is also written in the form T={x:xU and x satisfies B} or, in short, T={xU:x satisfies B}.
Statements like " xU" or " x satisfies B" are statements in a mathematical sense, i.e. we can assign them a unique truth value "true" or "false". Let A1 and A2 be two such statements. In case both A1 and A2 hold, we write A1 A2 . In case only one of the two statements needs to hold, i.e.  A1 or A2 or both, we write A1 A2 .
For two sets M and N we write:

  • MN, i.e.  M is a (possibly improper) subset of N, if every element of M is also an element of N. If at least one element of N exists that is not in M, we say that M is a proper subset of N. In this case we can also write MN.
  • MN for the union of the two sets. The union denotes the set containing all elements that are contained in at least one of the two sets.
  • MN for the intersection of the two sets. The intersection denotes the set containing all elements that are contained in both of the two sets.
  • NM for the complement, i.e. the set containing all elements of N that are not contained in M.
Thus the union mentioned above is characterised by elements that satisfy the condition (xM)(xN). However, for the elements of the intersection (xM)(xN) holds. In contrast, the complement above contains elements for which (xN)(xM) holds. The symbol denotes the negation of the element statement.

To a large extent, mathematics is concerned with the universe of numbers:

;0;-3;4; 4 5 ;2;e;π;12.3; 1023 ;.

However, considering different numbers in more detail reveals fundamental differences. Some numbers cannot be expressed as a closed decimal fraction, others are almost unimaginable (imaginary), still others can be counted on the fingers or can be derived as solutions of equations.
Info 1.1.2
 
The number ranges used throughout this online course are:
={1;2;3;} the set of all natural numbers excluding zero,
0 ={0;1;2;3;} the set of all natural numbers including zero,
={;-2;-1;0;1;2;} the set of all integer numbers (integers),
the set of all rational numbers (fractions, rationals),
the set of all real numbers (reals).

These number ranges are not independent of each other. Rather, they form a chain of nested number sets:

0 .

One obtains these number ranges by examining the solutions of the following equations and extending the number range in such a way that a solution always exists:
Number range Solvable equation Unsolvable Extension by New range
x+2=4 x+2=1 negative numbers
4x=20 4x=5 fractions
x2 =4 x2 =2 irrational numbers
x2 =2 x2 =-1 etc.

Natural numbers occur whenever numbers of objects have to be determined or things have to be labelled (using numbers). They play a great role in combinatorics: the number of possibilities for selecting 6 balls out of 49 is, for example, a natural number. Natural numbers are the bases of several number systems important either in daily life or in computer science: the binary system has base 2, the decimal system has base 10, and the hexadecimal system has base 16. Specific natural numbers, the prime numbers, are fundamental for modern encryption methods.
Arithmetic on the set of natural numbers is easy, but limits are reached if, for example, you read a temperature value of 3  C (does it mean plus or minus degrees?) or if an equation such as x+5=1 needs to be solved. Thus we must extend the set of natural numbers by the negative natural numbers to obtain the set of integers . The set of integers is denoted by

:={;-4;-3;-2;-1;0;1;2;3;4;}.

Integers are required whenever the sign (plus or minus) of a natural number matters. In , numbers can be subtracted from each other without any restriction, i.e. systems of equations of the form a+x=b are always solvable in ( x=b+(-a)).

On the set of integers a comparator < can be uniquely defined, so that the integers can be ordered into a chain:

<-3<-2<-1<0<1<2<3<.


A rational number (rational) is the ratio of two integers:
Info 1.1.3
 
The set of rational numbers is denoted by

:={ p q :p,q,q0}.

The elements p q of the set are called fractions, where p is the numerator of the fraction and q is the non-zero denominator of the fraction.

The rationals play a role whenever the numbers have to be "more precise", e.g. if temperatures have to be given in fractional amounts of C, parts of surfaces have to be coloured, or medications have to be mixed from specific ingredients.
Note that the representation as a fraction is not unique: one number can be represented by several fractions. For example,

2  =   4 2   =   1024 512

all represent the same rational number.
Also, not every number on the number line can be represented as a fraction. Considering, for example, a square with sides of length 1, the length of the diagonal d can be calculated by means of the Pythagoras' theorem:



d2 = 12 + 12 =2,   or formally,   d=2.


Another number that cannot be represented as a fraction is obtained by unrolling a wheel of diameter 1 on the number line. The result is the number π. It can be proven that these two numbers ( 2 and π) cannot be represented as fractions. (In the case of 2 this proof is relatively simple.) These numbers are two examples of the so-called irrational numbers.


A number is irrational if it is not rational, i.e. if it cannot be represented as a fraction. The irrational numbers close the remaining gaps on the number line, where every point now corresponds to exactly one real number.
Info 1.1.4
 
The set of real numbers is denoted by and includes the set of rational numbers and the set of irrational numbers. It contains all numbers that can be represented on the number line.

Real numbers serve as measures for lengths, areas, temperatures, masses, etc. Throughout this course the mathematical problems are typically solved using real numbers.
A basic property of the real numbers is that they are ordered, i.e. for two reals a,b exactly one of the three relations a<b, a=b, or a>b holds. Another defining property is completeness, which - roughly speaking - describes the "gaplessness" of the number line.
Info 1.1.5
 
For two different real numbers, one sometimes considers all reals lying between these two numbers on the number line. Such a set of reals is called an interval. An interval is described by assigning a left interval boundary ( a) and a right interval boundary (b) with a<b. Depending on whether each interval boundary is included, we must distinguish the following cases:
  • {x:xa and xb}=[a;b] denotes the closed interval between a and b including the interval boundaries.
  • {x:x>a and x<b}= ]a;b[ denotes the open interval between a and b not including (i.e. excluding) the interval boundaries.
  • {x:xa and x<b}=[a;b[ denotes the left-closed and right-open interval between a and b, including the left interval boundary but excluding the right interval boundary.
  • {x:x>a and xb}= ]a;b] denotes the left-open and right-closed interval between a and b, including the right interval boundary but excluding the left interval boundary.
The last two intervals are also called half-open intervals.
For open interval ends, unbounded intervals can be considered as well. In these cases the corresponding condition in the set definition is dropped: {x:xa}=[a;[ , {x:x>a}= ]a;[ , {x:xb}= ]-;b], {x:x<b}= ]-;b[ , {x}== ]-;[ .
Moreover, the following descriptions are common: + = ]0;[ , 0 + =[0;[ , - = ]-;0[ , 0 - = ]-;0].
A final remark as to the notation: In the literature you will find two different notations for the open end of an interval, either with square brackets pointing outwards or with parentheses, e.g. [a;b[=[a;b), ]a;b[=(a;b). Both notations are correct, don't let them confuse you.