Section 9.2: Matrices. Definition: A matrix A consists of a rectangular array of numbers, or elements, arranged in m rows and n columns.

Similar documents
Section 9.2: Matrices.. a m1 a m2 a mn

MATRICES. a m,1 a m,n A =

Linear Algebra and Matrix Inversion

Elementary maths for GMT

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations

Chapter 1 Matrices and Systems of Equations

Finite Mathematics Chapter 2. where a, b, c, d, h, and k are real numbers and neither a and b nor c and d are both zero.

Chapter 4 - MATRIX ALGEBRA. ... a 2j... a 2n. a i1 a i2... a ij... a in

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2

Linear Systems and Matrices

Matrix Arithmetic. j=1

Basic Concepts in Linear Algebra

a11 a A = : a 21 a 22

MATH2210 Notebook 2 Spring 2018

Review of Basic Concepts in Linear Algebra

ICS 6N Computational Linear Algebra Matrix Algebra

3. Vector spaces 3.1 Linear dependence and independence 3.2 Basis and dimension. 5. Extreme points and basic feasible solutions

10. Linear Systems of ODEs, Matrix multiplication, superposition principle (parts of sections )

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

Phys 201. Matrices and Determinants

Systems of Linear Equations and Matrices

Stage-structured Populations

Systems of Linear Equations and Matrices

POLI270 - Linear Algebra

Matrices: 2.1 Operations with Matrices

Chapter 3. Linear and Nonlinear Systems

CS100: DISCRETE STRUCTURES. Lecture 3 Matrices Ch 3 Pages:

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

Math 60. Rumbos Spring Solutions to Assignment #17

Topics. Vectors (column matrices): Vector addition and scalar multiplication The matrix of a linear function y Ax The elements of a matrix A : A ij

Linear Algebra. Matrices Operations. Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0.

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

Fundamentals of Engineering Analysis (650163)

Matrices and Linear Algebra

Introduction. Vectors and Matrices. Vectors [1] Vectors [2]

Linear Equations in Linear Algebra

1 - Systems of Linear Equations

1 Determinants. 1.1 Determinant

Matrices and systems of linear equations

PH1105 Lecture Notes on Linear Algebra.

Math 313 Chapter 1 Review

Lecture Notes in Linear Algebra

CHAPTER 6. Direct Methods for Solving Linear Systems

A FIRST COURSE IN LINEAR ALGEBRA. An Open Text by Ken Kuttler. Matrix Arithmetic

Matrix & Linear Algebra

Matrix Multiplication

Linear Algebra V = T = ( 4 3 ).

1 Multiply Eq. E i by λ 0: (λe i ) (E i ) 2 Multiply Eq. E j by λ and add to Eq. E i : (E i + λe j ) (E i )

Mathematics 13: Lecture 10

Prepared by: M. S. KumarSwamy, TGT(Maths) Page

Matrix representation of a linear map

Matrix Algebra 2.1 MATRIX OPERATIONS Pearson Education, Inc.

Elementary Row Operations on Matrices

Chapter 7. Tridiagonal linear systems. Solving tridiagonal systems of equations. and subdiagonal. E.g. a 21 a 22 a A =

Matrix Algebra. Matrix Algebra. Chapter 8 - S&B

CLASS 12 ALGEBRA OF MATRICES

Elementary Linear Algebra

The matrix will only be consistent if the last entry of row three is 0, meaning 2b 3 + b 2 b 1 = 0.

Gaussian Elimination and Back Substitution

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Matrix operations Linear Algebra with Computer Science Application

Linear Algebra: Lecture notes from Kolman and Hill 9th edition.

n n matrices The system of m linear equations in n variables x 1, x 2,..., x n can be written as a matrix equation by Ax = b, or in full

Algebra & Trig. I. For example, the system. x y 2 z. may be represented by the augmented matrix

LINEAR ALGEBRA WITH APPLICATIONS

Chapter 7. Linear Algebra: Matrices, Vectors,

7.6 The Inverse of a Square Matrix

CS 246 Review of Linear Algebra 01/17/19

Matrices. Chapter Definitions and Notations

TOPIC III LINEAR ALGEBRA

Linear Algebra Tutorial for Math3315/CSE3365 Daniel R. Reynolds

Matrix representation of a linear map

Math 360 Linear Algebra Fall Class Notes. a a a a a a. a a a

MA 138 Calculus 2 with Life Science Applications Matrices (Section 9.2)

Matrix Operations. Linear Combination Vector Algebra Angle Between Vectors Projections and Reflections Equality of matrices, Augmented Matrix

Matrix Arithmetic. a 11 a. A + B = + a m1 a mn. + b. a 11 + b 11 a 1n + b 1n = a m1. b m1 b mn. and scalar multiplication for matrices via.

Jim Lambers MAT 610 Summer Session Lecture 1 Notes

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511)

1 Matrices and Systems of Linear Equations. a 1n a 2n

Linear Algebra. Linear Equations and Matrices. Copyright 2005, W.R. Winfrey

. =. a i1 x 1 + a i2 x 2 + a in x n = b i. a 11 a 12 a 1n a 21 a 22 a 1n. i1 a i2 a in

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

Chapter 5. Linear Algebra. Sections A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Matrix Algebra Determinant, Inverse matrix. Matrices. A. Fabretti. Mathematics 2 A.Y. 2015/2016. A. Fabretti Matrices

ORIE 6300 Mathematical Programming I August 25, Recitation 1

Review of Linear Algebra

Chapter 2: Matrices and Linear Systems

Math Camp II. Basic Linear Algebra. Yiqing Xu. Aug 26, 2014 MIT

Introduction to Matrices and Linear Systems Ch. 3

Linear Algebra. The analysis of many models in the social sciences reduces to the study of systems of equations.

Direct Methods for Solving Linear Systems. Matrix Factorization

Matrices. Math 240 Calculus III. Wednesday, July 10, Summer 2013, Session II. Matrices. Math 240. Definitions and Notation.

Linear Equations and Matrix

is a 3 4 matrix. It has 3 rows and 4 columns. The first row is the horizontal row [ ]

September 23, Chp 3.notebook. 3Linear Systems. and Matrices. 3.1 Solve Linear Systems by Graphing

Steven J. Leon University of Massachusetts, Dartmouth

1300 Linear Algebra and Vector Geometry

Matrices BUSINESS MATHEMATICS

Math 4377/6308 Advanced Linear Algebra

Transcription:

Section 9.2: Matrices Definition: A matrix A consists of a rectangular array of numbers, or elements, arranged in m rows and n columns. That is, a 11 a 12 a 1n a 21 a 22 a 2n A =...... a m1 a m2 a mn A matrix with m rows and n columns is called an m n matrix. The numbers m and n are called the dimensions of the matrix. The element lying in the ith row and jth column is denoted by a ij. The matrix A can be denoted using the shorthand A = (a ij ). The sum and difference of two m n matrices A = (a ij ) and B = (b ij ) are defined componentwise: A + B = (a ij ) + (b ij ) = (a ij + b ij ), A B = (a ij ) (b ij ) = (a ij b ij ). Similarly, if α is a scalar (real or complex), then the product αa is defined componentwise: This is called scalar multiplication. αa = α(a ij ) = (αa ij ). Example: Consider the matrices Find A B + 2C. A = [ ] 1 2 0 3 B = [ ] 0 1 2 4 C = [ ] 1 2 1 1 1

Definition: If A = (a ij ) is an m n matrix and B = (b ij ) is an n r matrix, then the product AB = C = (c ij ) is the m r matrix with entries c ij = n a ik b kj = a i1 b 1j + a i2 b 2j + + a in b nj k=1 This is known as matrix multiplication. Example: Consider the matrices A = [ ] 1 2 3 4 B = [ ] 2 2 1 3 Find the matrix products AB and BA. Example: Consider the matrices 3 2 A = 2 4 B = 1 3 Compute the matrix products AB and BA. [ 2 1 ] 3 4 1 6 Note: In general, matrix multiplication is not commutative. That is, AB BA. 2

Notation: If A is a square (n n) matrix, it can be multiplied by itself a number of times. If k is a positive integer, then A k = AA A }{{} k factors Example: Find an expression for A n if A = [ ] 1 1 1 1 Definition: If A = (a ij ) is an m n matrix, then the transpose of A, denoted by A T or A, is the n m matrix obtained by interchanging the rows and columns of A. That is, A T = (a ji ) Example: Consider the matrices A = [ ] 1 2 3 4 and B = [ ] 2 1 5 3 Verify that (AB) T = B T A T. 3

Definition: The identity matrix is a square (n n) matrix 1 0 0 0 1 0 I =...... 0 0 1 That is, I is the matrix with 1 s on the main diagonal and zeros elsewhere. The identity matrix satisfies AI = IA = A for any square matrix A. Definition: A square matrix A is called nonsingular if there exists a matrix B such that AB = BA = I, where I is the identity matrix. In this case, the matrix B is called the inverse of A and denoted by A 1. Thus, AA 1 = A 1 A = I. Matrices that do not have an inverse are called singular. Example: Consider the matrices 1 2 3 1 2 5 A = 0 1 4 and B = 0 1 4 0 0 1 0 0 1 Verify that A and B are inverses of each other. 4

For any square matrix, there is an associated scalar which tells us whether the matrix is singular or nonsingular. Definition: The determinant of a 2 2 matrix [ ] a11 a A = 12 a 21 a 22 is the scalar defined by det A = a 11 a 12 a 21 a 22 = a 11a 22 a 12 a 21 The determinant of A determines whether it is singular or nonsingular. In particular, A is nonsingular if and only if det A 0. Theorem: (Inverse of a 2 2 Matrix) If A is the 2 2 matrix then its inverse is [ a11 a A = 12 a 21 a 22 A 1 = 1 det A ], [ ] a22 a 12 a 21 a 11 Example: Determine whether each matrix is nonsingular and find its inverse, if it exists. [ ] 3 5 (a) A = 2 4 (b) B = [ ] 2 4 3 6 5

In general, the inverse of a square matrix A can be calculated by augmenting A with the identity matrix and performing Gaussian elimination. Example: Show that A = [ ] 2 5 is nonsingular and find its inverse. 1 3 Example: Find the inverse of the nonsingular matrix 1 1 1 A = 2 1 1 1 1 1 6

Solving Linear Systems Consider a system of n linear equations in n variables a 11 x 1 + a 12 x 2 + + a 1n x n = b 1, a 21 x 1 + a 22 x 2 + + a 2n x n = b 2, a n1 x 1 + a n2 x 2 + + a nn x n = b n. This system can be expressed in matrix form as Ax = b, where A = (a ij ), x = (x i ), and b = (b i ). If b = 0, the system is called homogeneous. Otherwise, it is called nonhomogeneous. If the coefficient matrix A is nonsingular, then the system has a unique solution given by x = A 1 b. In particular, the homogeneous system Ax = 0 has only the trivial solution x = 0. On the other hand, if A is singular, then A 1 does not exist and the system Ax = 0 has infinitely many nonzero solutions in addition to the trivial solution.. Example: Consider the linear system 2x + y = 2 4x + 6y = 8 (a) Write this system in matrix form. (b) Solve this system using an inverse matrix. 7

Example: Determine whether A = [ ] 1 1 2 1 is nonsingular. If so, compute its inverse. In either case, solve Ax = 0. Example: Determine whether B = [ ] 1 3 1 3 is nonsingular. If so, compute its inverse. In either case, solve Bx = 0. 8

The Leslie Matrix Suppose that we would like to model the population size of some species with discrete breeding seasons and age-dependent reproductive fitness (e.g. perennial plants, cicadas, salmon). Here, we consider an age-structured discrete time model proposed by Patrick Leslie in 1965. It is assumed that the population is closed to migration and, since only females produce offspring, only the female population is modeled. Suppose that the population is divided into m + 1 distinct age classes. Let N i (t) denote the number of females of age i = 0, 1, 2,..., m at time t = 0, 1, 2,.... Then the vector N 0 (t) N 1 (t) N(t) = N 2 (t). N m (t) describes the number of females in each age class at time t = 0, 1, 2,.... Let P i [0, 1] denote the fraction of females of age i that survive to age i + 1. Then for i = 0, 1,..., m 1. N i+1 (t + 1) = P i N i (t) Let F i 0 denote the average number of female offspring produced by one female of age i which survive through the time interval in which they were born. Then N 0 (t + 1) = F 0 N 0 (t) + F 1 N 1 (t) + F 2 N 2 (t) + + F m N m (t). These equations can be written in matrix form as where N(t + 1) = LN(t), F 0 F 1 F 2 F m 1 F m P 0 0 0 0 0 0 P 1 0 0 0 L = 0 0 P 2 0 0....... 0 0 0 P m 1 0 The matrix L is called the Leslie matrix. In general, a Leslie matrix has the fertilities on the first row and the survival probabilities on the subdiagonal. All other entries are zero. One can project forward in time by repeated multiplication by the Leslie matrix, N(1) = LN(0), N(2) = LN(1) = L 2 N(0), and in general, N(t) = L t N(0). 9

The relationships among the age groups in the Leslie matrix can be represented by a directed graph, or digraph, with nodes representing each age group and directed edges representing a relation between the two groups. The Leslie matrix model is illustrated by a digraph below. Example: Assume that a population is divided into three age classes and that 80% of the females of age zero and 10% of the females of age one survive until the end of the next breeding season. Moreover, assume that females of age one have an average of 1.6 female offspring and females of age 2 have an average of 3.9 female offspring. If the initial population consists of 1000 females of age zero, 100 females of age one, and 20 females of age two, find the Leslie matrix and age distribution at time t = 3. 10

Example: Consider the Leslie matrix 0 5 0 L = 0.8 0 0. 0 0.3 0 Determine the number of age classes in the population, the fraction of one-year-olds that survive until the end of the next breeding season, and the average number of female offspring of a two-year-old female. Example: Consider the Leslie matrix 2 3 2 1 L = 0.4 0 0 0 0 0.6 0 0. 0 0 0.8 0 Determine the number of age classes in the population, the fraction of two-year-olds that survive until the end of the next breeding season, and the average number of female offspring of a one-year-old female. 11

Stable Age Distribution Example: Suppose that a population is divided into two age classes with Leslie matrix L = and suppose that N 0 (0) = 100 and N 1 (0) = 100. [ ] 1.5 2, 0.08 0 (a) Find the age distributions for t = 0, 1, 2,..., 7. The following table summarizes the age distributions for t = 0, 1, 2,..., 7. Time, t N 0 (t) N 1 (t) 0 100 100 1 350 8 2 541 28 3 868 43 4 1388 69 5 2221 111 6 3553 178 7 5685 284 12

(b) Compute the successive ratios q 0 (t) = N 0(t) N 0 (t 1) and q 1 (t) = N 1(t) N 1 (t 1) for t = 1, 2,..., 7, and determine lim t q 0 (t) and lim t q 1 (t). The following table summarizes the successive ratios for t = 1, 2,..., 7. Therefore, we suspect that Time, t q 0 (t) q 1 (t) 1 3.5 0.08 2 1.55 3.5 3 1.6 1.536 4 1.5991 1.605 5 1.6001 1.609 6 1.5997 1.604 7 1.6001 1.596 lim q 0(t) = lim q 1 (t) = 1.6. t t In the long run, the population size is increasing by a factor of 1.6 each generation. 13

(c) Compute the fraction of females which are age 0, p(t) = for t = 0, 1, 2,..., 7, and determine lim t p(t). N 0 (t) N 0 (t) + N 1 (t) The following table summarizes the fraction of females which are age 0 for t = 0, 1, 2,..., 7. Therefore, we suspect that Time, t p(t) 0 0.5 1 0.9777 2 0.9508 3 0.9528 4 0.9526 5 0.9524 6 0.9523 7 0.9524 lim p(t) = 0.9524. t In the long run, approximately 95.24% of the population is age 0. 14

Although the population size is increasing (by a constant factor of 1.6 each generation), the fraction of females in age class 0 and 1 is convergent (to 95.24% and 14.76%, respectively). This constant distribution of the population is called the stable age distribution. If we start the population in the stable age distribution, the fraction of females in age class 0 will remain the same, about 95.24%, and the population will increase by a constant factor of 1.6 each generation. A stable age distribution for this population is [ ] 2000 N(0) =. 100 It follows that N(1) = LN(0) = [ ] [ ] 1.5 2 2000 0.08 0 100 The fraction of females in age class 0 remains the same: = [ ] 3200. 160 N 0 (t) N 0 (t) + N 1 (t) = 3200 3200 + 160 = 2000 2000 + 100 = 0.9524. Similarly, yields the same result. 1.6 [ ] 2000 = 100 [ ] 3200 160 Therefore, if N = [N 0, N 1 ] T denotes a stable age distribution, then LN = λn, where λ = 1.6, and N 0 N 0 + N 1 95.24%. In Section 9.3, we obtain a much simpler method to compute the stable age distribution. 15