Professional Documents
Culture Documents
1
Course ✖ Linear Algebra
Linear equations and systems, matrix notation, solving a linear system, row
Memo/TL;DR operations, existence, uniqueness
Rollup Period 5
Type Textbook
File(s)
Chapter 1.1 1
Adding these two equations gives:
5x = 10
So x = 2. Substituting this value back into the first equation gives:
2(2) − y = 1
So y = 3. Therefore, the intersection of these two lines is (2, 3).
a) no solution
b) 1 solution
c) infinitely many solutions
Tutorial
2 variables = 2d
Lines can:
a) be parallel -inconsistent
b) intersect -consistent, unique
c) be on top of each other -consistent free var.
Matrix notation
The system:
x1 − 2x2 + x3 = 0
2x2 − 8x3 = 8
5x1 − 5x3 = 10
can be written as a coefficient matrix:
⎡1 −2 1 ⎤
0 2 −8
⎣5 0 −5⎦
or an augmented matrix:
⎡1 −2 1 0⎤
0 2 −8 8
⎣5 0 −5 10⎦
A matrix that has m rows and n numbers is a size m × n matrix.
Chapter 1.1 2
Solving a linear system
x1 − 2x2 + x3 = 0
2x2 − 8x3 = 8
5x1 − 5x3 = 10
⎡ 1 −2 1 0⎤
0 2 −8 8
⎣ 5 0 −5 10⎦
“Keep xn in the nth equation and eliminate it from the other equations.”
(1)For this we replace row 3 with:
⎡ 1 −2 1 0⎤
0 2 −8 8
⎣ 0 10 −10 10⎦
⎡ 1 −2 1 0⎤
0 1 −4 4
⎣ 0 10 −10 10⎦
Chapter 1.1 3
−10x2 + 40x3 = −40
10x2 − 10x3 = 10
30x3 = −30
1
if we multiply the new row 3 by 30 we get:
⎡ 1 −2 1 0⎤
0 1 −4 4
⎣0 0 1 −1⎦
And now we just solve it
x3 = −1
x2 − 4x3 = 4 = x2 + 4
x2 = 0
x1 − 2x2 + x3 = 0
x1 − 1 = 0
x1 = 1
Elementary row operations
1) Replacement: Replace one row by the sum of itself an a multiple of another row (tagged
(1) in the example) → add/subtract
2) Interchange: Swap 2 rows
Row equivalent
Chapter 1.1 4
If 2 rows are swapped they can be swapped back etc
Chapter 1.1 5
Check
2. What is a matrix?
Each equation is a row, and the coefficients are the columns. We call this a coefficient
matrix. Add the right side of each equation as a final column and it becomes an augmented
matrix.
Chapter 1.1 6
Replacement, and scaling
There is a sequence of row operations that transforms one matrix into the other one
6. What are the two questions to consider when determining the existence and uniqueness
of a solution to a linear system?
Is it consistent (i.e does it have a solution)? Is it unique (is there only one solution)?
Chapter 1.1 7