matrix algebra

24
Lesson 7.2 Matrix Algebra Precalculus

Upload: suki

Post on 22-Feb-2016

52 views

Category:

Documents


0 download

DESCRIPTION

Precalculus. Lesson 7.2. Matrix Algebra. Quick Review. What you’ll learn about. Matrices Matrix Addition and Subtraction Matrix Multiplication Identity and Inverse Matrices Determinant of a Square Matrix Applications … and why - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Matrix Algebra

Lesson7.2

Matrix Algebra

Precalculus

Page 2: Matrix Algebra

The points and are reflected across the given line.Find the coordinates of the reflected points.1. The -axis

2. The line

3. The line

Expand the ex

(

p

(a) (1, 3

ression,4. sin( )

5. co

b )) ( ,

s

) x

x

y

x

y x

y

x y

( )x y

Quick Review

( ) (1,3)a ( ) ( , )b x y

( ) ( 3,1)a ( ) ( , )b y x

( ) (3, 1)a ( ) ( , )b y x

sin cos sin cosx y y x

cos cos sin sinx y x y

Page 3: Matrix Algebra

What you’ll learn about

MatricesMatrix Addition and SubtractionMatrix MultiplicationIdentity and Inverse MatricesDeterminant of a Square MatrixApplications

… and whyMatrix algebra provides a powerful technique to manipulate

large data sets and solve the related problems that are modeled by the matrices.

Page 4: Matrix Algebra

Matrix

Let and be positive integers. An (read " by matrix") is a rectangulararray of rows and columns of real numbers.

m nm n

m nmatrixm×n

11 12 1

21 22 2

1 2

n

n

m m mn

a a aa a a

a a a

We also use the shorthand notation for this matrix.ija

Page 5: Matrix Algebra

Each element, or entry, aij, of the matrix uses double subscript notation. The row subscript is the first subscript i, and the column subscript is j. The element aij is the ith row and the jth column. In general, the order of an m × n matrix is m×n.

Matrix Vocabulary

Page 6: Matrix Algebra

Example Determining the Order of a Matrix

What is the order of the following matrix?1 4 53 5 6

The matrix has 2 rows and 3 columns so ordeit h r as 2 .3

Page 7: Matrix Algebra

Matrix Addition and Matrix Subtraction

Let and be matrices of order .ij ij

A a B b m n

1. The is the matrix

.ij ij

m n

A B a b

sum +A B

2. The is the matrix

.ij ij

m n

A B a b

difference A - B

Page 8: Matrix Algebra

Example Matrix Addition

1 2 3 2 3 44 5 6 5 6 7

2 3 45

1 2 34 65 76

2 3 45

1 2 34 5 6 6 7

3 5 79 11 13

Page 9: Matrix Algebra

Example Using Scalar Multiplication

1 2 33

4 5 6

3 6 912 15 18

31 2 34

3 3 33 53 63

Page 10: Matrix Algebra

The Zero Matrix

The matrix 0 [0] consisting entirely of zeros is the .

m n zero matrix

0 0 00 0 0

Example:

Page 11: Matrix Algebra

Additive Inverse

Let be any matrix.

The matrix consisting of

the additive inverses of the entries of is the because 0.

ij

ij

A a m n

m n B a

A

A B

additive inverse of A

Page 12: Matrix Algebra

Example Using Additive Inverse

Given matrix define below 2

0.56

find its additive inverse matrix ?

A

A

B

2 00.5 06 0

???

20.56

B

Page 13: Matrix Algebra

Matrix Multiplication

1 1 2 2

Let be any matrix and

be any matrix.

The product is the matrix

where + ... .i j i j

ij

ij

ij

ij ir rj

A a m r

B b r n

AB c m n

c a b a b a b

Page 14: Matrix Algebra

Example Matrix Multiplication

? ?? ?

AB

3 is 2A 2 is 3B

is 2 2 AB

1 1 2 3?

0?2 ?

1 0 2 1 3?

15?

0 1 25 1

1 0 ?1

5 12 0 0 1 1 1 1

5 12 2

Find the product if possible.1 0

1 2 3 and 2 1

0 1 10 1

AB

A B

Page 15: Matrix Algebra

Identity Matrix

The matrix with 1's on the main diagonaland 0's elsewhere is the

.1 0 0 00 1 0 00 0 1 0

00 0 0 0 1

n

n

n n I

I

identity matrix of order

n n

Page 16: Matrix Algebra

Inverse of a Square Matrix

-1

Let be an matrix.

If there is a matrix such that , then is the of .We write .

ij

n

A a n n

BAB BA I

B AB A

inverse

Page 17: Matrix Algebra

Example Inverse of a Square Matrices

Determine whether the matrices are inverses. 5 3 2 3

, 3 2 3 5

A B

1 00 1

10 9 15 156 6 9 10

AB

10 9 6 615 15

9 10

BA

1 00 1

YES

Page 18: Matrix Algebra

Inverse of a 2 × 2 Matrix

1

If 0,

1then .

ad bc

a b d bc d c aad bc

The number is the determinant

of the 2 2 matrix .

ad bca b

Ac d

Page 19: Matrix Algebra

Determinant of a Square Matrix

Let be a matrix of order ( 2).

The determinant of , denoted by det or | | ,is the sum of the entries in any row or any column multiplied by their respective cofactors. For example, expa

ijA a n n n

A A A

1 1 2 2

nding by the th row givesdet | | ... .

i i i i in in

iA A a A a A a A

Refer to text pg 583

Page 20: Matrix Algebra

Inverses of n × n Matrices

An n × n matrix A has an inverse if and only if det A ≠ 0.

Page 21: Matrix Algebra

Example Finding Inverse Matrices1 3

Find the inverse matrix if possible. 2 5

A

1 1Use the formula d b

Ac aad bc

Since det 1 5 2 3 1 0, must have an inverse.

A ad bcA

5 32 1

1

5 3 1

2 11A

Page 22: Matrix Algebra

Properties of MatricesLet A, B, and C be matrices whose orders are such thatthe following sums, differences, and products are defined.

1. Commutative propertyAddition: A + B = B + AMultiplication: Does not hold in general

2. Associative propertyAddition: (A + B) + C = A + (B + C)Multiplication: (AB)C = A(BC)

3. Identity propertyAddition: A + 0 = AMultiplication: A·In = In·A = A

Page 23: Matrix Algebra

Properties of Matrices

Let A, B, and C be matrices whose orders are such thatthe following sums, differences, and products are defined.

4. Inverse propertyAddition: A + (-A) = 0Multiplication: AA-1 = A-1A = In |A|≠0

5. Distributive propertyMultiplication over addition: A(B + C) = AB + AC

(A + B)C = AC + BCMultiplication over subtraction: A(B - C) = AB - AC

(A - B)C = AC - BC

Page 24: Matrix Algebra

Homework:

Text pg588/589 Exercises #2, 4, 14, 20, 24, and 34