A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Gaussian Elimination and Row Reduction

College Depth 81 in the knowledge graph I know this Set as goal
4,354topics build on this
336prerequisites beneath it
See this on the map →
Linear Systems: Notation and Solution ExistenceSystems of Linear Equations and Matrix FormGaussian Elimination with Partial PivotingGaussian Elimination with Pivoting+5 more
systems gaussian elimination row operations

Core Idea

Gaussian elimination solves linear systems by applying elementary row operations (swapping rows, scaling, adding multiples) to transform the augmented matrix into simpler form. These operations preserve the solution set. The algorithm produces row echelon form or reduced row echelon form for direct solution.

Explainer

You already know how to solve systems of linear equations by substitution or elimination — adding equations together, multiplying one by a constant, and using one equation to simplify another. Gaussian elimination is that same process, made systematic and organized through a powerful notational shorthand: the augmented matrix.

The key insight is that what matters in a linear system is not the variable names — it's the coefficients and constants. The system 2x + 3y = 7 and x − y = 1 carries all its information in the numbers 2, 3, 7, 1, −1, 1. An augmented matrix writes those numbers in a grid: [2 3 | 7] and [1 −1 | 1]. Now instead of "multiply the second equation by 2 and subtract from the first," you do the same thing to rows of the matrix. The variables become implicit; the structure becomes visible.

There are three elementary row operations: swap two rows, multiply a row by a nonzero constant, and add a multiple of one row to another. Each operation corresponds to something you already did when solving systems — they are just algebraic manipulations on equations. The crucial fact is that all three operations are reversible and preserve the solution set. Any solution to the original system is a solution to the transformed system, and vice versa. This means you can manipulate the matrix freely without worrying about losing or gaining solutions.

The goal is to reach row echelon form: a staircase shape where each row starts with a pivot (a leading nonzero entry) that is further to the right than the pivot in the row above, and all entries below each pivot are zero. Once you have this form, the bottom row gives you one variable directly, and you solve the rest by back substitution — plugging the known value up into the next row, then the next, until all variables are resolved. If you continue further to clear entries *above* each pivot too, you reach reduced row echelon form, where back substitution becomes trivial: each pivot row directly gives you one variable's value, and the solution can be read off immediately.

Practice Questions 5 questions

Prerequisite Chain

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersDividing IntegersUnit RatesProportionsPercent ConceptConverting Between Fractions, Decimals, and PercentsOperations with Rational NumbersTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionSine, Cosine, and Tangent RatiosTrigonometric Ratios ReviewVectors in Two DimensionsVector Operations: Addition, Subtraction, and Scalar MultiplicationDot Product (Inner Product in R^n)Matrix MultiplicationDeterminants of 2×2 and 3×3 MatricesInvertible Matrices and Matrix InversesSystems of Linear Equations and Matrix FormGaussian Elimination and Row Reduction

Longest path: 82 steps · 336 total prerequisite topics

Prerequisites (2)

Leads To (7)