

In mathematics, a rational number is any number that can be expressed as the
quotientor fraction p/q of two integers, a numerator p and a non-zero denominator q.
Since q may be equal to 1, every integer is a rational number.
Ex: 2/3, 1.5 3, 2, etc. are rational numbers.
An irrational number cannot be expressed as a ratio between two numbers and it
cannot be written as a simple fraction (p/q) because there is not a finite number of
numbers when written as a decimal. Instead, the numbers in the decimal would go on
forever, without repeating.
Ex: √2, √3, √5, etc. are irrational numbers
