Unit 1 PT 3 Gaussian Elim Part 2
Unit 1 PT 3 Gaussian Elim Part 2
R3 R 3 + R 2
The free variables correspond to the columns without pivot entries. In
this example, the free variables are x3 and x4 (columns 3 and 4 have no
pivot entries), so we may take x4 = t and x3 = s.
We have x2 = 2 – x3 – 3x4 = 2 – s – 3t and
x1 = 2 – 3x2 – x3 – 5x4 = 2 – 3(2 – s – 3t) – s – 5t = –4 + 2s + 4t.
Solutions: = , s , t .
Example: Long system (page 1)
Solve the following system of linear equations.
R2 R2 / (–5)
R3 R3 + 10R2
The last row gives the false equation 0 = –16; there is no solution.
If the last row were replaced with [0 0|0], then we would have a unique
solution (despite the presence of a 0 = 0 equation).
If each of the last two rows were replaced with [0 0|0], then we would have
infinitely many solutions.
Homogeneous systems
• A system of linear equations is homogeneous when the right side of
each equation is zero (that is, the augmented matrix is [A | 0], where
0 is the column consisting of as many zeros as there are rows in A).
For every homogeneous system, there is at least one solution, namely
the trivial solution = , so either
• the trivial solution is the unique solution, or
• there are infinitely many solutions (and the trivial solution is one of
the solutions).
For example, gives only the trivial solution, and gives infinitely many
solutions ( = t, t , if x1 and x2 are the variables in order).
Square coefficient matrices:
Unique Solution Theorem, version 1
Theorem. Suppose that A is an n by n matrix. The following statements
are equivalent (that is, all are true or all are false).
1. For every n by 1 column vector b, a system of linear equations with
augmented matrix [A | b] has a unique solution.
2. A is row equivalent to an upper-triangular matrix in which all
diagonal entries are nonzero.
3. The only solution to a homogeneous system of linear equations
with augmented matrix [A | 0] is the zero vector of length n.