1.1 Systems of Linear Equations
Why linear algebra?
- Find the solution set of a system of linear eqs.
- How many solutions, if any?
Examples:
\((x_1, x_2) = ?\)
\(\Rightarrow\) intersection of two lines
one solution
none
infinitely-many
\((x_1, x_2) = ?\)
\(\Rightarrow\) intersection of two lines
one solution
none
infinitely-many
intersection of 3 planes
In matrix notation the coefficient matrix is
The augmented matrix of the system is
Solution of:
From the first equation, we can express \(x_1\) in terms of \(x_2\):
Substituting this into the second equation:
Now, solve for \(x_1\):
Unique solution: \((10, -2)\)
Matrix way:
Eliminate \(x_1\) (the first column) from the second row. Multiply row 1 by \(-4\):
Add row 1 to row 2:
"triangular form"
Eliminate \(x_2\) from row 1. Add to row 1 \(-8\) times row 2:
Multiply row 1 by \(-1/4\) and multiply row 2 by \(-1\):
Page 5
The things we did to the matrix are called Elementary Row Operations (ERO's).
ERO's do NOT change the solution set of the system.
ERO's are reversible.
Two matrices are row equivalent if one can be transformed into another by ERO's.
So
Page 6
careful! two systems are equivalent if they have the same solution set.
example:
try to keep \( x_1 \) in row 1, get rid of it in other rows
row 3: \(0 \cdot x_1 + 0 \cdot x_2 + 0 \cdot x_3 = -6\)
\(0 = -6\)
this means the system is inconsistent \(\rightarrow\) no solution
Zero row \(\rightarrow\) arbitrary solution in one or more variables
row 3: \(0 = 0\)
\(0 \cdot x_1 + 0 \cdot x_2 + 0 \cdot x_3 = 0 \rightarrow\) at least one of them is arbitrary