SlideShare a Scribd company logo
1 of 12
Download to read offline
Matrix Equations
Matrix Equations and Systems of Linear Equations
                                      Application




                Math 1300 Finite Mathematics
      Section 4.6 Matrix Equations and Systems of Linear
                           Equations


                                        Jason Aubrey

                                  Department of Mathematics
                                    University of Missouri




                                                                                   university-logo


                                   Jason Aubrey     Math 1300 Finite Mathematics
Matrix Equations
    Matrix Equations and Systems of Linear Equations
                                          Application


Solving a Matrix Equation

  Suppose we have an n × n matrix A and an n × 1 column
  matrices B and X . If A is invertible, then we can solve the
  equation
                                AX = B
  as follows

                AX = B
         −1
      A       (AX ) = A−1 B              multiply both sides by A−1 on the left
      (A−1 A)X = A−1 B                   matrix multiplication is associative
                              −1
                 IX = A            B     A−1 A = I
                   X = A−1 B
                                                                                       university-logo


                                       Jason Aubrey     Math 1300 Finite Mathematics
Matrix Equations
    Matrix Equations and Systems of Linear Equations
                                          Application


Using Inverses to Solve Systems of Equations

  Example: Use matrix inverse methods to solve the system:

                                            x1 − x2 + x3 = 1
                                                  2x2 − x3 = 1
                                       2x1 + 3x2 +0x3 = 1

  First, we write this as a matrix equation:
                                     
                        1 −1 1        x1     1
                      0 2 −1 x2  = 1
                        2 3      0    x3     1
                                           A             X             B

                                                                                       university-logo


                                       Jason Aubrey     Math 1300 Finite Mathematics
Matrix Equations
  Matrix Equations and Systems of Linear Equations
                                        Application




So we have a matrix equation

                                               AX = B

To solve this equation, we find A−1 :
                                                
  1 −1 1 1 0 0                        1 0 0 3 3 −1
 0 2 −1 0 1 0  → · · · → 0 1 0 −2 −2 1 
  2 3       0 0 0 1 Row Operations 0 0 1 −4 −5 2

Therefore,                                         
                                             3  3 −1
                                 A−1     = −2 −2 1 
                                            −4 −5 2

                                                                                     university-logo


                                     Jason Aubrey     Math 1300 Finite Mathematics
Matrix Equations
 Matrix Equations and Systems of Linear Equations
                                       Application




We know that X = A−1 B, so
                              
            x1       3    3 −1 1    5
          x2  = −2 −2 1  1 = −3
            x3     −4 −5 2      1   −7
                      X                     A−1              B

So, we conclude that

                                             x1 = 5
                                             x2 = −3
                                             x3 = −7


                                                                                    university-logo


                                    Jason Aubrey     Math 1300 Finite Mathematics
Matrix Equations
  Matrix Equations and Systems of Linear Equations
                                        Application




Using Inverse Methods to Solve Systems of Equations
If the number of equations in a system equals the number of
variables and the coeffiecient matrix has an inverse, then the
system will always have a unique solution that can be found by
using the inverse of the coefficient matrix to solve the
corresponding matrix equation.

                            Matrix Equation               Solution
                               AX = B                    X = A−1 B



                                                                                     university-logo


                                     Jason Aubrey     Math 1300 Finite Mathematics
Matrix Equations
  Matrix Equations and Systems of Linear Equations
                                        Application




Insight. . .
There are two cases where inverse methods will not work:
Case 1. If the coefficient matrix is singular.
Case 2. If the number of variables is not the same as the
number of equations.
In either case, use Guass-Jordan elimination.




                                                                                     university-logo


                                     Jason Aubrey     Math 1300 Finite Mathematics
Matrix Equations
  Matrix Equations and Systems of Linear Equations
                                        Application




Example: An investment advisor currently has two types of
investments available for clients: a conservative investment A that
pays 10% per year and investment B of higher risk that pays 20% per
year. Clients may divide their investments between the two to achieve
any total return desired between 10% and 20%. However, the higher
the desired return, the higher the risk. How should each client listed
in the table invest to achieve the desired return?
                                                 1             2                3      k
       Total Investment                       $20,000       $50,000          $10,000   k1
     Annual Return Desired                     $2,400        $7,500           $1,300   k2

The answer to this problem involves six quantities, two for each client.
We will solve this problem for an arbitrary client k with unspecified
amounts k1 for total investment and k2 for annual return.

                                                                                            university-logo


                                     Jason Aubrey     Math 1300 Finite Mathematics
Matrix Equations
  Matrix Equations and Systems of Linear Equations
                                        Application



Let

                x1 = amount invested in A by a given client
                x2 = amount invested in B by a given client

Then we have the following mathematical model:

                       x1 + x2 = k1             total invested
            0.1x1 + 0.2x2 = k2                  Total annual return desired

Write as a matrix equation:

                                    1   1             x1   k
                                                         = 1
                                   0.1 0.2            x2   k2
                                          A           X          B
                                                                                     university-logo


                                     Jason Aubrey     Math 1300 Finite Mathematics
Matrix Equations
  Matrix Equations and Systems of Linear Equations
                                        Application




If A−1 exists, then X = A−1 B. So, we find A−1 :

               1   1 1 0                                       1 0 2 −10
                                             → ··· →
              0.1 0.2 0 1                                      0 1 −1 10
                                          Row Operations

Thus
                                                      2 −10
                                     A−1 =
                                                      −1 10




                                                                                      university-logo


                                     Jason Aubrey      Math 1300 Finite Mathematics
Matrix Equations
  Matrix Equations and Systems of Linear Equations
                                        Application




Therefore,
                                  x1   2 −10                      k1
                                     =
                                  x2   −1 10                      k2
                                   X                  A−1          B

To solve each client’s problem, we replace k1 and k2 with
appropriate values from the table and multiply by A−1 :

                  x1   2 −10                          20, 000   16, 000
                     =                                        =
                  x2   −1 10                           2, 400    4, 000
                                            Client 1

Solution: x1 = $16, 000 in investment A,
x2 = $4, 000 in investment B

                                                                                      university-logo


                                       Jason Aubrey    Math 1300 Finite Mathematics
Matrix Equations
  Matrix Equations and Systems of Linear Equations
                                        Application




                  x1   2 −10                          50, 000   25, 000
                     =                                        =
                  x2   −1 10                           7, 500   25, 000
                                           Client 2

Solution: x1 = $25, 000 in investment A,
x2 = $25, 000 in investment B

                   x1    2 −10                        10, 000   7, 000
                      =                                       =
                   x2   −1 10                          1, 300   3, 000
                                             Client 2

Solution: x1 = $7, 000 in investment A,
x2 = $3, 000 in investment B
                                                                                       university-logo


                                     Jason Aubrey       Math 1300 Finite Mathematics

More Related Content

Viewers also liked

Matrices To Solve A Vector Combination Problem
Matrices To Solve A Vector Combination ProblemMatrices To Solve A Vector Combination Problem
Matrices To Solve A Vector Combination ProblemElmer
 
MATLAB - Aplication of Arrays and Matrices in Electrical Systems
MATLAB - Aplication of Arrays and Matrices in Electrical SystemsMATLAB - Aplication of Arrays and Matrices in Electrical Systems
MATLAB - Aplication of Arrays and Matrices in Electrical SystemsShameer Ahmed Koya
 
43040989[1]
43040989[1]43040989[1]
43040989[1]IKHG
 
9789740332985
97897403329859789740332985
9789740332985CUPress
 
เมทริกซ์ง่ายจะตาย
เมทริกซ์ง่ายจะตายเมทริกซ์ง่ายจะตาย
เมทริกซ์ง่ายจะตายAdisak1341
 
systems of linear equations & matrices
systems of linear equations & matricessystems of linear equations & matrices
systems of linear equations & matricesStudent
 
Unit viii
Unit viiiUnit viii
Unit viiimrecedu
 
Python Programming - IV. Program Components (Functions, Classes, Modules, Pac...
Python Programming - IV. Program Components (Functions, Classes, Modules, Pac...Python Programming - IV. Program Components (Functions, Classes, Modules, Pac...
Python Programming - IV. Program Components (Functions, Classes, Modules, Pac...Ranel Padon
 
system linear equations and matrices
 system linear equations and matrices system linear equations and matrices
system linear equations and matricesAditya Vaishampayan
 

Viewers also liked (20)

Matrices To Solve A Vector Combination Problem
Matrices To Solve A Vector Combination ProblemMatrices To Solve A Vector Combination Problem
Matrices To Solve A Vector Combination Problem
 
Dk
DkDk
Dk
 
MATLAB - Aplication of Arrays and Matrices in Electrical Systems
MATLAB - Aplication of Arrays and Matrices in Electrical SystemsMATLAB - Aplication of Arrays and Matrices in Electrical Systems
MATLAB - Aplication of Arrays and Matrices in Electrical Systems
 
เมทริกซ์
เมทริกซ์เมทริกซ์
เมทริกซ์
 
43040989[1]
43040989[1]43040989[1]
43040989[1]
 
43040989
4304098943040989
43040989
 
Matrix
MatrixMatrix
Matrix
 
9789740332985
97897403329859789740332985
9789740332985
 
Unit 1 matrix
Unit 1 matrixUnit 1 matrix
Unit 1 matrix
 
Matrix1
Matrix1Matrix1
Matrix1
 
4 bit binary full subtractor
4 bit binary full subtractor4 bit binary full subtractor
4 bit binary full subtractor
 
เมทริกซ์ง่ายจะตาย
เมทริกซ์ง่ายจะตายเมทริกซ์ง่ายจะตาย
เมทริกซ์ง่ายจะตาย
 
4 bit add sub
4 bit add sub4 bit add sub
4 bit add sub
 
Addition matrix
Addition matrixAddition matrix
Addition matrix
 
เมทริกซ์...
เมทริกซ์...เมทริกซ์...
เมทริกซ์...
 
systems of linear equations & matrices
systems of linear equations & matricessystems of linear equations & matrices
systems of linear equations & matrices
 
Unit viii
Unit viiiUnit viii
Unit viii
 
ระบบสมการเชิงเส้นและเมทริกซ์
ระบบสมการเชิงเส้นและเมทริกซ์ระบบสมการเชิงเส้นและเมทริกซ์
ระบบสมการเชิงเส้นและเมทริกซ์
 
Python Programming - IV. Program Components (Functions, Classes, Modules, Pac...
Python Programming - IV. Program Components (Functions, Classes, Modules, Pac...Python Programming - IV. Program Components (Functions, Classes, Modules, Pac...
Python Programming - IV. Program Components (Functions, Classes, Modules, Pac...
 
system linear equations and matrices
 system linear equations and matrices system linear equations and matrices
system linear equations and matrices
 

Similar to Math 1300: Section 4-6 Matrix Equations and Systems of Linear Equations

Math 1300: Section 5-2 Systems of Inequalities in two variables
Math 1300: Section 5-2 Systems of Inequalities in two variablesMath 1300: Section 5-2 Systems of Inequalities in two variables
Math 1300: Section 5-2 Systems of Inequalities in two variablesJason Aubrey
 
Lecture 07 graphing linear equations
Lecture 07 graphing linear equationsLecture 07 graphing linear equations
Lecture 07 graphing linear equationsHazel Joy Chong
 
Matrix and It's Applications
Matrix and It's ApplicationsMatrix and It's Applications
Matrix and It's ApplicationsPritom Chaki
 
Introduction to engineering maths
Introduction to engineering mathsIntroduction to engineering maths
Introduction to engineering mathsMAHADEVANV9
 
Introduction to engineering maths
Introduction to engineering mathsIntroduction to engineering maths
Introduction to engineering mathsKishore Kumar
 
0.3.e,ine,det.
0.3.e,ine,det.0.3.e,ine,det.
0.3.e,ine,det.m2699
 
Math 1300: Section 5-1 Inequalities in Two Variables
Math 1300: Section 5-1 Inequalities in Two VariablesMath 1300: Section 5-1 Inequalities in Two Variables
Math 1300: Section 5-1 Inequalities in Two VariablesJason Aubrey
 
Math 1300: Section 5- 3 Linear Programing in Two Dimensions: Geometric Approach
Math 1300: Section 5- 3 Linear Programing in Two Dimensions: Geometric ApproachMath 1300: Section 5- 3 Linear Programing in Two Dimensions: Geometric Approach
Math 1300: Section 5- 3 Linear Programing in Two Dimensions: Geometric ApproachJason Aubrey
 
Math 1300: Section 4-1 Review: Systems of Linear Equations in Two Variables
Math 1300: Section 4-1 Review: Systems of Linear Equations in Two VariablesMath 1300: Section 4-1 Review: Systems of Linear Equations in Two Variables
Math 1300: Section 4-1 Review: Systems of Linear Equations in Two VariablesJason Aubrey
 
Mathh 1300: Section 4- 4 Matrices: Basic Operations
Mathh 1300: Section 4- 4 Matrices: Basic OperationsMathh 1300: Section 4- 4 Matrices: Basic Operations
Mathh 1300: Section 4- 4 Matrices: Basic OperationsJason Aubrey
 
@ Business Mathematics Chapter 1& 2.pptx
@ Business Mathematics Chapter 1& 2.pptx@ Business Mathematics Chapter 1& 2.pptx
@ Business Mathematics Chapter 1& 2.pptxbizuayehuadmasu1
 
MATH PROJECT (3).pptx
MATH PROJECT (3).pptxMATH PROJECT (3).pptx
MATH PROJECT (3).pptxKAnurag2
 
Operation on Matrices.pptx
Operation on Matrices.pptxOperation on Matrices.pptx
Operation on Matrices.pptxTsheringTashi23
 
1. Linear Algebra for Machine Learning: Linear Systems
1. Linear Algebra for Machine Learning: Linear Systems1. Linear Algebra for Machine Learning: Linear Systems
1. Linear Algebra for Machine Learning: Linear SystemsCeni Babaoglu, PhD
 

Similar to Math 1300: Section 4-6 Matrix Equations and Systems of Linear Equations (20)

Math 1300: Section 5-2 Systems of Inequalities in two variables
Math 1300: Section 5-2 Systems of Inequalities in two variablesMath 1300: Section 5-2 Systems of Inequalities in two variables
Math 1300: Section 5-2 Systems of Inequalities in two variables
 
Lecture 07 graphing linear equations
Lecture 07 graphing linear equationsLecture 07 graphing linear equations
Lecture 07 graphing linear equations
 
5 6
5 65 6
5 6
 
Matrix and It's Applications
Matrix and It's ApplicationsMatrix and It's Applications
Matrix and It's Applications
 
Introduction to engineering maths
Introduction to engineering mathsIntroduction to engineering maths
Introduction to engineering maths
 
Introduction to engineering maths
Introduction to engineering mathsIntroduction to engineering maths
Introduction to engineering maths
 
0.3.e,ine,det.
0.3.e,ine,det.0.3.e,ine,det.
0.3.e,ine,det.
 
Math 1300: Section 5-1 Inequalities in Two Variables
Math 1300: Section 5-1 Inequalities in Two VariablesMath 1300: Section 5-1 Inequalities in Two Variables
Math 1300: Section 5-1 Inequalities in Two Variables
 
Math 1300: Section 5- 3 Linear Programing in Two Dimensions: Geometric Approach
Math 1300: Section 5- 3 Linear Programing in Two Dimensions: Geometric ApproachMath 1300: Section 5- 3 Linear Programing in Two Dimensions: Geometric Approach
Math 1300: Section 5- 3 Linear Programing in Two Dimensions: Geometric Approach
 
Graphing systems
Graphing systemsGraphing systems
Graphing systems
 
Presentation on matrix
Presentation on matrixPresentation on matrix
Presentation on matrix
 
Math 1300: Section 4-1 Review: Systems of Linear Equations in Two Variables
Math 1300: Section 4-1 Review: Systems of Linear Equations in Two VariablesMath 1300: Section 4-1 Review: Systems of Linear Equations in Two Variables
Math 1300: Section 4-1 Review: Systems of Linear Equations in Two Variables
 
7 4
7 47 4
7 4
 
01.02 linear equations
01.02 linear equations01.02 linear equations
01.02 linear equations
 
Mathh 1300: Section 4- 4 Matrices: Basic Operations
Mathh 1300: Section 4- 4 Matrices: Basic OperationsMathh 1300: Section 4- 4 Matrices: Basic Operations
Mathh 1300: Section 4- 4 Matrices: Basic Operations
 
@ Business Mathematics Chapter 1& 2.pptx
@ Business Mathematics Chapter 1& 2.pptx@ Business Mathematics Chapter 1& 2.pptx
@ Business Mathematics Chapter 1& 2.pptx
 
MATH PROJECT (3).pptx
MATH PROJECT (3).pptxMATH PROJECT (3).pptx
MATH PROJECT (3).pptx
 
Operation on Matrices.pptx
Operation on Matrices.pptxOperation on Matrices.pptx
Operation on Matrices.pptx
 
Matrices 1.pdf
Matrices 1.pdfMatrices 1.pdf
Matrices 1.pdf
 
1. Linear Algebra for Machine Learning: Linear Systems
1. Linear Algebra for Machine Learning: Linear Systems1. Linear Algebra for Machine Learning: Linear Systems
1. Linear Algebra for Machine Learning: Linear Systems
 

More from Jason Aubrey

Math 1300: Section 8-3 Conditional Probability, Intersection, and Independence
Math 1300: Section 8-3 Conditional Probability, Intersection, and IndependenceMath 1300: Section 8-3 Conditional Probability, Intersection, and Independence
Math 1300: Section 8-3 Conditional Probability, Intersection, and IndependenceJason Aubrey
 
Math 1300: Section 8 -2 Union, Intersection, and Complement of Events; Odds
Math 1300: Section 8 -2 Union, Intersection, and Complement of Events; OddsMath 1300: Section 8 -2 Union, Intersection, and Complement of Events; Odds
Math 1300: Section 8 -2 Union, Intersection, and Complement of Events; OddsJason Aubrey
 
Math 1300: Section 8-1 Sample Spaces, Events, and Probability
Math 1300: Section 8-1 Sample Spaces, Events, and ProbabilityMath 1300: Section 8-1 Sample Spaces, Events, and Probability
Math 1300: Section 8-1 Sample Spaces, Events, and ProbabilityJason Aubrey
 
Math 1300: Section 7-2 Sets
Math 1300: Section 7-2 SetsMath 1300: Section 7-2 Sets
Math 1300: Section 7-2 SetsJason Aubrey
 
Math 1300: Section 7- 3 Basic Counting Principles
Math 1300: Section 7- 3 Basic Counting PrinciplesMath 1300: Section 7- 3 Basic Counting Principles
Math 1300: Section 7- 3 Basic Counting PrinciplesJason Aubrey
 
Math 1300: Section 7- 4 Permutations and Combinations
Math 1300: Section 7- 4  Permutations and CombinationsMath 1300: Section 7- 4  Permutations and Combinations
Math 1300: Section 7- 4 Permutations and CombinationsJason Aubrey
 
Math 1300: Section 4-5 Inverse of a Square Matrix
Math 1300: Section 4-5 Inverse of a Square MatrixMath 1300: Section 4-5 Inverse of a Square Matrix
Math 1300: Section 4-5 Inverse of a Square MatrixJason Aubrey
 
Math 1300: Section 4- 3 Gauss-Jordan Elimination
Math 1300: Section 4- 3 Gauss-Jordan EliminationMath 1300: Section 4- 3 Gauss-Jordan Elimination
Math 1300: Section 4- 3 Gauss-Jordan EliminationJason Aubrey
 
Math 1300: Section 4-2 Systems of Linear Equations; Augmented Matrices
Math 1300: Section 4-2 Systems of Linear Equations; Augmented MatricesMath 1300: Section 4-2 Systems of Linear Equations; Augmented Matrices
Math 1300: Section 4-2 Systems of Linear Equations; Augmented MatricesJason Aubrey
 
Math 1300: Section 3-4 Present Value of an Ordinary Annuity; Amortization
Math 1300: Section 3-4 Present Value of an Ordinary Annuity; AmortizationMath 1300: Section 3-4 Present Value of an Ordinary Annuity; Amortization
Math 1300: Section 3-4 Present Value of an Ordinary Annuity; AmortizationJason Aubrey
 
Math 1300: Section 3-3 Future Value of an Ordinary Annuity; Sinking Funds
Math 1300: Section 3-3 Future Value of an Ordinary Annuity; Sinking FundsMath 1300: Section 3-3 Future Value of an Ordinary Annuity; Sinking Funds
Math 1300: Section 3-3 Future Value of an Ordinary Annuity; Sinking FundsJason Aubrey
 
Math 1300: Section 3-2 Compound Interest
Math 1300: Section 3-2 Compound InterestMath 1300: Section 3-2 Compound Interest
Math 1300: Section 3-2 Compound InterestJason Aubrey
 
Math 1300: Section 3-1 Simple Interest
Math 1300: Section 3-1 Simple InterestMath 1300: Section 3-1 Simple Interest
Math 1300: Section 3-1 Simple InterestJason Aubrey
 

More from Jason Aubrey (13)

Math 1300: Section 8-3 Conditional Probability, Intersection, and Independence
Math 1300: Section 8-3 Conditional Probability, Intersection, and IndependenceMath 1300: Section 8-3 Conditional Probability, Intersection, and Independence
Math 1300: Section 8-3 Conditional Probability, Intersection, and Independence
 
Math 1300: Section 8 -2 Union, Intersection, and Complement of Events; Odds
Math 1300: Section 8 -2 Union, Intersection, and Complement of Events; OddsMath 1300: Section 8 -2 Union, Intersection, and Complement of Events; Odds
Math 1300: Section 8 -2 Union, Intersection, and Complement of Events; Odds
 
Math 1300: Section 8-1 Sample Spaces, Events, and Probability
Math 1300: Section 8-1 Sample Spaces, Events, and ProbabilityMath 1300: Section 8-1 Sample Spaces, Events, and Probability
Math 1300: Section 8-1 Sample Spaces, Events, and Probability
 
Math 1300: Section 7-2 Sets
Math 1300: Section 7-2 SetsMath 1300: Section 7-2 Sets
Math 1300: Section 7-2 Sets
 
Math 1300: Section 7- 3 Basic Counting Principles
Math 1300: Section 7- 3 Basic Counting PrinciplesMath 1300: Section 7- 3 Basic Counting Principles
Math 1300: Section 7- 3 Basic Counting Principles
 
Math 1300: Section 7- 4 Permutations and Combinations
Math 1300: Section 7- 4  Permutations and CombinationsMath 1300: Section 7- 4  Permutations and Combinations
Math 1300: Section 7- 4 Permutations and Combinations
 
Math 1300: Section 4-5 Inverse of a Square Matrix
Math 1300: Section 4-5 Inverse of a Square MatrixMath 1300: Section 4-5 Inverse of a Square Matrix
Math 1300: Section 4-5 Inverse of a Square Matrix
 
Math 1300: Section 4- 3 Gauss-Jordan Elimination
Math 1300: Section 4- 3 Gauss-Jordan EliminationMath 1300: Section 4- 3 Gauss-Jordan Elimination
Math 1300: Section 4- 3 Gauss-Jordan Elimination
 
Math 1300: Section 4-2 Systems of Linear Equations; Augmented Matrices
Math 1300: Section 4-2 Systems of Linear Equations; Augmented MatricesMath 1300: Section 4-2 Systems of Linear Equations; Augmented Matrices
Math 1300: Section 4-2 Systems of Linear Equations; Augmented Matrices
 
Math 1300: Section 3-4 Present Value of an Ordinary Annuity; Amortization
Math 1300: Section 3-4 Present Value of an Ordinary Annuity; AmortizationMath 1300: Section 3-4 Present Value of an Ordinary Annuity; Amortization
Math 1300: Section 3-4 Present Value of an Ordinary Annuity; Amortization
 
Math 1300: Section 3-3 Future Value of an Ordinary Annuity; Sinking Funds
Math 1300: Section 3-3 Future Value of an Ordinary Annuity; Sinking FundsMath 1300: Section 3-3 Future Value of an Ordinary Annuity; Sinking Funds
Math 1300: Section 3-3 Future Value of an Ordinary Annuity; Sinking Funds
 
Math 1300: Section 3-2 Compound Interest
Math 1300: Section 3-2 Compound InterestMath 1300: Section 3-2 Compound Interest
Math 1300: Section 3-2 Compound Interest
 
Math 1300: Section 3-1 Simple Interest
Math 1300: Section 3-1 Simple InterestMath 1300: Section 3-1 Simple Interest
Math 1300: Section 3-1 Simple Interest
 

Math 1300: Section 4-6 Matrix Equations and Systems of Linear Equations

  • 1. Matrix Equations Matrix Equations and Systems of Linear Equations Application Math 1300 Finite Mathematics Section 4.6 Matrix Equations and Systems of Linear Equations Jason Aubrey Department of Mathematics University of Missouri university-logo Jason Aubrey Math 1300 Finite Mathematics
  • 2. Matrix Equations Matrix Equations and Systems of Linear Equations Application Solving a Matrix Equation Suppose we have an n × n matrix A and an n × 1 column matrices B and X . If A is invertible, then we can solve the equation AX = B as follows AX = B −1 A (AX ) = A−1 B multiply both sides by A−1 on the left (A−1 A)X = A−1 B matrix multiplication is associative −1 IX = A B A−1 A = I X = A−1 B university-logo Jason Aubrey Math 1300 Finite Mathematics
  • 3. Matrix Equations Matrix Equations and Systems of Linear Equations Application Using Inverses to Solve Systems of Equations Example: Use matrix inverse methods to solve the system: x1 − x2 + x3 = 1 2x2 − x3 = 1 2x1 + 3x2 +0x3 = 1 First, we write this as a matrix equation:      1 −1 1 x1 1 0 2 −1 x2  = 1 2 3 0 x3 1 A X B university-logo Jason Aubrey Math 1300 Finite Mathematics
  • 4. Matrix Equations Matrix Equations and Systems of Linear Equations Application So we have a matrix equation AX = B To solve this equation, we find A−1 :     1 −1 1 1 0 0 1 0 0 3 3 −1 0 2 −1 0 1 0  → · · · → 0 1 0 −2 −2 1  2 3 0 0 0 1 Row Operations 0 0 1 −4 −5 2 Therefore,   3 3 −1 A−1 = −2 −2 1  −4 −5 2 university-logo Jason Aubrey Math 1300 Finite Mathematics
  • 5. Matrix Equations Matrix Equations and Systems of Linear Equations Application We know that X = A−1 B, so        x1 3 3 −1 1 5 x2  = −2 −2 1  1 = −3 x3 −4 −5 2 1 −7 X A−1 B So, we conclude that x1 = 5 x2 = −3 x3 = −7 university-logo Jason Aubrey Math 1300 Finite Mathematics
  • 6. Matrix Equations Matrix Equations and Systems of Linear Equations Application Using Inverse Methods to Solve Systems of Equations If the number of equations in a system equals the number of variables and the coeffiecient matrix has an inverse, then the system will always have a unique solution that can be found by using the inverse of the coefficient matrix to solve the corresponding matrix equation. Matrix Equation Solution AX = B X = A−1 B university-logo Jason Aubrey Math 1300 Finite Mathematics
  • 7. Matrix Equations Matrix Equations and Systems of Linear Equations Application Insight. . . There are two cases where inverse methods will not work: Case 1. If the coefficient matrix is singular. Case 2. If the number of variables is not the same as the number of equations. In either case, use Guass-Jordan elimination. university-logo Jason Aubrey Math 1300 Finite Mathematics
  • 8. Matrix Equations Matrix Equations and Systems of Linear Equations Application Example: An investment advisor currently has two types of investments available for clients: a conservative investment A that pays 10% per year and investment B of higher risk that pays 20% per year. Clients may divide their investments between the two to achieve any total return desired between 10% and 20%. However, the higher the desired return, the higher the risk. How should each client listed in the table invest to achieve the desired return? 1 2 3 k Total Investment $20,000 $50,000 $10,000 k1 Annual Return Desired $2,400 $7,500 $1,300 k2 The answer to this problem involves six quantities, two for each client. We will solve this problem for an arbitrary client k with unspecified amounts k1 for total investment and k2 for annual return. university-logo Jason Aubrey Math 1300 Finite Mathematics
  • 9. Matrix Equations Matrix Equations and Systems of Linear Equations Application Let x1 = amount invested in A by a given client x2 = amount invested in B by a given client Then we have the following mathematical model: x1 + x2 = k1 total invested 0.1x1 + 0.2x2 = k2 Total annual return desired Write as a matrix equation: 1 1 x1 k = 1 0.1 0.2 x2 k2 A X B university-logo Jason Aubrey Math 1300 Finite Mathematics
  • 10. Matrix Equations Matrix Equations and Systems of Linear Equations Application If A−1 exists, then X = A−1 B. So, we find A−1 : 1 1 1 0 1 0 2 −10 → ··· → 0.1 0.2 0 1 0 1 −1 10 Row Operations Thus 2 −10 A−1 = −1 10 university-logo Jason Aubrey Math 1300 Finite Mathematics
  • 11. Matrix Equations Matrix Equations and Systems of Linear Equations Application Therefore, x1 2 −10 k1 = x2 −1 10 k2 X A−1 B To solve each client’s problem, we replace k1 and k2 with appropriate values from the table and multiply by A−1 : x1 2 −10 20, 000 16, 000 = = x2 −1 10 2, 400 4, 000 Client 1 Solution: x1 = $16, 000 in investment A, x2 = $4, 000 in investment B university-logo Jason Aubrey Math 1300 Finite Mathematics
  • 12. Matrix Equations Matrix Equations and Systems of Linear Equations Application x1 2 −10 50, 000 25, 000 = = x2 −1 10 7, 500 25, 000 Client 2 Solution: x1 = $25, 000 in investment A, x2 = $25, 000 in investment B x1 2 −10 10, 000 7, 000 = = x2 −1 10 1, 300 3, 000 Client 2 Solution: x1 = $7, 000 in investment A, x2 = $3, 000 in investment B university-logo Jason Aubrey Math 1300 Finite Mathematics