Definition of Absolute Value
\[
|x|=\left\{
\begin{array}{cc}
x & : x\ge 0 \\
-x & : x<0 \\
\end{array}
\right.
\]
Multiplicative Identity of Absolute Value
\[ |xy|=|x|\cdot|y| \]
So if $n\ge 0$, we have
$$ |x^n|=|x\cdots x|=|x|\cdots |x|=|x|^{1+\dots +1}=|x|^n $$
However, if $n\lt 0$ and $x\neq 0$, we have
$$ |x^n|=\left|\frac{1}{x\cdots x}\right|=\frac{1}{|x\cdots x|}=\frac{1}{|x|\cdots |x|}=\frac{1}{|x|^{-n}}=|x|^n $$
Definition of Absolute Value \[ |x|=\left\{ \begin{array}{cc} x & : x\ge 0 \\ -x & : x<0 \\ \end{array} \right. \] Multiplicative Identity of Absolute Value \[ |xy|=|x|\cdot|y| \] So if $n\ge 0$, we have $$ |x^n|=|x\cdots x|=|x|\cdots |x|=|x|^{1+\dots +1}=|x|^n $$ However, if $n\lt 0$ and $x\neq 0$, we have $$ |x^n|=\left|\frac{1}{x\cdots x}\right|=\frac{1}{|x\cdots x|}=\frac{1}{|x|\cdots |x|}=\frac{1}{|x|^{-n}}=|x|^n $$