\(\Leftrightarrow\left|x-3\right|=2\)
\(\Leftrightarrow\left[{}\begin{matrix}x-3=2\\x-3=-2\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=5\\x=1\end{matrix}\right.\)
\(\sqrt{\left(x-3\right)^2}=2\)
\(\left|x-3\right|=2\)
\(\left[{}\begin{matrix}x-3=2\\x-3=-2\end{matrix}\right.\)\(\Leftrightarrow\left[{}\begin{matrix}x=5\\x=1\end{matrix}\right.\)
\(\sqrt{x^2-6x+9}=2\Rightarrow\sqrt{\left(x-3\right)^2}=2\)
\(\Rightarrow\left|x-3\right|=2\Rightarrow\left[{}\begin{matrix}x-3=2\\x-3=-2\end{matrix}\right.\)\(\Rightarrow\left[{}\begin{matrix}x=5\\x=1\end{matrix}\right.\)