Professional Documents
Culture Documents
3 - Matrix Algebra PDF
3 - Matrix Algebra PDF
salwani@ump.edu.my
A01-G-19
MATRIX => rectangular array of numbers
a 11 a 12 a 13 a 14 First row
= a 21 a 22
M 3x4 a 23 a 24 Second row
a 31 a 32 a 33 a 34 Third row
Matrix
size
mxn First Second Third Fourth
column column column column
Entries a 12
M Row number
Column number
CHAPTER 2: REVIEW OF MATRIX ALGEBRA
VECTOR=> an array of ‘n’ numbers
a1
a
Column vector (mx1 matrix)
2
a3
transpose is denoted
by superscript “T”
1) X = a T
2) Y = bc T
1) det[A] = 𝑎11
3) det[𝐶] = 𝑐11 𝑐22 𝑐33 + 𝑐12 𝑐23 𝑐31 + 𝑐13 𝑐21 𝑐32
− 𝑐13 𝑐22 𝑐31 − 𝑐11 𝑐23 𝑐32 − 𝑐12 𝑐21 𝑐33
2) det[𝐵] = ?
3) det[𝐶] = ?
2 4 − 3
C= 1 0
4 det(C ) = 0
− 4 − 8 6
If a matrix has a row or a column with all elements equal to
0, then its determinant is 0
If the determinant of a matrix is zero, it is called a singular
matrix. CHAPTER 2: REVIEW OF MATRIX ALGEBRA
addition (or subtraction) of matrices is done by adding (or
subtracting) the values of the components that are on the
same row and same column on both (or more) respective
matrices
1) X = a + b 3) Z = a − b
2) Y = b + c 4) U = b − c
in other words:
2×2 matrix
1) X = 3a 3) Z = bc
2) Y = ab 4) U = cd
d a b
1) =? 2) =?
dx x
a dx = ?
CHAPTER 2: REVIEW OF MATRIX ALGEBRA
1. Find for [W].
1 3 −1
3 −2 4 2
[A] = [B] = −2 −6 1 [C] = [D] =
4 −2 2 5
3 5 −2
1 3 2 2 −3 1
[A] == −3 −1 −3 [B] = 2 0 −1
2 3 1 1 4 5
[A] is a square matrix of the size (mxn), {x} and {b} are
vectors with the size (nx1)
ax + by = c
dx + ey = f
a c
af − cd d f
y= y=
ae − bd a b
d e
c b a c
f e d f
x= y=
a b a b
d e d e
Denominators are
coefficient determinants
CHAPTER 2: REVIEW OF MATRIX ALGEBRA
8𝑥 + 5𝑦 = 2
Solve the system by using Cramer’s Rule:
2𝑥 − 4𝑦 = -10
2 5
− 10 − 4 − 8 − (−50) 42
x= = = = −1
− 42 − 42 − 42
8 2
2 − 10 − 80 − 4 − 84
y= = = =2
− 42 − 42 − 42
CHAPTER 2: REVIEW OF MATRIX ALGEBRA
Solve the system by using Cramer’s Rule:
𝑥 + 3𝑦 − 𝑧 = 1
−2𝑥 − 6𝑦 + 𝑧 = -3
3𝑥 + 5𝑦 − 2𝑧 = 4
𝒙, 𝒚, 𝒛 = (𝟐, 𝟎, 𝟏)
CHAPTER 2: REVIEW OF MATRIX ALGEBRA
The purpose of Gauss Elimination is to perform the transformation
of the matrix below to eliminate unknown from a system so that
the solution can be obtained using “back substitution” into the
remaining equations.
2 x1 + 2 x2 + 1x3 = 9 …R1
2 x1 + 1x2 = 4 …R2
1x1 + 1x2 + 1x3 = 6 …R3
2 x1 + 2 x2 + 1x3 = 9 …R1
2 x1 + 1x2 = 4 …R2
1x1 + 1x2 + 1x3 = 6 …R3
x3 = 0.5
x2 = −1
x1 = 2.5
2 x1 + 1x2 − 3 x3 = 11
4 x1 − 2 x2 + 3 x3 = 8
− 2 x1 + 2 x2 − 1x3 = −6