From my previous question, I looked at the solution:
Let $v_1, v_2 \in \mathbb{R}^3$ such that $v_1, v_2$ unit vectors and orthogonal. The plane P is defined by $P = \text{span } \{v_1, v_2\}$. Prove that for any $\overrightarrow{x} \in \mathbb{R}^3$ we have $\text{proj}_{P}(x) = (x \cdot v_1)v_1 + (x \cdot v_2)v_2$ Soln:
I am unsure of the step taken at the underlined part.
So we have:
$$v_1 \cdot (x - \frac{x \cdot n}{||n||^2}n) = \ldots + \bigg ( \frac{x \cdot n}{||n||^2}n\bigg ) \cdot v_1$$
How can they claim:
$$\bigg ( \frac{x \cdot n}{||n||^2}n\bigg ) \cdot v_1 = \bigg ( \frac{x \cdot n}{||n||^2}v_1\bigg ) \cdot n$$
??
