Compute the projection \(\mathrm{proj}_{\mathbf{W}}(\mathbf{V})=\left(\frac{\mathbf{V}\cdot\mathbf{W}}{\lVert\mathbf{W}\rVert^2}\right)\mathbf{W}\), the orthogonal component \(\mathbf{V}-\mathrm{proj}_{\mathbf{W}}(\mathbf{V})\), and preview a 2-vector Gram–Schmidt step.
Vector Projection and Orthogonalization Preview
Math Linear Algebra • Vectors and Basic Operations
Projection “shadow” + orthogonal component
2D: drag to pan • wheel to zoom • double-click to reset.
3D: drag to rotate • Shift+drag to pan • wheel to zoom • double-click to reset.
Play animates \(\mathrm{proj}_{\mathbf{W}}(\mathbf{V})\) from 0 → final once and stops.
\(\mathbf{V}\)
\(\mathbf{W}\)
\(\mathrm{proj}_{\mathbf{W}}(\mathbf{V})\)
\(\mathbf{V}-\mathrm{proj}\) (orth)
Enter vectors and click “Calculate”.