Show work to justify whether x=2 or x=-2 has an extraneous solution.Hint: Only one of the equations is extraneous

Given the equations:
[tex]\begin{gathered} \sqrt[]{x}=2\ldots(1) \\ \sqrt[]{x}=-2\ldots(2) \end{gathered}[/tex]To find the solutions, we take the square on both sides.
For equation (1):
[tex]\begin{gathered} (\sqrt[]{x})^2=2^2 \\ x=4 \end{gathered}[/tex]To find out if this is an extraneous solution, we evaluate this value on the original equation:
[tex]\begin{gathered} \sqrt[]{4}=2 \\ 2=2\text{ (Correct)} \end{gathered}[/tex]We conclude that this is not an extraneous solution.
Now, for equation (2):
[tex]\begin{gathered} (\sqrt[]{x})^2=(-2)^2 \\ x=4 \end{gathered}[/tex]We evaluate this result on the original function:
[tex]\begin{gathered} \sqrt[]{4}=-2 \\ 2=-2\text{ (Incorrect)} \end{gathered}[/tex]We conclude that this is an extraneous solution.