Why does this happen??
$$ y = \sqrt9 \implies y=3$$
$$ y^2 = 9 \implies y=+3,-3 $$
While both equations are in same sense.
Why does this happen??
$$ y = \sqrt9 \implies y=3$$
$$ y^2 = 9 \implies y=+3,-3 $$
While both equations are in same sense.
By definition $\sqrt 9$ does not mean "any number whose square is $9$", but specifically "the non-negative number whose square is $9$".
So the equations $y=\sqrt 9$ and $y^2=9$ are not (as you assume) the same.
Rather, $y=\sqrt 9$ is the same as $y^2=9 \land y\ge 0$. It should not be surprising that ignoring the $y\ge 9$ condition will result in more solutions.
Hint:
Any positive real number $x>0$ has two opposite square roots defined as the numbers $y$ such that $y^2=x$, but the symbol $\sqrt{x}$, by definition indicate only the positive root. So : $\sqrt{y^2}=|y|.$
Though not much technical in the second equation, both the values of y satisfy the equation while in the first -3 doesn't, though the statements are equivalent, we only take numbers that are applicable, or are satisfiable, though even in the first statement we could have a solution if we bring complex numbers up.
You can define square root as positive root of equation $x^2 = a$. We know that there are exactly two such roots $x_0$ and $-x_0$, so the positive one we will denote $\sqrt a$ and the negative one $-\sqrt a$.
Thus, $\sqrt 9$ is by above definition equal to $3$, while the equation $x^2 = 9$ has two solutions, $\sqrt 9 = 3$ and $-\sqrt 9 = -3$.