EE263: Introduction to Linear Dynamical Systems Review Session 2

Similar documents
This lecture is a review for the exam. The majority of the exam is on what we ve learned about rectangular matrices.

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

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. =

Linear algebra review

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

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

Lecture: Linear algebra. 4. Solutions of linear equation systems The fundamental theorem of linear algebra

1 Systems of equations

Math 369 Exam #2 Practice Problem Solutions

Lecture 3: Linear Algebra Review, Part II

Family Feud Review. Linear Algebra. October 22, 2013

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

Problem Set (T) If A is an m n matrix, B is an n p matrix and D is a p s matrix, then show

2018 Fall 2210Q Section 013 Midterm Exam II Solution

2. Linear algebra. matrices and vectors. linear equations. range and nullspace of matrices. function of vectors, gradient and Hessian

Math 407: Linear Optimization

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

Problem # Max points possible Actual score Total 120

MAT Linear Algebra Collection of sample exams

Chapter 1. Vectors, Matrices, and Linear Spaces

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

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

ORIE 6300 Mathematical Programming I August 25, Recitation 1

Math 3191 Applied Linear Algebra

Lecture notes: Applied linear algebra Part 1. Version 2

5.) For each of the given sets of vectors, determine whether or not the set spans R 3. Give reasons for your answers.

MATH 167: APPLIED LINEAR ALGEBRA Chapter 2

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

Math 54 HW 4 solutions

MATH 2360 REVIEW PROBLEMS

MA 511, Session 10. The Four Fundamental Subspaces of a Matrix

Study Guide for Linear Algebra Exam 2

(a) If A is a 3 by 4 matrix, what does this tell us about its nullspace? Solution: dim N(A) 1, since rank(a) 3. Ax =

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

Solutions to Math 51 First Exam October 13, 2015

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

Linear Algebra. Grinshpan

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

Lecture Summaries for Linear Algebra M51A

Math 110, Spring 2015: Midterm Solutions

Math 18, Linear Algebra, Lecture C00, Spring 2017 Review and Practice Problems for Final Exam

Math 265 Linear Algebra Sample Spring 2002., rref (A) =

Linear Algebra Formulas. Ben Lee

Announcements Monday, October 29

MATH 304 Linear Algebra Lecture 18: Orthogonal projection (continued). Least squares problems. Normed vector spaces.

Midterm solutions. (50 points) 2 (10 points) 3 (10 points) 4 (10 points) 5 (10 points)

Solutions to Math 51 First Exam April 21, 2011

18.06 Problem Set 3 Solution Due Wednesday, 25 February 2009 at 4 pm in Total: 160 points.

Lecture 1: Review of linear algebra

EE263: Introduction to Linear Dynamical Systems Review Session 9

Math Final December 2006 C. Robinson

MIT Final Exam Solutions, Spring 2017

Chapter 6 - Orthogonality

Homework 2 Solutions

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

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


MATH 304 Linear Algebra Lecture 20: The Gram-Schmidt process (continued). Eigenvalues and eigenvectors.

DM559 Linear and Integer Programming. Lecture 6 Rank and Range. Marco Chiarandini

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

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

Math 290, Midterm II-key

Review problems for MA 54, Fall 2004.

Instructions. 2. Four possible answers are provided for each question and only one of these is correct.

Review 1 Math 321: Linear Algebra Spring 2010

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

Solution Set 3, Fall '12

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

Maths for Signals and Systems Linear Algebra in Engineering

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

SYMBOL EXPLANATION EXAMPLE

A SHORT SUMMARY OF VECTOR SPACES AND MATRICES

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

Math Linear Algebra

Lecture 21: 5.6 Rank and Nullity

Test 3, Linear Algebra

MATH 1553 SAMPLE FINAL EXAM, SPRING 2018

IFT 6760A - Lecture 1 Linear Algebra Refresher

MATH 223 FINAL EXAM APRIL, 2005

Linear Algebra in A Nutshell

Row Space, Column Space, and Nullspace

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

Chapter 3. Vector spaces

Lecture 9: Vector Algebra

MATH 221: SOLUTIONS TO SELECTED HOMEWORK PROBLEMS

18.06 Problem Set 3 - Solutions Due Wednesday, 26 September 2007 at 4 pm in

Pseudoinverse & Moore-Penrose Conditions

4 ORTHOGONALITY ORTHOGONALITY OF THE FOUR SUBSPACES 4.1

Math 2174: Practice Midterm 1

MATH 260 LINEAR ALGEBRA EXAM III Fall 2014

14: Hunting the Nullspace. Lecture

University of Colorado Denver Department of Mathematical and Statistical Sciences Applied Linear Algebra Ph.D. Preliminary Exam January 23, 2015

Lecture 1 Review: Linear models have the form (in matrix notation) Y = Xβ + ε,

Linear Algebra Highlights

Linear System Theory

MATH 2210Q MIDTERM EXAM I PRACTICE PROBLEMS

1. Let m 1 and n 1 be two natural numbers such that m > n. Which of the following is/are true?

A Review of Linear Algebra

MATH 33A LECTURE 2 SOLUTIONS 1ST MIDTERM

OHSX XM511 Linear Algebra: Multiple Choice Exercises for Chapter 2

Transcription:

EE263: Introduction to Linear Dynamical Systems Review Session 2 Basic concepts from linear algebra nullspace range rank and conservation of dimension EE263 RS2 1

Prerequisites We assume that you are familiar with the basic definitions of the following concepts from lecture 3: vector spaces subspaces independence span basis dimension EE263 RS2 2

Nullspace of a matrix For a matrix A R m n, the nullspace is defined as, N(A) = { x R n Ax = 0 }. Is N(A) R N a vector subspace of R n? Can you prove it? Solution: take two vectors v 1,v 2 N(A), and scalars α 1,α 2 R. Then, So α 1 v 1 +α 2 v 2 N(A). A(α 1 v 1 +α 2 v 2 ) = α 1 Av 1 +α 2 Av 2 = 0. Roughly speaking, to verify that a set V R n is a subspace, we need only check that it is closed under vector addition and scalar multiplication. EE263 RS2 3

Example 1 Let P = A A+B A+B +C. True or false? N(P) = N(A) N(B) N(C) Note that N(P) is a set, and N(A) N(B) N(C) is also a set. We say that two sets X and Y are equal if z X z Y, and z Y z X. Solution: syntax check: Two subspaces can only be equal if they contain vectors of the same size: EE263 RS2 4

LHS: if A R m n, then B R m n and C R m n. Therefore, P has n columns, and so N(P) is a subspace of R n. RHS: N(A), N(B), and N(C) are all subspaces of R n, and hence their intersection must also be a subspace of R n. show that x N(P) N(A) N(B) N(C). Let x N(P). This implies Ax = 0 Ax+Bx = 0 Ax+Bx+Cx = 0 x N(A) x N(B) x N(B) x N(A) N(B) N(C). show that x N(A) N(B) N(C) x N(P) This is trivial: if Ax = 0, Bx = 0, Cx = 0 then Ax + Bx = 0 and Ax+Bx+Cx = 0, so x N(P). EE263 RS2 5

Example 2 Is this true or false? N(A T A) = N(A). Solution: syntax check: If A R m n then A T A R n n, so N(A T A) and N(A) are both subspaces of R n. show that x N(A) x N(A T A): so x N(A T A). Ax = 0 (A T A)x = A T (Ax) = A T 0 = 0, EE263 RS2 6

show that x N(A T A) x N(A): Suppose x N(A T A). Then, A T Ax = 0 and so x T A T Ax = (Ax) T (Ax) = Ax 2 = 0 Ax = 0. norm of a vector is zero if and only if the vector is equal to zero, i.e., z = 0 z = 0. Ax = 0 therefore implies that Ax = 0, and so x N(A). EE263 RS2 7

Range of a Matrix The range of a matrix A R m n is defined as, R(A) = { Ax x R n } R(A) is a subspace of R m (check this for yourself!). Roughly speaking, it is the set of vectors in R m that can be hit by the linear mapping y = Ax. Given a set of linear equations y = Ax (where y and A are known), a solution x exists if and only if y can be hit by the linear mapping y = Ax, i.e., y R(A). EE263 RS2 8

Two more useful subspaces R(A T ): the space spanned by the rows of A T ; also called the row-space. N(A T ): also called the left nullspace. R(A), N(A), R(A T ), N(A T )aresometimescalledthefourfundamental subspaces, By the end of lecture 4, you will understand the relationships between these subspaces and their properties. EE263 RS2 9

Example 3 Draw R(A), N(A), R(A T ), N(A T ) for the matrix, A = [ 1 1 0 0 ]. (1) Solution: R(A): note that A has only one independent column: [ 1 0 ] T. So R(A) is all the scalar multiples of [ 1 0 ] T. R(A T ): A T also has only one independent column, [ 1 1 ] T. So R(A T ) is all the scalar multiples of [ 1 1 ] T. Using a similar argument for N(A) and N(A T ) gives us the diagrams shown in figure 1. (Do this yourself!) EE263 RS2 10

y 2 N(A T ) x 2 R(A T ) y 1 R(A) x 1 N(A) Figure 1: Four subspaces for the matrix in (1). Vectors in R(A) are orthogonal to vectors in N(A T ); vectors in R(A T ) are orthogonal to vectors in N(A). This is no coincidence, and in fact, in lecture 4, you ll see why this is true. EE263 RS2 11

Rank and conservation of dimension The rank of a matrix A R m n defined as Some facts: rank(a) = rank(a T ). rank(a) = dim R(A). rank(a) is the maximum number of independent columns (or rows) of A, hence rank(a) min(m,n). rank(a)+dimn(a) = n. (Conservation of dimension) rank(a) is the dimension of the set hit by the mapping y = Ax, N(A) is the dimension of the set of x mapped to zero by y = Ax. n is the number of degrees of freedom in x. so, roughly speaking, each degree of freedom in the input is either mapped to zero, or ends up in the output. EE263 RS2 12

Example 4 What is rank(a), the matrix labeled (1), from the previous example? answer: 1. Given A R m n, what is dimr(a T )+dimn(a)? answer: n. dimr(a)+dimn(a T )? answer: m. EE263 RS2 13

Full rank matrices A R m n is full rank if rank(a) = min(m,n). For square matrices, full rank means the matrix is nonsingular and invertible. For skinny matrices (m n), full rank means that the columns of A are independent, and sometimes we say that A is full column rank. For fat matrices (m n), full rank means that the rows of A are independent, sometimes referred to as full row rank. EE263 RS2 14

Example 5 Suppose A R m n is fat (m < n) and full rank. Show that A has a right inverse, i.e., there is a matrix B R n m such that AB = I. Is the right inverse unique? Solution: If A is fat and full rank, then rank(a) = m, which means that dimr(a) = m, and so R(A) = R m (i.e., A is an onto matrix). Therefore, the equation Ax = y can be solved for any y R m. So we can find [b 1,...,b m ] that satisfy Ab i = e i, i = 1,...,m. Form B = [b 1,...,b m ]. Then, AB = A [ b 1 b 2 b m ] = [ e1 e 2 e m ] = I, EE263 RS2 15

so B is a right inverse of A. uniqueness: By the conservation of dimension dimn(a) = n dimr(a) = n m 1. Let s take a nonzero vector z N(A), and any nonzero vector w R m, then for any right inverse B, A(B +zw T ) = AB +Azw T = I +0 = I, so B +zw T is also a right inverse. Since B and B + zw T are different, we have two different right inverses. So the right inverse is not unique. EE263 RS2 16

Example 6 Suppose A R m n is skinny (m > n) and full rank. Show that A has a left inverse, i.e., there is a matrix B R n m such that BA = I. Solution. If A is skinny and full rank, then rank(a) = n, which means that A has n independent rows and columns. Thus A T is fat and full rank, and so the equation A T x = y can be solved for any y R n. Similar to the previous example, we can find a matrix C R m n such that A T C = I. Let B = C T. B is a left inverse of A. EE263 RS2 17