Gaussian Elimination and Inverses
A systematic way to solve any linear system by row operations, which also finds the inverse of a matrix.
Needs a step first: 3
Write the system as an augmented matrix and use three row operations (swap two rows, scale a row, add a multiple of one row to another) to reach a staircase shape, then solve from the bottom up. Running the same steps on until the left side is leaves on the right. It is the algorithm inside every linear solver, and it reveals the rank of a matrix: how many of its equations are really independent.
Where it shows up: Solving the normal equations of least squares is Gaussian elimination; computers store the same steps as an LU factorisation.
How to hold it: Give it to the machine, then check
Let a computer row-reduce large systems and find inverses; know what rank and pivots mean, and check by multiplying by the claimed inverse or putting the solution back into the equations.
What knowing it looks like
- Reduce an augmented matrix to row echelon form and solve by back substitution.
- Find the inverse of a matrix by row-reducing , and check it by multiplying.
- Read the rank of a matrix from its echelon form.
Test yourself
Use row reduction to find the inverse of .
Show the worked answer
Needs a step first: 3
Learn it with an AI
Copy this prompt into any AI assistant. It will take you through step by step at your level and finish with the test above.
Be my maths tutor. I'm learning "Gaussian Elimination and Inverses" (Core tier): A systematic way to solve any linear system by row operations, which also finds the inverse of a matrix.
I already know: Matrices as Transformations.
Teach it Socratically: first ask what I already know; then explain the core idea with one concrete example and why it's true; then give me three problems, one at a time, easy to hard. Wait for my answer, check every step, and point out mistakes without giving the answer away.
Finish by testing me with this: Use row reduction to find the inverse of $A=\begin{pmatrix}1&1&0\\0&1&1\\1&0&1\end{pmatrix}$.
Use LaTeX for formulas. When you say where it's used later (machine learning, quantum mechanics), be specific.Needs first
Leads to
On the way to
Recommended
- MIT 18.06SC Linear AlgebraGilbert Strang, MIT OpenCourseWare · CourseGilbert Strang's famous linear algebra lectures with recitation videos, problem sets and solutions, from elimination to eigenvalues and the SVD.
- Linear Algebra Done RightSheldon Axler · BookThe standard proof-based second course in linear algebra, built on linear maps rather than determinants; the 4th edition is free to read, also in Chinese.
- Mathematics for Machine LearningDeisenroth, Faisal and Ong (Cambridge University Press) · BookA free book that gathers exactly the linear algebra, vector calculus, probability and optimisation machine learning uses, then applies them to regression, PCA and classification.
- 宋浩老师官方宋浩(山东财经大学) · Videos · 中文Full university courses in calculus, linear algebra and probability by a Shandong University of Finance and Economics lecturer, clear and good-humoured; a new calculus series came out in October 2026.