Presentation is loading. Please wait.

Presentation is loading. Please wait.

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.

Similar presentations


Presentation on theme: "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."— Presentation transcript:

1 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 data

2 Matrix A rectangular arrangement of numbers in rows and columns Dimensions of a Matrix: # rows by # columns 2 X 3 (read 2 by 3)

3 Entries: the numbers in a matrix Square Matrix: a matrix with the same # of rows and columns

4 What are the dimensions of the matrices below? 1.2.3.

5 Two matrices are equal if their dimensions are the same and the entries in corresponding positions are equal. Two matrices are equal if their dimensions are the same and the entries in corresponding positions are equal. Are the following matrices equal? 1. and 2. and

6 To add and subtract matrices, add or subtract corresponding entries:  Can only add and subtract if matrices have the same dimensions Perform the indicated operations: 1. 2. 3.

7 Scalar Multiplication: multiply each entry of the matrix by the scalar 1. 2.

8 Solve for x and y: 3x = -9, x = -3 3y-2 =7, y = 3

9 Properties of Matrix Operations: A, B and C are matrices, c is a scalar 1. Associative Property (regroup) 2. Commutative Property (change order 3. Distributive Property of Addition 4. Distributive Property of Subtractions (A+B)+C = A +(B+C) A + B = B +A c(A +B) = cA + cB c(A- B) = cA- cB

10 Using Matrices to Organize Data: Use matrices to organize the following data about insurance rates. This year for 1 car, comprehensive, collision and basic insurance cost $612.15, $518.29 and $486.91. For 2 cars, comprehensive, collision and basic insurance cost $1150.32, $984.16, and $892.51. Next year for 1 car, comprehensive, collision and basic insurance will cost $616.28, $520.39, and $490.05. For 2 cars, comprehensive, collision and basic insurance will cost $1155.84, $987.72, and $895.13.

11 Use the matrices to write a matrix that shows the changes from this year to next.

12 1 car 2 cars Comp. Coll. basic This year (A) Next year (B) B – A will give the change of:

13 Multiplying Matrices -You can only multiply matrices when the number of columns in the first matrix is equal to the number of rows in the second. -Multiplication of matrices is not commutative!! -The dimensions of the product matrix will be the number of rows in the first matrix by the number of columns in the second matrix 3 x 2 matrix times a 2 x 2 matrix results in a 3 x 2 matrix

14 Multiply each row entry by each column entry to yield one entry in the product matrix. 1 x 3 3 x 3 Must be the same Dimensions of product matrix

15 Determinants The determinant of a matrix is the difference in the cross products det A or lAl

16 Find the determinant of a 2 x 2 matrix

17 Using Diagonals Another method for evaluating a third order determinant is using diagonals. STEP 1: You begin by repeating the first two columns on the right side of the determinant.

18 Using Diagonals STEP 2: Draw a diagonal from each element in the top row diagonally downward. Find the product of the numbers on each diagonal. aeibfgcdh

19 Using Diagonals STEP 3: Then draw a diagonal from each element in the bottom row diagonally upward. Find the product of the numbers on each. idb hfagec

20 Using Diagonals To find the value of the determinant, add the products in the first set of diagonals, and then subtract the products from the second set of diagonals. The value is: aei + bfg + cdh – gec – hfa – idb

21 Ex. 2: Evaluate using diagonals. First, rewrite the first two columns along side the determinant.

22 Ex. 2: Evaluate using diagonals. Next, find the values using the diagonals. 4600 0-5 24 Now add the bottom products and subtract the top products. 4 + 60 + 0 – 0 – (-5) – 24 = 45. The value of the determinant is 45.

23 Area of a triangle Determinants can be used to find the area of a triangle when you know the coordinates of the three vertices. The area of a triangle whose vertices have coordinates (a, b), (c, d), (e, f) can be found by using the formula: and then finding |A|, since the area cannot be negative.

24 Ex. 3: Find the area of the triangle whose vertices have coordinates (-4, -1), (3, 2), (4, 6). How to start: Assign values to a, b, c, d, e, and f and substitute them into the area formula and evaluate. a = -4, b = -1, c = 3, d = 2, e = 4, f = 6 -8-4 18 8-24 -3 Now add the bottom products and subtract the top products. -8 + (-4) + 18 – 8 – (-24) –(-3) = 25. The value of the determinant is 25. Applied to the area formula ½ (25) = 12.5. The area of the triangle is 12.5 square units.

25 1) Inverse Matrices and Systems of Equations For a We can write a System of Equations Matrix Equation

26 1) Inverse Matrices and Systems of Equations Example 1: Write the system as a matrix equation Matrix Equation Coefficient matrix Constant matrix Variable matrix

27 1) Inverse Matrices and Systems of Equations When rearranging, take the inverse of A

28 1) Inverse Matrices and Systems of Equations Example 3: Solve the system Step 3: Solve for the variable matrix The solution to the system is (4, 1).

29 1) Inverse Matrices and Systems of Equations Example 2: ABX

30 Solving systems using Augmented Matrices You can solve some linear systems by using an augmented matrix. An augmented matrix contains the coefficients and the constants from a system of equations. Each row of the matrix represents an equation.

31 Ex. 1: Write an augmented matrix to represent the system shown. System of Equations-6x - 2y = 10 4x = -20 System of Equations Use the rref key under the matrix math menu to solve an augmented matrix.

32 Ex. 2: Write an augmented matrix to represent the system shown. System of Equations x - 5y = 15 3x +3y = 3 System of Equations An augmented matrix that represents the system

33 Ex. 3: Write an augmented matrix to represent the system shown. System of Equationsx + 2y +3z = -4 y – 2z = 8 z = -3 System of Equations An augmented matrix that represents the system


Download ppt "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."

Similar presentations


Ads by Google