Definition: We say that $\vec{x},\vec{y}\in\mathbb{R}^n$ are parallel vectors if $|\vec{x}\cdot \vec{y}| = \|\vec{x}\|\|\vec{y}\|$. (i.e equality holds in Cauchy–Schwarz inequality)
I'm having some problems showing that if $\vec{x},\vec{y}$ are parallel vectors in $\mathbb{R}^n$, then one is a scalar multiple of the other.
First of all, we usually restrict the notion of parallel vectors to non-zero vectors.
Recall that for $x, y \in \mathbb{R}^n\setminus\{0\}$, $|x\cdot y| = \|x\|\|y\|\cos\theta$ where $\theta$ is the angle between $x$ and $y$. If $x$ and $y$ are parallel, then $|x\cdot y| = \|x\|\|y\|$, so $\cos\theta = 0$. Therefore $\theta = 0$, in which case $x$ are $y$ are pointing in the same direction, or $\theta = \pi$, in which case they are pointing in opposite directions. Can you take it from here?