+ All Categories
Home > Documents > Matrices - Ch. 1.5, 1.9

Matrices - Ch. 1.5, 1.9

Date post: 07-Apr-2018
Category:
Upload: bryan-penfound
View: 218 times
Download: 0 times
Share this document with a friend
35
 Section Two: Matrices Textbook: Ch. 1.5, 1.9 GOALS OF THIS CHAPTER - define what a matrix is - introduce matrix addition and properties - introduce matrix scalar multiplication and properties - introduce matrix transposes and properties - understand how to write a direct proof
Transcript
Page 1: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 1/35

Section Two: Matrices

Textbook: Ch. 1.5, 1.9GOALS OF THIS CHAPTER

- define what a matrix is

- introduce matrix addition and properties

- introduce matrix scalar multiplication and properties

- introduce matrix transposes and properties

- understand how to write a direct proof

Page 2: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 2/35

INTRODUCTION

A matrix is a rectangular array of numbers. In this course, we will usea capital letter to represent a matrix. Two smaller letters may be usedto represent the number of rows and columns:

Just what is a matrix?

“m” stands for thenumber of rows.

A mxn “n” stands for thenumber of columns.The capital “A”

stands for theentire matrix.

Page 3: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 3/35

INTRODUCTION

Ex. 1 – Our first matrix

Finally, if we want to refer to one of the numbers inside the matrix,let’s say row i and column j, we write aij or a(i,j).

A 2x31 4 8

2 -7 17

=

Matrix A is “2 by 3”

I tend to use square brackets [ ] for matrices. The textbook uses roundbrackets ( ). It’s totally up to you

which you prefer!

Page 4: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 4/35

INTRODUCTION

Ex. 1 – Our first matrix

A 2x31 4 8

2 -7 17

=Row 1

Page 5: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 5/35

INTRODUCTION

Ex. 1 – Our first matrix

A 2x31 4 8

2 -7 17

=

Row 2

Page 6: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 6/35

INTRODUCTION

Ex. 1 – Our first matrix

A 2x31 4 8

2 -7 17

=

Column 1

Page 7: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 7/35

INTRODUCTION

Ex. 1 – Our first matrix

A 2x31 4 8

2 -7 17

=

Column 2

Page 8: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 8/35

INTRODUCTION

Ex. 1 – Our first matrix

A 2x31 4 8

2 -7 17

=

Column 3

Page 9: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 9/35

INTRODUCTION

Ex. 1 – Our first matrix

A 2x31 4 8

2 -7 17=

a11 = a(2,3) =

The entry in the firstrow and first column

The entry in the secondrow and third column

1 17

Page 10: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 10/35

INTRODUCTION

Next, we define some special types of matrices:

A row matrix is any matrix with only one row. It is of the form A 1xn.Depending on the context, a row matrix can also be called a rowvector by separating entries with commas.

A column matrix is any matrix with only one column. It is of theform Amx1. Depending on the context, a column matrix can also becalled a column vector.

A square matrix is any matrix with the same numberof rows and columns. It is of the form A nxn.

Page 11: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 11/35

INTRODUCTION

Ex. 2 – Some special matrices

B 1x21 3

=

1 -1/2

3 -3/4F 2x2 =

1

24

-6

7

C 5x1 =Row Matrix

Square Matrix

Column Matrix

Page 12: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 12/35

MATRIX ADDITION

When we add matrices together, they must be the samesize!

Ex. 3 – Matrix Addition

A 2x31 0 1

-1 2 3

= B 2x32 0 1

5 -7 1

=

A+B =

1+2

1 0 1

-1 2 3 +2 0 1

5 -7 1

=

Page 13: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 13/35

MATRIX ADDITION

When we add matrices together, they must be the samesize!

Ex. 3 – Matrix Addition

A 2x31 0 1

-1 2 3

= B 2x32 0 1

5 -7 1

=

A+B =

1+2 0+0

1 0 1

-1 2 3 +2 0 1

5 -7 1

=

Page 14: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 14/35

MATRIX ADDITION

When we add matrices together, they must be the samesize!

Ex. 3 – Matrix Addition

A 2x31 0 1

-1 2 3

= B 2x32 0 1

5 -7 1

=

A+B =

1+2 0+0 1+1

1 0 1

-1 2 3 +2 0 1

5 -7 1

=

Page 15: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 15/35

MATRIX ADDITION

When we add matrices together, they must be the samesize!

Ex. 3 – Matrix Addition

A 2x31 0 1

-1 2 3

= B 2x32 0 1

5 -7 1

=

A+B =

1+2 0+0 1+1

-1+5 2-7 3+1

1 0 1

-1 2 3 +2 0 1

5 -7 1

=

Page 16: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 16/35

3 0 2

4 -5 4

Ex. 3 – Matrix Addition

A+B =

Mathematically, matrix addition looks like this:

A+B = [a ij] + [b ij] = [a ij + b ij]

(This means that we simply add corresponding entries!)

MATRIX ADDITION

Page 17: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 17/35

MATRIX ADDITION

Ex. 4 – Failed Matrix Addition

What happens if the matrices aren’t the same size?

A 2x31 0 1

-1 2 3= B 2x2

2 0

5 -7=

A+B =

1+2

1 0 1

-1 2 3 +2 0

5 -7

=

Page 18: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 18/35

MATRIX ADDITION

Ex. 4 – Failed Matrix Addition

What happens if the matrices aren’t the same size?

A 2x31 0 1

-1 2 3= B 2x2

2 0

5 -7=

A+B =

1+2 0+0

1 0 1

-1 2 3 +2 0

5 -7

=

Page 19: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 19/35

MATRIX ADDITION

Ex. 4 – Failed Matrix Addition

What happens if the matrices aren’t the same size?

A 2x31 0 1

-1 2 3= B 2x2

2 0

5 -7=

A+B =

1+2 0+0 WTF

1 0 1

-1 2 3 +2 0

5 -7

=

Page 20: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 20/35

MATRIX ADDITION

Ex. 4 – Failed Matrix Addition

What happens if the matrices aren’t the same size?

A+B = ?

We say that the addition is not possible (or it is“undefined”) since the matrices are not the samesize.

Page 21: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 21/35

PROPERTIES OF MATRIX ADDITION

Before we look at some properties, we need two

definitions.

The zero matrix is the matrix with all entries equal to zero. It isdenoted with a capital O.

The negative of a matrix A is denoted as -A. The entries of –A arethe same as A, except that all the signs are switched.

0 00 0O =

A-2 0

-5 7= -A

2 0

5 -7=

Page 22: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 22/35

PROPERTIES OF MATRIX ADDITION

Appendix A: Direct Proofs- done on overhead

Thm. 5: Properties of Matrix Addition- done on overhead

Thm. 5: Proof- done on overhead

Page 23: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 23/35

SCALAR MULTIPLICATION

Scalar multiplication happens when we want to multiplyall the entries in the matrix by a common number.

Ex. 6 – A Word Problem

Suppose you go Boxing Day Shopping. There are three items you arelooking for: an iPod Touch, an Xbox 360 and a Bleach DVD. At FutureShop they are having a 20% off sale and they currently have all youritems in stock! Write down a row matrix representing the price ofeach item after the discount if the iPod Touch costs $200.00, theXbox 360 costs $300.00 and the Bleach DVD costs $25.00.

Page 24: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 24/35

SCALAR MULTIPLICATION

Ex. 6 – A Word Problem

iPodTouch

Xbox 360 BleachDVD

Price 200.00 300.00 25.00

200.00 300.00 25.00P =

Page 25: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 25/35

SCALAR MULTIPLICATION

Ex. 6 – A Word Problem

200 300 25P – 0.2P = – 0.2 200 300 25

=200 300 25 40 60 5

= 160 240 20

This means the iPod Touch is $160 on sale, theXbox 360 is $240 on sale and the Bleach DVD is$20 on sale. (Taxes not included.)

Page 26: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 26/35

Mathematically, scalar multiplication looks like this:

SCALAR MULTIPLICATION

rA = r[a ij] = [ra ij]

Thm. 7: Properties of Matrix Scalar Multiplication- done on overhead

Thm. 7: Proof- done on overhead

Page 27: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 27/35

MATRIX TRANSPOSES

Mathematically, the matrix transpose looks like this:

At

= [a ij]t

= [a ji]

Notice the switch of the i and j! This means that therows become the columns and the columns become therows!

Howstrange…

Page 28: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 28/35

MATRIX TRANSPOSES

Ex. 8 – Matrix Transposes- done on overhead

Page 29: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 29/35

MATRIX TRANSPOSES

Some more special matrices:

A square matrix is called a diagonal matrix if there are zeros in all theentries except the main diagonal. The main diagonal entries are theentries where i=j.

A1 0

0 -3

=

Main diagonal

All other entries are zero, so A isa diagonal matrix.

Page 30: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 30/35

MATRIX TRANSPOSES

Some more special matrices:

If all the entries of a diagonal matrix are equal to one, we call thematrix an “identity matrix.” We represent this matrix with a capital I.

I1 0

0 1

=

Main diagonal

All other entries are zero, so I is a diagonalmatrix. Since all entries on the main

diagonal are 1, it is an identity matrix.

Page 31: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 31/35

Page 32: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 32/35

MATRIX TRANSPOSES

Some more special matrices:

A lower triangular matrix is a square matrix that has zeros in all theentries above the main diagonal. This means a(i,j)=0 if i<j.

A =

Main diagonal

All entries above the maindiagonal are zero, so A is a

lower triangular matrix.

1 0 0

7 5 0

2 -5 0

Page 33: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 33/35

MATRIX TRANSPOSES

Some more special matrices:

A symmetric matrix is a square matrix that satisfies A t = A. Thismeans the columns of A are also the rows of A.

A =

Main diagonal

I usually disregard the maindiagonal, then check to see if the upper triangle and lower triangle are mirror images.

1 7 2

7 5 -5

2 -5 0

Page 34: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 34/35

Page 35: Matrices - Ch. 1.5, 1.9

8/4/2019 Matrices - Ch. 1.5, 1.9

http://slidepdf.com/reader/full/matrices-ch-15-19 35/35

PROPERTIES OF THE MATRIX TRANSPOSE

Thm. 9 – Properties of Matrix Transposes- done on overhead

Thm. 9 – Proof- done on overhead


Recommended