Orthogonal Complement Calculator

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

Vectors as rows
Rows
1
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,2,3)}W^{\perp},\ W = \operatorname{span}\{\left(1, 2, 3\right)\}

{(2,−1,0), (3,0,−1)}\displaystyle \left\{\left(2, -1, 0\right),\ \left(3, 0, -1\right)\right\}

dim W + dim W⊥

1+2=3\displaystyle 1 + 2 = 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=(123)A\mathbf{x} = \mathbf{0},\quad A = \begin{pmatrix} 1 & 2 & 3 \end{pmatrix}
  2. Reduced row echelon form

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

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

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

    {(2,−1,0), (3,0,−1)}\left\{\left(2, -1, 0\right),\ \left(3, 0, -1\right)\right\}

Worked examples