Linear Transformations

Slides:



Advertisements
Similar presentations
5.4 Basis And Dimension.
Advertisements

8.2 Kernel And Range.
1 1.8 © 2012 Pearson Education, Inc. Linear Equations in Linear Algebra INTRODUCTION TO LINEAR TRANSFORMATIONS.
Linear Transformations
THE DIMENSION OF A VECTOR SPACE
6 1 Linear Transformations. 6 2 Hopfield Network Questions.
Orthogonality and Least Squares
Elementary Linear Algebra Anton & Rorres, 9 th Edition Lecture Set – 08 Chapter 8: Linear Transformations.
Linear Algebra Lecture 25.
ME 1202: Linear Algebra & Ordinary Differential Equations (ODEs)
4 4.2 © 2012 Pearson Education, Inc. Vector Spaces NULL SPACES, COLUMN SPACES, AND LINEAR TRANSFORMATIONS.
Sections 1.8/1.9: Linear Transformations
Section 4.1 Vectors in ℝ n. ℝ n Vectors Vector addition Scalar multiplication.
Chap. 6 Linear Transformations
Introductions to Linear Transformations Function T that maps a vector space V into a vector space W: V: the domain of T W: the codomain of T Chapter.
Chapter 4 Linear Transformations 4.1 Introduction to Linear Transformations 4.2 The Kernel and Range of a Linear Transformation 4.3 Matrices for Linear.
4 4.6 © 2012 Pearson Education, Inc. Vector Spaces RANK.
4.6: Rank. Definition: Let A be an mxn matrix. Then each row of A has n entries and can therefore be associated with a vector in The set of all linear.
4 © 2012 Pearson Education, Inc. Vector Spaces 4.4 COORDINATE SYSTEMS.
Systems of Linear Equations in Vector Form Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
4.3 Linearly Independent Sets; Bases
Vector Spaces Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
Linear Transformations
4.8 Rank Rank enables one to relate matrices to vectors, and vice versa. Definition Let A be an m  n matrix. The rows of A may be viewed as row vectors.
A function is a rule f that associates with each element in a set A one and only one element in a set B. If f associates the element b with the element.
4 4.5 © 2016 Pearson Education, Inc. Vector Spaces THE DIMENSION OF A VECTOR SPACE.
Coordinate Systems Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
Chapter 5 Chapter Content 1. Real Vector Spaces 2. Subspaces 3. Linear Independence 4. Basis and Dimension 5. Row Space, Column Space, and Nullspace 6.
The Matrix Equation A x = b (9/16/05) Definition. If A is an m  n matrix with columns a 1, a 2,…, a n and x is a vector in R n, then the product of A.
Matrix Arithmetic Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
Chapter 4 Linear Transformations 4.1 Introduction to Linear Transformations 4.2 The Kernel and Range of a Linear Transformation 4.3 Matrices for Linear.
 Matrix Operations  Inverse of a Matrix  Characteristics of Invertible Matrices …
REVIEW Linear Combinations Given vectors and given scalars
Eigenvalues and Eigenvectors
Matrix Arithmetic Prepared by Vince Zaccone
Systems of Linear Equations
Vector Spaces Prepared by Vince Zaccone
Orthogonal Projections
Linear Transformations
Linear Algebra Linear Transformations. 2 Real Valued Functions Formula Example Description Function from R to R Function from to R Function from to R.
Linear Transformations
Systems of Linear Equations
Systems of Linear Equations
Coordinate Systems Prepared by Vince Zaccone
Least Squares Approximations
Lecture 03: Linear Algebra
Linear Independence Prepared by Vince Zaccone
Linear Transformations
Section 1.8: Introduction to Linear Transformations.
Vector Spaces Prepared by Vince Zaccone
Linear Algebra Lecture 22.
Least Squares Approximations
4.6: Rank.
Systems of Linear Equations
1.3 Vector Equations.
Linear Algebra Lecture 37.
The Inverse of a Matrix Prepared by Vince Zaccone
Mathematics for Signals and Systems
Properties of Solution Sets
Maths for Signals and Systems Linear Algebra in Engineering Lecture 6, Friday 21st October 2016 DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL.
Systems of Linear Equations
Orthogonal Projections
Linear Transformations
Coordinate Systems Prepared by Vince Zaccone
Diagonalization Prepared by Vince Zaccone
Vector Spaces RANK © 2012 Pearson Education, Inc..
THE DIMENSION OF A VECTOR SPACE
NULL SPACES, COLUMN SPACES, AND LINEAR TRANSFORMATIONS
Linear Equations in Linear Algebra
Linear Equations in Linear Algebra
Presentation transcript:

Linear Transformations Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations A transformation (or function or mapping) T from ℝn to ℝm is a rule that assigns to each vector x in ℝn a vector T (x) in ℝm . The set ℝn is called the domain of T, and ℝm is called the codomain of T. The notation T: ℝn → ℝm says the domain of T is ℝn and codomain is ℝm . For x in ℝn , the vector T (x) in ℝm is called the image of x. The set of all images T (x) is called the range of T. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations For each x in ℝn , T(x) is computed as Ax, where A is an mxn matrix. For simplicity, we denote such a matrix transformation by x↦Ax. The domain of T is ℝn when A has n columns and the codomain of T is ℝm when each column of A has m entries. So an mxn matrix transforms vectors from ℝn into vectors from ℝm. Here are a few examples of transformation matrices: Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations This matrix is 2x2, so it transforms vectors from ℝ2 into (other) vectors from ℝ2. To see what this matrix does, we can where it takes a few specific vectors. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations This matrix is 2x2, so it transforms vectors from ℝ2 into (other) vectors from ℝ2. To see what this matrix does, we can where it takes a few specific vectors. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations This matrix is 2x2, so it transforms vectors from ℝ2 into (other) vectors from ℝ2. To see what this matrix does, we can where it takes a few specific vectors. Domain (ℝ2) Range (ℝ2) This is a shear transformation. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations This matrix is 2x2, so it transforms vectors from ℝ2 into (other) vectors from ℝ2. To see what this matrix does, we can where it takes a few specific vectors. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations This matrix is 2x2, so it transforms vectors from ℝ2 into (other) vectors from ℝ2. To see what this matrix does, we can where it takes a few specific vectors. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations This matrix is 2x2, so it transforms vectors from ℝ2 into (other) vectors from ℝ2. To see what this matrix does, we can where it takes a few specific vectors. Domain (ℝ2) Range (ℝ2) This matrix is a combination of a rotation through 45° and a stretch by a factor of √2. We will have more to say about this type of matrix when we cover Chapter 5. Check out your textbook for more discussion of 2x2 transformation matrices. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations This matrix is 3x2, so it transforms vectors from ℝ2 into vectors from ℝ3. This transformation takes a vector from ℝ2 and maps it to a vector in ℝ3. There is more we can say though. The range of this transformation is not the entire 3-dimensional ℝ3 space. The images must be in a subset of ℝ3 that has dimension (at most) 2 – a plane. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations This matrix is 3x2, so it transforms vectors from ℝ2 into vectors from ℝ3. This transformation takes a vector from ℝ2 and maps it to a vector in ℝ3. There is more we can say though. The range of this transformation is not the entire 3-dimensional ℝ3 space. The images must be in a subset of ℝ3 that has dimension (at most) 2 – a plane. Domain (ℝ2) Range (plane in ℝ3) The images all lie on a plane. The Range can’t have a larger dimension than the Domain. We will see this as a more general rule later, but for now we need to know the concepts of ONE-TO-ONE and ONTO. This transformation is not ONTO because it does not span all of ℝ3. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations DEFINITIONS: A mapping T:ℝn↦ℝm is said to be ONTO (or surjective) if each b in ℝm is the image of at least one x in ℝn. Domain ℝn Range is All of ℝm T Domain ℝn Range is a proper subspace of ℝm T T is onto T is not onto A mapping T:ℝn↦ℝm is said to be ONE-TO-ONE (or injective) if each b in ℝm is the image of at most one x in ℝn. T T is one-to-one T T is not one-to-one Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations A couple of quick tests to see if a transformation is one-to-one or onto: More Columns than Rows – it can’t be One-to-One More Rows than Columns – it can’t be Onto More precisely: A transformation is onto iff the columns of A span ℝm. This happens when there is a pivot in every row. A transformation is one-to-one iff the columns are linearly independent. This happens when there is a pivot in every column. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations This matrix is 3x5, so it transforms vectors from ℝ5 into (other) vectors from ℝ3. To see what this matrix does, we can where it takes a few specific vectors. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations This matrix is 3x5, so it transforms vectors from ℝ5 into (other) vectors from ℝ3. To see what this matrix does, we can where it takes a few specific vectors. This one is a bit harder to visualize, but we are starting with vectors from ℝ5, and mapping them to vectors in ℝ3. The transformation is definitely not ONE-TO-ONE because the dimension of the range (at most 3) is certainly lower than the domain (5). The transformation will be ONTO as long as the set of column vectors in the matrix spans all of ℝ3. This can be checked in the usual way by row reducing the matrix and seeing that there are 3 pivot positions in the RREF form (see below). RREF for this matrix is (check this yourself!) Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations So far we have seen a few linear transformations, but what makes them LINEAR? Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations So far we have seen a few linear transformations, but what makes them LINEAR? To be linear, a transformation must have the following properties: For any vectors u and v in the domain of T For all scalars c and every vector u in the domain of T The basic idea is that for vector addition and scalar multiplication, the results are the same if you perform the operation before or after you apply the transformation. An important special case of the scalar multiplication rule is that This gives an easy way to test a transformation for linearity. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations Are the following transformations linear? 𝑎) 𝑇 𝑥,𝑦 =(2𝑥,𝑥+𝑦) 𝑏) 𝑇 𝑥,𝑦 =(𝑥−3𝑦,𝑥𝑦) 𝑐) 𝑇 𝑥,𝑦,𝑧 =(𝑥,𝑦,0) 𝑑) 𝑇 𝑥,𝑦,𝑧 =(2𝑥,2𝑦,2) e) 𝑇 𝑥,𝑦,𝑧,𝑤 =(2𝑥+𝑦,2𝑦+𝑧,2𝑧+𝑤) For the ones that are linear, find the matrix representation (in the standard basis). Find the dimensions of the Domain and Co-Domain, and determine whether the transformation is one-to-one or onto. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations 𝑎) 𝑇 𝑥,𝑦 =(2𝑥,𝑥+𝑦) This is a linear transformation (from ℝ 2 to ℝ 2 ). The formulas involve only linear combinations of the inputs. In order to prove that it is linear, use the definition: 𝑇 𝑥 1 + 𝑥 2 , 𝑦 1 + 𝑦 2 =(2( 𝑥 1 + 𝑥 2 ), (𝑥 1 + 𝑥 2 )+( 𝑦 1 + 𝑦 2 )) =(2 𝑥 1 , 𝑥 1 + 𝑦 1 )+(2 𝑥 2 , 𝑥 2 + 𝑦 2 )=𝑇( 𝑥 1 , 𝑦 1 )+𝑇( 𝑥 2 , 𝑦 2 ) 𝑇 𝑐𝑥,𝑐𝑦 =(2𝑐𝑥,𝑐𝑥+𝑐𝑦)=𝑐𝑇 𝑥,𝑦 Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations 𝑎) 𝑇 𝑥,𝑦 =(2𝑥,𝑥+𝑦) This is a linear transformation (from ℝ 2 to ℝ 2 ). The formulas involve only linear combinations of the inputs. In order to prove that it is linear, use the definition: 𝑇 𝑥 1 + 𝑥 2 , 𝑦 1 + 𝑦 2 =(2( 𝑥 1 + 𝑥 2 ), (𝑥 1 + 𝑥 2 )+( 𝑦 1 + 𝑦 2 )) =(2 𝑥 1 , 𝑥 1 + 𝑦 1 )+(2 𝑥 2 , 𝑥 2 + 𝑦 2 )=𝑇( 𝑥 1 , 𝑦 1 )+𝑇( 𝑥 2 , 𝑦 2 ) 𝑇 𝑐𝑥,𝑐𝑦 =(2𝑐𝑥,𝑐𝑥+𝑐𝑦)=𝑐𝑇 𝑥,𝑦 To find the matrix for the transformation, see what happens to the standard basis vectors: 𝑇 1 0 = 2 1 𝑇 0 1 = 0 1 Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations 𝑎) 𝑇 𝑥,𝑦 =(2𝑥,𝑥+𝑦) This is a linear transformation (from ℝ 2 to ℝ 2 ). The formulas involve only linear combinations of the inputs. In order to prove that it is linear, use the definition: 𝑇 𝑥 1 + 𝑥 2 , 𝑦 1 + 𝑦 2 =(2( 𝑥 1 + 𝑥 2 ), (𝑥 1 + 𝑥 2 )+( 𝑦 1 + 𝑦 2 )) =(2 𝑥 1 , 𝑥 1 + 𝑦 1 )+(2 𝑥 2 , 𝑥 2 + 𝑦 2 )=𝑇( 𝑥 1 , 𝑦 1 )+𝑇( 𝑥 2 , 𝑦 2 ) 𝑇 𝑐𝑥,𝑐𝑦 =(2𝑐𝑥,𝑐𝑥+𝑐𝑦)=𝑐𝑇 𝑥,𝑦 To find the matrix for the transformation, see what happens to the standard basis vectors: 𝑇 1 0 = 2 1 𝑇 0 1 = 0 1 The images of the standard basis vectors are the columns of the transformation matrix. 𝐴= 2 0 1 1 𝑇 𝑥 𝑦 = 2 0 1 1 𝑥 𝑦 = 2𝑥 𝑥+𝑦 √ The domain and range are both ℝ 2 . The matrix has a pivot in every row and every column, so it is one-to-one and onto. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations 𝑏) 𝑇 𝑥,𝑦 =(𝑥−3𝑦,𝑥𝑦) This one is a transformation from ℝ 2 to ℝ 2 , but is not linear. The second component involves a nonlinear combination of the inputs. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations 𝑏) 𝑇 𝑥,𝑦 =(𝑥−3𝑦,𝑥𝑦) This one is a transformation from ℝ 2 to ℝ 2 , but is not linear. The second component involves a nonlinear combination of the inputs. We can prove that this is not linear by showing an example where the definition is not satisfied: For example, 𝑇 2 1 = −1 2 , but 𝑇 4 2 = −2 8 . We expect to get −2 4 (twice the input = twice the output). This contradiction shows the transformation is not linear. I chose the 2 1 vector at random. We could show this contradiction in general by comparing 𝑇 𝑐𝑥 𝑐𝑦 = 𝑐𝑥−3𝑐𝑦 𝑐 2 𝑥𝑦 and c𝑇 𝑥 𝑦 = 𝑐𝑥−3𝑐𝑦 𝑐𝑥𝑦 . Not equal, so not linear. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations 𝑐) 𝑇 𝑥,𝑦,𝑧 =(𝑥,𝑦,0) This one is a linear transformation from ℝ 3 to ℝ 3 . Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations 𝑐) 𝑇 𝑥,𝑦,𝑧 =(𝑥,𝑦,0) This one is a linear transformation from ℝ 3 to ℝ 3 . To find the matrix, use the standard basis vectors: 𝑇 1 0 0 = 1 0 0 𝑇 0 1 0 = 0 1 0 𝑇 0 0 1 = 0 0 0 𝐴= 1 0 0 0 1 0 0 0 0 Notice this is already in reduced echelon form. There are pivots in the first two columns, and the first two rows. This transformation is neither one-to-one or onto. The domain is all of ℝ 3 . The range is a 2-D subspace of ℝ 3 , namely the x-y plane. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations 𝑑) 𝑇 𝑥,𝑦,𝑧 =(2𝑥,2𝑦,2) This one is a transformation from ℝ 3 to ℝ 3 , but is not linear. We can just check the zero vector on this one. 𝑇 0 0 0 = 0 0 2 Since 𝑇 0 ≠ 0 this transformation is not linear. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations This one is a linear transformation from ℝ 4 to ℝ 3 . Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Transformations This one is a linear transformation from ℝ 4 to ℝ 3 . Again, the matrix is found from the standard basis vectors. 𝐴= 2 1 0 0 0 2 1 0 0 0 2 1 This has a pivot in every row, but not every column. So this transformation is onto, but not one-to-one. Domain is all of ℝ 4 . Range is all of ℝ 3 . Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB