A rational number is any number that can be expressed as a fraction. Whereas, a whole number is a positive number without a decimal or fractions.
Every rational number is may or may not be a whole number.
Rational numbers are the numbers that can be written in the form of p/q where q ≠ 0.
Example: 0, 2/5, 4/17, 7/15 …..
Whole numbers are that starts from 0 to infinity. Whole numbers can be written in the form of 0/1, 1/1, 2/1, …
Thus, every whole number is a rational number but every rational number is not a whole number.
Let us consider some rational numbers,
1/4, 2/4, 4/4……..
On simplifying, we get
4/4 = 1
It is a whole number.
2/4 = 0.5
It is not a whole number.
Hence, every rational number is may or may not be a whole number but every whole number is a rational number.