Span & Linear Independence (Pop Quiz)

Similar documents
Span and Linear Independence

Fact: Every matrix transformation is a linear transformation, and vice versa.

Review for Chapter 1. Selected Topics

MATH 2331 Linear Algebra. Section 1.1 Systems of Linear Equations. Finding the solution to a set of two equations in two variables: Example 1: Solve:

Midterm 1 Review. Written by Victoria Kala SH 6432u Office Hours: R 12:30 1:30 pm Last updated 10/10/2015

Sept. 3, 2013 Math 3312 sec 003 Fall 2013

Linear equations in linear algebra

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

MA 242 LINEAR ALGEBRA C1, Solutions to First Midterm Exam

Math 54 HW 4 solutions

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

Section 1.8/1.9. Linear Transformations

Chapter 1: Systems of Linear Equations

System of Linear Equations

Properties of Linear Transformations from R n to R m

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

Solutions to Exam I MATH 304, section 6

Linear Equations in Linear Algebra

ICS 6N Computational Linear Algebra Vector Equations

Chapter 1: Linear Equations

Announcements Monday, September 25

Section 2.2: The Inverse of a Matrix

Chapter 1: Linear Equations

Linear Equations in Linear Algebra

LECTURES 14/15: LINEAR INDEPENDENCE AND BASES

Review Solutions for Exam 1

MATH10212 Linear Algebra B Homework Week 4

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

Linear Algebra Quiz 4. Problem 1 (Linear Transformations): 4 POINTS Show all Work! Consider the tranformation T : R 3 R 3 given by:

Linear transformations

Study Guide for Linear Algebra Exam 2

Linear Independence x

Linear Algebra Exam 1 Spring 2007

LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS

Math 2940: Prelim 1 Practice Solutions

Math 54 Homework 3 Solutions 9/

1. TRUE or FALSE. 2. Find the complete solution set to the system:

EXERCISE SET 5.1. = (kx + kx + k, ky + ky + k ) = (kx + kx + 1, ky + ky + 1) = ((k + )x + 1, (k + )y + 1)

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

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

MTH501- Linear Algebra MCQS MIDTERM EXAMINATION ~ LIBRIANSMINE ~

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

Announcements September 19

Section 3.3. Matrix Equations

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

VECTORS [PARTS OF 1.3] 5-1

Math Linear Algebra Final Exam Review Sheet

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

Announcements Wednesday, September 27

Chapter 2 Notes, Linear Algebra 5e Lay

Quizzes for Math 304

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

Math 369 Exam #2 Practice Problem Solutions

Math 4377/6308 Advanced Linear Algebra

Solutions of Linear system, vector and matrix equation

Chapter 3. Vector spaces

Linear Equations in Linear Algebra

Check that your exam contains 20 multiple-choice questions, numbered sequentially.

Linear Algebra Practice Problems

Math 3C Lecture 25. John Douglas Moore

1 Last time: determinants

Math 3A Winter 2016 Midterm

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

Math 301 Test I. M. Randall Holmes. September 8, 2008

Math 3C Lecture 20. John Douglas Moore

Chapter 1. Vectors, Matrices, and Linear Spaces

3.4 Elementary Matrices and Matrix Inverse

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

Sections 6.1 and 6.2: Systems of Linear Equations

Solving Linear Systems Using Gaussian Elimination

Row Space, Column Space, and Nullspace

MATH 220 FINAL EXAMINATION December 13, Name ID # Section #

MATH 225 Summer 2005 Linear Algebra II Solutions to Assignment 1 Due: Wednesday July 13, 2005

Linear Combination. v = a 1 v 1 + a 2 v a k v k

web: HOMEWORK 1

Linear Algebra MATH20F Midterm 1

10. Rank-nullity Definition Let A M m,n (F ). The row space of A is the span of the rows. The column space of A is the span of the columns.

Determine whether the following system has a trivial solution or non-trivial solution:

Solutions to Math 51 Midterm 1 July 6, 2016

February 20 Math 3260 sec. 56 Spring 2018

Final Exam Practice Problems Answers Math 24 Winter 2012

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

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

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

Linear Algebra (wi1403lr) Lecture no.4

Solution to Homework 1

Lecture 9: Vector Algebra

Linear Independence Reading: Lay 1.7

Linear Algebra Summary. Based on Linear Algebra and its applications by David C. Lay

CSL361 Problem set 4: Basic linear algebra

MTH 464: Computational Linear Algebra

Solutions to Midterm 2 Practice Problems Written by Victoria Kala Last updated 11/10/2015

Math 220 F11 Lecture Notes

Matrices and RRE Form

All of my class notes can be found at

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

Homework Set #8 Solutions

Chapter 1: Systems of Linear Equations and Matrices

Lecture 3: Gaussian Elimination, continued. Lecture 3: Gaussian Elimination, continued

MTH 464: Computational Linear Algebra

Transcription:

Span & Linear Independence (Pop Quiz). Consider the following vectors: v = 2, v 2 = 4 5, v 3 = 3 2, v 4 = Is the set of vectors S = {v, v 2, v 3, v 4 } linearly independent? Solution: Notice that the number of vectors in the set S (which is four) is greater than the number of components of each vector (which is three). This means that at least one column of the matrix A = [ v v 2 v 3 v 4 ] will not have a pivot. Therefore, the system Ax = has at least one free variable which means that the system has infinitely many nontrivial solutions. Equivalently, there exist constants x, x 2, x 3, and x 4 not all zero such that x v + x 2 v 2 + x 3 v 3 + x 4 v 4 =. Thus, by definition, S is linearly dependent.. 2. Consider the following vectors: v =, v 2 = 2, v 3 = Is the set of vectors S = {v, v 2, v 3 } linearly independent? Solution: In this problem, the number of vectors in the set S is equal to the number components of each vector. Therefore, neither linear independence nor dependence can be established using this fact. However, each column of the matrix A = v v 2 v 3 has a pivot. Therefore, S is linearly independent. 3. Suppose that in Problem 2, we change the vector v 3 to v 3 =. Is S linearly independent in this case? 5. 5 Solution: In this case, S is now linearly dependent. We see this just be using the fact that the matrix A = [ v v 2 v 3 ] has no pivot in the last column. We can also use the fact that v 3 is in Span{v 2 } since v 3 is a constant multiple of v 2. Since one of the vectors in the set depends on at least one of the other vectors (e.g. v 3 depends on v 2 ), S must be linearly dependent.

Note that Problems 2 and 3 illustrate the fact that it is possible for a set of vectors to be either linearly independent or linearly dependent if the number of vectors in the set is equal to the number of components of each vector. This actually also holds true if the number of vectors in a set is less than the number of components of each vector. 4. Consider the following vectors: v = 2 3, v 2 = Is the set of vectors S = {v, v 2 } linearly independent? Moreover, does S span R 3? Solution: Since v 2 = 2v, v 2 lies in Span{v }. Therefore, S is linearly dependent. To answer the next question, we need to determine if every vector in R 3 is a linear combination of the vectors in S. To access every vector in R 3, it makes sense that we would need at least three vectors to work with. Since S only contains two vectors, there isn t enough vectors to generate all of the vectors in R 3. Geometrically, Span{v, v 2 } is a line in R 3 through the origin which is not all of R 3. Thus, S does not span R 3. We can certainly answer both of the above questions by using pivots. Note that the reduced echelon matrix of A = v v 2 is 2. The boxed entry is the only pivot. Clearly, at least one row and at least one column of the reduced echelon matrix has no pivot. Therefore, S is a linearly dependent set that does not span R 3. 2 4 6.

Sections.8 &.9: Linear Transformations In your past precalculus courses, you studied the concept of a function. Recall that a function, f, is a rule that assigns to each input (variable x) a unique output (variable y = f(x)). For example, let f(x) = 2x. If the input is x =, then the output is f() = 2. This is an elementary idea, but let s stop and think about what the function actually does to each input. If we plug in any input value, the function will always double it since that is exactly what the rule is. The general idea here is that each inputted object (i.e. a number) is transformed into a different object (it could be a similar object such as another number) according to what the function (the rule) is. Now how does this idea extend to the world of matrices and vectors? Let s look at an example. Example: Let s define Ax = b where x and b are vectors in R 2 and 2 A =. We know that for each x in R 2 that we plug in, we obtain a new vector b in R 2. Therefore, we can think of T (x) = Ax as being the [ function, and x and b = T (x) as the input and output, respectively. Let s plug in x = and see what we get. It follows that 3] [ 2 3] }{{}}{{} A x Notice [ the effect that the matrix A has on the vector [ x geometrically. The matrix stretches 5 x = and rotates it to produce a new vector b =. (See Figure.) In general, all that 3] 2] a matrix A does to a vector x (when A is multiplied to x) is that A stretches (or compresses) x and then relocates it (by rotation or reflection). = [ 5 2] }{{} b Figure : Geometric description of matrix-vector multiplication (Ax = b).

The matrix A in the previous example is an example of a transformation. Definition: A transformation (or function or mapping) T from R n to R m is a rule that assigns to each vector x in R n a vector T (x) in R m. The set R n is called the domain of T, and R m is called the codomain of T. Notation: The notation T : R n R m simply means that T is a function that transforms vectors in R n (domain) to vectors in R m (codomain). Definition: For x in R n, the vector T (x) in R m is called the image of x under T. The set of all images T (x) is called the range of T. Matrix Transformations When T is defined to be T (x) = Ax, where A is an m n matrix and x is in R n, then T is called a matrix transformation. The transformation itself can be denoted by x Ax, which simply means that x is being mapped to the vector Ax. The matrix A is called the standard matrix for the linear transformation T. Note: If the size of A is m n and the size of x is n, then the size of b = Ax is m. Example: Define T : R 3 R 2 to be a transformation that projects every vector in R 3 onto the xy-plane. What is the image of x = 2 under T? 3 Solution: Since we are projecting x onto the xy-plane, we are expecting that the third component (the z-coordinate) of the image is zero. Note that the codomain is R 2, which means that we will need to express the output as a two-component vector. Thus, T [ 2 = 2] 3 The standard matrix that does this particular transformation is A =

Let s verify this. Ax = 2 = 3 [ () + (2) + (3) = () + (2) + (3) 2] Example: Let A = [ ] and u = 2 7. 9 (a) Define T : R 3 R 2 by T (x) = Ax. Determine T (u). Solution: Applying the same procedure as in the previous example, we obtain [ 2 T (u) = Au =. 7] 3 (b) Find a vector x whose image under T is. Is x unique? 4 3 Solution: Let b =. We wish to find a vector x such that T (x) = Ax = b. Note 4 that Ax = x x 2 = x 3 3 4 = x = 3, x 2 = 4, x 3 = free Therefore, every vector x in R 3 that maps to b has the form x = 3 4 + x 3 }{{} p One such vector is p. Since the system has a free variable, x is not unique. Note that we could have simply used the fact that A projects every vector in R 3 onto the xy-plane. Thus, any vector x in R 3 with an x-coordinate of 3 and a y-coordinate of 4 works. (c) Determine if b = 3 is in the range of T. 4 Solution: We showed in part (b) that there exists an x in R 3 such that T (x) = b. Thus, b is in the range of T.

Example: Let 3 5 5 A = 3 5. 2 4 4 4 (a) Find all x in R 4 that are mapped into the zero vector by the transformation x Ax. Solution: Note that the augmented matrix [ A ] has the following reduced echelon form 4 R = 3 Therefore, the system of equations is x 4x 3 = x 2 3x 3 = x 4 = where x 3 is a free variable. It follows that every x in R 4 that is mapped to has the form x 4x 3 4 x = x 2 x 3 = 3x 3 x 3 = x 3 3. x 4 (b) Determine if the vector b = is in the range of x Ax. Solution: To show that b is in the range of the transformation, it suffices to show that the columns of A span R 3. This is equivalent to showing that every row of A has a pivot. The coefficient matrix R in part (a) has a pivot in every row (and therefore this must also be the case for A). Hence, the columns of A span R 3, and so b must be in the range of the transformation.

Linear Transformations Definition: A transformation (or mapping) T is linear if: (i) T (u + v) = T (u) + T (v) for all u, v in the domain of T ; (ii) T (cu) = ct (u) for all scalars c and all u in the domain of T. Fact: Every matrix transformation is a linear transformation, and vice versa. Therefore, if you can find a matrix to implement the transformation, it is a linear transformation. Fact: If T is a linear transformation, then T () = and T (cu + dv) = ct (u) + dt (v) for all vectors u, v in the domain of T and all scalars c, d. In general, T (c v + + c p v p ) = c T (v ) + + c p T (v p ) which is known as a superposition principle. Example: Show that T (x, x 2, x 3 ) = (3x, 3, x 2 + x 3 ) is not a linear transformation. Solution: Note that the given transformation can be written as T x x 2 = 3x 3 x 3 x 2 + x 3 If c is any scalar, then T (cx) = T cx cx 2 = 3cx 3 ct (x) cx 3 cx 2 + cx 3 Thus, T is not a linear transformation.

Example: Show that T (x, x 2, x 3 ) = (x +x 2, 3x 2 2x 3 ) is a linear transformation by finding a matrix A that implements the mapping. Solution: To show that T is a linear transformation, it suffices to show that we can write the mapping as T (x) = Ax. x + x T (x) = 2 3x 2 2x 3 = x + x 2 + x 3 3 2 = x x 3 2 2 }{{} x 3 A }{{} x Example: Let x = x, v = x 2 x 3 [ [ [ 2, v ] 2 =, and v 3] 3 = and let T : R 2] 3 R 2 be a linear transformation that maps x into x v + x 2 v 2 + x 3 v 3. Find a matrix A so that T (x) = Ax for any x. Solution: The transformation that we are setting up is simply T (x) = [ v v 2 ] v 3 x, i.e. 2 T (x) = x x 3 2 2. x 3 Definition: The j th column of the identity matrix is denoted by e j. For example, if I = then e =, e 2 =, e 3 =.