College Algebra Fifth Edition

Slides:



Advertisements
Similar presentations
Chapter 4 Systems of Linear Equations; Matrices
Advertisements

Chapter 4 Systems of Linear Equations; Matrices
Chapter 4 Systems of Linear Equations; Matrices Section 6 Matrix Equations and Systems of Linear Equations.
Matrices: Inverse Matrix
Chapter 2 Matrices Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.
Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 1 of 86 Chapter 2 Matrices.
MOHAMMAD IMRAN DEPARTMENT OF APPLIED SCIENCES JAHANGIRABAD EDUCATIONAL GROUP OF INSTITUTES.
Finite Mathematics & Its Applications, 10/e by Goldstein/Schneider/SiegelCopyright © 2010 Pearson Education, Inc. 1 of 86 Chapter 2 Matrices.
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
LIAL HORNSBY SCHNEIDER
Copyright © Cengage Learning. All rights reserved. 7.6 The Inverse of a Square Matrix.
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
Section 6.1 Systems of Linear Equations
Section 8.1/8.2 Matrix Solutions to Linear Systems Inconsistent and Dependent Systems.
Systems and Matrices (Chapter5)
Copyright © Cengage Learning. All rights reserved.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Review for Chapter 4 Important Terms, Symbols, Concepts 4.1. Systems of Linear Equations in Two Variables.
Rev.S08 MAC 1140 Module 10 System of Equations and Inequalities II.
Matrix Algebra. Quick Review Quick Review Solutions.
MATH 250 Linear Equations and Matrices
1 © 2010 Pearson Education, Inc. All rights reserved © 2010 Pearson Education, Inc. All rights reserved Chapter 9 Matrices and Determinants.
4.6 Matrix Equations and Systems of Linear Equations In this section, you will study matrix equations and how to use them to solve systems of linear equations.
Copyright © 2007 Pearson Education, Inc. Slide 7-1.
Systems of Linear Equations: Matrices Chapter Overview A matrix is simply a rectangular array of numbers. Matrices are used to organize information.
8.1 Matrices & Systems of Equations
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
1 C ollege A lgebra Systems and Matrices (Chapter5) 1.
10.4 Matrix Algebra 1.Matrix Notation 2.Sum/Difference of 2 matrices 3.Scalar multiple 4.Product of 2 matrices 5.Identity Matrix 6.Inverse of a matrix.
Unit 3: Matrices.
4.5 Inverse of a Square Matrix
Chapter 8 Matrices and Determinants Matrix Solutions to Linear Systems.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
Learning Objectives for Section 4.5 Inverse of a Square Matrix
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
TH EDITION LIAL HORNSBY SCHNEIDER COLLEGE ALGEBRA.
10.4 Matrix Algebra 1.Matrix Notation 2.Sum/Difference of 2 matrices 3.Scalar multiple 4.Product of 2 matrices 5.Identity Matrix 6.Inverse of a matrix.
Copyright ©2015 Pearson Education, Inc. All rights reserved.
Student Handbook 1. Matrices A matrix (plural: matrices, not matrixes) is a rectangular array of numbers such as Matrices are useful when modelling a.
Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,
Mathematics Medicine What is meant by a matrix A matrix is a set of numbers arranged in the form of a rectangle and enclosed in curved brackets.
If A and B are both m × n matrices then the sum of A and B, denoted A + B, is a matrix obtained by adding corresponding elements of A and B. add these.
10.4 Matrix Algebra. 1. Matrix Notation A matrix is an array of numbers. Definition Definition: The Dimension of a matrix is m x n “m by n” where m =
Copyright © Cengage Learning. All rights reserved. 8 Matrices and Determinants.
Chapter 4 Systems of Linear Equations; Matrices
College Algebra Chapter 6 Matrices and Determinants and Applications
Elementary Matrix Theory
12-4: Matrix Methods for Square Systems
Chapter 7: Systems of Equations and Inequalities; Matrices
Section 6.1 Systems of Linear Equations
MAT 322: LINEAR ALGEBRA.
Chapter 4 Systems of Linear Equations; Matrices
Chapter 4 Systems of Linear Equations; Matrices
10.4 The Algebra of Matrices
Chapter 4 Systems of Linear Equations; Matrices
10.5 Inverses of Matrices and Matrix Equations
L9Matrix and linear equation
Copyright © Cengage Learning. All rights reserved.
Matrices 3 1.
Matrix Algebra.
Chapter 7: Matrices and Systems of Equations and Inequalities
Chapter 4 Systems of Linear Equations; Matrices
Unit 3: Matrices
Matrices.
Learning Objectives for Section 4.5 Inverse of a Square Matrix
Matrix Algebra.
Chapter 4 Systems of Linear Equations; Matrices
Chapter 4 Systems of Linear Equations; Matrices
Matrix Algebra THE INVERSE OF A MATRIX © 2012 Pearson Education, Inc.
Chapter 4 Systems of Linear Equations; Matrices
Presentation transcript:

College Algebra Fifth Edition James Stewart  Lothar Redlin  Saleem Watson

7 Matrices and Determinants

Inverses of Matrices and Matrix Equations 7.3

Here, we investigate division of matrices. Introduction In the preceding section, we saw that, when the dimensions are appropriate, matrices can be added, subtracted, and multiplied. Here, we investigate division of matrices. With this operation, we can solve equations that involve matrices.

The Inverse of a Matrix

First, we define identity matrices. These play the same role for matrix multiplication as the number 1 does for ordinary multiplication of numbers. That is, 1 · a = a · 1 = a for all numbers a.

Identity Matrices In the following definition, the term main diagonal refers to the entries of a square matrix whose row and column numbers are the same. These entries stretch diagonally down the matrix—from top left to bottom right.

Identity Matrix—Definition The identity matrix In is the n x n matrix for which: Each main diagonal entry is a 1. All other entries are 0.

Thus, the 2 x 2, 3 x 3, and 4 x 4 identity matrices are:

Identity Matrices Identity matrices behave like the number 1 in the sense that A · In = A and In · B = B whenever these products are defined.

The following matrix products show how: E.g. 1—Identity Matrices The following matrix products show how: Multiplying a matrix by an identity matrix of the appropriate dimension leaves the matrix unchanged.

E.g. 1—Identity Matrices

Inverse of a Matrix If A and B are n x n matrices, and if AB = BA = In, we say that B is the inverse of A, and we write B = A–1. The concept of the inverse of a matrix is analogous to that of the reciprocal of a real number.

Inverse of a Matrix—Definition Let A be a square n x n matrix. If there exists an n x n matrix A–1 with the property that AA–1 = A–1A = In then we say that A–1 is the inverse of A.

E.g. 2—Verifying that a Matrix Is an Inverse Verify that B is the inverse of A, where: We perform the matrix multiplications to show that AB = I and BA = I.

E.g. 2—Verifying that a Matrix Is an Inverse

E.g. 2—Verifying that a Matrix Is an Inverse

Finding the Inverse of a 2 x 2 Matrix

Finding the Inverse of a 2 x 2 Matrix The following rule provides a simple way for finding the inverse of a 2 x 2 matrix, when it exists. For larger matrices, there’s a more general procedure for finding inverses—which we consider later in this section.

If then If ad – bc = 0, then A has no inverse. Inverse of a 2 x 2 Matrix If then If ad – bc = 0, then A has no inverse.

E.g. 3—Finding the Inverse of a 2 x 2 Matrix Let A be the matrix Find A–1 and verify that AA–1 = A–1A = I2

E.g. 3—Finding the Inverse of a 2 x 2 Matrix Using the rule for the inverse of a 2 x 2 matrix, we get: To verify that this is indeed the inverse of A, we calculate AA–1 and A–1A.

E.g. 3—Finding the Inverse of a 2 x 2 Matrix

Determinant of a Matrix The quantity ad – bc that appears in the rule for calculating the inverse of a 2 x 2 matrix is called the determinant of the matrix. If the determinant is 0, the matrix does not have an inverse (since we cannot divide by 0).

Finding the Inverse of an n x n Matrix

Finding the Inverse of an n x n Matrix For 3 x 3 and larger square matrices, the following technique provides the most efficient way to calculate their inverses.

Finding the Inverse of an n x n Matrix If A is an n x n matrix, we first construct the n x 2n matrix that has the entries of A on the left and of the identity matrix In on the right:

Finding the Inverse of an n x n Matrix We then use the elementary row operations on this new large matrix to change the left side into the identity matrix. This means that we are changing the large matrix to reduced row-echelon form.

Finding the Inverse of an n x n Matrix The right side is transformed automatically into A–1. We omit the proof of this fact.

E.g. 4—Finding the Inverse of a 3 x 3 Matrix Let A be the matrix Find A–1. Verify that AA–1 = A–1A = I3.

E.g. 4—Inverse of a 3 x 3 Matrix Example (a) We begin with the 3 x 6 matrix whose left half is A and whose right half is the identity matrix. We then transform the left half of this new matrix into the identity matrix—by performing the following sequence of elementary row operations on the entire new matrix.

E.g. 4—Inverse of a 3 x 3 Matrix Example (a)

E.g. 4—Inverse of a 3 x 3 Matrix Example (a)

E.g. 4—Inverse of a 3 x 3 Matrix Example (a) We have now transformed the left half of this matrix into an identity matrix. This means we’ve put the entire matrix in reduced row-echelon form.

E.g. 4—Inverse of a 3 x 3 Matrix Example (a) Note that, to do this in as systematic a fashion as possible, we first changed the elements below the main diagonal to zeros—just as we would if we were using Gaussian elimination.

E.g. 4—Inverse of a 3 x 3 Matrix Example (a) Then, we changed each main diagonal element to a 1 by multiplying by the appropriate constant(s).

E.g. 4—Inverse of a 3 x 3 Matrix Example (a) Finally, we completed the process by changing the remaining entries on the left side to zeros.

E.g. 4—Inverse of a 3 x 3 Matrix Example (a) The right half is now A–1.

E.g. 4—Inverse of a 3 x 3 Matrix Example (b) We calculate AA–1 and A–1A, and verify that both products give the identity matrix I3.

Using Graphing Calculators Graphing calculators are also able to calculate matrix inverses. On the TI-82 and TI-83 calculators, matrices are stored in memory using names such as [A], [B], [C], . . . . To find the inverse of [A], we key in: [A] x –1 ENTER

Using Graphing Calculators For the matrix of Example 4, this results in the output shown. We have also used the Frac command to display the output in fraction form rather than in decimal form.

E.g. 5—Matrix that Does Not Have an Inverse Find the inverse of the matrix.

E.g. 5—Matrix that Does Not Have an Inverse

E.g. 5—Matrix that Does Not Have an Inverse

E.g. 5—Matrix that Does Not Have an Inverse At this point, we would like to change the 0 in the (3, 3) position of this matrix to a 1, without changing the zeros in the (3, 1) and (3, 2) positions.

E.g. 5—Matrix that Does Not Have an Inverse However, there is no way to accomplish this. No matter what multiple of rows 1 and/or 2 we add to row 3, we can’t change the third zero in row 3 without changing the first or second zero as well.

E.g. 5—Matrix that Does Not Have an Inverse Thus, we cannot change the left half to the identity matrix. So, the original matrix doesn’t have an inverse.

Matrix that Does Not Have an Inverse If we encounter a row of zeros on the left when trying to find an inverse—as in Example 5—then the original matrix does not have an inverse.

Singular Matrix If we try to calculate the inverse of the matrix from Example 5 on a TI-83 calculator, we get the error message shown here. A matrix that has no inverse is called singular.

Matrix Equations

Matrix Equations We saw in Example 6 in Section 7.2 that a system of linear equations can be written as a single matrix equation.

For example, the system is equivalent to the matrix equation Matrix Equations For example, the system is equivalent to the matrix equation

If we let this matrix equation can be written as: AX = B Coefficient Matrix If we let this matrix equation can be written as: AX = B The matrix A is called the coefficient matrix.

Matrix Equations We solve this matrix equation by multiplying each side by the inverse of A—provided the inverse exists. AX = B A–1(AX) = A–1B (A–1A)X = A–1B Associative Property I3X = A–1B Property of Inverses X = A–1B

In Example 4, we showed that: Matrix Equations In Example 4, we showed that:

Matrix Equations So, from X = A–1B, we have: Thus, x = –11, y = –23, z = 7 is the solution of the original system.

Matrix Equations We have proved that the matrix equation AX = B can be solved by the following method.

Solving a Matrix Equation Let: A be a square n x n matrix that has an inverse A–1. X be a variable matrix, with n rows. B be a known matrix, with n rows. Then, the solution of the matrix equation AX = B is given by: X = A–1B

E.g. 6—Solving a System Using a Matrix Inverse (a) Write the system of equations as a matrix equation. (b) Solve the system by solving the matrix equation.

E.g. 6—Using a Matrix Inverse Example (a) We write the system as a matrix equation of the form AX = B:

E.g. 6—Using a Matrix Inverse Example (b) Using the rule for finding the inverse of a 2 x 2 matrix, we get:

E.g. 6—Using a Matrix Inverse Example (b) Multiplying each side of the matrix equation by the inverse matrix, we get: Thus, x = 30 and y = 9.

Modeling with Matrix Equations

Applications Suppose we need to solve several systems of equations with the same coefficient matrix. Then, converting the systems to matrix equations provides an efficient way to obtain the solutions. We only need to find the inverse of the coefficient matrix once.

Applications This procedure is particularly convenient if we use a graphing calculator to perform the matrix operations—as in the next example.

E.g. 7—Modeling Nutritional Requirements A pet-store owner feeds his hamsters and gerbils different mixtures of three types of rodent food: KayDee Food, Pet Pellets, Rodent Chow He wishes to feed his animals the correct amount of each brand to satisfy their daily requirements for protein, fat, and carbohydrates exactly.

E.g. 7—Modeling Nutritional Requirements Suppose that each day: Hamsters require 340 mg of protein 280 mg of fat 440 mg of carbohydrates Gerbils need 480 mg of protein 360 mg of fat 680 mg of carbohydrates

E.g. 7—Modeling Nutritional Requirements The amount of each nutrient (in mg) in one gram of each brand is given here. How many grams of each food should the storekeeper feed his hamsters and gerbils daily to satisfy their nutrient requirements?

E.g. 7—Modeling Nutritional Requirements We let x1, x2, and x3 be the respective amounts (in grams) of KayDee Food, Pet Pellets, and Rodent Chow that the hamsters should eat. We let y1, y2, and y3 be the corresponding amounts for the gerbils.

E.g. 7—Modeling Nutritional Requirements Then, we want to solve the matrix equations Hamster eqn. Gerbil eqn.

E.g. 7—Modeling Nutritional Requirements Let:

E.g. 7—Modeling Nutritional Requirements Then, we can write these matrix equations as: AX = B Hamster eqn. AY = C Gerbil eqn. We want to solve for X and Y. So, we multiply both sides of each equation by A–1, the inverse of the coefficient matrix.

E.g. 7—Modeling Nutritional Requirements We could find A–1 by hand. However, it is more convenient to use a graphing calculator.

E.g. 7—Modeling Nutritional Requirements From the calculator displays, we see:

E.g. 7—Modeling Nutritional Requirements Daily, each hamster should be fed: 10 g of KayDee Food. 3 g of Pet Pellets. 12 g of Rodent Chow. Daily, each gerbil should be fed: 8 g of KayDee Food. 4 g of Pet Pellets. 20 g of Rodent Chow.