Matrix Module 12
Matrix Module 12
Matrix Module 12
2.1 MATRIX
Definition 2.1:
A rectangular array or arrangement of numbers of the form
a11 a12 a13 . . . a1n
a . . . a 2 n
is called an × matrix, with rows and columns
21 a 22 a 23
A = a31 a32 a33 . . . a 3n
M M M M M
a m1 am 2 a m3 . . . a mn
Hence,
,
, ⋯ ,
and ⋮ represent respectively the − ℎ row and the − ℎ
column of the matrix , and
represents the entry in the matrix on the − ℎ row and
− ℎ column. We often write the matrix as =
× , ∀ = 1: , ∀ = 1: -denotes
1
The rows are (1 0 4 7 ) , (3 − 2 3 1) and (5 9 − 6 − 8) , and the columns are 3 ,
5
0 4 7
− 2 , 3 and 1 . Here a11 = 1 , a12 = 0 , a13 = 4 , a14 = 7 , a 21 = 3, a 22 = −2 , a 23 = 3 ,
9 − 6 − 8
= 1 , etc. and has 12 elements.
a 24
2. column matrix: A matrix having exactly one column(of size × 1 is called a column
row vector
matrix
4
Example 2.3: 3 is a column matrix.
− 6
and is denoted as 0.
3. A zero matrix or null matrix: A matrix in which every entry is zero is called the zero matrix
0 0
0 0
Example 2.4: , 0 0 are the zero matrices
0 0 0 0
4. A matrix, in which the numbers of rows and the number of columns are equal, that is, an %
matrix, is called a square matrix of order n.
1 3 5
4 0
Example 2.5: and 4 6 0 are square matrices.
3 1 1 − 2 8
For a square matrix A = (aij )n×n the elements a ii ' s are called the diagonal elements. The
−4 2 3
Hence, the main diagonal extends from the upper left corner of A to the lower right
corner. For = & 0 5 7*, the diagonal elements are −4,5 and 8.
1 10 8
matrix with 1’, on the main diagonal and zeros elsewhere) is called the identity matrix
7. A scalar matrix of order n in which every diagonal element is unity (one)(or is a square
8. A square matrix having only zeros below its diagonal is called upper triangular matrix. A
square matrix having only zeros above its diagonal is called lower triangular matrix.
A matrix that is either upper triangular or lower triangular is called triangular matrix.
1 0 0 1 2 0
− 3 0 − 3 7
Example 2.10: 2 0 0 , are lower triangular matrices and 0 0 0 ,
0 4 3 6 4 0 0 3 0 4
2 0 0
are upper triangular matrix.
The matrix = &0 1 0 * -is both upper and lower triangular matrix.
0 0 −5
Definition 2.2: Two matrices and are equal (written = ) if and only if :
1. They have the same size
2. Corresponding entries are equal.
Definition 2.4:
If A and B are matrices of the same order, then sum of A and B , denoted by A + B , is the
new matrix of the same order obtained by adding the corresponding elements of A and B .
Similarly, the difference of A and B , denoted by A − B , is the matrix obtained by subtracting
the corresponding elements of A and B .
1 3 5 4 6 − 1
Example 2.13 1: If A = 4 6 0 and B = 3 8 2 , then
1 − 2 8 2 0 − 3
5 9 4 − 3 − 3 6
i) A + B = 7 14 2 ii) A − B = 1 − 2 − 2
3 − 2 5 − 1 − 2 11
5. α ( A + B ) = αA + αB
6. (α + β )A = αA + βA
7. α (βA) = (αβ ) A = β (αA)
4 0 2 10 9 −1
Example 2.15: Given = & 3 8* , = & 6 0 *, and = & 0 1 *.
−2 5 −2 7 −2 0
Compute – , + , and + + 3.
−4 0 4 0 2 10 6 10
Solution: − = &−3 −8*, + = & 3 8* + & 6 0*=& 9 8*
2 −5 −2 5 −2 7 −4 12
9 −1 27 −3
3 = 3 & 0 1 * = & 0 3*
−2 0 −6 0
6 10 27 −3 33 7
+ + 3 = & 9 8*+& 0 3 *=& 9 11*
−4 12 −6 0 −10 12
3 +
3 + ⋯ +
3 = C
D 3D
DE
× > ×F
The product can be performed only when = >(the number of columns of the first matrix
must be equal to the number of rows of the second matrix); in this case, the product matrix
is of size × F. When this happens, we say that the product is defined.
3 0 −1
1 −2 2
Example 2.16: Let = . / , = &−2 1 4 *. Then compute .
4 3 0
0 5 6
Solution: The 1, 1 −entry of is the dot product of row 1 of and column 1 of ,
3
computed by multiplying corresponding entries and adding the results
3 0 −1
1 −2 2 7 8 3
. / &−2 1 4 *=. /
4 3 0 6 3 8
0 5 6
1 2
−2 −4 3 1
Example 2.17: Given = &4 −1* , = . /. Then compute .
5 6 0 7
0 3
1 2 8 8 3 15
−2 −4 3 1
Solution: &4 −1* . / = &−13 −22 12 −3*
5 6 0 7
0 3 15 18 0 21
Note:
1. If exists, does it happen that exists and = ? The answer is not necessary yes.
First and exist if and only if × , and × . Even if this is so the sizes of and
are different ( is × and is × ) unless = . However even if =
we may have ≠ . See the examples below. They may be different sizes and if they are
the same size (That is,. and are square) the entries may be different.
2 2
Example 2.18: = 3,1, = . /. = 3,1 . / = 10
4 4
2 6 2
= . / 3,1 = . / ⟹ ≠
4 12 4
2 4 1 −3
=. / , = . /
1 5 −1 0
2 4 1 −3 −2 −6
= . /. /=. /
1 5 −1 0 −4 −3
1 −3 2 4 −1 −11
= . /. /=. /
−1 0 1 5 −2 −4
⟹ ≠
i) Symmetric matrix if A t = A
ii) Skew symmetric if A t = − A
2 3 − 5 2 3 − 5
Example 1.20: 1. A = 3 0 2 , A = 3 0 2 , ⇒ A t = A . Therefore, A is
t
− 5 2 1 − 5 2 1
symmetric.
0 − 2 0 2
2. A = , A t = = − A .Therefore, A is skew-symmetric
2 0 − 2 0
Let A and B be matrices such that addition and multiplication is defined. Then
( )
1. At
t
=A
2. ( A + B ) = A t + B t
t
3. ( AB ) = B t A t
t
4. (αA) = αA t , α - is a scalar
t
1
(
1
5. A = A − A t + A + A t
2 424 2 424
) ( )
1 3 1 3
Skew Symmetric
20 6 4 10 3 2
Solution:
4 6 −8 2 3 −4
0 −4 2 0 −4 2
The skew-symmetric matrix is = − K = & 4 0 −6* = & 4 0 −6*
−2 6 0 −2 6 0
1 0 2 5
Example 2.24: Find the matrix if + 2 . /=. /.
3 −1 3 −4
3
Solution: must be a 2 × 2 matrix. If = . / , the equation becomes
6 5
3 1 0 2 5
. / + 2. /=. /
6 5 3 −1 3 −4
3 2 0 2 5
. /+. /=. /
6 5 6 −2 3 −4
+2 3 2 5
⟹. /=. /
6+6 5−2 3 −4
1 3
2 1 3 −1 2 3 −1
Exercise 2.1:
1 0 1
M=. /. Then compute the following (where possible)
0 1 0
a) 3 − 4 b) + 2L c) + K d) K
3. Find if
1 0 5 2 1 2 7 2
a) 5 − . / = 3 − . / b) . / = . /
2 3 6 1 −1 2 −1 4
Example 2.26: The determinant of = 6 is 6 and the determinant of = −5 is −5.
Determinant of order two
Let A = 11 12 be a square matrix of order two. Then we define the determinant of A as
a a
a 21 a 22
a 11 a 12
det( A ) = A = = a11 a 22 − a 21 a12 .
a 21 a 22
3 4
Example 2.27: If A = , then A = 3 × 5 − 4 × 1 = 11
1 5
10 9
If = . / , then || = 107 − 09 = 70
0 7
Determinant of order three
a11 a12 a13
Let A = a 21 a 22 23
.Then
a a 32
a 33
31
A expanded along the 1st row. We can find the determinant of A by using expansion in terms
of any of the three rows (columns) at which + or - sign can be determined using the pattern
+ − +
− + − .
+ − +
1 2 3 1 2 2
Example 2.28: If A = − 2 4 5 ,then A = − 2 4 5
7 − 1 6 7 −1 6
= 1 × (4 × 6 − (− 1) × 5) − 2 × (− 2 × 6 − 7 × 5) + 3 × (− 2 × −1 − 7 × 4) = 45
3 5 0
Example 2.29: Find the || for = &−1 2 1*
3 −6 4
|| = 3 Q 2 1Q − −1 Q 5 0 5 0
Solution: We arbitrarily expand by the first column. Thus,
Q + 3Q Q
−6 4 −6 4 2 1
= 38 + 6 + 20 − 0 + 35 − 2
= 42 + 20 + 15 = 77
−6 4 3 4 3 −6
= 38 + 6 − 5−4 − 3 + 0 = 42 + 35 = 77
This example illustrates two important properties of expansion by cofactors.
First, the value of a determinant is the same regardless of which row or column selected and
second, expanding by a row or column containing zeros significantly reduces the number of
computations.
Determinant of n × n Matrix
a11 a12 a13 . . . a1n
a a 2 n
21 a 22 a 23 . . .
Let A = a31 a32 a33 . . . a3n be a matrix of size n × n . Let i be an integer such that
M M M M M
a m1 a m 2 a m3 . . . a mn
Solution: det ( A) = a11 det ( A11 ) − a12 det ( A12 ) + a13 det ( A13 ) − a14 det ( A14 ) (expanded along first
row)
−1 0 2 1 0 2 1 −1 2 1 −1 0
=1 1 − 2 − 3 -4 1 − 2 − 3 +3 1 1 − 3 -2 1 1 −2
1 2 4 0 2 4 0 1 4 0 1 2
= 1 × 10 − 4 × 2 + 3 × 13 − 2 × 6 = 29
2 0 6 −2
Example 2.31: Find det for = T−2 5 1 0U
4 0 2 1
2 1 0 −3
Solution: The row or column containing the most zeros is, for this matrix, the second column,
−2 1 0 2 6 −2 2 6 −2 2 6 −2
so we expand by it.
1 2 3
2 − 5
a) A= b) B = 2 0 0
9 4 −1 3 4
5 0 11 − 5 0
− 3 2 13 7 − 4 5 4 − 1 − 3
c) 0 1 5 0 0 d) 1 0 2 1
− 1 1 6 − 2
2 1 9 0 0
0 0 − 5
1 − 1 − 4 0 − 2 2
2. If matrix B is obtained from matrix A by multiplying the elements of one of the rows or
columns by a scalar k , then det( B ) = k det( A) .
a1 a2 a1 a2
Example 2.33: If = 2 , then find B =
αb1 αb2
b1 b2
Solution: = QX3 X3 Q = X Q3 3 Q = 2X
a1 a2 a3 αa1 αa 2 αa 3
Example 2.34: If b1 b2 b3 = 5 , then find the determinant of αb1 αb2 αb3
c1 c2 c3 α c αc αc3
X X X 0 0
3 2
a1 a2
=0.
ka1 ka2
1 2 − 3
Example 2.35: Find the determinant of A = 2 3 1
2 4 − 6
1 2 −3
Solution: || = V2 3 1 V = 0, because the third row is the scalar multiple of the first
2 4 −12
row.
5. If a matrix B is obtained from A by adding a multiple of a row (a column) to another row
a1 a2 a3
(Column), then det( A) = det(B ) .That is, if A = b1 b2 b3 , then
c c2 c3
3
a1 + kb1 a 2 + kb2 a3 + kb3
b1 b2 b3 = A
c1 c2 c3
6. If a row (column) of a matrix is zero, then its determent is zero (expansion by a zero row or
zero column, when it exists, makes the process trivial.)
1 3 6
Example 2.36: 0 0 0 =0
−5 8 7
7. The determinant of a matrix and its transpose are equal. That is, det ( A) = det A t ( )
a1 a2 a3 a1 b1 c1
That is, b1 b2 b3 = a 2 b2 c2 .
c1 c2 c3 a3 b3 c3
9. The determinant of a product of two matrices is the product of their determinants. That is,
( )
det ( AB ) = det ( A) det (B ). ⇒ det A n = (det ( A))
n
1 5 −7
Example 2.38: 2 3 1 = 0 , because the first and last row of the matrix are equal.
1 5 −7
2 0 0
11. The determinant of a diagonal matrix is the product of its diagonal elements.
Example 2.39: V0 3 0 V
0 0 −12
2 0 0
Solution: Expanding by the first row,
3 0 0 0 0 1
V0 3 0 V = 2Q Q − 0Q Q + 0Q Q
0 −12 0 −12 0 0
0 0 −12
= 23−12 + 0 + 0 = 2 × 3 × −12 = −72. This is the product of the
diagonal elements.
Exercise 2.3:
1. Find the determinant of the following matrices:
4 0 0 0 0
10 2 0 12
@8 12 0 0 0B
a) = T 6 3 0 1U b) = Y11 0 6 0 0Z
7 9 0 1
7 1 5 −1 0
0 −2 0 4
?3 2 5 −1 9A
2 0 6 −2
0 0 3 0 0
3 0 0 0
−2 5 1 0U
− 6 0 0 0 0
d) = T
0 2 0 0
4 0 12 −4
c) C = 0 0 0 − 5 0 e) A =
2 1 0 −3
0 0 11 0
0 0 0 0 9
0 0 0 0 4
1 0 0 0
> 2>
2. a) Find > so that Q Q = −12
4 >
b) If and are 3 × 3 matrices with || = 6, || = 3, then find |32K |
6 3
3. Given that V5 [ \ V = 8. Then find
] ℎ
5 [ \ 4 43 46 +] 3+ℎ 6+
a) V 6 3V b) V−25 −2\ −2[ V c)^ ] ℎ ^
] ℎ 10] 10ℎ 10 −5 −\ −[
denoted by A −1
1 2 7 −2
If A does not have an inverse, A is called singular (non-invertible).
4 1 −1
Example2. 42: Given = &10 6 3 *.Then || = 28 ≠ 0.
0 0 2
Therefore, is invertible.
How does one can find the inverse of an invertible matrix?
2.6.1 ADJOINT-DETERMINANT METHOD
MINORS, COFACTORS AND ADJOINT
Definition 2.10: Let A = (aij ) be a square matrix of order n and further let
be a square
denoted by adj ( A) .
9 1 5
= &1 6 0 *
2 3 −1
5 2 7
a) b) A = 0 − 4 2
1 −1 5
3 6 −9 0 3 1
Hence, A is invertible.
6 5 4 5 4 6
C11 = (−1)1+1 = −46 , C12 = (−1)1+ 2 = 39 , C13 = (−1)1+3 = −10
8 −1 7 −1 7 8
2 3 1 3 1 2
C 21 = (−1) 2+1 = 26 , C 22 = (−1)1+1 = −22 , C 23 = (−1) 2+3 =6
8 −1 7 −1 7 8
2 3 1 3 1 2
C 31 = (−1) 3+1 = −46 , C 32 = (−1) 3+ 2 = 7, C 33 = (−1) 3+ 3 = −2
6 5 4 5 4 6
t
− 46 39 − 10 − 46 26 − 8
adj ( A) = 26 − 22 6 = 39 − 22 7
− 8 7 − 2 − 10 6 − 2
− 46 26 − 8 − 23 13 − 4
A = adj ( A) = 39 − 22 7 = 392
1 − 11 72
1
−1
A 2
− 10 6 − 2 − 5 3 − 1
− 23 13 − 4 1 2 3 1 0 0
Check: A −1 A = 392 − 11 72 4 6 5 = 0 1 0
− 5 3 − 1 7 8 − 1 0 0 1
4 −3
Example 2.46: Find the inverse of the matrix
=. /
2 1
Solution: 6 = 1 , 6 = −2, 6 = 3, and 6 = 4
1 −2
Cofactor matrix of is = . /, and hence the adjoint of is
3 4
1
−2 K 1 3
Adjoint = K = . / =. /, and || = 10 ≠ 0.
4 3 −2 4
1 3
Therefore, -is invertible and hence the inverse of is J = . /.
_ −2 4
3
In general, the matrix = . / is invertible if and only if 5 − 63 ≠ 0, in which case
6 5
5 −3
J = `aJbc . /
−6
2 1 0
Example 2.47: Perform elementary row operations on the matrix A = − 4 2 7 .
1 9 0
2 1 0 1 9 0
R ←→ R
Solution: − 4 2 7 1 3
→
− 4 2 7
1 9 0 2 1 0
1 9 0 1 9 0 1 9 0
− 4 2 7 R2 → R2 + (4 R1 ) 0 38 7 R3 → R3 +(−2) R1 0 − 2 7
→
→
2 1 0 2 1 0 0 − 18 0
1 9 0 1 9 0
0 − 2 7 R3 → R3 + (−9 R2 ) 0 − 2 7
→
0 − 18 0 0 0 − 63
form.
Example 2.49: Determine which of the following matrices are in row-reduced form. If a
matrix is not in row-reduced form, state the condition that is violated.
1 0 6 0
1 0 0 3 0 1 5 0 0 0 1 1 0
a) 0 1 0 − 4 1 b) 0 0 0 1 c)
0 0 0 1
0 0 1 2 1 0 0 0 0
0 0 0 0
1 0 0 0
0 1 2 0 0 1 1 0 0
1 0 0
d) e) 0 1 0 9 f) 0 0 1 − 1
0 0 1 0
0 0 12 0 0 0 0 1
0 0 0 1
0 1 − 4 1 1 0 0
g) 1 0 0 h) 0 0 0 0
0 0 1 0 0 0 1
e) This matrix is not in row-reduced form. Conditions 2 and 4 are violated. The first
Solution: The matrices in parts (a)-(d) are in reduced-row echelon (row-reduced) form
nonzero entry in row 3 is a 2, not a 1.Also, column 2 contains a leading 1 and has
Example 2.50: Determine which of the following matrices are in row-echelon form. If a
matrix is not in row-echelon form, state the condition that is violated
1 9 0 1 5 0 0 3 2 0 4
a) 0 1 7 b) 0 0 1 6 c) 0 0 − 4 − 7
0 0 0 0 0 0 1 0 0 0 1
1 6 −3 1
0 1 4 − 8
− 8
e) 0 0 0
0 1
d)
0 1 12 20
0 1 10
0 0 0 5
c) This matrix is not in row-echelon form. Condition 2 is violated. The first nonzero
Solution: The matrices in parts (a) and (b) are in row echelon form.
1 0 4 0 7
0 0 0 0 1 0 0 0
1 1 − 5 0 1 1 0 6
b) d) f ) 0 1 − 4 − 7 g ) 0 1 0 − 7
0 0 0 0 0 0 1 9
0 0 0 1 0 0 − 1 1
0 0 0 0 0
Remarks:
1. Any m × n matrix A can be changed to row echelon form or reduced row echelon form
by applying appropriate sequence of elementary operations.
2. Different sequences of elementary row operations starting with same matrix A may yield
different row echelon forms of A .
3. Any different sequences of elementary row operations starting with same matrix A
always yield one and only one reduced row echelon form of A . This means, the reduced
echelon form of a matrix A is unique.
Example 2.51: Find the reduced row echelon form of the matrix
1 3 −2 0 0 2 0
2 6 − 5 − 2 4 − 3 − 1
A=
0 0 5 10 0 15 5
2 8 4 18 6
6 0
Solution: Adding −2 times the first row to the second and fourth rows gives
1 3 −2 0 20 0
0 0 − 1 − 2 0 − 3 − 1
0 0 5 10 0 15 5
0 8 0 18 6
0 4
Multiplying the second row by -1 and then adding -5 times the new second row to the third
row and -4 times the new second row to the fourth row gives
1 3 − 2 0 2 0 0
0 0 1 2 0 3 1
0 0 0 0 0 0 0
0 0 0 0 0 6 2
Interchanging the third and fourth rows and then multiplying the third row of the resulting
e
matrix by gives the row echelon form
1 3 − 2 0 2 0 0
0 0 1 2 0 3 1
0 0 0 0 0 1
1
3
0 0 0 0 0 0 0
Example 2.52: Using elementary row operations, transform the following matrix in to
reduced row echelon form:
2 0 − 6 − 8 1 0 − 3 − 4 1 0 − 3 − 4
R → 1R R3 → R3 −3R1
a) A = 0 1 2 3 2
2→
1
0 1 2 3 → 0 1 2 3
3 6 − 2 − 4 3 6 − 2 − 4 0 6 7 8
1 0 − 3 − 4 1 0 − 3 − 4 R → − 1R
R3 → R3 −6 R2 3 3
0 1 2 3 → 0 1 2 3 5 →
0 6 7
8 0 0 − 5 − 10
R2 → R2 − 2 R3
1 0 − 3 − 4 1 0 0 2
R1→ R1 + 3 R3
0 1 2 3 → 0 1 0 − 1
0 0 1 2 0 0 1 2
1 1 − 1 3
1 − 1 3 1
Example 2.53: Transform A = to row echelon form by applying suitable
3 5 − 7 1
2 1 2 3
row operation.
1 1 − 1 3 1 1 − 1 3
1 − 1 3 1 R2 → R2 − R1 0 − 2 4 − 2
Solution: R → R3 −3 R1
−1
3 5 − 7 1 3 0 2 − 4 − 8 R2 → R2
2 →
2 1 2 3 R4 → R4 − 2 R
0 − 1 4 − 3
1 →
−1
R3 → R
R3 → R − 2 R 10 3
1 1 − 1 3 3 2 1 1 −1 3
0 1 − 2 1 R4 → R4 + R 0 1 − 2 1
1
R4 → R4
2→ 2→
0 2 − 4 − 8 0 0 0 − 10
0 − 1 4 − 3 0 0 2 −2
1 1 −13 1 1 −1
3
0 1 − 2 1 R3 ↔ R4 0 1 − 2 1
→
0 0 0 1 0 0 1 − 1
0 0 1 − 1 0 0 0 1
1 1 −1
3
0 1 − 2 1
Therefore, the row echelon form of A is
0 0 1 − 1
0 0 0 1
3 − 2 8 9
Example 2.54: Find the reduced row echelon form of the matrix A = − 2 2 1 3
1 2 − 3 8
R3 → R + 2 R
3 2
3 − 2 8 9 1 0 9 12
R1 → R1 + R2 R3 → R3 − R
Solution: − 2 2 1 3 → − 2 2 1 3 1→
1 2 − 3 8 1 2 −3 8
1 0 9 12 1 0 9 12
R ↔ R2
0 2 19 27 3 → 0 2 − 12 − 4 R → 1 R
0 2 − 12 − 4 0 2 19 27 2 2
2 →
1 0 9 12 1 0 9 12
R3 → R3 − 2 R2
0 1 − 6 − 2 → 0 1 − 6 − 2 R → 1 R
0 2 19 27 0 0 31 31
3
3
31→
R1 → R −9 R
1 3
1 0 9 12 1 0 0 3
R2 → R2 + 6 R3
0 1 − 6 − 2 → 0 1 0 4
0 0 1 1 0 0 1 1
Exercise 2.7: Transform the following matrix in to reduced row echelon form
12 −4 1 1 1 −1 3
1
a) A = 1 0 − 7 b) A = − 1 −1 2
− 3
6 −4 −7 1
0 9
− 2 0 1 6
1 2 3 0 0 − 2 0 7 12
c) A = 4 5 6 d ) A = 2 4 − 10 6 12 28
7 9 2 4 − 5 6 − 5 − 1
8
1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1
3 1 2 6 0 1 2 3 0 1 2 3 0 1 2 3
a) ~ ~ ~ ~
− 1 2 5 − 4 0 2 5 − 3 0 0 1 − 9 0 0 1 − 9
2 3 7 2 0 3 7 0 0 0 1 − 9 0 0 0 0
1 0 0 1
0 1 0 21
0 0 1 − 9
0 0 0 0
Hence, rank( A ) = 3
1 2 3 − 1 1 2 3 − 1
b). 3 6 9 − 3 ~ 0 0 0 0
2 4 6 − 2 0 0 0 0
Therefore, rank ( B ) = 1
− 12 −4 1 1 1 −1 3
1
a) A = 1 0 − 7 b) A = − 1 −1 2
− 3
− 6 −4 −7 1
0 9
− 2 0 1 6
1 2 3 1 1 − 2 0 7 12
c) A = 1 6 6 d ) A = − 2 − 4 − 10 6 12 28
7 9 2 4 − 5 6 − 5 − 1
0
3 6
Example 2.56: Let A = . Find A −1 using elementary row operations.
1 4
Solution:
3 6 1 0 R ↔R
1 2 → 1 4 0 1 R →R −3R 1 4 0 1
221→
1 4 0 1 3 6 1 0 0 − 6 1 − 3
2
R → − 1R 1 4 0 1 R →R −3R 1 0 − 1
2 6
2
→ 1 11 2→ 3
1
0 1 − 6
1
2 0 1 − 16
2
2
− 1
Therefore, A −1 = 3
−1 1
6 2
1 0 1
Check that AA −1 = A −1 A = I 2
1 0 1 1 0 0 1 0 1 1 0
0
R →R − R R → − 1R
0 1 0 − 2 0 1 33 2→ 0
1 0 − 2 0 1 3 3→
0 1 −1 − 2 1 0 0 0 − 1 0 1 − 1
1 0 1 1 0 0 1 0 0 1 1 − 1
R →R −R
0 1 0 − 2 0 1 11 3→ 0 1 0 − 2 0 1
0 0 1 0 − 1 1 0 0 1 0 −1 1
1 1 −1
Therefore, J = &−2 0 1*
0 −1 1
2 0 − 4 − 10
0 3 3 0
Example 2.58: Find the inverse of the matrix A =
0 0 1 0
− 3 1
2 3
1
R1 → R
2 1
1
2 0 − 4 − 10 1 0 0 0 1 0 −2 −5 0 0 0
1 2
0 3 3 0 0 1 0 0 R2 → 3 R2 0 1 1 0 1
Solution: → 0 0 0
0 0 1 0 0 0 1 0 0 0 1 0 3
0 0 1 0
− 3 2 3 1 0 0 0 1 − 3 2 3 1
0 0 0 1
1 1
1 0 −2 −5 2
0 0 0 1 0 −2 −5 2
0 0 0
1 0 1
R →R +3R
441→
0 1 1 0 0 R →R − 2
0 0 44 R
2→
1 1 0 0 0 0
3 3
0 0 1 0
0 0 1 0 0 0 1 0
0 0 1 0
0 2 − 3 − 14 3 0 0 − 5 − 14 3 −2
0 0 1 0 1
2 2 3
1 1
1 0 −2 −5 2
0 0 0 1 0 −2 −5 2
0 0
0
0 1 1
1 1 0 0 0 0 R →R +5R
442→
0 1 1 0 0 0 0
3 3
0 0 1 0
0 0 1 0 0 0 1 0
0 0 1 0
0 0 − 5 − 14 3 −2 0 0 0 − 14 3 −2
0 1 5 1
2 3 2 3
1 R2 → R − R 1
1 0 −2 −5 2
0 0 0 2 3 1 0 −2 −5 2
0 0
0
−1
0 1 R4 → R4 0 1
1 1 0 0 0 0 14→
1 0 0 0 −1 0
3 3
0 0 1 0
0 0 1 0 0 0 1 0
0 0 1 0
0 0 0 − 14 3 −2 0 0 0 1 −3 1 −5 1
5 1 −
2 3 28 21 14 14
1 1
1 0 −2 −5 2
0 0 0 1 0 0 −5 2
0 2 0
0 1 1
1 0 0 0 −1 0 R →R +2R
113→
0 1 0 0 0 −1 0
3 3
0 0 1 0
0 0 1 0 0 0 1 0
0 0 1 0
0 0 0 1 −3 1 −5 1 0 0 0 1 −3 1 −5 1
− −
28 21 14 14 28 21 14 14
1 −1 5 3 −5
1 0 0 −5 2
0 2 0 1 0 0 0 28
21 14 14
0 1 1
1 0 0 0 −1 0 R →R +5R
11 4→
0 1 0 0 0 −1 0
3 3
0 0 1 0
0 0 1 0 0 0 1 0
0 0 1 0
0 0 0 1 −3 1 −5 1 0 0 0 1 −3 1 −5 1
− −
28 21 14 14 28 21 14 14
−1 5 3 −5
28 21 14 14
Therefore, J = 0
1
−1 0
3
0 0 1 0
−3 1 −5 1
−
28 21 14 14
Exercise 2.9: Using elementary row operations, find the inverse of the following matrices:
1 −3 2 1 1 −1 3
A = − 2 2 − 2
1
a) b) A = − 1 −1 2
2 − 4 4 − 3 −4 −7 1
− 2 0 1 6
1 0 0 0
1 3 3 0 1 2
c) A = d) A =
0 2 1 0 8 − 1
2 2 3 1
Note: we say that a linear system is consistent if it has at least one solution and inconsistent if
it has no solutions. Thus, a consistent linear system of equations has either one solution or
infinitely many solutions—there are no other possibilities. That is, every system of linear
equations has no, one, or infinitely many solutions. There are no other possibilities.
x1
a 11 a 12 a 13 ... a 1 n x b1
2 b
a 21 a 22 a 23 .... a 2 n , X = . , and 2 ,these equations become the single
If A = b = .
. .
a m 1 a m 2 a m 3 .. a mn .
xn b n
matrix equation f = 3.This is called the matrix form of the system of equations.
a 11 a 12 a 13 ... a 1 n
The matrix a a 22 a 23 .... a 2 n is called the coefficient matrix of the system (*)
A = 21
.
a m 1 am2 a m 3 .. a mn
x1
The column matrix X = x 2 is the matrix of unknowns.
xn
b1
b
The column matrix 2 is the matrix of constants.
b = .
.
b n
The matrix |3 = & ⋮ ⋱ ⋮ V ⋮ * is called the augmented matrix of the linear
⋯ 3
system (*) since it is obtained by joining the matrix of coefficients to the column matrix of
constants. The vertical line separates the column of constants from the matrix of coefficients.
Remark: A system of linear equations is said to be homogeneous if the constant terms are all
zero, otherwise, non homogenous.
Theorem 2.1: If [ A b] and [C d ] are row equivalent, then the systems AX = b and CX = d
solution; if there are other solutions, they are called nontrivial solutions.
Theorem 2.2: If A is an m by n matrix then the equation AX = O has non trivial solution
only when rank ( A) < n otherwise, that is, rank ( A) = n then the trivial solution is unique.
b) If rank( [ A b] ) = rank( A ) = r < n then the system has infinitely many solutions.
Procedure for solving the system of linear equation f = 3 using Gaussian Elimination as
follows:
Step 1: Form the augmented matrix [ A b]
% + 2% + %0 + %h = 1
2% + 5% + 2%0 + 2%h = 3
3% + 6% + 4%0 + 4%h = 5
−% − 2% − 2%0 + %h = 6
1 2 1 1 1
2 5 2 2 3
Solution: The augmented matrix of the system is
3 6 4 4 5
−1 − 2 − 2 1 6
Applying, elementary row operations on this matrix to change into its echelon form
1 2 1 1 1 1 2 1 1 1
R2 → R2 − 2 R1
2 5 2 2 3 0 1 0 0 1
3 6 4 45 R → R3 −3 R1
3
0 0 1 1 2
−1 − 2 − 2 1 6 R4 → R4 + R1 0 0 − 1 2 7
→
1 2 1 1 1 1 2 1 1 1 1 2 1 1 1
1
0 1 0 0 1 R →R + R 0 1 0 0 1 R4 → R4 0 1 0 0 1
0 443→ 3 →
0 1 1 2 0 0 1 1 2 0 0 1 1 2
0 0 − 1 2 7 0 0 0 3 9 0 0 0 1 3
% + 2% + %0 + %h = 1
% =1
%0 + %h = 2
%h = 3
% + 5%0 = −4
% + 4% + 3%0 = −2
2% + 7% + %0 = −2
0 1 5 −4
Solution: The augmented matrix of the system is &1 4 3V−2*
2 7 1 −2
0 1 5 −4 1 4 3 −2
augmented matrices:
2 7 1 −2 2 7 1 −2
1
1 4 3 −2 1 4 3 −2
&0 1 5 V−4* 33 2 → &0 1 5V−4*
R →R −2R R →R + R
0 −1 −5 2 0 0 0 −2
331→
The system is inconsistent (has no solution), because the last row would require that 0 = −2
if there were a solution. The solution set is empty.
% − 3%0 + 8%h = 1
Example 2.61: Use Gauss elimination method, to solve the linear system
2% + 2% + 9%0 + 7%h = 3
% + 5%0 − 2%h = 3
1 0 − 3 8 1
Solution: The augmented matrix of the system is 2 2 9 7 3
0 1 5 − 2 3
Using the Gaussian–elimination method, we obtain the following sequence of equivalent
augmented matrices:
1 0 − 3 8 1 1 0 − 3 8 1 1 0 − 3 8 1
R →R −2R R ↔R
2 2 9 7 3 331→ 0 2 15 − 9 1 3
2 → 0 1 5 − 2 3
0 1 5 − 2 3 0 1 5 − 2 3 0 2 15 − 9 1
1 0 − 3 8 1 1 0 − 3 8 1
R →R −2R R → − 1R
331→ 0 1 5 − 2 3 → 0 1 5 − 2 3
3 5 3
0 0 5 − 5 − 5 0 0 1 − 1 − 1
Since the rank |3 = rank = 3 < 4 , then the system has infinitely many solutions.
% − 3%0 + 8%h = 1
Therefore, the above equation is reduced to
% + 5%0 − 2%h = 3
%0 − %h = −1
⟹ %0 − %h = −1 ⟹ %0 = −1 + %h . Put %h = , ∈ ℝ
⟹ %0 = −1 +
% + 5%0 − 2%h = 3 ⟹ % = 3 + 2%h − 5%0 ⟹ % = 8 − 3
% − 3%0 + 8%h = 1 ⟹ % = 1 + 3%0 − 8%h = −2 − 5
Hence the solution set of the system is m−2 − 5, 8 − 3, −1 + , : ∈ ℝn
2.8.1.2 GAUSS- JORDAN ELIMINATION
Step 1: Form the augmented matrix [ A b]
% + 3% + 4%0 + %h = 2
Example 2.62: Solve the following system by Gauss-Jordan elimination method.
1 3 4 1 2
Solution: The augmented matrix of the system is − 2 − 7 − 8 2 5
3 9 13 4 4
Using the Gauss–Jordan elimination method, we obtain the following sequence of equivalent
augmented matrices:
1 3 4 1 2 1 3 4 1 2 1 3 4 1 2
R →R +2 R R →−R
− 2 − 7 − 8 2 5 2 2 1 0 − 1 0 4 9 2
2→ 0 1 0 4 − 9
3 9 13 4 4 R → R −3 R1 0 0 1 1 − 2
3 3 → 0 0 1 1 − 2
1 0 4 − 11 29 1 0 0 − 15 37
R →R −3R R →R −4R
11 2→ 0
1 0 4 − 9 11 2→ 0
1 0 4 − 9
0 0 1 1 − 2 0 0 1 1 − 2
Since the rank |3 = rank = 3 < 4 , then the system has infinitely many solutions.
% − 15%h = 1
Therefore, the above equation is reduced to
% + 4%h = −9
%0 + %h = −2
Put %h = , ∈ ℝ, %0 + %h = −2 ⟹ %0 = −2 + %h = −2 +
% + 4%h = −9 ⟹ % = −9 − 4
% − 15%h = 1 ⟹ % = 1 + 15
Hence the solution set of the system is m1 + 15, −9 − 4, −2 + , : ∈ ℝn
% + 3% − 2%0 + 2%o = 0
Example 2.63: Solve by Gauss-Jordan elimination
1 3 −2 0 2 0 0 1 3 − 2 0 2 0 0
R3 → R3 +5 R2 0 0 − 1 − 2 0 − 3 − 1 R → − R 0 0 1 2 0 3 1
0 2
2→
0 0 0 0 0 0 0 0 0 0 0 0 0
R → R4 + 4 R2
→ 0
4
0 0 0 0 6 6 0 0 0 0 0 6 6
1 3 − 2 0 2 0 0 1 3 − 2 0 2 0 0
R ↔R 1
0 1 2 0 3 1 R3 → R2 0
3
4→ 0 6 →
0 1 2 0 3 1
0 0 0 0 0 6 6 0 0 0 0 0 1 1
0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 3 −2 0 2 0 0 1 3 0 4 2 0 − 4
R →R −3R 0 0 1 2 0 0 − 2 R →R +2R 0 0 1 2 0 0 − 2
223→
0 11 2→
0 0 0 0 1 1 0 0 0 0 0 1 1
0 0 0 0 0 0 0 0 0 0 0 0 0 0
% + 3% + 4%h + 2%o = −4
The corresponding system of equation is
%0 + 2%h = −2
%e = 1
%0 + 2%h = −2 ⟹ %0 = −2 − 2%h
From the first and second equation we have,
% − 2% + 3%0 − 2%h = 0
Example 2.64: solve the homogeneous system
−3% + 6% + %0 =0
−2% + 4% + 4%0 − 2%h = 0
1 − 2 3 − 2 0
Solution: The augmented matrix is − 3 6 1 0 0
− 2 4 4 − 2 0
The reduction of the augmented matrix to reduced form is
−1
1 − 2 0
1 − 2 3 − 2 0 5 0
0 0 1 −3
− 3 6 1 0 0 → 0
5
− 2 4 4 − 2 0 0 0 0 0
0
1 ℎ4
a) Has no solution b) has solution
1 ℎ4 1 ℎ 4
. Q / . Q /
3 68 0 6 − 3ℎ −4
R →R −3R
221→
If 6 − 3ℎ = 0, that is, if ℎ = 2, then the system has no solution, because 0 cannot equal −4.
Otherwise, when ℎ ≠ 2, the system has solution.
% + 2% + 3%0 = 11
Example 2.66: Solve the system of linear equation
2% − 4%0 = −6
−% + % + 2%0 = 2
1 2 3 11
Solution: The coefficient matrix of the system is = & 0 2 −4*, and 3 = &−6*
−1 1 2 2
|| = 1 Q2 −4Q − Q2 3 Q = 8 + 14 = 22 ≠ 0
1 2 2 −4
Inverse of :
2 −4 2 3 2 3
6 = Q Q=8 6 = − Q Q = −1 60 = Q Q = −14
1 2 1 2 2 −4
0 −4 1 3 1 3
6 = − Q Q=4 6 = Q Q=5 60 = −Q Q=4
−1 2 −1 2 0 −4
0 2 1 2 1 2
60 = Q Q=2 60 = − Q Q = −3 600 =Q Q=2
−1 1 −1 1 0 2
The cofactor matrix of is
8 4 2
= & −1 5 −3*
−14 4 2
The adjoint matrix of is
8 −1 −14
5 = K = &4 5 4 *
2 −3 2
8 −1 −14
Therefore, the inverse of is = |p| = &4 5 4 *
J `a p
2 −3 2
8 −1 −14 11 66
Thus, the solution of the system is
2 −3 2 2 44
⟹ % = 3 , % = 1, and %0 = 2
| | | | |0 | | |
has a unique solution. This solution is
% = , % = , %0 = , ⋯ , % =
|| || || ||
Where is the matrix obtained by replacing the entries in the − ℎ column of by the
3
3
entries in the matrix 3 =
⋮
3
% + 2% + 3%0 = 0
Example 2.67: Use Cramer’s rule to solve
2% − 4%0 = 2
−% + % + 2%0 = 0
1 2 3 0
2 −4 2 3
Solution: = & 0 2 −4* , 3 = &2*,|| = 1 Q Q−Q Q = 8 + 14 = 22 ≠ 0
1 2 2 −4
−1 1 2 0
0 2 3
2 3
= &2 2 −4* ⟹ | | = −2 Q Q = −2
1 2
0 1 2
1 0 3
1 3
= & 0 2 −4* ⟹ | | = 2 Q Q = 10
−1 2
−1 0 2
1 2 0
1 2
0 = & 0 2 2* ⟹ | | = −2 Q Q = −6
−1 1
−1 1 0
% = =− , % = = , %0 = − =−
J _ o e 0
Therefore,
is invertible.
f = 0 has only the trivial solution.
a)
det ≠ 0.
e)
f)
Exercise 2.10:
2% − 4%h = −10 % − 2% + %0 = 6
1. Solve the system of linear equations using the Gaussian–elimination method.
a) b)
3% + 3%0 =0 2% + % − 3%0 = −3
%0 + 4%h = −1 3% + 2% + %0 = 10
−3% + 2% + 3%0 + %h = 5
c) % − 2% + %0 + %h + %o = 1 d) % + 2% + 4%0 + 5%h = 1
% − 2% = 4 % + 5q + r = 1
2. Solve by Cramer’s rule, where applies.
a) b)
2% + 3% = 1 % + q + 2r = 3
% + 5q + 2r = 1
3% − % + %0 = 4 % + 2% − 5%0 = 4
−% + 5% + %0 = −2 % − 4%0 = 3
c) d)
−% − 2% + 5%0 = 1
3. Determine whether the statement is true or false, and justify your answer.
a) If is 4 × 4 matrix, then |3| = 3||.
b) If and are square matrix of the same size such that || = ||, then| + | = 2||
c) If and are square matrix of the same size and is invertible, then |J | = ||
d) A square matrix is invertible if and only if || = 0
e) If is a square matrix and the linear system % = 0 has multiple solutions for %,
then|| = 0. .
UNIT SUMMERY
The arrangement of numbers in rows and columns is called a matrix of order × .
A matrix of order % is a square matrix.
The elements , , … , of a square matrix of order % are the main diagonal
elements.
A square matrix in which all the non-diagonal elements are zero is called a diagonal matrix.
Two matrices of the same order are equal if their corresponding entries are equal.
Addition of matrices is commutative and associative.
There is an identity for addition of matrices.
K K =
>K = >K , > a scalar.
Any square matrix of order can be written as a product of a symmetric and skew-
symmetric matrix.
If a row or a column of matrix is multiplied by a constant k, then the determinate of the new
matrix will be also multiplied by >.
K
2 1 3 −1 2 6 −1 8 K
K K = N. /. /O = . /
0 −1 0 1 4 0 −1 −4
d) is possible and
6 0
= &−1 −1*
8 −4
2 1 K 3 −1 10 0 3 −1
e) 5K − 6 = 5 . / −. /=. /−. /
0 −1 2 0 5 −5 2 0
7 1
=. /
3 −5
f) Impossible
3 −1 2 1 0 1 4 −1 3
g) L + M, + M = . /+. /=. /
0 1 4 0 1 0 0 2 4
1 3
4 −1 3
L + M = &−1 0* . /
0 2 4
1 4
4 5 15
= &−4 1 −3*
4 7 19
3 6 − 35 −5
h) Impossible
2. . /=. / ⟺ = 6 − 35
6 5 2 + 5 + 3
3 = −5
6 = 2 + 5
5 = +3
⟹ = 25, 3 = −5, 6 = 55, 5 ∈ ℝ
1 0 5 2 −4 −2 −2 −1
3. a) 5 − . / = 3 − . / ⟹ 2 = . /⟹=. /
2 3 6 1 −4 2 −2 1
1 2 7 2
. / = . /
−1 2 −1 4
3
b)
3 6
must be 2 × 3 matrix .Let = v w, then this equation becomes
5 \ [
1 −1 0 3 6 3 −3 0
+3. /=v w+. /
1 2 4 5 \ [ 3 6 12
3 + −3 + 3 6
=v w, and
3 + 5 6 + \ 12 + [
3+ 5+3 2 1
3 + −3 + 3 6 K
v w = &3 − 3 \ + 6 * = &0 5*
3 + 5 6 + \ 12 + [
6 [ + 12 3 8
⟺ = −1, 3 = 3 , 6 = 3 , 5 = −2, \ = −1, and [ = −4
−1 3 3
Thus, = . /
−2 −1 −4
, 2, ,
4. Find the values of , and such that = & −1 , * is symmetric.
, ,
is symmetric if and only if =
K
, 2, , ,
⟹ & −1 , * = N2, −1 , O ⟺ 2, = , and , =
, , , , ,
⟹,= ⟹ = ⟹ = 2 ⟹ − 2 = 0 ⟹ = 0, or = 2
K Kx
0 0 0
For = 0, , = 0, = &0 −1 0*
0 0 0
1 2 2
For = 2 , , = 1, = &2 −1 1*
2 1 1
1 2 3
Exercise 2.2:
2 −5 2 3
a) Q Q = 8 + 45 = 53 b) V 2 0 0V = −2 Q Q = −28 − 9 = 2
9 4 3 4
−1 3 4
d) || = 0, because the third row is a scalar multiple of the first row.
0 1 0 0 0
e) || = 264
> 2>
2. a) Q Q = −12 ⟹ > − 8> = 12 ⟹ > − 8> + 12 = 0
4 >
⟹ > − 2> − 6 = 0
⟹ > = 2, or > = 6
3) Given || = 6, || = 3
|32K | = 30 ||20 || = 27863 = 3888
6 3
3. Given V5 [ \ V = 8
] ℎ
5 [ \ 6 3
a) V 6 3 V = − V5 [ \ V = −8
] ℎ ] ℎ
4 43 46 3 6 6 3
b) V−25 −2\ −2[ V = 4−210 V5 \ [ V = −80−1 V5 [ \ V = 640
10] 10ℎ 10 ] ℎ ] ℎ
+] 3+ℎ 6+ 3 6 3 6
c) ^ ] ℎ ^ = − V] ℎ V = −−1 V5 \ [V
−5 −\ −[ 5 \ [ ] ℎ
6 3
= − V5 [ \ V = −8
] ℎ
9 1 5
Exercise 2.4:
a) = &1 6 0*
5 2 7
6 = 42 6 = 3 60 = −30
6 = −7 6 = 38 60 = 5
60 = −28 60 = −13 600 = 53
42 −7 −28
Cofactor matrix is = & 3 38 −13*, and the adjoint of is
−30 5 53
42 3 −30
5 = K = & −7 38 5 *
−28 −13 53
2 3−1
b) A = 0 − 42
1 −1 5
6 = −18 6 = −14 60 = 2
6 = 2 6 = 11 60 = −4
60 = 4 60 = 5 600 = −8
−18 2 4
Cofactor matrix is = &−14 11 5 *, and the adjoint of is
2 −4 −8
−18 −14 2
5 = = & 2
K
11 −4*
4 5 −8
3 6 −9
c) = & 0 0 −2*
−2 1 5
6 = 2 6 = −39 60 = −12
6 = 2 6 = −3 60 = 6
60 = 0 60 = −15 600 = 0
0 2 −1
Cofactor matrix is = &−10 −3 9 *, and the adjoint of is
5 1 −3
0 −10 5
5 = = & 2
K
−3 1*
−1 9 −3
Exercise 2.6:
a) The matrix is in reduced row echelon form.
b) The matrix is in reduced row echelon form.
c) This matrix is not in row-reduced form. Condition 3 is violated: The leading 1 in row 2 lies to
the left of leading one of row 1.
d) The matrix is in reduced row echelon form.
e) The matrix is in reduced row echelon form.
f) This matrix is not in row-reduced form. Condition 1 and 4 are violated: Row 1 consists of all
zeros and does not lie below the nonzero rows. Also, column 4 contains a leading 1 in row 3
and a nonzero element above it.
g) This matrix is not in row-reduced form. Condition 2 is violated. The first nonzero entry in
row 3 is a −1, not a 1
h) This matrix is not in row-reduced form. Condition 4 is violated. Column 3 contains a leading
1 in row 3 and a nonzero element above it. But, it is in row-echelon form.
Exercise 2.7:
a) Reduced row-echelon form is
12 −4 1 1 0 0
1 0 − 7 → 0
1 0
6 0 9 0 0 1
0 0 − 2 0 7 12 1 2 − 5 3 0 2
d) Reduced row-echelon form is 2 4 − 10 6 12 28 → 0 0 1 0 0 1
2 4 − 5 6 − 5 − 1 0 0 0 0 1 2
∼ ∼
Exercise 2.9:
1 − 3 2 1 0 0 1 − 3 2 1 0 0 1 − 3 2 1 0 0
a) − 2 2 − 2 0 1 0 0 − 4 2 2 1 0 0 2 0 − 2 0 1
2 − 4 4 0 0 1 0 2 0 − 2 0 1 0 − 4 2 2 1 0
∼ ∼ ∼
−1
0 −1
1 − 3 2 1 0 0 1 − 3 0 3 − 1 − 2 1 0 0 2
0 1 0 −1 0 1 0 1 0 −1 0 1 0 1 0 −1 0 1
2 2 2
0 0 1 1 0 0 1 1 0 0 1 1
−1 1 −1 1 −1 1
0
−1 −
@ B
J = Y−1 0 Z
−1 1
? A
∼ ∼ ∼
1 2
1 2 1 0 1 2 1 0 1 2 1 0 1 0
d) 8 −1 17 17
0 − 17 − 8 1 0 1 −1
8 − 1 0 1 17 17
0 1 8
17 17
Therefore, the inverse is
J
= Tz z
U
−
{
z z
Exercise 2.10:
1. a) The reduction of the augmented matrix to row-echelon form is
∼
2 0 0 − 4 − 10 1 0 0 − 2 − 5
0 3 3 0 0 0 1 1 0 0
0 0 1 4 −1 0 0 1 4 − 1
− 3 2 3 1 5 0 0 0 1 1
1 −2 1 6 1 −2 1 6
b) The reduction of the augmented matrix to row-echelon form is
∼
1
1 2 4 5 1 1 2 4 5
1
2 4 5 4 3 0 1 4 6 1
4 5 4 2 1 0 0 1 2 3
− 1 − 2 − 3 − 3 4 0 0 0 0 14
3
The system is inconsistent, because the last row would require that 0 =
h
0
if there were a
solution. The solution set is empty.
1 −2 4
2. a) = . / ,3 = . /
2 3 1
4 −2 | |
⟹ || = 7 ≠ 0. = . / , = 14
1 3
1 4 | |
= . / , = −7
2 1
⟹ % = |p|| = = 2 , and % = |p|x = − = −1
|p | h |p | z
z z
1 5 1 1
a) = &1 1 2* , 3 = &3*
1 5 2 1
1 5 1 1 5 1 1 5 1
|| = V1 1 2V = −4, = &3 | |
1 2*, = V3 1 2V = −14
1 5 2 1 5 2 1 5 2
1 1 1 1 1 1
= &1 3 2* , | | = V1 3 2V = 2
1 1 2 1 1 2
1 5 1 1 5 1
0 = &1 1 3* , |0 | = V1 1 3V = 0
1 5 1 1 5 1
% = = , % = = − , %0 = =0
|p| | z |px | |p} |
|p| |p| |p|
1 2 −5 4
b) Cramer's rule does not apply
CHEK-LIST
For each of the following, put "" mark if your answer is "Yes" and Put "X" if your answer
is "NO" in the box provided after each question.
Can you define the notion of matrices?
Can you identify different types of matrices?
Can you compute addition, scalar multiplication and multiplication of matrices?
Can you find transpose of a matrix?
Can you explain symmetric and skew-symmetric matrices?
Can you state the three elementary row operations on matrices?
Can you change a given matrix into its row echelon form?
Can you change a given matrix into its reduced row echelon form?
Can you find the rank of a matrix?
Can you find the inverse of a matrix using elementary row operations?
Can you find the determinant of a given square matrix?
Can you explain properties of determinants?
Can you explain the procedure used to find the adjoint of a square matrix?
Can you find the inverse of a matrix using its adjoint and determinant?
Can you explain what is meant by a system of linear equations?
Can you write the matrix equation form of a given linear system?
Can you write the matrix equation form of a given linear system?
Can you reduce the augmented matrix of a linear system in to echelon form