📌 Linear Algebra · Chapter 2Core Technique · Augmented matrices & elementary row operations · REF vs. RREF & Gauss–Jordan algorithm · Pivot existence theorem & parametric vector solutions
Systems of linear equations represent the most widely used mathematical construct in quantitative science. Any linear system can be encoded compactly as an augmented matrix [A \mid b][A∣b]. Through Gaussian and Gauss–Jordan elimination, elementary row operations transform the system into echelon form while preserving its solution set, revealing existence, uniqueness, and parametric solution spaces.
2. Row Echelon Form (REF): A matrix is in REF if: • All all-zero rows are grouped at the very bottom. • Each leading non-zero entry (called a pivot) of a non-zero row is strictly to the right of the pivot in the row above it. • All entries in a column directly below a pivot are zero.
3. Reduced Row Echelon Form (RREF): A matrix is in RREF if it satisfies REF plus: • Every pivot entry is equal to \( 1 \). • Each pivot \( 1 \) is the only non-zero entry in its entire column (entries above and below are zero).
The Three Elementary Row Operations
Row Interchange (Swap)
\( R_i \longleftrightarrow R_j \): Swap equation \( i \) and equation \( j \)
Row Scaling
\( R_i \longleftarrow c R_i \) with \( c \neq 0 \): Multiply equation \( i \) by a non-zero scalar
Row Replacement (Elimination)
\( R_i \longleftarrow R_i + c R_j \): Add a scalar multiple of row \( j \) to row \( i \)
◆ Why It Works — First-Principles Derivation (Systems of Linear Equations & Row Reduction)
Why Orthogonal Projection & Eigenvalue Characteristic Equations Work: Decompose \(\mathbf{u} = c\mathbf{v} + \mathbf{w}\) where \(\mathbf{w} \perp \mathbf{v}\). Taking the dot product with \(\mathbf{v}\) uses \(\mathbf{w}\cdot\mathbf{v} = 0\) to isolate \(c\):
For eigenvalues, \(A\mathbf{v} = \lambda\mathbf{v}\) with \(\mathbf{v} \ne \mathbf{0}\) is equivalent to \((A - \lambda I)\mathbf{v} = \mathbf{0}\). A homogeneous linear system has a non-trivial nullspace vector \(\mathbf{v} \ne \mathbf{0}\) if and only if the matrix \(A - \lambda I\) is singular, yielding the characteristic polynomial \(\det(A - \lambda I) = 0\).
Level 1 (Foundations) — Worked Example · Gauss–Jordan Elimination to RREF
Problem. Solve the linear system using Gauss–Jordan elimination: \[ \begin{aligned} x_1 + 2x_2 - x_3 &= 1 \\ 2x_1 + 5x_2 + x_3 &= 7 \\ 3x_1 + 7x_2 + 2x_3 &= 12 \end{aligned} \]
Conclusion: The system has the unique solution \( \mathbf{x_1 = 5, \; x_2 = -1, \; x_3 = 2} \).
Worked Example \(B\) — Systems of Linear Equations & Row Reduction (Medium Application)
Problem. Consider the following system of linear equations represented by an augmented matrix: \( \begin{bmatrix} 1 & 2 & | & 5 \\ 0 & 1 & | & 2 \end{bmatrix} \). What is the value of \( x \) in the first equation?
▸ Show step-by-step solution
The augmented matrix represents the system of equations: \( x + 2y = 5 \) and \( y = 2 \). We are asked to find the value of \( x \). We can use substitution to solve for \( x \). Substitute the value of \( y \) from the second equation into the first equation: \( x + 2(2) = 5 \). This simplifies to \( x + 4 = 5 \). Subtracting 4 from both sides gives \( x = 1 \). Therefore, the value of \( x \) in the first equation is 1.
Error Diagnosis — Common Student Traps vs. Exam-Board Method (Systems of Linear Equations & Row Reduction)
Common Student Trap
Why It Fails Mathematically
Correct Exam-Board Method
Computing angle at \(B\) using \(\overrightarrow{AB}\cdot\overrightarrow{BC}\)
Vectors are head-to-tail instead of tail-to-tail, giving \(180^\circ - \theta\).
Reverse \(\overrightarrow{AB}\) so both emanate from \(B\): use \(\overrightarrow{BA}\cdot\overrightarrow{BC}\).
Using the same parameter \(t\) for two intersecting 3D lines \(\mathbf{r}_1(t) = \mathbf{r}_2(t)\)
Tests for a simultaneous collision at time \(t\) rather than geometric intersection of paths.
Assign distinct parameters \(\lambda\) and \(\mu\) to the two lines before equating components.
Assuming \((AB)^{-1} = A^{-1}B^{-1}\)
Multiplying \((AB)(A^{-1}B^{-1})\) does not cancel inner factors when \(AB \ne BA\).
Use the shoe-sock reversal law: \((AB)^{-1} = B^{-1}A^{-1}\).
▲ Exam Pacing & Verification Strategy — Systems of Linear Equations & Row Reduction
Fast Matrix & Vector Verification (University Linear Algebra & Matrix Theory): Check every \(2\times 2\) or \(3\times 3\) eigenvalue computation using the trace and determinant invariants: \(\sum \lambda_i = \operatorname{tr}(A)\) (sum of diagonal entries) and \(\prod \lambda_i = \det(A)\).
Level 1 · Foundations
Convert the matrix into Reduced Row Echelon Form (RREF): \[ M = \begin{pmatrix} 1 & -2 & 1 \\ 2 & -4 & 5 \end{pmatrix}. \]
Level 2 · Medium — The Existence & Uniqueness Theorem and Solution Invariance
Every linear system has either no solution, exactly one unique solution, or infinitely many solutions. This fundamental trichotomy is determined completely by the pivot positions in the augmented matrix.
● Theorem 2.1 & Proof · Invariance of Solution Sets Under Row Operations
Theorem: Applying any sequence of elementary row operations to the augmented matrix \( [A \mid \mathbf{b}] \) preserves the solution set of the linear system \( A\mathbf{x} = \mathbf{b} \).
Proof: It suffices to verify each elementary row operation individually: • Row Interchange (\( R_i \leftrightarrow R_j \)): Swapping two equations changes only their presentation order in the conjunction of statements \( E_1 \land \dots \land E_m \). Conjunction is commutative, so the solution set is unchanged. • Row Scaling (\( R_i \leftarrow c R_i, c \neq 0 \)): If \( \mathbf{x} \) satisfies equation \( E_i: \sum a_{ik}x_k = b_i \), multiplying both sides by \( c \) shows \( \mathbf{x} \) satisfies \( c E_i \). Conversely, since \( c \neq 0 \), multiplying \( c E_i \) by \( 1/c \) recovers \( E_i \). Hence \( \mathbf{x} \) satisfies \( E_i \iff \mathbf{x} \) satisfies \( c E_i \). • Row Replacement (\( R_i \leftarrow R_i + c R_j, j \neq i \)): If \( \mathbf{x} \) satisfies both \( E_i \) and \( E_j \), it satisfies \( E_i + c E_j \). Conversely, if \( \mathbf{x} \) satisfies the new system, it satisfies \( E_j \) (which was untouched) and \( E_i + c E_j \); subtracting \( c E_j \) recovers the original equation \( E_i \). Since each operation is reversible and preserves the solution set, any finite composition of row operations preserves the exact solution set. \(\blacksquare\)
● Theorem 2.2 · Existence and Uniqueness (Rouché–Capelli Theorem)
Let \( [A \mid \mathbf{b}] \) be the augmented matrix of a linear system with \( n \) unknowns, and let \( [U \mid \mathbf{c}] \) be its row echelon form.
Consistency Criterion: A linear system is consistent (possesses at least one solution) if and only if the rightmost column of the augmented matrix is NOT a pivot column. In other words, there is no row of the form: \[ \begin{pmatrix} 0 & 0 & \dots & 0 & | & d \end{pmatrix} \quad \text{with } d \neq 0. \]
Uniqueness vs. Infinitude: If the system is consistent: • Unique Solution: Exactly when every column of \( A \) contains a pivot (no free variables, \( \text{rank}(A) = n \)). • Infinitely Many Solutions: When there is at least one column of \( A \) without a pivot (at least one free variable, \( \text{rank}(A) < n \)).
⊙ Explorer · Two lines, one system
interactive
The two equations, the system's type, and its solution
quantity
value
Drag to rotate, scroll to zoom · loads a small 3D library on first use
system typeunique solution
solution\((3.000, 2.000)\)
Eq. 1 is fixed at \(x + y = 5\) (indigo). Eq. 2 is \(a \cdot x -y = c\) (amber), which at default \(a = 1\), \(c = 1\) is \(x - y = 1\). Drag a to −1 to make the lines parallel, then adjust \(c\) to observe both dependent (\(c = -5\), identical lines) and inconsistent (\(c \ne -5\), parallel lines) cases.
Geometric representation of the linear system \( x + y = 5 \) and \( x - y = 1 \). The unique solution \( (3, 2) \) is the single point where the two lines intersect.
Level 2 (Medium) — Worked Example · Parametric Vector Form for Consistent Underdetermined Systems
Problem. Express the solution set of the system in parametric vector form: \[ \begin{aligned} x_1 - 2x_2 + x_3 + 3x_4 &= 4 \\ 2x_1 - 4x_2 + 3x_3 + 8x_4 &= 11 \end{aligned} \]
Step 2 · Identify Basic and Free Variables: Pivots are in columns 1 and 3 \(\implies x_1, x_3\) are basic variables. Columns 2 and 4 lack pivots \(\implies x_2 = s\) and \(x_4 = t\) are free parameters (\(s, t \in \mathbb{R}\)).
Geometric Interpretation: The solution set is a 2-dimensional affine plane in \( \mathbb{R}^4 \) passing through particular solution \( \mathbf{x}_p = (1, 0, 3, 0)^T \) spanned by the null space vectors.
Level 2 · Medium
Find all solutions to the homogeneous linear system: \[ \begin{aligned} x_1 + 3x_2 - 2x_3 &= 0 \\ 2x_1 + 6x_2 - 4x_3 &= 0 \end{aligned} \]
💡 Hint 1 of 3
Set up and row reduce the coefficient matrix: \(\begin{pmatrix} 1 & 3 & -2 \\ 2 & 6 & -4 \end{pmatrix} \xrightarrow{R_2 \leftarrow R_2 - 2R_1} \begin{pmatrix} 1 & 3 & -2 \\ 0 & 0 & 0 \end{pmatrix}\).
💡 Hint 2 of 3
Pivot is in column 1 (\(x_1\) basic); columns 2 and 3 have no pivots (\(x_2 = s, x_3 = t\) free).
In advanced applications, linear systems frequently contain physical or engineering parameters \( k \in \mathbb{R} \). Determining bifurcation points where a system transitions between unique, infinite, and zero solutions requires rigorous analysis of leading variables and determinant degeneration.
● Theorem 2.3 · Affine Structure of Solution Sets
Theorem: Let \( A\mathbf{x} = \mathbf{b} \) be a consistent linear system, and let \( \mathbf{x}_p \) be any particular solution such that \( A\mathbf{x}_p = \mathbf{b} \). Then the complete solution set \( S \) is given by: \[ S = \mathbf{x}_p + \operatorname{Null}(A) = \{ \mathbf{x}_p + \mathbf{x}_h : A\mathbf{x}_h = \mathbf{0} \}. \]
Proof: 1. Suppose \( \mathbf{x} = \mathbf{x}_p + \mathbf{x}_h \) with \( A\mathbf{x}_h = \mathbf{0} \). Then: \[ A\mathbf{x} = A(\mathbf{x}_p + \mathbf{x}_h) = A\mathbf{x}_p + A\mathbf{x}_h = \mathbf{b} + \mathbf{0} = \mathbf{b}. \] Thus every vector of the form \( \mathbf{x}_p + \mathbf{x}_h \) is a solution. 2. Conversely, let \( \mathbf{x} \) be any arbitrary solution satisfying \( A\mathbf{x} = \mathbf{b} \). Define \( \mathbf{x}_h = \mathbf{x} - \mathbf{x}_p \). Then: \[ A\mathbf{x}_h = A(\mathbf{x} - \mathbf{x}_p) = A\mathbf{x} - A\mathbf{x}_p = \mathbf{b} - \mathbf{b} = \mathbf{0}. \] Thus \( \mathbf{x}_h \in \operatorname{Null}(A) \), so \( \mathbf{x} = \mathbf{x}_p + \mathbf{x}_h \in \mathbf{x}_p + \operatorname{Null}(A) \). \(\blacksquare\)
⚠️ Common Traps & University Pitfalls · Linear Systems
Dividing by Parameter Expressions: During row operations with parameter \( k \), performing \( R_i \leftarrow \frac{1}{k-2} R_i \) assumes \( k \neq 2 \). You must explicitly bifurcate your analysis: treat \( k = 2 \) as an independent case before dividing!
Overdetermined vs. Inconsistent: Having more equations than unknowns (\( m > n \)) does NOT mean the system has no solution. If equations are linearly dependent, an overdetermined system can have a unique solution or even infinitely many solutions.
Free Variables vs. Free Parameters: A variable is free only if its corresponding column in \( A \) lacks a pivot in REF. Never arbitrarily choose a basic variable as a free parameter.
Level 3 (Advanced) — Worked Example · Complete Parameter Bifurcation Analysis
Problem. Determine all values of the parameter \( k \in \mathbb{R} \) for which the linear system has (a) a unique solution, (b) infinitely many solutions, or (c) no solution: \[ \begin{aligned} x + y + kz &= 2 \\ 3x + 4y + 2z &= k \\ 2x + 3y - z &= 1 \end{aligned} \]
Step 3 · Analyze Row 3: \( (k - 3)z = 3 - k \): • Case 1 (\( k \neq 3 \)): The coefficient \( k - 3 \neq 0 \), so there is a pivot in row 3 column 3. All three columns of \( A \) have pivots \(\implies\) Unique solution for all \( \mathbf{k \neq 3} \) (with \( z = -1 \)). • Case 2 (\( k = 3 \)): Row 3 becomes: \[ \begin{pmatrix} 0 & 0 & 3 - 3 & | & 3 - 3 \end{pmatrix} = \begin{pmatrix} 0 & 0 & 0 & | & 0 \end{pmatrix}. \] The system is consistent and column 3 lacks a pivot (\( z \) is free) \(\implies\) Infinitely many solutions when \( \mathbf{k = 3} \). • Case 3 (No Solution): For row 3 to represent a contradiction \( 0 = d \neq 0 \), we would require \( k - 3 = 0 \) and \( 3 - k \neq 0 \), which is impossible since \( 3 - 3 = 0 \). Hence there is no value of \( k \) for which the system is inconsistent.
Level 3 · Advanced / University Rigor
Find the general solution in parametric vector form for the underdetermined linear system: \[ \begin{aligned} x_1 + 2x_2 - 3x_3 + x_4 + 2x_5 &= 3 \\ -x_1 - 2x_2 + 4x_3 - 2x_4 - x_5 &= -2 \\ 2x_1 + 4x_2 - 5x_3 + x_4 + 5x_5 &= 7 \end{aligned} \]
Consider the following system of linear equations represented by the augmented matrix: \[ \begin{pmatrix} 1 & 2 & | & 5 \\ 2 & -1 & | & 0 \end{pmatrix} \]. Use row reduction to transform the matrix into row-echelon form and determine the unique solution \( (x, y) \) for the system. What is the value of \( x \)?
💡 Hint 1 of 3
We are given the augmented matrix: \(\begin{pmatrix} 1 & 2 & | & 5 \\ 2 & -1 & | & 0 \end{pmatrix}\).
💡 Hint 2 of 3
To transform this matrix into row-echelon form, we can perform the following row operation: \( R_2 \leftarrow R_2 - 2R_1 \). \(\begin{pmatrix} 1 & 2 & | & 5 \\ 2 - 2(1) & -1 - 2(2) & | & 0 - 2(5) \end{pmatrix}\).
💡 Hint 3 of 3
Use the resulting form to finish: \(x + 4\).
We are given the augmented matrix: \[ \begin{pmatrix} 1 & 2 & | & 5 \\ 2 & -1 & | & 0 \end{pmatrix} \]
To transform this matrix into row-echelon form, we can perform the following row operation: \( R_2 \leftarrow R_2 - 2R_1 \).
\[ \begin{pmatrix} 1 & 2 & | & 5 \\ 2 - 2(1) & -1 - 2(2) & | & 0 - 2(5) \end{pmatrix} \]
\[ \begin{pmatrix} 1 & 2 & | & 5 \\ 0 & -5 & | & -10 \end{pmatrix} \]
Now, we can perform another row operation: \( R_2 \leftarrow R_2 / -5 \).
\[ \begin{pmatrix} 1 & 2 & | & 5 \\ 0 & 1 & | & 2 \end{pmatrix} \]
This matrix is now in row-echelon form. The corresponding system of equations is:
\( x + 2y = 5 \)
\( y = 2 \)
Substitute the value of \( y \) into the first equation:
\( x + 2(2) = 5 \)
\( x + 4 = 5 \)
\( x = 1 \)
Therefore, the unique solution is \( (1, 2) \), and the value of \( x \) is 1.
● Master Atlas of the 9 Main Parent Functions & Universal Transformation Law
Every algebraic and elementary transcendental model is built by transforming one of the nine core parent functions via \(g(x) = a\,f(x - h) + k\), where \(|a|\) scales vertically (reflecting across the \(x\)-axis if \(a < 0\)), \(h\) shifts horizontally, and \(k\) shifts vertically:
⊙ Explorer · Linear Slope-Shift & Parent Functions Lab
interactive
Comparison of parent function \(f(x)\) and transformed function \(g(x) = a\,f(x - h) + k\) across integer inputs.
\(x\)
Parent \(f(x)\)
Transformed \(g(x)\)
Active Equationf(x) = x
Domain(−∞, ∞)
Range(−∞, ∞)
Vertex / AsymptotesAnchor (0, 0), Slope m = 1
Interceptsy-int: (0, 0) · x-int: (0, 0)
Starts on the linear family \(f(x) = a(x - h) + k\) with slope \(a\) and anchor point \((h, k)\). Drag \((h, k)\) directly on the coordinate plane or switch to any of the 9 parent families.
Systems of Linear Equations & Row Reduction — 6-Mark Structured Problem
6 pts
Calculator Active
For Systems of Linear Equations & Row Reduction, examine the quadratic-rate model \(f(x) = 3x^2 - 5x + 1\) on \(x \in [0, 3]\).
(a)2 pts
Compute \(f(0)\) and \(f(2)\).
Scoring Guideline & Justification
[M1]Substitutes x=0 and x=2(1 pt)
[A1]Obtains 1 and 3(1 pt)
(b)2 pts
Find the derivative/rate \(f'(x)\) and critical point \(x_c\).
Scoring Guideline & Justification
[M1]Differentiates to 6x - 5(1 pt)
[A1]Solves x_c = 5/6(1 pt)
(c)2 pts
Calculate the average rate of change from \(x = 0\) to \(x = 2\).