Identity Inverse Matrices Section 4 7 Identity Matrices

  • Slides: 23
Download presentation
Identity & Inverse Matrices Section 4 -7

Identity & Inverse Matrices Section 4 -7

Identity Matrices In the multiplication of numbers, the identity element is the number 1

Identity Matrices In the multiplication of numbers, the identity element is the number 1 since x ·1 = x for every value of x. (it gives the original number its identity back) For matrices, the number 1 is If you multiply the matrix I with any matrix P and the result is the matrix P, then I is known as the identity matrix.

Multiplicative Identity : Is there a 2 2 identity matrix for matrix multiplication. i.

Multiplicative Identity : Is there a 2 2 identity matrix for matrix multiplication. i. e. A I = I A = A , where I is the identity matrix. For example, I = When referring to the multiplicative identity, it is usually called "the identity matrix". N. B.

Characteristics of Identity matrix : Is is a square matrix All elements in the

Characteristics of Identity matrix : Is is a square matrix All elements in the leading diagonal are 1. All the other elements are 0. Eg What do you obtain when A is multiplied by the identity matrix? AI = A or IA = A

Matrix Inverse ** When we say "the inverse of a matrix", it is referring

Matrix Inverse ** When we say "the inverse of a matrix", it is referring to the multiplicative inverse If A and B are two matrices and AB = BA = I, then A is said to be the inverse of B, denoted by B-1; B is said to be the inverse of A, denoted by A-1.

Given A and the inverse of A, denoted by A-1 IMPT NOTE : if

Given A and the inverse of A, denoted by A-1 IMPT NOTE : if two matrices are inverses and you multiply them, then the result is the IDENTITY MATRIX.

To find the inverse of a matrix A = . Step 1 : Find

To find the inverse of a matrix A = . Step 1 : Find the determinant of the matrix A, denoted by det A Note : • If det A = 0, then the inverse of A is not defined. • Hence A does not have an inverse. Step 2 : The inverse of matrix A is

Examples Find the inverse if it exists: Imp !! ! e l ossib

Examples Find the inverse if it exists: Imp !! ! e l ossib

Examples Determine whether each pair of matrices are inverses If 2 matrices are inverses,

Examples Determine whether each pair of matrices are inverses If 2 matrices are inverses, when you multiply them you get the identity matrix. – s Ye ’re y the rses! e inv

Using Matrices to Solve Simultaneous Equations To solve simultaneous equations by using simple algebra,

Using Matrices to Solve Simultaneous Equations To solve simultaneous equations by using simple algebra, if there is no solution or infinite solutions, what will you say about the two equations? The simultaneous equations will represent either two parallel lines or the same straight line.

Using Matrices to Solve Simultaneous Equations When the simultaneous equations is expressed in the

Using Matrices to Solve Simultaneous Equations When the simultaneous equations is expressed in the matrix form, and if the determinant of the 2 2 matrix is zero, then the two simultaneous equations will represent either two parallel lines or the same straight line. The equations have no unique solution.

Using Matrices to Solve Simultaneous Equations • Step 1 : Given ax + by

Using Matrices to Solve Simultaneous Equations • Step 1 : Given ax + by = h and cx + dy = k • Step 2 : Find determinant of • Step 3 : If , then • Step 3 : If , the equations have no unique solution.

Ex 9 D Page 214 Class work: Q 1, 3, 5, 8 Q 10

Ex 9 D Page 214 Class work: Q 1, 3, 5, 8 Q 10 Q 12 Q 13 Q 14 • • Homework: Q 2, 4, 6 Q 9 Q 11

Why learn Matrices ? The interior design company is given the job of putting

Why learn Matrices ? The interior design company is given the job of putting up the curtains for the windows, sliding doors and the living room of the entire new apartment block of the NTUC executive condominium. There a total of 156 threebedroom units and each unit has 5 windows, 3 sliding doors and 2 living rooms. Each window requires 6 m of fabric, each sliding door requires 14 m of fabric and each living room requires 22 m of fabric. Given that each metre of the fabric for the window cost $12. 30, the fabric for the sliding door costs $14. 50 per metre and each metre of the fabric for the living room is $16. 50. We can write down three matrices whose product shows the total amount of needed to put up the curtains for each unit of the executive condominium.

NE Message: The property market in Singapore went up very rapidly in the 1990’s.

NE Message: The property market in Singapore went up very rapidly in the 1990’s. Many Singaporeans dream of owning a private property were dashed and many call for some form of help from the government to realise their dream. NTUC Choice Home was set up to go into property business as a way of stabilising the market and to help Singaporeans achieve their dream of owning private properties. With the onset of the Asian economic crises, the property market went under and the public start to question the need for NTUC Choice Home and urged NTUC to dissolve NTUC Choice Homes. Do you think this is a good request? How long do you think it will take to set up a company to run the property business?

Operations using a Spreadsheet The Microsoft Excel matrix functions are: � MDETERM(array) Returns the

Operations using a Spreadsheet The Microsoft Excel matrix functions are: � MDETERM(array) Returns the matrix determinant of an array � MINVERSE(array) Returns the inverse of the matrix of an array � MMULT(array A, array B) Returns the matrix product � TRANSPOSE(array) Returns the transpose of an array. The first row of the input becomes the first column of the output array, etc. � *Except for MDETERM(), these array functions and must be completed with "Crtl+shift+Enter". �

Some Interesting Applications Routes matrices or Matrices for Graphs Matrices can be used to

Some Interesting Applications Routes matrices or Matrices for Graphs Matrices can be used to store data about graphs. The graph here is a geometric figure consisting of points (vertices) and edges connecting some of these points. If the edges are assigned a direction, the graph is called directed. Cryptography Matrices are also used in cryptography, the art of writing or deciphering secret codes.

Routes Matrices Example If 5 places A, B, C, D, E are connected by

Routes Matrices Example If 5 places A, B, C, D, E are connected by a road system shown in the graph. The arrows denote one-way roads, then this can be listed as B the loop at B gives 2 routes from B to B but the loop at D gives only 1 route because it is one-way only. R= A E C D

� � Multiplying this matrix by itself gives R 2 which gives the number

� � Multiplying this matrix by itself gives R 2 which gives the number of possible two-stage routes from place to place. E. g. the number in the 1 st row, 1 st column is 3 showing there are 3 twostage routes from A back to A (One is ABA, another is ACA using the two-way road and the third is ACA out along the one-way road and back along the two-way road. ) Similarly, R 3 gives the number of possible three-stage routes from place to place and vice versa.

A spreadsheet can be used for the tedious matrix operations as shown below.

A spreadsheet can be used for the tedious matrix operations as shown below.

Cryptography � One way of encoding is associating numbers with the letters of the

Cryptography � One way of encoding is associating numbers with the letters of the alphabet as show below. This association is a one-to-one correspondence so that no possible ambiguities can arise. A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 In this code, the word PEACE looks like 11 22 26 24 22. Suppose we want to encode the message: MATHS IS FUN If we decide to divide the message into pairs of letters, the message becomes MA TH IS SF UN.

 (If there is a letter left over, we arbitrarily assign Z to the

(If there is a letter left over, we arbitrarily assign Z to the last position). Using the correspondence of letters to numbers given above, and writing each pair of letters as a column vector, we obtain Choose an arbitrary 2 2 matrix A which has an inverse A-1. Say A = and A-1 =

Now transform the column vectors by multiplying each of them on the left by

Now transform the column vectors by multiplying each of them on the left by A: The encoded message is 106 66 71 45 70 44 79 50 51 32. To decode, multiple by A-1 and reassigning letters to the numbers.