Professional Documents
Culture Documents
ENM1600 Engineering Mathematics: DR Trevor Langlands
ENM1600 Engineering Mathematics: DR Trevor Langlands
Engineering Mathematics
Dr Trevor Langlands
Week 5 Lecture 2
Module 2 – Matrices
ENM1600 1
Introduction
Study Book §2.5, pp. 57 –61
James §5.5, 5.5.2, pp. 351–369 (4th )
James §5.5, 5.5.2, pp. 352–370 (5th )
This Lecture
• Cramer’s Rule
• Augmented Matrix
ENM1600 2
Linear Equations: Cramer’s rule
Study Book §2.5, pp. 57 –61
James §5.5, 5.5.2, pp. 351–369 (4th ), pp. 352–370 (5th )
Consider the following system of linear equations
a1 x + b 1 y + c 1 z = d 1
a2 x + b 2 y + c 2 z = d 2
a3 x + b 3 y + c 3 z = d 3
ENM1600 3
Matrix Form
Consider the system in a matrix form
a1 b1 c 1 x d1
a2 b2 c 2 y = d 2
a3 b3 c 3 z d3
Thus xa + yb + zc = d.
ENM1600 4
Cramer’s rule derivation
Take the dot product on both sides with b × c :
x a · (b × c) + y b · (b × c) + z c · (b × c) = d · (b × c)
or x a · (b × c) + 0 + 0 = d · (b × c).
d · (a × c) d · (a × b)
y= z=
b · (a × c) c · (a × b)
a1 d1 c1 a1 b1 d1
a2 d2 c2 a2 b 2 d 2
a3 d3 c3 |A2 | a3 b 3 d 3 |A3 |
= = = =
a1 b1 c1
|A| a1 b 1 c 1
|A|
a2 b2 c2 a2 b 2 c 2
a3 b 3 c 3 a3 b 3 c 3
ENM1600 6
Example 5.25 (4th) 5.26 (5th)
Find the solution of the equations
x+ y+ z =6
x + 2 y + 3 z = 14
x + 4 y + 9 z = 36
As a system
Check
ENM1600 7
Example (cont)
ENM1600 8
Example (cont)
So we have
ENM1600 9
Gaussian Elimination
Study Book §2.5.1, pp. 60–63
James §5.5.2,5.6, pp. 356–385 (4th ), pp. 357–387 (5th )
We can solve linear systems in matrix form.
ENM1600 10
Augmented Matrix form
A system of linear equations can be represented by a matrix by
dropping variables and + signs:
2x + 3y = 5
becomes
3x − 4y = 7
ENM1600 11
Summary
Study Book §2.5, pp. 57–61
James §5.5, 5.5.2, pp. 351–369 (4th )
James §5.5, 5.5.2, pp. 352–370 (5th )
This Lecture
• Cramer’s Rule
• Augmented Matrix
ENM1600 12
Homework
ENM1600 13