Category Archives: Natural numbers

The natural numbers are the ordered set of numbers that mankind has used to tell

Natural numbers

Natural numbers

Natural numbers are the ordered set of numbers that humanity has used to count, which are assigned ordinal names to name each particular number:

Units
Number Ordinal
1 First
2 Second
3 Third
4 Fourth
5 Fifth
6 Sixth
7 Seventh
8 Eighth
9 Ninth
11 to 19
Number Ordinal
11 Eleventh
12 Twelfth
13 Thirteenth
14 Fourteenth
15 Fifteenth
16 Sixteenth
17 Seventeenth
18 Eighteenth
19 Nineteenth
Tens
Number Ordinal
10 Tenth
20 Twenty
30 Thirty
40 Forty
50 Fifty
60 Sixty
70 Seventy
80 Eightieth
90 Ninetieth
Hundreds
Number Ordinal
100 Hundredth
200 Two hundredth
300 Three hundredth
400 Four hundredth
500 Five hundredth
600 Six hundredth
700 Seven hundredth
800 Eight hundredth
900 Nine hundredth

And so we could continue listing them until we get bored, since the set of natural numbers is infinite

However, there is no universal agreement on whether zero should be considered a natural number. Historically, 0 as a number had a much later origin than the rest of numbers. The Babylonians, in the 7th century BC. they had a symbol for zero, but just to leave no gaps when representing quantities in their base 60 positional numbering system in cuneiform script

The Hindu mathematician Brahmagupta, already considered it a number more, in the 7th century; and possibly, the Olmec and Mayan civilizations already used it as a number, centuries earlier. On the other hand, the Greeks, from which the mathematics of Western culture derive, had no concept of zero; and for that reason, there is no way to represent it in Roman numerals, a culture that drank from Greek, which prevailed in Europe until the base 10 decimal system (of Indian origin and adopted by the Arabs) began to slowly prevail from the 13th century onwards

For this reason, you can define natural numbers in two ways:

\begin{cases}\mathbb{N}=\{1,2,3,4,5,\cdots,n\} & \text{(if we do not include 0) } \\ \mathbb{N}_0=\{0,1,2,3,4,5,\cdots,n\} & \text{(if we do include 0) } \end{cases}

The axioms of Peano

The axioms of Peano

The Peano axioms (also known as Peano's postulates) were a proposal by the Italian mathematician Geuseppe Peano in 1889, in order to axiomatically formalize the natural numbers, based on the set theory developed by Georg Cantor

Axioms, which is still used in the present

Natural numbers are defined as a set (called \mathbb{N}_0), an element (which assumes the role of zero and that we will denote as 0) and a “next” (or “successor”) element that is an application denoted by S so that it fulfills:

  1. The zero is a natural number
  2. The next natural number is also a natural number
  3. There is No natural number whose next is zero
  4. If the next of two natural numbers are equal, then the two numbers are equal
  5. If S is a set of natural numbers such that zero is of S and whenever a natural number is of S also its next one is in S, then S is the set of natural numbers

Using a more formal or algebraic language, these five axioms can be stated like this:

  1. 0\in \mathbb{N}_0
  2. \exists s| \mathbb{N}_0\rightarrow \mathbb{N}_0 and in addition satisfies the axioms following
  3. \not\exists n\in \mathbb{N}_0 |s(n)=0
  4. s(n)=s(m)\Rightarrow n=m (s is injective)
  5. S\in \mathbb{N}, 0\in S |\forall n\in S=s(n)\in S\Rightarrow S=\mathbb{N}_0

The method of induction

The method of induction

From the concept of induction, the idea of mathematical induction appears, which allows demonstrations by the induction method

You can express the natural numbers as a triplet (\mathbb{N}_0,0,s) with \mathbb{N}_0 a set, 0\in \mathbb{N}_0, s| \mathbb{N}_0\rightarrow\mathbb{N}_0\backslash\{0\} an injective application, and in such a way that the fifth of the previous axioms is fulfilled, which is called the axiom of induction or the principle of induction

To do this, S is taken as the set of natural numbers that satisfy a certain property that wants to be proved, it is verified that zero fulfills the property (that is 0\in S), and that if a number n fulfills it, the next will also fulfill it (that is n\in S\Rightarrow s(n)\in S); and as a consequence of the axiom of induction, all natural numbers fulfill the property (S=\mathbb{N}_0)

In practice, the principle of induction is usually applied in terms of properties rather than in terms of sets. To carry it out, we will carry out the following steps:

Suppose that for each natural number n\geq n_0 it has a certain property P_n which may or may not be true. We assume that:

  1. P_n it is certain
  2. If for some n\geq n_0 the property P_n is true then P_{n+1} also what is

Then P_n it is certain for all n\geq n_0

The demonstration will be over, because we will have been able to test the property for all natives

The Gaussian sum

Induction Example: The Gaussian Sum

The Gaussian sum is a practical example of the induction method

In 1789. Carl Friedrich Gauss (who would become a great mathematician and physicist), while in school, at the age of nine, his teacher wanted to keep the children busy for a while, he ordered them to add the first hundred numbers. He had barely finished assigning homework when Gauss got up and handed over his whiteboard. On the board there was a single number: 5050. It turned out that 5050 was precisely the sum of the numbers from one to one hundred. How had he found the solution so quickly?

Gauss realized something curious. The sum to be made was \sum\limits_{k=1}^{100} k, which can take a long time if done in that order, but if you add the first and last numbers, you get 101. The same happens if you add the second with the penultimate and the third with the penultimate, and so on. You can see that all these sums have the same result: 101

Since there are obviously 50 pairs whose sum is 101, the result of adding from one to one hundred is 50\times 101=5050. This way of dealing with the problem is an excellent example of an elegant solution

This solution is not only valid for numbers from one to one hundred. In general, the sum of the first n numbers (where n is an even number) is the last number plus one times the number of pairs, that is \sum\limits_{k=1}^{n} k=\frac{n\cdot(n+1)}{2}

Now we are going to prove that \sum\limits_{k=1}^{n} k=\frac{n\cdot(n+1)}{2} is true for all natural numbers using the induction method:

We take it as a P_n the left side of the equality, we check that for P_1 is true: P_1=\sum\limits_{k=1}^{1} k=1

Now compare it with the right side \frac{1\cdot(1+1)}{2}=\frac{1\cdot 2}{2}=\frac{2}{2}=1. Since 1=1, we have that the equality was true for P_1

We assume that it is true up to n: \sum\limits_{k=1}^{n} k=\frac{n\cdot(n+1)}{2}

Now we check that it is true for n+1:

\sum\limits_{k=1}^{n+1} k=\frac{(n+1)\cdot((n+1)+1)}{2}=\frac{(n+1)\cdot(n+2)}{2}=\frac{n^2+2\cdot n+n+2}{2}=\frac{n^2+3\cdot n+2}{2}
(\sum\limits_{k=1}^{n} k)+(n+1)=\frac{n^2+3\cdot n+2}{2}

We apply the induction hypothesis: (\frac{n\cdot(n+1)}{2})+(n+1)=\frac{n^2+3\cdot n+2}{2}

\frac{n\cdot(n+1)+2\cdot(n+1)}{2}=\frac{n^2+3\cdot n+2}{2}
\frac{n^2+n+2\cdot n+2}{2}=\frac{n^2+3\cdot n+2}{2}
\frac{n^2+3\cdot n+2}{2}=\frac{n^2+3\cdot n+2}{2}

It is fulfilled, then P_n it is certain for all n\geq n_0 and therefore is true for all natural numbers

Principle of good ordination

Proposition: principle of good ordination

The principle of good management that if (\mathbb{N}_0, \leq) is a well-ordered set (that is to say, any subset of \mathbb{N}_0 non empty) has minimal

Demonstration: principle of good ordination

We are going to prove by reduction to absurdity

Suppose that there is a subset A\subset\mathbb{N}_0, A\not=\emptyset, which has no minimum

Then we define the set S=\{n\in\mathbb{N}_0|n\leq a, \forall a\in A\}

We must realize that if n\in A\cap S, we would have to n=\text{min}(S) and we've assumed that S has no minimum, therefore A\cap S=\emptyset

Now let's test it for the whole set using the induction axiom:

We found that 0\in S
0+a=a then 0\leq a, \forall a\in A

\text{If }n\in S, as A\cap S=\emptyset then n < a, \forall a\in A, (by defining order in \mathbb{N}_0) in each case there will be a natural number n_a \geq 1 such that n+n_a=a, which is done whenever s(n)=n+1\leq n+n_a=a, and therefore s(n)\in S

In compliance with these conditions, the axiom of completeness assures us that S=\mathbb{N}_0

Which is absurd, for it A\cap S=\emptyset then A=\emptyset, which is clearly a contradiction of the original assumption A\not=\emptyset

A model of the natural

A model of the natural numbers

We're going to see a model of the natural

A theory set of axioms is consistent when there appears some kind of contradiction that makes the axioms do not make sense

Peano's axioms introduce natural numbers from set theory. After exposing the axioms, some additional definitions (the sum, the product and the principle of good management) have been given. But are Peano's axioms consistent? That is, is there a model based on the assembly model that meets Peano's axioms? Let's see how to build a model of natural numbers from set theory

Note if we had a model, we would be reducing the consistency of numbers to that of set theory, and the set theory is consistent? At some point we have to stop descending, and you have to assume something as true without the possibility that it will be demonstrated. In 1930, He tested his famous theorems of incomprehensibility, which in a simplified way state the following:

  • First theorem of incompleteness
    In any consistent formalization of mathematics that is strong enough to define the concept of natural numbers, an affirmation can be constructed that cannot be demonstrated or refuting within that system
  • Second theorem of incompleteness
    Any consistent set may be used to prove itself

These results were very negative for the philosophical approach to mathematics, proposed by David Hilbert, known as Hilbert's formalization program. He had proposed that the consistency of more complex systems, such as actual analysis, had to be tested in terms of simpler systems. Finally, the consistency of all mathematics could be reduced to basic arithmetic

With his first theorem, Godel demonstrated that arithmetic is incomplete, and in this way it will be impossible for it to be used to demonstrate the consistency of any axiom system. The paradise devised by Hilbert did not exist, it was a utopia

Let's stop the logic and go back to the natural numbers. A model of Peano's axioms would be a triplet (\mathbb{N},0,s) with \mathbb{N} a set, 0\in \mathbb{N}, s|\mathbb{N}\rightarrow\mathbb{N} an application that would satisfy these axioms. It is not difficult to see that if we have two models, they should be the same, since given two models (\mathbb{N}_A, 0_A, s_A) and (\mathbb{N}_B, 0_B, s_B) Peano's axioms, the application f|\mathbb{N}_A\rightarrow \mathbb{N}_B defined by:

\begin{cases}f(0_A)=0_B \\ f(s_A(n))=s_B(n) \end{cases}

it's a bijection. Since we have to, there can only be one model of Peano's axioms, but we haven't defined any yet!

Logicians Gottlob Fregge and Bertrand Russell built models of Peano's axioms based on the intuitive idea that a natural number is the cardinal of an ensemble. That is, each natural number is the "essence" shared by the bijective (and finite) sets whose cardinal number is that cardinal number. Then a natural number would be defined as the equivalence case of those sets; in addition, zero corresponds to the empty set (actually, its equivalence class) and s applied to an assembly is to add an element that is not in the set (for each set of the equivalence class). However, this idea has serious logical difficulties, because, according to the laws of Zermelo-Fraenkel's axiomatics on which the current mathematics is based, put informally: "the whole of all sets is not a whole", the equivalence classes of bijective sets also do not form a set of

The model commonly used is that of the Hungarian nationalized American mathematician, János von Neumann, who not only made important contributions in many fields of mathematics, but in computer science with von Neumann's architecture, currently used in computers and in the manufacture of the first atomic bomb

The model devised by von Neumann begins with the definition of 0 as the empty set (\emptyset), and also defines an operator s acting on the sets by s(A)=A\cup(A)

Defines the set of natural numbers \mathbb{N}_0, such as the intersection of all closed sets under the action of s (that is, of all C sets such that s(C)\subset C) containing the empty set. Each natural number (understood as a set), is the set of natural numbers less than him:

\scriptsize\begin{cases}0=\emptyset \\ 1=s(0)=\emptyset\cup\{\emptyset\}=\{\emptyset\}=\{0\} \\ 2=s(1)=\{\emptyset\}\cup\{\{\emptyset\}\}=\{\emptyset,\{\emptyset\}\}=\{0,1\} \\ 3=s(2)=\{\emptyset,\{\emptyset\}\}\cup\{\{\emptyset,\{\emptyset\}\}\}=\{\emptyset,\{\emptyset\},\{\emptyset,\{\emptyset\}\}\}=\{0,1,2\} \\ \cdots \\ n=s(n-1)=\cdots=\{1,2,3,\cdots,n\} \end{cases}

The set \mathbb{N}_0, along with 0 and the "next" function s|\mathbb{N}_0\rightarrow\mathbb{N}_0, satisfies Peano's axioms

Operations of the natural

Operations of the natural numbers

We're going to see the operations of the natural

With the axioms of Peano and with the zero as the first element of \mathbb{N}_0, we introduce the notation of others:

\begin{cases}s(0)\text{ we call 1} \\ s(1)\text{ we call 2} \\ \cdots \\ s(n-1)\text{ we call n}\end{cases}

Operation sum

The sum or (addition) in \mathbb{N}_0 it is an operation that +|\mathbb{N}_0\rightarrow \mathbb{N}_0 which is recursively defined as:

\begin{cases}a+0=a \\ a+s(b)=s(a+b) \end{cases}

Properties of the sum

Dice a, b, c\in\mathbb{N}_0 comply with:

  • Associative property for addition
    a+(b+c)-(a+b)+c (as a result of the previous property, there is no need to enter parentheses and a+b+c can be written)
  • Commutative property for addition
    a+b=b+a
  • Neutral element of the sum
    0\in\mathbb{N}_0,\forall a\in\mathbb{N}_0|a+0=a; \forall a\in\mathbb{N}_0, \exists b\in\mathbb{N}_0|a+b=0
  • Cancellation property (simplification) in the sum
    \text{If }a+c=b+c\rightarrow a=b

Operation product

The product or (multiplication) in \mathbb{N}_0 it is an operation that \cdot|\mathbb{N}_0\rightarrow \mathbb{N}_0 which is recursively defined as:

\begin{cases}a\cdot 0=0 \\ a\cdot s(b)=a+a\cdot b \end{cases}

Properties of the product

Dice a, b, c\in\mathbb{N}_0 comply with:

  • Associative property for the product
    a\cdot(b\cdot c)=(a\cdot b)\cdot c (as a result of the above property, there is no need to indicate parentheses and can be written a\cdot b\cdot c)
  • Commutative property for the product
    a\cdot b=b\cdot a
  • Neutral element of the product
    1\in\mathbb{N}_0,\forall a\in\mathbb{N}_0|a\cdot 1=a; \forall a\in\mathbb{N}_0,a\not=0, \exists b\in\mathbb{N}_0|a\cdot b=1
  • Cancellation property (simplification) on the product
    \text{If }a\cdot c=b\cdot c\text{ con }c\not= 0\rightarrow a=b

Operation sum and product

In addition, sum and product share the following property:

Property of the sum and the product

  • Distributive property of the product regarding the sum
    \text{If }a\cdot (b+c)=(a\cdot b)+(a\cdot c)

Note if we had chosen to represent the natural ones without zero, in the axioms of Peano it would be enough to change \mathbb{N}_0 by \mathbb{N} and 0 by 1. Since the first axiom only serves to ensure that \mathbb{N}_0 is not the empty set, and the name given to the first element is not relevant in its definition. When it becomes relevant, it is when the sum and product operations are defined. If the natural ones are built starting at 1, the definition of the sum is started with a+1 s(a), and that of the product by a\cdot 1=a

Integer numbers

Integer numbers

With natural ones we can add numbers, but we can't always subtract. We will use the whole numbers to be able to subtract any pair of natural

Although natural numbers seem obvious, mathematicians had a hard time treating negative numbers equally to positive numbers. Historically, the use of negative numbers is far after the use of fractions or even irrational positives

An example of complications from negative numbers for both Greek Diophanto and European Renaissance algebrists, an equation of the x^2+b\cdot x+c=0 (in which for us parameters b and c can be both positive and negative and the resolution method remains the same) was not unique, but should be analyzed in four cases \begin{cases}x^2+b\cdot x+c=0 \\ x^2+b\cdot x=c \\ x^2+c=b\cdot x \\ x^2=b\cdot x+c \end{cases} with b and c always positive (even more cases if we allow the possibility that b or c are worth zero) and each case had its own method of resolution

Note: the rating x^n has usual sense x^n=\underbrace{x\cdots x}_{\text{n times}}, \forall n \in\mathbb{N} and x belongs to any of the sets of numbers we consider (natural, integer, rational, and real). Also when no. 0 we have to x^0=1

It was the Dutch mathematician Simon Stevin, at the end of the 16th century, who first recognized the validity of negative numbers by accepting them as a result of the problems he worked with. In addition, it recognized the equality between subtracting a positive number and adding a negative number (i.e., a-b-a+(-b), with a, b > 0). For this reason, just as Brahmagupta is considered to be the father of zero, Stevin is regarded as the father of negative numbers (in fact, Stevin made many more contributions to the world of numbers, in the field of real numbers)

In \mathbb{N}_0 can add numbers, but we can't always subtract. That is why the need arises to create a new set of numbers with which to subtract any pair of natural numbers; this new set is that of integers and is denoted as \mathbb{Z}

It is totally elementary to see that this relationship is of equivalence, and that allows us to define whole numbers as the quotient set \mathbb{Z}=\mathbb{N}_0\times\mathbb{N}_0/\sim

Natural differences and integers

Natural differences and integers

Differences between natural and whole:

The set of integers it is not a set well-ordered (since the subset of negative integers has no minimum)

Any subset not empty of \mathbb{Z} lower bound has minimum (and multiplied by (-1), if bound above, has maximum)

To multiply integers we have to distinguish between positive and negative, applying the so called rule of the signs:

\begin{cases} \text{positive }\cdot\text{positive = positive} \\ \text{positive }\cdot\text{negative = negative} \\ \text{negative }\cdot\text{positive = negative} \\ \text{negative }\cdot\text{negative = positive} \end{cases}

The order of \mathbb{Z} is a total order, but it should be noted that any negative number is less than any positive. In addition, these properties must be taken into account for operations:

\tiny\begin{cases} a \leq b \Rightarrow a + c \leq b + c \\ a \leq b, c \geq 0 \Rightarrow a \cdot c \leq b \cdot c \\ a \leq b, c < 0 \Rightarrow a \cdot c \geq b \cdot c & \text{if multiplied by a negative number} \end{cases}

We have at our disposal the absolute value function (or module):

\|a\|=\begin{cases} a & \text{if } a \geq 0 \\ (-a) & \text{if } a < 0 \end{cases}

From the absolute value function and thanks to its geometric implications, we also have at our disposal the Triangular inequality:

\|a + b\| \leq \|a\| + \|b\|

Operations of integers

Inclusion of the natural numbers in the integers

We're going to see the operations of integers

\mathbb{N}_0 includes in \mathbb{Z} associating to each a\in\mathbb{N}_0 the equivalence class of (a, 0)

The natural number 0 in \mathbb{Z} is (0, 0), which is the kind of equivalence given by \{(a, a) | a \in\mathbb{N}_0\}, which is the element of the sum in \mathbb{Z}

The natural 1 in \mathbb{Z} is (1, 0), and its kind of equivalence, which is the neutral element of the product in \mathbb{Z}

Unlike in \mathbb{N}_0, in \mathbb{Z}, given a number, you can always find another one that adds to the first give zero (the neutral element of the sum). If we have (a, b), just take (b, a) and it is fulfilled:

(a, b)+(b, a)=(a + b, a + b)\sim (0, 0)

This number (b, a), which is the opposite (a, b), and we denote it as -(a, b). Which allows us to define the subtraction:

(a, b) - (c, d)=(a + b) + (-(c, d))=(a, b)+(d, c)=(a + d, b + c)

Or equivalently:

(a, b) - (c, d)=(r + s) \Longleftrightarrow (a, b)=(r, s) + (c, d)

Operation sum

Given that (a, b) it is the way that we have in \mathbb{Z} to indicate the subtraction a-b and in the same way, (c, d) represents c-d, there's nothing more to think about (a-b)+(c-d)=(a+c)-(b+d) to give a proper definition of the sum:

(a, b)+(c, d)=(a+c, b+d)

Operation product

Similarly, to define the product we have to (a-b)\cdot(c-d)=(a\cdot c + b\cdot d)-(a\cdot d+b\cdot c), therefore the appropriate definition for the product:

(a,b)\cdot (c,d)=(a\cdot c+b\cdot d, a\cdot d+ b\cdot c)

Relationship of equivalence

For the definitions in \mathbb{N}_0\times\mathbb{N}_0 given above are valid in \mathbb{Z}=\mathbb{N}_0\times\mathbb{N}_0/\sim, we need to prove that they are compatible with the relationship of equivalence, that is, if we have (a_1,b_1)\sim(a_2, b_2)\text{ y }(c_1,d_1)\sim(c_2, d_2) it is fulfilled that:

\begin{cases} (a_1,b_1)+(c_1,d_1)\sim(a_2,b_2)+(c_2,d_2) \\ (a_1,a_1)\cdot(c_1,d_1)\sim(a_2,b_2)\cdot(c_2,d_2) \end{cases}

Order relationship

There is also to define the order relationship in \mathbb{Z}. To define when (a,b)\leq(c,d), let's think once again about (a,b) as in \displaystyle a-b and in (c,d) as c-d. Then just look at that a-b\leq c-d is equivalent to a+d\leq b+c to realize that the definition that we seek has to be (a,b)\leq (c,d)\Leftrightarrow a+d\leq b+c

As in the sum and the product, we must check the compatibility of that definition with the equivalence ratio, that is, if we have (a_1,b_1)\sim(a_2,b_2)\text{ y }(c_1,d_1)\sim(c_2,d_2), is fulfilled that:

(a_1,b_1)+(c_1,d_1)\sim(a_2,b_2)+(c_2,d_2)