MTH 35, SPRING 2017 NIKOS APOSTOLAKIS

Similar documents
ICS 6N Computational Linear Algebra Matrix Algebra

10. Linear Systems of ODEs, Matrix multiplication, superposition principle (parts of sections )

[ Here 21 is the dot product of (3, 1, 2, 5) with (2, 3, 1, 2), and 31 is the dot product of

Matrix Arithmetic. a 11 a. A + B = + a m1 a mn. + b. a 11 + b 11 a 1n + b 1n = a m1. b m1 b mn. and scalar multiplication for matrices via.

Elementary maths for GMT

Two matrices of the same size are added by adding their corresponding entries =.

Matrices. Math 240 Calculus III. Wednesday, July 10, Summer 2013, Session II. Matrices. Math 240. Definitions and Notation.

Matrix Algebra 2.1 MATRIX OPERATIONS Pearson Education, Inc.

Math 4377/6308 Advanced Linear Algebra

Phys 201. Matrices and Determinants

Matrix operations Linear Algebra with Computer Science Application

MATRICES AND MATRIX OPERATIONS

CLASS 12 ALGEBRA OF MATRICES

n n matrices The system of m linear equations in n variables x 1, x 2,..., x n can be written as a matrix equation by Ax = b, or in full

Basic Concepts in Linear Algebra

Foundations of Cryptography

DM559 Linear and Integer Programming. Lecture 3 Matrix Operations. Marco Chiarandini

Matrices and their operations No. 1

Matrices and Linear Algebra

Linear Algebra and Matrix Inversion

Introduction. Vectors and Matrices. Vectors [1] Vectors [2]

7.5 Operations with Matrices. Copyright Cengage Learning. All rights reserved.

Matrix Algebra. Matrix Algebra. Chapter 8 - S&B

Linear Equations in Linear Algebra

Matrices: 2.1 Operations with Matrices

Calculus II - Basic Matrix Operations

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

Matrices Gaussian elimination Determinants. Graphics 2009/2010, period 1. Lecture 4: matrices

CS100: DISCRETE STRUCTURES. Lecture 3 Matrices Ch 3 Pages:

Review of Basic Concepts in Linear Algebra

Mathematics 13: Lecture 10

2.1 Matrices. 3 5 Solve for the variables in the following matrix equation.

Math 360 Linear Algebra Fall Class Notes. a a a a a a. a a a

Matrix Arithmetic. j=1

MTH 35, SPRING 2017 NIKOS APOSTOLAKIS

is a 3 4 matrix. It has 3 rows and 4 columns. The first row is the horizontal row [ ]

Matrix Multiplication

Kevin James. MTHSC 3110 Section 2.1 Matrix Operations

Matrix Operations. Linear Combination Vector Algebra Angle Between Vectors Projections and Reflections Equality of matrices, Augmented Matrix

Prepared by: M. S. KumarSwamy, TGT(Maths) Page

Chapter 2 Notes, Linear Algebra 5e Lay

Introduction to Matrix Algebra

Lecture 3: Matrix and Matrix Operations

Topics. Vectors (column matrices): Vector addition and scalar multiplication The matrix of a linear function y Ax The elements of a matrix A : A ij

Chapter 5: Matrices. Daniel Chan. Semester UNSW. Daniel Chan (UNSW) Chapter 5: Matrices Semester / 33

MTH5112 Linear Algebra I MTH5212 Applied Linear Algebra (2017/2018)

Chapter 2. Matrix Arithmetic. Chapter 2

MATH Topics in Applied Mathematics Lecture 12: Evaluation of determinants. Cross product.

Matrices. Chapter Definitions and Notations

Differential equations

3. Vector spaces 3.1 Linear dependence and independence 3.2 Basis and dimension. 5. Extreme points and basic feasible solutions

Linear Algebra V = T = ( 4 3 ).

Finite Mathematics Chapter 2. where a, b, c, d, h, and k are real numbers and neither a and b nor c and d are both zero.

Matrices. Chapter What is a Matrix? We review the basic matrix operations. An array of numbers a a 1n A = a m1...

Instruction: Operations with Matrices ( ) ( ) log 8 log 25 = If the corresponding elements do not equal, then the matrices are not equal.

Appendix C Vector and matrix algebra

Section 9.2: Matrices.. a m1 a m2 a mn

MATRICES The numbers or letters in any given matrix are called its entries or elements

Fall Inverse of a matrix. Institute: UC San Diego. Authors: Alexander Knop

Kevin James. MTHSC 412 Section 3.1 Definition and Examples of Rings

Evaluating Determinants by Row Reduction

Chapter 4 - MATRIX ALGEBRA. ... a 2j... a 2n. a i1 a i2... a ij... a in

Knowledge Discovery and Data Mining 1 (VO) ( )

INSTITIÚID TEICNEOLAÍOCHTA CHEATHARLACH INSTITUTE OF TECHNOLOGY CARLOW MATRICES

* is a row matrix * An mxn matrix is a square matrix if and only if m=n * A= is a diagonal matrix if = 0 i

Lecture 3 Linear Algebra Background

CS 246 Review of Linear Algebra 01/17/19

Announcements Wednesday, October 10

Section 12.4 Algebra of Matrices

Matrix & Linear Algebra

Announcements Monday, October 02

Linear Algebra. Linear Equations and Matrices. Copyright 2005, W.R. Winfrey

Math Linear Algebra Final Exam Review Sheet

Chapter 2. Ma 322 Fall Ma 322. Sept 23-27

Matrix Algebra Determinant, Inverse matrix. Matrices. A. Fabretti. Mathematics 2 A.Y. 2015/2016. A. Fabretti Matrices

Graduate Mathematical Economics Lecture 1

Worksheet 3: Matrix-Vector Products ( 1.3)

Section 9.2: Matrices. Definition: A matrix A consists of a rectangular array of numbers, or elements, arranged in m rows and n columns.

Vectors and Matrices

Topic 1: Matrix diagonalization

1 Matrices and matrix algebra

1 The Basics: Vectors, Matrices, Matrix Operations

6.1 Matrices. Definition: A Matrix A is a rectangular array of the form. A 11 A 12 A 1n A 21. A 2n. A m1 A m2 A mn A 22.

MATRICES. a m,1 a m,n A =

Matrix Arithmetic. (Multidimensional Math) Institute for Advanced Analytics. Shaina Race, PhD

Chapter 2: Matrices and Linear Systems

MATH Mathematics for Agriculture II

MAT 2037 LINEAR ALGEBRA I web:

Lecture Notes in Linear Algebra

Elementary Row Operations on Matrices

Spring Nikos Apostolakis

Matrices BUSINESS MATHEMATICS

1 Matrices and Systems of Linear Equations. a 1n a 2n

L. Vandenberghe EE133A (Spring 2017) 3. Matrices. notation and terminology. matrix operations. linear and affine functions.

Math 4377/6308 Advanced Linear Algebra

This last statement about dimension is only one part of a more fundamental fact.

Exercise Set Suppose that A, B, C, D, and E are matrices with the following sizes: A B C D E

22A-2 SUMMER 2014 LECTURE Agenda

Jim Lambers MAT 610 Summer Session Lecture 1 Notes

Prelims Linear Algebra I Michaelmas Term 2014

Transcription:

MTH 35, SPRING 2017 NIKOS APOSTOLAKIS 1. Linear transformations Definition 1. A function T : R n R m is called a linear transformation if, for any scalars λ,µ R and any vectors u,v R n we have: T(λu+µv) = λt(u)+µt(v) The following properties are consequence of the definition: Proposition 2. A linear transformation T : R n R m (1) takes 0 to 0, i.e. T(0) = 0 (2) takes sums to sums, i.e. T(u+v) = T(u)+T(v) (3) takes scalar multiples to scalar multiples, i.e. T(λv) = λt(v) (4) takes linear combinations to linear combinations, i.e. T(λ 1 v 1 +λ 2 v 2 +...+λ k v k ) = λ 1 T(v 1 )+λ 2 T(v 2 )+...λ k T(v k ) Furthermore, if properties (2) and (3) hold for a function T : R n R m, then T is a linear transformation. Example 3. The zero transformation, O: R n R m is defined as: T(x) = 0 O is clearly linear. Example 4. The identity transformation, I n : R n R n is defined as: I n (x) = x I n is clearly linear. Example 5. Let T : R 2 R be given by T(xi+yj) = 2x 3y. Then T is a linear transformation. Indeed, let u = u 1 i+u 2 j, v = v 1 i+v 2 j, and λ,µ R. Then we have: and T(λu+µv) = T ((λu 1 +µv 1 )i+(λu 2 +µv 2 )j) = 2(λu 1 +µv 1 )+3(λu 2 +µv 2 ) = 2(λu 1 +µv 1 )+3(λu 2 +µv 2 ) = 2λu 1 +2µv 1 +3λu 2 +3µv 2 λt(u)+µt(v) = λ(2u 1 +3u 2 )+µ(2v 1 +3v 2 ) = 2λu 1 +3λu 2 +2µv 1 +3µv 2 Date: February 23, 2017. 1

2 NIKOS APOSTOLAKIS Example 6. LetT: R 2 R 3 be defined byt(xi+yj) = xi+(x+y)j+2yk. This is also a linear transformation. Indeed, let u = u 1 i+u 2 j, v = v 1 i+v 2 j, and λ,µ R. Then we have: T(λu+µv) = T ((λu 1 +µv 1 )i+(λu 2 +µv 2 )j) and = (λu 1 +µv 1 )i+((λu 1 +µv 1 )+(λu 2 +µv 2 ))j+2(λu 2 +µv 2 )k = ( λu 1 µv 1 )i+(λu 1 +µv 1 +λu 2 +µv 2 )j+(2λu 2 +2µv 2 )k λt(u)+µt(v) = λ( u 1 i+(u 1 +u 2 )j+2u 2 k)+µ( v 1 i+(v 1 +v 2 )j+2v 2 k) = λu 1 i+λ(u 1 +u 2 )j+2λu 2 k µv 1 i+µ(v 1 +v 2 )j+2µv 2 k = ( λu 1 µv 1 )i+(λu 1 +λu 2 +µv 1 +µv 2 )j+(2λu 2 +2µv 2 )k We can get many more examples by using multiplication of a vector by a matrix 1. In previous classes we were writing Ax for the variable part of a linear system. We now make this notation official: Definition 7. Let A be an m n matrix and x R n. Then the product Ax is the a vector in R m given by Ax = (r 1 x,...,r m x) where r j, j = 1,...,m are the row vectors of A and is the dot product. In expanded form, if we write x and Ax as column vectors we have: a 11 a 12... a 1n x 1 a 11 x 1 +a 12 x 2 + +a 1n x n a 21 a 22... a 2n x 2....... = a 21 x 1 +a 22 x 2 + +a 2n x n. a m1 a n2... a mn x n a m1 x 1 +a m2 x 2 + +a mn x n Proposition 8. If A is an m n matrix, then the function T A : R n R m defined by T A (x) = Ax is a linear transformation. Example 9. The 2 2 matrix A = 1 2 3 4 gives the linear transformation T A : R 2 R 2 : x1 1 2 x1 x1 2x = 2 x 2 3 4 x 2 3x 1 +4x 2 Or by using horizontal notation for vectors: T A ((x 1,x 2 )) = (x 1 2x 2, 3x 1 +4x 2 ) As an exercise, do verify that this formula indeed defines a linear transformation. 1 In the next section we see that this is a special case of multiplication of two matrices.

MTH 35, SPRING 2017 3 It turns out that all linear transformations come from multiplying by a matrix. We explain this below: If T is a linear transformation, then if we know the values T(b i ) for all vectors in a basis of R n we can determine the value for any vector v R n. Indeed, v is a linear combination of the vectors b i, say v = x 1 b 1 +...+x n b n, and by property (4) in Proposition 2 we have that T(v) = x 1 T(b 1 )+...+x n T(b n ) In particular, we can use the values of T in the standard basis e i of R n. Each T(e i ) is a vector in R m so it has m coordinates in the standard basis of R m, and we can organize all these values into and m n matrix: Definition 10. The matrix of a linear transformation T : R n R m is the matrix [T] that has as columns the values T(e i ), where e i, i = 1,...,n is the standard basis of R n, i.e. [T] = [ T(e 1 )... T(e) n ] Example 11. The matrix of the zero transformation (see Example 3) is the zero matrix: all entries are 0. Example 12. The matrix of the identity transformation I n is the so-called n n identity matrix: 1 0... 0 0 1... 0...... 0 0... 1 Example 13. If T is the linear transformation of Example 5 we have: so we get the 1 2 matrix: Notice that T(e 1 ) = 2, T(e 2 ) = 3 [T] = ( 2 3 ) [T]x = ( 2 3 ) x = ( 2x 3y ) y Example 14. For the linear transformation of Example 6 we have: so Notice that T(e 1 ) = ( 1,1,0), T(e 2 ) = (0,1,2) [T] = 1 0 1 1 0 2 [T]v = 1 0 ( 1 1 x = y) x x+y 0 2 2y

4 NIKOS APOSTOLAKIS So, as in the previous Example, the linear transformation we get by multiplying with the matrix [T] is T itself. Proposition 15. For any linear transformation T, we have: T(x) = [T]x 2. Matrix Multiplication Definition 16. Let A be an m n and B and n k matrix. Write A as a column of row vectors and B as a a row of column vectors: r 1 r 2 A =. r m B = ( c 1 c 2 c k ) Then we define the product A B to be the n k matrix AB = (r i c j ), i = 1,...,m, j = 1,...,k i.e. the (i,j) entry of AB is the dot product of the ith row of A with the jth column of B. Notice that this makes sense because each row of A and each column of B are in R n. Proposition 17. The multiplication of matrices has the following properties: (1) It is associative: If A, B, and C are matrices then (AB)C = A(BC) (2) It distributes over addition from the left and from the right: A(B +C) = AB +AC, (3) It is linear; if λ R then: (λa)b = λ(ab) (A+B)C = AC +BC A(λB) = λ(ab) Since multiplication of matrices is not always defined, the above equations should be understood as saying than whenever the left side is defined, the right side is also defined and is equal to the left side. Remark 18. In general multiplication of matrices is not commutative. If A and B are matrices so that AB and BA are both defined, the two products are not necessarily equal. Example 19. Let Then we can calculate: AB = A = 1 2, B = 3 4 5 11, BA = 11 25 1 3 2 4 10 14 14 20

MTH 35, SPRING 2017 5 Definition 20. The zero m n matrix is the matrix whose all entries are 0. We usually denote the zero m n matrix by O mn or, when there is no risk of confusion, simply by O. The identity n n matrix is the matrix that has every diagonal entry equal to 1, and all other entries equal to 0. We denote the n n identity matrix by I n or, when there is no risk of confusion, simply by I. Proposition 21. We have: OA = O, AO = O IA = A, AI = A whenever the products are defined. Why do we multiply matrices that way? The answer is that matrix multiplication corresponds to composition linear transformations. Proposition 22. Let T : R n R m and S: R m R k then (1) The composition S T : R n R k is also a linear transformation. (2) The matrix of S T equals to the product of the matrix of S with the matrix of T, that is: 2.1. Exercises. [S T] = [S][T]