3 Systems of Linear Equations
A progressive guide to representing, reducing, solving, classifying, and applying systems of linear equations using matrices, pivots, and rank.
From equations to matrices
A linear equation in variables has the form
Several such equations impose conditions simultaneously. A solution is an ordered tuple that satisfies every equation.
For example, the system
has coefficient matrix
unknown vector , and constants vector . Its compact form is . The corresponding is
The vertical bar separates coefficients from right-hand-side constants.
Takeaway: matrix notation organizes many equations into a form that can be simplified systematically.
Simplifying a system safely
The solution set is preserved by the three :
Interchange two rows.
Multiply a row by a nonzero constant.
Replace one row by itself plus a multiple of another row.
For example,
The matrix operation corresponds to replacing the second equation by the second equation minus three times the first. Because each operation is reversible, the original and transformed systems have exactly the same solutions.
Two matrices are row equivalent when one can be obtained from the other through a finite sequence of .
Takeaway: row reduction changes the appearance of a system, not its solution set.
Pivots and echelon forms
Row reduction aims to create a staircase pattern. In , zero rows appear below nonzero rows, each leading nonzero entry lies farther right than the leading entry above it, and entries below each leading entry are zero. Each leading nonzero entry is a .
A variable corresponds to a column. A corresponds to a nonpivot column. In , every equals and is the only nonzero entry in its column.
stops after reaching and then uses back-substitution. continues to , where the solution can usually be read directly.
A practical procedure is:
Find the leftmost column containing a nonzero entry.
Move a nonzero entry into the current position if necessary.
Scale the row so the is , when convenient.
Use row replacement to create zeros below the .
Continue in lower rows and columns to the right.
For , eliminate entries above each as well.
Takeaway: pivots reveal which variables are determined and which variables may remain free.
Reading and classifying solutions
The final matrix reveals the solution type. A row such as
represents , which is impossible. Therefore, the system has no solution and is inconsistent.
If no contradictory row occurs, the system is . Then:
There is a unique solution when every variable column contains a .
There are infinitely many solutions when the system is and at least one variable is free.
There is no solution when row reduction produces with .
For example,
gives
The variable is free. Set , giving
so the complete solution set is
Takeaway: count pivots and inspect the augmented column before deciding whether a system has one, infinitely many, or no solutions.
Consistency through
The of a matrix is the number of pivots in its row-reduced form. For an augmented system , consistency can be tested using
If the has a in its final column, the augmented is larger and a contradictory row appears. If the ranks are equal, the system is .
For a system with variables:
means every variable column has a , so the solution is unique.
means at least one variable is free, so infinitely many solutions result.
This viewpoint summarizes the test and works for systems with different numbers of equations and variables.
Takeaway: compares the number of independent constraints with the number of unknowns.
A complete elimination example
Consider
Its is
Eliminating below the first gives
Swap the second and third rows:
Then eliminate below the second :
Back-substitution gives
and then
Thus,
There is a in every variable column and no contradictory row, so the solution is unique.
Takeaway: record each row operation carefully, then interpret the final equations through back-substitution.
Applications and interpretation
Systems of linear equations model several quantities constrained at the same time.
In a mixture problem, let be the liters of a solution and the liters of a solution. To make liters containing acid, the conditions are
The first equation tracks total volume, and the second tracks total acid. Solving the system determines the amounts of each solution.
The same modeling pattern applies to network and flow problems, where conservation at a junction equates total incoming and outgoing flow. Economic models can use variables for quantities of goods and equations for budgets, capacities, or balance conditions.
A reliable modeling process is:
Define the unknown quantities.
Translate each condition into a linear equation.
Form the .
Row-reduce and interpret the result in context.
Reject mathematically valid values that violate practical restrictions, such as negative quantities or capacity limits.
Takeaway: the algebraic solution must be checked against the real-world meaning of the variables.