objectives add two matrices subtract two matrices multiply a matrix by a constant multiply two...

19
Mat 150 – Class #23

Upload: marlene-white

Post on 28-Dec-2015

253 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Objectives  Add two matrices  Subtract two matrices  Multiply a matrix by a constant  Multiply two matrices

Mat 150 – Class #23

Page 2: Objectives  Add two matrices  Subtract two matrices  Multiply a matrix by a constant  Multiply two matrices

Objectives

Add two matricesSubtract two matricesMultiply a matrix by a constantMultiply two matrices

Page 3: Objectives  Add two matrices  Subtract two matrices  Multiply a matrix by a constant  Multiply two matrices

Matrix AdditionThe sum of two matrices with the same dimensions is the matrix that is formed by adding the corresponding entries of the two matrices. Addition is not definedif the matrices do not have the same number of rows and the same number of columns.

Page 4: Objectives  Add two matrices  Subtract two matrices  Multiply a matrix by a constant  Multiply two matrices

Example

Find the following sums of matrices.a.

b.

a b w y

c d x z

1 3 8 0 1 4 2 4

3 6 1 3 5 2 4 2

4 5 3 2 5 1 4 1

Page 5: Objectives  Add two matrices  Subtract two matrices  Multiply a matrix by a constant  Multiply two matrices

Example (cont)

Find the following sums of matrices.c. A + B if

A + B =

The matrix that is the sum is called the ________matrix.

2 3 2 3 and

1 4 1 4A B

2 3 2 3

1 4 1 4

Page 6: Objectives  Add two matrices  Subtract two matrices  Multiply a matrix by a constant  Multiply two matrices

Matrix SubtractionIf matrices M and N have the same dimension, the difference M N is found by subtracting the elements of N from the corresponding elements of M. This differencecan also be defined as

M N = M + ( N)

Page 7: Objectives  Add two matrices  Subtract two matrices  Multiply a matrix by a constant  Multiply two matrices

Example

Complete the following matrix operations.a.

b.

2 1 3 1 2 4

5 4 2 5 2 3

1 4 2 6 2 3

1 4 5 2 2 3

3 6 3 5 4 8

2 1 12 3 2 0

Page 8: Objectives  Add two matrices  Subtract two matrices  Multiply a matrix by a constant  Multiply two matrices

Product of a Number and a MatrixMultiplying a matrix A by a real number c results in a matrix in which each entry of matrix A is multiplied by the number c.

Page 9: Objectives  Add two matrices  Subtract two matrices  Multiply a matrix by a constant  Multiply two matrices

Example

The table contains the purchase prices and delivery costs (per unit) for plywood, siding, and lumber. If the supplier announces a 5% increase in all of these prices and in delivery costs, find the matrix that gives the new prices and costs.

Page 10: Objectives  Add two matrices  Subtract two matrices  Multiply a matrix by a constant  Multiply two matrices

Example (cont)

Use a matrix to represent the original prices and costs.

32 23 2.60

3 1 0.60

Page 11: Objectives  Add two matrices  Subtract two matrices  Multiply a matrix by a constant  Multiply two matrices
Page 12: Objectives  Add two matrices  Subtract two matrices  Multiply a matrix by a constant  Multiply two matrices

Example

Compute the products AB and BA for the matrices1 2

and .3 4

a bA B

c d

Page 13: Objectives  Add two matrices  Subtract two matrices  Multiply a matrix by a constant  Multiply two matrices

Example

A business plans to use three methods of advertising—newspapers, radio, and cable TV—in each of its two markets, I and II. The cost per ad type in each market (in thousands of dollars) is given by matrix A. The business has three target groups: teenagers, single women, and men aged 35 to 50. Matrix B gives the number of ads per week directed at each of these groups.a. Does AB or BA give the matrix that represents the cost of ads

for each target group in each market?b. Find this matrix.c. For what group of people is the most money spent on

advertising?

Page 14: Objectives  Add two matrices  Subtract two matrices  Multiply a matrix by a constant  Multiply two matrices

Example (cont)

a. Does AB or BA give the matrix that represents the cost of ads for each target group in each market?

b. Find this matrix.

Page 15: Objectives  Add two matrices  Subtract two matrices  Multiply a matrix by a constant  Multiply two matrices

Example (cont)

3 12 15 12 10

5 16 10 10 8

10 11 6 5 9

BA

Page 16: Objectives  Add two matrices  Subtract two matrices  Multiply a matrix by a constant  Multiply two matrices

Example (cont)

c. For what group of people is the most money spent on advertising?

Page 17: Objectives  Add two matrices  Subtract two matrices  Multiply a matrix by a constant  Multiply two matrices

Example

Use technology to compute BA and AB if

2 4 11 2

3 2 10 1 and

2 0 23 2

1 3 0

A B

Page 18: Objectives  Add two matrices  Subtract two matrices  Multiply a matrix by a constant  Multiply two matrices

Example

Use technology to compute BA and AB if

2 4 11 2

3 2 10 1 and

2 0 23 2

1 3 0

A B

Page 19: Objectives  Add two matrices  Subtract two matrices  Multiply a matrix by a constant  Multiply two matrices

Assignment

Pg. 531-535#1-9 all#14-15#17-20all#27-28#34 and #39