We would like to define the square root as the inverse of the squaring function,
\[
\begin{align}
b &\depends a
&
&
&
a &\depends b
\\
b &= a^2
&
&\andSpaced
&
a &= \sqrt[2]{b},
\end{align}
\]
but we run into trouble!
-
Any positive \( b \)-value, say \( b = 9 \), corresponds to two \( a \)-values: \( a = 3 \) and \( a = -3 \).
-
Any negative \( b \)-value, say \( b = -9 \), corresponds to zero \( a \)-values.
For the square root to make any sense, we must have a single \( a \)-value for each \( b \)-value. To remedy these issues, we'll use restrictions:
\[
\begin{align}
a &\ge 0
&
&\andSpaced
&
b &\ge 0.
\end{align}
\]
We may now define the square root as the inverse to the squaring function. These restrictions have real consequences, however. We'll refuse to take the square root of a negative number. And the cancellation rules
\[
\begin{align}
&\sqrt[2]{a^2} = a
\\
&\bigl(\sqrt[2]{b}\bigr)^2 = b
\end{align}
\]
only hold for positive \( a \)-values and positive \( b \)-values.