Alg1131W10T1 - Gaussian elimination and back substitution

Sunday, 13 May 2018

11:28 PM

Untitled picture.png Machine generated alternative text:
Let's solve the system of linear equations: 
— 2X2 + 3. — 
—1 
2X1 — + 3. — 
4X1 + — 
These equations can be represented by the augmented matrix 
-2 
-1 
For the next step, we perform the row operation: 
= R3_4 RI 
O R2=-3 R2 
OR2=3R2 
@ R2=R2/3 
1 
2 
4 
1 
2 
O 
1 
O 
1 
o 
O 
3 
3 
—1 
3 
3 
—13 
3 
—3 
—13 
3 
—1 
—13 
1 
5 
5 
OR2=R2-2R1 
@ R3-4 RI 
O R3-2R2 
OR2=2R1-R2 
Now we perform the row operation: 
OR2=2R1-R2 
O R3-2R2 
Rescale by: 
Finally, perform the row operation: 
1 
-2 
-1 
9 
-2 
3 
9 
-2 
1 
9 
1 
5 
1 
1 
3 
1 
1 
1 
1 

Untitled picture.png Machine generated alternative text:
O R3=3R1+R2 
O R3+9R2 
O R3=2R3+9R1 
@ R3-9R2 
The matrix is now in row-echelon form. Thus; back substituting; we find 
-2 
3 
—1 
1 
1
Untitled picture.png Machine generated alternative text:
O R3=3R1+R2 
O R3+9R2 
O R3=2R3+9R1 
@ R3-9R2 
The matrix is now in row-echelon form. Thus; back substituting; we find 
-2 
3 
—1 
1 
1 

Untitled picture.png Machine generated alternative text:
leading row of a matrix is 
leading entry of a leading row 
leading column of a matrix is 
O 
O 
O 
O 
O 
O 
a row which staffs with a zero 
a row which is followed by other rows 
a row which is above a row of zeros 
a row which is not all zeros. 
the left-most non-zero entry 
the left-most zero entry 
the right-most non-zero entry 
the right-most zero entry. 
a column which contains a leading 
entry 
a column which contains all leading 
O 
entries 
a column which is followed by other 
O 
columns 
a column which contains a non-zero 
O 
entry
Untitled picture.png Machine generated alternative text:
leading row of a matrix is 
leading entry of a leading row 
leading column of a matrix is 
O 
O 
O 
O 
O 
O 
a row which staffs with a zero 
a row which is followed by other rows 
a row which is above a row of zeros 
a row which is not all zeros. 
the left-most non-zero entry 
the left-most zero entry 
the right-most non-zero entry 
the right-most zero entry. 
a column which contains a leading 
entry 
a column which contains all leading 
O 
entries 
a column which is followed by other 
O 
columns 
a column which contains a non-zero 
O 
entry 

Untitled picture.png Machine generated alternative text:
An augmented matrix (A I b) has been reduced to row-echelon form (U I y). This means that [select all that apply] 
any all-zero rows are at the bottom of the matrix 
any all-zero columns are at the right of the matrix 
in every leading row; the leading entry is further to the right than the leading entry in any higher row 
there is a solution to the corresponding system 
all entries below a leading entry are zero. 

Untitled picture.png Machine generated alternative text:
Let's solve the following system of linear equations using the matrix approach: 
In matrix form this is represented by the augmented matrix (A I b) where 
is the matrix of coefficients and 
b 
is the right-hand side vector. 
Note: 
• The Maple syntax for the matrix 
• The Maple syntax for a vector is<l , 2 , 
If we row reduce the matrix (A I b) we may get to the row-echelon form 
x —y+z=O 
2m — y + 3z 
x — 2y + 2z 
1 
o 
0 
a 
1 
2 
o 
b 
c 
where a 
4 
Now we may work backwards to find that z 
O 
3 
and c 
O 
6 
then y 
—1 
1 
o 
O 
and finally x 
-2
Untitled picture.png Machine generated alternative text:
Let's solve the following system of linear equations using the matrix approach: 
In matrix form this is represented by the augmented matrix (A I b) where 
is the matrix of coefficients and 
b 
is the right-hand side vector. 
Note: 
• The Maple syntax for the matrix 
• The Maple syntax for a vector is<l , 2 , 
If we row reduce the matrix (A I b) we may get to the row-echelon form 
x —y+z=O 
2m — y + 3z 
x — 2y + 2z 
1 
o 
0 
a 
1 
2 
o 
b 
c 
where a 
4 
Now we may work backwards to find that z 
O 
3 
and c 
O 
6 
then y 
—1 
1 
o 
O 
and finally x 
-2 

Untitled picture.png Machine generated alternative text:
i) Use the matrix approach to solve the following system of equations 
+ = 19 
3m — 7y 
-34 
Yes, we know you can do this directly, but it is very useful for you to practice setting up a matrix system; and peforming Gaussian elimination' 
That will be put to good use in the next part of this question. 
Written as the vector; the solution is 
y 
19 
Note: remember, the Maple notation for the vector 
is <19,-34> 
-34 
ii) Use the matrix approach to solve the following system of equations 
—1 
-2 
-3 
-2,-3 
Write your solution as the vector 
Note: remember to write a vector like 
—1 
-2 
as <—1 , 
—3 

Untitled picture.png Machine generated alternative text:
c: 
1212 
1203 
1324 
-2 
LinearSolve(C, b) 
-2 
-2 
2

 

Created with Microsoft OneNote 2016.