<<

Natural Numbers

In , the natural numbers are the ordinary whole numbers used for counting ("there are 6 coins on the table") and ordering ("this is the 3rd largest city in the country"). These purposes are related to the linguistic notions of cardinal and ordinal numbers, respectively (see English numerals). A later notion is that of a nominal number, which is used only for naming.

Properties of the natural numbers related to divisibility, such as the distribution of prime numbers, are studied in number theory. Problems concerning counting and ordering, such as partition enumeration, are studied in combinatorics.

There is no universal agreement about whether to include zero in the set of natural numbers: some define the natural numbers to be the positive integers {1, 2, 3, ...}, while for others the term designates the non-negative integers {0, 1, 2, 3, ...}. The former definition is the traditional one, with the latter definition first appearing in the 19th . Some authors use the term "" to exclude zero and "whole number" to include it; others use "whole number" in a way that excludes zero, or in a way that includes both zero and the negative integers. History of natural numbers and the status of zero

The natural numbers had their origins in the words used to count things, beginning with the number 1.

The first major advance in abstraction was the use of numerals to represent numbers. This allowed systems to be developed for recording large numbers. The ancient Egyptians developed a powerful system of numerals with distinct hieroglyphs for 1, 10, and all the powers of 10 up to over one million. A stone carving from Karnak, dating from around 1500 BC and now at the Louvre in Paris, depicts 276 as 2 hundreds, 7 tens, and 6 ones; and similarly for the number 4,622. The Babylonians had a place-value system based essentially on the numerals for 1 and 10.

A much later advance was the development of the idea that zero can be considered as a number, with its own . The use of a zero digit in place-value notation (within other numbers) dates back as early as 700 BC by the Babylonians, but they omitted such a digit when it would have been the last symbol in the number.[1] The Olmec and Maya civilizations used zero as a separate number as early as the 1st century BC, but this usage did not spread beyond Mesoamerica. The use of a numeral zero in modern times originated with the Indian mathematician Brahmagupta in 628. However, zero had been used as a number in the medieval computus (the calculation of the date of Easter), beginning with Dionysius Exiguus in 525, without being denoted by a numeral (standard Roman numerals do not have a symbol for zero); instead nulla or nullae, genitive of nullus, the Latin word for "none", was employed to denote a zero value.[2] The first systematic study of numbers as abstractions (that is, as abstract entities) is usually credited to the Greek philosophers Pythagoras and Archimedes. Note that many Greek mathematicians did not consider 1 to be "a number", so to them 2 was the smallest number.[3]

Independent studies also occurred at around the same time in India, China, and Mesoamerica.[citation needed]

Several set-theoretical definitions of natural numbers were developed in the 19th century. With these definitions it was convenient to include 0 (corresponding to the empty set) as a natural number. Including 0 is now the common convention among set theorists, logicians, and computer scientists. Many other mathematicians also include 0, although some have kept the older tradition and take 1 to be the first natural number.[4] Sometimes the set of natural numbers with 0 included is called the set of whole numbers or counting numbers. On the other hand, integer being Latin for whole, the integers usually stand for the negative and positive whole numbers (and zero) altogether. Notation

Mathematicians use N or (an N in blackboard bold, displayed as ℕ in Unicode) to refer to the set of all natural numbers. This set is countably infinite: it is infinite but countable by definition. This is also expressed by saying that the cardinal number of the set is aleph-null .

Typically, if a mathematician uses for the set and he needs in the same scientific context this set including , then he mostly writes for the latter. On the other hand, if he uses for the set and he needs in the same scientific context this set excluding , then he mostly writes or for the latter.

To be unambiguous about whether zero is included or not, sometimes an index (or superscript) "0" is added in the former case, and a superscript " " or subscript " " is added in the latter case:

Some authors who exclude zero from the naturals use the terms natural numbers with zero, whole numbers, or counting numbers, denoted W, for the set of nonnegative integers. Others use the notation P for the positive integers if there is no danger of confusing this with the prime numbers. In that case, a popular notation is to use a script P for positive integers (which extends to using script N for negative integers, and script Z for zero).

Set theorists often denote the set of all natural numbers including zero by a lower-case Greek letter omega: ω. This stems from the identification of an ordinal number with the set of ordinals that are smaller. One may observe that adopting the von Neumann definition of ordinals and defining cardinal numbers as minimal ordinals among those with same cardinality, one gets . Lowercase omega ω is also similar to W. Algebraic properties

The addition (+) and multiplication (×) operations on natural numbers have several algebraic properties:

 Closure under addition and multiplication: for all natural numbers a and b, both a + b and a × b are natural numbers.  Associativity: for all natural numbers a, b, and c, a + (b + c) = (a + b) + c and a × (b × c) = (a × b) × c.  Commutativity: for all natural numbers a and b, a + b = b + a and a × b = b × a.  Existence of identity elements: for every natural number a, a + 0 = a and a × 1 = a.  Distributivity of multiplication over addition for all natural numbers a, b, and c, a × (b + c) = (a × b) + (a × c)  No zero divisors: if a and b are natural numbers such that a × b = 0 then a = 0 or b = 0 Properties

One can recursively define an addition on the natural numbers by setting a + 0 = a and a + S(b) = S(a + b) for all a, b. Here S should be read as "successor". This turns the natural numbers (N, +) into a commutative monoid with identity element 0, the so-called free monoid with one generator. This monoid satisfies the cancellation property and can be embedded in a group. The smallest group containing the natural numbers is the integers.

If we define 1 := S(0), then b + 1 = b + S(0) = S(b + 0) = S(b). That is, b + 1 is simply the successor of b.

Analogously, given that addition has been defined, a multiplication × can be defined via a × 0 = 0 and a × S(b) = (a × b) + a. This turns (N*, ×) into a free commutative monoid with identity element 1; a generator set for this monoid is the set of prime numbers. Addition and multiplication are compatible, which is expressed in the distribution law: a × (b + c) = (a × b) + (a × c). These properties of addition and multiplication make the natural numbers an instance of a commutative semiring. Semirings are an algebraic generalization of the natural numbers where multiplication is not necessarily commutative. The lack of additive inverses, which is equivalent to the fact that N is not closed under subtraction, means that N is not a ring; instead it is a semiring (also known as a rig).

If we interpret the natural numbers as "excluding 0", and "starting at 1", the definitions of + and × are as above, except that we start with a + 1 = S(a) and a × 1 = a. For the remainder of the article, we write ab to indicate the product a × b, and we also assume the standard order of operations.

Furthermore, one defines a total order on the natural numbers by writing a ≤ b if and only if there exists another natural number c with a + c = b. This order is compatible with the arithmetical operations in the following sense: if a, b and c are natural numbers and a ≤ b, then a + c ≤ b + c and ac ≤ bc. An important property of the natural numbers is that they are well- ordered: every non-empty set of natural numbers has a least element. The rank among well- ordered sets is expressed by an ordinal number; for the natural numbers this is expressed as "ω".

While it is in general not possible to divide one natural number by another and get a natural number as result, the procedure of division with remainder is available as a substitute: for any two natural numbers a and b with b ≠ 0 we can find natural numbers q and r such that

a = bq + r and r < b.

The number q is called the quotient and r is called the remainder of division of a by b. The numbers q and r are uniquely determined by a and b. This, the Division algorithm, is key to several other properties (divisibility), algorithms (such as the Euclidean algorithm), and ideas in number theory. Generalizations

Two generalizations of natural numbers arise from the two uses:

 A natural number can be used to express the size of a finite set; more generally a cardinal number is a measure for the size of a set also suitable for infinite sets; this refers to a concept of "size" such that if there is a bijection between two sets they have the same size. The set of natural numbers itself and any other countably infinite set has cardinality aleph-null ( ).  Linguistic ordinal numbers "first", "second", "third" can be assigned to the elements of a totally ordered finite set, and also to the elements of well-ordered countably infinite sets like the set of natural numbers itself. This can be generalized to ordinal numbers which describe the position of an element in a well-ordered set in general. An ordinal number is also used to describe the "size" of a well-ordered set, in a sense different from cardinality: if there is an order isomorphism between two well-ordered sets they have the same ordinal number. The first ordinal number that is not a natural number is expressed as ; this is also the ordinal number of the set of natural numbers itself.

Whole numbers may variously refer to:

 natural numbers beginning 1, 2, 3, ...; the positive integers  natural numbers beginning 0, 1, 2, 3, ...; the non-negative integers  all integers ..., -3, -2, -1, 0, 1, 2, 3, ...

Rational Numbers

In mathematics, a rational number is any number that can be expressed as the quotient or p/q of two integers, with the denominator q not equal to zero. Since q may be equal to 1, every integer is a rational number. The set of all rational numbers is usually denoted by a boldface Q (or blackboard bold , Unicode ℚ), which stands for quotient.

The decimal expansion of a rational number always either terminates after a finite number of digits or begins to repeat the same finite sequence of digits over and over. Moreover, any repeating or terminating decimal represents a rational number. These statements hold true not just for base 10, but also for binary, hexadecimal, or any other integer base.

A real number that is not rational is called irrational. Irrational numbers include √2, π, and e. The decimal expansion of an irrational number continues forever without repeating. Since the set of rational numbers is countable, and the set of real numbers is uncountable, almost all real numbers are irrational.

The rational numbers can be formally defined as the equivalence classes of the quotient set (Z × (Z ∖ {0})) / ~, where the cartesian product Z × (Z ∖ {0}) is the set of all ordered pairs (m,n) where m and n are integers, n is not zero (n ≠ 0), and "~" is the equivalence relation defined by (m1,n1) ~ (m2,n2) if, and only if, m1n2 − m2n1 = 0.

In abstract algebra, the rational numbers together with certain operations of addition and multiplication form a field. This is the archetypical field of characteristic zero, and is the field of for the ring of integers. Finite extensions of Q are called algebraic number fields, and the algebraic closure of Q is the field of algebraic numbers.

In mathematical analysis, the rational numbers form a dense subset of the real numbers. The real numbers can be constructed from the rational numbers by completion, using Cauchy sequences, Dedekind cuts, or infinite decimals.

Zero divided by any other integer equals zero, therefore zero is a rational number (but division by zero is undefined).

Terminology

The term rational in reference to the set Q refers to the fact that a rational number represents a ratio of two integers. In mathematics, the adjective rational often means that the underlying field considered is the field Q of rational numbers. Rational polynomial usually, and most correctly, means a polynomial with rational coefficients, also called a “polynomial over the rationals”. However, rational function does not mean the underlying field is the rational numbers, and a rational algebraic curve is not an algebraic curve with rational coefficients. Arithmetic

See also: Fraction (mathematics)#Arithmetic with fractions

Embedding of integers

Any integer can be expressed as the rational number .

Equality

if and only if

Ordering

Where both denominators are positive:

if and only if

If either denominator is negative, the fractions must first be converted into equivalent forms with positive denominators, through the equations:

and

Addition

Two fractions are added as follows:

Subtraction

Multiplication

The rule for multiplication is:

Division

Where :

Note that division is equivalent to multiplying by the reciprocal of the divisor fraction:

Inverse

Additive and multiplicative inverses exist in the rational numbers:

Exponentiation to integer power

If is a non-negative integer, then

and (if ):

Continued fraction representation

Main article: Continued fraction

A finite continued fraction is an expression such as