While reading, I came across uniqueness proofs, in which the existence of a unique element with a particular property is proven by taking two steps: prove existence and prove uniqueness.
For real numbers $a$ and $b$ with $a ≠ 0,$ show that there is a unique real number $r$ such that $ar + b = 0.$
Okay, I can do the Existence part: $r = -\frac{b}{a}.$
Suppose that $s$ is a real number such that $as + b = 0.$ Then $ar + b = as + b,$ where $r = -\frac{b}{a}.$ You subtract $b$ from both sides and divide both sides by $a$ to get $r = s.$ This means that if $s ≠ r$ then $as + b ≠ 0 ,$ and this establishes uniqueness.
How exactly does this part prove Uniqueness? When would placing some random variable in the same spot as the previous not end with the two variables being the same?
Consider $n^2 = 4.$ Following the previous example, suppose that $s$ is another real number such that $s^2 = 4.$ Then $n^2 = s^2,$ so $n = s.$ Also following the previous example, this means that if $s ≠ n$ then $s^2 ≠ 4.$ But of course this example does not have a unique solution, but instead two solutions $-2$ and $2.$ Where is my misunderstanding?