Maths WorkshopMaths problems with full solutions
Exercise 91Number theory › IrrationalityL1Added 3 Nov 2026

Continued fractions and irrationality

#continued fractions#irrationality#sqrt2

Statement

Show that the continued fraction expansion of 2\sqrt2 is [1;2,2,2,…][1;2,2,2,\ldots], and deduce that 2\sqrt2 is irrational.

Hint

If 2=1+(2−1)\sqrt2=1+(\sqrt2-1), then 1/(2−1)=2+1=2+(2−1)1/(\sqrt2-1)=\sqrt2+1=2+(\sqrt2-1).

Show solutionHide solution

Solution

Setup. Write 2=1+(2−1)\sqrt2=1+(\sqrt2-1), so
2=1+12+1.\sqrt2=1+\frac{1}{\sqrt2+1}.
And 2+1=2+(2−1)\sqrt2+1=2+(\sqrt2-1), so
2=1+12+12+1=1+12+12+⋯=[1;2‾].\sqrt2=1+\cfrac{1}{2+\cfrac{1}{\sqrt2+1}}=1+\cfrac{1}{2+\cfrac{1}{2+\cdots}}=[1;\overline{2}].

Irrationality. Rationals have finite continued fractions. 2\sqrt2's expansion is infinite and periodic, so 2\sqrt2 is irrational.

Conclusion. 2=[1;2‾]\sqrt2=[1;\overline2] is irrational.