Professional Documents
Culture Documents
Introduction To Linear Algebra
Introduction To Linear Algebra
Introduction To Linear Algebra
am1 am 2 amn
Thursday, February 22, ProfDrMFRCIED 3
2018
Matrix definitions and
notations
• Vector: If a matrix has just one
row, it is called a row vector
• Example of row vector
Thursday, February 22,
cm1
ProfDrMFRCIED 5
2018
Matrix definitions and
notations
• Partitioned matrix : A matrix can be
partitioned into component matrices or
vectors
• Example
a11 a12 a13 a14 a11 a12 a13 a14
a a22 a23 a24 a21 a22 a23 a24 A11 A12
A 21
a31 a32 a33 a34 a31 a32 a33 a34 A21 A22
a41 a42 a43 a44 a41 a42 a43 a44
Thursday, February 22, ProfDrMFRCIED 6
2018
Matrix definitions and
notations
a11 a12
• Where
A11 a21 a22
a31 a32
a13 a14
A12 a23 a24
a33 a34
A21 a41 a42
A22 a43 a44
Thursday, February 22, ProfDrMFRCIED 7
2018
Matrix definitions and
notations
• Null matrix : A matrix with all elements
equal to zero is called the null matrix.
• aij = 0 for all i and j
• example
0 0 0 0
0 0 0 0
A
0 0 0 0 0 0 0
Thursday, February 22, ProfDrMFRCIED 8
2018
Matrix definitions and notations
am1 am 2 amn
Thursday, February 22, ProfDrMFRCIED 13
2018
Matrix definitions and notations
a11 a12
det(A) a11a22 a21a12
a21 a22
Thursday, February 22, ProfDrMFRCIED 14
2018
Matrix definitions and notations
Cn1 Cn 2 Cnn
Thursday, February 22, ProfDrMFRCIED 23
2018
Matrix definitions and notations
• For example, consider the following matrix
1 2 3
A 1 4 5
6 8 7
Hence,
T
4 5 1 5 1 4
8 7 6 7 6 8
12 10 2
2 3 1 3 1 2 37 11 8
adjA
8 7 6 7 6 8
32 4 6
2 3 1 3 1 2
4
5 1 5 1 4
1 5 2
A 4
7 5
3 15 6
Thursday, February 22, ProfDrMFRCIED 25
2018
Matrix definitions and notations
• The determinant of A = 0. Since the
determinant is zero, the 3 x 3 matrix is
singular. Choosing the submatrix
1 5
A
4 7
• Whose determinant equals 27, we
conclude that A is of rank 2.
Thursday, February 22, ProfDrMFRCIED 26
2018
Matrix Operations
• Addition - the sum of two matrices, written
A+B=C, is defined by aij+bij=cij.
• For example
2 1 7 5 9 6
3 5 4 3 1 8
Thursday, February 22, ProfDrMFRCIED 27
2018
Matrix Operations
• Subtraction - the difference between two
matrices, written A - B = C, is defined by aij
- bij = cij.
• For example,
2 1 7 5 5 4
3 5 4 3 7 2
Thursday, February 22, ProfDrMFRCIED 28
2018
Matrix Operations
• Multiplication - the product of two matrices,
written AB = C, is defined by
n
c ij aik bkj
k1
• Notice that multiplication is defined only if the
number of columns of A equals the number of
rows of B
Thursday, February 22, ProfDrMFRCIED 29
2018
Matrix Operations
• For example,
a11 a12
A
a21 a22
then
ka11 ka12
kA
ka21 ka22
Thursday, February 22, ProfDrMFRCIED 31
2018
Matrix Operations
• Inverse - an n x n square matrix, A, has an
inverse, denoted by A-1, which is defined
by 1
AA I
• Where I is an n x n identity matrix. The
inverse of A is given by
adjA
1
A
det A
Thursday, February 22, ProfDrMFRCIED 32
2018
Matrix Operations
• example
1 2 3
A 1 4 5
6 8 7
12 10 2
adjA 37 11 8
32 4 6
4 5 2 3 2 3
det A 1 ( 1) 6 34
8 7 8 7 4 5
12 10 2
37 11 8
0.353 0.294 0.059
adj ( A) 32 4 6
1
A 1.088 0.324 0.235
det( A) 34
0.941 0.118 0.176
Thursday, February 22, ProfDrMFRCIED 33
2018
Matrix and determinant identities
• Matrix identities
• Commutative law
A B B A
AB BA
Thursday, February 22, ProfDrMFRCIED 34
2018
Matrix and determinant identities
• Matrix identities
• Associative law
A ( B C ) ( A B) C
A( BC ) ( AB )C
• Matrix identities
• Transpose of sum
( A B) A B
T T T
• Matrix identities
• Transpose of product
( AB ) B A
T T T
~
det A k det A
Thursday, February 22, ProfDrMFRCIED 38
2018
Matrix and determinant identities
• Determinant Identities
• Multiplication of all elements of an n x n
matrix, A, by a constant
det(kA) k det A n
• Determinant Identities
• Transpose
det A det A
T
• Determinant Identities
• Determinant of the product of square
matrices
an1 an 2 ann bn xn
1
xA B
Thursday, February 22, ProfDrMFRCIED 44
2018
System of equations
• For example, pre-multiplying both sides of
previous equation by A-1, where
1
5 7
1 0.0526 0.0921
A
8 4 0.1053 0.0658
• We solve for x=A-1B as follows :