Eugene E. answered 05/31/22
Math/Physics Tutor for High School and University Students
Without loss of generality, assume |y| = 1. Then |x • y| = |x| so that
|x - (x • y)y|2 = |x|2 - 2x • (x • y)y + |(x • y)y|2
.....................= |x|2 - 2(x • y)2 + (x • y)2 |y|2
.....................= |x|2 - 2|x|2 + |x|2
.....................= 0
Therefore x - (x • y)y = 0, i.e., x = (x • y)y. Hence, x is a scalar multiple of y.