Download presentation
Presentation is loading. Please wait.
Published byMarlene Harper Modified over 8 years ago
1
M ULTIPLYING T WO M ATRICES The product of two matrices A and B is defined provided the number of columns in A is equal to the number of rows in B.
2
4 X 3 3 X 5 4 X 5 A B AB M ULTIPLYING T WO M ATRICES 4 rows 3 columns 3 rows 5 columns
3
4 X 3 3 X 5 4 X 5 M ULTIPLYING T WO M ATRICES 4 rows 5 columns 4 rows 5 columns A B AB
4
If A is a 4 X 3 matrix and B is a 3 X 5 matrix, then the product AB is a 4 X 5 matrix. M ULTIPLYING T WO M ATRICES
5
m X n n X p m X p A B AB M ULTIPLYING T WO M ATRICES m rows n columns n rows p columns
6
m X n n X p m X p M ULTIPLYING T WO M ATRICES m rows p columns m rows p columns A B AB
7
If A is an m X n matrix and B is an n X p matrix, then the product AB is an m X p matrix. M ULTIPLYING T WO M ATRICES
8
Finding the Product of Two Matrices – 23 1– 4 60 – 13– 24– 13– 24 Find AB ifA =and B = Use a similar procedure to write the other entries of the product. Because A is a 3 X 2 matrix and B is a 2 X 2 matrix, the product AB is defined and is a 3 X 2 matrix. To write the entry in the first row and first column of AB, multiply corresponding entries in the first row of A and the first column of B. Then add. S OLUTION
9
(– 2)(– 1) + (3)(– 2)(– 2)(3) + (3)(4) (1)(– 1) + (– 4)(– 2)(1)(3) + (– 4)(4) (6)(– 1) + (0)(– 2)(6)(3) + (0)(4) 3 X 2 2 X 2 3 X 2 A B AB – 23 1– 4 60 – 13– 24– 13– 24 Finding the Product of Two Matrices
10
3 X 2 2 X 2 3 X 2 A B AB Finding the Product of Two Matrices (– 2)(– 1) + (3)(– 2)(– 2)(3) + (3)(4) (1)(– 1) + (– 4)(– 2)(1)(3) + (– 4)(4) (6)(– 1) + (0)(– 2)(6)(3) + (0)(4) – 23 1– 4 60 – 13– 24– 13– 24
11
3 X 2 2 X 2 3 X 2 A B AB Finding the Product of Two Matrices (– 2)(– 1) + (3)(– 2)(– 2)(3) + (3)(4) (1)(– 1) + (– 4)(– 2)(1)(3) + (– 4)(4) (6)(– 1) + (0)(– 2)(6)(3) + (0)(4) – 23 1– 4 60 – 13– 24– 13– 24
12
3 X 2 2 X 2 3 X 2 A B AB Finding the Product of Two Matrices – 46 7– 13 – 618 (– 2)(– 1) + (3)(– 2)(– 2)(3) + (3)(4) (1)(– 1) + (– 4)(– 2)(1)(3) + (– 4)(4) (6)(– 1) + (0)(– 2)(6)(3) + (0)(4)
13
PROPERTIES OF MATRIX MULTIPLICATION C ONCEPT S UMMARY Matrix multiplication is not, in general, commutative. M ULTIPLYING T WO M ATRICES Let A, B, and C be matrices and let g be a scalar. ASSOCIATIVE PROPERTY OF MATRIX MULTIPLICATION A(BC ) = (AB )C LEFT DISTRIBUTIVE PROPERTY A(B + C ) = AB + AC RIGHT DISTRIBUTIVE PROPERTY (A + B )C = AC + BC ASSOCIATIVE PROPERTY OF SCALAR MULTIPLICATION g (AB ) = (gA )B = A(gB )
14
U SING M ATRIX M ULTIPLICATION IN R EAL L IFE = Inventory matrix Cost per item matrix Total cost matrix m X nm X nn X pn X pm X pm X p For the total cost matrix to be meaningful, the column labels for the inventory matrix must match the row labels for the cost per item matrix. Matrix multiplication is useful in business applications because an inventory matrix, when multiplied by a cost per item matrix, results in total cost matrix.
15
Using Matrices to Calculate the Total Cost SPORTS Two softball teams submit equipment lists for the season. Each bat costs $21, each ball costs $4, and each uniform costs $30. Use matrix multiplication to find the total cost of equipment for each team.
16
Using Matrices to Calculate the Total Cost Write the equipment lists and costs per item in matrix form. Use matrix multiplication to find the total cost. Set up matrices so that columns of the equipment matrix match rows of the cost matrix. Women’s team Men’s team BallsUniformsBats Uniforms Balls Bats 21 4 30 12 15 45 38 15 17 E QUIPMENT C OST Dollars S OLUTION
17
Using Matrices to Calculate the Total Cost Total equipment cost for each team can be obtained by multiplying the equipment matrix by the cost per item matrix. The equipment matrix is 2 X 3 and the cost per item matrix is 3 X 1. Their product is a 2 X 1 matrix. 21 4 30 12 15 45 38 15 17 = 12(21) + 45(4) + 15(30) 15(21) + 38(4) + 17(30) = 882 977
18
The labels of the product are: Men’s team Women’s team T OTAL C OST Dollars 882 977 The total cost of equipment for the women’s team is $882, and the total cost of equipment for the men’s team is $977. Using Matrices to Calculate the Total Cost
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.