Presentation is loading. Please wait.

Presentation is loading. Please wait.

EXAMPLE 4 Multiply matrices 1 0 4 5 Multiply 2 –3 –1 8. SOLUTION The matrices are both 2 2, so their product is defined. Use the following steps to find.

Similar presentations


Presentation on theme: "EXAMPLE 4 Multiply matrices 1 0 4 5 Multiply 2 –3 –1 8. SOLUTION The matrices are both 2 2, so their product is defined. Use the following steps to find."— Presentation transcript:

1 EXAMPLE 4 Multiply matrices Multiply 2 –3 –1 8. SOLUTION The matrices are both 2 2, so their product is defined. Use the following steps to find the elements of the product matrix.

2 EXAMPLE 4 Multiply matrices STEP 1 Multiply the numbers in the first row of the first matrix by the numbers in the first column of the second matrix. Put the result in the first row, first column of the product matrix –3 –1 8 1(2) + 0(–1) ? = ? ?

3 EXAMPLE 4 Multiply matrices –3 –1 8 STEP 2 Multiply the numbers in the first row of the first matrix by the numbers in the second column of the second matrix. Put the result in the first row, second column of the product matrix. 1(2) + 0(–1) 1(–3) + 0(8) = ? ?

4 EXAMPLE 4 Multiply matrices STEP 3 Multiply the numbers in the second row of the first matrix by the numbers in the first column of the second matrix. Put the result in the second row, first column of the product matrix. 1(2) + 0(–1) 1(–3) + 0(8) = 4(2) + 5(–1) ? –1 8 2 –3

5 EXAMPLE 4 Multiply matrices STEP 4 Multiply the numbers in the second row of the first matrix by the numbers in the second column of the second matrix. Put the result in the second row, second column of the product matrix. = 4(2) + 5(–1) 4(–3) + 5(8) 1(2) + 0(–1) 1(–3) + 0(8) –3 –1 8

6 EXAMPLE 4 Multiply matrices STEP 5 Simplify the product matrix. 2 – = 4(2) + 5(–1) 4(–3) + 5(8) 1(2) + 0(–1) 1(–3) + 0(8)

7 EXAMPLE 5 Solve a real-world problem SOFTBALL Two softball teams submit equipment lists for the season. A bat costs $20, a ball costs $5, and a uniform costs $40. Use matrix multiplication to find the total cost of equipment for each team.

8 EXAMPLE 5 Solve a real-world problem First, write the equipment lists and the costs per item in matrix form. You will use matrix multiplication, so you need to set up the matrices so that the number of columns of the equipment matrix matches the number of rows of the cost per item matrix. SOLUTION

9 EXAMPLE 5 Solve a real-world problem EQUIPMENT COST TOTAL COST Bats Balls UniformsDollars Women Men Uniforms Bats Balls Women Men ? ? = =

10 EXAMPLE 5 Solve a real-world problem You can find the total cost of equipment for each team by multiplying the equipment matrix by the cost per item matrix. The equipment matrix is 2 3 and the cost per item matrix is 3 1, so their product is a 2 1 matrix (20) + 42(5) + 16(40) = 15(20) + 45(5) + 18(40) = The total cost of equipment for the women’s team is $1110, and the total cost for the men’s team is $1245. ANSWER

11 GUIDED PRACTICE for Examples 4 and 5 Use the matrices below. Is the product defined? Explain. –3 4 A = B = [2 1] C = – AB Yes; the number of columns in A is equal to the number of rows in B. ANSWER

12 GUIDED PRACTICE for Examples 4 and 5 Use the matrices below. Is the product defined? Explain. 7. BA ANSWER Yes; the number of columns in B is equal to the number of rows in A. –3 4 A = B = [2 1] C = –

13 GUIDED PRACTICE for Examples 4 and 5 Use the matrices below. Is the product defined? Explain. 8. AC ANSWER No; the number of columns in A is not equal to the number of rows in C. –3 4 A = B = [2 1] C = –

14 GUIDED PRACTICE for Examples 4 and 5 Multiply – SOLUTION = 0(3) + 1(–4) 0(8) + 1(7) 1(3) + 0(–4) 1(8) + 0(7) –4 7 = 3 8 –4 7

15 GUIDED PRACTICE for Examples 4 and 5 –3 –2 10. [5 1] SOLUTION –3 –2 [5 1] =[5(–3) + 1(–2)]= [ – 17 ]

16 GUIDED PRACTICE for Examples 4 and –1 2 –4 5 1 SOLUTION = 1(2) –1(5) 1(–4) + –1(1) 5(2) + 1(5) 5(–4) + 1(1) –1 2 – –19 –3 –5 =

17 GUIDED PRACTICE for Examples 4 and WHAT IF? In Example 5, find the total cost for each team if a bat costs $25, a ball costs $4, and a uniform costs $35. First, write the equipment lists and the costs per item in matrix form. You will use matrix multiplication, so you need to set up the matrices so that the number of columns of the equipment matrix matches the number of rows of the cost per item matrix. SOLUTION

18 GUIDED PRACTICE for Examples 4 and 5 EQUIPMENT COST TOTAL COST Bats Balls UniformsDollars Women Men Uniforms Bats Balls Women Men ? ? = =

19 GUIDED PRACTICE for Examples 4 and 5 You can find the total cost of equipment for each team by multiplying the equipment matrix by the cost per item matrix. The equipment matrix is 2 3 and the cost per item matrix is 3 1, so their product is a 2 1 matrix (25) + 42(4) + 16(35) = 15(25) + 45(4) + 18(35) = The total cost of equipment for the women’s team is $1053, and the total cost for the men’s team is $1185. ANSWER


Download ppt "EXAMPLE 4 Multiply matrices 1 0 4 5 Multiply 2 –3 –1 8. SOLUTION The matrices are both 2 2, so their product is defined. Use the following steps to find."

Similar presentations


Ads by Google