Linear Algebra – Finding a Specific Dot Product from a Cross Product

cross productinner-productslinear algebra

I am doing the no bullsh*t guide to linear algebra. On page 161 problem 2.9 is:

Find a vector that is orthogonal to both $u_1 = (1,0,1)$ and $u_2 = (1,3,0)$ and whose dot product with the vector $v = (1,1,0)$ is equal to $8$.

I took the cross product of $u_1$ and $u_2$ and got $(-3,1,3)$. From there I can see we need to find values such that $-3x + 1y = 8$. However, I think I need another equation to solve this system.

I was able to draw the vectors $u_1, u_2$, their cross product, and figure out the solution $(12, -4, -12)$ by following the slope of the line made by the cross product vector, but I am not sure how to systematically solve this kind of problem.

Can someone explain the right way to get the answer?

Best Answer

Your final answer is correct. The mistake in the first calculation was that you wrote that you must have $-3x+1y=8$ but it should've been $-3x+1x=8$.

You found that the cross product is $w=(-3,1,3)$ which means that any vector which is orthogonal to both $u_1$ and $u_2$ must lie on the line spanned by $w$, that is, must be of the form $\lambda w=(-3\lambda, \lambda, 3\lambda)$ for some $\lambda\in\mathbb{R}$. The dot product constraint gives $$(-3\lambda,\lambda,3\lambda)\cdot(1,1,0)=8$$ so that $\lambda=-4$ so substituting this we get $(12,-4,-12)$ which is your solution.