Integer
Integer is a redirect to this article. For the representation of integer values in digital computers, see Integer (data type).
The integers (also integers, lat. numeri integri) are an extension of the natural numbers.
The integers include all numbers
…, −3, −2, −1, 0, 1, 2, 3, …
and thus contain all natural numbers and their additive inverses. The set of integers is usually denoted by the double-stroke letter (the "Z" stands for the German word "Zahlen"). The alternative symbol is now less common; one disadvantage of this boldface symbol is that it is difficult to display by handwriting. The Unicode of the character is U+2124 and has the shape ℤ.
The above enumeration of the integers also simultaneously gives their natural order in ascending order. Number theory is the branch of mathematics that deals with properties of the integers.
The representation of integers in the computer is usually done by the data type integer.
Integers are typically introduced in math classes in fifth through seventh grade.
The integers (ℤ) are part of the rational numbers (ℚ), which in turn are part of the real numbers (ℝ). They themselves contain the natural numbers (ℕ).
Properties
Ring
The integers form a ring with respect to addition and multiplication, i.e. they can be added, subtracted and multiplied without restriction. Calculation rules such as the commutative law and the associative law for addition and multiplication apply, and the distributive laws also apply.
The existence of subtraction allows linear equations of the form
with natural numbers and can always be solved: . If one restricts to the set of natural numbers, then not every such equation is solvable.
In abstract terms, this means the integers form a commutative unitary ring. The neutral element of addition is 0, the additive inverse element of is , the neutral element of multiplication is 1.
Arrangement
The set of integers is totally ordered, in the order
.
That is, you can compare two integers each. One speaks of
positive | , |
| non-negative | , |
negative | and | non-positive |
|
integers. The number 0 itself is neither positive nor negative. This order is compatible with the arithmetic operations, ie:
If and , then .
If and , then .
With the help of the arrangement, the sign function
and the magnitude function
define. They hang as follows
together.
Thickness
Like the set of natural numbers, the set of integers is also countable.
The integers do not form a body because, for example, the equation is not solvable in . The smallest body containing is the rational numbers .
Euclidean ring
An important property of the integers is the existence of division with remainder. Because of this property, two integers always have a greatest common divisor, which can be determined using the Euclidean algorithm. In mathematics, is called a Euclidean ring. From this also follows the theorem of unique prime factorization in .
Construction from the natural numbers
If the set of natural numbers is given, then the integers can be constructed from it as an extension of the number range:
On the set of all pairs of natural numbers, the following equivalence relation is defined:
, if
Addition and multiplication on is defined by:
is now the set of all equivalence classes.
The addition and multiplication of the pairs now induce well-defined links on , with which becomes a ring.
The usual order of the integers is defined as
if .
Each equivalence class has, in the case , a unique representative of the form , where , and in the case a unique representative of the form , where .
The natural numbers can be embedded in the ring of integers by mapping the natural number to the equivalence class represented by Usually, the natural numbers are identified with their images and the equivalence class represented by denoted by
If is a natural number different from , the equivalence class represented by called a positive integer and the equivalence class represented by called a negative integer.
This construction of the integers from the natural numbers works even if instead of the set , that is, without , is taken as the initial set. Then the natural number is in the equivalence class of and the is in that of .