0% found this document useful (0 votes)
74 views10 pages

45 5 Inverse of A Matrix

The inverse of a matrix A, written A-1, is the matrix that when multiplied with A results in the identity matrix I. For a 2x2 matrix, the inverse can be calculated by swapping the diagonal elements, changing the sign of the off-diagonal elements, and dividing everything by the determinant of the original matrix. Not every matrix has an inverse, as the inverse only exists if the matrix is square and has a non-zero determinant. Calculating inverses of larger matrices requires more advanced methods like Gaussian elimination or using minors and cofactors. Inverses are useful for solving systems of equations involving matrices by allowing multiplication on both sides of an equation by the inverse matrix.

Uploaded by

api-299265916
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views10 pages

45 5 Inverse of A Matrix

The inverse of a matrix A, written A-1, is the matrix that when multiplied with A results in the identity matrix I. For a 2x2 matrix, the inverse can be calculated by swapping the diagonal elements, changing the sign of the off-diagonal elements, and dividing everything by the determinant of the original matrix. Not every matrix has an inverse, as the inverse only exists if the matrix is square and has a non-zero determinant. Calculating inverses of larger matrices requires more advanced methods like Gaussian elimination or using minors and cofactors. Inverses are useful for solving systems of equations involving matrices by allowing multiplication on both sides of an equation by the inverse matrix.

Uploaded by

api-299265916
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Inverse of a Matrix

What is the Inverse of a Matrix?


This is the reciprocal of a Number:

Reciprocal of a Number
-1

The Inverse of a Matrix is the same idea but we write it A

-1

Why not 1/A ? Because we don't divide by a Matrix! And anyway 1/8 can also be written 8
And there are other similarities:

When you multiply a number by its reciprocal you get 1


8 (1/8) = 1
When you multiply a Matrix by its Inverse you get the Identity Matrix (which is
like "1" for Matrices):
A A-1 = I
Same thing when the inverse comes first:

(1/8) 8 = 1
A-1 A = I

Identity Matrix
We just mentioned the "Identity Matrix". It is the matrix equivalent of the number "1":

A 3x3 Identity Matrix

It is "square" (has same number of rows as columns),

It has 1s on the diagonal and 0s everywhere else.

It's symbol is the capital letter I.

The Identity Matrix can be 22 in size, or 33, 44, etc ...

Definition
Here is the definition:
-1

The Inverse of A is A only when:

A A-1 = A-1 A = I
Sometimes there is no Inverse at all.

2x2 Matrix
OK, how do we calculate the Inverse?

Well, for a 2x2 Matrix the Inverse is:

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).
Let us try an example:

How do we know this is the right answer?


-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:

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:

Why Would We Want an Inverse?


Because with Matrices we don't divide! Seriously, there is no concept of dividing by a
Matrix.
But we can multiply by an Inverse, which achieves the same thing.
Imagine you couldn't divide by numbers, and someone asked "How do I share 10 apples
with 2 people?"
But you could take the reciprocal of 2 (which is 0.5), so you could answer:
10 0.5 = 5

They get 5 apples each


The same thing can be done with Matrices:
Say that you know Matrix A and B, and want to find Matrix X:

XA = B
It would be nice to divide both sides by A (to get X=B/A), but remember we can't divide.

But what if we multiply both sides by A-1 ?

XAA-1 = BA-1
And we know that AA-1 = I, so:

XI = BA-1
We can remove I (for the same reason we could remove "1" from 1x = ab for numbers):

X = BA-1
And we have our answer (assuming we can calculate A-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.

A Real Life 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.

How many children, and how many adults?

First, let us set up the matrices (be careful to get the rows and columns correct!):

This is just like the example above:

XA = B
So to solve it we need the inverse of "A":

Now we have the inverse we can solve using:

X = BA-1

There were 16 children and 22 adults!

Order is Important
Say that you are trying to find "X" in this case:

AX = B
This is different to the example above! X is now after A.
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
And we know that A-1A= I, so:

IX = A-1B
We can remove I:

X = A-1B

And we have our answer (assuming we can calculate A-1)


Why don't we try our example from above, but with the data set up this way around.
(Yes, you can do this, just be careful how you set it up.)
This is what it looks like as AX = B:

It looks so neat! I think I prefer it like this.


Also note how the rows and columns are swapped over ("Transposed")
compared to the previous example.
To solve it we need the inverse of "A":

It is like the Inverse we got before, but


Transposed (rows and columns swapped over).
Now we can solve using:

X = A-1B

Same answer: 16 children and 22 adults.

So, Matrices are powerful things, but they do need to be set up correctly!

The Inverse May Not Exist


First of all, to have an Inverse the Matrix must be "Square" (same number of rows and
columns).
But also the determinant cannot be zero (or you would end up dividing by zero). How
about this:

24-24? That equals 0, and 1/0 is undefined.


We cannot go any further! This Matrix has no Inverse.

Such a Matrix is called "Singular", which only happens when the determinant is
zero.
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 example above that the prices on the train were exactly, say, 50% higher ...
we wouldn't be any closer to figuring out how many adults and children ... we need
something different.
And the determinant neatly works this out.

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 two main methods to work out the inverse:

Inverse of a Matrix using Elementary Row Operations (Gauss-Jordan)

Inverse of a Matrix using Minors, Cofactors and Adjugate

Conclusion

The Inverse of A is A-1 only when A A-1 = 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 (adbc).

Sometimes there is no Inverse at all

You might also like