Presentation is loading. Please wait.

Presentation is loading. Please wait.

Basic Matrix Operations

Similar presentations


Presentation on theme: "Basic Matrix Operations"— Presentation transcript:

1 Basic Matrix Operations
Matrix – a rectangular array of numbers, variables, and both Order (dimensions) – describes the number of rows and columns in a matrix 4 5 6 Row 1 Row 2 This is a 2 x 4 matrix. Rows Columns Column 1 Column 2 Column 3 Column 4

2 Element – each individual entry
notation – A mn : A is the name of the matrix, m is the row number and n is column number. interpretation – what the number represents, describe in words Vins Tonis Sals Pizza $10.10 $10.86 $10.65 A = Drinks $1.09 $0.89 $1.05 Salad $3.69 $3.89 $3.85 Interpret the values for A12 , A21, and A32. A12 says the price of a pizza at Tonis is $10.86 A21 says the price of drinks at Vins is $1.09 A32 says the price of salad at Tonis is $3.89

3 Square matrix – a matrix, where the rows and columns are equal
Column matrix – a matrix made up of just one column and any number of rows Row matrix – a matrix made up of just one row and any number of columns 65 12 -52 12 14 62

4 Adding and subtracting matrices – (matrices of the same dimensions can be added or subtracted) add or subtract the element of the first matrix by the element of the second matrix in the same position and the answer goes in that same position in the matrix that is representing the answer. + = 6 -2 2 16 =

5 Main diagonal – the elements whose row number and column number are the same.
Zero matrix – a matrix of any dimensions made up of all zeros 0 0 0

6 Scalar Multiplication – (think Distributive Property for Matrices) the element of the matrix are multiplied by a value outside of the matrix 8 23 -11 16 -55 80 = 5

7 Matrix Multiplication – In order to multiply two matrices the columns of the first matrix must be equal to the rows of the second matrix. [A] x [B] (m x k) (k x n) When doing word problems, make sure the labels of the rows and columns you are multiplying match as well as the numbers.

8 A group of friends are going out for pizza
A group of friends are going out for pizza. Given are the ordering options and the prices for pizza and salad at the two pizza places. Option 1 Option 2 Pizza 4 2 Salad 6 8 Vin’s Toni’s Pizza Salad = [A] = [B] Find the cost of each option at each of the two pizza places.

9 Multiplication of a Column by a Row
6 9 Now, lets multiply A x B. 1 x x 1 = 2 6 9 4 (2) + 5 (6) + 8(9) =

10 Transpose – ( A T ) of the matrix A is the matrix obtained by interchanging the rows and columns of matrix A. 1 2 3 4 5 6 1 4 2 5 3 6 AT = A = The transpose function is in the Matrix catalog, MATH column and the second choice down.

11 If the matrices pass the first test of the columns in the first being equal to the rows in the second use the following steps to multiply. A B Take the numbers in the first row of matrix A times the numbers in each of the columns in matrix B. Then do the same for the numbers in the second row of matrix A times the numbers in each of the columns in matrix B.

12 Inverse – we use the inverse of a matrix when we need to divide it is denoted as A-1
Some of you may remember using a formula to find the inverse in Algebra 2 but in this class we will use the inverse button on the calculator (fourth button down on left hand side of calculator) Identity Matrix – this acts like the number one for matrices, denoted with a capital I. This matrix must be a square matrix and have the number one in the main diagonal and 0’s everywhere else. Example: 1 0 or 0 0 1

13 Leslie Growth Model The Leslie Growth Model is used to predict population levels at different age distributions. Needed Information: The length of each cycle (how long an animal is in each age group) The birthrate in each of the cycles The survival rate of each of the cycles The initial distribution in each of the cycles. (birthrate and survival rates will remain constant in the problems and only the female population is tracted)

14 Population Growth Suppose that a certain animal has the following birthrate, survival rate, and population distribution. Age (yrs) Birthrate Survival Distribution a.) Find the population distribution for the next two cycles. b.) Find the growth rate for each cycle.

15 Finding the population distribution after one cycle
Step 1: Multiply the distribution in each cycle times the birthrate for the corresponding cycle and add all the products (round all numbers to 2 decimal places) This number ( ) will be the number of newborns (age 0-2) after one cycle.

16 Age (yrs) Birthrate Survival Distribution Cycle 1
Now, we need to find out many of the animals in each distribution survived and move to the next highest age group.

17 Find the number of animals that survive to live another day.
Step 2: Multiply the numbers of animals that start in the first age group times the survival rate in that group and place this number in the next highest age group (one row down the chart) (these are the animals that are now years old) (these are the animals that are now 4-6)

18 Age (yrs) Birthrate Survival Distribution Cycle 1 0-2 0 0.8 25 66.9
Now, fill in the rest of the chart in the same manner. x x

19 15 ( .7) = 10.5 12 ( .6) = 7.2 10 ( 0 ) = 0 (the last one will always be zero because this is the life expectancy of the animals)

20 Age (yrs) Birthrate Survival Distribution Cycle 1

21 Find the Growth Rate Distribution Cycle 1 New – Old 25 66.90
New – Old Old = Growth Rate 127 – 94 94 Cycle 1 = .35 or 35%

22 Now, use the Cycle 1 numbers and the given birth and survival rates to find the age distribution for Cycle 2 and the Growth Rate.

23 Age (yrs) BR SR Dist Cycle 1 Cycle 2

24 Population Growth Suppose that a certain animal has the following birthrate, survival rate, and population distribution. Age (yrs) Birthrate Survival Distribution a.) Find the distribution for the next three cycles. b.) Find the growth rate for the next three cycles. c.) After how many cycles will the population be over 1,000,000?

25 Leslie Matrices in the calculator
The population distribution is a row matrix [A] The birth and survival rates make up the Leslie matrix. (will always be a square matrix) The birthrates are the first column and the survival rates and zeros make up the other columns. The survival rate go in the super diagonal (one above the main diagonal) and zeros are all other elements of the matrix.

26 [A] = [ ] [B] = Now, = Cycle 1 = Cycle 2

27 Total Population Make another matrix [C], this is a column matrix with all 1’s for elements. This matrix will have as many rows as the distribution matrix had columns. For this example: [C] = 1 1 = Total Population for Cycle 1 = Total Population Cycle 2


Download ppt "Basic Matrix Operations"

Similar presentations


Ads by Google