MULTIPLYING TWO MATRICES

Slides:



Advertisements
Similar presentations
Matrix.
Advertisements

2.3 Modeling Real World Data with Matrices
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.
Lesson 12.2 Matrix Multiplication. 3 Row and Column Order The rows in a matrix are usually indexed 1 to m from top to bottom. The columns are usually.
Matrix Multiplication To Multiply matrix A by matrix B: Multiply corresponding entries and then add the resulting products (1)(-1)+ (2)(3) Multiply each.
Wednesday, July 15, 2015 EQ: What are the similarities and differences between matrices and real numbers ? Warm Up Evaluate each expression for a = -5,
8.4 Matrix Operations Day 1 Thurs May 7 Do Now Solve X – 2y = -6 3x + 4y = 7.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
4.2 Operations with Matrices Scalar multiplication.
1 C ollege A lgebra Systems and Matrices (Chapter5) 1.
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.
3.6 – Multiply Matrices 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. If A is.
1. Write the component form of the vector that
9.2 Using Properties of Matrices
4.1: Matrix Operations Objectives: Students will be able to: Add, subtract, and multiply a matrix by a scalar Solve Matrix Equations Use matrices to organize.
Meeting 18 Matrix Operations. Matrix If A is an m x n matrix - that is, a matrix with m rows and n columns – then the scalar entry in the i th row and.
EXAMPLE 4 Use matrices to calculate total cost Each stick costs $60, each puck costs $2, and each uniform costs $35. Use matrix multiplication to find.
Matrices: Basic Operations and Their Properties
8.2 Operations With Matrices
Matrices: Simplifying Algebraic Expressions Combining Like Terms & Distributive Property.
Matrix Operations.
Chapter 4 Section 2: Multiplying Matrices. VOCABULARY The product of two matrices A and B is DEFINED provided the number of columns in A is equal to the.
MATRICES Danny Nguyen Marissa Lally Clauberte Louis HOW TO'S: ADD, SUBTRACT, AND MULTIPLY MATRICES.
Add and subtract matrices
Sec 4.1 Matrices.
Multiplying Matrices Lesson 4.2. Definition of Multiplying Matrices The product of two matrices A and B is defined provided the number of columns in A.
Algebra Matrix Operations. Definition Matrix-A rectangular arrangement of numbers in rows and columns Dimensions- number of rows then columns Entries-
Objectives: Students will be able to… Multiply two matrices Apply matrix multiplication to real life problems.
What is Matrix Multiplication? Matrix multiplication is the process of multiplying two matrices together to get another matrix. It differs from scalar.
9.2 Warm Up Warm Up Lesson Quiz Lesson Quiz Lesson Presentation Lesson Presentation Use Properties of Matrices.
3.6 Multiplying Matrices Homework 3-17odd and odd.
HW: Pg. 203 #13-35o. Animated Activity Online Multiply Matrices: 2_2007_na/resources/applications/animatio.
Systems of Equations and Matrices Review of Matrix Properties Mitchell.
12-2 MATRIX MULTIPLICATION MULTIPLY MATRICES BY USING SCALAR AND MATRIX MULTIPLICATION.
Add and subtract matrices. Multiply by a matrix scalar.
Matrix Operations McDougal Littell Algebra 2 Larson, Boswell, Kanold, Stiff Larson, Boswell, Kanold, Stiff Algebra 2: Applications, Equations, Graphs Algebra.
4.1 Exploring Data: Matrix Operations ©2001 by R. Villar All Rights Reserved.
13.3 Product of a Scalar and a Matrix.  In matrix algebra, a real number is often called a.  To multiply a matrix by a scalar, you multiply each entry.
Ch. 12 Vocabulary 1.) matrix 2.) element 3.) scalar 4.) scalar multiplication.
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.
MATRIX MULTIPLICATION
Ch. 7 – Matrices and Systems of Equations 7.5 – Operations with Matrices.
Multiply matrices Use the properties of matrix multiplication.
Matrices.
Matrix Operations McDougal Littell Algebra 2
13.4 Product of Two Matrices
Properties and Applications of Matrices
Christmas Packets are due on Friday!!!
10.4 The Algebra of Matrices
Matrix Operations Free powerpoints at
Matrix Operations.
Matrix Operations Free powerpoints at
What we’re learning today:
Matrix Multiplication
Matrix Operations Monday, August 06, 2018.
Matrix Operations.
Section 7.4 Matrix Algebra.
Matrix Operations Free powerpoints at
WarmUp 2-3 on your calculator or on paper..
Applications of Matrix Multiplication
MATRICES MATRIX OPERATIONS.
Objectives Multiply two matrices.
1. Write the component form of the vector that
Multiplication of Matrices
3.6 Multiply Matrices.
Section 9.4 Matrix Operations
Matrix Operations Ms. Olifer.
3.5 Perform Basic Matrix Operations Algebra II.
Matrix Multiplication Sec. 4.2
Matrices - Operations MULTIPLICATION OF MATRICES
Presentation transcript:

MULTIPLYING TWO MATRICES 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.

4 rows 3 rows 3 columns 5 columns MULTIPLYING TWO MATRICES A  B  AB 4 X 3  3 X 5  4 X 5 4 rows 3 rows 3 columns 5 columns

4 rows 5 columns 4 rows 5 columns MULTIPLYING TWO MATRICES A  B  AB 4 X 3  3 X 5  4 X 5 4 rows 5 columns 4 rows 5 columns

MULTIPLYING TWO MATRICES 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 rows n rows n columns p columns MULTIPLYING TWO MATRICES A  B  AB m X n  n X p  m X p m rows n rows n columns p columns

m rows p columns m rows p columns MULTIPLYING TWO MATRICES A  B  AB m X n  n X p  m X p m rows p columns m rows p columns

MULTIPLYING TWO MATRICES 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.

– 2 3 1 – 4 6 0 – 1 3 – 2 4 Find AB if A = and B = SOLUTION Finding the Product of Two Matrices – 2 3 1 – 4 6 0 – 1 3 – 2 4 Find AB if A = and B = SOLUTION 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. Use a similar procedure to write the other entries of the product.

(– 2)(– 1) + (3)(– 2) (– 2)(3) + (3)(4) Finding the Product of Two Matrices A  B  AB 3 X 2  2 X 2  3 X 2 – 2 3 1 – 4 6 0 – 1 3 – 2 4 (– 2)(– 1) + (3)(– 2) (– 2)(3) + (3)(4) (1)(– 1) + (– 4)(– 2) (1)(3) + (– 4)(4) (6)(– 1) + (0)(– 2) (6)(3) + (0)(4)

(– 2)(– 1) + (3)(– 2) (– 2)(3) + (3)(4) Finding the Product of Two Matrices A  B  AB 3 X 2  2 X 2  3 X 2 – 2 3 1 – 4 6 0 – 1 3 – 2 4 (– 2)(– 1) + (3)(– 2) (– 2)(3) + (3)(4) (1)(– 1) + (– 4)(– 2) (1)(3) + (– 4)(4) (6)(– 1) + (0)(– 2) (6)(3) + (0)(4)

(– 2)(– 1) + (3)(– 2) (– 2)(3) + (3)(4) Finding the Product of Two Matrices A  B  AB 3 X 2  2 X 2  3 X 2 – 2 3 1 – 4 6 0 – 1 3 – 2 4 (– 2)(– 1) + (3)(– 2) (– 2)(3) + (3)(4) (1)(– 1) + (– 4)(– 2) (1)(3) + (– 4)(4) (6)(– 1) + (0)(– 2) (6)(3) + (0)(4)

(– 2)(– 1) + (3)(– 2) (– 2)(3) + (3)(4) Finding the Product of Two Matrices A  B  AB 3 X 2  2 X 2  3 X 2 (– 2)(– 1) + (3)(– 2) (– 2)(3) + (3)(4) (1)(– 1) + (– 4)(– 2) (1)(3) + (– 4)(4) (6)(– 1) + (0)(– 2) (6)(3) + (0)(4) – 4 6 7 – 13 – 6 18 

MULTIPLYING TWO MATRICES Matrix multiplication is not, in general, commutative. CONCEPT SUMMARY PROPERTIES OF MATRIX MULTIPLICATION 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 )

m X n n X p m X p Inventory matrix Cost per item matrix Total cost USING MATRIX MULTIPLICATION IN REAL LIFE Matrix multiplication is useful in business applications because an inventory matrix, when multiplied by a cost per item matrix, results in total cost matrix. Inventory matrix Cost per item matrix Total cost matrix • = m X n n X p m 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.

Each bat costs $21, each ball costs $4, and each uniform costs $30. 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.

Using Matrices to Calculate the Total Cost SOLUTION 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. COST EQUIPMENT Dollars Bats Balls Uniforms Women’s team 12 45 15 Bats 21 Men’s team 15 38 17 Balls 4 30 Uniforms

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 17 12(21) + 45(4) + 15(30) 882 = = 15(21) + 38(4) + 17(30) 977

Using Matrices to Calculate the Total Cost Dollars The labels of the product are: Women’s team 882 Men’s team 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.