MATH 304 Linear Algebra Lecture 15: Linear transformations (continued). Range and kernel. Matrix transformations.

Similar documents
Linear Algebra. Week 7

Linear Algebra. Session 8

MATH 423 Linear Algebra II Lecture 10: Inverse matrix. Change of coordinates.

Math 240 Calculus III

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

MATH 304 Linear Algebra Lecture 8: Vector spaces. Subspaces.

Row Space, Column Space, and Nullspace

MATH 304 Linear Algebra Lecture 19: Least squares problems (continued). Norms and inner products.

MATH 304 Linear Algebra Lecture 10: Linear independence. Wronskian.

x 3y 2z = 6 1.2) 2x 4y 3z = 8 3x + 6y + 8z = 5 x + 3y 2z + 5t = 4 1.5) 2x + 8y z + 9t = 9 3x + 5y 12z + 17t = 7

MATH 423 Linear Algebra II Lecture 11: Change of coordinates (continued). Isomorphism of vector spaces.

Vector Space and Linear Transform

MATH Topics in Applied Mathematics Lecture 2-6: Isomorphism. Linear independence (revisited).

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

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

YORK UNIVERSITY. Faculty of Science Department of Mathematics and Statistics MATH M Test #2 Solutions

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

MATH 54 QUIZ I, KYLE MILLER MARCH 1, 2016, 40 MINUTES (5 PAGES) Problem Number Total

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

MATH 304 Linear Algebra Lecture 34: Review for Test 2.

Math 344 Lecture # Linear Systems

The Laplace Transform. Background: Improper Integrals

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

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

MATH 304 Linear Algebra Lecture 23: Diagonalization. Review for Test 2.

Elements of linear algebra

MATH 167: APPLIED LINEAR ALGEBRA Chapter 2

Subspaces and Spanning Sets

Vector Spaces and Linear Transformations

The Laplace Transform. Background: Improper Integrals

Math Linear Algebra II. 1. Inner Products and Norms

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

Math 113 Winter 2013 Prof. Church Midterm Solutions

Eigenvalues and Eigenvectors A =

Criteria for Determining If A Subset is a Subspace

Lecture 23: 6.1 Inner Products

MATH 423 Linear Algebra II Lecture 3: Subspaces of vector spaces. Review of complex numbers. Vector space over a field.

R b. x 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9 1 1, x h. , x p. x 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9

Math 3191 Applied Linear Algebra

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

Linear Maps and Matrices

McGill University Math 325A: Differential Equations LECTURE 12: SOLUTIONS FOR EQUATIONS WITH CONSTANTS COEFFICIENTS (II)

Homework 2 Solutions

Linear Algebra Formulas. Ben Lee

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

Chapter 1. Vectors, Matrices, and Linear Spaces

Introduction to Differential Equations and Fourier Series: Math 110 Section Notes. Christopher Eur

Math 3191 Applied Linear Algebra

Chapter 2 Subspaces of R n and Their Dimensions

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

LINEAR DIFFERENTIAL EQUATIONS. Theorem 1 (Existence and Uniqueness). [1, NSS, Section 6.1, Theorem 1] 1 Suppose. y(x)

Lecture 22: Section 4.7

Solutions to Final Exam

1. Let r, s, t, v be the homogeneous relations defined on the set M = {2, 3, 4, 5, 6} by

Definition 3 A Hamel basis (often just called a basis) of a vector space X is a linearly independent set of vectors in X that spans X.

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

MATH 304 Linear Algebra Lecture 33: Bases of eigenvectors. Diagonalization.

Lecture 9. Econ August 20

Math 307: Problems for section 2.1

Math 369 Exam #2 Practice Problem Solutions

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

Scientific Computing: Dense Linear Systems

Eigenvalues and Eigenvectors

Math 322. Spring 2015 Review Problems for Midterm 2

Lecture 9: Vector Algebra

Lineaire algebra 1 najaar Oefenopgaven. Stephen H. Friedberg, Arnold J. Insel, Lawrence E. Spence, Linear Algebra

Math 3C Lecture 25. John Douglas Moore

Algebra II. Paulius Drungilas and Jonas Jankauskas

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

MATH 260 LINEAR ALGEBRA EXAM III Fall 2014

Vector space and subspace

MATH 423 Linear Algebra II Lecture 33: Diagonalization of normal operators.

1.4 Linear Transformation I

MATH 2030: ASSIGNMENT 4 SOLUTIONS

Econ Lecture 8. Outline. 1. Bases 2. Linear Transformations 3. Isomorphisms

Math 321: Linear Algebra

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

MAT Linear Algebra Collection of sample exams

Linear Algebra Short Course Lecture 2

MATH 205 HOMEWORK #3 OFFICIAL SOLUTION. Problem 1: Find all eigenvalues and eigenvectors of the following linear transformations. (a) F = R, V = R 3,

MATH 2360 REVIEW PROBLEMS

Linear Systems. Math A Bianca Santoro. September 23, 2016

NORMS ON SPACE OF MATRICES

Linear Algebra 1 Exam 2 Solutions 7/14/3

Online Exercises for Linear Algebra XM511

Chapter 3. Vector spaces

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

MATH 115A: SAMPLE FINAL SOLUTIONS

Disturbance Decoupling Problem

Linear Algebra II Lecture 8

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.

EE263: Introduction to Linear Dynamical Systems Review Session 2

Linear Algebra Review

Solution to Set 6, Math W = {x : x 1 + x 2 = 0} Solution: This is not a subspace since it does not contain 0 = (0, 0) since

Matrices and Linear transformations

MATH Spring 2011 Sample problems for Test 2: Solutions

Mathematics Department Stanford University Math 61CM/DM Vector spaces and linear maps

1 Invariant subspaces

Linear Algebra. 1.1 Introduction to vectors 1.2 Lengths and dot products. January 28th, 2013 Math 301. Monday, January 28, 13

Solution Set 4, Fall 12

Transcription:

MATH 304 Linear Algebra Lecture 15: Linear transformations (continued). Range and kernel. Matrix transformations.

Linear mapping = linear transformation = linear function Definition. Given vector spaces V 1 and V 2, a mapping L : V 1 V 2 is linear if L(x + y) = L(x) + L(y), L(rx) = rl(x) for any x,y V 1 and r R.

Properties of linear mappings Let L : V 1 V 2 be a linear mapping. L(r 1 v 1 + + r k v k ) = r 1 L(v 1 ) + + r k L(v k ) for all k 1, v 1,...,v k V 1, and r 1,...,r k R. L(r 1 v 1 + r 2 v 2 ) = L(r 1 v 1 ) + L(r 2 v 2 ) = r 1 L(v 1 ) + r 2 L(v 2 ), L(r 1 v 1 + r 2 v 2 + r 3 v 3 ) = L(r 1 v 1 + r 2 v 2 ) + L(r 3 v 3 ) = = r 1 L(v 1 ) + r 2 L(v 2 ) + r 3 L(v 3 ), and so on. L(0 1 ) = 0 2, where 0 1 and 0 2 are zero vectors in V 1 and V 2, respectively. L(0 1 ) = L(00 1 ) = 0L(0 1 ) = 0 2. L( v) = L(v) for any v V 1. L( v) = L(( 1)v) = ( 1)L(v) = L(v).

Examples of linear mappings Scaling L : V V, L(v) = sv, where s R. L(x + y) = s(x + y) = sx + sy = L(x) + L(y), L(rx) = s(rx) = r(sx) = rl(x). Dot product with a fixed vector l : R n R, l(v) = v v 0, where v 0 R n. l(x + y) = (x + y) v 0 = x v 0 + y v 0 = l(x) + l(y), l(rx) = (rx) v 0 = r(x v 0 ) = rl(x). Cross product with a fixed vector L : R 3 R 3, L(v) = v v 0, where v 0 R 3. Multiplication by a fixed matrix L : R n R m, L(v) = Av, where A is an m n matrix and all vectors are column vectors.

Linear mappings of functional vector spaces Evaluation at a fixed point l : F(R) R, l(f ) = f (a), where a R. Multiplication by a fixed function L : F(R) F(R), L(f ) = gf, where g F(R). Differentiation D : C 1 (R) C(R), L(f ) = f. D(f + g) = (f + g) = f + g = D(f ) + D(g), D(rf ) = (rf ) = rf = rd(f ). Integration over a finite interval l : C(R) R, l(f ) = a, b R, a < b. b a f (x) dx, where

Properties of linear mappings If a linear mapping L : V W is invertible then the inverse mapping L 1 : W V is also linear. If L : V W and M : W X are linear mappings then the composition M L : V X is also linear. If L 1 : V W and L 2 : V W are linear mappings then the sum L 1 + L 2 is also linear.

Linear differential operators an ordinary differential operator L : C (R) C d 2 (R), L = g 0 dx + g d 2 1 dx + g 2, where g 0, g 1, g 2 are smooth functions on R. That is, L(f ) = g 0 f + g 1 f + g 2 f. Laplace s operator : C (R 2 ) C (R 2 ), f = 2 f x 2 + 2 f y 2 (a.k.a. the Laplacian; also denoted by 2 ).

Basis and coordinates If {v 1,v 2,...,v n } is a basis for a vector space V, then any vector v V has a unique representation v = x 1 v 1 + x 2 v 2 + + x n v n, where x i R. The coefficients x 1, x 2,...,x n are called the coordinates of v with respect to the ordered basis v 1,v 2,...,v n. The mapping vector v its coordinates (x 1, x 2,...,x n ) is a one-to-one correspondence between V and R n. This correspondence respects linear operations in V and in R n, i.e., it is a linear transformation.

Change of coordinates Let V be a vector space of dimension n. Let v 1,v 2,...,v n be a basis for V and g 1 : V R n be the coordinate mapping corresponding to this basis. Let u 1,u 2,...,u n be another basis for V and g 2 : V R n be the coordinate mapping corresponding to this basis. V g 1 g 2 ւ ց R n R n The composition g 2 g 1 1 is a linear transformation of R n. It has the form x Ux, where U is an n n matrix. U is called the transition matrix from v 1,v 2...,v n to u 1,u 2...,u n. Columns of U are coordinates of the vectors v 1,v 2,...,v n with respect to the basis u 1,u 2,...,u n.

Example. Let V be the subspace of C(R) spanned by the function f (x) = xe x + 1 and its derivatives. Then dim V = 3. One basis for V is v 1 = f, v 2 = f, v 3 = f. Another basis is u 1 (x) = xe x, u 2 (x) = e x, u 3 (x) = 1. v 1 (x) = xe x + 1 = u 1 (x) + u 3 (x), v 2 (x) = xe x + e x = u 1 (x) + u 2 (x), v 3 (x) = xe x + 2e x = u 1 (x) + 2u 2 (x). Transition matrix from v 1, v 2, v 3 to u 1, u 2, u 3 : Notice that (u 1, u 2, u 3 ) 1 1 1 0 1 2 = (v 1, v 2, v 3 ). 1 0 0 1 1 1 0 1 2. 1 0 0

Range and kernel Let V,W be vector spaces and L : V W be a linear mapping. Definition. The range (or image) of L is the set of all vectors w W such that w = L(v) for some v V. The range of L is denoted L(V). The kernel of L, denoted ker(l), is the set of all vectors v V such that L(v) = 0. Theorem (i) The range of L is a subspace of W. (ii) The kernel of L is a subspace of V.

x 1 0 1 x Example. L : R 3 R 3, L y = 1 2 1 y. z 1 0 1 z The kernel ker(l) is the nullspace of the matrix. x 1 0 1 L y = x 1 + y 2 + z 1 z 1 0 1 The range L(R 3 ) is the column space of the matrix.

x 1 0 1 x Example. L : R 3 R 3, L y = 1 2 1 y. z 1 0 1 z The range of L is spanned by vectors (1, 1, 1), (0, 2, 0), and ( 1, 1, 1). It follows that L(R 3 ) is the plane spanned by (1, 1, 1) and (0, 1, 0). To find ker(l), we apply row reduction to the matrix: 1 0 1 1 2 1 1 0 1 0 2 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 Hence (x, y, z) ker(l) if x z = y = 0. It follows that ker(l) is the line spanned by (1, 0, 1).

Example. L : C 3 (R) C(R), L(u) = u 2u + u. According to the theory of differential equations, the initial value problem u (x) 2u (x) + u (x) = g(x), x R, u(a) = b 0, u (a) = b 1, u (a) = b 2 has a unique solution for any g C(R) and any b 0, b 1, b 2 R. It follows that L(C 3 (R)) = C(R). Also, the initial data evaluation I(u) = (u(a), u (a), u (a)), which is a linear mapping I : C 3 (R) R 3, is one-to-one when restricted to ker(l). Hence dim ker(l) = 3. It is easy to check that L(xe x ) = L(e x ) = L(1) = 0. It follows that ker(l) = Span(xe x, e x, 1).

General linear equations Definition. A linear equation is an equation of the form L(x) = b, where L : V W is a linear mapping, b is a given vector from W, and x is an unknown vector from V. The range of L is the set of all vectors b W such that the equation L(x) = b has a solution. The kernel of L is the solution set of the homogeneous linear equation L(x) = 0. Theorem If the linear equation L(x) = b is solvable and dim ker L <, then the general solution is x 0 + t 1 v 1 + + t k v k, where x 0 is a particular solution, v 1,...,v k is a basis for the kernel of L, and t 1,...,t k are arbitrary scalars.

{ x + y + z = 4, Example. x + 2y = 3. x ( ) L : R 3 R 2, L y 1 1 1 = x y. 1 2 0 z z ( ) 4 Linear equation: L(x) = b, where b =. 3 ( ) ( ) ( ) 1 1 1 4 1 1 1 4 1 0 2 5 1 2 0 3 0 1 1 1 0 1 1 1 { { x + 2z = 5 x = 5 2z y z = 1 y = 1 + z (x, y, z) = (5 2t, 1 + t, t) = (5, 1, 0) + t( 2, 1, 1).

Example. u (x) 2u (x) + u (x) = e 2x. Linear operator L : C 3 (R) C(R), Lu = u 2u + u. Linear equation: Lu = b, where b(x) = e 2x. We already know that functions xe x, e x and 1 form a basis for the kernel of L. It remains to find a particular solution. L(e 2x ) = 8e 2x 2(4e 2x ) + 2e 2x = 2e 2x. Since L is a linear operator, L ( 1 2 e2x) = e 2x. Particular solution: u 0 (x) = 1 2 e2x. Thus the general solution is u(x) = 1 2 e2x + t 1 xe x + t 2 e x + t 3.

Matrix transformations Any m n matrix A gives rise to a transformation L : R n R m given by L(x) = Ax, where x R n and L(x) R m are regarded as column vectors. This transformation is linear. x 1 0 2 x Example. L y = 3 4 7 y. z 0 5 8 z Let e 1 = (1, 0, 0), e 2 = (0, 1, 0), e 3 = (0, 0, 1) be the standard basis for R 3. We have that L(e 1 ) = (1, 3, 0), L(e 2 ) = (0, 4, 5), L(e 3 ) = (2, 7, 8). Thus L(e 1 ), L(e 2 ), L(e 3 ) are columns of the matrix.

Problem. Find a linear mapping L : R 3 R 2 such that L(e 1 ) = (1, 1), L(e 2 ) = (0, 2), L(e 3 ) = (3, 0), where e 1,e 2,e 3 is the standard basis for R 3. L(x, y, z) = L(xe 1 + ye 2 + ze 3 ) = xl(e 1 ) + yl(e 2 ) + zl(e 3 ) = x(1, 1) + y(0, 2) + z(3, 0) = (x + 3z, x 2y) ( ) ( ) x + 3z 1 0 3 L(x, y, z) = = x y x 2y 1 2 0 z Columns of the matrix are vectors L(e 1 ), L(e 2 ), L(e 3 ).

Theorem Suppose L : R n R m is a linear map. Then there exists an m n matrix A such that L(x) = Ax for all x R n. Columns of A are vectors L(e 1 ), L(e 2 ),...,L(e n ), where e 1,e 2,...,e n is the standard basis for R n. y = Ax y 1 y 2. y m = x 1 y 1 y 2. y m a 11 a 12... a 1n x 1 = a 21 a 22... a 2n x 2....... a m1 a m2... a mn x n a 11 a 21. a m1 + x 2 a 12 a 22. a m2 + + x n a 1n a 2n. a mn