Download T4.3 - Inverse of Matrices

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Tensor operator wikipedia , lookup

Quadratic form wikipedia , lookup

Cartesian tensor wikipedia , lookup

System of linear equations wikipedia , lookup

Linear algebra wikipedia , lookup

Capelli's identity wikipedia , lookup

Eigenvalues and eigenvectors wikipedia , lookup

Jordan normal form wikipedia , lookup

Oscillator representation wikipedia , lookup

Rotation matrix wikipedia , lookup

Four-vector wikipedia , lookup

Singular-value decomposition wikipedia , lookup

Non-negative matrix factorization wikipedia , lookup

Symmetry in quantum mechanics wikipedia , lookup

Gaussian elimination wikipedia , lookup

Matrix (mathematics) wikipedia , lookup

Determinant wikipedia , lookup

Matrix calculus wikipedia , lookup

Perron–Frobenius theorem wikipedia , lookup

Cayley–Hamilton theorem wikipedia , lookup

Matrix multiplication wikipedia , lookup

Transcript
T4.3 - Inverse of Matrices &
Determinants
IB Math SL - Santowski
(A) Review








- at this stage of studying matrices, we know how to
add, subtract and multiply matrices
 2  3
i.e. if A  


5
1


Then evaluate:
(a) A + B
(b) -3A
(c) BA
(d) B – A
(e) AB
and
1
1
B 2

 3  1
(B) Review of Real Numbers

if we divide 5 by 8 (i.e. 5/8), we could rearrange and look at
division as nothing more than simple multiplication

 thus 5/8 = 5 x 1/8 = 5 x 8-1

 so in a way, we would never have to perform division as long
as we simply multiply by the inverse (or reciprocal)


One other note about this inverse of a number  a number and
its inverse (its reciprocal) have the property that (n) x (n-1) = 1
- i.e. (8) (8-1) = (8) (1/8) = (8/8) = 1

So how does this relate to DIVISION of MATRICES????
(C) Strategy for “Dividing” Matrices

So how does “multiplicative inverses” relate
to DIVISION of MATRICES????

If a number and its inverse (its reciprocal)
have the property that (n) x (n-1) = 1

Then ….
(C) Strategy for “Dividing” Matrices

So how does “multiplicative inverses” relate
to DIVISION of MATRICES????

If a number and its inverse (its reciprocal)
have the property that (n) x (n-1) = 1

Then …. a matrix and its “inverse” should
have the property that B x B -1 = 1
(C) Strategy for “Dividing” Matrices

So …. a matrix and its “inverse” should have
the property that B x B -1 = 1

Well what is 1 in terms of matrices?  simply
the identity matrix, I

Thus B x B
-1
=I
1 0
I 

0
1


or
1 0 0
I  0 1 0
0 0 1
(D) Inverse Matrices

Given matrix A, which of the following 4 is the
inverse of matrix A?
 2 3
A

1
2


1 
1
3
B 2
 1 1 2 
1
2
D


3

2


 2  3
C


1

2


 2  3
E


1
2


(D) Inverse Matrices

Solve for x:
2 2 
1 0  2
 x
Let A  4 1 0 , then A1   28 9  8
1 1 7 
 3
 1 1 
(E) Terms Associated with Inverse
Matrices

Thus we have 2 new terms that relate to
inverse matrices:

(a) a matrix is invertible if it has an inverse

(b) a matrix is singular if it does NOT have
an inverse
(F) Inverse Matrices on TI-83/4


So we have the basic idea of inverse
matrices  how can I use the calculator to
find the inverse of a matrix??


(F) Inverse Matrices on TI-83/4

Use the TI-83/4 to determine the inverse of:
 2 1
A

4 3
2 3 
B

5  4
(G) Properties of Inverses (and Matrix
Multiplication)

Is multiplication with real numbers
commutative (is ab = ba)?

Is matrix multiplication commutative


 Is AB = BA? (use TI-84 to investigate)
Is A x A-1 = A-1 x A = I? (use TI-84 to
investigate)
(G) Properties of Inverses (and Matrix
Multiplication)

Are these “properties” true for (i) real
numbers? (ii) matrices??? Use TI-84 to
investigate

Is (A-1)-1= A ???

Is (AB)-1 = A-1B-1 ?
(H) Determining the Inverse of a Matrix

How can we determine the inverse of a
matrix if we DO NOT have access to our
calculators?

(i) Matrix Multiplication
(ii) Calculating the “determinant”

(H) Determining the Inverse of a Matrix


Let’s use Matrix Multiplication to find the inverse of
So our matrix will be
 1 1
A


1
2


a b 
A 

c
d


1
A  A1  I

And we now have the multiplication

And so using our knowledge of matrix multiplication, we get 
 1 1  a b  1 0
  1 2    c d   0 1 

 
 

(H) Determining the Inverse of a Matrix

And so using our
knowledge of
matrix
multiplication, we
get a system of 4
equations 
 a  c 1
 bd 0


  a  2c  0
  b  2d  1

Which we can solve as:
a  c 1
 a  2c  0  a  2c
and
so 2c   c  1
so c  1
3
 b  2d  1
so
and a  2
and
d   2d  1
so d  1
3
and
3
b d  0  b  d
b1
3
(H) Determining the Inverse of a Matrix
 1 1
 So if A 
  1 2



So our matrix will be

Block D end
1 
2

1
3
A  3
 13 13 


(H) Determining the Inverse of a Matrix

How can we determine the inverse of a
matrix if we DO NOT have access to our
calculators?

(ii) Calculating the “determinant”

So Method #2 involved something called a
“determinant”  which means …..??
(I) Determinants  An Investigation

Use your TI-83/4 to determine the following
products:
3 1   2
5 2   5

 
1 2  4
3 4   3

 
 5 11 3
 2 3   2

 
 1 





3 

 2 







1 


 11 







5  








(I) Determinants  An Investigation

Use your TI-83/4 to determine the following
products:
3 1   2
5 2   5

 
1 2  4
3 4   3

 
 5 11 3
 2 3   2

 
 1 1 0

I


3  0 1 
 2   2 0 

 2


1   0  2
 11 37 0 

 37


5   0 37 
1 0
0 1  2 I


1 0
0 1  37 I


(I) Determinants  An Investigation

Now carefully look at the 2 matrices you
multiplied and observe a pattern ????
3 1   2
5 2   5

 
1 2  4
3 4   3

 
 5 11 3
 2 3   2

 
 1 1 0

I


3  0 1 
 2   2 0 

 2


1   0  2
 11 37 0 

 37


5   0 37 
1 0
0 1  2 I


1 0
0 1  37 I


(I) Determinants  An Investigation

Now carefully look at the 2 matrices you
multiplied and observe a pattern ????
a b  ?? ?? ?? 0 
 c d   ?? ??   0 ??  ? I

 
 

(I) Determinants  An Investigation

Now PROVE your pattern holds true for all
values of a, b, c, d ….
(I) Determinants  An Investigation


Now PROVE your
pattern holds true
for all values of a,
b, c, d ….
a b   d  b 
 c d    c a 

 

 ad  bc  ab  ab 


cd

cd

bc

ad


0
ad  bc



0

bc

ad


1 0
 ad  bc 

0 1 
 ad  bc I
(I) Determinants  An Investigation

So to summarize:
a b   d  b 
1 0
 c d    c a   ad  bc  0 1

 



OR
a b 
 d  b 1 0
1







c
d

c
a
0
1


ad

bc



 

(I) Determinants  An Investigation

then we see that from our original matrix, the value (ad-bc) has
special significance, in that its value determines whether or not
matrix A can be inverted

-if ad - bc does not equal 0, matrix A would be called "invertible“

- i.e. if ad - bc = 0, then matrix A cannot be inverted and we call it
a singular matrix

- the value ad - bc has a special name  it will be called the
determinant of matrix A and has the notation detA or |A|
(I) Determinants  An Investigation

So if A is invertible then
a b 
A

c
d


then
1
A 
A
1
 d  b
 c a  where A  ad  bc


(J) Examples


ex 1. Find the
determinant of the
following matrices and
hence find their
inverses:

Verify using TI-83/4
 2 1
A

4 3
2 3 
B

5  4
(J) Examples



ex 2. Find the
determinant of the
following matrices and
hence find their
inverses:
Verify using TI-83/4
5 3
A

5
4


2 3
C

7
8


3 4 
B

1

2


5  2
D

3
6


(J) Examples


Prove whether the following
statements are true or false for
2 by 2 matrices. Remember
that a counterexample
establishes that a statement is
false.
In general, you may NOT
assume that a statement is
true for all matrices because it
is true for 2 by 2 matrices, but
for the examples in this
question, those that are true
for 2 by 2 matrices are true for
all matrices if the dimensions
allow the operations to be
performed.

Questions:
(a) det  AB   det  A det B 
 
1
det  A
(c) det  A  B   det  A  det B 
(b) det A1 
 
(d) det AT  det  A
(L) Homework

HW –


Ex 14H #2ad, 8acf;
Ex 14I #1a, 3ab, 4b, 7;
Ex 14K #2a;
Ex 14L #5a, 8;

IB Packet #2, 7


3x3 Matrices & Determinants

So far, we have worked with 2x2 matrices to
explain/derive the concept of inverses and
determinants

But what about 3x3 matrices??

Do they have inverses? How do I find the
inverse? How do I calculate the determinant?
3x3 Matrices & Determinants

a b 
A

c d 
If A is the 2 by 2 matrix ,
det(A) = ad - bc is found this way:
then
a b 
A

c
d



So the product of one diagonal (ad) minus
the product of another diagonal (bc)
3x3 Matrices & Determinants

This “diagonal” trick can also be applied to
3x3 matrices

We will NOT attempt to PROVE it in any way
in this course though  you should simply be
aware of a non-calculator method for finding
a determinant of a 3x3 matrix
3x3 Matrices & Determinants
4 2 3
A  0 2 4
1 3 6

Let

And let’s use this diagonal
difference idea ….
 4 2 3 4 2


A  0 2 4 0 2
1 3 6 1 3

4*2*6 – 1*2*3 = 48 – 6 = 42

… but I haven’t used all the
elements of the matrix
….. So ….

3x3 Matrices & Determinants
4 2 3
A  0 2 4
1 3 6

Let

And let’s use this diagonal
difference idea ….
 4 2 3 4 2
A  0 2 4 0 2
1 3 6 1 3

2*4*1 – 3*4*4 = 8 – 48 = -40

And ….
3x3 Matrices & Determinants
4 2 3
A  0 2 4
1 3 6

Let

And let’s use this diagonal
difference idea ….
 4 2 3 4 2
A  0 2 4 0 2
1 3 6 1 3

3*0*3 – 6*0*2 = 0
… so …

(42) + (-40) + (0) = 2

3x3 Matrices & Determinants




4 2 3
Let A  0 2 4


1 3 6
And let’s use this
diagonal difference idea
….
and (42) + (-40) + (0)
=2
So det[A] = 2

And verifying on the TI83/4 …
3x3 Matrices & Determinants

There is an alternative approach to finding
the determinant of a 3x3 matrix

The formula is

if
3x3 Matrices & Determinants

So working the formula:
if
 4 2 3
A  0 2 4
1 3 6
2 4
0 4
0 2
then
det A  A  4
then
det A  A  412  12   20  4   30  2 
then
det A  A  40   2 4   3 2 
then
det A  A  8  6  2
3 6
2
1 6
3
1 3
3x3 Matrices & Determinants

So, if we can find a value for the determinant,
what does that mean 

It simply means that our original matrix is
invertible and as long as det[A] ≠ 0, then we
can invert our matrix and make use of the
inverse
Practice

Find the determinants of these matrices.
Show your work.
Homework

HW


Ex 14H #5;
Ex 14I #5ac, 6, 8b;
Ex 14J #1agh, 3, 6a;

IB Packet #1, 4, 5
