Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication...

28
Unit 39 Matrices Presentation 1 Matrix Additional and Subtr action Presentation 2 Scalar Multiplication Presentation 3 Matrix Multiplication 1 Presentation 4 Matrix Multiplication 2 Presentation 5 Determinants Presentation 6 Inverse Matrices Presentation 7 Solving Equations Presentation 8 Geometrical Transformations Presentation 9 Geometric Transformations: Example

Transcript of Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication...

Page 1: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

Unit 39Matrices

Presentation 1 Matrix Additional and Subtraction

Presentation 2 Scalar Multiplication

Presentation 3 Matrix Multiplication 1

Presentation 4 Matrix Multiplication 2

Presentation 5 Determinants

Presentation 6 Inverse Matrices

Presentation 7 Solving Equations

Presentation 8 Geometrical Transformations

Presentation 9 Geometric Transformations: Example

Page 2: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

Unit 3939.1 Matrix Additional and

Subtraction

Page 3: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

If a matrix has m rows and n columns, we say that its dimensions are m x n.

For exampleis a 2 x 2 matrix

is a 2 x 3 matrix

You can only add and subtract matrices with the same dimensions; you do this by adding and subtracting their corresponding elements.

?

?

Page 4: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

Example 1

(a)

(b)

?

? ?

?

?

?

?

? ?

?

Page 5: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

Example 2

If what are the values of a, b, c

and d?

Solution

Subtracting gives

Hence

?

?

?

?

?

?

?

?

Page 6: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

Unit 3939.2 Scalar Multiplication

Page 7: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

For scalar multiplication, you multiply each element of the matrix by the scalar (number) so

Example

If then

??

??

?

? ?

?? ?

? ?

?

?

?

?

Page 8: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

Unit 3939.3 Matrix Multiplication 1

Page 9: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

?

?

?

You can multiply two matrices, A and B, together and write

only if the number of columns of A = number of rows of B; that is, if A has dimension m x n and B has dimension n x k, then the resulting matrix, C, has dimensions m x k.

To find, C, we multiply corresponding elements of each row of A by elements of each column of B and add. The following examples show you how the calculation is done.

Example

If and , then A is a 2 x 2 matrix and B is a 2 x 1 matrix, so C = AB is defined and is a 2 x 1 matrix, given by:

?

?

?

Page 10: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

Unit 3939.4 Matrix Multiplication 2

Page 11: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

Here we show a matrix multiplication that is not commutative

Consider and

First we calculate AB.

?

??

?

??

?

?

?

?

??

Page 12: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

Is AB = BA? NoHence matrix multiplication is NOT commutative

Here we consider a matrix multiplication that is not commutative

Consider and

And now for BA.

??

?

?

??

? ?

?

?

?

?

?

Page 13: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

Unit 3939.5 Determinants

Page 14: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

?

For a 2 x 2 square matrix its determinant is the number defined by

Example 1

What is detA if ?

Solution

????

Page 15: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

?

??

?

For a 2 x 2 square matrix its determinant is the number defined by

Example 2

If what is the value of x that would make

detM = 0 ?

Solution

?

?

A matrix, M, for which detM = 0 is called a singular matrix.

Page 16: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

Unit 3939.6 Inverse Matrices

Page 17: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

For a 2 x 2 matrix, M, its inverse , is defined by

You can always find the inverse of M if it is non-singular, that is . For

Example

If find and verify that

Solution

Hence

?????

?

?

?

?

?

?

?

?

?

?

??

??

? ?

? ?

where

Page 18: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

Unit 3939.7 Solving Equations

Page 19: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

You can write the simultaneous equation

In the form when

You can solve for X by multiplying by

This gives or

So we first need to find . Now

and

Hence

?

?

?

?

?

?

?

?

?

?

?

?

??

?

?

?

?

Page 20: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

Unit 3939.8 Geometrical Transformations

Page 21: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

You can use matrices to describe transformations. We write

where is transformed into

Lets look at the common transformations

Page 22: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

?

?

?

?

Page 23: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

?

?

?

Page 24: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

?

Page 25: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

Unit 3939.9 Geometric Transformations:

Example

Page 26: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

Example

A triangle, XYZ, with coordinates X (4, 5), Y(-3, 2) and Z(-1, 4) is

mapped onto triangle Xʹ Yʹ Zʹ by a transformation

(a) Calculate the coordinates of the vertices of triangle Xʹ Yʹ Zʹ

Solution

?

?

?

?

?

?i.e.

i.e.

i.e.

Page 27: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

Example

A triangle, XYZ, with coordinates X (4, 5), Y(-3, 2) and Z(-4, 4) is

mapped onto triangle Xʹ Yʹ Zʹ by a transformation

?

?

?

?

(b) A matrix maps triangle Xʹ Yʹ Zʹ onto triangle

Xʹʹ Yʹʹ Zʹʹ. Determine the 2 x 2 matrix, Q, which maps triangle XYZ onto Xʹʹ Yʹʹ Zʹʹ.

Solution

Xʹʹ = NXʹ = NMX so Xʹʹ = QX where

Page 28: Unit 39 Matrices Presentation 1Matrix Additional and Subtraction Presentation 2Scalar Multiplication Presentation 3Matrix Multiplication 1 Presentation.

Example

A triangle, XYZ, with coordinates X (4, 5), Y(-3, 2) and Z(-4, 4) is

mapped onto triangle Xʹ Yʹ Zʹ by a transformation

(c) Show that the matrix which maps triangle Xʹʹ Yʹʹ Zʹʹ back onto XYZ is equal to Q.

Solution

so QXʹʹ = X and similarly QYʹʹ = Y and QZʹʹ = Z

Thus Q maps Xʹʹ Yʹʹ Zʹʹ back to XYZ

? ?

?

? ?

?

?

?

?

?

??

?