I'm trying to prove a property of inner products. The property is: $$\langle x,y\rangle=\langle x,z\rangle \forall x \in V\Rightarrow y=z$$
My proof:
Let $y=z+w$ then $$\langle x,z+w\rangle = \langle x,z\rangle $$ $$\Rightarrow \langle x,z\rangle + \langle x,w\rangle =\langle x,z\rangle $$ $$\Rightarrow \langle x,w\rangle =0$$ Hence, $w=0$ so $y=z$.
My question is are we allowed to set $y=z+w$ i.e. is this true for all $y,z \in V$?
It is certainly true that $y-z$ is something in the vector space; call that something $w$.