sciandu
Mathematics

Mathematics

Rational & irrational numbers

Almost every number can be written as a fraction. Why the square root of 2 and pi cannot.

A recipe asks for 3/4 of a litre of milk, the receipt says €2.50, your room is 4 m wide. All of these numbers have something in common: you can write them as a fraction of two whole numbers. That is exactly what maths calls rational. Surprisingly, there are numbers where this never works, no matter how long you search. The diagonal of a square tile with sides of 1 m is one of them.

Rational means: writable as a fraction

A number is rational if you can write it as a fraction ab\frac{a}{b} of two whole numbers, where the denominator must not be 0. That works far more often than you might expect. 7 is rational, because 7 = 7/1. And −3 is rational, because −3 = −3/1. Every decimal with finitely many decimal places can be rewritten too: 0.25 is 25/100, simplified 1/4, and 2.5 is 5/2. So whole numbers, negative numbers and the decimals of everyday life are all rational.

q=ab,b0q = \frac{a}{b}, \quad b \neq 0
Rational: two whole numbers as numerator and denominator are enough, only the denominator must not be 0.

What the decimal places reveal

When you divide numerator by denominator, one of two things always happens. Either the decimal stops, as in 1/4 = 0.25 or 3/8 = 0.375. Or a group of digits repeats forever, as in 1/3 = 0.333… or 1/7 = 0.142857142857… That repetition is called the period, and it is written with a bar above the repeating digits. Both cases belong to the rational numbers, because 0.333… is a fraction too, namely 1/3.

Numbers no fraction can reach

And now the exception. You work out the diagonal of our tile with the Pythagorean theorem, which says a2+b2=c2a^2 + b^2 = c^2 in every right-angled triangle. From 12+12=21^2 + 1^2 = 2 it follows that the diagonal is 2\sqrt{2}, that is 1.41421356… These decimal places never stop and never become periodic. The Greeks already proved that no fraction of whole numbers gives exactly 2\sqrt{2}. Numbers like this are called irrational. The most famous one is π\pi = 3.14159…, the ratio of a circle's circumference to its diameter. 22/7 = 3.142857… comes close to π\pi but does not hit the value, and no other fraction does either.

On the number line both kinds sit peacefully side by side. Between 1 and 2 there are infinitely many fractions such as 3/2 or 7/5, and right among them, at 1.414…, sits 2\sqrt{2}. Together the rational and irrational numbers make up the real numbers, and they fill the number line without any gaps. Watch out for a common mistake: not every root is irrational. 9\sqrt{9} is exactly 3 and therefore rational, while 10\sqrt{10} is irrational.

Number line
1st number3
2nd number4
0510152025
3 + 4 = 7
Try it: set both numbers to 1 and you land exactly on 2. Every landing spot is a whole number, yet between two ticks the number line is packed: fractions like 3/2 live there, and so do irrational numbers like 2\sqrt{2} = 1.414…

Exercises

0 of 6 solved

Time to try it yourself. You can't break anything, every attempt counts.

Which of these numbers is rational?

Which fraction shows that 7 is rational?

Write the fraction 3/4 as a decimal.

A decimal that stops or repeats periodically is always a number.

Between which two consecutive whole numbers does 10\sqrt{10} lie? Give the smaller one.

Match each number with the way its decimal form looks.

3/8
1/3
2\sqrt{2}
16\sqrt{16}

Where this leads