Linear Algebra.
This corner of the notebook is mainly for interactive visualizations. Move through the operations and watch the matrix, equations, and geometry describe the same system.
Change any of the six values; both visualizations update together.
Gaussian Elimination.
Step through a purposeful sequence of EROs. A row changes, a line moves, and the common intersection stays fixed.
Start
Two rows, two constraints. Choose a nonzero pivot in the first column.
The step that clears below the first pivot is Gaussian elimination. Clearing above a pivot afterward is the Gauss–Jordan extension.
Elementary Row Operations.
Explore the three moves independently. Gaussian elimination uses these same moves, choosing multipliers that make selected coefficients zero.
Add a multiple of row 1 to row 2. Move c until a coefficient becomes zero.
Column space & consistency.
Edit the augmented matrix [A | b]. Watch the column combinations in output space and the two row equations in input space describe the same system.
The columns span one line. Ax always stays on this line; b is reachable exactly when it lies on the line.
Row picture · equations in input space
Each row gives a line in the (x₁, x₂) plane. A shared point solves both equations. Drag x or adjust x₁ and x₂ below to explore column combinations.
Each row of [A | b] defines an equation in the input plane. Its coefficients form a normal vector to the line; these equation lines are not the subspace Row(A).
Output space · Ax and b
Drag the red b handle to test which targets are reachable.
Scroll over this canvas to zoom, or use + / −. Zoom is centered on the origin. Auto-fit follows x.
These coefficients reach b.
Rank and line membership use relative numerical tolerance 10⁻¹⁰. Extremely close cases are treated as equal at this precision.
The moves and the strategy.
Each row of an augmented matrix is an equation. Swapping rows changes their order; scaling a row by a nonzero number rewrites the same equation; replacing a row by itself plus a multiple of another produces an equivalent system.
Gaussian elimination uses those three moves with a particular aim: choose a pivot and make the entries beneath it zero. Gauss–Jordan elimination continues by clearing above the pivots.