Mathh 1300: Section 4- 4 Matrices: Basic Operations

62
university-logo Addition and Subtraction Product of a Number k and a Matrix M The Matrix Product Math 1300 Finite Mathematics Section 4.4 Matrices: Basic Operations Jason Aubrey Department of Mathematics University of Missouri June 20, 2011 Jason Aubrey Math 1300 Finite Mathematics

description

Β 

Transcript of Mathh 1300: Section 4- 4 Matrices: Basic Operations

Page 1: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Math 1300 Finite MathematicsSection 4.4 Matrices: Basic Operations

Jason Aubrey

Department of MathematicsUniversity of Missouri

June 20, 2011

Jason Aubrey Math 1300 Finite Mathematics

Page 2: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Two matrices are equal if they have the same size andtheir corresponding elements are equal.

For example,1 3 24 βˆ’1 βˆ’21 0 βˆ’1

=

1 3 24 βˆ’1 βˆ’21 0 βˆ’1

The sum of two matrices of the same size is the matrixwith elements that are the sum of the correspondingelements of the two given matrices.Addition is not defined for matricies of different sizes.

Jason Aubrey Math 1300 Finite Mathematics

Page 3: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Two matrices are equal if they have the same size andtheir corresponding elements are equal. For example,1 3 2

4 βˆ’1 βˆ’21 0 βˆ’1

=

1 3 24 βˆ’1 βˆ’21 0 βˆ’1

The sum of two matrices of the same size is the matrixwith elements that are the sum of the correspondingelements of the two given matrices.Addition is not defined for matricies of different sizes.

Jason Aubrey Math 1300 Finite Mathematics

Page 4: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Two matrices are equal if they have the same size andtheir corresponding elements are equal. For example,1 3 2

4 βˆ’1 βˆ’21 0 βˆ’1

=

1 3 24 βˆ’1 βˆ’21 0 βˆ’1

The sum of two matrices of the same size is the matrixwith elements that are the sum of the correspondingelements of the two given matrices.

Addition is not defined for matricies of different sizes.

Jason Aubrey Math 1300 Finite Mathematics

Page 5: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Two matrices are equal if they have the same size andtheir corresponding elements are equal. For example,1 3 2

4 βˆ’1 βˆ’21 0 βˆ’1

=

1 3 24 βˆ’1 βˆ’21 0 βˆ’1

The sum of two matrices of the same size is the matrixwith elements that are the sum of the correspondingelements of the two given matrices.Addition is not defined for matricies of different sizes.

Jason Aubrey Math 1300 Finite Mathematics

Page 6: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example: Evaluate1 1 24 βˆ’3 βˆ’21 0 βˆ’4

+

βˆ’2 3 24 βˆ’1 βˆ’20 0 βˆ’4

=

βˆ’1 4 48 βˆ’4 βˆ’41 0 βˆ’8

Jason Aubrey Math 1300 Finite Mathematics

Page 7: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example: Evaluate1 1 24 βˆ’3 βˆ’21 0 βˆ’4

+

βˆ’2 3 24 βˆ’1 βˆ’20 0 βˆ’4

=

βˆ’1 4 48 βˆ’4 βˆ’41 0 βˆ’8

Jason Aubrey Math 1300 Finite Mathematics

Page 8: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example: Evaluate

[5 0 βˆ’21 βˆ’3 8

]+

βˆ’1 70 6βˆ’2 8

Undefined!

Jason Aubrey Math 1300 Finite Mathematics

Page 9: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example: Evaluate

[5 0 βˆ’21 βˆ’3 8

]+

βˆ’1 70 6βˆ’2 8

Undefined!

Jason Aubrey Math 1300 Finite Mathematics

Page 10: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

If A, B, and C are matrices of the same size, then

A + B = B + A (Commutativity)(A + B) + C = A + (B + C) (Associativity)

A matrix with elements that are all zeros is called a zeromatrix.

For example,[0 00 0

],

0 0 00 0 00 0 0

, etc.

The negative of a matrix M, denoted βˆ’M is a matrix withelements that are the negatives of the elements in M. For

example, if M =

[1 βˆ’3 22 βˆ’4 3

]then βˆ’M =

[βˆ’1 3 βˆ’2βˆ’2 4 βˆ’3

].

Jason Aubrey Math 1300 Finite Mathematics

Page 11: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

If A, B, and C are matrices of the same size, thenA + B = B + A (Commutativity)

(A + B) + C = A + (B + C) (Associativity)

A matrix with elements that are all zeros is called a zeromatrix.

For example,[0 00 0

],

0 0 00 0 00 0 0

, etc.

The negative of a matrix M, denoted βˆ’M is a matrix withelements that are the negatives of the elements in M. For

example, if M =

[1 βˆ’3 22 βˆ’4 3

]then βˆ’M =

[βˆ’1 3 βˆ’2βˆ’2 4 βˆ’3

].

Jason Aubrey Math 1300 Finite Mathematics

Page 12: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

If A, B, and C are matrices of the same size, thenA + B = B + A (Commutativity)(A + B) + C = A + (B + C) (Associativity)

A matrix with elements that are all zeros is called a zeromatrix.

For example,[0 00 0

],

0 0 00 0 00 0 0

, etc.

The negative of a matrix M, denoted βˆ’M is a matrix withelements that are the negatives of the elements in M. For

example, if M =

[1 βˆ’3 22 βˆ’4 3

]then βˆ’M =

[βˆ’1 3 βˆ’2βˆ’2 4 βˆ’3

].

Jason Aubrey Math 1300 Finite Mathematics

Page 13: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

If A, B, and C are matrices of the same size, thenA + B = B + A (Commutativity)(A + B) + C = A + (B + C) (Associativity)

A matrix with elements that are all zeros is called a zeromatrix.

For example,[0 00 0

],

0 0 00 0 00 0 0

, etc.

The negative of a matrix M, denoted βˆ’M is a matrix withelements that are the negatives of the elements in M. For

example, if M =

[1 βˆ’3 22 βˆ’4 3

]then βˆ’M =

[βˆ’1 3 βˆ’2βˆ’2 4 βˆ’3

].

Jason Aubrey Math 1300 Finite Mathematics

Page 14: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

If A, B, and C are matrices of the same size, thenA + B = B + A (Commutativity)(A + B) + C = A + (B + C) (Associativity)

A matrix with elements that are all zeros is called a zeromatrix.

For example,[0 00 0

],

0 0 00 0 00 0 0

, etc.

The negative of a matrix M, denoted βˆ’M is a matrix withelements that are the negatives of the elements in M. For

example, if M =

[1 βˆ’3 22 βˆ’4 3

]then βˆ’M =

[βˆ’1 3 βˆ’2βˆ’2 4 βˆ’3

].

Jason Aubrey Math 1300 Finite Mathematics

Page 15: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

If A, B, and C are matrices of the same size, thenA + B = B + A (Commutativity)(A + B) + C = A + (B + C) (Associativity)

A matrix with elements that are all zeros is called a zeromatrix.

For example,[0 00 0

],

0 0 00 0 00 0 0

, etc.

The negative of a matrix M, denoted βˆ’M is a matrix withelements that are the negatives of the elements in M.

For

example, if M =

[1 βˆ’3 22 βˆ’4 3

]then βˆ’M =

[βˆ’1 3 βˆ’2βˆ’2 4 βˆ’3

].

Jason Aubrey Math 1300 Finite Mathematics

Page 16: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

If A, B, and C are matrices of the same size, thenA + B = B + A (Commutativity)(A + B) + C = A + (B + C) (Associativity)

A matrix with elements that are all zeros is called a zeromatrix.

For example,[0 00 0

],

0 0 00 0 00 0 0

, etc.

The negative of a matrix M, denoted βˆ’M is a matrix withelements that are the negatives of the elements in M. For

example, if M =

[1 βˆ’3 22 βˆ’4 3

]then βˆ’M =

[βˆ’1 3 βˆ’2βˆ’2 4 βˆ’3

].

Jason Aubrey Math 1300 Finite Mathematics

Page 17: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

If A and B are matrices of the same size, we define subtractionas follows:

A βˆ’ B = A + (βˆ’B)

For example,

[3 1 2βˆ’3 3 1

]βˆ’[

2 2 βˆ’3βˆ’1 1 0

]=

[1 βˆ’1 5βˆ’2 2 1

]

Jason Aubrey Math 1300 Finite Mathematics

Page 18: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

If A and B are matrices of the same size, we define subtractionas follows:

A βˆ’ B = A + (βˆ’B)

For example,

[3 1 2βˆ’3 3 1

]βˆ’[

2 2 βˆ’3βˆ’1 1 0

]=

[1 βˆ’1 5βˆ’2 2 1

]

Jason Aubrey Math 1300 Finite Mathematics

Page 19: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

The product of a number k and a matrix M, denoted kM, is amatrix formed by multiplying each element of M by k .

For example,

3

βˆ’1 04 3βˆ’2 1/3

=

βˆ’3 012 9βˆ’6 1

Jason Aubrey Math 1300 Finite Mathematics

Page 20: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

The product of a number k and a matrix M, denoted kM, is amatrix formed by multiplying each element of M by k .

For example,

3

βˆ’1 04 3βˆ’2 1/3

=

βˆ’3 012 9βˆ’6 1

Jason Aubrey Math 1300 Finite Mathematics

Page 21: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Examples: Perform the indicated operations, if possible, giventhat

A =

1 41 33 βˆ’7

and B =

0 1βˆ’2 24 1

.

3A + B

3 123 99 βˆ’21

+

0 1βˆ’2 24 1

=

3 131 11

13 βˆ’20

Jason Aubrey Math 1300 Finite Mathematics

Page 22: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Examples: Perform the indicated operations, if possible, giventhat

A =

1 41 33 βˆ’7

and B =

0 1βˆ’2 24 1

.

3A + B 3 123 99 βˆ’21

+

0 1βˆ’2 24 1

=

3 131 11

13 βˆ’20

Jason Aubrey Math 1300 Finite Mathematics

Page 23: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Examples: Perform the indicated operations, if possible, giventhat

A =

1 41 33 βˆ’7

and B =

0 1βˆ’2 24 1

.

3A + B 3 123 99 βˆ’21

+

0 1βˆ’2 24 1

=

3 131 11

13 βˆ’20

Jason Aubrey Math 1300 Finite Mathematics

Page 24: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

A βˆ’ B

1 41 33 βˆ’7

+

0 βˆ’12 βˆ’2βˆ’4 βˆ’1

=

1 33 1βˆ’1 βˆ’8

βˆ’A + 2B

βˆ’1 βˆ’4βˆ’1 βˆ’3βˆ’3 7

+

0 2βˆ’4 48 2

=

βˆ’1 βˆ’2βˆ’5 15 9

Jason Aubrey Math 1300 Finite Mathematics

Page 25: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

A βˆ’ B 1 41 33 βˆ’7

+

0 βˆ’12 βˆ’2βˆ’4 βˆ’1

=

1 33 1βˆ’1 βˆ’8

βˆ’A + 2B

βˆ’1 βˆ’4βˆ’1 βˆ’3βˆ’3 7

+

0 2βˆ’4 48 2

=

βˆ’1 βˆ’2βˆ’5 15 9

Jason Aubrey Math 1300 Finite Mathematics

Page 26: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

A βˆ’ B 1 41 33 βˆ’7

+

0 βˆ’12 βˆ’2βˆ’4 βˆ’1

=

1 33 1βˆ’1 βˆ’8

βˆ’A + 2B

βˆ’1 βˆ’4βˆ’1 βˆ’3βˆ’3 7

+

0 2βˆ’4 48 2

=

βˆ’1 βˆ’2βˆ’5 15 9

Jason Aubrey Math 1300 Finite Mathematics

Page 27: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

A βˆ’ B 1 41 33 βˆ’7

+

0 βˆ’12 βˆ’2βˆ’4 βˆ’1

=

1 33 1βˆ’1 βˆ’8

βˆ’A + 2B βˆ’1 βˆ’4

βˆ’1 βˆ’3βˆ’3 7

+

0 2βˆ’4 48 2

=

βˆ’1 βˆ’2βˆ’5 15 9

Jason Aubrey Math 1300 Finite Mathematics

Page 28: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

A βˆ’ B 1 41 33 βˆ’7

+

0 βˆ’12 βˆ’2βˆ’4 βˆ’1

=

1 33 1βˆ’1 βˆ’8

βˆ’A + 2B βˆ’1 βˆ’4

βˆ’1 βˆ’3βˆ’3 7

+

0 2βˆ’4 48 2

=

βˆ’1 βˆ’2βˆ’5 15 9

Jason Aubrey Math 1300 Finite Mathematics

Page 29: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

DefinitionThe product of a 1Γ— n row matrix and an n Γ— 1 column matrix isa 1 Γ— 1 matrix given by:

[a1 a2 . . . an]

b1b2...

bn

= [a1b1 + a2b2 + Β· Β· Β·+ anbn]

Jason Aubrey Math 1300 Finite Mathematics

Page 30: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

DefinitionThe product of a 1Γ— n row matrix and an n Γ— 1 column matrix isa 1 Γ— 1 matrix given by:

[a1 a2 . . . an]

b1b2...

bn

= [a1b1 + a2b2 + Β· Β· Β·+ anbn]

Jason Aubrey Math 1300 Finite Mathematics

Page 31: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example:

[1 2 βˆ’2

] 021

= [1(0) + 2(2)βˆ’ 2(1)] = [2]

Jason Aubrey Math 1300 Finite Mathematics

Page 32: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example:

[1 2 βˆ’2

] 021

= [1(0) + 2(2)βˆ’ 2(1)]

= [2]

Jason Aubrey Math 1300 Finite Mathematics

Page 33: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example:

[1 2 βˆ’2

] 021

= [1(0) + 2(2)βˆ’ 2(1)] = [2]

Jason Aubrey Math 1300 Finite Mathematics

Page 34: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Definition (General Matrix Product)If A is an m Γ— p matrix and B is a p Γ— n matrix, the matrixproduct of A and B, denoted AB, is an m Γ— n matrix whoseelements in the i th row and j th column is the real numberobtained from the product of the i th row of A and the j th columnof B. If the number of columns in A does not equal the numberof rows in B, the matrix product AB is not defined.

Jason Aubrey Math 1300 Finite Mathematics

Page 35: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

The product AB of a 3 Γ— 1 matrix A and a 1 Γ— 3 matrix Bhas size

3 Γ— 3. However, the product BA has size 1 Γ— 1.The product AB of a 2 Γ— 4 matrix A and a 4 Γ— 3 matrix Bhas size 2 Γ— 3. However, the product BA is undefined.

Jason Aubrey Math 1300 Finite Mathematics

Page 36: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

The product AB of a 3 Γ— 1 matrix A and a 1 Γ— 3 matrix Bhas size 3 Γ— 3.

However, the product BA has size 1 Γ— 1.The product AB of a 2 Γ— 4 matrix A and a 4 Γ— 3 matrix Bhas size 2 Γ— 3. However, the product BA is undefined.

Jason Aubrey Math 1300 Finite Mathematics

Page 37: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

The product AB of a 3 Γ— 1 matrix A and a 1 Γ— 3 matrix Bhas size 3 Γ— 3. However, the product BA has size

1 Γ— 1.The product AB of a 2 Γ— 4 matrix A and a 4 Γ— 3 matrix Bhas size 2 Γ— 3. However, the product BA is undefined.

Jason Aubrey Math 1300 Finite Mathematics

Page 38: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

The product AB of a 3 Γ— 1 matrix A and a 1 Γ— 3 matrix Bhas size 3 Γ— 3. However, the product BA has size 1 Γ— 1.

The product AB of a 2 Γ— 4 matrix A and a 4 Γ— 3 matrix Bhas size 2 Γ— 3. However, the product BA is undefined.

Jason Aubrey Math 1300 Finite Mathematics

Page 39: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

The product AB of a 3 Γ— 1 matrix A and a 1 Γ— 3 matrix Bhas size 3 Γ— 3. However, the product BA has size 1 Γ— 1.The product AB of a 2 Γ— 4 matrix A and a 4 Γ— 3 matrix Bhas size

2 Γ— 3. However, the product BA is undefined.

Jason Aubrey Math 1300 Finite Mathematics

Page 40: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

The product AB of a 3 Γ— 1 matrix A and a 1 Γ— 3 matrix Bhas size 3 Γ— 3. However, the product BA has size 1 Γ— 1.The product AB of a 2 Γ— 4 matrix A and a 4 Γ— 3 matrix Bhas size 2 Γ— 3.

However, the product BA is undefined.

Jason Aubrey Math 1300 Finite Mathematics

Page 41: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

The product AB of a 3 Γ— 1 matrix A and a 1 Γ— 3 matrix Bhas size 3 Γ— 3. However, the product BA has size 1 Γ— 1.The product AB of a 2 Γ— 4 matrix A and a 4 Γ— 3 matrix Bhas size 2 Γ— 3. However, the product BA

is undefined.

Jason Aubrey Math 1300 Finite Mathematics

Page 42: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

The product AB of a 3 Γ— 1 matrix A and a 1 Γ— 3 matrix Bhas size 3 Γ— 3. However, the product BA has size 1 Γ— 1.The product AB of a 2 Γ— 4 matrix A and a 4 Γ— 3 matrix Bhas size 2 Γ— 3. However, the product BA is undefined.

Jason Aubrey Math 1300 Finite Mathematics

Page 43: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example: Find 3 1 βˆ’23 1 0βˆ’2 1 1

1 βˆ’1 20 0 38 βˆ’2 1

This equals

3(1) + 0 βˆ’ 2(8) 3(βˆ’1) + 0 βˆ’ 2(βˆ’2) 3(2) + 1(3)βˆ’ 2(1)3(1) + 0 + 0 3(βˆ’1) + 0 + 0 3(2) + 1(3) + 0

βˆ’ 2(1) + 0 + 1(8) βˆ’ 2(βˆ’1) + 0 + 1(βˆ’2) βˆ’ 2(2) + 1(3) + 1(1)

=

βˆ’ 13 1 73 βˆ’ 3 96 0 0

Jason Aubrey Math 1300 Finite Mathematics

Page 44: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example: Find 3 1 βˆ’23 1 0βˆ’2 1 1

1 βˆ’1 20 0 38 βˆ’2 1

This equals

3(1) + 0 βˆ’ 2(8) 3(βˆ’1) + 0 βˆ’ 2(βˆ’2) 3(2) + 1(3)βˆ’ 2(1)3(1) + 0 + 0 3(βˆ’1) + 0 + 0 3(2) + 1(3) + 0

βˆ’ 2(1) + 0 + 1(8) βˆ’ 2(βˆ’1) + 0 + 1(βˆ’2) βˆ’ 2(2) + 1(3) + 1(1)

=

βˆ’ 13 1 73 βˆ’ 3 96 0 0

Jason Aubrey Math 1300 Finite Mathematics

Page 45: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example: Find 3 1 βˆ’23 1 0βˆ’2 1 1

1 βˆ’1 20 0 38 βˆ’2 1

This equals 3(1) + 0 βˆ’ 2(8)

3(βˆ’1) + 0 βˆ’ 2(βˆ’2) 3(2) + 1(3)βˆ’ 2(1)3(1) + 0 + 0 3(βˆ’1) + 0 + 0 3(2) + 1(3) + 0

βˆ’ 2(1) + 0 + 1(8) βˆ’ 2(βˆ’1) + 0 + 1(βˆ’2) βˆ’ 2(2) + 1(3) + 1(1)

=

βˆ’ 13 1 73 βˆ’ 3 96 0 0

Jason Aubrey Math 1300 Finite Mathematics

Page 46: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example: Find 3 1 βˆ’23 1 0βˆ’2 1 1

1 βˆ’1 20 0 38 βˆ’2 1

This equals 3(1) + 0 βˆ’ 2(8)

3(βˆ’1) + 0 βˆ’ 2(βˆ’2) 3(2) + 1(3)βˆ’ 2(1)3(1) + 0 + 0 3(βˆ’1) + 0 + 0 3(2) + 1(3) + 0

βˆ’ 2(1) + 0 + 1(8) βˆ’ 2(βˆ’1) + 0 + 1(βˆ’2) βˆ’ 2(2) + 1(3) + 1(1)

=

βˆ’ 13

1 73 βˆ’ 3 96 0 0

Jason Aubrey Math 1300 Finite Mathematics

Page 47: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example: Find 3 1 βˆ’23 1 0βˆ’2 1 1

1 βˆ’1 20 0 38 βˆ’2 1

This equals 3(1) + 0 βˆ’ 2(8) 3(βˆ’1) + 0 βˆ’ 2(βˆ’2)

3(2) + 1(3)βˆ’ 2(1)3(1) + 0 + 0 3(βˆ’1) + 0 + 0 3(2) + 1(3) + 0

βˆ’ 2(1) + 0 + 1(8) βˆ’ 2(βˆ’1) + 0 + 1(βˆ’2) βˆ’ 2(2) + 1(3) + 1(1)

=

βˆ’ 13

1 73 βˆ’ 3 96 0 0

Jason Aubrey Math 1300 Finite Mathematics

Page 48: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example: Find 3 1 βˆ’23 1 0βˆ’2 1 1

1 βˆ’1 20 0 38 βˆ’2 1

This equals 3(1) + 0 βˆ’ 2(8) 3(βˆ’1) + 0 βˆ’ 2(βˆ’2)

3(2) + 1(3)βˆ’ 2(1)3(1) + 0 + 0 3(βˆ’1) + 0 + 0 3(2) + 1(3) + 0

βˆ’ 2(1) + 0 + 1(8) βˆ’ 2(βˆ’1) + 0 + 1(βˆ’2) βˆ’ 2(2) + 1(3) + 1(1)

=

βˆ’ 13 1

73 βˆ’ 3 96 0 0

Jason Aubrey Math 1300 Finite Mathematics

Page 49: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example: Find 3 1 βˆ’23 1 0βˆ’2 1 1

1 βˆ’1 20 0 38 βˆ’2 1

This equals 3(1) + 0 βˆ’ 2(8) 3(βˆ’1) + 0 βˆ’ 2(βˆ’2) 3(2) + 1(3)βˆ’ 2(1)

3(1) + 0 + 0 3(βˆ’1) + 0 + 0 3(2) + 1(3) + 0βˆ’ 2(1) + 0 + 1(8) βˆ’ 2(βˆ’1) + 0 + 1(βˆ’2) βˆ’ 2(2) + 1(3) + 1(1)

=

βˆ’ 13 1

73 βˆ’ 3 96 0 0

Jason Aubrey Math 1300 Finite Mathematics

Page 50: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example: Find 3 1 βˆ’23 1 0βˆ’2 1 1

1 βˆ’1 20 0 38 βˆ’2 1

This equals 3(1) + 0 βˆ’ 2(8) 3(βˆ’1) + 0 βˆ’ 2(βˆ’2) 3(2) + 1(3)βˆ’ 2(1)

3(1) + 0 + 0 3(βˆ’1) + 0 + 0 3(2) + 1(3) + 0βˆ’ 2(1) + 0 + 1(8) βˆ’ 2(βˆ’1) + 0 + 1(βˆ’2) βˆ’ 2(2) + 1(3) + 1(1)

=

βˆ’ 13 1 7

3 βˆ’ 3 96 0 0

Jason Aubrey Math 1300 Finite Mathematics

Page 51: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example: Find 3 1 βˆ’23 1 0βˆ’2 1 1

1 βˆ’1 20 0 38 βˆ’2 1

This equals 3(1) + 0 βˆ’ 2(8) 3(βˆ’1) + 0 βˆ’ 2(βˆ’2) 3(2) + 1(3)βˆ’ 2(1)

3(1) + 0 + 0

3(βˆ’1) + 0 + 0 3(2) + 1(3) + 0βˆ’ 2(1) + 0 + 1(8) βˆ’ 2(βˆ’1) + 0 + 1(βˆ’2) βˆ’ 2(2) + 1(3) + 1(1)

=

βˆ’ 13 1 7

3 βˆ’ 3 96 0 0

Jason Aubrey Math 1300 Finite Mathematics

Page 52: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example: Find 3 1 βˆ’23 1 0βˆ’2 1 1

1 βˆ’1 20 0 38 βˆ’2 1

This equals 3(1) + 0 βˆ’ 2(8) 3(βˆ’1) + 0 βˆ’ 2(βˆ’2) 3(2) + 1(3)βˆ’ 2(1)

3(1) + 0 + 0

3(βˆ’1) + 0 + 0 3(2) + 1(3) + 0βˆ’ 2(1) + 0 + 1(8) βˆ’ 2(βˆ’1) + 0 + 1(βˆ’2) βˆ’ 2(2) + 1(3) + 1(1)

=

βˆ’ 13 1 73

βˆ’ 3 96 0 0

Jason Aubrey Math 1300 Finite Mathematics

Page 53: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example: Find 3 1 βˆ’23 1 0βˆ’2 1 1

1 βˆ’1 20 0 38 βˆ’2 1

This equals 3(1) + 0 βˆ’ 2(8) 3(βˆ’1) + 0 βˆ’ 2(βˆ’2) 3(2) + 1(3)βˆ’ 2(1)

3(1) + 0 + 0 3(βˆ’1) + 0 + 0

3(2) + 1(3) + 0βˆ’ 2(1) + 0 + 1(8) βˆ’ 2(βˆ’1) + 0 + 1(βˆ’2) βˆ’ 2(2) + 1(3) + 1(1)

=

βˆ’ 13 1 73

βˆ’ 3 96 0 0

Jason Aubrey Math 1300 Finite Mathematics

Page 54: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example: Find 3 1 βˆ’23 1 0βˆ’2 1 1

1 βˆ’1 20 0 38 βˆ’2 1

This equals 3(1) + 0 βˆ’ 2(8) 3(βˆ’1) + 0 βˆ’ 2(βˆ’2) 3(2) + 1(3)βˆ’ 2(1)

3(1) + 0 + 0 3(βˆ’1) + 0 + 0

3(2) + 1(3) + 0βˆ’ 2(1) + 0 + 1(8) βˆ’ 2(βˆ’1) + 0 + 1(βˆ’2) βˆ’ 2(2) + 1(3) + 1(1)

=

βˆ’ 13 1 73 βˆ’ 3

96 0 0

Jason Aubrey Math 1300 Finite Mathematics

Page 55: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example: Find 3 1 βˆ’23 1 0βˆ’2 1 1

1 βˆ’1 20 0 38 βˆ’2 1

This equals 3(1) + 0 βˆ’ 2(8) 3(βˆ’1) + 0 βˆ’ 2(βˆ’2) 3(2) + 1(3)βˆ’ 2(1)

3(1) + 0 + 0 3(βˆ’1) + 0 + 0 3(2) + 1(3) + 0

βˆ’ 2(1) + 0 + 1(8) βˆ’ 2(βˆ’1) + 0 + 1(βˆ’2) βˆ’ 2(2) + 1(3) + 1(1)

=

βˆ’ 13 1 73 βˆ’ 3

96 0 0

Jason Aubrey Math 1300 Finite Mathematics

Page 56: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example: Find 3 1 βˆ’23 1 0βˆ’2 1 1

1 βˆ’1 20 0 38 βˆ’2 1

This equals 3(1) + 0 βˆ’ 2(8) 3(βˆ’1) + 0 βˆ’ 2(βˆ’2) 3(2) + 1(3)βˆ’ 2(1)

3(1) + 0 + 0 3(βˆ’1) + 0 + 0 3(2) + 1(3) + 0

βˆ’ 2(1) + 0 + 1(8) βˆ’ 2(βˆ’1) + 0 + 1(βˆ’2) βˆ’ 2(2) + 1(3) + 1(1)

=

βˆ’ 13 1 73 βˆ’ 3 9

6 0 0

Jason Aubrey Math 1300 Finite Mathematics

Page 57: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example: Find 3 1 βˆ’23 1 0βˆ’2 1 1

1 βˆ’1 20 0 38 βˆ’2 1

This equals 3(1) + 0 βˆ’ 2(8) 3(βˆ’1) + 0 βˆ’ 2(βˆ’2) 3(2) + 1(3)βˆ’ 2(1)

3(1) + 0 + 0 3(βˆ’1) + 0 + 0 3(2) + 1(3) + 0βˆ’ 2(1) + 0 + 1(8)

βˆ’ 2(βˆ’1) + 0 + 1(βˆ’2) βˆ’ 2(2) + 1(3) + 1(1)

=

βˆ’ 13 1 73 βˆ’ 3 9

6 0 0

Jason Aubrey Math 1300 Finite Mathematics

Page 58: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example: Find 3 1 βˆ’23 1 0βˆ’2 1 1

1 βˆ’1 20 0 38 βˆ’2 1

This equals 3(1) + 0 βˆ’ 2(8) 3(βˆ’1) + 0 βˆ’ 2(βˆ’2) 3(2) + 1(3)βˆ’ 2(1)

3(1) + 0 + 0 3(βˆ’1) + 0 + 0 3(2) + 1(3) + 0βˆ’ 2(1) + 0 + 1(8)

βˆ’ 2(βˆ’1) + 0 + 1(βˆ’2) βˆ’ 2(2) + 1(3) + 1(1)

=

βˆ’ 13 1 73 βˆ’ 3 96

0 0

Jason Aubrey Math 1300 Finite Mathematics

Page 59: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example: Find 3 1 βˆ’23 1 0βˆ’2 1 1

1 βˆ’1 20 0 38 βˆ’2 1

This equals 3(1) + 0 βˆ’ 2(8) 3(βˆ’1) + 0 βˆ’ 2(βˆ’2) 3(2) + 1(3)βˆ’ 2(1)

3(1) + 0 + 0 3(βˆ’1) + 0 + 0 3(2) + 1(3) + 0βˆ’ 2(1) + 0 + 1(8) βˆ’ 2(βˆ’1) + 0 + 1(βˆ’2)

βˆ’ 2(2) + 1(3) + 1(1)

=

βˆ’ 13 1 73 βˆ’ 3 96

0 0

Jason Aubrey Math 1300 Finite Mathematics

Page 60: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example: Find 3 1 βˆ’23 1 0βˆ’2 1 1

1 βˆ’1 20 0 38 βˆ’2 1

This equals 3(1) + 0 βˆ’ 2(8) 3(βˆ’1) + 0 βˆ’ 2(βˆ’2) 3(2) + 1(3)βˆ’ 2(1)

3(1) + 0 + 0 3(βˆ’1) + 0 + 0 3(2) + 1(3) + 0βˆ’ 2(1) + 0 + 1(8) βˆ’ 2(βˆ’1) + 0 + 1(βˆ’2)

βˆ’ 2(2) + 1(3) + 1(1)

=

βˆ’ 13 1 73 βˆ’ 3 96 0

0

Jason Aubrey Math 1300 Finite Mathematics

Page 61: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example: Find 3 1 βˆ’23 1 0βˆ’2 1 1

1 βˆ’1 20 0 38 βˆ’2 1

This equals 3(1) + 0 βˆ’ 2(8) 3(βˆ’1) + 0 βˆ’ 2(βˆ’2) 3(2) + 1(3)βˆ’ 2(1)

3(1) + 0 + 0 3(βˆ’1) + 0 + 0 3(2) + 1(3) + 0βˆ’ 2(1) + 0 + 1(8) βˆ’ 2(βˆ’1) + 0 + 1(βˆ’2) βˆ’ 2(2) + 1(3) + 1(1)

=

βˆ’ 13 1 73 βˆ’ 3 96 0

0

Jason Aubrey Math 1300 Finite Mathematics

Page 62: Mathh 1300: Section 4- 4 Matrices: Basic Operations

university-logo

Addition and SubtractionProduct of a Number k and a Matrix M

The Matrix Product

Example: Find 3 1 βˆ’23 1 0βˆ’2 1 1

1 βˆ’1 20 0 38 βˆ’2 1

This equals 3(1) + 0 βˆ’ 2(8) 3(βˆ’1) + 0 βˆ’ 2(βˆ’2) 3(2) + 1(3)βˆ’ 2(1)

3(1) + 0 + 0 3(βˆ’1) + 0 + 0 3(2) + 1(3) + 0βˆ’ 2(1) + 0 + 1(8) βˆ’ 2(βˆ’1) + 0 + 1(βˆ’2) βˆ’ 2(2) + 1(3) + 1(1)

=

βˆ’ 13 1 73 βˆ’ 3 96 0 0

Jason Aubrey Math 1300 Finite Mathematics