# Find a unit vector that is orthogonal to both $u = (1, 0, 1)$ and $v = (0, 1, 1)$.

Find a unit vector that is orthogonal to both $u = (1, 0, 1)$ and $v = (0, 1, 1)$.

I am lost on how to find one orthogonal to both.. I used the unit vector rule:

vector $= (1/||v||)v$ on both vectors to get $(-1/\sqrt2,0,-1/\sqrt{2})$ and $(0,-1/\sqrt2,-1/\sqrt2)$ after making them negative to make them oppositely directed.. but I can't figure out how to find one that is orthogonal to both..

• Take the cross product. Jun 26, 2014 at 5:40
• Alternate hint to the cross product: Choose a vector $(a,b,c)=w$ such that $w\cdot u=0$ and $w\cdot v=0$.
– user18862
Jun 26, 2014 at 5:41
• Did you do the Gram-Schmidt process yet? Feb 21, 2017 at 2:58

$u$ and $v$ are orthogonal if $u\cdot v=0$.

you want a vector $(a,b,c)$ such that $(a,b,c)\cdot (1,0,1)=0$ and $(a,b,c)\cdot (0,1,1)=0$. That is $a+c=0$ and $b+c=0$. There are many possible solutions for $a,b,c$ which satisfy both of these equations. For example, $a=1,b=1,c=-1$ works.

Now multiply $(1,1,-1)$ by $1/$(its norm) to get the unit vector $(1/\sqrt 3,1/\sqrt 3,-1/\sqrt 3)$.

• @JL glad I could help Jun 26, 2014 at 5:48

one can use the cross product to find the vector orthogonal to two vectors. Divide by the magnitude to find the unit vector same result. The method intially used is an around about method of achieving it.

• So, were you going to answer the question? Feb 21, 2017 at 3:16

Hint: What can you say about the cross product: $u \times v$?

• havent got that far yet
– J L
Jun 26, 2014 at 5:44