# 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.

Size: px
Start display at page:

Download "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."

Transcription

1 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 I and possibly also used in other modules. After a short repetition of the basic facts we will arrive at our main result, a spectral theorem for symmetric matrices. 7. Definition and examples If A is a square n n matrix, we may regard it as a linear transformation from R n to R n. This transformation sends a vector x R n to the vector Ax. For certain vectors, this action can be very simple. Example 7.. Let Then A = ( ) 2, u = 4 ( ), w = ( ) ( ) ( ) 2 Au = = = u 4 ( ) ( ) ( ) Aw = = = 2w 4 2 ( ) 2. so the action of A on u and w is very easy to picture: it simply amounts to a stretching by and 2, respectively. Definition 7.2. An eigenvector of an n n matrix A is a nonzero vector x such that Ax = λx, for some scalar λ. A scalar λ is called an eigenvalue of A if there is a non-trivial solution x to Ax = λx, in which case we say that x is an eigenvector corresponding to the eigenvalue λ. Remark 7.. Note that if x is an eigenvector of a matrix A with eigenvalue λ, then any nonzero multiple of x is also an eigenvector corresponding to λ, since A(αx) = αax = αλx = λ(αx). 67

2 68 CHAPTER 7. EIGENVALUES AND EIGENVECTORS We shall now investigate how to determine all the eigenvalues and eigenvectors of an n n matrix A. We start by observing that the defining equation Ax = λx can be written (A λi)x =. (7.) Thus λ is an eigenvalue of A if and only if (7.) has a non-trivial solution. The set of solutions of (7.) is N(A λi), that is, the nullspace of A λi, which is a subspace of R n.thus, λ is an eigenvalue of A if and only if N(A λi) {}, and any nonzero vector in N(A λi) is an eigenvector belonging to λ. Moreover, by the Invertible Matrix Theorem, (7.) has a non-trivial solution if and only if the matrix A λi is singular, or equivalently det(a λi) =. (7.2) Notice now that if the determinant in (7.2) is expanded we obtain a polynomial of degree n in the variable λ, p(λ) = det(a λi), called the characteristic polynomial of A, and equation (7.2) is called the characteristic equation of A. So, in other words, the roots of the characteristic polynomial of A are exactly the eigenvalues of A. The following theorem summarises our findings so far: Theorem 7.4. Let A be an n n matrix and λ a scalar. equivalent: The following statements are (a) λ is an eigenvalue of A; (b) (A λi)x = has a non-trivial solution; (c) N(A λi) {}; (d) A λi is singular; (e) det(a λi) =. In view of the above theorem the following concept arises naturally: Definition 7.5. If A is a square matrix and λ an eigenvalue of A, then N(A λi) is called the eigenspace corresponding to λ. Note that if λ is an eigenvalue of a matrix A, then every nonzero vector in the corresponding eigenspace N(A λi) is an eigenvector corresponding to λ, and conversely, the set of all eigenvectors corresponding to λ together with the zero vector forms the corresponding eigenspace N(A λi). We shall now see how to use (e) in the theorem above to determine the eigenvalues and eigenvectors of a given matrix. Example 7.6. Find all eigenvalues and eigenvectors of the matrix ( ) 7 6 A =. 9 8

3 7.. DEFINITION AND EXAMPLES 69 Proof. First we calculate the characteristic polynomial of A det(a λi) = 7 λ λ = ( 7 λ)(8 λ) ( 6) 9 Thus the characteristic equation is = λ 8λ + λ = λ 2 λ 2 = (λ + )(λ 2). (λ + )(λ 2) =, so the eigenvalues of the matrix are λ = and λ 2 = 2. In order to find the eigenvectors belonging to λ = we must determine the nullspace of A λ I = A + I. Or, put differently, we need to determine all solutions of the system (A + I)x =. This can be done using your favourite method, but, for reasons which will become clear in the next example, I strongly recommend Gaussian elimination, that is, we bring the augmented matrix (A + I ) to row echelon form: (A + I ) = ( ) = ( ) ( ) 9 9 ( ), so setting x 2 = α we find x = x 2 = α. Thus every vector in N(A + I) is of the form ( ) α = α α ( ), so the eigenspace corresponding to the eigenvalue is { α ( ) } α R, ( ) and any nonzero multiple of is an eigenvector corresponding to the eigenvalue. Similarly, in order to find the eigenvectors belonging to λ 2 = 2 we bring (A λ 2 I ) = (A 2I ) to row echelon form: (A 2I ) = ( ) = ( ) ( ) ( 2 so setting x 2 = α we find x = 2x 2 = 2 α. Thus every vector in N(A 2I) is of the form ( ) 2 α α = α ( ) 2, so the eigenspace corresponding to the eigenvalue 2 is and any nonzero multiple of { α ( ) } 2 α R, ( ) 2 is an eigenvector corresponding to the eigenvalue 2. ),

4 7 CHAPTER 7. EIGENVALUES AND EIGENVECTORS Before we continue with another example you might want to have another look at the above calculations of eigenspaces. Observe that since we need to solve a homogeneous linear system there is no need to write down the right-most column of the augmented matrix (since it consists only of zeros); we simply perform elementary row operations on the coefficient matrix, keeping in mind that the right-most column of the augmented matrix will remain the zero column. We shall use this short-cut in all the following calculations of eigenspaces. Example 7.7. Let 2 A = 2. 2 Find the eigenvalues and corresponding eigenspaces. Solution. A slightly tedious calculation using repeated cofactor expansions shows that the characteristic polynomial of A is 2 λ det(a λi) = 2 λ 2 λ = λ(λ )2, so the eigenvalues of A are λ = and λ 2 =. In order to find the eigenspace corresponding to λ we find the nullspace of A λ I = A using Gaussian elimination: 2 A = 2, 2 so setting x = α we find x 2 = ( )x = α and x = ( )x = α. Thus, every vector in N(A) is of the form α α = α, α so the eigenspace corresponding to the eigenvalue is α α R. In order to find the eigenspace corresponding to λ 2 we find the nullspace of A λ 2 I = A I, again using Gaussian elimination: 2 A I = 2 =, 2 so setting x 2 = α and x = β we find x = x 2 x = α β. Thus every vector in N(A I) is of the form α β α = α + β, β

5 7.. DEFINITION AND EXAMPLES 7 and so the eigenspace corresponding to the eigenvalue is α + β α, β R. Example 7.8. Find the eigenvalues of the matrix 2 A = Solution. Using the fact that the determinant of a triangular matrix is the product of the diagonal entries we find λ 2 det(a λi) = 4 λ 5 = ( λ)(4 λ)(6 λ), 6 λ so the eigenvalues of A are, 4, and 6. The above example and its method of solution are easily generalised: Theorem 7.9. The eigenvalues of a triangular matrix are precisely the diagonal entries of the matrix. The next theorem gives an important sufficient (but not necessary) condition for two matrices to have the same eigenvalues. It also serves as the foundation for many numerical procedures to approximate eigenvalues of matrices, some of which you will encounter if you take the module MTH5, Introduction to Numerical Computing. Theorem 7.. Let A and B be two n n matrices and suppose that A and B are similar, that is, there is an invertible matrix S R n n such that B = S AS. Then A and B have the same characteristic polynomial, and, consequently, have the same eigenvalues. Proof. If B = S AS, then B λi = S AS λi = S AS λs S = S (AS λs) = S (A λi)s. Thus, using the multiplicativity of determinants, det(b λi) = det(s ) det(a λi) det(s) = det(a λi), because det(s ) det(s) = det(s S) = det(i) =. We will revisit this theorem from a different perspective in the next section.

6 72 CHAPTER 7. EIGENVALUES AND EIGENVECTORS 7.2 Diagonalisation In many applications of Linear Algebra one is faced with the following problem: given a square matrix A, find the k-th power A k of A for large values of k. In general, this can be a very time-consuming task. For certain matrices, however, evaluating powers is spectacularly easy: Example 7.. Let D R 2 2 be given by D = ( ) 2. Then and In general, for k. D 2 = ( ) ( ) 2 2 = ( ) ( ) 2 2 D = DD 2 2 = 2 = D k = ( ) 2 k k, ( ) ( ) 2. After having had another look at the example above, you should convince yourself that if D is a diagonal n n matrix with diagonal entries d,..., d n, then D k is the diagonal matrix whose diagonal entries are d k,..., d k n. The moral of this is that calculating powers for diagonal matrices is easy. What if the matrix is not diagonal? The next best situation arises if the matrix is similar to a diagonal matrix. In this case, calculating powers is almost as easy as calculating powers of diagonal matrices, as we shall see shortly. We shall now single out matrices with this property and give them a special name: Definition 7.2. An n n matrix A is said to be diagonalisable if it is similar to a diagonal matrix, that is, if there is an invertible matrix P R n n such that P AP = D, where D is a diagonal matrix. In this case we say that P diagonalises A. Note that if A is a matrix which is diagonalised by P, that is, P AP = D with D diagonal, then and in general A = P DP, A 2 = P DP P DP = P D 2 P, A = AA 2 = P DP P D 2 P = P D P, A k = P D k P, for any k. Thus powers of A are easily computed, as claimed. In the following, we list (without proof) a few useful theorems relating eigenvalues, eigenvectors, and the linear independence property: Theorem 7.. If v,..., v r are eigenvectors that correspond to distinct eigenvalues λ,..., λ r of an n n matrix A, then the vectors v,..., v r are linearly independent.

7 7.2. DIAGONALISATION 7 Theorem 7.4 (Diagonalisation Theorem). An n n matrix A is diagonalisable if and only if A has n linearly independent eigenvectors. In fact, P AP = D, with D a diagonal matrix, if and only if the columns of P are n linearly independent eigenvectors of A. In this case, the diagonal entries of D are eigenvalues of A that correspond, respectively, to the eigenvectors in P. The proofs are not difficult, but rather than doing that here we want to concentrate onto some practical examples: Example 7.5. Diagonalise the following matrix, if possible: 7 A = Solution. A slightly tedious calculation shows that the characteristic polynomial is given by 7 λ p(λ) = det(a λi) = 9 5 λ 9 5 λ = λ + λ 2 4. The cubic p above can be factored by spotting that is a root. Polynomial division then yields p(λ) = (λ + )(λ 2 4λ + 4) = (λ + )(λ 2) 2, so the distinct eigenvalues of A are 2 and. The usual methods (see Examples 7.6 and 7.7) now produce a basis for each of the two eigenspaces and it turns out that N(A 2I) = Span (v, v 2 ), where v =, v 2 =, N(A + I) = Span (v ), where v =. You may now want to confirm, using your favourite method, that the three vectors v, v 2, v are linearly independent. As we shall see shortly, this is not really necessary: the union of basis vectors for eigenspaces always produces linearly independent vectors (see the proof of Corollary 7.7 below). Thus, A is diagonalisable, since it has linearly independent eigenvectors. In order to find the diagonalising matrix P we recall that defining P = ( ) v v 2 v = does the trick, that is, P AP = D, where D is the diagonal matrix whose entries are the eigenvalues of A and where the order of the eigenvalues matches the order chosen for the eigenvectors in P, that is, 2 D = 2.

8 74 CHAPTER 7. EIGENVALUES AND EIGENVECTORS It is good practice to check that P and D really do the job they are supposed to do: AP = 9 5 = 6, P D = 2 = 6, 6 so AP = P D, and hence P AP = D as required. Example 7.6. Diagonalise the following matrix, if possible: 6 2 A = Solution. The characteristic polynomial of A turns out to be exactly the same as in the previous example: det(a λi) = λ + λ 2 4 = (λ + )(λ 2) 2. Thus the eigenvalues of A are 2 and. However, in this case it turns out that both eigenspaces are -dimensional: N(A 2I) = Span (v ) where v = 2, N(A + I) = Span (v 2 ) where v 2 =. Since A has only 2 linearly independent eigenvectors, the Diagonalisation Theorem implies that A is not diagonalisable. Put differently, the Diagonalisation Theorem states that a matrix A R n n is diagonalisable if and only if A has enough eigenvectors to form a basis of R n. The following corollary makes this restatement even more precise: Corollary 7.7. Let A R n n and let λ,..., λ r be the (distinct) eigenvalues of A. Then A is diagonalisable if and only if dim N(A λ I) + + dim N(A λ r I) = n. A very useful special case of the Diagonalisation Theorem is the following: Theorem 7.8. An n n matrix with n distinct eigenvalues is diagonalisable. Proof. Let v,..., v n be eigenvectors corresponding to the n distinct eigenvalues of A. Then the n vectors v,..., v n are linearly independent by Theorem 7.. Hence A is diagonalisable by the Diagonalisation Theorem. Remark 7.9. Note that the above condition for diagonalisability is sufficient but not necessary: an n n matrix which does not have n distinct eigenvalues may or may not be diagonalisable (see Examples 7.5 and 7.6).

9 7.. INTERLUDE: COMPLEX VECTOR SPACES AND MATRICES 75 Example 7.2. The matrix 5 A = 2 6 is diagonalisable, since it has three distinct eigenvalues, 2, and. 7. Interlude: complex vector spaces and matrices Consider the matrix A = ( ). What are the eigenvalues of A? Notice that det(a λi) = λ λ = λ2 +, so the characteristic polynomial does not have any real roots, and hence A does not have any real eigenvalues. However, since λ 2 + = λ 2 ( ) = λ i 2 = (λ i)(λ + i), the characteristic polynomial has two complex roots, namely i and i. Thus it makes sense to say that A has two complex eigenvalues i and i. What are the corresponding eigenvectors? Solving (A ii)x = leads to the system ix x 2 = x ix 2 = ( ) Both equations yield the condition x 2 = ix, so is an eigenvector corresponding to i the eigenvalue i. Indeed ( ) ( ) ( ) ( ) ( ) i i = = i i 2 = i. i Similarly, we see that ( ) is an eigenvector corresponding to the eigenvalue i. Indeed i ( ) ( ) i = ( ) i = ( ) i i 2 = i ( ). i The moral of this example is the following: on the one hand, we could just say that the matrix A has no real eigenvalues and stop the discussion right here. On the other hand, we just saw that it makes sense to say that A has two complex eigenvalues with corresponding complex eigenvectors. This leads to the idea of leaving our current real set-up, and enter a complex realm instead. As it turns out, this is an immensely powerful idea. However, as our time is limited, we shall only cover the bare necessities, allowing us to prove the main result of the next section.

10 76 CHAPTER 7. EIGENVALUES AND EIGENVECTORS Let C n denote the set of all n-vectors with complex entries, that is, z C n =. z,..., z n C. z n Just as in R n, we add vectors in C n by adding their entries, and we can multiply a vector in C n by a complex number, by multiplying each entry. Example 7.2. Let z, w C and α C, with + i 2 + i z = 2i, w = 2 + i, α = ( + 2i). Then ( + i) + ( 2 + i) + 4i z + w = 2i + = + 2i + (2 + i) 5 + i ( + 2i)( + i) + 2i + i + 2i 2 + i αz = ( + 2i)(2i) ( + 2i) = 2i + (2i) 2 + 6i = 4 + 2i + 6i If addition and scalar multiplication is defined in this way (now allowing scalars to be in C), then C n satisfies all the axioms of a vector space. Similarly, we can introduce the set of all m n matrices with complex entries, call it C m n, and define addition and scalar multiplication (again allowing complex scalars) entry-wise just as in R m n. Again, C m n satisfies all the axioms of a vector space. Fact All the results in Chapters 5, and all the results from the beginning of this chapter hold verbatim, if scalar is taken to mean complex number. Since scalars are now allowed to be complex numbers, C n and C m n are known as complex vector spaces. The reason for allowing this more general set-up is that, in a certain sense, complex numbers are much nicer than real numbers. More precisely, we have the following result: Theorem 7.2 (Fundamental Theorem of Algebra). If p is a complex polynomial of degree n, that is, p(z) = c n z n + + c z + c, where c, c,..., c n C, then p has at least one (possibly complex) root. Corollary Every matrix A C n n has at least one (possibly complex) eigenvalue and a corresponding eigenvector z C n. Proof. Since λ is an eigenvalue of A if and only if det(a λi) = and since p(λ) = det(a λi) is a polynomial with complex coefficients of degree n, the assertion follows from the Fundamental Theorem of Algebra. The corollary above is the main reason why complex vector spaces are considered. We are guaranteed that every matrix has at least one eigenvalue, and we may then use the powerful tools developed in the earlier parts of this chapter to analyse matrices through their eigenvalues and eigenvectors.

11 7.4. SPECTRAL THEOREM FOR SYMMETRIC MATRICES Spectral Theorem for Symmetric Matrices This last section of the last chapter is devoted to one of the gems of Linear Algebra: the Spectral Theorem. This result, which has many applications, a number of which you will see in other modules, is concerned with the diagonalisability of symmetric matrices. Recall that a matrix A R n n is said to be diagonalisable if there is an invertible matrix P R n n such that P AP is diagonal. We already know that A is diagonalisable if and only if A has n linearly independent eigenvectors. However, this condition is difficult to check in practice. It may thus come as a surprise that there is a sufficiently rich class of matrices that are always diagonalisable, and moreover, that the diagonalising matrix P is of a special form. This is the content of the Spectral Theorem for Symmetric Matrices, or Spectral Theorem for short: Theorem 7.25 (Spectral Theorem for Symmetric Matrices). Let A R n n be symmetric. Then there is an orthogonal matrix Q R n n such that Q T AQ = D, where D R n n is diagonal. Or put differently: every symmetric matrix can be diagonalised by an orthogonal matrix. Reminder: A is symmetric means A T = A. Q is orthogonal means Q T Q = I. The proof of the above Theorem is omitted here. Rather, we end this course on Linear Algebra with an important Corollary The eigenvalues of a symmetric matrix A are real, and eigenvectors corresponding to distinct eigenvalues are orthogonal. Example Consider the symmetric matrix 2 A = Find an orthogonal matrix Q that diagonalises A. Solution. The characteristic polynomial of A is det(a λi) = λ + λ 2 + 9λ + 5 = ( + λ) 2 (5 λ), so the eigenvalues of A are and 5. Computing N(A + I) in the usual way shows that {x, x } is a basis for N(A + I) where 2 x =, x 2 =. Similarly, we find that the eigenspace N(A 5I) corresponding to the eigenvalue 5 is - dimensional with basis x = 2. There are other, more general versions of the Spectral Theorem. In this course, we will only consider the symmetric case.

12 78 CHAPTER 7. EIGENVALUES AND EIGENVECTORS In order to construct the diagonalising orthogonal matrix for A it suffices to find orthonormal bases for each of the eigenspaces, since, by the previous corollary, eigenvectors corresponding to distinct eigenvalues are orthogonal. In order to find an orthonormal basis for N(A + I) we apply the Gram Schmidt process to the basis {x, x 2 } to produce the orthogonal set {v, v 2 }: v = x =, v 2 = x 2 x 2 v v v v =. Now {v, v 2, x } is an orthogonal basis of R consisting of eigenvectors of A, so normalising them to produce u = v v = / 2 /, u 2 = / v 2 2 v 2 = / /, u = x x = allows us to write down the orthogonal matrix Q = ( ) / 2 / / 6 u u 2 u = / 2/ 6 / 2 / / 6 / 6 2/ 6 /, 6 which diagonalises A, that is, Q T AQ =. 5

### 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

### 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

### 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

### 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

### 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

### 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,

### 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)(

### 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

### 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

### 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

### LINEAR ALGEBRA. September 23, 2010

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

### 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:

### 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 +

### 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

### 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,

### 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

### 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

### 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

### Examination paper for TMA4115 Matematikk 3

Department of Mathematical Sciences Examination paper for TMA45 Matematikk 3 Academic contact during examination: Antoine Julien a, Alexander Schmeding b, Gereon Quick c Phone: a 73 59 77 82, b 40 53 99

### 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

### 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

### 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

### 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

### [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:

### Vector and Matrix Norms

Chapter 1 Vector and Matrix Norms 11 Vector Spaces Let F be a field (such as the real numbers, R, or complex numbers, C) with elements called scalars A Vector Space, V, over the field F is a non-empty

### 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

### 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

### 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,

### 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

### 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,

### Recall the basic property of the transpose (for any A): v A t Aw = v w, v, w R n.

ORTHOGONAL MATRICES Informally, an orthogonal n n matrix is the n-dimensional analogue of the rotation matrices R θ in R 2. When does a linear transformation of R 3 (or R n ) deserve to be called a rotation?

### LINEAR ALGEBRA W W L CHEN

LINEAR ALGEBRA W W L CHEN c W W L Chen, 1997, 2008 This chapter is available free to all individuals, on understanding that it is not to be used for financial gain, and may be downloaded and/or photocopied,

### 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

### 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

### 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

### 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

### Inner Product Spaces and Orthogonality

Inner Product Spaces and Orthogonality week 3-4 Fall 2006 Dot product of R n The inner product or dot product of R n is a function, defined by u, v a b + a 2 b 2 + + a n b n for u a, a 2,, a n T, v b,

### 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

### Inner Product Spaces

Math 571 Inner Product Spaces 1. Preliminaries An inner product space is a vector space V along with a function, called an inner product which associates each pair of vectors u, v with a scalar u, v, and

### 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

### 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

### 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

### 1 VECTOR SPACES AND SUBSPACES

1 VECTOR SPACES AND SUBSPACES What is a vector? Many are familiar with the concept of a vector as: Something which has magnitude and direction. an ordered pair or triple. a description for quantities such

### 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.

Chapter 1 LINEAR EQUATIONS 1.1 Introduction to linear equations A linear equation in n unknowns x 1, x,, x n is an equation of the form a 1 x 1 + a x + + a n x n = b, where a 1, a,..., a n, b are given

### 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)

### 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

### 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

### 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

### 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

### 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

### Linear Algebra Done Wrong. Sergei Treil. Department of Mathematics, Brown University

Linear Algebra Done Wrong Sergei Treil Department of Mathematics, Brown University Copyright c Sergei Treil, 2004, 2009, 2011, 2014 Preface The title of the book sounds a bit mysterious. Why should anyone

### Notes on Linear Algebra. Peter J. Cameron

Notes on Linear Algebra Peter J. Cameron ii Preface Linear algebra has two aspects. Abstractly, it is the study of vector spaces over fields, and their linear maps and bilinear forms. Concretely, it is

### 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

### 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

### 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

### 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

### 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

### Introduction to Matrix Algebra

Psychology 7291: Multivariate Statistics (Carey) 8/27/98 Matrix Algebra - 1 Introduction to Matrix Algebra Definitions: A matrix is a collection of numbers ordered by rows and columns. It is customary

### Chapter 20. Vector Spaces and Bases

Chapter 20. Vector Spaces and Bases In this course, we have proceeded step-by-step through low-dimensional Linear Algebra. We have looked at lines, planes, hyperplanes, and have seen that there is no limit

### x + y + z = 1 2x + 3y + 4z = 0 5x + 6y + 7z = 3

Math 24 FINAL EXAM (2/9/9 - SOLUTIONS ( Find the general solution to the system of equations 2 4 5 6 7 ( r 2 2r r 2 r 5r r x + y + z 2x + y + 4z 5x + 6y + 7z 2 2 2 2 So x z + y 2z 2 and z is free. ( r

### α = 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

### Linear Algebra I. Ronald van Luijk, 2012

Linear Algebra I Ronald van Luijk, 2012 With many parts from Linear Algebra I by Michael Stoll, 2007 Contents 1. Vector spaces 3 1.1. Examples 3 1.2. Fields 4 1.3. The field of complex numbers. 6 1.4.

### 4 MT210 Notebook 4 3. 4.1 Eigenvalues and Eigenvectors... 3. 4.1.1 Definitions; Graphical Illustrations... 3

MT Notebook Fall / prepared by Professor Jenny Baglivo c Copyright 9 by Jenny A. Baglivo. All Rights Reserved. Contents MT Notebook. Eigenvalues and Eigenvectors................................... Definitions;

### 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?

### Applied Linear Algebra I Review page 1

Applied Linear Algebra Review 1 I. Determinants A. Definition of a determinant 1. Using sum a. Permutations i. Sign of a permutation ii. Cycle 2. Uniqueness of the determinant function in terms of properties

### October 3rd, 2012. Linear Algebra & Properties of the Covariance Matrix

Linear Algebra & Properties of the Covariance Matrix October 3rd, 2012 Estimation of r and C Let rn 1, rn, t..., rn T be the historical return rates on the n th asset. rn 1 rṇ 2 r n =. r T n n = 1, 2,...,

### Linear Algebra Done Wrong. Sergei Treil. Department of Mathematics, Brown University

Linear Algebra Done Wrong Sergei Treil Department of Mathematics, Brown University Copyright c Sergei Treil, 2004, 2009, 2011, 2014 Preface The title of the book sounds a bit mysterious. Why should anyone

### Similar matrices and Jordan form

Similar matrices and Jordan form We ve nearly covered the entire heart of linear algebra once we ve finished singular value decompositions we ll have seen all the most central topics. A T A is positive

### Inner product. Definition of inner product

Math 20F Linear Algebra Lecture 25 1 Inner product Review: Definition of inner product. Slide 1 Norm and distance. Orthogonal vectors. Orthogonal complement. Orthogonal basis. Definition of inner product

### 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

CALIFORNIA INSTITUTE OF TECHNOLOGY Division of the Humanities and Social Sciences More than you wanted to know about quadratic forms KC Border Contents 1 Quadratic forms 1 1.1 Quadratic forms on the unit

### 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

### Math 550 Notes. Chapter 7. Jesse Crawford. Department of Mathematics Tarleton State University. Fall 2010

Math 550 Notes Chapter 7 Jesse Crawford Department of Mathematics Tarleton State University Fall 2010 (Tarleton State University) Math 550 Chapter 7 Fall 2010 1 / 34 Outline 1 Self-Adjoint and Normal Operators

### 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

### 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

### Section 4.4 Inner Product Spaces

Section 4.4 Inner Product Spaces In our discussion of vector spaces the specific nature of F as a field, other than the fact that it is a field, has played virtually no role. In this section we no longer

### Notes on Symmetric Matrices

CPSC 536N: Randomized Algorithms 2011-12 Term 2 Notes on Symmetric Matrices Prof. Nick Harvey University of British Columbia 1 Symmetric Matrices We review some basic results concerning symmetric matrices.

### r (t) = 2r(t) + sin t θ (t) = r(t) θ(t) + 1 = 1 1 θ(t) 1 9.4.4 Write the given system in matrix form x = Ax + f ( ) sin(t) x y 1 0 5 z = dy cos(t)

Solutions HW 9.4.2 Write the given system in matrix form x = Ax + f r (t) = 2r(t) + sin t θ (t) = r(t) θ(t) + We write this as ( ) r (t) θ (t) = ( ) ( ) 2 r(t) θ(t) + ( ) sin(t) 9.4.4 Write the given system

### Bindel, Spring 2012 Intro to Scientific Computing (CS 3220) Week 3: Wednesday, Feb 8

Spaces and bases Week 3: Wednesday, Feb 8 I have two favorite vector spaces 1 : R n and the space P d of polynomials of degree at most d. For R n, we have a canonical basis: R n = span{e 1, e 2,..., e

### ISOMETRIES OF R n KEITH CONRAD

ISOMETRIES OF R n KEITH CONRAD 1. Introduction An isometry of R n is a function h: R n R n that preserves the distance between vectors: h(v) h(w) = v w for all v and w in R n, where (x 1,..., x n ) = x

### 3. INNER PRODUCT SPACES

. INNER PRODUCT SPACES.. Definition So far we have studied abstract vector spaces. These are a generalisation of the geometric spaces R and R. But these have more structure than just that of a vector space.

### 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

### 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

### MA106 Linear Algebra lecture notes

MA106 Linear Algebra lecture notes Lecturers: Martin Bright and Daan Krammer Warwick, January 2011 Contents 1 Number systems and fields 3 1.1 Axioms for number systems......................... 3 2 Vector

### THE DIMENSION OF A VECTOR SPACE

THE DIMENSION OF A VECTOR SPACE KEITH CONRAD This handout is a supplementary discussion leading up to the definition of dimension and some of its basic properties. Let V be a vector space over a field

### The last three chapters introduced three major proof techniques: direct,

CHAPTER 7 Proving Non-Conditional Statements The last three chapters introduced three major proof techniques: direct, contrapositive and contradiction. These three techniques are used to prove statements

### 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

### 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

### Vector Spaces 4.4 Spanning and Independence

Vector Spaces 4.4 and Independence October 18 Goals Discuss two important basic concepts: Define linear combination of vectors. Define Span(S) of a set S of vectors. Define linear Independence of a set

### 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

### 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

### Inner products on R n, and more

Inner products on R n, and more Peyam Ryan Tabrizian Friday, April 12th, 2013 1 Introduction You might be wondering: Are there inner products on R n that are not the usual dot product x y = x 1 y 1 + +

### Math 215 HW #6 Solutions

Math 5 HW #6 Solutions Problem 34 Show that x y is orthogonal to x + y if and only if x = y Proof First, suppose x y is orthogonal to x + y Then since x, y = y, x In other words, = x y, x + y = (x y) T

### ( ) 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

### Linear Algebra: Determinants, Inverses, Rank

D Linear Algebra: Determinants, Inverses, Rank D 1 Appendix D: LINEAR ALGEBRA: DETERMINANTS, INVERSES, RANK TABLE OF CONTENTS Page D.1. Introduction D 3 D.2. Determinants D 3 D.2.1. Some Properties of

### 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

### 1.2 Solving a System of Linear Equations

1.. SOLVING A SYSTEM OF LINEAR EQUATIONS 1. Solving a System of Linear Equations 1..1 Simple Systems - Basic De nitions As noticed above, the general form of a linear system of m equations in n variables

### Linear algebra and the geometry of quadratic equations. Similarity transformations and orthogonal matrices

MATH 30 Differential Equations Spring 006 Linear algebra and the geometry of quadratic equations Similarity transformations and orthogonal matrices First, some things to recall from linear algebra Two