Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name...

91
Chapter 5.7 Properties of Matrices

Transcript of Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name...

Page 1: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Chapter 5.7

Properties of Matrices

Page 2: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Basic Definitions

It is necessary to use capital letters to name matrices.

Also, subscript notation is often used to name element of a matrix, as in the following Matrix A.

Page 3: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.
Page 4: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

With this notation, the first row, first column element is a11 (read “a-sub-one-one”);

The second row, third column element is a23

and in general the i th row, j th column element is aij

Page 5: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Certain matrices have special names:

because the number of rows is equal to the number of columns.

A matrix with just one row is a row matrix, and a matrix with just one column is a column matrix.

matrix square a ismatrix n nAn

Page 6: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Two matrices are equal if they are the same size and if the corresponding element, position by position are equal.

Using this definition, the matrices

are not equal (even though they contain the same elements and are the same size), since the corresponding elements differ.

35

21 and

53

12

Page 7: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the values of the variables for which each statement is true, if possible.

01

yx

qp

12

Page 8: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the values of the variables for which each statement is true, if possible.

0

4

1

y

x

Page 9: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Adding MatricesAddition of matrices is defined as follows.

It can be shown that matrix addition satisfies the commutative, associative, closure, identity, and inverse properties.

Page 10: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the sum if possible

38

64

98

65

Page 11: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the sum if possible

12

3

6

8

5

2

Page 12: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the sum if possible

B, A

26

85A if

524

193 B and

Page 13: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Special MatricesA matrix containing only zero elements is called a zero matrix. A zero matrix can be written with any size.

Page 14: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

By the additive inverse property, each real number has an additive inverse: if a is a real number, then there is a real number –a such that

a + (-a) = 0 and –a + a = 0

Page 15: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Given matrix A, there is a matrix –A such that

A + -A = 0

The matrix –A has as elements the additive inverses of the elements of A.

Page 16: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

For example, if

643

125A

643

125A -then

Page 17: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

For example, if

643

125-A A

643

125

000

000

Page 18: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Matrix –A is called the additive inverse, or negative, of matrix A. Every matrix has an additive inverse

Subtracting MatricesThe real number b is subtracted from the real number a, written a – b, by adding a and the additive inverse of b.That is,

a – b = a + (-b)

Page 19: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

In practice, the difference of two matrices of the same size is found by subtracting corresponding elements.

Page 20: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the difference if possible

85

23

42

65

Page 21: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the difference if possible

468 853

Page 22: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the difference if possible

B, A

10

52A if

5

3 B and

Page 23: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Multiplying MatricesIn work with matrices, a real number is called a scalar to distinguish it from a matix. The product of a scalar K and a matrix X is the matrix kX, each of whose elements is k times the corresponding element of X.

Page 24: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

40

325

)4(5)0(5

)3(5)2(5

200

1510

Page 25: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

1612

3620

4

3

129

2715

Page 26: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.
Page 27: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

We have seen how to multiply a real number (scalar) and a matrix. To find the product of two matrices, such as

405

243A

23

32

46-

B and

Page 28: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

first locate row 1 of A

405

243A

23

32

46-

B and

Page 29: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

first locate row 1 of Aand column 1 of B,

405

243A

23

32

46-

B and

Page 30: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Multiply corresponding elements, and find the sum of the products.

405

243A

23

32

46-

B and

(-3)(-6) + (4) (2) + (2)(3) 18+ 8 + 6 = 32

Page 31: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

The result is the first element for row 1, column 1 in the product matrix.

405

243A

23

32

46-

B and

(-3)(-6) + (4) (2) + (2)(3) 18+ 8 + 6 = 32

Page 32: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Now use row 1 of A and column 2 of B to determine the element in row 1 and column 2 of the product matrix.

405

243A

23

32

46-

B and

Page 33: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Now use row 1 of A and column 2 of B to determine the element in row 1 and column 2 of the product matrix.

405

243A

23

32

46-

B and

(-3)(4) + (4) (3) + (2)(-2) -12 + 12 + -4 = -4

Page 34: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Now use row 2 of A and column 1 of B to determine the element in row 2 and column 1 of the product matrix.

405

243A

23

32

46-

B and

Page 35: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Now use row 2 of A and column 1 of B to determine the element in row 2 and column 1 of the product matrix.

405

243A

23

32

46-

B and

(5)(-6) + (0) (2) + (4)(3) -30 + 0 + 12 = -18

Page 36: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Now use row 2 of A and column 2 of B to determine the element in row 2 and column 2 of the product matrix.

405

243A

23

32

46-

B and

Page 37: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Now use row 2 of A and column 2 of B to determine the element in row 2 and column 2 of the product matrix.

405

243A

23

32

46-

B and

(5)(4) + (0) (3) + (4)(-2) 20 + 0 + -8 = 12

Page 38: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

The product matrix can now be written.

405

243

matrix. 22 a ismatrix 23 a and

matrix 32 a ofproduct thehere see As

1218

432

23

32

46-

Page 39: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.
Page 40: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Can the product AB be calculated?

The following diagram shows that AB can be calculated, because the number of columns of A is equal to the number of rows of B.

23

AMatrix

matrix. 42 a is B while

matrix, 23 a isA Suppos

42

BMatrix

same size

Page 41: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

If AB can be calculated, how big is it?

23

AMatrix

matrix. 42 a is B while

matrix, 23 a isA Suppos

42

BMatrix

same size

size of AB = 3 x 4

Page 42: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

If BA can be calculated?

BA cannot be calculated?

23

AMatrix

matrix. 42 a is B while

matrix, 23 a isA Suppos

different size

42

BMatrix

Page 43: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

27

31

1413

2101

)3)(3()1)(1(

Page 44: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

27

31

1413

2101

8

Page 45: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

27

31

1413

2101

)1)(3()0)(1(8

Page 46: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

27

31

1413

2101

38

Page 47: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

27

31

1413

2101

38

Page 48: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

27

31

1413

2101

)4)(3()1)(1(38

Page 49: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

27

31

1413

2101

1338

Page 50: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

27

31

1413

2101

1338

Page 51: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

27

31

1413

2101

)1)(3()2)(1(1338

Page 52: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

27

31

1413

2101

51338

Page 53: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

27

31

1413

2101

)3)(2()1)(7(

51338

Page 54: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

27

31

1413

2101

-8 -3 -13 513

Page 55: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

27

31

1413

2101

)1)(2()0)(7(13

51338

Page 56: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

27

31

1413

2101

-8 -3 -13 513 2

Page 57: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

27

31

1413

2101

)4)(2()1)(7(213

51338

Page 58: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

27

31

1413

2101

-8 -3 -13 513 2 1

Page 59: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

27

31

1413

2101

)1)(2()2)(7(1213

51338

Page 60: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

27

31

1413

2101

-8 -3 -13 513 2 1 12

Page 61: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

27

31

1413

2101

Since the first matrix is a 2 x 4and the second matrix is a 2 x 2the product can not be found.

Page 62: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

20

72

52

31

Page 63: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

20

72

52

31

)0)(3()2)(1(

Page 64: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

20

72

52

31

2

Page 65: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

20

72

52

31

)2)(3()7)(1(2

Page 66: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

20

72

52

31

132

Page 67: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

20

72

52

31

)0)(5()2)(2(

132

Page 68: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

20

72

52

31

4

132

Page 69: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

20

72

52

31

)2)(5()7)(2(4

132

Page 70: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

20

72

52

31

44

132

Page 71: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

52

31

20

72

Page 72: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

)2)(7()1)(2(

52

31

20

72

Page 73: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

16

52

31

20

72

Page 74: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

)5)(7()3)(2(16

52

31

20

72

Page 75: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

2916

52

31

20

72

Page 76: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

)2)(2()1)(0(

2916

52

31

20

72

Page 77: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

4

2916

52

31

20

72

Page 78: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

)5)(2()3)(0(4

2916

52

31

20

72

Page 79: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Find the product

104

2916

52

31

20

72

Page 80: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

The products are not commutative.

104

2916

52

31

20

72

A B B A

Page 81: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.
Page 82: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.
Page 83: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

A contractor builds three kinds of houses, models A, B, and C, with a choice of two styles, colonial or ranch.

Matrix P shows the number of each kind of house the contractor is planning for a new 100-home subdivision.

Page 84: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

The amounts for each of the main materials used depend on the style of the house.

20

20

30

20

10

0

C Model

B Model

A ModelColonial Ranch

Page 85: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

The amounts are shown in the matrix.

220150

20210

Ranch

ColonialConcrete Lumber Brick Shingles

Page 86: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

Concrete is measured here in cubic yards, lumber in 1000 board feet, brick in 1000s, and shingles in 100 square feet.

220150

20210

Ranch

ColonialConcrete Lumber Brick Shingles

Page 87: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

25

60

100

20

Shingles

Brick

Lumber

Concrete

Cost per Unit

Page 88: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

What is the total cost of materials for all houses of each model?

20

20

30

20

10

0

220150

20210

80

60

60

400

400

600

60

40

30

1200

1100

1500

C Model

B Model

A ModelConcrete Lumber Brick Shingles

Page 89: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

What is the total cost of materials for all houses of each model?

80

60

60

400

400

600

60

40

30

1200

1100

1500

25

60

100

20

C Model

B Model

A Model

60800

54700

72900

Cost

Page 90: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

How much of each of the four kinds of material must be ordered?

80

60

60

400

400

600

60

40

30

1200

1100

1500

20014001303800

Page 91: Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.

What is the total cost of the materials?

25

60

80

20

20014001303800 188400