# Amy's question at Yahoo! Answers (Orthogonal complex subspace)

#### Fernando Revilla

##### Well-known member
MHB Math Helper
Here is the question:

Consider the subspace W = span{(1, i, 1-i),(i, -1, 0)} of C3.

Find an orthonormal basis for W perp. (orthogonal complement)

I usually know how to do this but the field is throwing me off. any help explaining please!
Here is a link to the question:

Using the inner product $$\left<(x_1,x_2,x_3),(y_1, y_2, y_3)\right>=x_1\overline{y_1}+x_2\overline{y_2}+x_3\overline{y_3}$$ we get $$(x_1,x_2,x_3)\in W^{\perp}\Leftrightarrow \left \{ \begin{matrix} \left<(x_1,x_2,x_3),(1, i, 1-i)\right>=0\\\left<(x_1,x_2,x_3),(i, -1, 0)\right>=0\end{matrix}\right.\Leftrightarrow\left \{ \begin{matrix} x_1-ix_2+(1+i)x_3=0\\-ix_1-x_2=0\end{matrix}\right.$$
As $\dim W^{\perp}=\dim \mathbb{C}^3-\dim W=3-2=1$, a non zero solution $v$ of the system is a basis for $W^{\perp}$. Choose for example $x_1=1$ and you'll easily find $x_2$ an $x_3$. Then, an orthonormal basis for $W^{\perp}$ is $B=\left\{\dfrac{v}{ \left\|{v}\right\|}\right\}$ .