IB Math SL - Santowski1 T4.2 – Multiplication of Matrices IB Math SL - Santowski.

Slides:



Advertisements
Similar presentations
Matrix.
Advertisements

T4.3 - Inverse of Matrices & Determinants IB Math SL - Santowski.
© 2005 Baylor University Slide 1 Fundamentals of Engineering Analysis EGR 1302 Unit 1, Lecture B Approximate Running Time - 24 minutes Distance Learning.
Matrix Definition: An array of numbers in m rows and n colums is called an mxn matrix A square matrix of order n, is an (nxn) matrix.
Mathematics. Matrices and Determinants-1 Session.
Section 4.2 – Multiplying Matrices Day 2
MF-852 Financial Econometrics
Economics 2301 Matrices Lecture 13.
12.2 Multiplication of Matrices. Matrix Multiplication The product of two matrices, A m×p and B p×n, is the matrix AB with dimensions m × n. Any element.
Finding the Inverse of a Matrix
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
Lesson 54 – Multiplication of Matrices
Chapter 4 Matrices By: Matt Raimondi.
Overview Definitions Basic matrix operations (+, -, x) Determinants and inverses.
Copyright © 2011 Pearson, Inc. 7.2 Matrix Algebra.
10.4 Matrix Algebra 1.Matrix Notation 2.Sum/Difference of 2 matrices 3.Scalar multiple 4.Product of 2 matrices 5.Identity Matrix 6.Inverse of a matrix.
Identity What number is the multiplication identity for real numbers? For matrices, n x n--square matrices, has 1’s on main diagonal and zeros elsewhere.
Lecture 7 Matrices CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
Matrices. Definitions  A matrix is an m x n array of scalars, arranged conceptually as m rows and n columns.  m is referred to as the row dimension.
Chapter 4 – Matrix CSNB 143 Discrete Mathematical Structures.
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.
Prepared by Deluar Jahan Moloy Lecturer Northern University Bangladesh
Fundamentals of Engineering Analysis
Chapter 6 Systems of Linear Equations and Matrices Sections 6.3 – 6.5.
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.
CSCI 171 Presentation 9 Matrix Theory. Matrix – Rectangular array –i th row, j th column, i,j element –Square matrix, diagonal –Diagonal matrix –Equality.
Matrices: Simplifying Algebraic Expressions Combining Like Terms & Distributive Property.
Chapter 2 … part1 Matrices Linear Algebra S 1. Ch2_2 2.1 Addition, Scalar Multiplication, and Multiplication of Matrices Definition A matrix is a rectangular.
Matrix Operations.
3.4 Solution by Matrices. What is a Matrix? matrix A matrix is a rectangular array of numbers.
Matrices and Determinants
Goal: Find sums, differences, products, and inverses of matrices.
MATRIX A set of numbers arranged in rows and columns enclosed in round or square brackets is called a matrix. The order of a matrix gives the number of.
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.
Chapter 1 Section 1.6 Algebraic Properties of Matrix Operations.
T4.4 – Linear Systems & Matrices
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.
Matrix Algebra Definitions Operations Matrix algebra is a means of making calculations upon arrays of numbers (or data). Most data sets are matrix-type.
MATRICES. Introduction Matrix algebra has several uses in economics as well as other fields of study. One important application of Matrices is that it.
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.
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.
2.1 Matrix Operations 2. Matrix Algebra. j -th column i -th row Diagonal entries Diagonal matrix : a square matrix whose nondiagonal entries are zero.
Lesson 12 – 2 Multiplication of Matrices
Lesson 43: Working with Matrices: Multiplication
MATRICES.
Christmas Packets are due on Friday!!!
Finding the Inverse of a Matrix
L6 matrix operations.
Matrix Operations Monday, August 06, 2018.
Matrix Operations.
Matrix Operations SpringSemester 2017.
Section 7.4 Matrix Algebra.
Multiplying Matrices.
Matrix Algebra.
2. Matrix Algebra 2.1 Matrix Operations.
Matrices.
Multiplying Matrices.
Matrix Algebra.
Rayat Shikshan Sanstha’s S.M.Joshi College, Hadapsar -28
Lesson 4: Inverses of Matrices (part 1)
Matrix Operations Ms. Olifer.
Matrix Operations SpringSemester 2017.
Matrix Algebra.
Multiplying Matrices.
3.5 Perform Basic Matrix Operations Algebra II.
Multiplying Matrices.
Matrices - Operations MULTIPLICATION OF MATRICES
L4-5/L4-6 Objective: Students will be able to evaluate determinants of matrices.
Presentation transcript:

IB Math SL - Santowski1 T4.2 – Multiplication of Matrices IB Math SL - Santowski

2 (A) Matrix Multiplication by Scalars - Review Recall our “Breakfast” Matrix Pancakes: 2 cups baking mix, 2 eggs, and 1 cup milk. Biscuits: 2 ¼ cups baking mix and ¾ cups milk. Waffles: 2 cups baking mix, 1 egg, 1⅓ cups milk, and 2 tablespoons vegetable oil. Let's write this in the form of a labeled matrix so that it is easier to read.

IB Math SL - Santowski 3 (A) Matrix Multiplication by Scalars - Review Recall our “Breakfast” Matrix Pancakes: 2 cups baking mix, 2 eggs, and 1 cup milk. Biscuits: 2 ¼ cups baking mix and ¾ cups milk. Waffles: 2 cups baking mix, 1⅓ egg, cups milk, and 2 tablespoons vegetable oil. 

IB Math SL - Santowski 4 (B) Matrix Multiplication Now, if we want to feed 3 people pancakes, 12 people biscuits, and 9 people waffles, how much baking mix will we need? We need to make one batch of pancakes, 4 batches of biscuits, and 3 batches of waffles.

IB Math SL - Santowski 5 (B) Matrix Multiplication Now, if we want to feed 3 people pancakes, 12 people biscuits, and 9 people waffles, how much baking mix will we need? We need to make one batch of pancakes, 4 batches of biscuits, and 3 batches of waffles. We can work it out algebraically as But how do we “create” the same solution as matrix multiplication??

IB Math SL - Santowski 6 (B) Matrix Multiplication But how do we “create” the same solution using matrix multiplication??  we need to create a “meaning” to our matrices again, so ….. Let n = “numbers” matrix (as a row matrix) Let I = “ingredient” matrix (as a column matrix) So our total required batter would be represented by the matrix multiplication  n x I

IB Math SL - Santowski 7 (B) Matrix Multiplication So our total required batter would be represented by the matrix multiplication  n x I So now to show the matrix multiplication: So the process  each element in the row matrix was multiplied by a corresponding element in the column matrix. So the process  each of the products were summed together So a note in passing  n was a 1 by 3 matrix and I was a 3 by 1 matrix and our product was a 1 by 1 matrix …

IB Math SL - Santowski 8 (B) Matrix Multiplication Now to expand upon our example  we have only worked out how much baking mix I need …… What would we do if we wanted to know how much of each ingredient we need for 1 batch of pancakes, 4 batches of biscuits, and 3 batches of waffles?

IB Math SL - Santowski 9 (B) Matrix Multiplication Now to expand upon our example  we have only worked out how much baking mix I need …… What would we do if we wanted to know how much of each ingredient we need for 1 batch of pancakes, 4 batches of biscuits, and 3 batches of waffles? Well, we would run through 3 more separate multiplications, one for each ingredient (i.e. milk)  OR …..

IB Math SL - Santowski 10 (B) Matrix Multiplication Why not use our ingredient matrix?????

IB Math SL - Santowski 11 (B) Matrix Multiplication So, our example suggests a method for doing matrix multiplication and some conditions for multiplication ….. We multiplied a 1 by 3 matrix by a 3 by 4 matrix and got a 1 by 4 matrix The middle numbers (columns of one matrix and rows of the second matrix) must be the same (like the threes were in this case). The resulting matrix will always have the dimensions of the outside numbers (1 by 4 in this case) when multiplication is defined. The following picture expresses the requirements on the dimensions:

IB Math SL - Santowski 12 (B) Matrix Multiplication And to wrap up our “breakie” matrix question  we also know our calorie intake and costs of each of our ingredients  so……

IB Math SL - Santowski 13 (B) Matrix Multiplication  so we could work out our costs and calories for our pancakes, biscuits & waffles

IB Math SL - Santowski 14 (B) Matrix Multiplication  so we could work out our costs and calories for our pancakes, biscuits & waffles

IB Math SL - Santowski 15 (C) Key Terms for Matrices We learned in the last lesson that there is a matrix version of the addition property of zero. There is also a matrix version of the multiplication property of one. The real number version tells us that if a is a real number, then a*1 = 1*a = a. The matrix version of this property states that if A is a square matrix, then A*I = I*A = A, where I is the identity matrix of the same dimensions as A. Definition  An identity matrix is a square matrix with ones along the main diagonal and zeros elsewhere.

IB Math SL - Santowski 16 (C) Key Terms for Matrices Definition  An identity matrix is a square matrix with ones along the main diagonal and zeros elsewhere. So, in matrix multiplication  A x I = I x A = A

IB Math SL - Santowski 17 (D) Examples for Practice Multiply the following matrices:

IB Math SL - Santowski 18 (E) Examples for Practice – TI-84 Here are the key steps involved in using the TI-84

IB Math SL - Santowski 19 (E) Examples for Practice – TI-84 Here are the key steps involved in using the TI-84

IB Math SL - Santowski 20 (F) Properties of Matrix Multiplication Now we pass from the concrete to the abstract  What properties are true of matrix multiplication where we simply have a matrix (wherein we know or don’t know what elements are within) Asked in an alternative sense  what are the general properties of multiplication (say of real numbers) in the first place???

IB Math SL - Santowski 21 (F) Properties of Matrix Multiplication Ordinary Algebra with Real numbers Matrix Algebra if a and b are real numbers, so is the product ab if A and B are matrices, so is the product AB ab = ba for all a,bin general, AB ≠ BA a0 = 0a = 0 for all aA0 = 0A = 0 for all A where 0 is the zero matrix a(b + c) = ab + acA(B + C) = AB + AC a x 1 = 1 x a = aAI = IA = A where I is called an identity matrix and A is a square matrix a n exists for all a > 0A n for {n E I | n > 2} and A is a square matrix

IB Math SL - Santowski 22 (F) Properties of Matrix Multiplication This is a good place to use your calculator if it handles matrices. Do enough examples of each to convince yourself of your answer to each question (1) Does AB = BA for all B for which matrix multiplication is defined if ? (2) In general, does AB = BA? (3) Does A(BC) = (AB)C? (4) Does A(B + C) = AB + AC?

IB Math SL - Santowski 23 (F) Properties of Matrix Multiplication This is a good place to use your calculator if it handles matrices. Do enough examples of each to convince yourself of your answer to each question (5) Does (AB) T = B T A T ? (6) Does A - B = -(B - A)? (7) For real numbers, if ab = 0, we know that either a or b must be zero. Is it true that AB = 0 implies that A or B is a zero matrix? (8) Are A T A and AA T always symmetric?

IB Math SL - Santowski 24 (H) Homework HW: Ex 14E.2 #1 - 4; Ex 14F #1bd, 3; Ex 14G #5 - 7, RS Ex 14A #1ghk, RS Ex 14E #3bcd; IB Packet #3, 6