Ch3 Matrices
Ch3 Matrices
July 7, 2021
Table: 3.1
Alpha Omega
Materials (kg) 4 1
Labour (hrs) 2 3
3.2.4 Sub-matrices
6 3 10 12
4 3 9 −3
H=
1
7 2 5
6 1 π 7
then
6 3
4
10 12
3 1 7 2
I =
1
, J= , K = 9 −3 , M= π
7 6 1 π
2 5
6 1
6 1 π 7
where all the elements of L above the main diagonal must be zero.
0 0 0 8
The following is an example of 4 × 4 identity matrix
1 0 0 0
0 1 0 0
I =0 0 1 0
0 0 0 1
where all the diagonal elements are 1 and off-diagonal elements are
0.
M. Lutfor Rahman, PhD Matrices
3.2 Some fundamentals
3.2.8 Zero matrices
0 0
0=
0 0
0 0 0
03×3 = 0 0 0
0 0 0
Matrix addition
Consider two following matrices A and B
1 3 2 1 2 2
A = 4 3 1 , B = 4 0 4
5 1 2 2 1 2
Matrix subtraction
Consider two following matrices A and B
1 3 2 1 2 2
A = 4 3 1 , B = 4 0 4
5 1 2 2 1 2
7x1 + x2 = 34
9x1 + 2x2 = 48
In matrix notation,
a11 a12 a13 x1 b1
a21 a22 a23 x2 = b2
a31 a32 a33 x3 b3
⇒ Ax = b
⇒ Ax = b
where
a11 a12 a13 x1 b1
A = a21 a22 a23 , x = x2 , b = b2
a31 a32 a33 x3 b3
A is called coefficient matrix, x is vector of unknowns and b is a
vector of constants.
From Ax = b we can write:
⇒ x = A−1 b
Finding inverse of A
1
A−1 = adj(A)
det(A)
To obtain inverse of A, A−1 , we need determinant of A and adjoint
of A. Further, to obtain determinant of A we need minors and
additionally cofactors for obtaining A−1 . Therefore, we describe
two terms as follows.
a22 a23 a21 a23
m11 =
= a22 a33 −a23 a32 , m12 =
= a21 a33 −a23 a31
a32 a33 a31 a33
a21 a22
m13 =
= a21 a32 − a22 a31
a31 a32
a11 a12 a13
A = a21 a22 a23
a31 a32 a33
What are the minors associated with a31 , a32 , and a33 ?
a a a a
m31 = .. .. = a.. a.. − a.. a.. , m32 = .. .. = a.. a.. − a.. a..
a.. a.. a.. a..
a.. a..
m33 = = a.. a.. − a.. a..
a.. a..
or
4x1 + 7x3 = 47
7x1 + 3x2 + 5x3 = 58
4x1 + 2x2 + 3x3 = 35