$\sqrt{a^{2}}$ is $|a|$, not $a$ — the square-root sign always points to the nonnegative square root
The square roots of 25 are both +5 and −5 (squaring either gives 25). But the √25 sign points to only the nonnegative one, i.e., 5. You must distinguish "a square root (√)" from "the square root of a square (√a²)" — √a² is "the (positive) square root of the number that is a squared," so $|a|$.
This "distance" interpretation is the core: $a^{2}$ is "a squared," and its positive square root is the distance from 0 to a, $|a|$. If $a$ is positive, the distance = $a$; if negative, the distance = $-a$ (the opposite number, positive). So $\sqrt{a^{2}} = |a|$, not $a$ itself.
Let's build the result step by step, instead of memorizing.
$a = 5$: $\sqrt{5^{2}} = \sqrt{25} = 5 = |5|$. $a = 0$: $\sqrt{0} = 0$. For positive/0, $\sqrt{a^{2}} = a$.
$a = -5$: $\sqrt{(-5)^{2}} = \sqrt{25} = 5 \ne -5$ — the answer is the positive 5 $= |-5|$. The "squaring" erases the sign, and the "√" picks the value 0 or more.
$a \ge 0$: $\sqrt{a^{2}} = a$; $a < 0$: $\sqrt{a^{2}} = -a$ — both cases in one line as $|a|$. $\sqrt{a^{2}} = |a|$.
Each step also shows the "why".
The classic ways to lose points on a test.
Three questions to check the core idea. Click an option to see the explanation.
The formula is hiding in familiar scenes. Read it as a story and it sticks.
On the number line, the distance from 0 to $a$ is $|a|$ — even if $a$ is negative (left), the distance is positive. $\sqrt{a^{2}} = |a|$ is exactly "squaring then returning to distance" — the formula giving the distance traveled of a displacement $a$. Pythagoras' $\sqrt{a^{2}+b^{2}}$ has the same "distance (hypotenuse)" structure.
The standard deviation in statistics, $\sigma = \sqrt{\text{variance}}$, is also "square then √" — the square root of the variance, so always 0 or more. That $\sqrt{a^{2}} = |a|$ (√ is 0 or more) explains why the standard deviation can't be negative — "spread" has no direction.