Linear Algebra
Chapter 1/Matrices and Systems of Equations

1.1Systems of Linear Equations

Everything downstream — determinants, rank, eigenvectors, least squares — is ultimately a question about a linear system. This section fixes the vocabulary and the one legal move set: the three elementary row operations.

What you must be able to do

  • A linear system has 0, 1, or infinitely many solutions. Never exactly two.
  • Three row operations preserve the solution set: swap, scale by a nonzero constant, add a multiple of one row to another.
  • The augmented matrix is just bookkeeping — the are placeholders you can drop until the end.
  • A strictly triangular system (upper triangular, nonzero diagonal) is solved by back substitution and has a unique solution.

A linear equation in unknowns is . Stack of them and you have an linear system:

Definition · Consistency
A solution is an ordered -tuple satisfying every equation. The system is consistent if at least one solution exists and inconsistent if none does. The set of all solutions is the solution set.
★Only three outcomes
For a system each equation is a line: the lines meet at a point (one solution), are parallel (none), or coincide (infinitely many). The same trichotomy holds for every system — exactly one, none, or infinitely many. If you ever produce 'exactly 2 solutions' on an exam, you've made an arithmetic error.

Equivalent systems

Definition
Two systems in the same variables are equivalent if they have the same solution set. Three operations always produce an equivalent system:
  1. 1Interchange two equations (rows).
  2. 2Multiply an equation by a nonzero real number.
  3. 3Add a multiple of one equation to another.
!Exam trap
Operation II fails if the scalar is : you'd replace a real constraint by and potentially gain solutions. That 'nonzero' is not decoration — it's exactly why these three operations are reversible, which is what makes the systems equivalent.

Triangular form and back substitution

Definition · Strict triangular form
A system is strictly triangular if in the th equation the coefficients of the first variables are zero and the coefficient of is nonzero. Equivalently: the coefficient matrix is upper triangular with no zeros on the diagonal.

Such a system unravels from the bottom: solve the last equation for , substitute upward, repeat. Every value is forced, so the solution is unique. The whole point of Gaussian elimination is to manufacture this shape.

Worked example

Elimination to triangular form

0/5 steps
Solve the system by row reducing the augmented matrix.
→Shortcut
Choose your pivot to keep the arithmetic clean. If the top-left entry is or ugly, swap rows first (operation I) — that's free and it's exactly what the algorithm allows.
Check your work

Row reduction / rank / null space

Exact fraction arithmetic — type entries like 3, -2, or 1/2. One row per line.

12-11
24-30
1215
→
1203
0012
0000
rank
2
nullity
2
cols (n)
4
pivot cols
1, 3
Basis for N(A)
-2
1
0
0
-3
0
-2
1
Basis for the column space — original columns 1, 3
1
2
1
-1
-3
1

Row reduce anything and compare against your hand work step by step.

Check yourself

Q1
A system of linear equations in unknowns is found to have two distinct solutions. How many solutions does it have in total?
T / F
Multiplying one equation of a system by produces an equivalent system.
T / F
If an system can be reduced to strict triangular form, it has exactly one solution.