Orthogonality, projections & Gram–Schmidt
Two vectors are orthogonal when their dot product is zero. The projection of v onto u is (v·u/u·u)u — the component of v along u — and subtracting it leaves the part orthogonal to u. Gram–Schmidt turns any basis into an orthogonal one by repeatedly subtracting projections onto everything already produced.
✓ Unlimited questions · marked criterion by criterion · no card needed
Method: how to approach it
The order below is what examiners expect to see, and each step carries its own marks.
- Project onto a single vectorproj_u(v) = (v·u / u·u)·u. Normalising u first simplifies the denominator to 1.
- Subtract to get the orthogonal partv − proj_u(v) is orthogonal to u. Verify with a dot product — it is a free check.
- Run Gram–Schmidtu₁ = v₁; then uₖ = vₖ minus its projections onto every earlier uᵢ.
- Normalise lastDivide each uᵢ by its length only at the end, to keep the arithmetic in fractions rather than surds.
Worked example
Apply Gram–Schmidt to v₁ = (1, 1, 0) and v₂ = (1, 0, 1).
- u₁ = v₁ = (1,1,0), with u₁·u₁ = 2.
- v₂·u₁ = 1·1 + 0·1 + 1·0 = 1.
- proj = (1/2)(1,1,0) = (1/2, 1/2, 0).
- u₂ = (1,0,1) − (1/2,1/2,0) = (1/2, −1/2, 1).
Answer. Orthogonal basis {(1,1,0), (1/2,−1/2,1)}. Check: 1·(1/2) + 1·(−1/2) + 0 = 0 ✓.
Where marks get dropped
These are the specific errors that cost credit on orthogonality, projections & gram–schmidt questions — QED's rubric penalises each of them separately.
- Forgetting to divide by u·u in the projection formula. Omitting it is only correct when u is a unit vector.
- Projecting onto the ORIGINAL vectors instead of the already-orthogonalised ones during Gram–Schmidt.
- Normalising too early, which fills the remaining arithmetic with square roots for no benefit.
Practise this until it is automatic
Unlimited fresh questions
QED generates new orthogonality, projections & gram–schmidt problems on demand at warm-up, exam and challenge level, so you can drill this one skill until it stops costing you marks.
Marked like an examiner
Every answer is scored against a point-by-point rubric with partial credit, so you see exactly which step of the method broke down — not just a tick or a cross.
Answer in real notation
A one-tap symbol palette, a visual equation editor and a truth-table builder — or photograph your handwritten working and QED converts it to LaTeX.
Saved to your library
Every question you generate is kept and re-takeable as a timed exam, and your Linear Algebra mastery is tracked so you know when this is exam-ready.
Orthogonality, projections & Gram–Schmidt — frequently asked questions
Why is an orthogonal basis convenient?
Coordinates become simple dot products: v = Σ(v·uᵢ/uᵢ·uᵢ)uᵢ with no system to solve. For orthonormal bases the denominators vanish entirely.
What is the QR decomposition?
Gram–Schmidt applied to the columns of A, written as A = QR with Q orthonormal and R upper triangular. It is the numerically stable way to solve least-squares problems.
How does projection relate to least squares?
The least-squares solution of Ax = b projects b onto the column space of A, making the residual orthogonal to it — which gives the normal equations AᵀAx = Aᵀb.
The rest of Linear Algebra
Matrices, systems, determinants, eigenvalues. Each subtopic below has its own method, worked example and mark-losing traps.
- 1Matrix arithmetic & inverses
- 2Gaussian elimination
- 3Determinants
- 4Vector spaces, span & linear independence
- 5Basis & dimension
- 6Eigenvalues & eigenvectors
- 7Linear maps & their matrices
- 8Rank, nullity & the rank–nullity theorem
- 9Column space, null space & solution sets
- 10Orthogonality, projections & Gram–Schmidt
- 11Diagonalisation & powers of a matrix
- 12Dot product, norms & angles
- 13Change of basis & similar matrices
Ready to make orthogonality, projections & gram–schmidt exam-proof?
Generate your first questions free — no card, no setup, no personal data stored. Practise until the method is second nature.
Start practising free →