Notes on Systems of Linear Equations and Matrix Methods
System of Linear Equations: Overview
A system of linear equations is a collection of one or more equations involving the same variables.
Goal: find values of the variables that satisfy all equations simultaneously.
Common notations: variables are typically x1, x2, x3, … ; coefficients form a matrix; right-hand sides form a column vector.
Three Forms of Representing a System
Linear equations form:
Example (three variables):
x1 - 3x2 + 4x_3 = -4</p></li></ul></li><li><p>Vectorequationform:</p><ul><li><p>Writingthesystemasavectorequationwithamatrixactingonavariablevector:</p></li><li><p>IfAisthecoefficientmatrixandxisthecolumnvectorofunknowns,thenthesystemcanbewrittenas<br>A\,\mathbf{x} = \mathbf{b}</p></li><li><p>Examplestructure:Aisamatrixwithrowscorrespondingtoequationsandcolumnstovariables;xisavector\mathbf{x} = \begin{bmatrix}x1 \ x2 \ x3\end{bmatrix};bistheconstantsvector\mathbf{b} = \begin{bmatrix}b1 \ b2 \ b3\end{bmatrix}</p></li></ul></li><li><p>Matrixequationform(augmentedwiththeconstantcolumn):</p><ul><li><p>Oftenwrittenwithanaugmentedmatrix[A∣b],representingthesamesystem.</p></li></ul></li><li><p>Quickexamples:</p><ul><li><p>Forthesysteminvectorform,therelationisconceptually:givenAandb,solveforxinA\,\mathbf{x} = \mathbf{b}.</p></li><li><p>Aconcrete3×3systemmightlooklike<br>\begin{bmatrix}1 & -2 & 2\ 2 & 1 & -1\ 3 & 0 & 4\end{bmatrix} \begin{bmatrix}x1\ x2\ x_3\end{bmatrix} = \begin{bmatrix}7\ 1\ 5\end{bmatrix}.n</p></li></ul></li></ul><h3collapsed="false"seolevelmigrated="true">SolvingMethods(Overview)</h3><ul><li><p>Substitutionmethod</p></li><li><p>Eliminationmethod(TriangleForm/GaussianElimination)</p></li><li><p>EchelonForm(RowEchelonForm,REF)</p></li><li><p>ReducedEchelonForm(RowReducedEchelonForm,RREF)/Gauss−JordanElimination</p></li><li><p>Cramer’sRule(forsquaresystemswithnonzerodeterminant)</p></li><li><p>Sweep−outmethod</p></li><li><p>Usingmatrixinverse(A−1b)forAinvertible</p></li></ul><h3collapsed="false"seolevelmigrated="true">SubstitutionMethod</h3><ul><li><p>Idea:solveoneequationforonevariable;substituteintoothers.</p></li><li><p>Workedexample(twoequationsintwovariables):</p><ul><li><p>System:<br>\begin{cases} x + 2y = 10 \\ 0.5x - 3y = -11 \end{cases}</p></li><li><p>Fromthefirstequation:x = 10 - 2y</p></li><li><p>Substituteintothesecond:<br>0.5(10 - 2y) - 3y = -11</p></li><li><p>Compute:5 - y - 3y = -11 \Rightarrow 5 - 4y = -11</p></li><li><p>Solve:-4y = -16 \Rightarrow y = 4</p></li><li><p>Back−substitute:x = 10 - 2\cdot 4 = 2</p></li><li><p>Solution: (x, y) = (2, 4)
Notes:
Elimination Method (Triangular Form) / Gaussian Elimination
Idea: use row operations to transform the augmented matrix into an upper-triangular (triangular) form, then back-substitute.
Allowed row operations (operations preserve the solution set):
Example system (in augmented matrix form):
System:
\begin{cases} x1 - 3x2 + 4x3 = -4 \\ 3x1 - 7x2 + 7x3 = -8 \\ -4x1 + 6x2 - x_3 = 7 \end{cases}</p></li><li><p>Augmentedmatrix:<br>\left[\begin{array}{ccc|c}
1 & -3 & 4 & -4 \
3 & -7 & 7 & -8 \
-4 & 6 & -1 & 7
\end{array}\right]</p></li><li><p>Rowoperationsleadtoarowoftheform[0\ 0\ 0\ |\ 3] or similar, indicating inconsistency (0 = 3), hence no solution.
Outcome:
If you reach a row with all zero coefficients but a nonzero constant on the right, the system is inconsistent (no solution).
If you reach an upper-triangular form and can back-substitute, you obtain a solution.
Echelon Form (Row Echelon Form, REF)
Reduced Row Echelon Form (RREF) / Gauss-Jordan Elimination
Pivot Columns and Solutions
If the coefficient matrix A has a pivot in every column (i.e., rank(A) = n for an n-variable system), then there is a unique solution.
If there are fewer pivots than variables (rank(A) < n), there are free variables and infinitely many solutions (when the system is consistent).
Inconsistent systems are detected when a row reduces to [0\ 0\ \dots\ 0 \mid b]withb \neq 0.</p></li></ul><h3collapsed="false"seolevelmigrated="true">GaussianvsGauss−JordanElimination(Workflow)</h3><ul><li><p>Gaussianelimination(toREF)thenback−substitutiontosolveforthevariables.</p></li><li><p>Gauss−Jordanelimination(toRREF)directlygivesthesolutionbyinspectingthepivotpositionsandfreevariables.</p></li></ul><h3collapsed="false"seolevelmigrated="true">UniquenessoftheReducedEchelonForm</h3><ul><li><p>Fact:Foranygivenmatrix,thereisexactlyoneRREF.</p></li><li><p>Thispropertyunderpinstheinterpretationoftherow−reductionoutcomeintermsofsolutionsets.</p></li></ul><h3collapsed="false"seolevelmigrated="true">DescribingtheSolutionsfromRREF</h3><ul><li><p>Inconsistent:atleastonerowis[0\ \cdots \ 0\mid b]withb \neq 0.
Consistent:
Unique solution: rank(A) = n and augmented rank = n; all variables determined (no free variables).
Infinitely many solutions: rank(A) = r < n; there are (n - r) free variables; solution set is an affine subspace parameterized by the free variables.
Gauss-Jordan Elimination: Example Outline
Given a system, form the augmented matrix and apply row operations to reach RREF.
If you end with a unique pivot in each variable column and no inconsistent row, you read off the solution from the right-hand side.
If a variable is free, express dependent variables in terms of the free parameter(s).
Example: Unique Solution via Gauss-Jordan
Example system (three variables) with a successful RREF giving a unique solution:
After reduction, the augmented form corresponds to a pivot in every coefficient column, leading to a unique solution, for instance
(x1, x2, x_3) = (1, 3, 4). </p></li></ul></li><li><p>Thismirrorsthetranscriptwhereoneexampleconcludedthesolutionis (1, 3, 4) .</p></li></ul><h3collapsed="false"seolevelmigrated="true">Example:InconsistentSystemviaElimination</h3><ul><li><p>Asystemreducedtoarowwithallzerocoefficientsbutanonzeroconstantontheright,e.g.<br> [0\ 0\ 0\mid 3], <br>indicatesnosolution(inconsistent).</p></li></ul><h3collapsed="false"seolevelmigrated="true">Example:InfiniteSolutions(FreeVariable)</h3><ul><li><p>Asystemwithatleastonefreevariableyieldsinfinitelymanysolutions.</p></li><li><p>Exampleformfromthetranscript(parameterization):</p><ul><li><p>Supposeafterreductionwehave<br> x1 + x3 = 0,
2x2 - 3x3 = 1,
x_3 ext{ free}. </p></li><li><p>Let x_3 = t (t∈R).</p></li><li><p>Then x1 = -t, or 2x</em>2=1+3t⇒x2=21+3t.
General solution: (x<em>1,x</em>2,x3)=(−t,21+3t,t) for all real t.
The transcript shows a similar pattern where a variable (x3) is free and other variables are expressed in terms of x3 (or t).
Summary of Practical Workflow for Solving Systems
Step 1: Write the augmented matrix [A|b] for the system A x = b.
Step 2: Apply row operations to reduce to REF or RREF (via Gaussian or Gauss-Jordan elimination).
Step 3: Check for inconsistency (a row [0 … 0 | b] with b ≠ 0).
Step 4: If consistent, determine pivots and free variables.
Step 5: Read off the solution: if all variables are leading (no free vars) → unique solution; if some variables are free → infinite solutions parameterized by free variables.
Step 6: If convenient, express the solution in vector form or parametric form.
Quick Reference: Notation and Concepts
Matrix notation:
Coefficient matrix: A=[aij] with size m×n.
Variable vector: x=[x<em>1 x</em>2 ⋮ xn]
Right-hand side vector: b=[b<em>1 b</em>2 ⋮ bm]
Pivot: the first nonzero entry in a row; pivot position marks the leading 1 in RREF.
Pivot column: a column that contains a pivot.
Rank: number of pivots in the coefficient matrix (or the augmented matrix, if considering consistency).
Invertible A: if and only if det(A) ≠ 0; then the solution to A x = b is x = A^{-1} b (when A is square and b is compatible).
Practice and Exercises (From Transcript Context)
The transcript includes multiple worked examples and practice problems aimed at solving systems via reduced echelon form (RREF).
Practice direction: solve the given systems using RREF; interpret whether the system is inconsistent, has a unique solution, or has infinitely many solutions (expressed with parameters for the free variables).
Quick Takeaways
Substitution and elimination are foundational methods; for larger systems, matrix methods (REF/RREF, Gauss-Jordan) are efficient.
RREF provides a unique canonical form for any matrix, directly revealing the solution structure.
The presence of free variables corresponds to infinitely many solutions; absence of free variables corresponds to a unique solution; any inconsistency in a row of the augmented matrix yields no solution.
Matrix inverses offer another route for square, invertible A: solve by x = A^{-1} b.