The natural (or counting) numbers are etc. There are infinitely many natural numbers. The set of natural numbers, , is sometimes written for short.
The whole numbers are the natural numbers together with .
(Note: a few textbooks disagree and say the natural numbers include .)
The sum of any two natural numbers is also a natural number (for example, ), and the product of any two natural numbers is a natural number (). This is not true for subtraction and division, though.
The integers are the set of real numbers consisting of the natural numbers, their additive inverses and zero.
The set of integers is sometimes written or for short.
The sum, product, and difference of any two integers is also an integer. But this is not true for division... just try .
The rational numbers are those numbers which can be expressed as a ratio between two integers. For example, the fractions and are both rational numbers. All the integers are included in the rational numbers, since any integer can be written as the ratio .
The set of rational numbers is closed under all four basic operations, that is, given any two rational numbers, their sum, difference, product, and quotient is also a rational number (as long as we don't divide by ).
An irrational number is a number that cannot be written as a ratio (or fraction). In decimal form, it never ends or repeats. The ancient Greeks discovered that not all numbers are rational; there are equations that cannot be solved using ratios of integers.
The first such equation to be studied was . What number times itself equals ?
is about , because , which is close to . But you'll never hit exactly by squaring a fraction (or terminating decimal). The square root of is an irrational number, meaning its decimal equivalent goes on forever, with no repeating pattern:
Other famous irrational numbers are the golden ratio, a number with great importance to biology:
(pi), the ratio of the circumference of a circle to its diameter:
and , the most important number in calculus:
Irrational numbers can be further subdivided into algebraic numbers, which are the solutions of some polynomial equation (like and the golden ratio), and transcendental numbers, which are not the solutions of any polynomial equation. and are both transcendental.
The real numbers is the set of numbers containing all of the rational numbers and all of the irrational numbers. The real numbers are “all the numbers” on the number line. There are infinitely many real numbers just as there are infinitely many numbers in each of the other sets of numbers. But, it can be proved that the infinity of the real numbers is a bigger infinity.
The "smaller", or countable infinity of the integers and rationals is sometimes called (alef-naught), and the uncountable infinity of the reals is called (alef-one).
There are even "bigger" infinities, but you should take a set theory class for that!
The complex numbers include the set of real numbers. The real numbers, in the complex system, are written in the form . a real number.
This set is sometimes written as for short. The set of complex numbers is important because for any polynomial with real number coefficients, all the solutions of will be in .
There are even "bigger" sets of numbers used by mathematicians. The quaternions, discovered by William H. Hamilton in , form a number system with three different imaginary units!