Add and subtract matrices

Slides:



Advertisements
Similar presentations
Matrix.
Advertisements

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.
Wednesday, July 15, 2015 EQ: What are the similarities and differences between matrices and real numbers ? Warm Up Evaluate each expression for a = -5,
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.
Fundamentals of matrices
Objective Video Example by Mrs. G Give It a Try Lesson 4.1  Add and subtract matrices  Multiply a matrix by a scalar number  Solve a matrix equation.
Chapter 4 Systems of Linear Equations; Matrices Section 4 Matrices: Basic Operations.
4.2 Adding and Subtracting Matrices 4.3 Matrix Multiplication
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
4.2 Operations with Matrices Scalar multiplication.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
10/8/12 1)Notes 2)Worksheet for practice 3)HW: Page 175 # 13, 14, 17, 18, 21, 24, 26, 34 AND continue work on your project – DUE tomorrow!
AIM: How do we perform basic matrix operations? DO NOW:  Describe the steps for solving a system of Inequalities  How do you know which region is shaded?
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.
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
Class Opener:. Identifying Matrices Student Check:
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.
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.
Matrix Algebra Section 7.2. Review of order of matrices 2 rows, 3 columns Order is determined by: (# of rows) x (# of columns)
8.2 Operations With Matrices
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.
Unit 1-6: Operations with Matrices How could we organize the data?
MATRICES MATRIX OPERATIONS. About Matrices  A matrix is a rectangular arrangement of numbers in rows and columns. Rows run horizontally and columns run.
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.
9.2 Warm Up Warm Up Lesson Quiz Lesson Quiz Lesson Presentation Lesson Presentation Use Properties of Matrices.
HW: Pg. 203 #13-35o. Animated Activity Online Multiply Matrices: 2_2007_na/resources/applications/animatio.
3.5 Perform Basic Matrix Operations Add Matrices Subtract Matrices Solve Matric equations for x and y.
Essential Question: Why, oh why, didn’t I take the blue pill?
Notes Over 4.2 Finding the Product of Two Matrices Find the product. If it is not defined, state the reason. To multiply matrices, the number of columns.
Do Now: Perform the indicated operation. 1.). Algebra II Elements 11.1: Matrix Operations HW: HW: p.590 (16-36 even, 37, 44, 46)
Precalculus Section 14.1 Add and subtract matrices Often a set of data is arranged in a table form A matrix is a rectangular.
Matrix – is a rectangular arrangement of numbers in rows and columns. Dimensions – Size – m is rows, n is columns. m x n ( row ∙ column) Elements – The.
Warm-UP A = 7-310B = C =7-4Find:A 22 and C 31 97Find: the dimensions of each -88 Matrix Find: A + B and B – A and C + B.
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.
Matrices.
Tell whether the matrix is equal to the fundraiser matrix. Explain.
13.4 Product of Two Matrices
12-1 Organizing Data Using Matrices
Multiplying Matrices.
Warm-Up - 8/30/2010 Simplify. 1.) 2.) 3.) 4.) 5.)
Matrix Multiplication
Matrix Operations Monday, August 06, 2018.
Matrix Operations SpringSemester 2017.
Warm Up Use scalar multiplication to evaluate the following:
Multiplying Matrices.
WarmUp 2-3 on your calculator or on paper..
MULTIPLYING TWO MATRICES
7.3 Matrices.
25. Basic matrix operations
4-2 Adding & Subtracting Matrices
Math-2 Honors Matrix Gaussian Elimination
1. Write the component form of the vector that
Multiplying Matrices.
3.6 Multiply Matrices.
1.8 Matrices.
Matrix Operations Ms. Olifer.
What is the dimension of the matrix below?
Matrix Operations SpringSemester 2017.
1.8 Matrices.
Multiplying Matrices.
3.5 Perform Basic Matrix Operations Algebra II.
Multiplying Matrices.
Multiplying Matrices.
Presentation transcript:

Add and subtract matrices EXAMPLE 1 Add and subtract matrices Perform the indicated operation, if possible. 3 0 – 5 – 1 a. – 1 4 2 0 + 3 + (– 1) 0 + 4 – 5 + 2 – 1 + 0 = = 2 4 – 3 – 1 – 2 5 3 – 10 –3 1 7 4 0 –2 –1 6 b. – 7 – (– 2) 4 – 5 0 – 3 – 2 – (– 10) – 1 – (– 3) 6 – 1 = 9 –1 – 3 8 2 5 =

EXAMPLE 2 Multiply a matrix by a scalar Perform the indicated operation, if possible. a. 4 – 1 1 0 2 7 – 2 – 2(4) – 2(– 1) – 2(1) – 2(0) – 2(2) – 2(7) = – 8 2 – 2 0 – 4 – 14 = b. 4 – 2 – 8 5 0 – 3 8 6 – 5 + 4(– 2) 4(– 8) 4(5) 4(0) – 3 8 6 –5 = + – 8 – 32 20 0 – 3 8 6 – 5 = +

EXAMPLE 2 Multiply a matrix by a scalar – 8 + (– 3) – 32 + 8 20 + 6 0 + (– 5) = – 11 – 24 26 – 5 =

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 in three types of wood: walnut, pine, and cherry. Sales of the racks for last month and this month are shown below.

EXAMPLE 3 Solve a multi-step problem Organize the data using two matrices, one for last month’s sales and one for this month’s sales. Then write and interpret a matrix giving the average monthly sales for the two month period. SOLUTION STEP 1 Organize the data using two 3 X 2 matrices, as shown. Walnut Pine Cherry 125 100 278 251 225 270 95 114 316 215 205 300 Last Month (A) This Month (B) Small Large Small Large

EXAMPLE 3 Solve a multi-step problem STEP 2 Write a matrix for the average monthly sales by first adding A and B to find the total sales and then multiplying the result by . 1 2 (A + B) = 1 2 125 100 278 251 225 270 95 114 316 215 205 300 + 220 214 594 466 430 570 1 2 =

EXAMPLE 3 Solve a multi-step problem 110 107 297 233 215 285 = STEP 3 Interpret the matrix from Step 2. The company sold an average of 110 small walnut racks, 107 large walnut racks, 297 small pine racks, 233 large pine racks, 215 small cherry racks, and 285 large cherry racks.

Solve a matrix equation EXAMPLE 4 Solve a matrix equation Solve the matrix equation for x and y. 5x – 2 6 – 4 3 7 – 5 – y – 21 15 3 – 24 = + 3 SOLUTION Simplify the left side of the equation. 5x – 2 6 – 4 3 7 – 5 – y – 21 15 3 – 24 = 3 + Write original equation.

Solve a matrix equation EXAMPLE 4 Solve a matrix equation 5x + 3 1 5 – 4 – y – 21 15 3 – 24 = 3 Add matrices inside parentheses. 15x + 9 15 3 – 12 – 3y – 21 15 3 – 24 = Perform scalar multiplication. Equate corresponding elements and solve the two resulting equations. – 12 – 3y = -24 y = 4 15x + 9 = – 21 x = – 2 The solution is x = – 2 and y = 4. ANSWER

EXAMPLE 1 Describe matrix products State whether the product AB is defined. If so, give the dimensions of AB. a. A: 4 3, B: 3 2 b. A: 3 4, B: 3 2 SOLUTION a. Because A is a 4 3 matrix and B is a 3 2 matrix, the product AB is defined and is a 4 2 matrix. b. Because the number of columns in A (four) does not equal the number of rows in B (three), the product AB is not defined.

EXAMPLE 2 Find the product of two matrices Find AB if A = 1 4 3 – 2 and B = 5 – 7 9 6 SOLUTION Because A is a 2 2 matrix and B is a 2 2 matrix, the product AB is defined and is a 2 2 matrix.

EXAMPLE 2 Find the product of two matrices STEP 1 Multiply the numbers in the first row of A by the numbers in the first column of B, add the products, and put the result in the first row, first column of AB. 1 4 3 – 2 5 – 7 9 6 1(5) + 4(9) =

EXAMPLE 2 Find the product of two matrices STEP 2 Multiply the numbers in the first row of A by the numbers in the first column of B, add the products, and put the result in the first row, second column of AB. 1 4 3 – 2 5 – 7 9 6 1(5) + 4(9) = 1( – 7) + 4(6)

EXAMPLE 2 Find the product of two matrices STEP 3 Multiply the numbers in the second row of A by the numbers in the first column of B, add the products, and put the result in the second row, first column of AB. 1 4 3 – 2 5 – 7 9 6 1(5) + 4(9) 1( – 7) + 4(6) 3(5) + (– 2)(9) =

EXAMPLE 2 Find the product of two matrices STEP 4 Multiply the numbers in the second row of A by the numbers in the second column of B, add the products, and put the result in the second row, second column of AB. 1 4 3 – 2 5 – 7 9 6 = 1(5) + 4(9) 1( – 7) + 4(6) 3(5) + (– 2)(9) 3( –7) + ( –2)(6)

EXAMPLE 2 Find the product of two matrices STEP 5 1(5) + 4(9) 1(– 7) + 4(6) 3(5) + (–2)(9) 3(–7) + (–2)(6) 41 17 –3 –33 =

Using the given matrices, evaluate the expression. EXAMPLE 3 Use matrix operations Using the given matrices, evaluate the expression. A = 4 3 – 1 – 2 2 0 , B = – 3 0 1 –2 , C = 1 4 –3 –1 a. A(B + C) b. AB + AC SOLUTION a. A(B + C) = 4 3 – 1 – 2 2 0 –3 0 1 –2 + 1 4 –3 –1

EXAMPLE 3 Use matrix operations 4 3 – 1 – 2 2 0 = – 2 4 – 2 –3 –14 7 6 2 – 4 8 = b. AB + AC = 4 3 –1 –2 2 0 4 3 –1 –2 2 0 – 3 0 1 –2 + 1 4 –3 –1 – 9 – 6 1 4 – 6 0 – 5 13 5 –2 2 8 + – 14 7 6 2 – 4 8 =

EXAMPLE 4 Use matrices to calculate total cost Two hockey teams submit equipment lists for the season as shown. Sports Each stick costs $60, each puck costs $2, and each uniform costs $35. Use matrix multiplication to find the total cost of equipment for each team.

EXAMPLE 4 Use matrices to calculate total cost SOLUTION To begin, write the equipment lists and the costs per item in matrix form. In order to use matrix multiplication, set up the matrices so that the columns of the equipment matrix match the rows of the cost matrix.

EXAMPLE 4 Use matrices to calculate total cost Equipment Sticks Pucks Uniforms Women’s team Men’s team 14 30 18 16 25 20 Cost Dollars Sticks Pucks Uniforms 60 2 35

EXAMPLE 4 Use matrices to calculate total cost The total cost of equipment for each team can be found by multiplying the equipment matrix by the cost matrix. The equipment matrix is 2 3 and the cost matrix is 3 1. So, their product is a 2 1 matrix. 14 30 18 16 25 20 60 2 35 = 14(60) + 30(2) + 18(35) 16(60) + 25(2) + 20(35) 1530 1710

EXAMPLE 4 Use matrices to calculate total cost The labels for the product matrix are shown below. Total Cost Dollars Women’s team Men’s team 1530 1710 The total cost of equipment for the women’s team is $1530, and the total cost for the men’s team is $1710. ANSWER