Engineering Math Lesson 6 Notes
Engineering Math Lesson 6 Notes
Lesson 06
Matrices (1)
2
OFFICIAL (CLOSED) \ NON-SENSITIVE
Recap: Kahoot!
3
OFFICIAL (CLOSED) \ NON-SENSITIVE
Sharing Time
Based on your prior knowledge, write two sentences that relate to
the lesson.
Remember
to write your
Share this in the Padlet created by your lecturer.
name in the
post
Electrical Circuit
Using Loop Current Analysis, the following equations with the two
unknowns, I1 and I2 are obtained:
How would you solve such
equations? What if there are
more than 5 unknowns?
What is a Matrix ?
• A Matrix is a rectangular array. of numbers, symbols or
expressions, arranged in rows and columns. The numbers,
symbols or expressions are called the elements, or entries, of the
( )
matrix. 2
𝑒 𝜋
(2)
( )
0 1
0 1 (1 −3
1
2
5 ) 2 √3
0 −4
• The order of a matrix is given by , where m is the number of
rows, and n is number of columns in the matrix.
( )
2
𝑒 𝜋
(2)
( )
0 1
0 1
(1 −3
1
2
5 ) 2 √3
Order: 1 x 1 Order: 1 x 4
0 −4
Order: 2 x 2 Order = ??
• 2 rows and 2 columns. Answer: 3 x 2
• Do not multiply the two
numbers together. 7
OFFICIAL (CLOSED) \ NON-SENSITIVE
A B
mn mn
8
OFFICIAL (CLOSED) \ NON-SENSITIVE
1) 2B 2B = =
2) A + B A + B= ( − 1+3
2 −1
3+ 0
4 +3 ) (
0 +1
1 −2
=
2
1
3
7
1
−1 )
3) 0.5A – B
¿
( −3 .5
2
1.5
−1
−1
2 .5 ) 9
OFFICIAL (CLOSED) \ NON-SENSITIVE
Matrix Multiplication
AB
mn pq
https://www.youtube.com/watch?v=IKFlUVIDOWQ
10
OFFICIAL (CLOSED) \ NON-SENSITIVE
Matrix Multiplication
[Example 2]
( 2 −1
Given that A = − 3 1 and B = ) () 4 , evaluate AB and BA.
5
[Solution] Recall: 𝐀𝐁
For a matrices 𝑚 ×𝑛 p
AB is defined and has order 2 x 1. The multiplication is only
valid when n = p.
AB=
( ) ()
2 −1
−3 1 2 ×2
4
5 2× 1
¿
(( −3)( 4)+(1)(5))
2 ( 4 )+(− 1)(5)
2× 1
Recall:
If the matrix multiplication
is valid,
¿
(−7 )
3
The product matrix BA is undefined.
Order of the product matrix
AB = m×q
11
OFFICIAL (CLOSED) \ NON-SENSITIVE
y–
Class Activit
Click the card! Share your
answers
1 5
A=
𝐀 +1𝐁=? CD5= ?
7 3
B=
𝟐 𝐂 −7
𝟑 𝐃=? 3 =?
BA
6 8
The order of the
6
matrix is B is …
C= DC8= ?
2 4
D= 𝟐 𝐂 −2𝐃=? 𝐂 +𝟑4𝐃 =?
12
OFFICIAL (CLOSED) \ NON-SENSITIVE
Questions?
13
OFFICIAL (CLOSED) \ NON-SENSITIVE
𝑥 − 2𝑦 + 3 𝑧 = 9
Consider the following system of 3 linear equations in 3 variables:
3`𝑦 − 𝑥
2𝑥 − 5𝑦 + 5𝑧 =17
= −4
( )( ) ( )
1 −2 3 𝑥 9
−1 3 0 𝑦 = −4 Equivalent matrix form for the
2 −5 5 𝑧 17 system of linear equations
15
OFFICIAL (CLOSED) \ NON-SENSITIVE
Test Yourself 1:
Representing Data Using Matrices
A store sells red, yellow and blue shirts in three sizes: small, medium
and large.
The total income from the sale of the red shirts was $26, yellow
shirts $98, and blue shirts $58.
Represent the given data in the matrix form.
16
OFFICIAL (CLOSED) \ NON-SENSITIVE
Test Yourself 1:
Representing Data Using Matrices
Discussain pairs
our
and shwreersy!
ans
17
OFFICIAL (CLOSED) \ NON-SENSITIVE
Determinant of a 2 × 2 Matrix
a b
The determinant of a 2 × 2 matrix A = is denoted by
A and is calculated as: c d
det A = a × d – b × c
[Example 4] Checkpoint
18
OFFICIAL (CLOSED) \ NON-SENSITIVE
Inverse of a 2 × 2 Matrix
a b
In general, the inverse of a 2 × 2 matrix A =
c d is denoted by
and is calculated as:
( )
−1 1 𝑑 −𝑏 • Swap a and d terms.
𝐀 = • Negate b and c terms.
det 𝐀 −𝑐 𝑎
Note:
- A matrix that does not have an inverse is called a “singular matrix”.
- For a singular matrix, its determinant = 0.
- A matrix that has an inverse is called a “non-singular matrix”.
20
OFFICIAL (CLOSED) \ NON-SENSITIVE
Identity Matrix
1 0 ... 0 Row 1
1 0 0
1 0 0 1 ... 0
I33 0 1 0
Row 2
IΙ11 1 II22 II nn
0 1 0 0 1 ...
0 0 ... 1 Row n
21
OFFICIAL (CLOSED) \ NON-SENSITIVE
Identity Matrix
• We can only find the inverse of a non-singular square matrix .
22
OFFICIAL (CLOSED) \ NON-SENSITIVE
5 1 x IX 6=
M Y
-1
1 3 1
M
-1
13 2 5
x 6 1 3 1 6 1 3(6) 1(8) 1 26 2
M-1
y 8 13 2 5 8 13 2(6) 5(8) 13 52 4
x = 2, y = 4
23
OFFICIAL (CLOSED) \ NON-SENSITIVE
Think-Pair-Share 1: Discuss in
team and
Solving 2 × 2 Matrix Equations share your
answers!
3 1 x 2
Solve for x and y in . MX = Y
5 2 y 15
X = M-1Y
24
OFFICIAL (CLOSED) \ NON-SENSITIVE
Sharing Time
Share any 3 concepts which you have learnt so far.
Feel free to post any question.
25
OFFICIAL (CLOSED) \ NON-SENSITIVE
Practice Questions
Provide handwritten solutions for Q1 to Q9 in
the PQ document.
26
OFFICIAL (CLOSED) \ NON-SENSITIVE
Study Period
Time
• To have the zero entries at the bottom left hand side of the matrix, so
that the variables z, y and x can be found in that order.
28
OFFICIAL (CLOSED) \ NON-SENSITIVE
[Example 7]
Interchange the first and third rows.
29
OFFICIAL (CLOSED) \ NON-SENSITIVE
[Example 9] Add –2 times the first row to the third row to produce a
new third row.
Original Matrix New Matrix Notation
0 1 3 2
x (-2) (0 − 2− 6 − 4) 0 1
3 2
𝑅 3 +(− 2)𝑅 1 → 𝑅
0 0 1 4 0 0 1 4
+
1 1 2 2
(1 1− 2 2) 1 1 8 2
--------------------------- Meaning of Notation
Row 3 is added to (-2) times Row
1. The new entries are substituted
back into Row 3.
30
OFFICIAL (CLOSED) \ NON-SENSITIVE
Q1 Option 1:
( ) ( )
3 2 −1 3 2 −1 ERO: Interchange Row 1
𝐀= 0 2 1 𝐁= 0 −6 −3 with Row 3.
1 −1 1 1 −1 1
Notation:
Q2 Option 2:
( ) ( )
2 −1 1 2 −1 1 ERO: Multiply Row 2 by (–3)
𝐁= 5 to produce a new Row 2.
𝐀= 5 0 0 0 0
−1 3 2 1 2 3 Notation:
Q3 Option 3:
( ) ( )
1 −1 1 −4 3 2 ERO: Add Row 1 to Row 3
𝐴= − 1 0 3 𝐁= − 1 0 3 to produce a new Row 3.
−4 3 2 1 −1 1 Notation:
31
OFFICIAL (CLOSED) \ NON-SENSITIVE
Practice Questions
Provide handwritten solutions for Q10 to Q12 in
the PQ document.
32
OFFICIAL (CLOSED) \ NON-SENSITIVE
34
OFFICIAL (CLOSED) \ NON-SENSITIVE
Quiz Deliverables
35
OFFICIAL (CLOSED) \ NON-SENSITIVE
E114 Deliverables
PQ (for all lessons): Write answers on paper+scan/Type and submit them into the
“PQ Submission” folder in LEO. Have a hardcopy to refer for Milestone Quiz
* Students absent with/without LOA need to inform their lecturer directly
36