Sub topic 4
Why Some Square Roots Are Irrational
Prerequisites and the key distinction
Assume you can work with fractions, prime factorization, exponents, and basic algebra. You should also know that a square root of a number is a value that squares to produce that number.
A number is rational if it can be written as a fraction
\[ \frac{p}{q} \]
where \(p\) and \(q\) are integers and \(q \ne 0\). Integers, terminating decimals, and repeating decimals are rational.
A number is irrational if it cannot be written as a fraction of integers. Its decimal expansion continues forever without repeating a fixed pattern.
Examples include:
- \(5 = \frac{5}{1}\), so 5 is rational.
- \(0.75 = \frac{3}{4}\), so 0.75 is rational.
- \(0.333\ldots = \frac{1}{3}\), so the repeating decimal is rational.
- \(\sqrt{2}\) is irrational.
The square root of a perfect square is always an integer and therefore rational. The interesting question is why a non-perfect square, such as 2, cannot have a rational square root.
A proof that √2 is irrational
Suppose, for contradiction, that \(\sqrt{2}\) is rational. Then it can be written as a fraction in lowest terms:
\[ \sqrt{2}=\frac{p}{q} \]
where \(p\) and \(q\) have no common factor other than 1.
Square both sides:
\[ 2=\frac{p^2}{q^2} \]
Multiplying by \(q^2\) gives:
\[ p^2=2q^2 \]
This equation says that \(p^2\) is even. If the square of \(p\) is even, then \(p\) itself must be even. Write \(p=2k\).
Substitute this into the equation:
\[ (2k)^2=2q^2 \]
\[ 4k^2=2q^2 \]
Divide by 2:
\[ 2k^2=q^2 \]
Therefore, \(q^2\) is even, so \(q\) is even too. Both \(p\) and \(q\) are even, which means they share a factor of 2. That contradicts the claim that \(\frac{p}{q}\) was in lowest terms.
Therefore, \(\sqrt{2}\) is irrational.
This is called a proof by contradiction. It assumes the opposite of the desired conclusion and then shows that the assumption leads to an impossibility.
The prime-factor reason
The same idea works for every positive integer that is not a perfect square.
In a perfect square, every prime factor has an even exponent. For example:
\[ 36=2^2\cdot3^2 \]
The square root takes half of each exponent:
\[ \sqrt{36}=2\cdot3=6 \]
But:
\[ 12=2^2\cdot3 \]
The prime 3 has an odd exponent. One factor of 3 remains inside the square root:
\[ \sqrt{12}=2\sqrt{3} \]
Because 3 is not a perfect square, \(\sqrt{3}\) is irrational. Multiplying it by the nonzero rational number 2 still produces an irrational number.
| Number | Prime factorization | Square root type |
|---|---|---|
| 49 | \(7^2\) | Rational: \(7\) |
| 50 | \(2 \cdot 5^2\) | Irrational: \(5\sqrt{2}\) |
| 81 | \(3^4\) | Rational: \(9\) |
| 90 | \(2 \cdot 3^2 \cdot 5\) | Irrational: \(3\sqrt{10}\) |
Decimal approximations do not make a root rational
A calculator may display:
\[ \sqrt{2}\approx1.414213562 \]
This is only an approximation. The displayed decimal stops because the calculator has limited space, not because the exact value terminates.
The exact form \(\sqrt{2}\) is often more useful than a decimal. It preserves the value without rounding and makes algebraic operations easier.
import math
n = 2
print(math.sqrt(n)) # Decimal approximation
print(math.isqrt(n) ** 2 == n) # False: 2 is not a perfect squareExercise
Is √72 rational or irrational? Simplify it and explain why.
Show answer
72 = 2^3 · 3^2, so √72 = 6√2. Because √2 is irrational and 6 is a nonzero rational number, √72 is irrational.