Rational and Irrational Numbers
Quick answer A rational number can always be written as p/q (q ≠ 0); an irrational number cannot, and its decimal expansion never terminates or repeats.
A number is called a rational number if it can be written in the form p/q, where p and q are integers and q ≠ 0. Examples: 3/4, −5, 0 and 22/7 are all rational numbers. Every integer is rational because any integer n can be written as n/1.
A number that cannot be written in the form p/q (p, q integers, q ≠ 0) is called an irrational number. Examples: √2, √3, √5 and π are irrational.
Every rational number has a decimal expansion that either terminates (ends), such as 1/8 = 0.125, or is non-terminating recurring (a block of digits repeats forever), such as 1/3 = 0.333... Every irrational number has a decimal expansion that is non-terminating and non-recurring — it goes on forever with no repeating pattern, such as √2 = 1.41421356...
Worked Example: Insert a rational number between 1/4 and 1/2.
- Write both numbers with the same denominator: 1/4 = 2/8 and 1/2 = 4/8.
- Any fraction between 2/8 and 4/8 works, for instance 3/8.
- So 3/8 is a rational number between 1/4 and 1/2 (infinitely many such numbers exist).
- Rational numbers can be written as p/q (q ≠ 0); irrational numbers cannot.
- Terminating or non-terminating recurring decimals mean the number is rational; non-terminating non-recurring decimals mean it is irrational.
- Between any two rational numbers there are infinitely many rational numbers (and infinitely many irrational numbers too).
- √p is irrational whenever p is a positive integer that is not a perfect square.
- Rational numbers and irrational numbers together make up the real numbers.
