x = t 1 x 1 + t 2 x t k x k

Similar documents
Find the solution set of 2x 3y = 5. Answer: We solve for x = (5 + 3y)/2. Hence the solution space consists of all vectors of the form

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

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

Math 369 Exam #2 Practice Problem Solutions

Math 2174: Practice Midterm 1

ICS 6N Computational Linear Algebra Vector Space

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

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

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

MATH240: Linear Algebra Exam #1 solutions 6/12/2015 Page 1

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

Problems for M 10/12:

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

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

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

Solution Set 4, Fall 12

February 20 Math 3260 sec. 56 Spring 2018

Chapter 2 Subspaces of R n and Their Dimensions

Math 54 HW 4 solutions

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

Solutions to Math 51 Midterm 1 July 6, 2016

6.4 BASIS AND DIMENSION (Review) DEF 1 Vectors v 1, v 2,, v k in a vector space V are said to form a basis for V if. (a) v 1,, v k span V and

Linear Independence Reading: Lay 1.7

Lecture 13: Row and column spaces

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

Math 2331 Linear Algebra

Vector Spaces 4.3 LINEARLY INDEPENDENT SETS; BASES Pearson Education, Inc.

orthogonal relations between vectors and subspaces Then we study some applications in vector spaces and linear systems, including Orthonormal Basis,

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

Math 250B Midterm II Review Session Spring 2019 SOLUTIONS

Lecture 13: Orthogonal projections and least squares (Section ) Thang Huynh, UC San Diego 2/9/2018

Math 3191 Applied Linear Algebra

MATH 2360 REVIEW PROBLEMS

MTH 362: Advanced Engineering Mathematics

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

Math 102, Winter 2009, Homework 7

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

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

Section 4.5. Matrix Inverses

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

MTH 35, SPRING 2017 NIKOS APOSTOLAKIS

3.4 Elementary Matrices and Matrix Inverse

1 Linear systems, existence, uniqueness

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

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

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

18.06 Spring 2012 Problem Set 3

3.3 Linear Independence

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

Math 20F Practice Final Solutions. Jor-el Briones

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

Section 6.1. Inner Product, Length, and Orthogonality

Vector Spaces and Dimension. Subspaces of. R n. addition and scalar mutiplication. That is, if u, v in V and alpha in R then ( u + v) Exercise: x

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

b for the linear system x 1 + x 2 + a 2 x 3 = a x 1 + x 3 = 3 x 1 + x 2 + 9x 3 = 3 ] 1 1 a 2 a

Cheat Sheet for MATH461

6 Basis. 6.1 Introduction

(a). W contains the zero vector in R n. (b). W is closed under addition. (c). W is closed under scalar multiplication.

Practice Final Exam. Solutions.

Linear equations in linear algebra

Announcements Monday, October 29

(i) [7 points] Compute the determinant of the following matrix using cofactor expansion.

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

1 Last time: inverses

Maths for Signals and Systems Linear Algebra in Engineering

LINEAR ALGEBRA SUMMARY SHEET.

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

Math 240, 4.3 Linear Independence; Bases A. DeCelles. 1. definitions of linear independence, linear dependence, dependence relation, basis

Chapter 6 - Orthogonality

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

Math 308 Practice Test for Final Exam Winter 2015

Solutions to Math 51 First Exam October 13, 2015

Sections 1.5, 1.7. Ma 322 Fall Ma 322. Sept

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

Math 220 Some Exam 1 Practice Problems Fall 2017

Sample Final Exam: Solutions

Linear Algebra Final Exam Study Guide Solutions Fall 2012

Linear Independence. Consider a plane P that includes the origin in R 3 {u, v, w} in P. and non-zero vectors

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

Eigenvalues, Eigenvectors. Eigenvalues and eigenvector will be fundamentally related to the nature of the solutions of state space systems.

Sections 1.5, 1.7. Ma 322 Spring Ma 322. Jan 24-28

Chapter 6. Orthogonality and Least Squares

Lecture 3: Linear Algebra Review, Part II

Lecture 11: Vector space and subspace

Linear Equation: a 1 x 1 + a 2 x a n x n = b. x 1, x 2,..., x n : variables or unknowns

INVERSE OF A MATRIX [2.2]

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

Section 1.5. Solution Sets of Linear Systems

row operation. = elementary matrix E with B = EA [B = AE]. with Id E by the same elementary operation.

Spring 2015 Midterm 1 03/04/15 Lecturer: Jesse Gell-Redman

This lecture: basis and dimension 4.4. Linear Independence: Suppose that V is a vector space and. r 1 x 1 + r 2 x r k x k = 0

Mid-term Exam #2 MATH 205, Fall 2014

MATH2210 Notebook 3 Spring 2018

v = w if the same length and the same direction Given v, we have the negative v. We denote the length of v by v.

Math : Solutions to Assignment 10

and u and v are orthogonal if and only if u v = 0. u v = x1x2 + y1y2 + z1z2. 1. In R 3 the dot product is defined by

Linear Algebra Highlights

MATH 3321 Sample Questions for Exam 3. 3y y, C = Perform the indicated operations, if possible: (a) AC (b) AB (c) B + AC (d) CBA

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

Chapter 1: Linear Equations

Transcription:

Def.: Given vectors x,...,x k in R n, the set of all their linear combinations is called their span, and is denoted by span(x,...,x k ) Thm.: span(x,...,x k ) is a subspace of R n Def.: If V is a subspace of R n, the vectors x,...,x k in R n are called a spanning set for V if V = span(x,...,x k ) any x V can be written as x = t x + t 2 x 2 +... + t k x k with numbers t,..., t k Thm.: Every subspace has a spanning set 7.5 Span of a Set of Vectors Nullspaces: Ex.: Consider Ax = 0 for A = 3 2 0 0 0 0 0 Free variable: x 3 = t Equations: x 2 = 0, x 2t = 0 x = 2t 0 = t 2 0 t null(a) = span(2,0, T ) Ex.: Ax = 0 for A =,3, 2 Free variables: x 2 = s, x 3 = t Equation: x + 3s 2t = 0 2t 3s x = s = s 3 t 0 +t 2 0 null(a) = span( 3,,0 T,2,0, T )

Determine if a given x is in span(x,...,x k ):. Form matrix X = x,...,x k 2. Try to solve the system Xc = x for c 3. If Xc = x has no solution (system inconsistent), x is not in span(x,...,x k ) 4. If Xc = x has a solution c = c,..., c k T, then x = c x +... + c k x k is in span(x,...,x k ) Ex.: x =, x 2 2 = X = 2 augmented matrix for Xc = x: (a) Let x = M = M = X,x 5 : 5 2, 0 2 0 3 solution exists, c = 2, c 2 = 3 x = 2x + 3x 2 is in span(x,x 2 ) u (b) Let x = be arbitrary: v u 0 (v u)/3 M = 2 v 0 (2u + v)/3 Solution exists span(x,x 2 ) = R 2 2

2 Ex.: x =, x 2 =, 2 2 X = 2 Let x = 0 2 2 M = 2 0 0 0 Last column pivot solutions don t exist x is not in span(x,x 2 ) Note: x 2 = 2x c x + c 2 x 2 = (c + 2c 2 )x = (c /2 + c 2 )x 2 2 Ex.: x =, x 2 2 =, x 3 = General vector in span(x,x 2,x 3 ): x = c x + c 2 x 2 + c 3 x 3 Since x 3 = x 2 x x = c x + c 2 x 2 + c 3 (x 2 x ) = (c c 3 )x + (c 2 + c 3 )x 2 span(x,x 2,x 3 ) = span(x,x 2 ) and on p.2 it was shown that span(x,x 2 ) = R 2 span(x,x 2 ) = span(x ) = span(x 2 ) 3

Linear Dependence and Independence Def.: x,...,x k R n are linearly independent if the only linear combination of them that is 0 is trivial, i.e. c x +... + c k x k = 0 () c = c 2 = = c k = 0 linearly dependent if there are numbers c,..., c k, not all zero, for which () is satisfied. Linear independence check () Xc = 0 (2) Thm.: x,...,x k are linearly independent if (2) has only c = 0 as solution linearly dependent if (2) has nontrivial solutions If k > n, x,...,x k are always linearly dependent Ex.: x = X =, x 2 = R(2,, ) 0 2 Xc = 0 has only solution c = 0 x,x 2 are linearly independent 2 0 Ex.: + = 0 0 the 3 vectors are linearly dependent (k = 3 > 2) Ex.: x j = col j (X), j =,2,3, where 0 2 2 X = 2 3 0 0 2 2 4 0 0 0 Xc = 0 for c =,, T x +x 2 x 3 = 0 linearly dependent 4

Bases and Dimension of a Subspace, Rank of a Matrix Def.: A spanning set x,...,x k for a subspace V of R n is a basis of V if x,...,x k are linearly independent. Meaning: x V x = a x +... + a k x k with unique numbers a,..., a k Thm.:. Every subspace V has a basis (in fact, many) 2. All bases of V have the same number of vectors Def.: The dimension of a subspace V of R n is the number of vectors in a basis of V, and denoted by dim V. Def.: The rank of a matrix X is the number of pivots in an REF of X, and denoted by rank X. Thm.: Given a spanning set x,...,x k for a subspace V of R n, let X = x,...,x k. Then. dim V = rank X 2. x,...,x k is a basis of V if and only if rank X = k 3. If k = n and rank X = n, then x,...,x n form a basis of R n (dimr n = n) 5

Ex.: Let e j = col j (I) where I: n n identity matrix e,...,e n are a basis of R n called the standard basis 0 For n = 2: e =, e 0 2 = Ex.: x =, x 2 = Claim: x,x 2 are a basis of R 2 x Proof: Given x =, show that x y can be uniquely represented as x = a x + a 2 x 2 Equations for a, a 2 : x = a y + a 2 a = a 2 X = R(2,, ) 0 2 is nonsingular unique solution Ex.: A = 3 2 0 0 0 0 0 null(a) = span(2,0, T ) (see p.) 2,0, T is a basis of null(a) dimnull(a) = Ex.: A =,3, 2 (see p.) null(a) = span( 3,,0 T,2,0, T ) 3,,0 T,2,0, T are linearly independent 3,,0 T,2,0, T are a basis of null(a) dimnull(a) = 2 6

A: m n Computation of a Basis of a Nullspace Transform A REF(A) or RREF(A) For each choice of a free variable set this variable equal to and all other free variables equal to 0 For each of these choices solve for the pivot variables f (= of free variables) solution vectors x,...,x f for Ax = 0 x,...,x f null(a) are a basis of Ex.: A = Matlab RREF(A) = 3 2 6 2 4 2 4 8 6 2 2 4 0 /3 2/3 0 0 0 0 0 0 0 0 0 0 0 Free variables: x 3, x 4 ; and x 2 = 0 () Set x 3 =, x 4 = 0 x = /3 x = /3,0,,0 T (2) Set x 3 = 0, x 4 = x = 2/3 x 2 = 2/3,0,0, T x,x 2 are a basis of null(a) dimnull(a) = 2 7

Solutions of Inhomogeneous Systems and Nullspaces Form of general solution to Ax = b: x = x p + t x +... + t f x f where x p : particular solution x,...,x f : basis of null(a) t,..., t f : free parameters Finding x p : Transform M = A, b to REF(M) or RREF(M) Set all free variables 0 and solve for pivot variables Ex.: Ax = b for A = 0 2 4 2 2 3,b = 2 6 4 Augmented matrix: M = A, b. Matlab RREF(M) = 0 0 2 0 0 0 0 Free variable: x { 3 x = Set x 3 = 0 = 2 x p =, 2,0 T RREF(A) = x 2 0 0 0 0 0 x =,, T is basis of null(a) Solution set: {x = x p + tx t R} 8

Worked Out Examples (A) Is w in the span of the given vectors? If yes, find linear combination of spanning vectors for w. M Ex. : u =, 2 T, u 2 = 3,0 T. Is w = 5, 2 T in span(u,u 2 )? 3 3 5 Set U = ; Uc = w M = U,w = 2 0 2 0 2 { } 3 5 3 5 0 yes, c =,4/3 T 0 6 8 0 4/3 0 4/3 w = u + (4/3)u 2 Ex. 3: u =, 2 T, u 3 = 2, 4 T. Is w = 3, 3 T in span(u,u 3 )? 2 3 2 3 Here M = inconsistent 2 4 3 0 0 3 M = no, w is not in span(u,u 3 ) = span(u ) = span(u 3 ) Ex. 7: v =, 4,4 T, v 2 = 0, 2, T, v 3 =, 2,3 T. Is w =,0,2 T in span(v,v 2,v 3 )? 0 4 2 2 0 0 0 2 2 4 0 0 2 4 3 2 0 2 0 0 0 0 -parameter family of solutions. Choose, e.g., c 3 = 0 c =, c 2 = 2 yes, w = v 2v 2 + 0v 3 is in span(v,v 2,v 3 ) 9

(B) Either show that the given vectors are linearly independent or find nontrivial linear combination that adds to zero Ex. 7: v = Ex. 20: v = 2 8 9 6, v 2 = 3 2 0 7 ; X = 2 3 R(2,, 2) 0 5 REF has no free variables linearly independent 8 2, v2 = ; X = 9 0 R3(, /8) R(2,, 9),R(3,,6) Ex. 22: v = 8 9, v2 = 6 X 0 2 0 4 (RREF) 0 0 0 /4 0 9/4 0 7/2 R(3,2,34/9) 6 7 /4 0 9/4 0 0 REF has no free variables linearly independent 2 8 0, v3 = 8 ; X = 7 40 (REF) /4 9 0 6 7 (REF) 8 2 8 9 0 8 6 7 40 free variable: c 3, set c 3 = c = 2, c 2 = 4 2v 4v 2 + v 3 = 0 0

(C) Determine if nullspace of matrix is trivial (null(a) = 0) or nontrivial. If nontrivial, find a basis. Ex. 25: A = 2, (REF), free variable: y set y = 2x = 0 x = /2 basis /2, T 4 4 Ex. 28: A = null(a) = 0 2 2 0 Ex.: A = 0 2 0 2 2 2 4 4 0 0 2 4 3... 0 2 0 0 0 0 0 0 0 0 0 0 (RREF) free variables: x 3, x 4 set x 3 =, x 4 = 0 x 2 = 0, x 2 = 0 x = 2,0,,0 T set x 3 = 0, x 4 = x = 0, x 2 + = 0 x 2 =,,0, T x,x 2 are a basis of null(a)

(D) Find solution set of Ax = b using previously computed basis of null(a). A,b = A,b = Ex.: A as in Ex. 25, b = 2. M = A,b = 2,,2(REF), free variable: y, set y = 0 2x = 2 x = particular solution: x p =,0 T Use basis of nullspace from Ex. 25 solution set {x =,0 T + t/2, T t R} Ex.: A as in Ex. 28, b = 0, T. 4 4 0 0 0 2 2 0 Equations: x =, y = unique solution x =, T Ex.: A as in last Ex. of (C), p.; b = 0,6,0, 6 T. 0 2 0 2 0 0 2 3 2 2 4 4 6 0 0 0 0 0 0... 0 0 0 0 0 2 4 3 6 0 0 0 0 0 set free variables x 3 = x 4 = 0 x = 3, x 2 = 0 0 0 (RREF) particular solution x p = 3,0,0,0 T. Use basis of nullspace from Ex. on p. solution set {x = 3,0,0,0 T + s2,0,,0 T + t,,0, T s, t R} 2