MTH 114 · Introduction to Sets, Logic and Algebra
Our notes
1 min readFrom equations to matrices
The system
- x + y + z = 6
- 2x − y + z = 3
- x + 2y − z = 2
has coefficient matrix with rows (1, 1, 1), (2, −1, 1), (1, 2, −1) and augmented matrix with the right-hand sides (6, 3, 2) added as a last column. In short, AX = B.
Elementary row operations
- Swap two rows (R₁ ↔ R₂).
- Multiply a row by a non-zero number (R₂ → 3R₂).
- Add a multiple of one row to another (R₂ → R₂ − 2R₁).
They do not change the solution set.
Row echelon form
A matrix is in row echelon form when each leading (first non-zero) entry is to the right of the one above it and zero rows are at the bottom. Reduced echelon form also has leading 1s with zeros above and below them.
Gaussian elimination: worked example
Start: rows (1, 1, 1 | 6), (2, −1, 1 | 3), (1, 2, −1 | 2).
- R₂ → R₂ − 2R₁: (0, −3, −1 | −9). R₃ → R₃ − R₁: (0, 1, −2 | −4).
- Swap R₂ and R₃ to get a simpler pivot: (0, 1, −2 | −4) then (0, −3, −1 | −9).
- R₃ → R₃ + 3R₂: (0, 0, −7 | −21).
Back-substitute: −7z = −21 gives z = 3; y − 2(3) = −4 gives y = 2; x + 2 + 3 = 6 gives x = 1.
Check in the original equations: 1 + 2 + 3 = 6 ✓; 2 − 2 + 3 = 3 ✓; 1 + 4 − 3 = 2 ✓.
Kinds of system
- Unique solution: a pivot in every variable column.
- Infinitely many: consistent but fewer pivots than variables (free variables).
- Inconsistent: a row (0, 0, 0 | c) with c ≠ 0, which says 0 = c.
Example. x + y = 2 and 2x + 2y = 5: R₂ − 2R₁ gives (0, 0 | 1), so 0 = 1: no solution (parallel lines).
Exams usually ask: write the augmented matrix; reduce to echelon form; solve by Gaussian elimination; decide if a system has one, none or infinitely many solutions.
Common mistake: applying a row operation to the coefficient part but not to the right-hand column. Every operation acts on the whole augmented row.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick College Algebra 2e, 7.6 Solving Systems with Gaussian Elimination
(opens openstax.org in a new tab)
OpenStax, College Algebra 2e, 7.6 Solving Systems with Gaussian Elimination, CC BY-NC-SA 4.0 · licence
-
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
-
Gaussian elimination
(opens en.wikipedia.org in a new tab)
Wikipedia, Gaussian elimination, CC BY-SA 4.0 · licence
-
Margalit and Rabinoff, Interactive Linear Algebra (whole free textbook)
The whole Georgia Tech textbook online with interactive pictures.
(opens textbooks.math.gatech.edu in a new tab)
Margalit and Rabinoff, Interactive Linear Algebra, Margalit and Rabinoff, Interactive Linear Algebra (whole free textbook), GNU FDL · licence
-
OpenStax, College Algebra 2e (whole free textbook)
The whole book, free to read online or download as a PDF (the PDF is large: Wi-Fi).
(opens openstax.org in a new tab)
OpenStax, OpenStax, College Algebra 2e (whole free textbook), CC BY-NC-SA 4.0 · licence
Watch
-
Gaussian Elimination & Row Echelon Form
19 min · ≈ 86 MB · about ₦48
(opens youtube.com in a new tab)
-
One Solution, No Solution, or Infinitely Many Solutions - Consistent & Inconsistent Systems
8 min · ≈ 36 MB · about ₦20
(opens youtube.com in a new tab)
-
Row Echelon Form of the Matrix Explained | Linear Algebra
11 min · ≈ 50 MB · about ₦28
(opens youtube.com in a new tab)
-
Consistent and inconsistent systems | Algebra II | Khan Academy
5 min · ≈ 23 MB · about ₦13
(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.