Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by...

40
Unit 3: Matrices

Transcript of Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by...

Page 1: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Unit 3: Matrices

Page 2: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters.

Matrix Dimensions: Number of rows, m, by the number of columns, n. Read as “m by n” matrix. Also known as the order of a matrix.

◦RBC (ROWS BY COLUMNS)

Page 3: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Determine the dimensions of each matrix.

Page 4: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Elements

Matrix Element: Each number in a matrix, identified by its row and column.

Example: amn

Refers to the m-th row and n-th column

Page 5: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Example

Identify each element.

1. a23

2. a12

3. a31

4. a21

Page 6: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Adding and Subtracting Matrices

When matrices have the same dimension you add and subtract them by adding or subtracting each corresponding element.

Page 7: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Add or Subtract the following matrices:

Page 8: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Scalar Multiplication

Page 9: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Matrix MultiplicationWhen multiplying matrices two

matrices find the dimensions of each:

Page 10: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Is it possible to multiply these matrices? If so, what would the dimension of your answer matrix be?

1)

2)

Page 11: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Multiplying Matrices

Can the following Matrices be multiplied? If so, what dimensions will the product be??

1. x

2. x

Page 12: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

How to multiply matrices

Multiply the elements of each row in the first matrix by the elements in each column of the second matrix

Add the products to get the new element.

Page 13: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,
Page 14: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Matrix Multiplication

Page 15: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Equivalent Matrices

Page 16: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

DETERMINANT OF MATRICES

Page 17: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

A special number that can be calculated from the matrix.

It tells us things about the matrix that are useful in systems of linear equations, in calculus, and more

The symbol for determinant is two vertical lines either side

Determinant of a Matrix

Page 18: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Determinant of a 2x2

Page 19: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Find the determinant of the following 2x2 matrices:

Page 20: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Determinant of a 3x3 Matrix

Page 21: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Find the determinant of the following.

Page 22: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

MATRIX EQUATIONS

Page 23: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Matrix Equation Example

Page 24: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Solve each equation:

Page 25: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,
Page 26: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

INVERSE OF MATRICES

Page 27: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

For matrices, there is no such thing as division. You can add, subtract, and multiple matrices, but you cannot divide them.

There is a related concept called inversion

Page 28: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

AX=C

Using Inverses to Solve For X

Page 29: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Inverse Notation

REMEMBER we denote inverse with a -1 power

So the inverse of matrix A is A-1

Page 30: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Requirement to have an InverseMatrix MUST be square, meaning it has the same number of rows and columns

Matrix MUST NOT have a determinant of zero.

Page 31: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Inverse exist?!

Does the inverse exist?!?!

Page 32: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Multiplying InverseWhen you Multiply a matrix A times it’s inverse, the Product is the Identity Matrix.

Identity Matrix is a square matrix where the top left to Bottom right diagonal are all ones, and everything else is a zero

Page 33: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Determine if the following matrices are inverses. 1.

2.

Page 34: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Finding the Inverse of a 2x2

IF

THEN

Page 35: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Find the inverse of the following matrix.

Page 36: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Use your calculator!

1. 2nd Matrix Edit2. Put in your matrix3. 2nd Matrix NAME4. Get your matrix5. X-1

Page 37: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

The inverse of a matrix can be used when solving matrix equations.

For Matrices A and B, we can find Matrix X:

IF AX = B

THEN X = A-1B

Page 38: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

*Solve for X:

X = A-

1B

Page 39: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

You Try! Solve Each Matrix Equation:

Page 40: Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,

Solutions: