perform basic matrix operations chapter 3.5. history the problem below is from a chinese book on...

37
Perform Basic Matrix Operations Chapter 3.5

Upload: kristopher-jefferson

Post on 24-Dec-2015

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Perform Basic Matrix Operations

Chapter 3.5

Page 2: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

History

• The problem below is from a Chinese book on mathematics written over 2000 years ago:

There are three types of corn, of which three bundles of the first, two of the second, and one of the third make 39 measures. Two of the first, three of the second and one of the third make 34 measures. And one of the first, two of the second and three of the third make 26 measures. How many measures of corn are contained of one bundle of each type?

Page 3: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

History

• Note that this can be set up as a system of equations, where x, y, and z represent the “measures” of the three types of corn

• “three bundles of the first, two of the second, and one of the third make 39 measures”:

• “Two of the first, three of the second and one of the third make 34 measures.”:

• “And one of the first, two of the second and three of the third make 26 measures.”:

Page 4: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

History

• The use of variables to represent numbers did not come into wide use until about 300 years ago, so this was problem was not represented as we have written it

• Instead, the author of the text set up a table like the one below

1 2 32 3 23 1 1

26 34 39

Page 5: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

History

• Next, the author performs what today we would call row operations (though he uses columns) on the middle column to obtain the table below

• The effect is to have eliminated the x-term in the middle equation

1 0 32 5 23 2 1

26 24 39

Page 6: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

History

• Continuing in this manner, he is able to find the solution to the problem

• The point to notice is that he did this in a table and without the use of variables

• It was not until 1850 that this arrangement (changed somewhat, as you will see) came to be called a matrix

Page 7: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

History

To create a matrix, we take the original problem

Remove the variables, the additions signs and the equal signs

We now remember that the x terms are in the first column, and so on

Page 8: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

History

Finally, we surround the table with brackets

• A matrix is a rectangular array of numbers in rows and columns.

• You will see how we can use matrices (the plural of matrix) in the next section

Page 9: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Matrices

• A few weeks back, we found that we needed a way to make certain that a distance measure on the number line is always a positive number

• To do this, we invented the idea of an absolute value and came up with a symbol to indicate when we wanted to take an absolute value

• However, we were later able to study the absolute value apart from the idea of distance on a number line

• The same will be true of matrices

• They came about as a way to solve systems of equations

• But we will be able to study them without regard to a system of equations

Page 10: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Matrices

• What mathematicians (in the 19th century and afterwards) found interesting about matrices is that they behave a lot like numbers.• We can perform operations on them, like adding, subtracting, and multiplying• These operations obey many of the number properties (though not all for

every operation, and some properties are special to matrices)

• In this section you will learn about two basic operations on matrices and the properties of these operations

Page 11: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

The Basics

• A matrix may have any number of rows and columns

• The dimensions of a matrix that has m rows and n columns is

• In the previous example, the matrix had three rows and four columns, so we would say that it is a matrix (REMEMBER: the first number is the rows, the second is the columns)

• The individual numbers in the matrix are sometimes called the elements of the matrix

Page 12: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

The Basics

matrix

3 rows

4 columns

Page 13: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

The Basics

matrix

We can refer to an individual element by referring to its row (from top to bottom) and its column (from left to right), in that order.

The number in the 2nd row and 4th column is 34.

2nd row

4th column

Page 14: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

The Basics

• We will eventually perform algebra with matrices, so we must know what it means for two matrices to be equal

• We say that two matrices are equal if they have the same rows and columns, and if the elements in each row and column are the same

• The two matrices above are equal because they are both and the elements in the corresponding rows and columns are equal

Page 15: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

The Basics

• The matrices below are not equal

The dimensions are not the same

The corresponding elements are not all equal

Page 16: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Adding & Subtracting

• Since matrices are a new kind of mathematical object, we must define what we mean by addition and subtraction

• We add or subtract matrices by adding or subtracting the elements in corresponding positions, with the results recorded in the corresponding positions

• This means that we may only add and subtract matrices of the same dimensions and the result is a matrix of the same dimension

Page 17: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Adding & Subtracting

If a, b, c, d and w, x, y and z are numbers, then:

Page 18: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Adding & Subtracting

The following cannot be added or subtracted

Page 19: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Adding & Subtracting

Examples

a)

b)

Page 20: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Scalar Multiplication

• We will define two kinds of matrix multiplication

• Multiplication of a matrix by another matrix is called matrix multiplication, and you will learn about this in the next section

• Multiplication of a matrix by a real number is called scalar multiplication

• A scalar is just a regular number (not a matrix)

• Scalar multiplication is performed by multiplying each element in the matrix by the scalar (much like using the distributive property)

Page 21: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Scalar Multiplication

Examples

a)

In this example, is a scalar

Page 22: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Scalar Multiplication

For the next example, follow the order of operations

b)

Page 23: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Guided Practice

Perform the indicated operations, if possible.

1.

2.

Page 24: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Guided Practice

Perform the indicated operations, if possible.

3.

4.

Page 25: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Guided Practice

Solutions

1.

2.

Page 26: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Guided Practice

Solutions

3.

4.

Page 27: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Matrix Properties

• Matrices have many of the same properties as real numbers

Suppose that A, B, and C are matrices of the same dimension and that k and m are scalars.• Closure: is a matrix of the same dimensions as A and B• Associative Property of Addition: • Commutative Property of Addition: • Distributive Property of Addition Over Scalar Multiplication:

• Distributive Property of Scalar Addition:

Page 28: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Matrix Properties

• Matrices also have additive inverses as well as a zero matrix

• The zero matrices are different depending on the dimensions, but they all have a zero in every position

• Having an additive inverse means that we can set up and solve a matrix equation

Page 29: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Solve a Matrix Equation

Example

Solve the matrix equation for x and y.

Page 30: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Solve a Matrix Equation

Begin by adding the two matrices in parentheses. Since some of the elements include a variable, these must be left as addition (cannot be combined).

Page 31: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Solve a Matrix Equation

Next perform scalar multiplication. You must use the distributive property for the elements with two terms.

Page 32: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Solve a Matrix Equation

Finally, solve for the two unknowns. You can do this apart from the matrix.

Page 33: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Guided Practice

Solve the matrix equation for x and for y.

Page 34: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Guided Practice

Add the two matrices in parentheses.

Page 35: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Guided Practice

Multiply by the scalar.

Page 36: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Guided Practice

Solve for the unknowns.

Page 37: Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three

Exercise 3.5

• Page 191, #5-27 odds, Page 193, #7,8 (14 total problems)