How do I prove that $$ \left \|\vec{u} \right \|^2 = \left \|\vec{v} \right \|^2 = \langle\vec{u},\vec{v}\rangle $$ if and only if $\vec{u} = \vec{v}$.
I don't have any idea on how to prove this but I hope some one could help me.
How do I prove that $$ \left \|\vec{u} \right \|^2 = \left \|\vec{v} \right \|^2 = \langle\vec{u},\vec{v}\rangle $$ if and only if $\vec{u} = \vec{v}$.
I don't have any idea on how to prove this but I hope some one could help me.
Using bilinearity, \begin{align*} \langle u - v, u - v \rangle & = \langle u, u - v \rangle - \langle v, u - v \rangle\\ & = \langle u, u \rangle - \langle u,v\rangle - \langle v, u\rangle + \langle v, v \rangle\\ & = \|u\|^2 - \langle u, v \rangle - \overline{\langle u, v \rangle} + \| v\|^2\\ & = \|u\|^2 - \|u\|^2 - \overline{\|u\|^2} + \|u\|^2\\ & = 0 \end{align*} (using the given condition, and since the norm is a real number). But $\langle u - v, u - v \rangle = 0$ implies that $u - v = 0$, that is, $u = v$.
The converse is trivial.
Hint: $\langle u,v \rangle = \cos(\theta) ||u|||||v||$ where $\theta$ is the angle between $u$ and $v$. Don't read the below if you want to try using this idea on your own!
Let $u,v$ be nonzero vectors such that $||u||^2 = ||v||^2 = \langle u,v \rangle$ and let $\theta$ be the angle between $u$ and $v$. Since we already know $||u|| = ||v||$, it suffices to show $\theta = 0$. We have $||u||^2 = \langle u,v \rangle = ||u|| ||v|| \cos(\theta)$, so $||u|| = ||v||\cos(\theta)$. Similarly, $||v||^2 =||u|| ||v|| \cos(\theta)$ gives $||v|| = ||u||\cos(\theta)$. Thus $\cos^2(\theta) = 1$, which implies $\cos(\theta) = \pm 1$. However since we have $||v|| = ||u||\cos(\theta)$, $\cos(theta)$ must be positive, so $\cos(\theta) = 1$. This implies $\theta = 0$. Since $u$ and $v$ have an angle of $0$ between them and $||u|| = ||v||$, it follows that $u=v$.
The other direction, i.e. that $u=v$ implies $||u||^2 = ||v||^2 = \langle u,v \rangle$, is trivial.
Observe that your assumptions imply that the Cauchy-Schwarz inequality $|\langle u,v \rangle| \leq \|u\| \|v\|$ is satisfied as an identity. It is known that this may happen if, and only if, $u = \lambda v$ for some $\lambda \in \mathbb{R}$.
Now, $\langle u,v \rangle = \lambda \langle v,v \rangle = \lambda \|v\|^2$ , and therefore $\lambda =1$.