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

Similar documents
Math 60. Rumbos Spring Solutions to Assignment #17

Chapter 2 Notes, Linear Algebra 5e Lay

Linear Algebra and Matrix Inversion

Review Let A, B, and C be matrices of the same size, and let r and s be scalars. Then

MAT 1332: CALCULUS FOR LIFE SCIENCES. Contents. 1. Review: Linear Algebra II Vectors and matrices Definition. 1.2.

Elementary maths for GMT

7.6 The Inverse of a Square Matrix

MATH 2331 Linear Algebra. Section 2.1 Matrix Operations. Definition: A : m n, B : n p. Example: Compute AB, if possible.

Applied Matrix Algebra Lecture Notes Section 2.2. Gerald Höhn Department of Mathematics, Kansas State University

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

Lesson U2.1 Study Guide

Linear Systems and Matrices

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

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

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

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

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Math 2174: Practice Midterm 1

Matrix operations Linear Algebra with Computer Science Application

Inverting Matrices. 1 Properties of Transpose. 2 Matrix Algebra. P. Danziger 3.2, 3.3

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

Section 2.2: The Inverse of a Matrix

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

Math 240 Calculus III

MATRICES AND MATRIX OPERATIONS

Linear Algebra V = T = ( 4 3 ).

7.4. The Inverse of a Matrix. Introduction. Prerequisites. Learning Outcomes

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

Math 313 Chapter 1 Review

MATH2210 Notebook 2 Spring 2018

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.

LS.1 Review of Linear Algebra

Glossary of Linear Algebra Terms. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

If A is a 4 6 matrix and B is a 6 3 matrix then the dimension of AB is A. 4 6 B. 6 6 C. 4 3 D. 3 4 E. Undefined

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Basic Concepts in Linear Algebra

Matrix Arithmetic. j=1

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

Chapter 1 Matrices and Systems of Equations

[ Here 21 is the dot product of (3, 1, 2, 5) with (2, 3, 1, 2), and 31 is the dot product of

E k E k 1 E 2 E 1 A = B

a11 a A = : a 21 a 22

Review of Basic Concepts in Linear Algebra

22A-2 SUMMER 2014 LECTURE 5

INVERSE OF A MATRIX [2.2]

Linear Equations in Linear Algebra

Numerical Analysis Lecture Notes

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

Graduate Mathematical Economics Lecture 1

Undergraduate Mathematical Economics Lecture 1

Systems of Linear Equations. By: Tri Atmojo Kusmayadi and Mardiyana Mathematics Education Sebelas Maret University

Gaussian Elimination -(3.1) b 1. b 2., b. b n

Numerical Linear Algebra Homework Assignment - Week 2

Matrices Gaussian elimination Determinants. Graphics 2009/2010, period 1. Lecture 4: matrices

Matrices and systems of linear equations

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

Lecture Notes in Linear Algebra

ECON 186 Class Notes: Linear Algebra

Math 3191 Applied Linear Algebra

Kevin James. MTHSC 3110 Section 2.2 Inverses of Matrices

Math 1B03/1ZC3 - Tutorial 2. Jan. 21st/24th, 2014

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

2.1 Matrices. 3 5 Solve for the variables in the following matrix equation.

Matrices. Chapter Definitions and Notations

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

Chapter 3: Theory Review: Solutions Math 308 F Spring 2015

Review for Exam Find all a for which the following linear system has no solutions, one solution, and infinitely many solutions.

CHAPTER 8: Matrices and Determinants

Introduction to Determinants

MATH Mathematics for Agriculture II

Linear Algebra The Inverse of a Matrix

Elementary Row Operations on Matrices

ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3

Introduction to Matrices and Linear Systems Ch. 3

. a m1 a mn. a 1 a 2 a = a n

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

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

4. Matrix inverses. left and right inverse. linear independence. nonsingular matrices. matrices with linearly independent columns

Math 2331 Linear Algebra

Math 4A Notes. Written by Victoria Kala Last updated June 11, 2017

Announcements Wednesday, October 04

POLI270 - Linear Algebra

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

Section 12.4 Algebra of Matrices

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

Section 4.5. Matrix Inverses

3.4 Elementary Matrices and Matrix Inverse

Review Questions REVIEW QUESTIONS 71

Multiplying matrices by diagonal matrices is faster than usual matrix multiplication.

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

MATRICES The numbers or letters in any given matrix are called its entries or elements

Section 1.1 System of Linear Equations. Dr. Abdulla Eid. College of Science. MATHS 211: Linear Algebra

MATH 323 Linear Algebra Lecture 6: Matrix algebra (continued). Determinants.

A Review of Matrix Analysis

Matrix Solutions to Linear Equations

Matrix & Linear Algebra

Chapter 5: Matrices. Daniel Chan. Semester UNSW. Daniel Chan (UNSW) Chapter 5: Matrices Semester / 33

MAC Module 2 Systems of Linear Equations and Matrices II. Learning Objectives. Upon completing this module, you should be able to :

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

Chapter 4 Systems of Linear Equations; Matrices

Transcription:

MA 38 Calculus 2 with Life Science Applications Matrices (Section 92) Alberto Corso albertocorso@ukyedu Department of Mathematics University of Kentucky Friday, March 3, 207

Identity Matrix and Inverse of a Matrix For any n, the identity matrix is an n n matrix, denoted by I n, with s on its diagonal line and 0 s elsewhere; that is, 0 0 0 0 I n = 0 0 Property of the Identity Matrix Ṣuppose that A is an m n matrix Then I m A = A = AI n Inverse of a Matrix Suppose that A is an n n square matrix If there exists an n n square matrix B such that AB = I n = BA then B is called the inverse matrix of A and is denoted by A

Example (Part I)Checking Verify that: 3 5 A = 2 4 and B = 2 4 5 2 3 = 2 5/2 3/2 are inverses of each other That is A B = I 2 = B A A 2 = 3 5 2 3 4 2 3 and B 2 = 73 3 3 4 8 5 8 4 3 are inverses of each other That is A 2 B 2 = I 3 = B 2 A 2

Matrix Representation of Linear Systems We observe that the system of linear equations a x + a 2 x 2 + + a n x n = b a 2 x + a 22 x 2 + + a 2n x n = b 2 a m x + a m2 x 2 + + a mn x n = b m can be written in matrix form as AX = B, where a a 2 a n x b a 2 a 22 a 2n x 2 b 2 = } a m a m2 {{ a mn } x n }{{} } b m {{ } A X B

The Guiding Light A simple key observation: To solve 5x = 0 for x, we just divide both sides by 5 ( multiply both sides by /5 = 5 ) That is, 5x = 0 5 5x = 5 0 x = 2 as 5 5 = and 5 0 = 2 We have learnt how to write a system of n linear equations in n variables in the matrix form AX = B To solve AX = B, we therefore need an operation that is analogous to multiplication by the reciprocal of A We have defined, whenever possible, a matrix A that serves this function (ie, A A = Identity Matrix) Then, whenever possible, we can write the solution of AX = B as AX = B A AX = A B X = A B

Example (Part II) Using the results verified in Example (Part I) and our Guiding Light ( Principle), solve the following systems of linear equations by transforming them into matrix form { 3x + 5y = 7 2x + 4y = 6 3x + 5y z = 0 2x y + 3z = 9 4x + 2y 3z =

Properties of Matrix Inverses The following properties of matrix inverses are often useful Properties of Matrix Inverses Suppose A and B are both invertible n n matrices then A is unique; (A ) = A; (AB) = B A ; (A T ) = (A ) T

How do we find the inverse (if possible) of a matrix? First of all the matrix has to be a square matrix! 3 5 Suppose n = 2 For example, A = 2 4 x y We need to find a matrix B = such that AB = I 2 = BA z w 3x + 5z 3y + 5w 0 AB = I 2 = 2x + 4z 2y + 4w 0 { { 3x + 5z = 3y + 5w = 0 and 2x + 4z = 0 2y + 4w = 3 5 0 0 2 5/2 row reduce 2 4 0 0 3/2

Warning (using the other condition) 3 5 Consider again the matrix A = 2 4 x y We need to find a matrix B = such that AB = I 2 = BA z w Suppose we impose instead the condition BA = I 2 3x + 2y 5x + 4y 0 BA = I 2 = 3z + 2w 5z + 4w 0 { { 3x + 2y = 3z + 2w = 0 and 5x + 4y = 0 5z + 4w = 3 2 0 0 2 row reduce 5 4 0 0 5/2 3/2 Morale: We work with the transpose of A and of A

General Method for finding (if possible) the inverse Let A be an n n matrix Finding a matrix B with AB = I n results in n linear systems, each consisting of n equations in n unknowns The corresponding augmented matrices have the same matrix A on their left side and a column of 0 s and a single on their right side By solving these n systems simultaneously, we can speed up the process of finding the inverse matrix To do so, we construct the augmented matrix A I n We row reduce to obtain, if possible, the augmented matrix I n B A row reduce B The matrix B, if it exists, is the inverse A of A

Example 2 Find the inverse of the 3 3 matrix A = 3 2 2 3 2

General Formula for a 2x2 Matrix a b a a 2 For simplicity we write A = instead of A = c d a 2 a 22 a b 0 Construct the augmented matrix c d 0 Perform the Gaussian Elimination Algorithm Set = ad bc a R b a a 0 b a a 0 a R 2 c d 0 b a 0 c a 0 a R 2 cr R b a R 2 0 d bc a c a 0 d 0 c b a

The Inverse of a 2 2 Matrix a b Let A = be a 2 2 matrix c d We define det(a) = ad bc A is invertible ( nonsingular) if and only if det(a) 0 In particular, A = d b det(a) c a Looking back at the formula for A, where A is a 2 2 matrix whose determinant is nonzero, we see that, to find the inverse of A we divide by the determinant of A, switch the diagonal elements of A, change the sign of the off-diagonal elements If the determinant is equal to 0, then the inverse of A does not exist

Example 3 Find the inverse of the matrix 5 A = 2 7 B = 0

The determinant can be defined for any n n matrix The general formula is computationally complicated for n 3 We mention the following important result Part (2) below will be of particular interest to us in the near future Theorem Suppose that A is an n n matrix, and X and 0 are n matrices Then A is invertible ( nonsingular) if and only if det(a) 0 The matrix equation ( system of linear equations) AX = 0 has a nontrivial solution A is singular det(a) = 0

Example 4 Find the solution of the following matrix equations ( systems of linear equations) 2 x 0 = 3 5 y 0 4 x 0 8 2 y = 0