Survey
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
Use Inverse Matrices to Solve Linear Systems Chapter 3.8 Square Matrix β’ Although a matrix may have any number of rows and columns, square matrices have properties that we can use to solve systems of equations β’ A square matrix is one of the form π × π, where n is a positive whole number β’ That is, the number of rows equals the number of columns β’ Like the real numbers, square matrices have a special matrix called the identity matrix β’ In the same way that, for the real numbers, 1 β π = π, if I is an identity matrix and A is a square matrix of the same dimensions, πΌπ΄ = π΄ Square Matrix β’ Each size of square matrix has its own identity matrix β’ For 2 × 2 matrices, the identity matrix is 1 0 0 1 β’ For 3 × 3 matrices, the identity matrix is 1 0 0 0 1 0 0 0 1 β’ For any other square matrix, the identity matrix has 1βs in the left-toright diagonal and 0βs everywhere else Square Matrix 1 Multiply 0 4 3 2 2 β1 1 0 5 β 0 1 0 0 1 0 0 = 1 1 β 1 + 3 β 0 + β1 β 0 1 β 0 + 3 β 1 + β1 β 0 0β 1+2β 0+5β 0 0β 0+2β 1+5β 0 4β 1+2β 0+1β 0 4β 0+2β 1+1β 0 1 β 0 + 3 β 0 + β1 β 1 0β 0+2β 0+5β 1 = 4β 0+2β 0+1β 1 1 + 0 + 0 0 + 3 + 0 0 + 0 + (β1) 1 0+0+0 0+2+0 0+0+5 = 0 4+0+0 0+2+0 0 + 0 + _1 4 3 β1 2 5 2 1 Inverse Matrix β’ Recall that, among the real numbers, for every non-zero number a 1 1 there is another number so that π β = 1 π π β’ Suppose that A and B represent π × π matrices and that I is the π × π identity matrix β’ If π΄π΅ = πΌ, then B is the inverse of A (or A is the inverse of B) Example 3 8 β5 8 β’ Suppose that π΄ = and π΅ = 2 5 2 β3 β’ The product π΄π΅ is 3 8 β5 8 3 β β5 + 8 β 2 3 β 8 + 8 β β3 β’ β = = 2 5 2 β3 2 β β5 + 5 β 2 2 β 8 + 5 β β3 1 0 β15 + 16 24 β 24 β’ = β10 + 10 16 β 15 0 1 β’ The result is the 2 × 2 identity matrix, so that π΄ is the inverse of π΅ β’ We write the inverse of a matrix A as π΄β1 , so π΅ = π΄β1 Inverse Matrix β’ Recall that we use the inverse of a number to solve equations 1 2 1 2 β’ If 2π₯ = 10, then multiplying both sides β 2π₯ = β 10 1β π₯ =5 π₯=5 Inverse Matrix β’ In the same way, the inverse of a matrix can be used to solve a matrix equation π΄π = π΅ π΄β1 π΄π = π΄β1 π΅ πΌπ = π΄β1 π΅ π = π΄β1 π΅ β’ Note that we must pay attention to the order of the multiplication β’ Since we multiplied to the left of π΄π, we must also multiply to the left of π΅ Calculating the Inverse of a Matrix π β’ Given π΄ = π of A is π , where π, π, π, and π are real numbers, the inverse π π βπ β’ = βπ π β’ Note that his can only make sense if ππ β ππ β 0 β’ What this means is that not every square matrix has an inverse π΄β1 1 ππβππ Example 3 8 Find the inverse of π΄ = . 2 5 Follow the pattern of 2, and π = 5. π΄β1 1 3β 5β8β 2 5 β2 The inverse is = 1 ππβππ π βπ βπ . Then, π = 3, π = 8, π = π 1 β8 5 β8 β5 = = β1 3 β2 3 2 8 β3 Guided Practice Find the inverse of the matrix. β3 β4 1. β1 β2 2. β1 β4 3. 6 1 2 4 5 8 Guided Practice Find the inverse of the matrix. 1. 2. 3. β3 β4 β3 β4 ; β1 β2 β1 β2 β1 5 β1 ; β4 8 β4 5 8 6 1 6 1 ; 2 4 2 4 β1 β1 = = β1 = 1 β3β β2β β4 β β1 1 β1β 8β5β β4 1 6β 4β2β 1 4 β2 β1 2 1 β2 β2 4 4 = = 1 β3 2 1 β3 1 β3 2 2 1 8 8 β5 = 12 4 4 β1 β5 = β1 1 β1 4 β1 = = 22 β2 6 6 2 3 1 3 2 11 β1 11 β5 12 β1 12 β1 22 3 11 Solving a Matrix Equation β’ To solve a matrix equation, we must find an inverse that will cancel the coefficient matrix β’ If A, B, and X are matrices such that π΄π = π΅, then A is the coefficient matrix and to solve for X we use the inverse of A β’ Note that this is similar to finding the inverse (or reciprocal) of real number a in order to solve the equation ππ₯ = π β’ Once the inverse is found, multiply π΄β1 β π΄π = π΄β1 π΅ πΌπ = π΄β1 π΅ π = π΄β1 π΅ Solving a Matrix Equation Example Solve the matrix equation π΄π = π΅ for the 2 × 2 matrix X. 2 β7 β21 3 π΄= ,π΅ = β1 4 12 β2 2 β7 β21 3 π= β1 4 12 β2 How do we know that X must be a 2 × 2 matrix? Solving a Matrix Equation First, find the inverse of A π΄β1 2 β7 = β1 4 β1 1 4 = 1 1 1 4 = 2 β 4 β β7 β β1 1 7 4 = 2 1 7 2 7 2 Solving a Matrix Equation Next, multiply both sides of the matrix equation on the left 4 1 π΄β1 π΄π₯ = π΄β1 π΅ 7 2 β7 4 7 β21 π= 2 β1 4 1 2 12 4 β β21 + 7 β 12 1 0 π= 1 β β21 + 2 β 12 0 1 π= 0 3 β2 β1 3 β2 4 β 3 + 7 β β2 1 β 3 + 2 β β2 Solving a Matrix Equation Check your answer. 2 β7 0 β2 = β1 4 3 β1 2 β 0 + β7 β 3 β1 β 0 + 4 β 3 β21 12 2 β β2 + β7 β β1 = β1 β β2 + 4 β β1 3 =π΅ β2 Guided Practice Solve the matrix equation β4 0 1 8 π= 6 24 9 6 Guided Practice Solve the matrix equation β4 0 1 8 π= 6 24 The inverse is 1 β1 6 6 β1 = β4 β 6 + 1 β 0 0 β4 24 0 9 6 1 β β1 4 = β4 0 1 24 1 6 Guided Practice Multiply both sides of the equation by the inverse (on the left) 1 1 1 1 β β β4 1 4 24 4 24 8 9 π= 1 1 24 6 0 6 0 0 6 6 Since the multiplication on the left is I, we have 1 1 β 4 24 8 9 π= 1 24 6 0 6 Guided Practice You may use you calculator to perform the final multiplication 1 β 4 π= 0 1 24 8 1 24 6 β2 π= 4 β2 1 9 6 Inverse of a 3 × 3 Matrix β’ The inverse of a 3 × 3 matrix can be calculated by hand, but the calculation is lengthy, so you will use your calculator β’ To do this, enter the element values, then raise the matrix to the β1 power β’ Use the Math button to display the result with fraction values Guided Practice Use your calculator to find the inverse of the matrix. Check your result by β1 multiplying π΄ β π΄ . 1. 2 β2 0 2 0 β2 12 β4 β6 2. β3 1 5 3. 2 5 4 4 5 5 0 2 2 1 β2 3 0 3 8 Guided Practice Use your calculator to find the inverse of the matrix. Check your result by multiplying π΄ β π΄β1 . 1. 2 2 12 β2 0 2 0 β2 ; 2 β4 β6 12 β2 0 0 β2 β4 β6 3 β 2 3 β 2 3 β 2 β1 β2 β1 β1 = 1 2 1 2 1 2 Guided Practice Use your calculator to find the inverse of the matrix. Check your result by multiplying π΄ β π΄β1 . 2. β3 1 5 4 5 β3 5 0; 1 2 2 5 4 5 5 0 2 2 β1 = 10 β 153 2 153 23 153 2 β 153 31 153 26 β 153 25 153 5 β 153 19 153 Guided Practice Use your calculator to find the inverse of the matrix. Check your result by multiplying π΄ β π΄β1 . 3. 2 5 4 1 β2 2 3 0 ; 5 3 8 4 1 β2 3 0 3 8 β1 12 = β20 3 2 β7 12 β1 3 β5 1 2 Solve Linear Systems With a Matrix Equation β’ Multiply the matrices on the left 2 1 β3 π₯ 19 β π¦ = β7 4 Solve Linear Systems With a Matrix Equation β’ Multiply the matrices on the left 2 β3 π₯ 19 β π¦ = β7 1 4 The result is a system of equations in two variables: 2π₯ β 3π¦ = 19 π₯ + 4π¦ = β7 Solve Linear Systems With a Matrix Equation β’ We can solve systems of equations by converting the system into a matrix equation β’ We can then solve the system in one step by multiplying both sides of the equation by the inverse of the square matrix β’ Example: Use an inverse matrix to solve the linear system. 2π₯ β 3π¦ = 19 π₯ + 4π¦ = β7 Solve Linear Systems With a Matrix Equation 2π₯ β 3π¦ = 19 π₯ + 4π¦ = β7 Use the coefficients of the equations to form a matrix 2 β3 1 4 π₯ Multiply this by the 2 × 1 matrix π¦ 2 1 β3 π₯ 4 π¦ Solve Linear Systems With a Matrix Equation π₯ Multiply this by the 2 × 1 matrix π¦ 2 β3 π₯ 1 4 π¦ Set this equal to the 2 × 1 matrix made using the constants 2 1 β3 π₯ 19 = β7 4 π¦ Solve Linear Systems With a Matrix Equation 2 β3 π₯ 19 = β7 1 4 π¦ Solve the equation by multiplying both sides by the inverse of the square matrix. You may use your calculator to find the inverse. 4 11 1 β 11 3 11 2 2 1 11 4 3 β3 π₯ 19 11 11 = π¦ 1 2 β7 4 β 11 11 Solve Linear Systems With a Matrix Equation 4 11 1 β 11 3 11 2 2 1 11 4 3 β3 π₯ 11 11 19 = 1 2 β7 4 π¦ β 11 11 4 π₯ 11 = π¦ 1 β 11 3 11 19 = 5 2 β7 β3 11 Guided Practice Use an inverse matrix to solve the linear system. 4π₯ + π¦ = 10 1. 3π₯ + 5π¦ = β1 2. 2π₯ β π¦ = β6 6π₯ β 3π¦ = β18 3. 3π₯ β π¦ = β5 β4π₯ + 2π¦ = 8 Guided Practice Use an inverse matrix to solve the linear system. 4π₯ + π¦ = 10 1. ; π₯ = 3, π¦ = β2 3π₯ + 5π¦ = β1 2. 2π₯ β π¦ = β6 ; infinite solutions 6π₯ β 3π¦ = β18 3. 3π₯ β π¦ = β5 ; π₯ = β1, π¦ = 2 β4π₯ + 2π¦ = 8 Guided Practice Use an inverse matrix to solve the linear system. 3π₯ β 7π¦ + 5π§ = β32 2π₯ + 3π¦ + 4π§ = β8 1. β3π₯ + 4π¦ + 2π§ = 5 2. 2π₯ + 3π¦ = β2 5π₯ β 3π¦ + 2π§ = 10 5π¦ + 3π§ = β19 Exercise 3.8 β’ Handout