Review : Powers of a matrix

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

Solutions to Exam I MATH 304, section 6

Math 54 HW 4 solutions

Fall Inverse of a matrix. Institute: UC San Diego. Authors: Alexander Knop

Matrix operations Linear Algebra with Computer Science Application

Chapter 2 Notes, Linear Algebra 5e Lay

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

Linear Equations in Linear Algebra

Section 2.2: The Inverse of a Matrix

(c)

We could express the left side as a sum of vectors and obtain the Vector Form of a Linear System: a 12 a x n. a m2

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

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

Inverses. Stephen Boyd. EE103 Stanford University. October 28, 2017

3.4 Elementary Matrices and Matrix Inverse

MATH 152 Exam 1-Solutions 135 pts. Write your answers on separate paper. You do not need to copy the questions. Show your work!!!

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

Review Solutions for Exam 1

Matrix Arithmetic. j=1

Elementary maths for GMT

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

Lectures on Linear Algebra for IT

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

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

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

Math 54 Homework 3 Solutions 9/

Math 313 Chapter 1 Review

INVERSE OF A MATRIX [2.2]

1. Determine by inspection which of the following sets of vectors is linearly independent. 3 3.

MATH 2030: MATRICES. Example 0.2. Q:Define A 1 =, A. 3 4 A: We wish to find c 1, c 2, and c 3 such that. c 1 + c c

Linear Algebra and Matrix Inversion

Lecture 6 & 7. Shuanglin Shao. September 16th and 18th, 2013

Math 314H EXAM I. 1. (28 points) The row reduced echelon form of the augmented matrix for the system. is the matrix

Section 4.5. Matrix Inverses

1 Last time: determinants

Math 3191 Applied Linear Algebra

Designing Information Devices and Systems I Fall 2018 Lecture Notes Note 6

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

MODEL ANSWERS TO THE THIRD HOMEWORK

Announcements Wednesday, October 04

Math 3191 Applied Linear Algebra

MATH10212 Linear Algebra B Homework 6. Be prepared to answer the following oral questions if asked in the supervision class:

1 Last time: inverses

MATH 2360 REVIEW PROBLEMS

1300 Linear Algebra and Vector Geometry

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

Computational Foundations of Cognitive Science. Definition of the Inverse. Definition of the Inverse. Definition Computation Properties

1. What is the determinant of the following matrix? a 1 a 2 4a 3 2a 2 b 1 b 2 4b 3 2b c 1. = 4, then det

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

Math 60. Rumbos Spring Solutions to Assignment #17

MAT 2037 LINEAR ALGEBRA I web:

6-2 Matrix Multiplication, Inverses and Determinants

Vectors and matrices: matrices (Version 2) This is a very brief summary of my lecture notes.

Mon Feb Matrix algebra and matrix inverses. Announcements: Warm-up Exercise:

Math 3C Lecture 20. John Douglas Moore

Math Matrix Theory - Spring 2012

Inverses and Elementary Matrices

Solutions to Final Exam 2011 (Total: 100 pts)

MATH10212 Linear Algebra B Homework Week 5

Matrices Gaussian elimination Determinants. Graphics 2009/2010, period 1. Lecture 4: 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

Matrix Algebra & Elementary Matrices

Chapter 3. Directions: For questions 1-11 mark each statement True or False. Justify each answer.

x + 2y + 3z = 8 x + 3y = 7 x + 2z = 3

INVERSE OF A MATRIX [2.2] 8-1

February 20 Math 3260 sec. 56 Spring 2018

Math 343 Midterm I Fall 2006 sections 002 and 003 Instructor: Scott Glasgow

3.2 Subspace. Definition: If S is a non-empty subset of a vector space V, and S satisfies the following conditions: (i).

Linear Equations in Linear Algebra

2018 Fall 2210Q Section 013 Midterm Exam I Solution

Inverses of Square Matrices

The scope of the midterm exam is up to and includes Section 2.1 in the textbook (homework sets 1-4). Below we highlight some of the important items.

ENGR-1100 Introduction to Engineering Analysis. Lecture 21

Linear Algebra Exam 1 Spring 2007

1 Last time: linear systems and row operations

Family Feud Review. Linear Algebra. October 22, 2013

MODEL ANSWERS TO THE FIRST QUIZ. 1. (18pts) (i) Give the definition of a m n matrix. A m n matrix with entries in a field F is a function

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

Review for Chapter 1. Selected Topics

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

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

A matrix over a field F is a rectangular array of elements from F. The symbol

Equality: Two matrices A and B are equal, i.e., A = B if A and B have the same order and the entries of A and B are the same.

Math113: Linear Algebra. Beifang Chen

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

Matrices. Chapter Definitions and Notations

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

Linear Systems and Matrices

MTH5112 Linear Algebra I MTH5212 Applied Linear Algebra (2017/2018)

Section 3.3. Matrix Rank and the Inverse of a Full Rank Matrix

Math 2940: Prelim 1 Practice Solutions

MATH2210 Notebook 2 Spring 2018

ELEMENTARY LINEAR ALGEBRA

Chapter 1: Systems of Linear Equations

LINEAR ALGEBRA WITH APPLICATIONS

Math 369 Exam #2 Practice Problem Solutions

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

Digital Workbook for GRA 6035 Mathematics

Matrix Algebra 2.1 MATRIX OPERATIONS Pearson Education, Inc.

MATH Mathematics for Agriculture II

Transcription:

Review : Powers of a matrix Given a square matrix A and a positive integer k, we define A k = AA A } {{ } k times Note that the multiplications AA, AAA,... make sense. Example. Suppose A=. Then A 0 2 = = 0 0 2 3 A 3 = (A 2 )A= = 0 0 0 3 4 A 4 = (A 3 )A= = 0 0 0 2 0 /22

Transpose of A Suppose A is an m n matrix. The transpose of A, which is denoted by A T, is an n m matrix whose rows are columns of A. 2 0 2 Example. Suppose A = 0 3. Then A T = 3. 2 2 Properties of transpose (A T ) T = A Suppose A and B are both m n matrices and c is a scalar. Then (A+B) T = A T + B T and (ca) T = ca T. Suppose A is m n and B is n p. Then (AB) T = B T A T 2/22

Remark. Note that (AB) T = A T B T is generally not true! For example, if A is 2 3 and B is 3 5, then (AB) T is defined and is a 5 2 matrix, whereas A T B T is not even defined! = } {{ } } {{ }} {{ } A B = }{{} A T } {{ } B T AB 3/22

Inverse of a matrix Suppose A is an n n matrix. We say that A is invertible if there exists an n n matrix C such that AC=CA=I n. The matrix C, if it exists, is called the inverse of A, and is usually denoted by A. If A is invertible, then it has a unique inverse. 2 3 3 Example. Suppose A =. Then if we take C= we will have 2 2 3 3 0 AC= = 2 0 3 2 3 0 and CA= = 2 0 This means that A is invertible and C is the inverse of A. 4/22

Question. When does an n nmatrix A have an inverse? Theorem (2 2 matrices) a b Suppose A=. Then : c d If ad bc=0 then A is not invertible. If ad bc 0 then A is invertible and we have A d b = ad bc c a The quantity ad bc is called the determinant of A. 3 Example. The matrix A= is not invertible because 2 6 6 3 2=6 6=0. 3 Example. The matrix A= is invertible because 2 3 2= 4 0. 2 2 Moreover, A = 2 3 3 = 2 4 4 2 2 4 5/22

Example 4 3 Is A= invertible? If so, then compute A 3. Solution. Determinant of A is (4 ) (3 ( 3 ))=4 ( )=5 0. Therefore A is invertible and A = [ 3 5 3 ] 5 = 5 3 4 5 4 5 Then, and AA = [ 4 3 3 [ A 5 3 5 A= 5 ][ 5 3 ] 5 = 4 5 5 4 5 ] 4 3 = 3 0 0 0 0 6/22

Basic properties of inverse Theorem Suppose A is an n n matrix. If A is invertible, then A is invertible, and (A ) = A Reason : A A=AA = I n, i.e., A is the inverse of A. 2 If A and B are n ninvertible matrices, then AB is also invertible and we have (AB) = B A Reason : (AB)(B A )=A(BB )A = AI n A = AA = I n. 3 If A is an n ninvertible matrix, then so is A T and the inverse of A T is the transpose of A. That is, (A T ) = (A ) T Reason : A T (A ) T = (A A) T = I T n= I n. 7/22

Calculating A in general Suppose you are given an n nmatrix A. Question. Is A invertible? If it is, how can we find its inverse? Notation Recall that I n is the n nidentity matrix, i.e., 0 0 0 0 0 0 0 0 0 I n =.... 0 0 0 e e 2 e 3 e n We denote the i-th column of I n by e i. Therefore I n = [ e e 2 e n ] The i-th entry of e i is, and the rest of its entries are 0. 8/22

Suppose A is invertible, i.e., we can find an n n matrix A such that AA = I n. Write A as A = [ x x 2 x n ] We have AA = Ax Ax 2... Ax n. But: AA = I n Ax Ax 2... Ax n = e e 2 e n It follows that Ax = e, Ax 2 = e 2,, Ax n = e n To determine if A is invertible, and to calculate A, we should solve the following n matrix equations : Ax = e, Ax 2 = e 2,, Ax n = e n 9/22

To determine if A is invertible, and to calculate A, we should solve n matrix equations : Ax = e, Ax 2 = e 2,, Ax n = e n This means we have to solve the linear systems with the following augmented matrices : [ A e ], [ A e2 ],, [ A en ] we can solve these linear systems simultaneously by finding the R.E.F. of [ A e e 2 e n ] = [ A In ] 0/22

Algorithm for finding A Suppose A is an n n matrix. Row reduce the super augmented matrix [ A In ] to obtain its R.E.F. If after row reduction we obtain a matrix of the form [ In B ] then A is invertible and B=A. Otherwise, A is not invertible. /22

Example 0 2 Is A= 0 3 invertible? If so, then find its inverse. 0 2 0 2 0 0 0 2 0 0 R 0 3 0 0 2 R 2 R 0 0 0 0 2 0 0 0 2 0 0 0 2 0 0 0 2 0 0 R 2 R 3 R 3 R 3 0 2 0 0 0 2 0 0 0 0 0 0 0 0 R R +2R 3 0 0 3 2 0 R 2 R 2 2R 3 0 0 2 2 R.E.F. 0 0 0 0 2 3 2 0 0 0 Checking the answer: AA = 0 3 2 2 = 0 0 0 2 0 0 0 Similarly, we can check that A A=I 3. 2/22

Example Is A= 2 0 invertible? If it is, then find its inverse. 3 0 R 0 0 2 R 2 2R 0 0 R 2 0 0 0 3 R 3 3R 0 2 3 2 0 3 0 0 0 0 2 3 3 0 0 0 R 3 R 3 R 2 R 0 2 3 2 0 3 R 3 0 0 0 R 2 R 2 +2R 3 0 R R R 3 R 2 2 0 2 3 0 3 2 R 2 R R R 2 0 0 0 0 2 0 2 0 0 3 2 0 3 2 0 0 0 It follows that A is not invertible. R.E.F. 0 0 0 2 3 2 0 0 0 0 0 0 3 2 0 3 2 0 0 0 3/22

Example 0 2 Is A= 0 3 invertible? If it is, then find its inverse. 4 3 8 0 2 0 0 0 3 0 0 R Solution. 0 3 0 0 R 2 0 2 0 0 4 3 8 0 0 4 3 8 0 0 0 3 0 0 0 3 0 0 R 3 R 3 4R R 0 2 0 0 3 R 3 +3R 2 0 2 0 0 0 3 4 0 4 0 0 2 3 4 R R 3 2 R 0 3 0 0 2 R 2 2R 3 0 0 3 R R 3R 3 2 9 7 2 3 0 2 0 0 0 0 2 4 3 0 0 2 2 3 2 0 0 2 2 2 It follows that A is invertible and A 2 9 7 3 2 = 2 4 3. 2 2 2 4/22

Criteria for invertibility Theorem Let A be an n n matrix. Then the following statements are equivalent (i.e., they are either all true or all false). A is an invertible matrix. 2 The R.E.F. of A is I n. 3 A has n pivot positions. 4 The equation Ax=0 only has the trivial solution x=0. 5 The columns of A are linearly independent. 6 For every vector b inr n, the matrix equation Ax=bhas a unique solution. 7 The columns of A spanr n. 8 A T is invertible. 5/22

Example Suppose that A is an n n matrix which satisfies Is A invertible? Solution. One can write or A 5 2A 3 + A 2I=0. A ( A 4 2A 2 + I ) = 2I A ( 2 A4 A 2 + 2 I) = ( 2 A4 A 2 + 2 I) A=I It follows that A is invertible. In fact the above relation shows that : A = 2 A4 A 2 + 2 I 6/22

Matrix Equations Example Solve the equation AXB=Cfor X where 0 2 2 2 A= 0 3 B= and C= 0 0 0 2 3 3 Solution. First of all, note that since A is 3 3 and B is 2 2, X should be 3 2. If A and B were invertible then we could write : A AXBB = A CB = I 3 XI 2 = A CB = X=A CB We now check to see if A and B indeed invertible. For A, we have 0 2 0 0 0 0 3 2 0 Row Reduction 0 3 0 0 0 0 2 2 0 2 0 0 0 0 0 3 2 0 Which means that A is invertible and A = 2 2. 0 7/22

Example Solve the equation AXB=Cfor X where 0 2 2 2 A= 0 3 B= and C= 0 0 0 2 3 3 2 For B=, we can use the method of this lecture or the method 0 of the last lecture : determinant of B is 0, hence B = 2 2 = 0 0 Finally, we have 3 2 0 2 2 X=A CB = 2 2 0 0 0 3 3 3 8 3 2 2 = 5 9 = 5 0 3 8/22

Example 3 Let A= and B= 4 5 for X. 00. Solve the equation B(X T + A)B = 2I I= 0 0 Solution. Since A and B are 2 2, the matrix X is also 2 2. (We also have I=I 2.) B(X T + A)B = 2I B B(X T + A)B = 2B I=2B (X T + A)B = 2B (X T + A)B B=2B B=2I X T = 2I A X=(2I A) T = 2I A T = X T + A=2I 2 0 0 2 4 4 =. 3 5 3 3 9/22

Example Simplify A (BC) T (B ) T (C ) T A 2 Solution. We have A (BC) T (B ) T (C ) T A 2 = A C T B T (B ) T (C ) T A 2 = A C T( B T (B ) T) (C ) T A 2 = A C T( B T (B T ) ) (C ) T A 2 = A C T I (C ) T A 2 = A C T (C ) T A 2 = A C T (C T ) A 2 = A I A 2 = A A 2 = A 20/22

Example Suppose A= and B is a 2 3 matrix such that AB= What is the second column of B? Solution. If we write B as B=[ b b 2 b 3 ] then we have And therefore AB=[Ab Ab 2 Ab 3 ] Ab 2 = 2 2 3 2 But determinant of A is 2 0, hence A is invertible and by the formula from the last lecture we have A = [ ] [ = 2 2 ] = b 2 2 = A = 2 2 3 = 2 2 2 2 2 2 2 2 2/22

Today s key point : Algorithm for finding A Suppose A is an n n matrix. Row reduce the super augmented matrix [ A In ] to obtain its R.E.F. If after row reduction we obtain a matrix of the form [ In B ] then A is invertible and B=A. Otherwise, A is not invertible. 22/22