Inverse of A Matrix
Inverse of A Matrix
-1
The Inverse of a Matrix is the same idea but we write it A
Why not ? Because we don't divide by a Matrix! And anyway can also be
-1
written 8
8×( )=1
1
When we multiply a Matrix by its Inverse we get the Identity
Matrix (which is like "1" for Matrices):
A × A-1 = I
( )×8=1
A-1 × A = I
Identity Matrix
We just mentioned the "Identity Matrix". It is the matrix equivalent of the
number "1":
Identity Matrix
The Identity Matrix can be 2×2 in size, or 3×3, 4×4, etc ...
Definition
Here is the definition:
-1
The Inverse of A is A only when:
A × A-1 = A-1 × A = I
2
Sometimes there is no Inverse at all.
2x2 Matrix
OK, how do we calculate the Inverse?
In other words: swap the positions of a and d, put negatives in front of b and
c, and divide everything by the determinant (ad-bc).
-1
Remember it must be true that: A × A =I
So, let us check to see what happens when we multiply the matrix by its
inverse:
3
And, hey!, we end up with the Identity Matrix! So it must be right.
-1
It should also be true that: A ×A=I
Why don't you have a go at multiplying these? See if you also get the Identity
Matrix:
10 × 0.5 = 5
4
XA = B
It would be nice to divide both sides by A (to get X=B/A), but remember we
can't divide.
XAA-1 = BA-1
XI = BA-1
We can remove I (for the same reason we can remove "1" from 1x = ab for
numbers):
X = BA-1
In that example we were very careful to get the multiplications correct, because
with Matrices the order of multiplication matters. AB is almost never equal to
BA.
EXAMPLE
A group took a trip on a bus, at $3 per child and $3.20 per adult for a
total of $118.40.
They took the train back at $3.50 per child and $3.60 per adult for a
total of $135.20.
First, let us set up the matrices (be careful to get the rows and columns
correct!):
5
This is just like the example above:
XA = B
X = BA-1
The answer almost appears like magic. But it is based on good mathematics.
Calculations like that (but using much larger matrices) help Engineers design
buildings, are used in video games and computer animations to make things
look 3-dimensional, and many other places.
The calculations are done by computer, but the people must understand the
formulas.
Order is Important
6
Say that we are trying to find "X" in this case:
AX = B
With Matrices the order of multiplication usually changes the answer. Do not
assume that AB = BA, it is almost never true.
So how do we solve this one? Using the same method, but put A -1 in front:
A-1AX = A-1B
IX = A-1B
We can remove I:
X = A-1B
Why don't we try our bus and train example, but with the data set up
that way around.
It can be done that way, but we must be careful how we set it up.
Also note how the rows and columns are swapped over
("Transposed") compared to the previous example.
7
It is like the Inverse we got before, but
Transposed (rows and columns swapped over).
X = A-1B
So, Matrices are powerful things, but they do need to be set up correctly!
But also the determinant cannot be zero (or we end up dividing by zero).
How about this:
8
24-24? That equals 0, and 1/0 is undefined.
We cannot go any further! This Matrix has no Inverse.
And it makes sense ... look at the numbers: the second row is just double the
first row, and does not add any new information.
(Imagine in our bus and train example that the prices on the train were all
exactly 50% higher than the bus: so now we can't figure out any differences
between adults and children. There needs to be something to set them apart.)
Bigger Matrices
The inverse of a 2x2 is easy ... compared to larger matrices (such as a 3x3,
4x4, etc).
For those larger matrices there are three main methods to work out the
inverse:
9
Conclusion
-1 -1
The Inverse of A is A only when A × A = A-1 × A = I
To find the Inverse of a 2x2 Matrix: swap the positions of a and d,
put negatives in front of b and c, and divide everything by the determinant (ad-
bc).
10