How to determine $t$ for orthogonal to $u$ and $a$ in $\mathbb{R}^n$?

31 Views Asked by At

enter image description here

I understand that if $\mathbf{a}-\mathit{t}\mathbf{u}$ is orthogonal to $\mathbf{u}$ or $\mathbf{a}$, there must exist $(\mathbf{a}-\mathit{t}\mathbf{u})\bullet\mathbf{u}=0$ or $(\mathbf{a}-\mathit{t}\mathbf{u})\bullet\mathbf{a}=0$. However, I don't quite know in $\mathbb{R}^n$, how to determine $\mathbf{u}$ and $\mathbf{a}$. Is there any expressions of them that I can use to solve the problem?

1

There are 1 best solutions below

0
On

Well, I'd consider $v = a - \langle u,a\rangle u$. Then by linearity in the 2nd argument, $$\langle u,v\rangle = \langle u,a\rangle - \langle u,a\rangle\langle u,u\rangle.$$ But $\langle u,u\rangle =\|u\|^2$ and by hypothesis $\|u\|=1$. Hence, $\langle u,v\rangle=0$.