Skip to lesson content

Lesson 5 of 7

The World of Numbers · Lesson 5 of 7

Irrational Numbers

Some numbers refuse to end, repeat, or fit into a fraction—decimal rebels.

Learning Objectives

• Understand why irrational numbers are needed. • Derive √2 from the diagonal of a unit square. • Follow the proof by contradiction that √2 is irrational. • Construct irrational lengths such as √2 on the number line. • Understand π as an irrational number and explore Madhava’s infinite series.

Rational numbers are spread throughout the number line so closely that between any two rational numbers, we can always find another rational number. This property is called density. However, being densely packed does not mean that rational numbers include every possible number on the number line.

Geometry shows us that some lengths cannot be written as a fraction of the form (p/q), where (p) and (q) are integers . For example, certain diagonal lengths naturally lead to numbers such as (sqrt{2}) and (sqrt{3}), which cannot be expressed exactly as fractions. Numbers of this kind are called irrational numbers. Together, rational and irrational numbers fill the entire number line.

Definition
Irrational Number

A number that cannot be expressed in the form p/q where p and q are integers and q ≠ 0.

The Diagonal of a Unit Square

Consider a square of side 1 unit. Its diagonal forms the hypotenuse of a right triangle with perpendicular sides 1 and 1. By the Baudhāyana–Pythagoras theorem, the square of the diagonal equals 1² + 1² = 2.

Unit-square diagonalLaTeX
Unit Square Showing Diagonal √2 A unit square with sides of length 1, highlighting the diagonal of length √2 with clear typography and the diagonal label placed to the left of the hypotenuse. Unit Square & Diagonal √2 Pythagorean relationship in a square of side length 1 (1² + 1² = d²) A B C D d = √2 Right △ABC (45°–45°–90°) 1 1 1 1 PYTHAGOREAN THEOREM In right triangle ABC with legs = 1: AB² + BC² = AC² 1² + 1² = d²  ⟹  d = √2 Value: √2 ≈ 1.41421356... Fundamental irrational unit hypotenuse Geometric Rule: Diagonal of any square = side · √2 When side = 1, diagonal is exactly √2.
Unit square showing diagonal √2

The important question is not whether √2 exists—it clearly exists as a geometric length—but whether it can be written as a fraction of two integers. The answer is no.

Proof by Contradiction

Definition
Proof by Contradiction

A method in which we assume the opposite of the statement we want to prove and then show that the assumption leads to an impossibility.

Proof that √2 Is Irrational

Assume, for the sake of contradiction, that √2 is rational. Then it can be written in lowest terms as p/q, where p and q are integers, q ≠ 0, and p and q have no common factor other than 1.

AssumptionLaTeX

Square both sides.

After squaringLaTeX

Since p² is twice an integer, p² is even. If the square of an integer is even, the integer itself must be even. Therefore p is even. Write p = 2k.

Substitute p = 2kLaTeX

Now q² is also even, so q is even. Therefore both p and q are divisible by 2. But we began by assuming p/q was already in lowest terms. That is the contradiction.

Conclusion

The assumption that √2 is rational leads to p and q having a common factor of 2. Therefore the assumption is false and √2 is irrational.

The Same Idea for Other Square Roots

A similar contradiction argument can be used for square roots such as √3, √5, √7 and √10. When the integer under the square root is not a perfect square, its square root is often irrational.

Constructing √2 on the Number Line

Irrational does not mean 'cannot be located'. Geometry allows us to construct irrational lengths exactly. To construct √2, begin with OA = 1 on the number line. At A, draw a perpendicular AB = 1. Join O to B. Then OB = √2 by the Pythagorean theorem. Using a compass centred at O with radius OB, mark the same length on the number line.

Representing √2 on the Number Line Construct a right triangle with perpendicular sides of length 1 0 1 √2 2 1 1 √2 By Pythagoras √(1² + 1²) = √2 √2 ≈ 1.414
Construction of √2 on the number line

Extending the Construction to √n

By repeatedly adding a perpendicular segment of length 1 to a previously constructed hypotenuse, one can build the square-root spiral and obtain lengths √2, √3, √4, √5 and so on.

Square Root Spiral Geometric Spiral of Theodorus with clean on-figure notations showing unit sides and square root hypotenuses. O 1 1 1 1 1 1 1 1 √2 √3 √4 √5 √6 √7 √8
Square root spiral concept

The Story of π

Another famous irrational number is π, the ratio of a circle’s circumference to its diameter. Āryabhaṭa gave a highly accurate approximation 3927/1250 = 3.1416 and indicated that it was an approximation rather than an exact fractional value.

Definition
Pi

π is the constant ratio of a circle's circumference to its diameter.

Definition of πLaTeX

Madhava’s Infinite Series

Because π cannot be represented exactly by a single fraction, mathematicians developed infinite processes that approach it more and more closely. The chapter highlights Madhava of Sangamagrama and the Kerala School, and gives the infinite series

Madhava series for πLaTeX

An infinite series does not mean physically adding every term one by one until the end, because there is no final term. Instead, we study the value approached by the partial sums as more and more terms are included.

Practice Problems

Practice Problems
  1. Explain why the diagonal of a unit square has length √2.
  2. Reproduce the proof by contradiction that √2 is irrational in your own words.
  3. Use the same contradiction structure to prove that √5 is irrational.
  4. Describe the ruler-and-compass construction used to locate √2 on the number line.
  5. Extend the square-root construction idea to describe how √3 can be obtained.
  6. Explain why π cannot be represented exactly by a single fraction if it is irrational.

Key Takeaways

Key Takeaways

• Irrational numbers cannot be expressed as p/q. • √2 appears naturally as the diagonal of a unit square. • Proof by contradiction shows that √2 cannot be rational. • Irrational lengths can still be constructed and located on the number line. • π is irrational and can be approximated through fractions or infinite series. • Rational and irrational numbers together are needed to fill the real number line.

Coming Next

Next, we unite rational and irrational numbers into the real numbers and learn how decimal expansions reveal which type a number is.