Determine the constant $\alpha \in \mathbb{R}$ and the vector $w \in \mathbb{R}^3$ that is perpendicular to the vector $u$ such that $v = \alpha u + w$.
Need a little help with this question from my linear algebra course, not sure how to find the solution. I know that that the dot product of w and u is equal to zero.
the vectors give are $u = (2, -2, 1) v = (3, 1, -1)$
Let $w=(w_1,w_2,w_3)$. If $w$ is perpendicular to $u$, the equation $w\cdot u=0$ must be satisfied, that is, $2w_1-2w_2+w_3=0$. As you see there are lots of solutions.
If you want $v=\alpha u+w$, then you have another equation, in this cases a system of equations indeed, namely
$3=2\alpha +w_1$
$1=2\alpha+w_2$
$-1=\alpha+w_3$
Adding the equation $2w_1-2w_2+w_3=0$ from above you've got a linear system of 4 equations and 4 unknowns, so there is precisely one solution that I'm sure you're able to find.