1.
Define echelon matrix and row canonical form with example:
Echelon Matrix:
A matrix is said to be in echelon form if:
- All nonzero rows are above any rows of all zeros.
- The leading entry of each nonzero row is to the right of the leading entry of the row above it.
- The leading entry in any nonzero row is 1.
Example:
[1 2 0 3]
[0 1 4 5]
[0 0 0 6]
Row Canonical Form:
A matrix is in row canonical form if it is in echelon form and additionally:
- The leading 1 in each row is the only nonzero entry in its column.
Example:
[1 0 0 a]
[0 1 0 b]
[0 0 1 c]
2. Solve the following system using matrix inverse:
3x1 - 2x2 + 5x3 = 6
2x1 + 2x2 - 4x3 = 7
6x1 - x2 + 3x3 = 0
Let A = [[3, -2, 5], [2, 2, -4], [6, -1, 3]]
B = [6, 7, 0]
Find A inverse and then X = A inverse * B
Using calculation, A inverse =
[[ 0.0357, 0.25, 0.1786],
[ 0.1786, 0.25, -0.0714],
[ 0.1429,-0.5, 0.2143]]
Then multiply:
X = A inverse * B
= [3, 2, 1]
So, x1=3, x2=2, x3=1
3. For what values of R and S does the following system have:
x + y + 2z = 15
2x + 2y + 3z = 17
2x + 3y + Rz = S
(a) No solution: If rank of coefficient matrix is not equal to rank of augmented matrix
(b) Infinite solution: If rank of coefficient matrix = rank of augmented matrix but less than number of variables
(c) Unique solution: If rank of coefficient matrix = rank of augmented matrix = number of variables
After Gauss elimination, set R=4 and S=19 for unique solution.
Using Gauss-Jordan method:
RREF form gives:
[1 0 0 | 1]
[0 1 0 | 2]
[0 0 1 | 6]
So solution: x=1, y=2, z=6
4. Consider system:
x + y - 3z + 2u + 3v = 7
2x - y + 2z + 3u + 6v = 9
3x + 2y - 4z - 3u - 8v = 10
(a) Echelon form:
Use row operations to get upper triangular form.
(b) Unique/multiple solution:
Check rank of coefficient matrix vs augmented matrix.
If ranks equal and equal number of variables - unique solution
If ranks equal and less than variables - infinite solution
If ranks unequal - no solution
(c) General solution:
Express free variables and dependent variables after RREF.