Show: For any vectors $x$ and $y$ in an inner product space $V$ over $\mathbb{F}$, we have $$\left|\langle x,y\rangle\right|=\|x\|\|y\| \iff x,y \ are \ dependent$$
($\leftarrow$) If $x$ and $y$ are dependent, then $x=ky$, $k\in \mathbb{F}$. So, $$|\langle x,y\rangle|=|\langle kx,y\rangle|=|k|\|y\|^2=|k|\|y\|\|y\|=\|ky\|\|y\|=\|x\|\|y\| $$
How, do I prove ($\rightarrow$)?
Assume that $y \neq 0$, otherwise there's not much to show. If $y \neq 0$, let $x_{//} = \frac{\langle x, y\rangle}{\langle y, y\rangle} y$ and $x_{\perp} = x - x_{//}$. Show that $\langle x, y\rangle = \langle x_{//}, y \rangle$ and $\| x_{//}\| \leq \| x \|$ with equality if and only if $x = x_{//}$. Therefore, $| \langle x, y \rangle| = |\langle x_{//}, y \rangle| \leq \|x_{//}\| \|y\|$, but by assumption $|\langle x, y\rangle| = \|x\|\|y\|$ which will imply that $\|x\|=\|x_{//}\|$ and hence $x = x_{//}$. Now, you have that $x_{//}$ is linearly dependent on $y$.