# Sets of Numbers

Sets of numbers include natural numbers, whole numbers, integers, rational numbers, irrational numbers, and real numbers.

The earliest set of numbers to be developed was the counting numbers 1, 2, 3, 4, and so on. As mathematics progressed, other types of numbers were needed to solve problems. These types of numbers form various sets.

A natural number is in the set of counting numbers: $1,2,3,4,...$. A whole number is in the set that includes zero and the counting numbers: $0,1,2,3,4,...$. Notice that the set of natural numbers is contained in the set of whole numbers. The only difference in these two sets is the number zero.

An integer is a number in the set of whole numbers and their opposites: $...-\!3,-2,-1,0,1,2,3 ,...$. The difference between integers and whole numbers is that the set of integers contains negative numbers. Natural numbers are also called positive integers, while whole numbers are called nonnegative integers.

A rational number is in the set of numbers that can be written as a fraction of two integers, such as $\frac{1}{2}$ and $-\frac{2}{3}$. The set of rational numbers includes the set of whole numbers because any whole number can be written as a fraction with a denominator of 1. It also includes all decimals that terminate, such as 2.5, and all decimals that repeat because they can be written as fractions of two integers. Examples include:
$0. \overline{3}=0.33333...=\frac{1}{3}$
$0. \overline{54}=0.545454...=\frac{6}{11}$
An irrational number is in the set of nonterminating, nonrepeating decimals, such as $\sqrt{2}$ and $\pi$. The decimal representation of an irrational number is infinite. So, it is usually represented using a letter, such as the Greek letter $\pi$, or by using the radical symbol $\sqrt{\phantom{0}}$.
A real number is in the set of all rational and irrational numbers. The set of real numbers contains all of the irrational numbers, rational numbers, integers, whole numbers, and natural numbers.