Whole numbers
Integers are numbers without a decimal part; they include natural numbers, their negative counterparts, and zero.
Properties
An integer is a set that includes the numbers ..., -3, -2, -1, 0, 1, 2, 3, .... This set is usually denoted by the letter Z, with a double middle line: โค, from the German "Zahlen" (numbers). An integer is an infinite and countable set.
For example, integers possess the following properties:
- They are closed under the operations of addition and multiplication, just like natural numbers. This means that if we add two integers, we get an integer again.
- Unlike natural numbers, integers are also closed under the operation of subtraction. Natural numbers are not, because subtracting one natural number from another can result in a negative number, which is acceptable in the case of integers since they include negative numbers.
- Just like natural numbers, which are not closed under the operation of division, we can still obtain a non-integer result after dividing. For every integer c, there exists an inverse โc. For example, if we have the integer 10, the inverse is โ10. For 55, it is โ55, and similarly, for negative numbers: โ13 has the inverse 13. If we have the integer c and its inverse โc, adding them results in zero: c+(โc) = 0. Therefore, zero is its own inverse.
Even and odd numbers
We can divide integers into even and odd numbers. Even numbers are divisible by two; examples include 2, โ4, โ8, 40, 124, etc. Odd numbers have a remainder of one when divided by two; examples include โ1, 1, 5, 19, โ41, etc. Note that we distinguish between even and odd numbers even for negative integers (for example, โ5 is indeed odd), and that zero is considered an even number.
Properties with respect to the addition operation: If you add two even numbers, the result is also an even number. Additional properties are shown in the following table:
$$\begin{eqnarray} \mbox{ Even }+\mbox{ Even }&=&\mbox{ Even }\\ \mbox{ Even }+\mbox{ Odd }&=&\mbox{ Odd }\\ \mbox{ Odd }+\mbox{ Odd }&=&\mbox{ Even } \end{eqnarray}$$
Similar table for multiplication:
$$\begin{eqnarray} \mbox{ Even }\cdot\mbox{ Even }&=&\mbox{ Even }\\ \mbox{ Even }\cdot\mbox{ Odd }&=&\mbox{ Even }\\ \mbox{ Odd }\cdot\mbox{ Odd }&=&\mbox{ Odd } \end{eqnarray}$$
Division with remainder
Even on the set of integers, we can define division with a remainder, just as we do with natural numbers, but we must consider negative numbers. Thus, the basic definition this time will look as follows:
$$a=q\cdot b+r,\qquad a,q\in\mathbb{Z}, b\in\mathbb{Z}-\left\{0\right\}, 0\le r<|b|$$
In this expression where we divide a:b, the number q represents the result (quotient), and the number r represents the remainder after division. The divisor b must not be zero, as division by zero is undefined. The remainder must be positive and less than the absolute value of b, thereby excluding cases where division by a negative number occurs.
What would such a division look like? Let's try dividing โ21:4. The numbers would then appear as follows:
$$-21=-6\cdot4+3$$
The result (the quotient) is โ6, and the remainder is 3. It may surprise you that the result differs from what it would be if all the numbers were positive.
$$21=5\cdot4+1$$
Here, the quotient is 5, and the remainder is 1. The only difference lies with negative numbers. With positive numbers, the first step is to find the largest integer that is smaller than 21 and divisible by four without a remainder, which is 20. Thus, we divide 20:4 = 5 to obtain five. We then determine the remainder by calculating 21 โ 20.
In negative numbers, we proceed similarly. We look for the largest number that is smaller than โ21 and divisible by 4 without a remainder. However, the number โ20 is not smaller than โ21; it is actually larger. Therefore, the largest number smaller than โ21 and divisible by 4 without a remainder is โ24. We determine the remainder by calculating โ21โ(โ24) = โ21 + 24 = 3.
Related articles
- Divisibility by two
- Divisibility by three
- Divisibility by four
- Divisibility by five
- Divisibility by six
- Divisibility of seven
- Divisibility of eight
- Divisibility of nine
- Divisibility of ten
- Divisibility of eleven