• Foundation
  • About 17 min
  • 5 practice questions

Irrational numbers: √2, constructing √n and the story of π

Prove that √2 is irrational by contradiction, construct lengths like √2, √3 and √5 on the number line with ruler and compass, and explain why π is irrational and how Mādhava expressed it as an infinite series.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Explain what an irrational number is and give examples such as √2, √5 and π.
  • Follow and reproduce the proof by contradiction that √2 is irrational.
  • Construct √2, √3 and other square-root lengths on the number line, and describe Mādhava's series for π.

The rational numbers are dense, so it is tempting to think they cover the whole number line. They do not. Take a square with sides of 1 unit. By the Baudhāyana–Pythagoras theorem its diagonal d satisfies d² = 1² + 1² = 2, so d = √2. Baudhāyana's Śulba-sūtra, a manual for building altars, already worked with this length. The question is: can √2 be written as p/q?

Irrational numbers

A number on the number line that cannot be written as p/q, with integers p, q and q ≠ 0, is called an irrational number. Examples are √2, √3, √5, √10 and π. If n is a positive whole number that is not a perfect square, √n is irrational; if n is a perfect square, √n is a whole number (√49 = 7).

Proof that √2 is irrational

We use proof by contradiction: assume the opposite of what we want, and show that it leads to something impossible. An early proof of this kind is credited to Hippasus, a member of the Pythagorean school in ancient Greece.

Proof by contradiction that √2 is irrational

  1. Assume √2 = p/q p, q integers, q ≠ 0, in lowest terms (no common factor).
  2. Square both sides 2 = p²/q², so p² = 2q².
  3. So p is even p² is even, and an odd number squared is odd, so p = 2k.
  4. Substitute p = 2k 4k² = 2q², so q² = 2k².
  5. So q is even too q² is even, so q is even.
  6. Contradiction p and q share the factor 2, but we said they had none. So √2 is not rational.

The step 'if p² is even then p is even' works because an odd number times an odd number is always odd. The same method proves √3 irrational: from p² = 3q², p must be a multiple of 3 (because 3 is prime), and then q must be too.

Constructing √2, √3 and √5

Even though √2 has no fraction form, we can mark it exactly. Draw the number line with O at 0 and A at 1. At A draw a perpendicular and mark B on it with AB = 1. Join OB: by the theorem, OB = √(1² + 1²) = √2. With centre O and radius OB, draw an arc to cut the number line at P. Then OP = √2, so P represents √2. To get √3, draw a perpendicular of length 1 at B to OB, giving C: OC = √((√2)² + 1²) = √3. Repeating this builds the square-root spiral with hypotenuses √2, √3, √4 = 2, √5, …

Worked example 1: lengths from right triangles

A right triangle has legs 1 and 2 units. Find its hypotenuse and decide whether it is rational. Working: hypotenuse = √(1² + 2²) = √(1 + 4) = √5, which is irrational because 5 is not a perfect square. To mark √5 on the number line, draw OA = 2 along the line, a perpendicular AB = 1 at A, and swing an arc of radius OB from O.

Worked example 2: rational or irrational?

Classify √49, √50, √(9/16) and √0.04. Working: √49 = 7, rational. 50 is not a perfect square, so √50 is irrational. √(9/16) = 3/4 because (3/4)² = 9/16, so it is rational. √0.04 = 0.2 because 0.2² = 0.04, so it is rational. A square root sign alone does not make a number irrational.

The story of π

π is the ratio of a circle's circumference to its diameter. Values such as 22/7 and 3.14 are only approximations. Āryabhaṭa (499 CE) gave the very good value 3.1416 and called it approximate. In 1761 Johann Lambert proved that π is irrational, so no fraction equals it exactly. Earlier, in the 14th century, Mādhava of Sangamagrama, who founded the Kerala school of mathematics, found an exact expression for π as an infinite series.

Mādhava's series: π = 4 × (1 − 1/3 + 1/5 − 1/7 + 1/9 − …), adding and subtracting the reciprocals of the odd numbers forever.

Worked example 3: watching the series approach π

Add the first few terms. One term: 4 × 1 = 4. Two terms: 4 × (1 − 1/3) = 4 × 2/3 = 8/3 ≈ 2.667. Three terms: 4 × (1 − 1/3 + 1/5) = 4 × 13/15 = 52/15 ≈ 3.467. Four terms: 4 × (13/15 − 1/7) = 4 × (91 − 15)/105 = 4 × 76/105 = 304/105 ≈ 2.895. The sums jump above and below π = 3.14159…, getting closer each time. 'Adding infinitely many terms' means finding the value these sums get closer and closer to.

Key takeaways: an irrational number cannot be written as p/q; √n is irrational whenever n is not a perfect square, and π is irrational. The proof for √2 assumes √2 = p/q in lowest terms and shows p and q would both be even, a contradiction. Square-root lengths can be constructed exactly with right triangles and a compass. Mādhava's infinite series gives π exactly as the limit of ever-closer sums.

Check your understanding

  1. 1. Which of these numbers is irrational?

    1. √81
    2. √12
    3. √(4/9)
    4. 0.25
    Show answer

    Answer: B. 12 is not a perfect square, so √12 is irrational. √81 = 9, √(4/9) = 2/3 and 0.25 = 1/4 are all rational.

  2. 2. In the proof that √2 is irrational, what is the contradiction reached?

    1. p² is negative
    2. p and q are both even, although p/q was in lowest terms
    3. q equals 0
    4. √2 is larger than 2
    Show answer

    Answer: B. Starting from √2 = p/q in lowest terms, we find p² = 2q², so p is even; then q² = 2k², so q is even. Both being even means they share the factor 2, which contradicts 'lowest terms'.

  3. 3. A right triangle has legs of 2 and 3 units. What is the length of its hypotenuse?

    1. 5 units
    2. √5 units
    3. 13 units
    4. √13 units
    Show answer

    Answer: D. Hypotenuse = √(2² + 3²) = √(4 + 9) = √13 units. It is irrational because 13 is not a perfect square; adding the legs (5) is a common mistake.

  4. 4. In the construction of √3 on the number line, which right triangle is used?

    1. Legs √2 and 1, giving hypotenuse √3
    2. Legs 1 and 1, giving hypotenuse √3
    3. Legs 3 and 1, giving hypotenuse √3
    4. Legs 1.5 and 1.5, giving hypotenuse √3
    Show answer

    Answer: A. First make OB = √2 from legs 1 and 1. Then a perpendicular of length 1 at B gives a hypotenuse √((√2)² + 1²) = √(2 + 1) = √3. Legs 1 and 1 only give √2.

  5. 5. What is the sum of the first three terms of Mādhava's series, 4 × (1 − 1/3 + 1/5)?

    1. 8/3
    2. 4
    3. 52/15
    4. 304/105
    Show answer

    Answer: C. 1 − 1/3 + 1/5 = 15/15 − 5/15 + 3/15 = 13/15, and 4 × 13/15 = 52/15 ≈ 3.467. (8/3 is the sum of two terms and 304/105 the sum of four.)

Sign in to keep track of the lessons you finish.

Next lesson → Real numbers and decimal expansions

Privacy · Terms · Refunds · Delivery