# The Number System

## The Number System

The number system is the way we categorize numbers. There may be an infinite amount of them, but they all fall nicely into several ranges.

Except for the last one, all of these groups, or sets, are cascading inclusive: the first group is part of the second, which is part of the third, which is part of the fourth, and the pattern continues.

### Natural Numbers

Natural numbers (also called counting numbers) can be formed by repeated addition of the number 1.
1, 2, 3, 4, 5, 6, 7... and so on
By most definitions 0 is a natural number representing no value.

### Whole Numbers

The group of whole numbers is another name for the natural numbers but always includes 0:
0, 1, 2, 3, 4, 5...

### Integers

Integers include all whole numbers but also extend infinitely into the negative numbers. Except for zero (which is neither positive nor negative), all integers are assumed to be positive if they do not have a negative sign (-) marking them negative.
...-4, -3, -2, -1, 0, 1, 2, 3, 4, 5....

### Rational Numbers

Rational numbers are any number that can be represented by ${\displaystyle {\frac {a}{b}}}$, where a and b are any integer and b does not equal zero.

This includes fractions such as ${\displaystyle {\frac {2}{3}}}$ and whole numbers (The whole number 32 can be represented as ${\displaystyle {\frac {32}{1}}}$). Many decimals are rational numbers, too, even non-terminating repeating ones such as 0.333... and 0.412412412.... 0.333... can be expressed as ${\displaystyle {\frac {3}{9}}}$ or ${\displaystyle {\frac {1}{3}}}$ (try dividing 3 into 9, and you'll see why). 0.412412412... can be expressed as ${\displaystyle {\frac {412}{999}}}$

### Irrational Numbers

This group is completely exclusive from all the aforementioned groups. It is its own group. Irrational numbers are any number which can not be written as the quotient (division) of two integers, numbers such as pi, equal to 3.14159... (with no terminating digit). The square root of any whole number other than the square of an integer (0, 1, 4, 9, 16 ...) is irrational. Irrational numbers have non-repeating decimal expansions. Any number which is a repeating decimal is rational.