Numbers

From Algowiki
Revision as of 09:41, 1 October 2014 by Cuozzo (talk | contribs)
Jump to navigation Jump to search

Natural numbers

[math]\displaystyle{ \mathbb{N} }[/math] denotes the set of positive integral numbers:

[math]\displaystyle{ \mathbb{N} := \{1,2,3,...\} }[/math]
[math]\displaystyle{ \mathbb{N}_{0} := \mathbb{N} \cup \{0\} }[/math]

We say that [math]\displaystyle{ \mathbb{N}_{0} }[/math] is the set of all natural numbers.

Real numbers

[math]\displaystyle{ \mathbb{R} }[/math] denotes the set of all real numbers. We also define the following sets:

[math]\displaystyle{ \mathbb{R}^+ := \{x\mid x\in \mathbb{R},x\gt 0\} }[/math] (set of all positive real numbers)
[math]\displaystyle{ \mathbb{R}^+_0 := \mathbb{R}^+ \cup \{ 0 \} }[/math]

Additionally [math]\displaystyle{ +\infty }[/math] or, for short, [math]\displaystyle{ \infty }[/math], denotes the unique number that is larger than all real numbers. Analogously, [math]\displaystyle{ -\infty }[/math] is the unique number that is smaller than all real numbers. By convention the following properties hold for all [math]\displaystyle{ x\in\mathbb{R} }[/math]:

[math]\displaystyle{ x+\infty = \infty + x = \infty + \infty = \infty }[/math]

We say that [math]\displaystyle{ +\infty }[/math] and [math]\displaystyle{ -\infty }[/math] are the neutral elements of the minimum and maximum operation, respectively:

[math]\displaystyle{ \min\emptyset = +\infty }[/math]
[math]\displaystyle{ \max\emptyset = -\infty }[/math]

Empty sets and intervals

  1. For [math]\displaystyle{ i\gt j }[/math], we define [math]\displaystyle{ \{ x_i,...,x_j\}:=\emptyset }[/math].
  2. For [math]\displaystyle{ a\gt b }[/math], we define [math]\displaystyle{ [a,b]:=\emptyset }[/math]

Boolean

[math]\displaystyle{ \mathbb{B} }[/math] denotes the set of binary truth values (Boolean values).

[math]\displaystyle{ \mathbb{B}:=\{ true,false\} }[/math]