Matrix Calculations: Inverse and Basis Transformation

Size: px
Start display at page:

Download "Matrix Calculations: Inverse and Basis Transformation"

Transcription

1 Matrix Calculations: Inverse and asis Transformation A. Kissinger (and H. Geuvers) Institute for Computing and Information ciences Intelligent ystems Version: spring 25 A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations / 42

2 Outline Existence and uniqueness of inverse Existence and uniqueness of inverse A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 2 / 42

3 Recall: Inverse matrix Definition Let A be a n n ( square ) matrix. This A has an inverse if there is an n n matrix A with: A A I and A A I Note Matrix multiplication is not commutative, so it could (a priori) be the case that: A has a right inverse: a such that A I and A has a (different) left inverse: a C such that C A I. However, this doesn t happen. A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 4 / 42

4 Uniqueness of the inverse Theorem If a matrix A has a left inverse and a right inverse, then they are equal. If A I and C A I, then C. Proof. Multiply both sides of the first equation by C: Corollary C A C I C If a matrix A has an inverse, it is unique. A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 5 / 42

5 When does a matrix have an inverse? Theorem (Existence of inverses) An n n matrix has an inverse (or: is invertible) if and only if it has n pivots in its echelon form. oon, we will introduce another criterion for a matrix to be invertible, using determinants. A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 6 / 42

6 Explicitly computing the inverse, part I uppose we wish to find A for A We need to find x, y, u, v with: ( ) ( ) a b x y c d u v Multiplying the matrices on the LH: ( ) ax + bu cx + du ay + bv cy + dv...gives a system of 4 equations: ax + bu cx + du ay + bv cy + dv ( ) a b c d ( ) ( ) A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 7 / 42

7 Computing the inverse: the 2 2 case, part II plitting this into two systems: { ax + bu and cx + du { ay + bv cy + dv olving the first system for (u, x) and the second system for (v, y) gives: u c ad bc x d ad bc and v a ad bc y b ad bc (assuming bc ad ). Then: ( ) A x y u v Conclusion: A ad bc ( d ad bc c ad bc ( d ) b c a b ) ad bc a ad bc learn this formula by heart A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 8 / 42

8 Computing the inverse: the 2 2 case, part III ummarizing: Theorem (Existence of an inverse of a 2 2 matrix) A 2 2 matrix A ( ) a b c d has an inverse (or: is invertible) if and only if ad bc, in which case its inverse is ( ) A d b ad bc c a A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 9 / 42

9 Applying the general formula to the swingers Recall P ( ).8., so a.2.9 8, b, c 2, d 9 ad bc so the inverse exists! Thus: ( ) P d b ad bc c a ( ).9. Then indeed: 7 ( ) 7 ( ) ( ).7.7 ( ) A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations / 42

10 Existence and uniqueness of inverse What a determinant does For a square matrix A, the deteminant det(a) is a number (in R) It satisfies: det(a) A is not invertible A does not exist A has < n pivots in its echolon form have useful properties, but calculating determinants involves some work. A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 2 / 42

11 Determinant of a 2 2 matrix Assume A ( ) a b c d Recall that the inverse A exists if and only if ad bc, and in that case is: ( ) A d b ad bc c a In this 2 2-case we define: ( ) a b det c d a b c d ad bc Thus, indeed: det(a) A does not exist. A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 3 / 42

12 Determinant of a 2 2 matrix: example Recall the political transisition matrix ( ) ( ).8. P Then: det(p) We have already seen that P exists, so the determinant must be non-zero. A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 4 / 42

13 Determinant of a 3 3 matrix a a 2 a 3 Assume A a 2 a 22 a 23 a 3 a 32 a 33 Then one defines: a a 2 a 3 det A a 2 a 22 a 23 a 3 a 32 a 33 +a a 22 a 23 a 32 a 33 a 2 a 2 a 3 a 32 a 33 + a 3 a 2 a 3 a 22 a 23 Methodology: take entries a i from first column, with alternating signs (+, -) take determinant from square submatrix obtained by deleting the first column and the i-th row A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 5 / 42

14 Determinant of a 3 3 matrix, example ( ) ( ) ( ) A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 6 / 42

15 The general, n n case a a n.. a n... a nn a 22 a 2n a 2 a n a 32 a 3n +a.. a 2 a n2... a nn.. a n2... a nn a 2 a n + a 3 ± a n.. a (n )2... a (n )n (where the last sign ± is + if n is odd and - if n is even) Then, each of the smaller determinants is computed recursively. (A lot of work! ut there are smarter ways...) A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 7 / 42

16 ome properties of determinants Theorem For A and two n n matrices, det(a ) det(a) det(). The following are corollaries of the Theorem: det(a ) det( A). If A has an inverse, then det(a ) det(a). det(a k ) (det(a)) k, for any k N. Proofs of the first two: det(a ) det(a) det() det() det(a) det( A). (Note that det(a) and det() are simply numbers). If A has an inverse A then det(a) det(a ) det(a A ) det(i ), so det(a ) det(a). A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 8 / 42

17 Applications Existence and uniqueness of inverse detect when a matrix is invertible Though we showed an inefficient way to compute determinants, there is an efficient algorithm using, you guessed it...gaussian elimination! olutions to non-homogeneous systems can be expressed directly in terms of determinants using Cramer s rule (wiki it!) Most importantly: determinants will be used to calculate eigenvalues in the next lecture A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 9 / 42

18 ases and coefficients A basis for a vector space V is a set of vectors {v,..., v n } in V such that: They are linearly independent: a v a n v n all a i 2 They span V, i.e. for all v V, there exist a i such that: v a v a n v n A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 2 / 42

19 ases, equivalently Equivalently: a basis for a vector space V is a set of vectors {v,..., v n } in V such that: They uniquely span V, i.e. for all v V, there exist unique a i such that: v a v a n v n It s useful to think of column vectors just as notation for this sum: a. a n : a v a n v n Previously, we haven t bothered to write, but it is important! A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 22 / 42

20 Example: two bases for R 2 Let V R 2, and let {(, ), (, )} be the standard basis. Vectors expressed in the standard basis give exactly what you expect: ( ) ( ) ( ) ( ) a a a + b b b ut expressing a vector in another basis can give something totally different! For example, let {(, ), (, )}: ( ) a b a ( ) + b ( ) ( ) (a + b) b A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 23 / 42

21 ame vector, different outfits Hence the same vector can look different, depending on the choice of basis: ( ) ( ) (a + b) a b b Examples: ( ) ) ( ( ) ) ( ( ) 3 ) ( ( ) 2 ( ) A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 24 / 42

22 Why??? Existence and uniqueness of inverse Many find the idea of multiple bases confusing the first time around. {(, ), (, )} is a perfectly good basis for R 2. Why bother with others? ome vector spaces don t have one obvious choice of basis. Example: subspaces R n. 2 ometimes it is way more efficient to write a vector with respect to a different basis, e.g.: The choice of basis for vectors affects how we write matrices as well. Often this can be done cleverly. Example: JPEGs, Google A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 25 / 42

23 Transforming bases, part I How can we transform a vector form the standard basis to a new basis, e.g. {(, ), (, )}? In order to express (a, b) R 2 in we need to find x, y R such that: (a ) b x ( ) + y ( ) : ( ) x y olving the equations gives: y b and x a b Example The vector v (, ) R 2 is represented w.r.t. the basis as: ( ) ( ) ( ) ( ) (use a, b in the formulas for x, y given above.) A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 26 / 42

24 Transforming bases, part II Easier: given a vector written in {(, ), (, )}, how can we write it in the standard basis? Just use the definition: ( ) ( ) ( ) ( ) x x + y x + y y y Or, as matrix multiplication: ( ) ( ) ( ) x x + y y y }{{}}{{}}{{} T in basis in basis Let T be the matrix whose columns are the basis vectors. Then T transforms a vector written in into a vector written in. A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 27 / 42

25 Transforming bases, part III How do we go back? Need T which does this: ( ) ( a a b ) b b olution: use the inverse! T : (T ) Example: (T )...which indeed gives: ( ) ( ) ( ) ( ) a b ( a b ) b A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 28 / 42

26 Transforming bases, part IV How about two non-standard bases? ( ) ( ) ( {, } C { 2 Problem: translate a vector from olution: do this in two steps: T C T v }{{}...then translate from to C ( ) a to b T v }{{} first translate from to... ), ( ) a b ( ) } 2 (T C ) T v C A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 29 / 42

27 Transforming bases, example For bases: ( { ), ( ) } C {...we need to find a and b such that ( ) ( ) a a b b C ( 2 ), Translating both sides to the standard basis gives: ( ) ( ) ( ) ( ) a a 2 2 b b This we can solve using the matrix-inverse: ( ) ( ) a ( b 2 2 ) ( ) } 2 ( ) a b A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 3 / 42

28 Transforming bases, example For: ( ) a we compute b }{{} in basis C ( 2 2 ( ) ( ) 2 2 ) } {{ } T C ( 2 2 ( ) }{{} T 4 4 ) ( ) a b }{{} in basis ( ) 4 ( ) which gives: ( ) a b }{{} in basis C 4 ( ) ( ) 2 99 a 2 2 b }{{}}{{} T C in basis A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 3 / 42

29 asis transformation theorem Theorem Let be the standard basis for R n and let {v,..., v n } and C {w,..., w n } be other bases. Then there is an invertible n n basis transformation matrix T C such that: a a. T C. with.. a n a n a n a C n 2 T is the matrix which has the vectors in as columns, and T C : (T C ) T 3 T C (T C ) a a A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 32 / 42

30 Matrices in other bases ince vectors can be written with respect to different bases, so too can matrices. For example, let g be the linear map defined by: ( ) ( ) ( ) ( ) g( ) g( ) Then, naturally, we would represent g using the matrix: ( ) ecause indeed: ( ) ( ) ( ) and ( ) ( ) ( ) A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 33 / 42

31 On the other hand... Lets look at what g does to another basis: ( ) ( ) {, } First (, ) : ( ) g( ) g( Then, by linearity: ( )... g( ) + g( ( ) ) g( ( ) ) ( ) + ( ) + ( ) ( ) )... ( ) ( ) A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 34 / 42

32 On the other hand... imilarly (, ) : g( ( ) ( ) {, } ( ) ( ) ) g( ) g( ( ) ( ) )... Then, by linearity: ( )... g( ) g( ( ) ) ( ) ( ) ( ) ( ) A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 35 / 42

33 A new matrix Existence and uniqueness of inverse From this: ( ) g( ) ( ) g( ( ) ( ) ) It follows that we should instead us this matrix to represent g: ( ) ecause indeed: ( ) ( ) ( ) and ( ) ( ) ( ) A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 36 / 42

34 A new matrix Existence and uniqueness of inverse o on different bases, g acts in totally different way! ( ) ( ) ( ) ( ) g( ) g( ) g( ( ) ) ( ) g( ( ) ( ) )...and hence gets a totally different matrix: ( ) ( ) vs. A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 37 / 42

35 Transforming bases, part II Theorem Assume again we have two bases, C for R n. If a linear map f : R n R n has matrix A w.r.t. to basis, then, w.r.t. to basis C, f has matrix A : A T C A T C Thus, via T C and T C one tranforms -matrices into C-matrices. In particular, a matrix can be translated from the standard basis to basis via: A T A T A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 38 / 42

36 Example basis transformation, part I Consider the standard basis {(, ), (, )} for R 2, and as alternative basis {(, ), (, 2)} Let the linear map f : R 2 R 2, w.r.t. the standard basis, be given by the matrix: ( ) A 2 3 What is the representation A of f w.r.t. basis? ( ) ince is the standard basis, T contains the 2 -vectors as its columns A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 39 / 42

37 Example basis transformation, part II The basis transformation matrix T in the other direction is obtained as matrix inverse: T ( ( ) ) ( ) ( ) T Hence: A T ( A ) T ( ) 2 2 ( ) ( 2 3 ) ( 3 2 ) ( ) ( ) 2 A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 4 / 42

38 Example basis transformation, part III Consider a vector v R 2 which can be represented in bases and respectively as: ( ) ( ) 5 5 and 4 That is, we have: Then, if we apply A we get: v : T A v 4 2 ( ) 5 4 ( ) ( ) to v, written in the basis, 2 3 ( ) 2 3 ( ) 5 4 ( ) 22 A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 4 / 42

39 Example basis transformation, part IV ( ) On the other hand, if we apply A to v we get: ( ) ( ) ( ) A v which we interpret as a vector written in. Comparing the two results: ( ) ( 2 ) ( ) ( ) ( ) we get the same outcome! In fact: this is always the case. It can be shown using the definitions of A, v and properties of inverses (i.e. no matrixrekenen necessary!). A. Kissinger (and H. Geuvers) Version: spring 25 Matrix Calculations 42 / 42

Notes on Determinant

Notes on Determinant ENGG2012B Advanced Engineering Mathematics Notes on Determinant Lecturer: Kenneth Shum Lecture 9-18/02/2013 The determinant of a system of linear equations determines whether the solution is unique, without

More information

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS Systems of Equations and Matrices Representation of a linear system The general system of m equations in n unknowns can be written a x + a 2 x 2 + + a n x n b a

More information

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS 1. SYSTEMS OF EQUATIONS AND MATRICES 1.1. Representation of a linear system. The general system of m equations in n unknowns can be written a 11 x 1 + a 12 x 2 +

More information

LS.6 Solution Matrices

LS.6 Solution Matrices LS.6 Solution Matrices In the literature, solutions to linear systems often are expressed using square matrices rather than vectors. You need to get used to the terminology. As before, we state the definitions

More information

Name: Section Registered In:

Name: Section Registered In: Name: Section Registered In: Math 125 Exam 3 Version 1 April 24, 2006 60 total points possible 1. (5pts) Use Cramer s Rule to solve 3x + 4y = 30 x 2y = 8. Be sure to show enough detail that shows you are

More information

8 Square matrices continued: Determinants

8 Square matrices continued: Determinants 8 Square matrices continued: Determinants 8. Introduction Determinants give us important information about square matrices, and, as we ll soon see, are essential for the computation of eigenvalues. You

More information

Math 115A HW4 Solutions University of California, Los Angeles. 5 2i 6 + 4i. (5 2i)7i (6 + 4i)( 3 + i) = 35i + 14 ( 22 6i) = 36 + 41i.

Math 115A HW4 Solutions University of California, Los Angeles. 5 2i 6 + 4i. (5 2i)7i (6 + 4i)( 3 + i) = 35i + 14 ( 22 6i) = 36 + 41i. Math 5A HW4 Solutions September 5, 202 University of California, Los Angeles Problem 4..3b Calculate the determinant, 5 2i 6 + 4i 3 + i 7i Solution: The textbook s instructions give us, (5 2i)7i (6 + 4i)(

More information

University of Lille I PC first year list of exercises n 7. Review

University of Lille I PC first year list of exercises n 7. Review University of Lille I PC first year list of exercises n 7 Review Exercise Solve the following systems in 4 different ways (by substitution, by the Gauss method, by inverting the matrix of coefficients

More information

Systems of Linear Equations

Systems of Linear Equations Systems of Linear Equations Beifang Chen Systems of linear equations Linear systems A linear equation in variables x, x,, x n is an equation of the form a x + a x + + a n x n = b, where a, a,, a n and

More information

Similarity and Diagonalization. Similar Matrices

Similarity and Diagonalization. Similar Matrices MATH022 Linear Algebra Brief lecture notes 48 Similarity and Diagonalization Similar Matrices Let A and B be n n matrices. We say that A is similar to B if there is an invertible n n matrix P such that

More information

MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix.

MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix. MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix. Nullspace Let A = (a ij ) be an m n matrix. Definition. The nullspace of the matrix A, denoted N(A), is the set of all n-dimensional column

More information

MATH 551 - APPLIED MATRIX THEORY

MATH 551 - APPLIED MATRIX THEORY MATH 55 - APPLIED MATRIX THEORY FINAL TEST: SAMPLE with SOLUTIONS (25 points NAME: PROBLEM (3 points A web of 5 pages is described by a directed graph whose matrix is given by A Do the following ( points

More information

Au = = = 3u. Aw = = = 2w. so the action of A on u and w is very easy to picture: it simply amounts to a stretching by 3 and 2, respectively.

Au = = = 3u. Aw = = = 2w. so the action of A on u and w is very easy to picture: it simply amounts to a stretching by 3 and 2, respectively. Chapter 7 Eigenvalues and Eigenvectors In this last chapter of our exploration of Linear Algebra we will revisit eigenvalues and eigenvectors of matrices, concepts that were already introduced in Geometry

More information

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1. MATH10212 Linear Algebra Textbook: D. Poole, Linear Algebra: A Modern Introduction. Thompson, 2006. ISBN 0-534-40596-7. Systems of Linear Equations Definition. An n-dimensional vector is a row or a column

More information

Unit 18 Determinants

Unit 18 Determinants Unit 18 Determinants Every square matrix has a number associated with it, called its determinant. In this section, we determine how to calculate this number, and also look at some of the properties of

More information

Solutions to Math 51 First Exam January 29, 2015

Solutions to Math 51 First Exam January 29, 2015 Solutions to Math 5 First Exam January 29, 25. ( points) (a) Complete the following sentence: A set of vectors {v,..., v k } is defined to be linearly dependent if (2 points) there exist c,... c k R, not

More information

160 CHAPTER 4. VECTOR SPACES

160 CHAPTER 4. VECTOR SPACES 160 CHAPTER 4. VECTOR SPACES 4. Rank and Nullity In this section, we look at relationships between the row space, column space, null space of a matrix and its transpose. We will derive fundamental results

More information

MAT 200, Midterm Exam Solution. a. (5 points) Compute the determinant of the matrix A =

MAT 200, Midterm Exam Solution. a. (5 points) Compute the determinant of the matrix A = MAT 200, Midterm Exam Solution. (0 points total) a. (5 points) Compute the determinant of the matrix 2 2 0 A = 0 3 0 3 0 Answer: det A = 3. The most efficient way is to develop the determinant along the

More information

Lectures notes on orthogonal matrices (with exercises) 92.222 - Linear Algebra II - Spring 2004 by D. Klain

Lectures notes on orthogonal matrices (with exercises) 92.222 - Linear Algebra II - Spring 2004 by D. Klain Lectures notes on orthogonal matrices (with exercises) 92.222 - Linear Algebra II - Spring 2004 by D. Klain 1. Orthogonal matrices and orthonormal sets An n n real-valued matrix A is said to be an orthogonal

More information

Chapter 17. Orthogonal Matrices and Symmetries of Space

Chapter 17. Orthogonal Matrices and Symmetries of Space Chapter 17. Orthogonal Matrices and Symmetries of Space Take a random matrix, say 1 3 A = 4 5 6, 7 8 9 and compare the lengths of e 1 and Ae 1. The vector e 1 has length 1, while Ae 1 = (1, 4, 7) has length

More information

Solving Linear Systems, Continued and The Inverse of a Matrix

Solving Linear Systems, Continued and The Inverse of a Matrix , Continued and The of a Matrix Calculus III Summer 2013, Session II Monday, July 15, 2013 Agenda 1. The rank of a matrix 2. The inverse of a square matrix Gaussian Gaussian solves a linear system by reducing

More information

1 Sets and Set Notation.

1 Sets and Set Notation. LINEAR ALGEBRA MATH 27.6 SPRING 23 (COHEN) LECTURE NOTES Sets and Set Notation. Definition (Naive Definition of a Set). A set is any collection of objects, called the elements of that set. We will most

More information

T ( a i x i ) = a i T (x i ).

T ( a i x i ) = a i T (x i ). Chapter 2 Defn 1. (p. 65) Let V and W be vector spaces (over F ). We call a function T : V W a linear transformation form V to W if, for all x, y V and c F, we have (a) T (x + y) = T (x) + T (y) and (b)

More information

Methods for Finding Bases

Methods for Finding Bases Methods for Finding Bases Bases for the subspaces of a matrix Row-reduction methods can be used to find bases. Let us now look at an example illustrating how to obtain bases for the row space, null space,

More information

1 Determinants and the Solvability of Linear Systems

1 Determinants and the Solvability of Linear Systems 1 Determinants and the Solvability of Linear Systems In the last section we learned how to use Gaussian elimination to solve linear systems of n equations in n unknowns The section completely side-stepped

More information

Matrix Calculations: Applications of Eigenvalues and Eigenvectors; Inner Products

Matrix Calculations: Applications of Eigenvalues and Eigenvectors; Inner Products Matrix Calculations: Applications of Eigenvalues and Eigenvectors; Inner Products H. Geuvers Institute for Computing and Information Sciences Intelligent Systems Version: spring 2015 H. Geuvers Version:

More information

Linear Algebra Notes for Marsden and Tromba Vector Calculus

Linear Algebra Notes for Marsden and Tromba Vector Calculus Linear Algebra Notes for Marsden and Tromba Vector Calculus n-dimensional Euclidean Space and Matrices Definition of n space As was learned in Math b, a point in Euclidean three space can be thought of

More information

LINEAR ALGEBRA. September 23, 2010

LINEAR ALGEBRA. September 23, 2010 LINEAR ALGEBRA September 3, 00 Contents 0. LU-decomposition.................................... 0. Inverses and Transposes................................. 0.3 Column Spaces and NullSpaces.............................

More information

MAT 242 Test 2 SOLUTIONS, FORM T

MAT 242 Test 2 SOLUTIONS, FORM T MAT 242 Test 2 SOLUTIONS, FORM T 5 3 5 3 3 3 3. Let v =, v 5 2 =, v 3 =, and v 5 4 =. 3 3 7 3 a. [ points] The set { v, v 2, v 3, v 4 } is linearly dependent. Find a nontrivial linear combination of these

More information

Math 312 Homework 1 Solutions

Math 312 Homework 1 Solutions Math 31 Homework 1 Solutions Last modified: July 15, 01 This homework is due on Thursday, July 1th, 01 at 1:10pm Please turn it in during class, or in my mailbox in the main math office (next to 4W1) Please

More information

Lecture 4: Partitioned Matrices and Determinants

Lecture 4: Partitioned Matrices and Determinants Lecture 4: Partitioned Matrices and Determinants 1 Elementary row operations Recall the elementary operations on the rows of a matrix, equivalent to premultiplying by an elementary matrix E: (1) multiplying

More information

Solving Systems of Linear Equations

Solving Systems of Linear Equations LECTURE 5 Solving Systems of Linear Equations Recall that we introduced the notion of matrices as a way of standardizing the expression of systems of linear equations In today s lecture I shall show how

More information

Row Echelon Form and Reduced Row Echelon Form

Row Echelon Form and Reduced Row Echelon Form These notes closely follow the presentation of the material given in David C Lay s textbook Linear Algebra and its Applications (3rd edition) These notes are intended primarily for in-class presentation

More information

MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors. Jordan canonical form (continued).

MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors. Jordan canonical form (continued). MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors Jordan canonical form (continued) Jordan canonical form A Jordan block is a square matrix of the form λ 1 0 0 0 0 λ 1 0 0 0 0 λ 0 0 J = 0

More information

Lecture 2 Matrix Operations

Lecture 2 Matrix Operations Lecture 2 Matrix Operations transpose, sum & difference, scalar multiplication matrix multiplication, matrix-vector product matrix inverse 2 1 Matrix transpose transpose of m n matrix A, denoted A T or

More information

Continued Fractions and the Euclidean Algorithm

Continued Fractions and the Euclidean Algorithm Continued Fractions and the Euclidean Algorithm Lecture notes prepared for MATH 326, Spring 997 Department of Mathematics and Statistics University at Albany William F Hammond Table of Contents Introduction

More information

Matrix Representations of Linear Transformations and Changes of Coordinates

Matrix Representations of Linear Transformations and Changes of Coordinates Matrix Representations of Linear Transformations and Changes of Coordinates 01 Subspaces and Bases 011 Definitions A subspace V of R n is a subset of R n that contains the zero element and is closed under

More information

DETERMINANTS TERRY A. LORING

DETERMINANTS TERRY A. LORING DETERMINANTS TERRY A. LORING 1. Determinants: a Row Operation By-Product The determinant is best understood in terms of row operations, in my opinion. Most books start by defining the determinant via formulas

More information

Lecture Notes 2: Matrices as Systems of Linear Equations

Lecture Notes 2: Matrices as Systems of Linear Equations 2: Matrices as Systems of Linear Equations 33A Linear Algebra, Puck Rombach Last updated: April 13, 2016 Systems of Linear Equations Systems of linear equations can represent many things You have probably

More information

by the matrix A results in a vector which is a reflection of the given

by the matrix A results in a vector which is a reflection of the given Eigenvalues & Eigenvectors Example Suppose Then So, geometrically, multiplying a vector in by the matrix A results in a vector which is a reflection of the given vector about the y-axis We observe that

More information

Mathematics Course 111: Algebra I Part IV: Vector Spaces

Mathematics Course 111: Algebra I Part IV: Vector Spaces Mathematics Course 111: Algebra I Part IV: Vector Spaces D. R. Wilkins Academic Year 1996-7 9 Vector Spaces A vector space over some field K is an algebraic structure consisting of a set V on which are

More information

Linear Algebra Notes

Linear Algebra Notes Linear Algebra Notes Chapter 19 KERNEL AND IMAGE OF A MATRIX Take an n m matrix a 11 a 12 a 1m a 21 a 22 a 2m a n1 a n2 a nm and think of it as a function A : R m R n The kernel of A is defined as Note

More information

The Characteristic Polynomial

The Characteristic Polynomial Physics 116A Winter 2011 The Characteristic Polynomial 1 Coefficients of the characteristic polynomial Consider the eigenvalue problem for an n n matrix A, A v = λ v, v 0 (1) The solution to this problem

More information

The Determinant: a Means to Calculate Volume

The Determinant: a Means to Calculate Volume The Determinant: a Means to Calculate Volume Bo Peng August 20, 2007 Abstract This paper gives a definition of the determinant and lists many of its well-known properties Volumes of parallelepipeds are

More information

Notes on Orthogonal and Symmetric Matrices MENU, Winter 2013

Notes on Orthogonal and Symmetric Matrices MENU, Winter 2013 Notes on Orthogonal and Symmetric Matrices MENU, Winter 201 These notes summarize the main properties and uses of orthogonal and symmetric matrices. We covered quite a bit of material regarding these topics,

More information

Reduced echelon form: Add the following conditions to conditions 1, 2, and 3 above:

Reduced echelon form: Add the following conditions to conditions 1, 2, and 3 above: Section 1.2: Row Reduction and Echelon Forms Echelon form (or row echelon form): 1. All nonzero rows are above any rows of all zeros. 2. Each leading entry (i.e. left most nonzero entry) of a row is in

More information

Orthogonal Diagonalization of Symmetric Matrices

Orthogonal Diagonalization of Symmetric Matrices MATH10212 Linear Algebra Brief lecture notes 57 Gram Schmidt Process enables us to find an orthogonal basis of a subspace. Let u 1,..., u k be a basis of a subspace V of R n. We begin the process of finding

More information

MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set.

MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set. MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set. Vector space A vector space is a set V equipped with two operations, addition V V (x,y) x + y V and scalar

More information

Polynomial Invariants

Polynomial Invariants Polynomial Invariants Dylan Wilson October 9, 2014 (1) Today we will be interested in the following Question 1.1. What are all the possible polynomials in two variables f(x, y) such that f(x, y) = f(y,

More information

Eigenvalues and Eigenvectors

Eigenvalues and Eigenvectors Chapter 6 Eigenvalues and Eigenvectors 6. Introduction to Eigenvalues Linear equations Ax D b come from steady state problems. Eigenvalues have their greatest importance in dynamic problems. The solution

More information

( ) which must be a vector

( ) which must be a vector MATH 37 Linear Transformations from Rn to Rm Dr. Neal, WKU Let T : R n R m be a function which maps vectors from R n to R m. Then T is called a linear transformation if the following two properties are

More information

Chapter 7. Matrices. Definition. An m n matrix is an array of numbers set out in m rows and n columns. Examples. ( 1 1 5 2 0 6

Chapter 7. Matrices. Definition. An m n matrix is an array of numbers set out in m rows and n columns. Examples. ( 1 1 5 2 0 6 Chapter 7 Matrices Definition An m n matrix is an array of numbers set out in m rows and n columns Examples (i ( 1 1 5 2 0 6 has 2 rows and 3 columns and so it is a 2 3 matrix (ii 1 0 7 1 2 3 3 1 is a

More information

α = u v. In other words, Orthogonal Projection

α = u v. In other words, Orthogonal Projection Orthogonal Projection Given any nonzero vector v, it is possible to decompose an arbitrary vector u into a component that points in the direction of v and one that points in a direction orthogonal to v

More information

Matrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws.

Matrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws. Matrix Algebra A. Doerr Before reading the text or the following notes glance at the following list of basic matrix algebra laws. Some Basic Matrix Laws Assume the orders of the matrices are such that

More information

Abstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix multiplication).

Abstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix multiplication). MAT 2 (Badger, Spring 202) LU Factorization Selected Notes September 2, 202 Abstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix

More information

Linearly Independent Sets and Linearly Dependent Sets

Linearly Independent Sets and Linearly Dependent Sets These notes closely follow the presentation of the material given in David C. Lay s textbook Linear Algebra and its Applications (3rd edition). These notes are intended primarily for in-class presentation

More information

MATH2210 Notebook 1 Fall Semester 2016/2017. 1 MATH2210 Notebook 1 3. 1.1 Solving Systems of Linear Equations... 3

MATH2210 Notebook 1 Fall Semester 2016/2017. 1 MATH2210 Notebook 1 3. 1.1 Solving Systems of Linear Equations... 3 MATH0 Notebook Fall Semester 06/07 prepared by Professor Jenny Baglivo c Copyright 009 07 by Jenny A. Baglivo. All Rights Reserved. Contents MATH0 Notebook 3. Solving Systems of Linear Equations........................

More information

NOTES ON LINEAR TRANSFORMATIONS

NOTES ON LINEAR TRANSFORMATIONS NOTES ON LINEAR TRANSFORMATIONS Definition 1. Let V and W be vector spaces. A function T : V W is a linear transformation from V to W if the following two properties hold. i T v + v = T v + T v for all

More information

Question 2: How do you solve a matrix equation using the matrix inverse?

Question 2: How do you solve a matrix equation using the matrix inverse? Question : How do you solve a matrix equation using the matrix inverse? In the previous question, we wrote systems of equations as a matrix equation AX B. In this format, the matrix A contains the coefficients

More information

1 0 5 3 3 A = 0 0 0 1 3 0 0 0 0 0 0 0 0 0 0

1 0 5 3 3 A = 0 0 0 1 3 0 0 0 0 0 0 0 0 0 0 Solutions: Assignment 4.. Find the redundant column vectors of the given matrix A by inspection. Then find a basis of the image of A and a basis of the kernel of A. 5 A The second and third columns are

More information

13 MATH FACTS 101. 2 a = 1. 7. The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.

13 MATH FACTS 101. 2 a = 1. 7. The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions. 3 MATH FACTS 0 3 MATH FACTS 3. Vectors 3.. Definition We use the overhead arrow to denote a column vector, i.e., a linear segment with a direction. For example, in three-space, we write a vector in terms

More information

Lecture 5 Principal Minors and the Hessian

Lecture 5 Principal Minors and the Hessian Lecture 5 Principal Minors and the Hessian Eivind Eriksen BI Norwegian School of Management Department of Economics October 01, 2010 Eivind Eriksen (BI Dept of Economics) Lecture 5 Principal Minors and

More information

Orthogonal Projections

Orthogonal Projections Orthogonal Projections and Reflections (with exercises) by D. Klain Version.. Corrections and comments are welcome! Orthogonal Projections Let X,..., X k be a family of linearly independent (column) vectors

More information

Factorization Theorems

Factorization Theorems Chapter 7 Factorization Theorems This chapter highlights a few of the many factorization theorems for matrices While some factorization results are relatively direct, others are iterative While some factorization

More information

Numerical Analysis Lecture Notes

Numerical Analysis Lecture Notes Numerical Analysis Lecture Notes Peter J. Olver 6. Eigenvalues and Singular Values In this section, we collect together the basic facts about eigenvalues and eigenvectors. From a geometrical viewpoint,

More information

LEARNING OBJECTIVES FOR THIS CHAPTER

LEARNING OBJECTIVES FOR THIS CHAPTER CHAPTER 2 American mathematician Paul Halmos (1916 2006), who in 1942 published the first modern linear algebra book. The title of Halmos s book was the same as the title of this chapter. Finite-Dimensional

More information

Using row reduction to calculate the inverse and the determinant of a square matrix

Using row reduction to calculate the inverse and the determinant of a square matrix Using row reduction to calculate the inverse and the determinant of a square matrix Notes for MATH 0290 Honors by Prof. Anna Vainchtein 1 Inverse of a square matrix An n n square matrix A is called invertible

More information

Recall that two vectors in are perpendicular or orthogonal provided that their dot

Recall that two vectors in are perpendicular or orthogonal provided that their dot Orthogonal Complements and Projections Recall that two vectors in are perpendicular or orthogonal provided that their dot product vanishes That is, if and only if Example 1 The vectors in are orthogonal

More information

1 2 3 1 1 2 x = + x 2 + x 4 1 0 1

1 2 3 1 1 2 x = + x 2 + x 4 1 0 1 (d) If the vector b is the sum of the four columns of A, write down the complete solution to Ax = b. 1 2 3 1 1 2 x = + x 2 + x 4 1 0 0 1 0 1 2. (11 points) This problem finds the curve y = C + D 2 t which

More information

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B KITCHENS The equation 1 Lines in two-dimensional space (1) 2x y = 3 describes a line in two-dimensional space The coefficients of x and y in the equation

More information

[1] Diagonal factorization

[1] Diagonal factorization 8.03 LA.6: Diagonalization and Orthogonal Matrices [ Diagonal factorization [2 Solving systems of first order differential equations [3 Symmetric and Orthonormal Matrices [ Diagonal factorization Recall:

More information

Review Jeopardy. Blue vs. Orange. Review Jeopardy

Review Jeopardy. Blue vs. Orange. Review Jeopardy Review Jeopardy Blue vs. Orange Review Jeopardy Jeopardy Round Lectures 0-3 Jeopardy Round $200 How could I measure how far apart (i.e. how different) two observations, y 1 and y 2, are from each other?

More information

Solution to Homework 2

Solution to Homework 2 Solution to Homework 2 Olena Bormashenko September 23, 2011 Section 1.4: 1(a)(b)(i)(k), 4, 5, 14; Section 1.5: 1(a)(b)(c)(d)(e)(n), 2(a)(c), 13, 16, 17, 18, 27 Section 1.4 1. Compute the following, if

More information

Chapter 6. Orthogonality

Chapter 6. Orthogonality 6.3 Orthogonal Matrices 1 Chapter 6. Orthogonality 6.3 Orthogonal Matrices Definition 6.4. An n n matrix A is orthogonal if A T A = I. Note. We will see that the columns of an orthogonal matrix must be

More information

4: EIGENVALUES, EIGENVECTORS, DIAGONALIZATION

4: EIGENVALUES, EIGENVECTORS, DIAGONALIZATION 4: EIGENVALUES, EIGENVECTORS, DIAGONALIZATION STEVEN HEILMAN Contents 1. Review 1 2. Diagonal Matrices 1 3. Eigenvectors and Eigenvalues 2 4. Characteristic Polynomial 4 5. Diagonalizability 6 6. Appendix:

More information

1 Review of Least Squares Solutions to Overdetermined Systems

1 Review of Least Squares Solutions to Overdetermined Systems cs4: introduction to numerical analysis /9/0 Lecture 7: Rectangular Systems and Numerical Integration Instructor: Professor Amos Ron Scribes: Mark Cowlishaw, Nathanael Fillmore Review of Least Squares

More information

Matrix algebra for beginners, Part I matrices, determinants, inverses

Matrix algebra for beginners, Part I matrices, determinants, inverses Matrix algebra for beginners, Part I matrices, determinants, inverses Jeremy Gunawardena Department of Systems Biology Harvard Medical School 200 Longwood Avenue, Cambridge, MA 02115, USA jeremy@hmsharvardedu

More information

8.2. Solution by Inverse Matrix Method. Introduction. Prerequisites. Learning Outcomes

8.2. Solution by Inverse Matrix Method. Introduction. Prerequisites. Learning Outcomes Solution by Inverse Matrix Method 8.2 Introduction The power of matrix algebra is seen in the representation of a system of simultaneous linear equations as a matrix equation. Matrix algebra allows us

More information

5 Homogeneous systems

5 Homogeneous systems 5 Homogeneous systems Definition: A homogeneous (ho-mo-jeen -i-us) system of linear algebraic equations is one in which all the numbers on the right hand side are equal to : a x +... + a n x n =.. a m

More information

Section 6.1 - Inner Products and Norms

Section 6.1 - Inner Products and Norms Section 6.1 - Inner Products and Norms Definition. Let V be a vector space over F {R, C}. An inner product on V is a function that assigns, to every ordered pair of vectors x and y in V, a scalar in F,

More information

Linear Maps. Isaiah Lankham, Bruno Nachtergaele, Anne Schilling (February 5, 2007)

Linear Maps. Isaiah Lankham, Bruno Nachtergaele, Anne Schilling (February 5, 2007) MAT067 University of California, Davis Winter 2007 Linear Maps Isaiah Lankham, Bruno Nachtergaele, Anne Schilling (February 5, 2007) As we have discussed in the lecture on What is Linear Algebra? one of

More information

These axioms must hold for all vectors ū, v, and w in V and all scalars c and d.

These axioms must hold for all vectors ū, v, and w in V and all scalars c and d. DEFINITION: A vector space is a nonempty set V of objects, called vectors, on which are defined two operations, called addition and multiplication by scalars (real numbers), subject to the following axioms

More information

CS3220 Lecture Notes: QR factorization and orthogonal transformations

CS3220 Lecture Notes: QR factorization and orthogonal transformations CS3220 Lecture Notes: QR factorization and orthogonal transformations Steve Marschner Cornell University 11 March 2009 In this lecture I ll talk about orthogonal matrices and their properties, discuss

More information

Lecture 3: Finding integer solutions to systems of linear equations

Lecture 3: Finding integer solutions to systems of linear equations Lecture 3: Finding integer solutions to systems of linear equations Algorithmic Number Theory (Fall 2014) Rutgers University Swastik Kopparty Scribe: Abhishek Bhrushundi 1 Overview The goal of this lecture

More information

Chapter 2 Determinants, and Linear Independence

Chapter 2 Determinants, and Linear Independence Chapter 2 Determinants, and Linear Independence 2.1 Introduction to Determinants and Systems of Equations Determinants can be defined and studied independently of matrices, though when square matrices

More information

5. Orthogonal matrices

5. Orthogonal matrices L Vandenberghe EE133A (Spring 2016) 5 Orthogonal matrices matrices with orthonormal columns orthogonal matrices tall matrices with orthonormal columns complex matrices with orthonormal columns 5-1 Orthonormal

More information

6. Cholesky factorization

6. Cholesky factorization 6. Cholesky factorization EE103 (Fall 2011-12) triangular matrices forward and backward substitution the Cholesky factorization solving Ax = b with A positive definite inverse of a positive definite matrix

More information

x1 x 2 x 3 y 1 y 2 y 3 x 1 y 2 x 2 y 1 0.

x1 x 2 x 3 y 1 y 2 y 3 x 1 y 2 x 2 y 1 0. Cross product 1 Chapter 7 Cross product We are getting ready to study integration in several variables. Until now we have been doing only differential calculus. One outcome of this study will be our ability

More information

Adding vectors We can do arithmetic with vectors. We ll start with vector addition and related operations. Suppose you have two vectors

Adding vectors We can do arithmetic with vectors. We ll start with vector addition and related operations. Suppose you have two vectors 1 Chapter 13. VECTORS IN THREE DIMENSIONAL SPACE Let s begin with some names and notation for things: R is the set (collection) of real numbers. We write x R to mean that x is a real number. A real number

More information

Solving simultaneous equations using the inverse matrix

Solving simultaneous equations using the inverse matrix Solving simultaneous equations using the inverse matrix 8.2 Introduction The power of matrix algebra is seen in the representation of a system of simultaneous linear equations as a matrix equation. Matrix

More information

Section 1.7 22 Continued

Section 1.7 22 Continued Section 1.5 23 A homogeneous equation is always consistent. TRUE - The trivial solution is always a solution. The equation Ax = 0 gives an explicit descriptions of its solution set. FALSE - The equation

More information

Chapter 7. Permutation Groups

Chapter 7. Permutation Groups Chapter 7 Permutation Groups () We started the study of groups by considering planar isometries In the previous chapter, we learnt that finite groups of planar isometries can only be cyclic or dihedral

More information

Operation Count; Numerical Linear Algebra

Operation Count; Numerical Linear Algebra 10 Operation Count; Numerical Linear Algebra 10.1 Introduction Many computations are limited simply by the sheer number of required additions, multiplications, or function evaluations. If floating-point

More information

Linear Algebra Review. Vectors

Linear Algebra Review. Vectors Linear Algebra Review By Tim K. Marks UCSD Borrows heavily from: Jana Kosecka kosecka@cs.gmu.edu http://cs.gmu.edu/~kosecka/cs682.html Virginia de Sa Cogsci 8F Linear Algebra review UCSD Vectors The length

More information

26. Determinants I. 1. Prehistory

26. Determinants I. 1. Prehistory 26. Determinants I 26.1 Prehistory 26.2 Definitions 26.3 Uniqueness and other properties 26.4 Existence Both as a careful review of a more pedestrian viewpoint, and as a transition to a coordinate-independent

More information

1 Introduction to Matrices

1 Introduction to Matrices 1 Introduction to Matrices In this section, important definitions and results from matrix algebra that are useful in regression analysis are introduced. While all statements below regarding the columns

More information

Subspaces of R n LECTURE 7. 1. Subspaces

Subspaces of R n LECTURE 7. 1. Subspaces LECTURE 7 Subspaces of R n Subspaces Definition 7 A subset W of R n is said to be closed under vector addition if for all u, v W, u + v is also in W If rv is in W for all vectors v W and all scalars r

More information

Math 2270 - Lecture 33 : Positive Definite Matrices

Math 2270 - Lecture 33 : Positive Definite Matrices Math 2270 - Lecture 33 : Positive Definite Matrices Dylan Zwick Fall 2012 This lecture covers section 6.5 of the textbook. Today we re going to talk about a special type of symmetric matrix, called a positive

More information

4.5 Linear Dependence and Linear Independence

4.5 Linear Dependence and Linear Independence 4.5 Linear Dependence and Linear Independence 267 32. {v 1, v 2 }, where v 1, v 2 are collinear vectors in R 3. 33. Prove that if S and S are subsets of a vector space V such that S is a subset of S, then

More information

Linear Equations ! 25 30 35$ & " 350 150% & " 11,750 12,750 13,750% MATHEMATICS LEARNING SERVICE Centre for Learning and Professional Development

Linear Equations ! 25 30 35$ &  350 150% &  11,750 12,750 13,750% MATHEMATICS LEARNING SERVICE Centre for Learning and Professional Development MathsTrack (NOTE Feb 2013: This is the old version of MathsTrack. New books will be created during 2013 and 2014) Topic 4 Module 9 Introduction Systems of to Matrices Linear Equations Income = Tickets!

More information