MTH 210 · Linear Algebra
Our notes
2 min readMatrix form
m equations in n unknowns: Ax = b, with A the m × n coefficient matrix. The augmented matrix is [A | b]. Homogeneous if b = 0 (always has x = 0).
Elementary row operations
- Swap two rows. 2. Multiply a row by a non-zero number. 3. Add a multiple of one row to another.
They do not change the solution set.
- Gaussian elimination: reduce to row echelon form, then back-substitute.
- Gauss-Jordan: continue to reduced row echelon form (leading 1s with zeros above and below).
Consistency (Rouché-Capelli)
- No solution if rank A < rank [A | b] (a row 0 = non-zero appears).
- Exactly one if rank A = rank [A | b] = n.
- Infinitely many if rank A = rank [A | b] < n: n − rank free variables.
Worked example (unique). x + y + z = 6, 2x − y + z = 3, x + 2y − z = 2.
R₂ − 2R₁: −3y − z = −9. R₃ − R₁: y − 2z = −4.
From the second: y = 2z − 4. Substitute: −3(2z − 4) − z = −9, so −7z + 12 = −9, z = 3; y = 2; x = 1.
Check in equation 2: 2 − 2 + 3 = 3 ✓; equation 3: 1 + 4 − 3 = 2 ✓. (1, 2, 3).
Worked example (infinitely many). x + 2y − z = 3, 2x + 4y − 2z = 6. The second is twice the first: rank 1, n = 3, two free variables. x = 3 − 2s + t, y = s, z = t.
General solution: (3, 0, 0) + s(−2, 1, 0) + t(1, 0, 1).
Structure: general solution = one particular solution + the general solution of Ax = 0 (the null space).
Worked example (none). x + y = 2, x + y = 5: R₂ − R₁ gives 0 = 3. Inconsistent.
A system with a parameter
Worked example. For which k does x + y = 1, 2x + ky = 3 have a unique solution? det = k − 2 ≠ 0, so k ≠ 2. If k = 2: R₂ − 2R₁ gives 0 = 1, no solution.
Cramer's rule (square, det A ≠ 0)
xᵢ = det Aᵢ / det A, where Aᵢ is A with column i replaced by b.
Worked example. 2x + y = 5, x − y = 1: det A = −2 − 1 = −3; det A₁ = det [5 1; 1 −1] = −5 − 1 = −6, so x = 2; det A₂ = det [2 5; 1 1] = 2 − 5 = −3, so y = 1.
Homogeneous systems
Ax = 0 with more unknowns than equations always has non-zero solutions. For a square A, there are non-zero solutions exactly when det A = 0.
Exams usually ask: solve by Gaussian elimination; decide consistency by comparing ranks; find the general solution with free parameters; values of a parameter giving none, one or infinitely many solutions; Cramer's rule.
Common mistake: doing an arithmetic slip in elimination and not checking. Always substitute the answer back into every original equation.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Interactive Linear Algebra, 1.2 Row reduction
(opens textbooks.math.gatech.edu in a new tab)
Margalit and Rabinoff, Interactive Linear Algebra, Interactive Linear Algebra, 1.2 Row reduction, GNU FDL · licence
-
Interactive Linear Algebra, 1.1 Systems of linear equations
(opens textbooks.math.gatech.edu in a new tab)
Margalit and Rabinoff, Interactive Linear Algebra, Interactive Linear Algebra, 1.1 Systems of linear equations, GNU FDL · licence
-
Interactive Linear Algebra, 1.3 Parametric form
(opens textbooks.math.gatech.edu in a new tab)
Margalit and Rabinoff, Interactive Linear Algebra, Interactive Linear Algebra, 1.3 Parametric form, GNU FDL · licence
Watch
-
Introduction to Linear Algebra: Systems of Linear Equations
11 min · ≈ 50 MB · about ₦28
(opens youtube.com in a new tab)
-
Manipulating Matrices: Elementary Row Operations and Gauss-Jordan Elimination
11 min · ≈ 50 MB · about ₦28
(opens youtube.com in a new tab)
-
Inverse matrices, column space and null space | Chapter 7, Essence of linear algebra
12 min · ≈ 54 MB · about ₦30
(opens youtube.com in a new tab)
-
Solving Ax=b | MIT 18.06SC Linear Algebra, Fall 2011
9 min · ≈ 41 MB · about ₦23
(opens youtube.com in a new tab)
-
Determine if Linear System is Consistent with Gaussian Elimination | Linear Algebra
6 min · ≈ 27 MB · about ₦15
(opens youtube.com in a new tab)
-
1. The Geometry of Linear Equations
40 min · ≈ 180 MB · about ₦101
(opens youtube.com in a new tab)
-
2. Elimination with Matrices.
48 min · ≈ 216 MB · about ₦121
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.