Matrix Multiplication

Size: px
Start display at page:

Download "Matrix Multiplication"

Transcription

1 228 hapter Three Maps etween Spaces IV2 Matrix Multiplication After representing addition and scalar multiplication of linear maps in the prior subsection, the natural next operation to consider is function composition 2 Lemma The composition of linear maps is linear Proof (Note: this argument has already appeared, as part of the proof of Theorem I22) Let h: V W and g: W U be linear The calculation g h c ~v + c 2 ~v 2 = g h(c ~v + c 2 ~v 2 ) = g c h(~v )+c 2 h(~v 2 ) shows that g = c g h(~v )) + c 2 g(h(~v 2 ) = c (g h)(~v )+c 2 (g h)(~v 2 ) h: V U preserves linear combinations, and so is linear QED As we did with the operation of matrix addition and scalar multiplication, we will see how the representation of the composite relates to the representations of the compositors by first considering an example 22 Example Let h: R 4 R 2 and g: R 2 R 3, fix bases R 4, R 2, D R 3, and let these be the representations H = Rep, (h) = G = Rep ,D (g) A, To represent the composition g h: R 4 R 3 we start with a ~v, representh of ~v, andthenrepresentg of that The representation of h(~v) is the product of h s matrix and ~v s vector v Rep ( h(~v))= v 2 = 4v + 6v 2 + 8v 3 + 2v v 3 A 5v + 7v 2 + 9v 3 + 3v 4, The representation of g( h(~v)) is the product of g s matrix and h(~v) s vector 4v + 6v 2 + 8v 3 + 2v 4 Rep D ( g(h(~v)) A 5v + 7v 2 + 9v 3 + 3v 4,D (4v + 6v 2 + 8v 3 + 2v 4 )+ (5v + 7v 2 + 9v 3 + 3v 4 ) (4v + 6v 2 + 8v 3 + 2v 4 )+ (5v + 7v 2 + 9v 3 + 3v 4 ) A (4v + 6v 2 + 8v 3 + 2v 4 )+ (5v + 7v 2 + 9v 3 + 3v 4 ) v 4,D D

2 Section IV Matrix Operations 229 Distributing and regrouping on the v s gives ( 4 + 5)v +( 6 + 7)v 2 +( 8 + 9)v 3 +( 2 + 3)v )v +( 6 + 7)v 2 +( 8 + 9)v 3 +( 2 + 3)v 4 A ( 4 + 5)v +( 6 + 7)v 2 +( 8 + 9)v 3 +( 2 + 3)v 4 which is this matrix-vector product A v v 2 v 3 v 4 A D D The matrix representing g H h has the rows of G combined with the columns of 23 Definition The matrix-multiplicative product of the m r matrix G and the r n matrix H is the m n matrix P, where p i,j = g i, h,j + g i,2 h 2,j + + g i,r h r,j so that the i, j-th entry of the product is the dot product of the i-th row of the first matrix with the j-th column of the second h,j h 2,j GH g i, g i,2 g i,r A p i,j A h r,j 24 Example 4 6A A 34 54A Example Some products are not defined, such as the product of a 2 3 matrix with a 2 2, because the number of columns in the first matrix must equal the number of rows in the second ut the product of two n n matrices is always defined Here are two 2 2 s = (-) (-2) 3 (-) (-2) =

3 23 hapter Three Maps etween Spaces 26 Example The matrices from Example 22 combine in this A A A Theorem A composition of linear maps is represented by the matrix product of the representatives Proof This argument generalizes Example 22 Leth: V W and g: W X be represented by H and G with respect to bases V, W, andd X, of sizes n, r, andm For any ~v 2 V the k-th component of Rep ( h(~v)) is h k, v + + h k,n v n and so the i-th component of Rep D ( g h (~v)) is this g i, (h, v + + h,n v n )+g i,2 (h 2, v + + h 2,n v n ) Distribute and regroup on the v s + + g i,r (h r, v + + h r,n v n ) =(g i, h, + g i,2 h 2, + + g i,r h r, ) v Finish by recognizing that the coefficient of each v j + +(g i, h,n + g i,2 h 2,n + + g i,r h r,n ) v n g i, h,j + g i,2 h 2,j + + g i,r h r,j matches the definition of the i, j entry of the product GH QED This arrow diagram pictures the relationship between maps and matrices ( wrt abbreviates with respect to ) W wrt V wrt h H g h GH G g X wrt D

4 Section IV Matrix Operations 23 Above the arrows, the maps show that the two ways of going from V to X, straight over via the composition or else in two steps by way of W, havethe same effect ~v g h 7 g(h(~v)) ~v h 7 h(~v) g 7 g(h(~v)) (this is just the definition of composition) elow the arrows, the matrices indicate that multiplying GH into the column vector Rep (~v) has the same effect as multiplying the column vector first by H and then multiplying the result by G Rep,D (g h) =GH Rep,D (g) Rep, (h) =GH As mentioned in Example 25, because the number of columns on the left does not equal the number of rows on the right, the product as here of a 2 3 matrix with a 2 2 matrix is not defined The definition requires that the sizes match because we want that the underlying function composition is possible dimension n space h dimension r space g dimension m space ( ) Thus, matrix product combines the m r matrix G with the r n matrix F to yield the m n result GF riefly:m r times r n equals m n 28 Remark The order of the dimensions can be confusing In m r times r n equals m n thenumberwrittenfirstism utm appears last in the map dimension description line ( ) above, and the other dimensions also appear in reverse The explanation is that while h is done first, followed by g, wewrite the composition as g h, withg on the left (arising from the notation g(h(~v))) That carries over to matrices, so that g h is represented by GH We can get insight into matrix-matrix product operation by studying how the entries combine For instance, an alternative way to understand why we require above that the sizes match is that the row of the left-hand matrix must have the same number of entries as the column of the right-hand matrix, or else some entry will be left without a matching entry from the other matrix Another aspect of the combinatorics of matrix multiplication, in the sum defining the i, j entry, is brought out here by the boxing the equal subscripts p i,j = g i, h,j + g i, 2 h 2,j + + g i, r h r,j The highlighted subscripts on the g s are column indices while those on the h s are for rows That is, the summation takes place over the columns of G but

5 232 hapter Three Maps etween Spaces over the rows of H the definition treats left differently than right So we may reasonably suspect that GH can be unequal to HG 29 Example Matrix multiplication is not commutative = = Example ommutativity can fail more dramatically: = while isn t even defined Remark The fact that matrix multiplication is not commutative can seem odd at first, perhaps because most mathematical operations in prior courses are commutative ut matrix multiplication represents function composition and function composition is not commutative: if f(x) = 2x and g(x) = x + then g f(x) =2x + while f g(x) =2(x + ) =2x + 2 Except for the lack of commutativity, matrix multiplication is algebraically well-behaved The next result gives some nice properties and more are in Exercise 25 and Exercise Theorem If F, G, and H are matrices, and the matrix products are defined, then the product is associative (FG)H = F(GH) and distributes over matrix addition F(G + H) =FG + FH and (G + H)F = GF + HF Proof Associativity holds because matrix multiplication represents function composition, which is associative: the maps (f g) h and f (g h) are equal as both send ~v to f(g(h(~v))) Distributivity is similar For instance, the first one goes f (g + h)(~v) = f (g + h)(~v) = f g(~v) +h(~v) = f(g(~v)) + f(h(~v)) = f g(~v) +f h(~v) (the third equality uses the linearity of f) Right-distributivity goes the same way QED 23 Remark We could instead prove that result by slogging through indices For

6 Section IV Matrix Operations 233 example, for associativity the i, j entry of (FG)H is (f i, g, + f i,2 g 2, + + f i,r g r, )h,j +(f i, g,2 + f i,2 g 2,2 + + f i,r g r,2 )h 2,j +(f i, g,s + f i,2 g 2,s + + f i,r g r,s )h s,j where F, G, andh are m r, r s, ands n matrices Distribute f i, g, h,j + f i,2 g 2, h,j + + f i,r g r, h,j and regroup around the f s + f i, g,2 h 2,j + f i,2 g 2,2 h 2,j + + f i,r g r,2 h 2,j + f i, g,s h s,j + f i,2 g 2,s h s,j + + f i,r g r,s h s,j f i, (g, h,j + g,2 h 2,j + + g,s h s,j ) + f i,2 (g 2, h,j + g 2,2 h 2,j + + g 2,s h s,j ) + f i,r (g r, h,j + g r,2 h 2,j + + g r,s h s,j ) to get the i, j entry of F(GH) ontrast the two proofs The index-heavy argument is hard to understand in that while the calculations are easy to check, the arithmetic seems unconnected to any idea The argument in the proof is shorter and also says why this property really holds This illustrates the comments made at the start of the chapter on vector spaces at least sometimes an argument from higher-level constructs is clearer We have now seen how to represent the composition of linear maps The next subsection will continue to explore this operation Exercises X 24 ompute, or state not defined (a) 3 A A (d)

7 234 hapter Three Maps etween Spaces X 25 Where A = - 2 = compute or state not defined (a) A (b) (A) (c) (d) A() = Which products are defined? (a) 3 2 times 2 3 (b) 2 3 times 3 2 (c) 2 2 times 3 3 (d) 3 3 times 2 2 X 27 Give the size of the product or state not defined (a) a 2 3 matrix times a 3 matrix (b) a 2 matrix times a 2 matrix (c) a 2 3 matrix times a 2 matrix (d) a 2 2 matrix times a 2 2 matrix X 28 Find the system of equations resulting from starting with h, x + h,2 x 2 + h,3 x 3 = d h 2, x + h 2,2 x 2 + h 2,3 x 3 = d 2 and making this change of variable (ie, substitution) x = g, y + g,2 y 2 x 2 = g 2, y + g 2,2 y 2 x 3 = g 3, y + g 3,2 y 2 X 29 onsider the two linear functions h: R 3 P 2 and g: P 2 M 2 2 given as here ba p p- 2q 7 (a + b)x 2 +(2a + 2b)x + c px 2 + qx + r 7 q c Use these bases for the spaces = h@ Ai = h + x, - x, x 2 i 2 D = h,,, i 3 4 (a) Give the formula for the composition map g h: R 3 M 2 2 derived directly from the above definition (b) Represent h and g with respect to the appropriate bases (c) Represent the map g h computed in the first part with respect to the appropriate bases (d) heck that the product of the two matrices from the second part is the matrix from the third part 22 As Definition 23 points out, the matrix product operation generalizes the dot product Is the dot product of a n row vector and a n column vector the same as their matrix-multiplicative product? X 22 Represent the derivative map on P n with respect to, where is the natural basis h, x,, x n i Show that the product of this matrix with itself is defined; what map does it represent?

8 Section IV Matrix Operations [leary] Matcheachtypeofmatrixwithallthesedescriptionsthatcouldfit: (i) can be multiplied by its transpose to make a matrix, (ii) can represent a linear map from R 3 to R 2 that is not onto, (iii) can represent an isomorphism from R 3 to P 2 (a) a 2 3 matrix whose rank is (b) a 3 3 matrix that is nonsingular (c) a 2 2 matrix that is singular (d) an n column vector 223 Show that composition of linear transformations on R is commutative Is this true for any one-dimensional space? 224 Why is matrix multiplication not defined as entry-wise multiplication? That would be easier, and commutative too 225 (a) Prove that H p H q = H p+q and (H p ) q = H pq for positive integers p, q (b) Prove that (rh) p = r p H p for any positive integer p and scalar r 2 R X 226 (a) How does matrix multiplication interact with scalar multiplication: is r(gh) =(rg)h? IsG(rH) =r(gh)? (b) How does matrix multiplication interact with linear combinations: is F(rG + sh) =r(fg)+s(fh)? Is(rF + sg)h = rfh + sgh? 227 We can ask how the matrix product operation interacts with the transpose operation (a) Show that (GH) T = H T G T (b) Asquarematrixissymmetric if each i, j entry equals the j, i entry, that is, if the matrix equals its own transpose Show that the matrices HH T and H T H are symmetric X 228 Rotation of vectors in R 3 about an axis is a linear map Show that linear maps do not commute by showing geometrically that rotations do not commute 229 In the proof of Theorem 22 we used some maps What are the domains and codomains? 23 How does matrix rank interact with matrix multiplication? (a) an the product of rank n matrices have rank less than n? Greater? (b) Show that the rank of the product of two matrices is less than or equal to the minimum of the rank of each factor 23 Is commutes with an equivalence relation among n n matrices? 232 (We will use this exercise in the Matrix Inverses exercises) Here is another property of matrix multiplication that might be puzzling at first sight (a) Prove that the composition of the projections x, y : R 3 R 3 onto the x and y axes is the zero map despite that neither one is itself the zero map (b) Prove that the composition of the derivatives d 2 /dx 2,d 3 /dx 3 : P 4 P 4 is the zero map despite that neither is the zero map (c) Give a matrix equation representing the first fact (d) Give a matrix equation representing the second When two things multiply to give zero despite that neither is zero we say that each is a zero divisor 233 Show that, for square matrices, (S + T)(S - T) need not equal S 2 - T 2

9 236 hapter Three Maps etween Spaces X 234 Represent the identity transformation id: V V with respect to, for any basis Thisistheidentity matrix I Show that this matrix plays the role in matrix multiplication that the number plays in real number multiplication: HI = IH = H (for all matrices H for which the product is defined) 235 In real number algebra, quadratic equations have at most two solutions That is not so with matrix algebra Show that the 2 2 matrix equation T 2 = I has more than two solutions, where I is the identity matrix (this matrix has ones in its, and 2, 2 entries and zeroes elsewhere; see Exercise 34) 236 (a) Prove that for any 2 2 matrix T there are scalars c,,c 4 that are not all such that the combination c 4 T 4 + c 3 T 3 + c 2 T 2 + c T + c I is the zero matrix (where I is the 2 2 identity matrix, with s in its, and 2, 2 entries and zeroes elsewhere; see Exercise 34) (b) Let p(x) be a polynomial p(x) =c n x n + + c x + c If T is a square matrix we define p(t) to be the matrix c n T n + + c T + c I (where I is the appropriately-sized identity matrix) Prove that for any square matrix there is a polynomial such that p(t) is the zero matrix (c) The minimal polynomial m(x) of a square matrix is the polynomial of least degree, and with leading coefficient, suchthatm(t) is the zero matrix Find the minimal polynomial of this matrix p 3/2 p -/2 /2 3/2 (This is the representation with respect to E 2, E 2,thestandardbasis,ofarotation through /6 radians counterclockwise) 237 The infinite-dimensional space P of all finite-degree polynomials gives a memorable example of the non-commutativity of linear maps Let d/dx: P P be the usual derivative and let s: P P be the shift map a + a x + + a n x n s 7 + a x + a x a n x n+ Show that the two maps don t commute d/dx s 6= s d/dx; in fact, not only is (d/dx s)-(s d/dx) not the zero map, it is the identity map 238 Recall the notation for the sum of the sequence of numbers a,a 2,,a n nx a i = a + a a n i= In this notation, the i, j entry of the product of G and H is this p i,j = rx g i,k h k,j k= Using this notation, (a) reprove that matrix multiplication is associative; (b) reprove Theorem 27

Math 321: Linear Algebra

Math 321: Linear Algebra Math 32: Linear Algebra T. Kapitula Department of Mathematics and Statistics University of New Mexico September 8, 24 Textbook: Linear Algebra,by J. Hefferon E-mail: kapitula@math.unm.edu Prof. Kapitula,

More information

Math 321: Linear Algebra

Math 321: Linear Algebra Math 32: Linear Algebra T Kapitula Department of Mathematics and Statistics University of New Mexico September 8, 24 Textbook: Linear Algebra,by J Hefferon E-mail: kapitula@mathunmedu Prof Kapitula, Spring

More information

Linear Algebra V = T = ( 4 3 ).

Linear Algebra V = T = ( 4 3 ). Linear Algebra Vectors A column vector is a list of numbers stored vertically The dimension of a column vector is the number of values in the vector W is a -dimensional column vector and V is a 5-dimensional

More information

APPENDIX A. Background Mathematics. A.1 Linear Algebra. Vector algebra. Let x denote the n-dimensional column vector with components x 1 x 2.

APPENDIX A. Background Mathematics. A.1 Linear Algebra. Vector algebra. Let x denote the n-dimensional column vector with components x 1 x 2. APPENDIX A Background Mathematics A. Linear Algebra A.. Vector algebra Let x denote the n-dimensional column vector with components 0 x x 2 B C @. A x n Definition 6 (scalar product). The scalar product

More information

MATH 315 Linear Algebra Homework #1 Assigned: August 20, 2018

MATH 315 Linear Algebra Homework #1 Assigned: August 20, 2018 Homework #1 Assigned: August 20, 2018 Review the following subjects involving systems of equations and matrices from Calculus II. Linear systems of equations Converting systems to matrix form Pivot entry

More information

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations Chapter 1: Systems of linear equations and matrices Section 1.1: Introduction to systems of linear equations Definition: A linear equation in n variables can be expressed in the form a 1 x 1 + a 2 x 2

More information

Linear Algebra March 16, 2019

Linear Algebra March 16, 2019 Linear Algebra March 16, 2019 2 Contents 0.1 Notation................................ 4 1 Systems of linear equations, and matrices 5 1.1 Systems of linear equations..................... 5 1.2 Augmented

More information

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

Section 9.2: Matrices.. a m1 a m2 a mn Section 9.2: Matrices Definition: A matrix is a rectangular array of numbers: a 11 a 12 a 1n a 21 a 22 a 2n A =...... a m1 a m2 a mn In general, a ij denotes the (i, j) entry of A. That is, the entry in

More information

A primer on matrices

A primer on matrices A primer on matrices Stephen Boyd August 4, 2007 These notes describe the notation of matrices, the mechanics of matrix manipulation, and how to use matrices to formulate and solve sets of simultaneous

More information

Elementary maths for GMT

Elementary maths for GMT Elementary maths for GMT Linear Algebra Part 2: Matrices, Elimination and Determinant m n matrices The system of m linear equations in n variables x 1, x 2,, x n a 11 x 1 + a 12 x 2 + + a 1n x n = b 1

More information

Notes on generating functions in automata theory

Notes on generating functions in automata theory Notes on generating functions in automata theory Benjamin Steinberg December 5, 2009 Contents Introduction: Calculus can count 2 Formal power series 5 3 Rational power series 9 3. Rational power series

More information

Projections and Least Square Solutions. Recall that given an inner product space V with subspace W and orthogonal basis for

Projections and Least Square Solutions. Recall that given an inner product space V with subspace W and orthogonal basis for Math 57 Spring 18 Projections and Least Square Solutions Recall that given an inner product space V with subspace W and orthogonal basis for W, B {v 1, v,..., v k }, the orthogonal projection of V onto

More information

Chapter 2. Matrix Arithmetic. Chapter 2

Chapter 2. Matrix Arithmetic. Chapter 2 Matrix Arithmetic Matrix Addition and Subtraction Addition and subtraction act element-wise on matrices. In order for the addition/subtraction (A B) to be possible, the two matrices A and B must have the

More information

CMU CS 462/662 (INTRO TO COMPUTER GRAPHICS) HOMEWORK 0.0 MATH REVIEW/PREVIEW LINEAR ALGEBRA

CMU CS 462/662 (INTRO TO COMPUTER GRAPHICS) HOMEWORK 0.0 MATH REVIEW/PREVIEW LINEAR ALGEBRA CMU CS 462/662 (INTRO TO COMPUTER GRAPHICS) HOMEWORK 0.0 MATH REVIEW/PREVIEW LINEAR ALGEBRA Andrew ID: ljelenak August 25, 2018 This assignment reviews basic mathematical tools you will use throughout

More information

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

1 Matrices and Systems of Linear Equations. a 1n a 2n March 31, 2013 16-1 16. Systems of Linear Equations 1 Matrices and Systems of Linear Equations An m n matrix is an array A = (a ij ) of the form a 11 a 21 a m1 a 1n a 2n... a mn where each a ij is a real

More information

! x y. z 1 2 = = r z 1 rz 1

! x y. z 1 2 = = r z 1 rz 1 Section II. Homomorphisms 83 II Homomorphisms The definition of isomorphism has two conditions. In this section we will consider the second one. We will study maps that are required only to preserve structure,

More information

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

Matrix Arithmetic. (Multidimensional Math) Institute for Advanced Analytics. Shaina Race, PhD Matrix Arithmetic Multidimensional Math) Shaina Race, PhD Institute for Advanced Analytics. TABLE OF CONTENTS Element-wise Operations Linear Combinations of Matrices and Vectors. Vector Multiplication

More information

1 Matrices and matrix algebra

1 Matrices and matrix algebra 1 Matrices and matrix algebra 1.1 Examples of matrices A matrix is a rectangular array of numbers and/or variables. For instance 4 2 0 3 1 A = 5 1.2 0.7 x 3 π 3 4 6 27 is a matrix with 3 rows and 5 columns

More information

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

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 Week 22 Equations, Matrices and Transformations Coefficient Matrix and Vector Forms of a Linear System Suppose we have a system of m linear equations in n unknowns a 11 x 1 + a 12 x 2 + + a 1n x n b 1

More information

2a 2 4ac), provided there is an element r in our

2a 2 4ac), provided there is an element r in our MTH 310002 Test II Review Spring 2012 Absractions versus examples The purpose of abstraction is to reduce ideas to their essentials, uncluttered by the details of a specific situation Our lectures built

More information

Linear Algebra. Min Yan

Linear Algebra. Min Yan Linear Algebra Min Yan January 2, 2018 2 Contents 1 Vector Space 7 1.1 Definition................................. 7 1.1.1 Axioms of Vector Space..................... 7 1.1.2 Consequence of Axiom......................

More information

A FIRST COURSE IN LINEAR ALGEBRA. An Open Text by Ken Kuttler. Matrix Arithmetic

A FIRST COURSE IN LINEAR ALGEBRA. An Open Text by Ken Kuttler. Matrix Arithmetic A FIRST COURSE IN LINEAR ALGEBRA An Open Text by Ken Kuttler Matrix Arithmetic Lecture Notes by Karen Seyffarth Adapted by LYRYX SERVICE COURSE SOLUTION Attribution-NonCommercial-ShareAlike (CC BY-NC-SA)

More information

Linear Algebra and Matrix Inversion

Linear Algebra and Matrix Inversion Jim Lambers MAT 46/56 Spring Semester 29- Lecture 2 Notes These notes correspond to Section 63 in the text Linear Algebra and Matrix Inversion Vector Spaces and Linear Transformations Matrices are much

More information

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

Section 9.2: Matrices. Definition: A matrix A consists of a rectangular array of numbers, or elements, arranged in m rows and n columns. Section 9.2: Matrices Definition: A matrix A consists of a rectangular array of numbers, or elements, arranged in m rows and n columns. That is, a 11 a 12 a 1n a 21 a 22 a 2n A =...... a m1 a m2 a mn A

More information

Kevin James. MTHSC 3110 Section 2.1 Matrix Operations

Kevin James. MTHSC 3110 Section 2.1 Matrix Operations MTHSC 3110 Section 2.1 Matrix Operations Notation Let A be an m n matrix, that is, m rows and n columns. We ll refer to the entries of A by their row and column indices. The entry in the i th row and j

More information

Getting Started with Communications Engineering. Rows first, columns second. Remember that. R then C. 1

Getting Started with Communications Engineering. Rows first, columns second. Remember that. R then C. 1 1 Rows first, columns second. Remember that. R then C. 1 A matrix is a set of real or complex numbers arranged in a rectangular array. They can be any size and shape (provided they are rectangular). A

More information

M. Matrices and Linear Algebra

M. Matrices and Linear Algebra M. Matrices and Linear Algebra. Matrix algebra. In section D we calculated the determinants of square arrays of numbers. Such arrays are important in mathematics and its applications; they are called matrices.

More information

ICS 6N Computational Linear Algebra Matrix Algebra

ICS 6N Computational Linear Algebra Matrix Algebra ICS 6N Computational Linear Algebra Matrix Algebra Xiaohui Xie University of California, Irvine xhx@uci.edu February 2, 2017 Xiaohui Xie (UCI) ICS 6N February 2, 2017 1 / 24 Matrix Consider an m n matrix

More information

Chapter Five Notes N P U2C5

Chapter Five Notes N P U2C5 Chapter Five Notes N P UC5 Name Period Section 5.: Linear and Quadratic Functions with Modeling In every math class you have had since algebra you have worked with equations. Most of those equations have

More information

Chapter 2 Notes, Linear Algebra 5e Lay

Chapter 2 Notes, Linear Algebra 5e Lay Contents.1 Operations with Matrices..................................1.1 Addition and Subtraction.............................1. Multiplication by a scalar............................ 3.1.3 Multiplication

More information

Lecture 6: Finite Fields

Lecture 6: Finite Fields CCS Discrete Math I Professor: Padraic Bartlett Lecture 6: Finite Fields Week 6 UCSB 2014 It ain t what they call you, it s what you answer to. W. C. Fields 1 Fields In the next two weeks, we re going

More information

LS.1 Review of Linear Algebra

LS.1 Review of Linear Algebra LS. LINEAR SYSTEMS LS.1 Review of Linear Algebra In these notes, we will investigate a way of handling a linear system of ODE s directly, instead of using elimination to reduce it to a single higher-order

More information

Vector Spaces. Chapter Two

Vector Spaces. Chapter Two Chapter Two Vector Spaces The first chapter began by introducing Gauss method and finished with a fair understanding, keyed on the Linear Combination Lemma, of how it finds the solution set of a linear

More information

1 Last time: determinants

1 Last time: determinants 1 Last time: determinants Let n be a positive integer If A is an n n matrix, then its determinant is the number det A = Π(X, A)( 1) inv(x) X S n where S n is the set of n n permutation matrices Π(X, A)

More information

Linear Equations in Linear Algebra

Linear Equations in Linear Algebra 1 Linear Equations in Linear Algebra 1.7 LINEAR INDEPENDENCE LINEAR INDEPENDENCE Definition: An indexed set of vectors {v 1,, v p } in n is said to be linearly independent if the vector equation x x x

More information

MAT 2037 LINEAR ALGEBRA I web:

MAT 2037 LINEAR ALGEBRA I web: MAT 237 LINEAR ALGEBRA I 2625 Dokuz Eylül University, Faculty of Science, Department of Mathematics web: Instructor: Engin Mermut http://kisideuedutr/enginmermut/ HOMEWORK 2 MATRIX ALGEBRA Textbook: Linear

More information

Review problems for MA 54, Fall 2004.

Review problems for MA 54, Fall 2004. Review problems for MA 54, Fall 2004. Below are the review problems for the final. They are mostly homework problems, or very similar. If you are comfortable doing these problems, you should be fine on

More information

A primer on matrices

A primer on matrices A primer on matrices Stephen Boyd August 4, 2007 These notes describe the notation of matrices, the mechanics of matrix manipulation, and how to use matrices to formulate and solve sets of simultaneous

More information

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

2.1 Matrices. 3 5 Solve for the variables in the following matrix equation. 2.1 Matrices Reminder: A matrix with m rows and n columns has size m x n. (This is also sometimes referred to as the order of the matrix.) The entry in the ith row and jth column of a matrix A is denoted

More information

We start with two examples that suggest the right definition.

We start with two examples that suggest the right definition. Chapter Three Maps Between Spaces I Isomorphisms In the examples following the definition of a vector space we developed the intuition that some spaces are the same as others For instance, the space of

More information

Matrix & Linear Algebra

Matrix & Linear Algebra Matrix & Linear Algebra Jamie Monogan University of Georgia For more information: http://monogan.myweb.uga.edu/teaching/mm/ Jamie Monogan (UGA) Matrix & Linear Algebra 1 / 84 Vectors Vectors Vector: A

More information

Basic Linear Algebra in MATLAB

Basic Linear Algebra in MATLAB Basic Linear Algebra in MATLAB 9.29 Optional Lecture 2 In the last optional lecture we learned the the basic type in MATLAB is a matrix of double precision floating point numbers. You learned a number

More information

Math 1060 Linear Algebra Homework Exercises 1 1. Find the complete solutions (if any!) to each of the following systems of simultaneous equations:

Math 1060 Linear Algebra Homework Exercises 1 1. Find the complete solutions (if any!) to each of the following systems of simultaneous equations: Homework Exercises 1 1 Find the complete solutions (if any!) to each of the following systems of simultaneous equations: (i) x 4y + 3z = 2 3x 11y + 13z = 3 2x 9y + 2z = 7 x 2y + 6z = 2 (ii) x 4y + 3z =

More information

MAT 1332: CALCULUS FOR LIFE SCIENCES. Contents. 1. Review: Linear Algebra II Vectors and matrices Definition. 1.2.

MAT 1332: CALCULUS FOR LIFE SCIENCES. Contents. 1. Review: Linear Algebra II Vectors and matrices Definition. 1.2. MAT 1332: CALCULUS FOR LIFE SCIENCES JING LI Contents 1 Review: Linear Algebra II Vectors and matrices 1 11 Definition 1 12 Operations 1 2 Linear Algebra III Inverses and Determinants 1 21 Inverse Matrices

More information

The symmetric group R + :1! 2! 3! 1. R :1! 3! 2! 1.

The symmetric group R + :1! 2! 3! 1. R :1! 3! 2! 1. Chapter 2 The symmetric group Consider the equilateral triangle. 3 1 2 We want to describe all the symmetries, which are the motions (both rotations and flips) which takes the triangle to itself. First

More information

2) e = e G G such that if a G 0 =0 G G such that if a G e a = a e = a. 0 +a = a+0 = a.

2) e = e G G such that if a G 0 =0 G G such that if a G e a = a e = a. 0 +a = a+0 = a. Chapter 2 Groups Groups are the central objects of algebra. In later chapters we will define rings and modules and see that they are special cases of groups. Also ring homomorphisms and module homomorphisms

More information

Vector, Matrix, and Tensor Derivatives

Vector, Matrix, and Tensor Derivatives Vector, Matrix, and Tensor Derivatives Erik Learned-Miller The purpose of this document is to help you learn to take derivatives of vectors, matrices, and higher order tensors (arrays with three dimensions

More information

Matrices: 2.1 Operations with Matrices

Matrices: 2.1 Operations with Matrices Goals In this chapter and section we study matrix operations: Define matrix addition Define multiplication of matrix by a scalar, to be called scalar multiplication. Define multiplication of two matrices,

More information

DETERMINANTS. , x 2 = a 11b 2 a 21 b 1

DETERMINANTS. , x 2 = a 11b 2 a 21 b 1 DETERMINANTS 1 Solving linear equations The simplest type of equations are linear The equation (1) ax = b is a linear equation, in the sense that the function f(x) = ax is linear 1 and it is equated to

More information

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

Linear Algebra. Linear Equations and Matrices. Copyright 2005, W.R. Winfrey Copyright 2005, W.R. Winfrey Topics Preliminaries Systems of Linear Equations Matrices Algebraic Properties of Matrix Operations Special Types of Matrices and Partitioned Matrices Matrix Transformations

More information

Matrices and Vectors

Matrices and Vectors Matrices and Vectors James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University November 11, 2013 Outline 1 Matrices and Vectors 2 Vector Details 3 Matrix

More information

Matrix representation of a linear map

Matrix representation of a linear map Matrix representation of a linear map As before, let e i = (0,..., 0, 1, 0,..., 0) T, with 1 in the i th place and 0 elsewhere, be standard basis vectors. Given linear map f : R n R m we get n column vectors

More information

Matrix operations Linear Algebra with Computer Science Application

Matrix operations Linear Algebra with Computer Science Application Linear Algebra with Computer Science Application February 14, 2018 1 Matrix operations 11 Matrix operations If A is an m n matrix that is, a matrix with m rows and n columns then the scalar entry in the

More information

1 Linear transformations; the basics

1 Linear transformations; the basics Linear Algebra Fall 2013 Linear Transformations 1 Linear transformations; the basics Definition 1 Let V, W be vector spaces over the same field F. A linear transformation (also known as linear map, or

More information

Definitions, Theorems and Exercises. Abstract Algebra Math 332. Ethan D. Bloch

Definitions, Theorems and Exercises. Abstract Algebra Math 332. Ethan D. Bloch Definitions, Theorems and Exercises Abstract Algebra Math 332 Ethan D. Bloch December 26, 2013 ii Contents 1 Binary Operations 3 1.1 Binary Operations............................... 4 1.2 Isomorphic Binary

More information

Linear Algebra, 4th day, Thursday 7/1/04 REU Info:

Linear Algebra, 4th day, Thursday 7/1/04 REU Info: Linear Algebra, 4th day, Thursday 7/1/04 REU 004. Info http//people.cs.uchicago.edu/laci/reu04. Instructor Laszlo Babai Scribe Nick Gurski 1 Linear maps We shall study the notion of maps between vector

More information

Introduction to Group Theory

Introduction to Group Theory Chapter 10 Introduction to Group Theory Since symmetries described by groups play such an important role in modern physics, we will take a little time to introduce the basic structure (as seen by a physicist)

More information

Math Linear Algebra Final Exam Review Sheet

Math Linear Algebra Final Exam Review Sheet Math 15-1 Linear Algebra Final Exam Review Sheet Vector Operations Vector addition is a component-wise operation. Two vectors v and w may be added together as long as they contain the same number n of

More information

1 FUNCTIONS _ 5 _ 1.0 RELATIONS

1 FUNCTIONS _ 5 _ 1.0 RELATIONS 1 FUNCTIONS 1.0 RELATIONS Notes : (i) Four types of relations : one-to-one many-to-one one-to-many many-to-many. (ii) Three ways to represent relations : arrowed diagram set of ordered pairs graph. (iii)

More information

MATH 2400 LECTURE NOTES: POLYNOMIAL AND RATIONAL FUNCTIONS. Contents 1. Polynomial Functions 1 2. Rational Functions 6

MATH 2400 LECTURE NOTES: POLYNOMIAL AND RATIONAL FUNCTIONS. Contents 1. Polynomial Functions 1 2. Rational Functions 6 MATH 2400 LECTURE NOTES: POLYNOMIAL AND RATIONAL FUNCTIONS PETE L. CLARK Contents 1. Polynomial Functions 1 2. Rational Functions 6 1. Polynomial Functions Using the basic operations of addition, subtraction,

More information

EIGENVALUES AND EIGENVECTORS 3

EIGENVALUES AND EIGENVECTORS 3 EIGENVALUES AND EIGENVECTORS 3 1. Motivation 1.1. Diagonal matrices. Perhaps the simplest type of linear transformations are those whose matrix is diagonal (in some basis). Consider for example the matrices

More information

MAT Linear Algebra Collection of sample exams

MAT Linear Algebra Collection of sample exams MAT 342 - Linear Algebra Collection of sample exams A-x. (0 pts Give the precise definition of the row echelon form. 2. ( 0 pts After performing row reductions on the augmented matrix for a certain system

More information

MATH 115, SUMMER 2012 LECTURE 12

MATH 115, SUMMER 2012 LECTURE 12 MATH 115, SUMMER 2012 LECTURE 12 JAMES MCIVOR - last time - we used hensel s lemma to go from roots of polynomial equations mod p to roots mod p 2, mod p 3, etc. - from there we can use CRT to construct

More information

Systems of Linear Equations and Matrices

Systems of Linear Equations and Matrices Chapter 1 Systems of Linear Equations and Matrices System of linear algebraic equations and their solution constitute one of the major topics studied in the course known as linear algebra. In the first

More information

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.

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. Matrix Arithmetic There is an arithmetic for matrices that can be viewed as extending the arithmetic we have developed for vectors to the more general setting of rectangular arrays: if A and B are m n

More information

* 8 Groups, with Appendix containing Rings and Fields.

* 8 Groups, with Appendix containing Rings and Fields. * 8 Groups, with Appendix containing Rings and Fields Binary Operations Definition We say that is a binary operation on a set S if, and only if, a, b, a b S Implicit in this definition is the idea that

More information

MATH PRACTICE EXAM 1 SOLUTIONS

MATH PRACTICE EXAM 1 SOLUTIONS MATH 2359 PRACTICE EXAM SOLUTIONS SPRING 205 Throughout this exam, V and W will denote vector spaces over R Part I: True/False () For each of the following statements, determine whether the statement is

More information

Definition 2.3. We define addition and multiplication of matrices as follows.

Definition 2.3. We define addition and multiplication of matrices as follows. 14 Chapter 2 Matrices In this chapter, we review matrix algebra from Linear Algebra I, consider row and column operations on matrices, and define the rank of a matrix. Along the way prove that the row

More information

Systems of Linear Equations and Matrices

Systems of Linear Equations and Matrices Chapter 1 Systems of Linear Equations and Matrices System of linear algebraic equations and their solution constitute one of the major topics studied in the course known as linear algebra. In the first

More information

Linear maps. Matthew Macauley. Department of Mathematical Sciences Clemson University Math 8530, Spring 2017

Linear maps. Matthew Macauley. Department of Mathematical Sciences Clemson University  Math 8530, Spring 2017 Linear maps Matthew Macauley Department of Mathematical Sciences Clemson University http://www.math.clemson.edu/~macaule/ Math 8530, Spring 2017 M. Macauley (Clemson) Linear maps Math 8530, Spring 2017

More information

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2 Final Review Sheet The final will cover Sections Chapters 1,2,3 and 4, as well as sections 5.1-5.4, 6.1-6.2 and 7.1-7.3 from chapters 5,6 and 7. This is essentially all material covered this term. Watch

More information

Identity Zero Rep B,D (h) = Zero Zero

Identity Zero Rep B,D (h) = Zero Zero Chapter Five Similarity While studying matrix equivalence, we have shown that for any homomorphism there are bases B and D such that the representation matrix has a block partialidentity form. Identity

More information

LINEAR ALGEBRA BOOT CAMP WEEK 1: THE BASICS

LINEAR ALGEBRA BOOT CAMP WEEK 1: THE BASICS LINEAR ALGEBRA BOOT CAMP WEEK 1: THE BASICS Unless otherwise stated, all vector spaces in this worksheet are finite dimensional and the scalar field F has characteristic zero. The following are facts (in

More information

Linear Algebra I. Ronald van Luijk, 2015

Linear Algebra I. Ronald van Luijk, 2015 Linear Algebra I Ronald van Luijk, 2015 With many parts from Linear Algebra I by Michael Stoll, 2007 Contents Dependencies among sections 3 Chapter 1. Euclidean space: lines and hyperplanes 5 1.1. Definition

More information

a s 1.3 Matrix Multiplication. Know how to multiply two matrices and be able to write down the formula

a s 1.3 Matrix Multiplication. Know how to multiply two matrices and be able to write down the formula Syllabus for Math 308, Paul Smith Book: Kolman-Hill Chapter 1. Linear Equations and Matrices 1.1 Systems of Linear Equations Definition of a linear equation and a solution to a linear equations. Meaning

More information

Matrices. 1 a a2 1 b b 2 1 c c π

Matrices. 1 a a2 1 b b 2 1 c c π Matrices 2-3-207 A matrix is a rectangular array of numbers: 2 π 4 37 42 0 3 a a2 b b 2 c c 2 Actually, the entries can be more general than numbers, but you can think of the entries as numbers to start

More information

DS-GA 1002 Lecture notes 0 Fall Linear Algebra. These notes provide a review of basic concepts in linear algebra.

DS-GA 1002 Lecture notes 0 Fall Linear Algebra. These notes provide a review of basic concepts in linear algebra. DS-GA 1002 Lecture notes 0 Fall 2016 Linear Algebra These notes provide a review of basic concepts in linear algebra. 1 Vector spaces You are no doubt familiar with vectors in R 2 or R 3, i.e. [ ] 1.1

More information

Chapter 2 - Basics Structures

Chapter 2 - Basics Structures Chapter 2 - Basics Structures 2.1 - Sets Definitions and Notation Definition 1 (Set). A set is an of. These are called the or of the set. We ll typically use uppercase letters to denote sets: S, A, B,...

More information

is equal to = 3 2 x, if x < 0 f (0) = lim h = 0. Therefore f exists and is continuous at 0.

is equal to = 3 2 x, if x < 0 f (0) = lim h = 0. Therefore f exists and is continuous at 0. Madhava Mathematics Competition January 6, 2013 Solutions and scheme of marking Part I N.B. Each question in Part I carries 2 marks. p(k + 1) 1. If p(x) is a non-constant polynomial, then lim k p(k) (a)

More information

Knowledge Discovery and Data Mining 1 (VO) ( )

Knowledge Discovery and Data Mining 1 (VO) ( ) Knowledge Discovery and Data Mining 1 (VO) (707.003) Review of Linear Algebra Denis Helic KTI, TU Graz Oct 9, 2014 Denis Helic (KTI, TU Graz) KDDM1 Oct 9, 2014 1 / 74 Big picture: KDDM Probability Theory

More information

MATH 320, WEEK 7: Matrices, Matrix Operations

MATH 320, WEEK 7: Matrices, Matrix Operations MATH 320, WEEK 7: Matrices, Matrix Operations 1 Matrices We have introduced ourselves to the notion of the grid-like coefficient matrix as a short-hand coefficient place-keeper for performing Gaussian

More information

Equality: Two matrices A and B are equal, i.e., A = B if A and B have the same order and the entries of A and B are the same.

Equality: Two matrices A and B are equal, i.e., A = B if A and B have the same order and the entries of A and B are the same. Introduction Matrix Operations Matrix: An m n matrix A is an m-by-n array of scalars from a field (for example real numbers) of the form a a a n a a a n A a m a m a mn The order (or size) of A is m n (read

More information

A matrix over a field F is a rectangular array of elements from F. The symbol

A matrix over a field F is a rectangular array of elements from F. The symbol Chapter MATRICES Matrix arithmetic A matrix over a field F is a rectangular array of elements from F The symbol M m n (F ) denotes the collection of all m n matrices over F Matrices will usually be denoted

More information

SUPPLEMENTARY NOTES: CHAPTER 1

SUPPLEMENTARY NOTES: CHAPTER 1 SUPPLEMENTARY NOTES: CHAPTER 1 1. Groups A group G is a set with single binary operation which takes two elements a, b G and produces a third, denoted ab and generally called their product. (Mathspeak:

More information

Course: Algebra MP: Reason abstractively and quantitatively MP: Model with mathematics MP: Look for and make use of structure

Course: Algebra MP: Reason abstractively and quantitatively MP: Model with mathematics MP: Look for and make use of structure Algebra Cluster: Interpret the structure of expressions. A.SSE.1: Interpret expressions that represent a quantity in terms of its context (Modeling standard). a. Interpret parts of an expression, such

More information

Chapter 3. Rings. The basic commutative rings in mathematics are the integers Z, the. Examples

Chapter 3. Rings. The basic commutative rings in mathematics are the integers Z, the. Examples Chapter 3 Rings Rings are additive abelian groups with a second operation called multiplication. The connection between the two operations is provided by the distributive law. Assuming the results of Chapter

More information

Foundations of Matrix Analysis

Foundations of Matrix Analysis 1 Foundations of Matrix Analysis In this chapter we recall the basic elements of linear algebra which will be employed in the remainder of the text For most of the proofs as well as for the details, the

More information

Standards-Based Learning Power Standards. High School- Algebra

Standards-Based Learning Power Standards. High School- Algebra Standards-Based Learning Power Standards Mathematics Algebra 3,4 The high school standards specify the mathematics that all students should study in order to be college and career ready. High School Number

More information

Rings. EE 387, Notes 7, Handout #10

Rings. EE 387, Notes 7, Handout #10 Rings EE 387, Notes 7, Handout #10 Definition: A ring is a set R with binary operations, + and, that satisfy the following axioms: 1. (R, +) is a commutative group (five axioms) 2. Associative law for

More information

Solutions to the August 2008 Qualifying Examination

Solutions to the August 2008 Qualifying Examination Solutions to the August 2008 Qualifying Examination Any student with questions regarding the solutions is encouraged to contact the Chair of the Qualifying Examination Committee. Arrangements will then

More information

REQUIRED MATHEMATICAL SKILLS FOR ENTERING CADETS

REQUIRED MATHEMATICAL SKILLS FOR ENTERING CADETS REQUIRED MATHEMATICAL SKILLS FOR ENTERING CADETS The Department of Applied Mathematics administers a Math Placement test to assess fundamental skills in mathematics that are necessary to begin the study

More information

Linear Algebra Basics

Linear Algebra Basics Linear Algebra Basics For the next chapter, understanding matrices and how to do computations with them will be crucial. So, a good first place to start is perhaps What is a matrix? A matrix A is an array

More information

Matrix Arithmetic. j=1

Matrix Arithmetic. j=1 An m n matrix is an array A = Matrix Arithmetic a 11 a 12 a 1n a 21 a 22 a 2n a m1 a m2 a mn of real numbers a ij An m n matrix has m rows and n columns a ij is the entry in the i-th row and j-th column

More information

DIHEDRAL GROUPS II KEITH CONRAD

DIHEDRAL GROUPS II KEITH CONRAD DIHEDRAL GROUPS II KEITH CONRAD We will characterize dihedral groups in terms of generators and relations, and describe the subgroups of D n, including the normal subgroups. We will also introduce an infinite

More information

Linear Algebra Practice Problems

Linear Algebra Practice Problems Math 7, Professor Ramras Linear Algebra Practice Problems () Consider the following system of linear equations in the variables x, y, and z, in which the constants a and b are real numbers. x y + z = a

More information

Chapter 4. Matrices and Matrix Rings

Chapter 4. Matrices and Matrix Rings Chapter 4 Matrices and Matrix Rings We first consider matrices in full generality, i.e., over an arbitrary ring R. However, after the first few pages, it will be assumed that R is commutative. The topics,

More information

STRAND J: TRANSFORMATIONS, VECTORS and MATRICES

STRAND J: TRANSFORMATIONS, VECTORS and MATRICES Mathematics SKE, Strand J STRAND J: TRANSFORMATIONS, VECTORS and MATRICES J4 Matrices Text Contents * * * * Section J4. Matrices: Addition and Subtraction J4.2 Matrices: Multiplication J4.3 Inverse Matrices:

More information

Lecture Notes in Linear Algebra

Lecture Notes in Linear Algebra Lecture Notes in Linear Algebra Dr. Abdullah Al-Azemi Mathematics Department Kuwait University February 4, 2017 Contents 1 Linear Equations and Matrices 1 1.2 Matrices............................................

More information

Linear Systems and Matrices

Linear Systems and Matrices Department of Mathematics The Chinese University of Hong Kong 1 System of m linear equations in n unknowns (linear system) a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2.......

More information

Linear Algebra Highlights

Linear Algebra Highlights Linear Algebra Highlights Chapter 1 A linear equation in n variables is of the form a 1 x 1 + a 2 x 2 + + a n x n. We can have m equations in n variables, a system of linear equations, which we want to

More information