Squares, roots and powers
Why this matters
Areas, volumes, speeds, energies, errors and the scaling inside attention all have the letter raised to a power or under a root. Undoing a square needs a square root, undoing a root needs a square, and undoing a cube needs a cube root. Each brings its own trap: a square root has two answers, a negative number has no real square root, and the root of a sum doesn't split into two roots. This lesson covers transposing every power you'll meet in the Foundation.
- Undo a square with a square root, keeping both answers (±) until you know which one makes sense
- Undo a root by raising to the matching power, and a cube or any power n by the matching root
- Rearrange A = πr², T = 2π√(l/g), V = (4/3)πr³, E = ½mv² and y = kxⁿ for each letter
- Avoid the named traps: a root of a sum doesn't split, a negative has no real square root, and -8 ** (1/3) isn't what it looks like
- Undo the squares and roots inside ML numbers: RMSE, standard deviation, attention's √d and scaling laws
The math: undo a power with the matching root
Purpose. Free a letter that's squared, cubed, raised to any power, or under a root.
| Done to the letter | Undone by |
|---|---|
| square it, x² | square root, ±√ (two answers) |
| square root, √x | square it (only when √x is 0 or more) |
| cube it, x³ | cube root, ∛ (one answer, sign kept) |
| power n, xⁿ | power 1/n, the nth root |
Two answers. Squaring hides the sign: 5 and −5 both square to 25. So x² = 25 gives x = 5 or x = −5, written x = ±5. Keep both until the question tells you which makes sense: a radius, a length or a time is never negative.
No answer. A square root is never negative, so √x = −6 has no solution, and no real number squares to −4. Each of these is a condition to write down, like the "can't divide by 0" conditions so far.