Matrix invertibility. Rank-Nullity Theorem: For any n-column matrix A, nullity A +ranka = n

Similar documents
Math 323 Exam 2 Sample Problems Solution Guide October 31, 2013

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

MTH 362: Advanced Engineering Mathematics

Algorithms to Compute Bases and the Rank of a Matrix

Chapter 2 Subspaces of R n and Their Dimensions

MATH 323 Linear Algebra Lecture 12: Basis of a vector space (continued). Rank and nullity of a matrix.

Solutions to Final Practice Problems Written by Victoria Kala Last updated 12/5/2015

MAT 242 CHAPTER 4: SUBSPACES OF R n

Math 2174: Practice Midterm 1

LINEAR ALGEBRA REVIEW

Math 308 Practice Test for Final Exam Winter 2015

Elementary Linear Algebra Review for Exam 2 Exam is Monday, November 16th.

Row Space and Column Space of a Matrix

Math 313 Chapter 5 Review

4.9 The Rank-Nullity Theorem

Rank and Nullity. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics

Midterm 1 Solutions Math Section 55 - Spring 2018 Instructor: Daren Cheng

Linear Algebra: Homework 7

Math 265 Midterm 2 Review

Solution: (a) S 1 = span. (b) S 2 = R n, x 1. x 1 + x 2 + x 3 + x 4 = 0. x 4 Solution: S 5 = x 2. x 3. (b) The standard basis vectors

New concepts: rank-nullity theorem Inverse matrix Gauss-Jordan algorithm to nd inverse

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

Math 407: Linear Optimization

The definition of a vector space (V, +, )

2018 Fall 2210Q Section 013 Midterm Exam II Solution

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

(a) only (ii) and (iv) (b) only (ii) and (iii) (c) only (i) and (ii) (d) only (iv) (e) only (i) and (iii)

Review Notes for Linear Algebra True or False Last Updated: February 22, 2010

YORK UNIVERSITY. Faculty of Science Department of Mathematics and Statistics MATH M Test #1. July 11, 2013 Solutions

1 Last time: inverses

MATH 20F: LINEAR ALGEBRA LECTURE B00 (T. KEMP)

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

Solutions to Final Exam

Solutions to Exam I MATH 304, section 6

Math 123, Week 5: Linear Independence, Basis, and Matrix Spaces. Section 1: Linear Independence

Linear Algebra Review: Linear Independence. IE418 Integer Programming. Linear Algebra Review: Subspaces. Linear Algebra Review: Affine Independence

2. Every linear system with the same number of equations as unknowns has a unique solution.

Instructions Please answer the five problems on your own paper. These are essay questions: you should write in complete sentences.

Chapters 5 & 6: Theory Review: Solutions Math 308 F Spring 2015

Lecture 13: Row and column spaces

MATH 2210Q MIDTERM EXAM I PRACTICE PROBLEMS

In Class Peer Review Assignment 2

General Vector Space (3A) Young Won Lim 11/19/12

Lecture 3q Bases for Row(A), Col(A), and Null(A) (pages )

Announcements Monday, October 29

Dimension. Eigenvalue and eigenvector

Math 224, Fall 2007 Exam 3 Thursday, December 6, 2007

Final Review Written by Victoria Kala SH 6432u Office Hours R 12:30 1:30pm Last Updated 11/30/2015

Linear Algebra. Linear Algebra. Chih-Wei Yi. Dept. of Computer Science National Chiao Tung University. November 12, 2008

Warm-up. True or false? Baby proof. 2. The system of normal equations for A x = y has solutions iff A x = y has solutions

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

Math 4377/6308 Advanced Linear Algebra

SECTION 3.3. PROBLEM 22. The null space of a matrix A is: N(A) = {X : AX = 0}. Here are the calculations of AX for X = a,b,c,d, and e. =

Math 308 Discussion Problems #4 Chapter 4 (after 4.3)

Study Guide for Linear Algebra Exam 2

CSL361 Problem set 4: Basic linear algebra

MATH 2360 REVIEW PROBLEMS

SUMMARY OF MATH 1600

Math 369 Exam #2 Practice Problem Solutions

Assignment 1 Math 5341 Linear Algebra Review. Give complete answers to each of the following questions. Show all of your work.

Lecture 21: 5.6 Rank and Nullity

Practice Final Exam. Solutions.

Basis, Dimension, Kernel, Image

Miderm II Solutions To find the inverse we row-reduce the augumented matrix [I A]. In our case, we row reduce

MATH 1553, SPRING 2018 SAMPLE MIDTERM 2 (VERSION B), 1.7 THROUGH 2.9

Linear Algebra. Grinshpan

Basis, Dimension, Kernel, Image

MATH2210 Notebook 3 Spring 2018

ELE/MCE 503 Linear Algebra Facts Fall 2018

Math 415 Exam I. Name: Student ID: Calculators, books and notes are not allowed!

Math 353, Practice Midterm 1

MATH 31 - ADDITIONAL PRACTICE PROBLEMS FOR FINAL

SSEA Math 51 Track Final Exam August 30, Problem Total Points Score

YORK UNIVERSITY. Faculty of Science Department of Mathematics and Statistics MATH M Test #2 Solutions

Chapter 2: Matrix Algebra

The Fundamental Theorem of Linear Algebra

x 1 + 2x 2 + 3x 3 = 0 x 1 + 2x 2 + 3x 3 = 0, x 2 + x 3 = 0 x 3 3 x 3 1

We showed that adding a vector to a basis produces a linearly dependent set of vectors; more is true.

EK102 Linear Algebra PRACTICE PROBLEMS for Final Exam Spring 2016

Math 54 HW 4 solutions

Lecture 22: Section 4.7

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

Chapter 2. General Vector Spaces. 2.1 Real Vector Spaces

x y + z = 3 2y z = 1 4x + y = 0

Sept. 26, 2013 Math 3312 sec 003 Fall 2013

Math 3191 Applied Linear Algebra

Solutions to Math 51 First Exam April 21, 2011

MATH 2030: ASSIGNMENT 4 SOLUTIONS

Overview. Motivation for the inner product. Question. Definition

Control Systems. Linear Algebra topics. L. Lanari

Topic 1: Matrix diagonalization

ft-uiowa-math2550 Assignment OptionalFinalExamReviewMultChoiceMEDIUMlengthForm due 12/31/2014 at 10:36pm CST

Linear Maps and Matrices

Linear Algebra Formulas. Ben Lee

MATH 33A LECTURE 2 SOLUTIONS 1ST MIDTERM

Vector Spaces and Subspaces

MATH SOLUTIONS TO PRACTICE PROBLEMS - MIDTERM I. 1. We carry out row reduction. We begin with the row operations

Exam 2 Solutions. (a) Is W closed under addition? Why or why not? W is not closed under addition. For example,

MODULE 8 Topics: Null space, range, column space, row space and rank of a matrix

Transcription:

Matrix invertibility Rank-Nullity Theorem: For any n-column matrix A, nullity A +ranka = n Corollary: Let A be an R C matrix. Then A is invertible if and only if R = C and the columns of A are linearly independent. Proof: Let F be the field. Define f : F C! F R by f (x) =Ax. Then A is an invertible matrix if and only if f is an invertible function. The function f is invertible i dim Ker f =0anddimF C =dimf R i nullity A =0and C = R. nullity A =0 i dim Null A =0 i Null A = {0} i the only vector x such that Ax = 0 is x = 0 i the columns of A are linearly independent. QED

Matrix invertibility examples apple 1 5 6 is not square so cannot be invertible. apple 1 1 1 1 1 is square and its columns are linearly independent so it is invertible. 5 is square but columns not linearly independent so it is not invertible.

Transpose of invertible matrix is invertible Theorem: The transpose of an invertible matrix is invertible. a 1 v 1 v n A = 5 = 6. a n 5 A T = a 1 a n 5 Proof: Suppose A is invertible. Then A is square and its columns are linearly independent. Let n be the number of columns. Then rank A = n. Because A is square, it has n rows. By Rank Theorem, rows are linearly independent. Columns of transpose A T are rows of A, so columns of A T are linearly independent. Since A T is square and columns are linearly independent, A T is invertible. QED

More matrix invertibility Earlier we proved: If A has an inverse A 1 then AA 1 is identity matrix Converse: If BA is identity matrix then A and B are inverses? Not always true. Theorem: Suppose A and B are square matrices such that BA is an identity matrix 1. ThenA and B are inverses of each other. Proof: To show that A is invertible, need to show its columns are linearly independent. Let u be any vector such that Au = 0. Then B(Au) =B0 = 0. On the other hand, (BA)u = 1u = u, so u = 0. This shows A has an inverse A 1. Now must show B = A 1. We know AA 1 = 1. BA = 1 (BA)A 1 = 1A 1 by multiplying on the right by A 1 (BA)A 1 = A 1 B(AA 1 ) = A 1 B 1 = A 1 B = A 1 by associativity of matrix-matrix mult QED

Representations of vector spaces Two important ways to represent a vector space: As the solution set of homogeneous linear system a 1 x =0,...,a m x =0 Equivalently, Null 6 a 1. a m 5 As Span {b 1,...,b k } Equivalently, Col 6 b 1 b k 5

Conversions between the two representations {[x, y, z] : [, 1, 1] [x, y, z] =0, [0, 1, 1] [x, y, z] =0} Span {[1,, ]} Span {[, 1, 1], [0, 1, 1]} {[x, y, z] : [1,, ] [x, y, z] =0}

Conversions for a ne spaces? I From representation as solution set of linear system to representation as a ne hull I From representation as a ne hull to representation as solution set of linear system

Conversions for a ne spaces? From representation as solution set of linear system to representation as a ne hull I input: linear system Ax = b I output: vectors whose a ne hull is the solution set of the linear system. apple 1 1 1 1 Let u be one solution to the linear system. u =[ 0.5, 0.5, 0] apple x 1 1 Consider the corresponding homogeneous system Ax = 0. y 1 z Its solution set, the null space of A, isavectorspacev. Let b 1,...,b k be generators for V. b 1 =[,, ] Then the solution set of the original linear system is the a ne hull of u, b 1 + u, b + u,...,b k + u. [ 0.5,.5, 0] and [ 0.5,.5, 0] + [,, ] x y z 5 = 5 = apple 1 apple 0 0

From representation as solution set to representation as a One solution to equation Null space of apple 1 1 1 apple 1 1 1 is Span {b 1 }: x y z 5 = apple 1 is u =[ 0.5, 0.5, 0] ne hull Solution set of equation is u +Span{b 1 }, i.e. the a ne hull of u and u + b 1 b 1 u+b 1 u

Representations of vector spaces Two important ways to represent a vector space: As the solution set of homogeneous linear system a 1 x =0,...,a m x =0 Equivalently, Null 6 a 1. a m 5 As Span {b 1,...,b k } Equivalently, Col 6 b 1 b k 5

Representations of vector spaces Two important ways to represent a vector space: As the solution set of homogeneous linear system a 1 x =0,...,a m x =0 Equivalently, Null 6 a 1. a m 5 As Span {b 1,...,b k } Equivalently, Col 6 b 1 b k 5 How to transform between these two representations? Problem 1 (From left to right): I input: homogeneous linear system a 1 x =0,...,a m x = 0, I output: basis b 1,...,b k for solution set Problem (From right to left): I input: independent vectors b 1,...,b k, I output: homogeneous linear system a x = 0,...,a x = 0 whose solution set equals

Reformulating Problem 1 I input: homogeneous linear system a 1 x =0,...,a m x = 0, I output: basis b 1,...,b k for solution set Let s express this in the language of matrices: I input: matrix A = 6 I output: matrix B = a 1. a m 5 b k b 1 5 such that Col B =NullA Can require the rows of the input matrix A to be linearly independent. (Discarding a superfluous row does not change the null space of A.)

Reformulating Problem 1 I input: homogeneous linear system a 1 x =0,...,a m x = 0, I output: basis b 1,...,b k for solution set Let s express this in the language of matrices: I input: matrix A = 6 I output: matrix B = a 1. a m 5 b k b 1 5 with independent columns such that Col B =NullA Can require the rows of the input matrix A to be linearly independent. (Discarding a superfluous row does not change the null space of A.)

Reformulating Problem 1 I input: homogeneous linear system a 1 x =0,...,a m x = 0, I output: basis b 1,...,b k for solution set Let s express this in the language of matrices: I input: matrix A = 6 I output: matrix B = a 1. a m b k b 1 5 5 with independent rows with independent columns such that Col B =NullA Can require the rows of the input matrix A to be linearly independent. (Discarding a superfluous row does not change the null space of A.)

Reformulating the reformulation of Problem 1 I input: matrix A with independent rows I output: matrix B with independent columns such that Col B =NullA By Rank-Nullity Theorem, rank A +nullitya = n Because rows of A are linearly independent, rank A = m, so m +nullitya = n Requiring Col B =NullA is the same as requiring (i) Col B is a subspace of Null A (ii) dim Col B =nullitya

Reformulating the reformulation of Problem 1 I input: matrix A with independent rows I output: matrix B with independent columns such that Col B =NullA By Rank-Nullity Theorem, rank A +nullitya = n Because rows of A are linearly independent, rank A = m, so m +nullitya = n Requiring Col B =NullA is the same as requiring (i) Col B is a subspace of Null A =) same as requiring AB = (ii) dim Col B =nullitya 6 0 0.. 0 0 5

Reformulating the reformulation of Problem 1 I input: matrix A with independent rows I output: matrix B with independent columns such that Col B =NullA By Rank-Nullity Theorem, rank A +nullitya = n Because rows of A are linearly independent, rank A = m, so m +nullitya = n Requiring Col B =NullA is the same as requiring 6 0 0 (i) Col B is a subspace of Null A =) same as requiring AB =.. 0 0 (ii) dim Col B =nullitya =) same as requiring number of columns of B =nullitya same as requiring number of columns of B = n m 5

Reformulating the reformulation of Problem 1 I input: matrix A with independent rows I output: matrix B with independent columns such that Col B =NullA By Rank-Nullity Theorem, rank A +nullitya = n Because rows of A are linearly independent, rank A = m, so m +nullitya = n Requiring Col B =NullA is the same as requiring 6 0 0 (i) Col B is a subspace of Null A =) same as requiring AB =.. 0 0 (ii) dim Col B =nullitya =) same as requiring number of columns of B =nullitya same as requiring number of columns of B = n m I input: m n matrix A with independent rows h I output: matrix B with n m independent columns such that AB = 0 i 5

Hypothesize a procedure for reformulation of Problem 1 Problem 1: I input: m n matrix A with independent rows h I output: matrix B with n m independent columns such that AB = 0 i Define procedure null space basis(m) with this spec: I input: r n matrix M with independent rows h I output: matrix C with n r independent columns such that MC = 0 i

Reformulating Problem I input: independent vectors b 1,...,b k, I output: homogeneous linear system a 1 x =0,...,a m x = 0 whose solution set equals Span {b 1,...,b k } Let s express this in the language of matrices: I input: n k matrix B with independent columns I output: matrix A with independent rows such that Null A = Col B As before, Rank-Nullity Theorem implies number of rows of A +nullitya = number of columns of A As before, requiring h Null A = Col B is the same as requiring (i) AB = 0 i (ii) number of rows of A = n k I input: n k matrix B with independent rows h I output: matrix A with n k independent rows such that AB = 0 i

Solving Problem with the procedure for Problem 1 Problem 1: I input: m n matrix A with independent rows h I output: matrix B with n m independent columns such that AB = 0 i Define procedure null space basis(m) I input: r n matrix M with independent rows h I output: matrix C with n r independent columns such that MC = 0 i Problem : I input: n k matrix B with independent rows h I output: matrix A with n k independent rows such that AB = 0 i To solve Problem, call null space basis(b T ). h Returns matrix A T with independent columns such that B T A T = 0 i Since B T is k nh matrix, A T has n k columns. Therefore AB = 0 i and A has n k independent rows. Therefore A is solution to Problem