This repository contains visual and geometric interpretations of key concepts in linear algebra, including projections, subspaces, pseudoinverse and least squares.
Some of these diagrams and ideas are also linked from public educational platforms including Wikipedia, Wikimedia Commons and Zenodo.
-
Least Squares as Projection in R³ (3 Observations, 2 Parameters)
https://www.graphmath.com/la/concepts/least-squares-projection-r3.html -
Change of Basis — Coordinate Mapping View
https://www.graphmath.com/la/concepts/change-of-basis-coordinate-mapping.html
- Geometric interpretation as projection onto the column space
- Decomposition of y into y∥ in col(X) and y⊥ orthogonal to col(X)
- Representation of col(X) as a plane in R³ for three observations
📄 PDF: best-solution-ols.pdf
🖼 Diagram: Least squares projection in R3.png
🌐 Web: https://www.graphmath.com/la/ls/best-solution-ols.html
- Decomposition of domain: Rⁿ = row(A) ⊕ null(A)
- Decomposition of codomain: Rᵐ = col(A) ⊕ null(Aᵀ)
- Orthogonality of row space vs null space, and column space vs left null space
📄 PDF: subspaces.pdf
🖼 Diagram: Matrix four fundamental subspaces decomposition
🌐 Web: https://www.graphmath.com/la/subspaces/subspaces.html
- Mapping between column space and row space
- A⁺A acts as identity on the row space
- AA⁺ acts as projection onto the column space
📄 PDF: pseudoinverse.pdf
🌐 Web: https://www.graphmath.com/la/pseudoinverse/pseudoinverse.html
-
Wikipedia:
- Projection (linear algebra) — Orthogonal projections
- Projection (linear algebra) — Finding projection with an inner product
- Ordinary least squares — Projection
- Row and column spaces — Relation to the left null space
- Change of basis
- QR decomposition — Square matrix
- QR decomposition — Example
- Gaussian elimination — Definitions and example of algorithm
-
Wikimedia Commons:
- Least squares projection geometry
- Orthogonal projection using an orthonormal basis
- Geometric interpretation of least squares (three observations)
- Four fundamental subspaces of a matrix (diagram)
- Change-of-basis coordinate mapping (matrix representation)
- Change-of-basis coordinate transformation between bases
- QR decomposition geometric interpretation (2D)
- QR decomposition geometric interpretation (3D)
- Gaussian elimination as multiplication by elementary matrices
-
Open educational repositories:
-
Zenodo:
- Eteri Byazrova
- Yuri Morozov
GraphMath — https://www.graphmath.com
- Learn Linear Algebra — free project by Prashant Kulkarni using GitHub notes, NotebookLM, SageMath/Python, examples and exercises