Professional Documents
Culture Documents
Term 3, 2021
Matrix Equations
This lecture we will learn how to solve matrix equations using matrix
inverses.
If
2 4 10
A= and B =
1 −3 −5
and we are asked to solve the equation
AX = B to find X ,
what is X ?
A number?
A matrix?
If it is a matrix, what order matrix?
AX = B
2 4 10
X =
1 −3 |{z} −5
| {z } ?×? | {z }
2×2 2×1
ax =b
5x = 10
1
1 x = ×b
x = 5 × 10 a
x = a−1 b
For our matrix equation:
AX = B
−1
A AX = A−1 B
IX = A−1 B
X = A−1 B
AX = B
=⇒ X = A−1 B.
XA = B
=⇒ X = B A−1 .
Example.
3 1 1 0
A= , B= .
1 4 3 1
Solve AX = 2X + B
Example.
A manufacturing company has by-products SO2 and CO from each of 2
plants P1 and P2.
P1 produces, per day, 80kg of SO2 and 25kg of CO.
P2 produces, per day, 65kg of SO2 and 25kg of CO.
All of these must be eliminated before they reach the environment.
The company finds that the total cost of removal is $291 at plant P1 and
$277 at plant P2.
What is the average cost, to the nearest cent, of removing 1kg of SO2 and
1kg of CO?
Example. If
4 2 −2 1
B = 1 , A = 1 −1 1
−3 2 −1 2
1 −3 1
and C = 0 −2 1
−1 2 0
Check AC = I, i.e. C = A−1 .
Hence solve the equation AX = B.
Solutions.
2 −2 1 1 −3 1 2 − 1 −6 + 4 + 2 2 − 2
AC = 1 −1 1 0 −2 1 = 1 − 1 −3 + 2 + 2 1 − 1
2 −1 2 −1 2 0 2 − 2 −6 + 2 + 4 2 − 1
AX = B
−1
A AX = A−1 B
IX = CB
1 −3 1 4
X = 0 −2 1 1
−1 2 0 −3
4−3−3
= 0−2−3
−4 + 2 + 0
−2
= −5
−2
Joshua Capel (UNSW) Matrix Equations 10 / 10