Skip to content
MathClicksIGCSE← All notes Cambridge IGCSE® Mathematics 0580 Extended Chapter 9 — Sequences, Surds and Sets

9.2  Rational and Irrational Numbers

What makes a number rational, how to prove it, which roots are irrational, and what happens when you add or multiply the two kinds together.

The two kinds of real number

Every real number is either rational or irrational — there is no third option and no overlap. The whole topic rests on one definition, so learn it word for word.

Definition A number is rational if it can be written as ab where a and b are integers and b ≠ 0. The set of rationals is written ℚ. A number that cannot be written this way is irrational.

Notice what the definition does not say. It does not say the number must look like a fraction — only that it could be written as one. That is why 7, −3, 0.25 and 0.3̇ are all rational.

Type of numberRational?Written as a fraction
Any integer, e.g. −6Rational−6/1
Terminating decimal, e.g. 0.375Rational375/1000 = 3/8
Recurring decimal, e.g. 0.2̇7̇Rational27/99 = 3/11
Root of a perfect square, e.g. √49Rational7/1
Root of a non-square, e.g. √5Irrationalimpossible
π and multiples of it, e.g. 2πIrrationalimpossible
Decimal that never stops or repeats, e.g. 0.1010010001…Irrationalimpossible

The decimal test

Convert to a decimal and look at the tail:

  • It stops → rational.
  • It repeats a block for ever → rational.
  • It goes on for ever with no repeating block → irrational.

Your calculator only shows about ten digits, so it can never prove irrationality on its own. Use it as a hint, then justify with algebra.

Watch out 22/7 = 3.142857… is a fraction, so it is rational. It is only an approximation to π, which is irrational. A number does not become irrational just because it is close to one.

Recognising and proving

Roots

√n is rational ⇔ n is a perfect square 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, …

So √36 = 6 is rational, while √37 is irrational. The same idea applies to cube roots: 3√27 = 3 is rational, 3√30 is not. Fractions under the root work too: √(4/9) = 2/3 is rational because both 4 and 9 are perfect squares.

Why √2 cannot be a fraction

Suppose it could. Then √2 = a/b for integers with the fraction already in its lowest terms. Squaring gives 2 = a²/b², so a² = 2b². That makes a² even, so a is even, say a = 2k. Substituting, 4k² = 2b², so b² = 2k² and b is even as well. But then a and b share a factor 2, contradicting “lowest terms”. The assumption must be wrong, so √2 is irrational. The same argument works for every non-square.

Proving a decimal is rational

To prove a recurring decimal is rational you must produce the fraction. The standard method is worth two or three marks, so show every line.

Example 1Show that 0.5̇4̇ is a rational number.
1
Call the number x and write out enough digits to see the pattern. x = 0.545454…
2
The repeating block has two digits, so multiply by 10² = 100. 100x = 54.545454…
3
Subtract — the infinite tails are identical and cancel exactly. 100x − x = 54.5454… − 0.5454…
99x = 54
4
Solve and cancel by 9. x = 54/99 = 6/11
5
State the conclusion in the language of the definition. 6 and 11 are integers with 11 ≠ 0, so x is rational.
0.5̇4̇ = 611, so it is rational
Exam tip Multiply by 10k where k is the length of the recurring block. If some digits do not recur, multiply twice (by 10 and by 10k+1) so the tails line up before subtracting.
Example 2From the list √64,  √20,  0.7̇,  2π,  22/7,  0, write down the irrational numbers.
1
Simplify or classify each one in turn. √64 = 8  →  integer, rational
√20 = 2√5  →  20 is not a perfect square, irrational
2
Recurring decimals are always rational. 0.7̇ = 7/9
3
2π is a non-zero rational times an irrational, so it stays irrational. 22/7 is a fraction of integers, so it is rational, and 0 = 0/1 is rational.
irrational: √20 and 2π

Adding and multiplying the two kinds

Examiners love questions such as “is p + q rational or irrational?” Learn which combinations are guaranteed and which depend on the numbers.

CombinationResultExample
rational + rationalalways rational½ + 0.25 = 0.75
rational + irrationalalways irrational3 + √2
irrational + irrationaleither√2 + √2 = 2√2 (irrational) but √2 + (1 − √2) = 1 (rational)
non-zero rational × irrationalalways irrational5√3,  π/4
zero × irrationalrational0 × √7 = 0
irrational × irrationaleither√2 × √8 = 4 but √2 × √3 = √6

Why rational + irrational must be irrational

Let r be rational and x irrational, and suppose the sum r + x were rational, equal to s say. Then x = s − r. But the difference of two rationals is rational (a common denominator makes it one fraction of integers), so x would be rational — which it is not. The supposition fails, so r + x is irrational.

Example 3Let p = 3 + √5 and q = 3 − √5. Show that p + q and pq are both rational, but p and 2p are not.
1
Add. The surd parts cancel. p + q = (3 + √5) + (3 − √5) = 6
2
Multiply. This is a difference of two squares, (a + b)(a − b) = a² − b². pq = 3² − (√5)² = 9 − 5 = 4
3
Both results are integers, so both are rational.
4
p itself is rational + irrational, so it is irrational; and 2p = 6 + 2√5 is a non-zero rational times an irrational added to a rational, so it is irrational too. p = 5.2360…   2p = 10.4721… (never repeat)
p + q = 6 and pq = 4 are rational; p and 2p are irrational
Note A pair like 3 + √5 and 3 − √5 is called a pair of conjugates. Their sum and product are always rational — the fact that makes rationalising denominators work in section 9.3.

Combination tester

Build two numbers of the form p + q√r and combine them. Try p₁ = 2, q₁ = 1 with p₂ = 2, q₂ = −1 and r = 3 under ×.

Finding a number in a given interval

“Write down an irrational number between 4 and 5” is worth one easy mark, provided you know the two standard tricks.

A rational number in an interval

Take the midpoint, or any convenient decimal that sits inside. Between 4 and 5: 4.5, or 9/2. Between √2 = 1.414… and √3 = 1.732…: 1.5.

Always check both inequalities before writing it down.

An irrational number in an interval

Method 1 — square the ends. Between 4 and 5, square to get 16 and 25. Any integer strictly between them that is not a perfect square gives an irrational root: √17, √18, …, √24.

Method 2 — build a decimal. Write a decimal inside the interval whose digits follow a non-repeating pattern, e.g. 4.1010010001… Say in words that the pattern never repeats.

Exam tip If the interval is narrow, Method 1 may fail (there is no integer square root between 2.1 and 2.2), so keep Method 2 in reserve. A multiple of π also works when it lands in range, for example π ≈ 3.1416 lies between 3 and 3.2.

Interval finder

Enter any two bounds and see a rational and an irrational number that lie strictly between them. Try 4 and 5, then the much tighter 2.1 and 2.2.

More worked examples

Example 4State, with a reason, whether each is rational or irrational: (a) √2 × √18 (b) √3 + √12 (c) √5 ÷ √20 (d) (1 + √2)²
1
(a) Combine the roots: √a × √b = √(ab). √2 × √18 = √36 = 6 An integer, so rational.
2
(b) Simplify √12 = √4 × √3 = 2√3. √3 + 2√3 = 3√3 A non-zero rational times an irrational, so irrational.
3
(c) Divide under one root: √a ÷ √b = √(a/b). √(5/20) = √(1/4) = ½ Rational.
4
(d) Expand the square carefully — there is a middle term. (1 + √2)² = 1 + 2√2 + 2 = 3 + 2√2 Rational + irrational, so irrational.
(a) rational   (b) irrational   (c) rational   (d) irrational
Watch out (1 + √2)² is not 1 + 2. Squaring a bracket never means squaring each term separately.
Example 5Write down (a) a rational and (b) an irrational number between 4 and 5, and (c) an irrational number between 2.1 and 2.2.
1
(a) Any terminating decimal or fraction in range. 4.5   (= 9/2, a fraction of integers)
2
(b) Square the bounds: 4² = 16 and 5² = 25. Choose a non-square between them. √17 = 4.1231…    4 < √17 < 5 ✓
3
(c) Squaring gives 4.41 and 4.84 — no integer between them that is useful, so build a decimal instead. 2.1010010001… The blocks of zeros grow by one each time, so the digits never settle into a repeating block.
(a) 4.5   (b) √17   (c) 2.1010010001…
Exam tip For part (c) you must say that the pattern never repeats. Writing the digits alone does not show the examiner that you understand why it is irrational.
Example 6x is rational and y is irrational. For each expression state whether it is always rational, always irrational, or could be either, giving an example: x + y, xy, y², y − y.
1
x + y: if it were rational, y = (x + y) − x would be a difference of rationals, hence rational. Contradiction. always irrational, e.g. 5 + √2
2
xy: the same argument works when x ≠ 0, dividing instead of subtracting. But x is allowed to be 0. 0 × √2 = 0 (rational)    3 × √2 (irrational) So it could be either — irrational unless x = 0.
3
y²: squaring can destroy a root, or leave one. (√2)² = 2 (rational)    π² (irrational) Could be either.
4
y − y = 0 whatever y is. always rational
x + y irrational · xy either · y² either · y − y rational

Your turn

Practice set

  1. State whether each is rational or irrational: (a) √81 (b) √30 (c) 0.1̇2̇ (d) 5π (e) 0
  2. Show that 0.4̇2̇ is rational by writing it as a fraction in its lowest terms.
  3. Show that 0.83̇ (only the 3 recurs) is rational.
  4. Show that (5 + √2)(5 − √2) is rational.
  5. Write down (a) an irrational number between 6 and 7, (b) a rational number between √2 and √3.
  6. p = 2 + √3 and q = 2 − √3. Work out p + q, p − q and pq, and state whether each is rational or irrational.

  1. (a) √81 = 9 rational (b) 30 is not a perfect square, irrational (c) recurring, rational (d) non-zero rational × π, irrational (e) 0 = 0/1, rational
  2. x = 0.4242…, 100x = 42.4242… → 99x = 42 → x = 42/99 = 14/33, a fraction of integers
  3. x = 0.8333…, 10x = 8.333…, 100x = 83.333… → 90x = 75 → x = 75/90 = 5/6
  4. Difference of two squares: 5² − (√2)² = 25 − 2 = 23, an integer, so rational
  5. (a) 6² = 36, 7² = 49, so e.g. √40 (b) e.g. 1.5, since 1.414… < 1.5 < 1.732…
  6. p + q = 4 rational; p − q = 2√3 irrational; pq = 4 − 3 = 1 rational

Key points to remember

  • Rational means “can be written as a/b with a, b integers and b ≠ 0”. Everything else is irrational.
  • Terminating and recurring decimals are always rational; a decimal with no repeating block is irrational.
  • √n is rational exactly when n is a perfect square; otherwise it is irrational. Simplify roots before you classify.
  • To prove a recurring decimal is rational, multiply by 10k (k = length of the recurring block), subtract, and state the resulting fraction.
  • rational + irrational is always irrational; non-zero rational × irrational is always irrational.
  • irrational + irrational and irrational × irrational can be either — always test with an example such as √2 × √8 = 4.
  • Conjugates such as a + b√c and a − b√c have a rational sum and a rational product.
  • For an irrational number in an interval, square the bounds and pick a non-square between them; if none exists, build a non-repeating decimal and say that it never repeats.

Where next?

✅ Mark scheme All notes

Progress is saved on this device only and appears on the notes home page.