Orthogonal Complement Calculator

Enter the vectors that span W as the rows of a matrix to find W⊥.

Vectors as rows
Rows
2
Columns
3

Write each vector as a row, rows separated by semicolons, like 1, 2, 3; 2, 4, 6.

Try

Result

You enteredW⊥, W=span⁡{(1,0,0), (0,1,0)}W^{\perp},\ W = \operatorname{span}\{\left(1, 0, 0\right),\ \left(0, 1, 0\right)\}

{(0,0,1)}\displaystyle \left\{\left(0, 0, 1\right)\right\}

dim W + dim W⊥

2+1=3\displaystyle 2 + 1 = 3
Show the work
  1. Orthogonal complement

    A vector is orthogonal to all of W when it is orthogonal to each spanning vector: put them as the rows of a matrix, and W⊥ is its null space.

    Using W⊥={x:v⋅x=0 for every v∈W}W^{\perp} = \{\mathbf{x} : \mathbf{v}\cdot\mathbf{x} = 0 \text{ for every } \mathbf{v} \in W\}

    Ax=0,A=(100010)A\mathbf{x} = \mathbf{0},\quad A = \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \end{pmatrix}
  2. Reduced row echelon form

    Row reduce and solve, one basis vector for each free variable.

    (100010)  ⟶  (100010)\begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \end{pmatrix} \;\longrightarrow\; \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \end{pmatrix}
  3. Result

    A basis of W⊥, of dimension 1 = 3 − 2.

    {(0,0,1)}\left\{\left(0, 0, 1\right)\right\}

Worked examples