40S Applied Math Mr. Knight – Killarney School Slide 1 Unit: Matrices Lesson: MAT-3 Matrix Multiplication Matrix Operations Learning Outcome B-4 MAT-L3.

Slides:



Advertisements
Similar presentations
40S Applied Math Mr. Knight – Killarney School Slide 1 Unit: Probability Lesson: PR-L2 Pathway Problems Pathway Problems Learning Outcome B-4 PR-L2 Objectives:
Advertisements

20S Applied Math Mr. Knight – Killarney School Slide 1 Unit: Spreadsheets Lesson: SS-L2 Basic Spreadsheet Formulas Basic Spreadsheet Formulas Learning.
CSNB143 – Discrete Structure
Further Pure 1 Matrices Introduction. Definitions A matrix is just a rectangle of numbers. It’s a bit like a two-way table. You meet this concept in D1.
Chapter 4 Systems of Linear Equations; Matrices Section 6 Matrix Equations and Systems of Linear Equations.
Matrices: Inverse Matrix
Matrix Multiplication, Part 2a V T S Pizza Drink Salad What if your group wants to buy 1 pizza, 3 drinks, and 3 salads? Or 2 pizzas, 4 drinks, and 3 salads?
Autar Kaw Benjamin Rigsby Transforming Numerical Methods Education for STEM Undergraduates.
Maths for Computer Graphics
Section 4.1 – Matrix Operations Day 1
EXAMPLE 3 Solve a multi-step problem Manufacturing A company manufactures small and large steel DVD racks with wooden bases. Each size of rack is available.
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
CE 311 K - Introduction to Computer Methods Daene C. McKinney
Chapter 4 Systems of Linear Equations; Matrices Section 4 Matrices: Basic Operations.
Chapter 7 Matrix Mathematics Matrix Operations Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Business Math Assignment Press F5 to begin to playing this slide show.
4.5, x 2 and 3 x 3 Matrices, Determinants, and Inverses Date: _____________.
40S Applied Math Mr. Knight – Killarney School Slide 1 Unit: Matrices Lesson: MAT-2 Matrix Operations Matrix Operations Learning Outcome B-4 MAT-L1 Objectives:
Objectives  Add two matrices  Subtract two matrices  Multiply a matrix by a constant  Multiply two matrices.
Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.
TH EDITION LIAL HORNSBY SCHNEIDER COLLEGE ALGEBRA.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
Lesson 11-1 Matrix Basics and Augmented Matrices Objective: To learn to solve systems of linear equation using matrices.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
Unit 3: Matrices.
40S Applied Math Mr. Knight – Killarney School Slide 1 Unit: Matrices Lesson: MAT-5 Transitions Transition Problems Learning Outcome L-4 MAT-L5 Objectives:
By: Maureen Cop. A matrix is a rectangular array of numbers arranged by rows and columns. The numbers inside a matrix are called elements. The numbers.
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.
Lesson 11-1 Matrix Basics and Augmented Matrices Objective: To learn to solve systems of linear equation using matrices.
40S Applied Math Mr. Knight – Killarney School Slide 1 Unit: Matrices Lesson: MAT-4 Networks Networks Learning Outcome L-4 MAT-L4 Objectives: To rewrite.
Matrix algebra. Mr. X is manufacturing Chairs and Tables. A Chair requires 3 labour hours and 5 units of material whereas each Table requires 5 labour.
4.5 Inverse of a Square Matrix
4.5 Matrices, Determinants, Inverseres -Identity matrices -Inverse matrix (intro) -An application -Finding inverse matrices (by hand) -Finding inverse.
Inverse of a Matrix Multiplicative Inverse of a Matrix For a square matrix A, the inverse is written A -1. When A is multiplied by A -1 the result is the.
3 x 3 Determinants A Short Cut Method By Dr. Julia Arnold.
Add and subtract matrices
Section 4.3 – Multiplying Matrices. MATRIX MULTIPLICATION 1. The order makes a difference…AB is different from BA. 2. The number of columns in first matrix.
Section – Operations with Matrices No Calculator By the end of this lesson you should be able to: Write a matrix and identify its order Determine.
Do Now: Perform the indicated operation. 1.). Algebra II Elements 11.1: Matrix Operations HW: HW: p.590 (16-36 even, 37, 44, 46)
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.
LEQ: WHAT IS THE PROCESS USED TO MULTIPLY MATRICES? Matrix Multiplication Sec. 4-3.
MATRICES A rectangular arrangement of elements is called matrix. Types of matrices: Null matrix: A matrix whose all elements are zero is called a null.
CHAPTER 7 Determinant s. Outline - Permutation - Definition of the Determinant - Properties of Determinants - Evaluation of Determinants by Elementary.
Tell whether the matrix is equal to the fundraiser matrix. Explain.
Basic Matrix Operations
13.4 Product of Two Matrices
12-1 Organizing Data Using Matrices
Chapter 4 Systems of Linear Equations; Matrices
Matrices Rules & Operations.
Chapter 7 Matrix Mathematics
16 Multiplying Matrices Warm Up Lesson Presentation Lesson Quiz.
L9Matrix and linear equation
4-2 Multiplying Matrices Warm Up Lesson Presentation Lesson Quiz
Multiplying Matrices.
25. Basic matrix operations
Worksheet Key 12/1/2018 8:08 PM Multiply Matrices.
4-1 Matrices and Data Warm Up Lesson Presentation Lesson Quiz
Chapter 7: Matrices and Systems of Equations and Inequalities
Splash Screen.
Section 3.2 – Determinant of a SQUARE Matrix
Multiplying Matrices.
Matrix Algebra.
Section 10.4 – Determinant of a SQUARE Matrix
Matrix Operations Chapter 4, Sections 1, 2, 3.
MATRICES MATRIX OPERATIONS.
Matrix Multiplication
Multiplying Matrices.
Multiplying Matrices.
Multiplying Matrices.
L4-5/L4-6 Objective: Students will be able to evaluate determinants of matrices.
Presentation transcript:

40S Applied Math Mr. Knight – Killarney School Slide 1 Unit: Matrices Lesson: MAT-3 Matrix Multiplication Matrix Operations Learning Outcome B-4 MAT-L3 Objectives: To perform Matrix Multiplication.

40S Applied Math Mr. Knight – Killarney School Slide 2 Unit: Matrices Lesson: MAT-3 Matrix Multiplication If Ted were to stop at a fast food store to buy a burger, two small fries, and three small soft drinks, and the prices were $2.50, $1.00, and $1.25 respectively, his total bill could be calculated as follows: Total Cost = 1* * *1.25 = $8.25 This calculation could be done using matrices. Write the order (the number of burgers, fries, and drinks) as a row matrix O: and the prices as column matrix B: Then the product of the two matrices represents the total cost of the order: Theory – Matrix Multiplication

40S Applied Math Mr. Knight – Killarney School Slide 3 Unit: Matrices Lesson: MAT-3 Matrix Multiplication Theory – Matrix Multiplication Note how each element of the first matrix is multiplied by each element of the second matrix. This process could be extended to include more than one order. If three people placed orders for burgers, fries, and drinks as shown on the matrix A: and the prices remained the same The total cost of each order could be found by multiplying matrices A and B in the following manner:

40S Applied Math Mr. Knight – Killarney School Slide 4 Unit: Matrices Lesson: MAT-3 Matrix Multiplication Therefore, Ted pays $8.25, Sam pays $6.25, and Bec pays $11.00 Note the way in which the calculations were completed. The elements of the first row of the first matrix were multiplied by the elements in the first column of the second matrix and added. This process is repeated for all the rows of the first matrix and the column of the second matrix. Theory – Matrix Multiplication

40S Applied Math Mr. Knight – Killarney School Slide 5 Unit: Matrices Lesson: MAT-3 Matrix Multiplication A toy manufacturing company produces three types of wooden toys: race cars, sailboats, and tractors. Matrix A shows the number of hours of labour for each type of toy. The R, S, and T represent the Race cars, Sailboats and Tractors, respectively. The following orders were received for the months of January and February: The shop manager of the manufacturing company wants to know how many hours of labour (cutting, assembling, and painting) were spent during the months of January and February. We can find this answer by multiplying matrix A and matrix B. Theory – Matrix Multiplication

40S Applied Math Mr. Knight – Killarney School Slide 6 Unit: Matrices Lesson: MAT-3 Matrix Multiplication Matrix C shows the number of hours spent on each type of operation. For example, 1390 hours were spent on painting in January. Theory – Matrix Multiplication

40S Applied Math Mr. Knight – Killarney School Slide 7 Unit: Matrices Lesson: MAT-3 Matrix Multiplication Note the following pattern: The column headings of the first matrix are the same as the row headings of the second matrix. When you multiply the above matrices, the column headings of the first matrix cancel the row headings of the second matrix. The row heading of the answer matrix is the same as the row heading of the first matrix. The column headings of the answer matrix are the same as the column headings of the second matrix. As you can see by the above example, there is quite a bit of computational work involved when multiplying matrices, and so we will use IT to perform the operations in the future. Theory – Matrix Multiplication

40S Applied Math Mr. Knight – Killarney School Slide 8 Unit: Matrices Lesson: MAT-3 Matrix Multiplication Note: When two matrices are multiplied: Matrix multiplication is "row by column" multiplication, where the elements of each row of the first matrix are multiplied by the elements of each column of the second matrix and added, as shown below: The number of columns in the first matrix must be the same as the number of rows in the second matrix. For matrices A ij and B mn, A x B works only if 'j' = 'm'. The product of two matrices is a matrix that has the same number of rows as the first matrix and the same number of columns as the second matrix. For example, if C is the product matrix for A x B, then A ij x B mn = C in. When solving problems using matrix multiplication, the units (for example, race cars, sailboats, and tractors) of the elements in the columns of the first matrix must be the same as the units of the elements in the rows of the second matrix. Theory – Matrix Multiplication

40S Applied Math Mr. Knight – Killarney School Slide 9 Unit: Matrices Lesson: MAT-3 Matrix Multiplication We can find the sums of the columns of any matrix A by multiplying it by a row matrix where each element is 1 and the dimensions are 1 x n where 'n' is the number of rows of matrix A. The Cosmetic Sales Company has three salespeople. Matrix A shows the gross sales for February for each salesperson. We can determine the sales total for each week by multiplying matrix A by a 1 x 3 row matrix B where each element is the number 1. and then determine BA, which we will label matrix C Therefore, the sales for Week 1 are $ , for Week 2 are $ , and so on. Special Case I – Summing Columns

40S Applied Math Mr. Knight – Killarney School Slide 10 Unit: Matrices Lesson: MAT-3 Matrix Multiplication We can find the sums of the rows of any matrix A by multiplying it by a column matrix where each element is 1 and the dimensions are n x 1 where 'n' is the number of columns of matrix A. The Cosmetic Sales Company has three salespeople. Matrix A shows the weekly incomes for the three salespeople. We can now determine the total sales for each person by multiplying matrix A by a 1 x 4 column matrix where each element is 1. First, we create column matrix D. and then determine AD, which we will name matrix E. Therefore, the February sales for Sara are $ , for Barb are $ , and Jeff are $ Special Case II – Summing Rows

40S Applied Math Mr. Knight – Killarney School Slide 11 Unit: Matrices Lesson: MAT-3 Matrix Multiplication We can adjust the values of all the elements in any column of matrix A by first creating a square matrix S that has the same dimensions as the number of columns in matrix A, and writing the elements in the main diagonal showing the adjustments. All the elements not in the main diagonal of matrix S are zeros. The Cosmetic Sales Company has different sales promotions each week, and so the commission rates for the salespeople are different each week. The rates for February are shown in the table below: Week 1Week 2Week 3Week 4 45%55%35%50% We want to determine the weekly income of each person. We can do this by first creating a 4 x 4 square matrix where the elements in the main diagonal are the weekly commission rates written in decimal form, and all the other elements are zeros. We will label this matrix F. We now multiply A and F to determine the weekly incomes. We will label this matrix G. Therefore, Sara earns $ during the first week, Jeff earns $ during the third week, and so on. Special Case III – Adjusting Values in each Column

40S Applied Math Mr. Knight – Killarney School Slide 12 Unit: Matrices Lesson: MAT-3 Matrix Multiplication A contractor develops a site by building nine 2-storey houses and six bungalows. On average, one 2-storey house requires 1600 units of materials and 2000 hours of labour, and one bungalow requires 1500 units of materials and 1800 hours of labour. Each unit of material costs $30.00, and labour costs $18.00 per hour. Use matrix operations to answer the following questions. Test Your Knowledge Hint: Work Backwards. Determine the dimensions of your final matrix, then derive the dimensions of the matrices being multiplied.