Different Types of Number-What is Prime Number, Rational Number and Whole Number

single

Numbers has always been a significant part of a human life, as numbers are helpful for them in many ways like for counting, measuring or labeling objects.
And over time, humans have discovered many such numbers which are not only very useful for them but also they look very facinating.
But these different types of numbers are a bit difficult to remember, and that's why I decided to write this article. So let's start.


Natural Numbers

All the numbers greater than 0 and begins at 1 are called Natural Numbers for example 1, 2, 3, 4.... upto infinity. Natural numbers are of positive nature. A set of natural numbers is denoted by N. For example:

N = {1, 2, 3, 4, 5}

Whole Numbers

Whole numbers begins at 0 and goes upto infinity, thus making it a superset of Natural Numbers. Also as the name suggest "whole" means "complete", so numbers which are complete or are not in fraction, decimal or negative are called Whole Numbers. A set of whole numbers is denoted by W.

N = {0, 1, 2, 3, 4, 5}

The Set of whole numbers and natural numbers also include following types of numbers:

Prime Numbers and Composite Numbers

Prime Numbers: A prime number is a natural number that is divisible only by itself and 1. For example 2, 3, 5, 7, 11. Here 4, 6, 9 are not prime numbers because 4 and 6 are divisible by 2 whereas 6 and 9 are divisible by 3. Composite Numbers: On other hand a composite number is a natural number that is divisible by another number except 1. In other words, all the natural numbers except the prime numbers are composite numbers.


Integers

Integers are the set of whole numbers plus they include opposite of natural numbers are negative numbers for example ...-3, -2, -1, 0, 1, 2, 3... A set of intergers are denoted by Z


Rational Numbers

All those numbers that can be represented as Fraction i.e. in form of p/q where p and q are integers and q ≠ 0, are called Rational numbers. For example 2/3, 8/11, -5/7. A set of rational numbers are represented by Q. All the natural numbers, whole numbers and integers are rational numbers. Note that decimal expansion of all the rational numbers are terminating or non terminating recurring.

Irrational Number

Numbers that can not be represented as a fraction or in form of p/q are called Irrational Numbers. Their decimal expansion is non terminating non repeating. For example 1.10100110001111...., Pi and √2.


Real Numbers

Collection of all the rational and irrational number is called Real Numbers. Each real number can be represented on a number line. In other words, each point on a number line corresponds to a real number and vice verca. That's why they are called real numbers. It includes all the numbers explained above. And a set of real numbers is denoted by R