Sub topic 1
Perfect squares and what a square root undoes
Prerequisites
This chapter assumes you can multiply integers, square a number, and factor a number into primes. You should also know what a fraction p/q is, where p and q are integers.
Perfect squares and what a square root undoes
Squaring a number multiplies it by itself: 7² = 49. A square root reverses that step: √49 = 7. A perfect square is a whole number whose square root is also a whole number, such as 1, 4, 9, 16, and 25.
The radical symbol and the principal root
The symbol √ is called a radical. Every positive number has two square roots. For 25, these are 5 and -5, because both 5² and (-5)² equal 25. The radical symbol names only the principal root, the non-negative one. So √25 = 5, while the equation x² = 25 has two solutions, x = 5 and x = -5.
import math
for n in [1, 4, 9, 16, 25, 49]:
r = math.isqrt(n)
print(n, r, r * r == n)Estimating roots between consecutive integers
Find the two perfect squares on either side of the number. For √50, 49 < 50 < 64, so 7 < √50 < 8. Because 50 is closer to 49 than to 64, √50 is closer to 7. Its value is about 7.07.
| Number | Lower perfect square | Upper perfect square | Estimate |
|---|---|---|---|
| 30 | 25 (root 5) | 36 (root 6) | between 5 and 6 |
| 50 | 49 (root 7) | 64 (root 8) | between 7 and 8 |
Why some square roots are irrational
A rational number can be written as p/q with integers p and q. A square root of a non-perfect square cannot be rational. Take √2 and suppose it equals p/q in lowest terms. Then p² = 2q², so p² is even, which makes p even. Writing p = 2k gives q² = 2k², so q is even too. That contradicts lowest terms, so √2 is irrational. Its decimal form never ends and never repeats.
Exercise
Between which two consecutive integers does √30 lie?
Show answer
Between 5 and 6, because 25 < 30 < 36.