Chapter 1 Elementary Arithmetic
Section 1.1 Numbers, Variables, Terms1.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,\dots $. Then the symbol $M=\{a;b;c;\dots \}$ denotes the set $M$ which has the previously listed objects as its elements. The latter statement is written in short as $a\in M$, $b\in M$, $c\in M$ etc; thus the symbol "$\in $" 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 $\in $, as in $M\ni a$, $M\ni b$, $M\ni c$. The meaning is the same as before, and the reversed symbol "$\ni $" 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\hspace{0.5em}:\hspace{0.5em}x\hspace{0.5em}\text{satisfies}\hspace{0.5em}B\}$. If $x$ is taken (explicitly) from a more comprehensive set $U$, then this is also written in the form $T=\{x\hspace{0.5em}:\hspace{0.5em}x\in U\hspace{0.5em}\text{and}\hspace{0.5em}x\hspace{0.5em}\text{satisfies}\hspace{0.5em}B\}$ or, in short, $T=\{x\in U\hspace{0.5em}:\hspace{0.5em}x\hspace{0.5em}\text{satisfies}\hspace{0.5em}B\}$.
Statements like "$x\in U$" or "$x\hspace{0.5em}\text{satisfies}\hspace{0.5em}B$" are statements in a mathematical sense, i.e. we can assign them a unique truth value "true" or "false". Let ${A}_{1}$ and ${A}_{2}$ be two such statements. In case both ${A}_{1}$ and ${A}_{2}$ hold, we write ${A}_{1}\wedge {A}_{2}$. In case only one of the two statements needs to hold, i.e. ${A}_{1}$ or ${A}_{2}$ or both, we write ${A}_{1}\vee {A}_{2}$.
For two sets $M$ and $N$ we write:

$M\subseteq N$, 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 $M\subset N$.
 $M\cup N$ 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.
 $M\cap N$ for the intersection of the two sets. The intersection denotes the set containing all elements that are contained in both of the two sets.
 $N\setminus M$ for the complement, i.e. the set containing all elements of $N$ that are not contained in $M$.
To a large extent, mathematics is concerned with the universe of numbers:
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:
$\mathbb{N}=\{1;2;3;\dots \}$  the set of all natural numbers excluding zero, 
$\mathbb{N}{}_{0}=\{0;1;2;3;\dots \}$  the set of all natural numbers including zero, 
$\mathbb{Z}=\{\dots ;2;1;0;1;2;\dots \}$  the set of all integer numbers (integers), 
$\mathbb{Q}$  the set of all rational numbers (fractions, rationals), 
$\mathbb{R}$  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:
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 
$\mathbb{N}$  $x+2=4$  $x+2=1$  negative numbers  $\mathbb{Z}$ 
$\mathbb{Z}$  $4x=20$  $4x=5$  fractions  $\mathbb{Q}$ 
$\mathbb{Q}$  ${x}^{2}=4$  ${x}^{2}=2$  irrational numbers  $\mathbb{R}$ 
$\mathbb{R}$  ${x}^{2}=2$  ${x}^{2}=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 ${}^{\circ}$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 $\mathbb{Z}$. The set of integers is denoted by
Integers are required whenever the sign (plus or minus) of a natural number matters. In $\mathbb{Z}$, 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 $\mathbb{Z}$ ($x=b+(a)$).
On the set of integers a comparator $<$ can be uniquely defined, so that the integers can be ordered into a chain:
A rational number (rational) is the ratio of two integers:
Info 1.1.3
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 ${}^{\circ}$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,
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:

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 $\pi $. It can be proven that these two numbers ($\sqrt{2}$ and $\pi $) cannot be represented as fractions. (In the case of $\sqrt{2}$ this proof is relatively simple.) These numbers are two examples of the socalled 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.
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\in \mathbb{R}\hspace{0.5em}:\hspace{0.5em}x\ge a\hspace{0.5em}\text{and}\hspace{0.5em}x\le b\}=[a;b]$ denotes the closed interval between $a$ and $b$ including the interval boundaries.
 $\{x\in \mathbb{R}\hspace{0.5em}:\hspace{0.5em}x>a\hspace{0.5em}\text{and}\hspace{0.5em}x<b\}=\text{}]a;b[\text{}$ denotes the open interval between $a$ and $b$ not including (i.e. excluding) the interval boundaries.
 $\{x\in \mathbb{R}\hspace{0.5em}:\hspace{0.5em}x\ge a\hspace{0.5em}\text{and}\hspace{0.5em}x<b\}=[a;b[\text{}$ denotes the leftclosed and rightopen interval between $a$ and $b$, including the left interval boundary but excluding the right interval boundary.
 $\{x\in \mathbb{R}\hspace{0.5em}:\hspace{0.5em}x>a\hspace{0.5em}\text{and}\hspace{0.5em}x\le b\}=\text{}]a;b]$ denotes the leftopen and rightclosed interval between $a$ and $b$, including the right interval boundary but excluding the left interval boundary.
For open interval ends, unbounded intervals can be considered as well. In these cases the corresponding condition in the set definition is dropped: $\{x\in \mathbb{R}\hspace{0.5em}:\hspace{0.5em}x\ge a\}=[a;\infty [\text{}$, $\{x\in \mathbb{R}\hspace{0.5em}:\hspace{0.5em}x>a\}=\text{}]a;\infty [\text{}$, $\{x\in \mathbb{R}\hspace{0.5em}:\hspace{0.5em}x\le b\}=\text{}]\infty ;b]$, $\{x\in \mathbb{R}\hspace{0.5em}:\hspace{0.5em}x<b\}=\text{}]\infty ;b[\text{}$, $\{x\in \mathbb{R}\}=\mathbb{R}=\text{}]\infty ;\infty [\text{}$.
Moreover, the following descriptions are common: $\mathbb{R}{}^{+}=\text{}]0;\infty [\text{}$, ${\mathbb{R}{}_{0}}^{+}=[0;\infty [\text{}$, $\mathbb{R}{}^{}=\text{}]\infty ;0[\text{}$, ${\mathbb{R}{}_{0}}^{}=\text{}]\infty ;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.