What are Irrational Numbers?

p/q has no answer
some numbers cannot be written as a fraction

A number is irrational if it cannot be expressed as a fraction p/q where p and q are integers. Its decimal expansion never ends and never repeats. sqrt(2), pi, e, and phi are all irrational. They are not exceptions or curiosities: the vast majority of real numbers are irrational.

The number line: rationals vs irrationals
0 1 2 3 1/2 1/3 2/3 5/4 √2 ≈ 1.414 φ ≈ 1.618 π ≈ 3.14159 rational (p/q) irrational (no fraction)

Both rationals and irrationals are dense on the number line: between any two numbers you can always find both types. But the irrationals are uncountably more numerous.

The proof that sqrt(2) is irrational: the oldest proof in mathematics
1 1 √2 THE PROOF Assume sqrt(2) = p/q in lowest terms. Then 2q^2 = p^2 so p is even. Write p = 2k. Then q is also even. Contradiction. QED.

The proof by contradiction: if sqrt(2) = p/q in lowest terms, both p and q end up even, but a fraction in lowest terms cannot have both parts even. The contradiction proves no such fraction exists.

Decimal expansions: how to spot the difference
RATIONAL: terminates or repeats IRRATIONAL: never repeats 1/4 = 0.25000... terminates 1/3 = 0.3333... repeating block: {3} 22/7 = 3.142857... repeating block: {142857} 5/11 = 0.454545... repeating block: {45} sqrt(2) = 1.4142135... no pattern, ever pi = 3.1415926... no pattern, ever e = 2.7182818... no pattern, ever phi = 1.6180339... no pattern, ever
How many irrationals are there compared to rationals?
REAL NUMBERS R (uncountable) Rationals Q (countable) 1/2, 3/7, -5, 0... Irrationals (uncountably more numerous) sqrt(2), pi, e, phi... Cantor (1874): |Irrationals| is strictly and infinitely larger than |Rationals|

The rational numbers, despite being infinitely numerous, can be listed (they are countable). The irrationals cannot be listed. If you picked a real number at random, the probability of it being rational is exactly zero.

Related topics
Transcendental Numbers Sqrt2 Continued Fractions
Key facts about Irrational Numbers

A number is irrational if it cannot be written as a fraction p/q with integers p and q. Its decimal expansion never ends and never repeats. The Pythagoreans proved sqrt(2) irrational around 500 BC, a shocking discovery at the time. Pi was proved irrational by Lambert in 1761, and e by Euler in 1737. Most real numbers are irrational: the rationals are countably infinite but the irrationals are uncountable, so picking a real number at random gives an irrational with probability 1. Algebraic irrationals satisfy polynomial equations; transcendentals do not.

Used in
Mathematics
💻Computer Sci
🦉Philosophy
Physics
Engineering
🧬Biology
📊Statistics
📈Finance
🎨Art
🏛Architecture
Music
🔐Cryptography
🌌Astronomy
Chemistry
🗺Geography
🌿Ecology
Want to test your knowledge?
Question
What is the decimal expansion of an irrational number like?
tap · space
1 / 10