Basis, Dimension, Kernel, Image

Similar documents
Basis, Dimension, Kernel, Image

Definitions. Main Results

Chapter 2 Subspaces of R n and Their Dimensions

4.9 The Rank-Nullity Theorem

ANSWERS. E k E 2 E 1 A = B

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

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

ANSWERS (5 points) Let A be a 2 2 matrix such that A =. Compute A. 2

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

Math Final December 2006 C. Robinson

MATH 2360 REVIEW PROBLEMS

Row Space and Column Space of a Matrix

Math 308 Practice Test for Final Exam Winter 2015

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

Algorithms to Compute Bases and the Rank of a Matrix

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

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

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

Advanced Linear Algebra Math 4377 / 6308 (Spring 2015) March 5, 2015

Solutions to Math 51 First Exam April 21, 2011

5.4 Independence, Span and Basis

MTH 362: Advanced Engineering Mathematics

We see that this is a linear system with 3 equations in 3 unknowns. equation is A x = b, where

Math 369 Exam #2 Practice Problem Solutions

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

2. (10 pts) How many vectors are in the null space of the matrix A = 0 1 1? (i). Zero. (iv). Three. (ii). One. (v).

2018 Fall 2210Q Section 013 Midterm Exam II Solution

Linear independence, span, basis, dimension - and their connection with linear systems

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

Math 242 fall 2008 notes on problem session for week of This is a short overview of problems that we covered.

1 Systems of equations

Math 217 Midterm 1. Winter Solutions. Question Points Score Total: 100

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

Math 102, Winter 2009, Homework 7

1 Last time: inverses

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

In this LAB you will explore the following topics using MATLAB. Investigate properties of the column space of a matrix.

Math 54 First Midterm Exam, Prof. Srivastava September 23, 2016, 4:10pm 5:00pm, 155 Dwinelle Hall.

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

Lecture Summaries for Linear Algebra M51A

EXAM. Exam #2. Math 2360 Summer II, 2000 Morning Class. Nov. 15, 2000 ANSWERS

MAT 242 CHAPTER 4: SUBSPACES OF R n

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

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

Math 1553 Introduction to Linear Algebra

LINEAR ALGEBRA REVIEW

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

Solutions to Section 2.9 Homework Problems Problems 1 5, 7, 9, 10 15, (odd), and 38. S. F. Ellermeyer June 21, 2002

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

Math 250B Midterm II Review Session Spring 2019 SOLUTIONS

Definitions for Quizzes

Math 54 HW 4 solutions

MATH2210 Notebook 3 Spring 2018

Kevin James. MTHSC 3110 Section 4.3 Linear Independence in Vector Sp

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

Midterm #2 Solutions

Lecture 21: 5.6 Rank and Nullity

PRACTICE PROBLEMS FOR THE FINAL

Math 313 Chapter 5 Review

Math 3191 Applied Linear Algebra

Math 4377/6308 Advanced Linear Algebra

GEOMETRY OF MATRICES x 1

3/3/2015 FIRST HOURLY PRACTICE I Math 21b, Spring Name: MWF9 George Boxer

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

Vector Spaces and Subspaces

Practice Final Exam. Solutions.

Answers in blue. If you have questions or spot an error, let me know. 1. Find all matrices that commute with A =. 4 3

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

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

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

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

Vector Spaces and Subspaces

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

Lecture 03. Math 22 Summer 2017 Section 2 June 26, 2017

EK102 Linear Algebra PRACTICE PROBLEMS for Final Exam Spring 2016

MATH 304 Linear Algebra Lecture 20: Review for Test 1.

SYMBOL EXPLANATION EXAMPLE

CHAPTER 5 REVIEW. c 1. c 2 can be considered as the coordinates of v

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

MTH Midterm 2 Review Questions - Solutions

Linear Transformations: Kernel, Range, 1-1, Onto

Solutions of Linear system, vector and matrix equation

5.2 Matrix Equations 289. An m n system of linear equations. x 2. x n

Solution Set 3, Fall '12

SUMMARY OF MATH 1600

5.4 Basis And Dimension

LECTURES 14/15: LINEAR INDEPENDENCE AND BASES

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

Lecture 13: Row and column spaces

(a) II and III (b) I (c) I and III (d) I and II and III (e) None are true.

Math 344 Lecture # Linear Systems

Math 2331 Linear Algebra

Chapter 2: Matrix Algebra

1 9/5 Matrices, vectors, and their applications

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

Elementary Matrices and Frame Sequences Elementary Matrices Definition of elementary matrix Computer algebra systems and elementary matrices

Math 2331 Linear Algebra

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

Math 1553, Introduction to Linear Algebra

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

Transcription:

Basis, Dimension, Kernel, Image Definitions: Pivot, Basis, Rank and Nullity Main Results: Dimension, Pivot Theorem Main Results: Rank-Nullity, Row Rank, Pivot Method Definitions: Kernel, Image, rowspace, colspace How to Compute: Nullspace, Rowspace, Colspace Dimension, Kernel and Image Testing Bases for Equivalence Equivalent Bases: Computer Illustration A False Test for Equivalent Bases

Definitions: Pivot and Basis Pivot of A Basis of V Definitions: Rank and Nullity A column in matrix A is called a pivot column of A provided the corresponding column in rref(a) contains a leading one. It is an independent set v 1,..., v k from data set V whose linear combinations generate all data items in V. Briefly: the vectors v 1,..., v k are independent and span V. rank(a) The number of leading ones in rref(a) nullity(a) The number of columns of A minus rank(a)

Main Results: Dimension, Pivot Theorem Theorem 1 (Dimension) If a vector space V has an independent spanning set v 1,..., v p and another independent spanning set u 1,..., u q, then p = q. The dimension of V is this unique number p. We write p = dim(v ). Theorem 2 (The Pivot Theorem) The pivot columns of a matrix A are linearly independent. A non-pivot column of A is a linear combination of the pivot columns of A. The proofs can be found in web documents and also in the textbook by E & P. Selfcontained proofs of the statements of the pivot theorem appear in these slides.

Lemma 1 Let B be invertible and v 1,..., v p independent. Then Bv 1,..., Bv p are independent. Proof of Independence of the Pivot Columns Consider the fundamental frame sequence identity rref(a) = EA where E = E k E 2 E 1 is a product of elementary matrices. Let B = E 1. Then implies that a pivot column j of A satisfies col(rref(a), j) = E col(a, j) col(a, j) = B col(i, j). Because the columns of I are independent, then also the pivot columns of A are independent, by the Lemma.

Proof of Non-Pivot Column Dependence Using matrix B from the previous proof, u = B v holds for a non-pivot column u of A and its corresponding non-pivot column v in C = rref(a). Because each nonzero row of C has a leading one, if a component v i 0, then row i of C has a leading one in column j i < i. Then col(c, j i ) is a column of the identity I and v = v i col(c, j i ). v i 0 Multiply the preceding display by B to give u = B v = v i 0 v i B col(c, j i ) = v i 0 v i col(a, j i ). Then u is a linear combination of pivot columns of A.

Main Results: Rank-Nullity, Row Rank, Pivot Method Theorem 3 (Rank-Nullity Equation) rank(a) + nullity(a) = column dimension of A Theorem 4 (Row Rank Equals Column Rank) The number of independent rows of a matrix A equals the number of independent columns of A. Equivalently, rank(a) = rank(a T ). Theorem 5 (Pivot Method) Let A be the augmented matrix of v 1,..., v k. Let the leading ones in rref(a) occur in columns i 1,..., i p. Then a largest independent subset of the k vectors v 1,..., v k is the set v i1, v i2,..., v ip.

Proof that rank(a) = rank(a T ) Let S denote the set of all linear combinations of the rows of A. Then S is a subspace, known as the row space of A. A frame sequence from A to rref(a) consists of combination, swap and multiply operations on the rows of A. Therefore, each nonzero row of rref(a) is a linear combination of the rows of A. Because these rows are independent and span S, then they are a basis for S. The size of the basis is rank(a). The pivot theorem applied to A T implies that each vector in S is a linear combination of the pivot columns of A T. Because the pivot columns of A T are independent and span S, then they are a basis for S. The size of the basis is rank(a T ). The two competing bases for S have sizes rank(a) and rank(a T ), respectively. But the size of a basis is unique, called the dimension of the subspace S, hence the equality rank(a) = rank(a T ).

Definitions: Kernel, Image, rowspace, colspace kernel(a) = nullspace(a) = {x : Ax = 0}. Image(A) = colspace(a) = {y : y = Ax for some x}. rowspace(a) = colspace(a T ) = {w : w = A T y for some y}. How to Compute Nullspace, Rowspace and Colspace Null Space. Compute rref(a). Write out the general solution x to Ax = 0, where the free variables are assigned parameter names t 1,..., t k. Report the basis for nullspace(a) as the list t1 x,..., tk x. Column Space. Compute rref(a). Identify the pivot columns i 1,..., i k. Report the basis for colspace(a) as the list of columns i 1,..., i k of A. Row Space. Compute rref(a T ). Identify the pivot columns j 1,..., j l of A T. Report the basis for rowspace(a) as the list of rows j 1,..., j l of A. Alternatively, compute rref(a), then rowspace(a) has a different basis consisting of the list of nonzero rows of rref(a).

Dimension, Kernel and Image Symbol dim(v ) equals the number of elements in a basis for V. Theorem 6 (Dimension Identities) (a) dim(nullspace(a)) = dim(kernel(a)) = nullity(a) (b) dim(colspace(a)) = dim(image(a)) = rank(a) (c) dim(rowspace(a)) = rank(a) (d) dim(kernel(a)) + dim(image(a)) = column dimension of A (e) dim(kernel(a)) + dim(kernel(a T )) = column dimension of A

Testing Bases for Equivalence Theorem 7 (Equivalence Test for Bases) Define augmented matrices B = aug(v 1,..., v k ), C = aug(u 1,..., u l ), W = aug(b, C). Then relation k = l = rank(b) = rank(c) = rank(w ) implies 1. v 1,..., v k is an independent set. 2. u 1,..., u l is an independent set. 3. span{v 1,..., v k } = span{u 1,..., u l } In particular, colspace(b) = colspace(c) and each set of vectors is an equivalent basis for this vector space. Proof: Because rank(b) = k, then the first k columns of W are independent. If some column of C is independent of the columns of B, then W would have k + 1 independent columns, which violates k = rank(w ). Therefore, the columns of C are linear combinations of the columns of B. Then vector space colspace(c) is a subspace of vector space colspace(b). Because both vector spaces have dimension k, then colspace(b) = colspace(c). The proof is complete.

Equivalent Bases: Computer Illustration The following maple code applies the theorem to verify that two bases are equivalent: 1. The basis is determined from the colspace command in maple. 2. The basis is determined from the pivot columns of A. In maple, the report of the column space basis is identical to the nonzero rows of rref(a T ). with(linalg): A:=matrix([[1,0,3],[3,0,1],[4,0,0]]); colspace(a); # Solve Ax=0, basis v1,v2 below v1:=vector([2,0,-1]);v2:=vector([0,2,3]); rref(a); # Find the pivot cols=1,3 u1:=col(a,1); u2:=col(a,3); # pivot col basis B:=augment(v1,v2); C:=augment(u1,u2); W:=augment(B,C); rank(b),rank(c),rank(w); # Test requires all equal 2

A False Test for Equivalent Bases The relation rref(b) = rref(c) holds for a substantial number of matrices B and C. However, it does not imply that each column of C is a linear combination of the columns of B. For example, define 1 0 1 1 B = 0 1, C = 0 1. 1 1 1 0 Then rref(b) = rref(c) = 1 0 0 1 0 0 but col(c, 2) is not a linear combination of the columns of B. colspace(b) colspace(c)., This means Geometrically, the column spaces are planes in R 3 which intersect only along the line L through the two points (0, 0, 0) and (1, 0, 1).