A square with side 1 has a diagonal of length √2 by Pythagoras. The Greeks expected every length to be a ratio of whole numbers; √2 is the smallest counterexample, and the standard proof — assume √2 = p/q in lowest terms, then 2q² = p² forces p even, then q even, contradiction — is the first irrational number in the record.
Solve x² − 2 = 0 and the step solver prints ±1.414213562 — ten digits, and no sign of an ending. Square that printed value on the workbench and you get back to very nearly 2 but not exactly 2, which is the point: the decimal is a truncation of the root, and the proof says no truncation is ever enough.
Answer
x₁ ≈ 1.414213562, x₂ ≈ -1.414213562
How to read it
The solver marks the roots with ≈ because they are irrational; the two integer-rooted examples above use =.
Source
Legend around Hippasus of Metapontum (5th century BC); the diagonal of a unit square appears in Euclid, Elements X.117
Work it in the calculator
These links open the right calculator with this problem's numbers already typed in. The line above is what the screen should show — check it yourself.