Inner products and orthogonality

Size: px
Start display at page:

Download "Inner products and orthogonality"

Transcription

1 Chapter 5 Inner products and orthogonality Inner product spaces, norms, orthogonality, Gram-Schmidt process Reading The list below gives examples of relevant reading. (For full publication details, see Chapter.) Leon, S.J., Linear Algebra with Applications. Chapter 5, Sections 5., 5.3, 5.5. Ostaszewski, A. Advanced Mathematical Methods. 2.3, 2.4, 2.7 and 2.8. Simon, C.P. and Blume, L., Mathematics for Economists. Chapter 0, Section 0.4. Introduction In this short chapter we examine more generally the concept of orthogonality, which has already been encountered in our work on orthogonal diagonalisation. The inner product of two real n-vectors For x, y R n, the inner product (sometimes called the dot product or scalar product) is defined to be the number x, y given by x, y = x T y = x y + x 2 y x n y n. Example: If x = (, 2, 3) T and y = (2,, ) then x, y = (2) + 2( ) + 3() = 3. 7

2 It is important to realise that the inner product is just a number, not another vector or a matrix. Inner products more generally Suppose that V is a vector space (over the real numbers). An inner product on V is a mapping from (or operation on) pairs of vectors x, y to the real numbers, the result of which is a real number denoted x, y, which satisfies the following properties: (i) x, x 0 for all x V, and x, x = 0 if and only if x = 0, the zero vector of the vector space (ii) x, y = y, x for all x, y V (iii) αx + βy, z = α x, z + β y, z for all x, y, z V and all α, β R. Some other basic facts follow immediately from this definition: for example, z, αx + βy = α z, x + β z, y. Activity 5. Prove this. It is a simple matter to check that the inner product defined above for real vectors is indeed an inner product according to this more abstract definition, and we shall call it the standard inner product on R n. The abstract definition, though, applies to more than just the vector space R n, and there is some advantage in developing results in terms of the general notion of inner product. If a vector space has an inner product defined on it, we refer to it as an inner product space. Example: Suppose that V is the vector space consisting of all real polynomial functions of degree at most n; that is, V consists of all functions of the form p(x) = a 0 + a x + a 2 x a n x n, where a 0, a,..., a n R. The addition and scalar multiplication are, as usual, defined pointwise. Let x, x 2,..., x n+ be n fixed, different, real numbers, and define, for p, q V, n+ p, q = p(x i )q(x i ). i= Then this is an inner product. To see this, we check the properties in the definition of an inner product. Property (ii) is clear. For (i), we have n+ p, p = p(x i ) 2 0. i= Clearly, if p is the zero vector of the vector space (which is the identically-0 function), then p, p = 0. To finish verifying (i) we need to check that if p, p = 0 then p must be the zero function. Now, p, p = 0 must mean that p(x i ) = 0 for i =, 2,..., n +. So p has n + different roots. But p has degree no more than n, so p must be the identically-zero function. (A non-zero polynomial of degree at most n has no more than n distinct roots.) Part (iii) is left to you: 72

3 Activity 5.2 Prove that, for any alpha, β R and any p, q, r V, αp + βq, r = α p, r + β q, r. Norms in a vector space For any x in an inner product space V, the inner product x, x is non-negative (by definition). Now, because x, x 0, we may take its square root (obtaining a real number). We define the norm or length x of a vector x to be x = x, x. For example, for the standard inner product on R n, x, x = x 2 + x x 2 n, (which is clearly non-negative since it is a sum of squares), and we obtain the standard Euclidean length of a vector: x = x 2 + x x2 n. Orthogonality Orthogonal vectors We have already said (in the discussion of orthogonal diagonalisation) what it means for two vectors x, y in R n to be orthogonal: it means that x T y = 0. In other words, x, y are orthogonal if x, y = 0. We take this as the general definition of orthogonality in an inner product space: Definition 5. Suppose that V is an inner product space. Then x, y V are said to be orthogonal if x, y = 0. We write x y to mean that x, y are orthogonal. Example: With the usual inner product on R 3, the vectors x = (,, 0) T y = (2, 2, 3) T are orthogonal. and Activity 5.3 Check this! Geometrical interpretation A geometrical interpretation can be given to the notion of orthogonality in R n. Consider a very simple example with n = 2. Suppose that x = (, ) T and y = (, ) T. Then x, y are orthogonal, as is easily seen. We can represent x, y geometrically on the standard two-dimensional (x, y)-plane: x is represented as an arrow from the origin (0, 0) to the point (, ); and y is represented as an arrow from the origin to the point (, ). This is shown in the figure. It is clear that these arrows the geometrical interpretations of x, y are at right angles to each other: they are perpendicular. 73

4 y (, ) (0, 0) (, ) x In fact, this geometrical interpretation is valid in R n, for any n. This is because it turns out that if x, y R n then the inner product x, y equals x y cos θ where θ is the angle between the geometrical representations of the two vectors. If neither x nor y is the zero-vector, then the inner product is 0 if and only if cos θ = 0, which means that θ is π/2 or 3π/2 radians, in which case the angle between the vectors is a right angle. Orthogonality and linear independence If a set of (non-zero) vectors are pairwise orthogonal (that is, any two are orthogonal) then it turns out that the vectors are linearly independent: Theorem 5. Suppose that V is an inner product space and that vectors v, v 2,..., v k V are pairwise orthogonal (v i v j for i j), and none is the zero-vector. Then {v, v 2,..., v k } is a linearly independent set of vectors. Proof We need to show that if α v + α 2 v α k v k = 0, (the zero-vector), then α = α 2 = = α k = 0. Let i be any integer between and k. Then v i, α v + α 2 v α k v k = v i, 0 = 0. But, since v i, v j = 0 for j i, v i, α v +α 2 v 2 + +α k v k = α v i, v +α 2 v i, v 2 + +α k v i, v k = α i v i, v i = α i v i 2. So we have α i v i 2 = 0. Since v i 0, v i 2 0 and hence α i = 0. But i was any integer in the range to n, so we deduce that as required. α = α 2 =... = α k = 0, 74

5 Orthogonal matrices and orthonormal sets We have already met the word orthogonal in a different context: we spoke of orthogonal matrices when considering orthogonal diagonalisation. Recall that a matrix P is orthogonal if P T = P. Now, this means that P T P = I, the identity matrix. Suppose that the columns of P are x, x 2,..., x n. Then the fact that P T P = I means that x T i x j = 0 if i j and x T i x i =. To help see this, consider the case n = 3. Then, P = (x x 2 x 3 ) and since P T P = I we have = I = P T P = 0 0 xt x T 2 x T 3 ( x xt x x 2 x 3 ) = x T 2 x x T x 2 x T 2 x 2 x T x 3 x T 2 x 3. x T 3 x x T 3 x 2 x T 3 x 3 But, if i j, x T i x j = 0 means precisely that the columns x i, x j are orthogonal. The second statement is that x i 2 =, which means (since x i 0) that x i = ; that is, x i is of length. This indicates the following characterisation: a matrix P is orthogonal if and only if, as vectors, its columns are pairwise orthogonal, and each has length. When a set of vectors {x, x 2,..., x k } is such that any two are orthogonal and, furthermore, each has length, we say that the vectors form an orthonormal set (ONS) of vectors. So we can restate our previous observation as follows. Theorem 5.2 A matrix P is orthogonal if and only if the columns of P form an orthonormal set of vectors. The Cauchy-Schwarz inequality This important inequality is as follows. Theorem 5.3 (Cauchy-Schwarz inequality) Suppose that V is an inner product space. Then x, y x y for all x, y V. Proof Let x, y be any two vectors of V. For any real number α, we consider the vector αx + y. Certainly, αx + y 2 0 for all α. But αx + y 2 = αx + y, αx + y = α 2 x, x + α x, y + α y, x + y, y = α 2 x 2 + 2α x, y + y 2. Now, this quadratic expression in α is non-negative for all α. Generally, we know that if a quadratic expression az 2 + bz + c is non-negative for all z then b 2 4ac 0. Applying this observation, we see that (2 x, y ) 2 4 x 2 y 2 0, or ( x, y ) 2 x 2 y 2. 75

6 Taking the square root of each side we obtain which is what we need. x, y x y, (Recall that x, y denotes the absolute value of the inner product.) For example, if we take V to be R n and consider the standard inner product on R n, then for all x, y R n, the Cauchy-Schwarz inequality tells us that n x i y i n x 2 n i yi 2. i= i= i= Generalised Pythagoras theorem A version of Pythagoras theorem will no doubt be familiar to almost all of you: namely, that if a is the length of the longest side of a right angled triangle, and b and c the lengths of the other two sides, then a 2 = b 2 + c 2. The generalised Pythagoras theorem is: Theorem 5.4 (Generalised Pythagoras Theorem) In an inner product space V, if x, y V are orthogonal, then x + y 2 = x 2 + y 2. Proof This is easy to prove. We know that for any z, z 2 = z, z, simply from the definition of the norm. So, x + y 2 = x + y, x + y = x, x + y + y, x + y = x, x + x, y + y, x + y, y = x x, y + y 2 = x 2 + y 2, where the last line follows from the fact that, x, y being orthogonal, x, y = 0. We also have the triangle inequality for norms. Theorem 5.5 (Triangle inequality for norms) In an inner product space V, if x, y V, then x + y x + y. Proof We have x + y 2 = x + y, x + y = x, x + y + y, x + y 76

7 = x, x + x, y + y, x + y, y = x x, y + y 2 x 2 + y x, y x 2 + y x y = ( x + y ) 2, where the last inequality used is the Cauchy-Schwarz inequality. Thus x + y x + y, as required. Gram-Schmidt orthonormalisation process The orthonormalisation procedure Given a set of linearly independent vectors {v, v 2,..., v k }, the Gram-Schmidt orthonormalisation process is a way of producing k vectors that span the same space as is spanned by {v, v 2,..., v k }, and that form an orthonormal set. That is, the process produces a set {e, e 2,..., e k } such that: Lin{e, e 2,..., e k } = Lin{v, v 2,..., v k } {e, e 2,..., e k } is an orthonormal set. It works as follows. First, we set Then we define and set Next, we define and set e = v v. u 2 = v 2 v 2, e e, e 2 = u 2 u 2. u 3 = v 3 v 3, e e v 3, e 2 e 2 e 3 = u 3 u 3. Generally, when we have e, e 2,..., e i, we let u i+ = v i+ i v i+, e j e j, e j+ = u i+ u i+. j= It turns out that the resulting set {e, e 2,..., e k } has the required properties. Example: In R 4, let us find an orthonormal basis for the linear span of the three vectors v = (,,, ) T, v 2 = (, 4, 4, ) T, v 3 = (4, 2, 2, 0). 77

8 First, we have Next, we have e = v v = v = 2 v = (/2, /2, /2, /2) T. u 2 = v 2 v 2, e e = (, 4, 4, ) T (3)(/2, /2, /2, /2) T = ( 5/2, 5/2, 5/2, 5/2) T, and we set e 2 = u 2 = ( /2, /2, /2, /2). u 2 (Note: to do this last step, I merely noted that a normalised vector in the same direction as u 2 is also a normalised vector in the same direction as (,,, ) T, and this second vector is easier to work with.) Continuing, we have u 3 = v 3 v 3, e e v 3, e 2 e 2 = (4, 2, 2, 0) T (2)(/2, /2, /2, /2) T ( 2)( /2, /2, /2, /2) T = (2, 2, 2, 2) T. Then, So e 3 = u 3 u 3 = (/2, /2, /2, /2)T. /2 /2 /2 /2 /2 /2 {e, e 2, e 3 } =,, /2 /2 /2. /2 /2 /2 Activity 5.4 Verify that the set {e, e 2, e 3 } of this example is an orthonormal set. Orthogonal diagonalisation when eigenvalues are not distinct We have seen in an earlier chapter that if a symmetric matrix has distinct eigenvalues, then (since eigenvectors corrsponding to different eigenvalues are orthogonal) it is orthogonally diagonalisable. But, in fact, n n symmetric matrices are always orthogonally diagonalisable, even if they do not have n distinct eigenvalues. What we need for orthogonal diagonalisation is an orthonormal set of n eigenvectors. If it so happens that there are n different eigenvalues then any set of n corresponding eigenvectors form a pairwise orthogonal set of vectors, and all we need do to transform the set into an orthonormal set is normalise each vector. However, if we have repeated eigenvalues, more care is required. Suppose that λ 0 is a repeated eigenvalue of A, by which we mean that, for some k 2, (λ λ 0 ) k is a factor of the characteristic polynomial of A. The multiplicity of λ 0 is the largest k for which this is the case. The eigenspace corresponding to λ 0 is E(λ 0 ) = {x : (A λ 0 )x = 0}, the subspace consisting of all eigenvectors corresponding to λ 0, together with the zero-vector 0. An important fact, which we shall not prove here, is that, if A is symmetric, the dimension of E(λ 0 ) is exactly the multiplicity k of λ 0. This means that there is some basis {x, x 2,..., x k } of size k of the eigenspace E(λ 0 ). We can 78

9 use the Gram-Schmidt orthonormalisation process to produce an orthonormal basis of E(λ 0 ). Eigenvectors from different eigenspaces are orthogonal (and hence linearly independent). So if we compose a set of n vectors by taking orthonormal bases for each of the eigenspaces, the resulting set is orthonormal, and we can orthogonally diagonalise the matrix A by means of the matrix P with these vectors as its columns. Learning outcomes At the end of this chapter and the relevant reading, you should be able to: explain what is meant by an inner product on a vector space verify that a given inner product is indeed an inner product compute norms in inner product spaces explain why orthogonality of a set of vectors implies linear independence explain what is meant by an orthonormal set of vectors explain why an n n matrix is orthogonal if and only if it possesses an orthonormal set of n eigenvectors know and apply the Cauchy-Schwarz inequality, the Generalised Pythagoras Theorem, and the triangle inequality for norms use the Gram-Schmidt orthonormalisation process Sample examination questions The following are typical exam questions, or parts of questions. Question 5. Let V be the vector space of all m n real matrices (with matrix addition and scalar multiplication). Define, for A = (a ij ) and B = (b ij ) V, m n A, B = a ij b ij. Prove that this is an inner product on V. i= j= Question 5.2 Prove that in any inner product space V, for all x, y V. x + y 2 + x y 2 = 2 x y 2, Question 5.3 Suppose that v R n. Prove that the set of vectors orthogonal to v, W = {x R n : x v}, is a subspace of R n. How would you describe this subspace geometrically? More generally, suppose that S is any (not necessarily finite) set of vectors in R n and let S denote the set Prove that S is a subspace of R n. S = {x R n : x v for all v S}. 79

10 Question 5.4 Use the Gram-Schmidt process to find an orthonormal basis for the subspace of R 4 spanned by the vectors v =, v 2 =, v 3 =. 2 0 Sketch answers or comments on selected questions Question 5. Property (i) of the definition of inner product is easy to check: A, A = m i= j= n a 2 ij 0, and this equals zero if and only if for every i and every j, a ij = 0, which means that A is the zero matrix, which in this vector space is the zero vector. Property (ii) is easy to verify, as also is (iii). Question 5.2 We have: x + y 2 + x y 2 = x + y, x + y + x y, x y = x, x + 2 x, y + y, y + x, x 2 x, y + y, y = 2 x, x + 2 y, y = 2 x y 2. Question 5.3 Suppose x, y W and α, β R. Because x v and y v, we have (by definition) x, v = y, v = 0. Therefore, αx + βy, v = α x, v + β x, v = α(0) + β(0) = 0, and hence αx + βy v; that is, αx + βy W. Therefore W is a subspace. In fact, W is the set {x : x, v = 0}, which is the hyperplane through the origin with normal vector v. (Hyperplanes are discussed again in a later chapter.) We omit the proof that S is a subspace. This is a standard result, which can be found in the texts: S is known as the orthogonal complement of S. Question 5.4 To start with, e = v / v = (/ 2)(, 0,, 0) T. Then we let 0 2 u 2 = v 2 v 2, e e = = Then 0 e 2 = u 2 u 2 =

11 Next, Normalising u 3 we obtain /5 u 3 = v 3 v 3, e 2 e 2 v 3, e e = =. 2/5 e 3 = 55 ( 5,, 5, 2) T. The required basis is {e, e 2, e 3 }. 8

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

3. INNER PRODUCT SPACES

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.

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

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

Section 4.4 Inner Product Spaces

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

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

Inner Product Spaces

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

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

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

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

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

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

17. Inner product spaces Definition 17.1. Let V be a real vector space. An inner product on V is a function

17. Inner product spaces Definition 17.1. Let V be a real vector space. An inner product on V is a function 17. Inner product spaces Definition 17.1. Let V be a real vector space. An inner product on V is a function, : V V R, which is symmetric, that is u, v = v, u. bilinear, that is linear (in both factors):

More information

Vector and Matrix Norms

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

More information

Inner Product Spaces and Orthogonality

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,

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

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

Numerical Analysis Lecture Notes

Numerical Analysis Lecture Notes Numerical Analysis Lecture Notes Peter J. Olver 5. Inner Products and Norms The norm of a vector is a measure of its size. Besides the familiar Euclidean norm based on the dot product, there are a number

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

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

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

Linear Algebra I. Ronald van Luijk, 2012

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.

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

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

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?

More information

Inner product. Definition of inner product

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

More information

Math 4310 Handout - Quotient Vector Spaces

Math 4310 Handout - Quotient Vector Spaces Math 4310 Handout - Quotient Vector Spaces Dan Collins The textbook defines a subspace of a vector space in Chapter 4, but it avoids ever discussing the notion of a quotient space. This is understandable

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

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

Section 1.1. Introduction to R n

Section 1.1. Introduction to R n The Calculus of Functions of Several Variables Section. Introduction to R n Calculus is the study of functional relationships and how related quantities change with each other. In your first exposure to

More information

1 VECTOR SPACES AND SUBSPACES

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

More information

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

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

More information

28 CHAPTER 1. VECTORS AND THE GEOMETRY OF SPACE. v x. u y v z u z v y u y u z. v y v z

28 CHAPTER 1. VECTORS AND THE GEOMETRY OF SPACE. v x. u y v z u z v y u y u z. v y v z 28 CHAPTER 1. VECTORS AND THE GEOMETRY OF SPACE 1.4 Cross Product 1.4.1 Definitions The cross product is the second multiplication operation between vectors we will study. The goal behind the definition

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

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

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

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

Figure 1.1 Vector A and Vector F

Figure 1.1 Vector A and Vector F CHAPTER I VECTOR QUANTITIES Quantities are anything which can be measured, and stated with number. Quantities in physics are divided into two types; scalar and vector quantities. Scalar quantities have

More information

Lecture 14: Section 3.3

Lecture 14: Section 3.3 Lecture 14: Section 3.3 Shuanglin Shao October 23, 2013 Definition. Two nonzero vectors u and v in R n are said to be orthogonal (or perpendicular) if u v = 0. We will also agree that the zero vector in

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

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

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

BANACH AND HILBERT SPACE REVIEW

BANACH AND HILBERT SPACE REVIEW BANACH AND HILBET SPACE EVIEW CHISTOPHE HEIL These notes will briefly review some basic concepts related to the theory of Banach and Hilbert spaces. We are not trying to give a complete development, but

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

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

LINEAR ALGEBRA W W L CHEN

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,

More information

MATH 304 Linear Algebra Lecture 20: Inner product spaces. Orthogonal sets.

MATH 304 Linear Algebra Lecture 20: Inner product spaces. Orthogonal sets. MATH 304 Linear Algebra Lecture 20: Inner product spaces. Orthogonal sets. Norm The notion of norm generalizes the notion of length of a vector in R n. Definition. Let V be a vector space. A function α

More information

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.

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

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

Chapter 20. Vector Spaces and Bases

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

More information

Elementary Linear Algebra

Elementary Linear Algebra Elementary Linear Algebra Kuttler January, Saylor URL: http://wwwsaylororg/courses/ma/ Saylor URL: http://wwwsaylororg/courses/ma/ Contents Some Prerequisite Topics Sets And Set Notation Functions Graphs

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

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

THREE DIMENSIONAL GEOMETRY

THREE DIMENSIONAL GEOMETRY Chapter 8 THREE DIMENSIONAL GEOMETRY 8.1 Introduction In this chapter we present a vector algebra approach to three dimensional geometry. The aim is to present standard properties of lines and planes,

More information

Unified Lecture # 4 Vectors

Unified Lecture # 4 Vectors Fall 2005 Unified Lecture # 4 Vectors These notes were written by J. Peraire as a review of vectors for Dynamics 16.07. They have been adapted for Unified Engineering by R. Radovitzky. References [1] Feynmann,

More information

1. Let P be the space of all polynomials (of one real variable and with real coefficients) with the norm

1. Let P be the space of all polynomials (of one real variable and with real coefficients) with the norm Uppsala Universitet Matematiska Institutionen Andreas Strömbergsson Prov i matematik Funktionalanalys Kurs: F3B, F4Sy, NVP 005-06-15 Skrivtid: 9 14 Tillåtna hjälpmedel: Manuella skrivdon, Kreyszigs bok

More information

Math 333 - Practice Exam 2 with Some Solutions

Math 333 - Practice Exam 2 with Some Solutions Math 333 - Practice Exam 2 with Some Solutions (Note that the exam will NOT be this long) Definitions (0 points) Let T : V W be a transformation Let A be a square matrix (a) Define T is linear (b) Define

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

Linear Algebra: Vectors

Linear Algebra: Vectors A Linear Algebra: Vectors A Appendix A: LINEAR ALGEBRA: VECTORS TABLE OF CONTENTS Page A Motivation A 3 A2 Vectors A 3 A2 Notational Conventions A 4 A22 Visualization A 5 A23 Special Vectors A 5 A3 Vector

More information

5.3 The Cross Product in R 3

5.3 The Cross Product in R 3 53 The Cross Product in R 3 Definition 531 Let u = [u 1, u 2, u 3 ] and v = [v 1, v 2, v 3 ] Then the vector given by [u 2 v 3 u 3 v 2, u 3 v 1 u 1 v 3, u 1 v 2 u 2 v 1 ] is called the cross product (or

More information

Orthogonal Projections and Orthonormal Bases

Orthogonal Projections and Orthonormal Bases CS 3, HANDOUT -A, 3 November 04 (adjusted on 7 November 04) Orthogonal Projections and Orthonormal Bases (continuation of Handout 07 of 6 September 04) Definition (Orthogonality, length, unit vectors).

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

A linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form

A linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form Section 1.3 Matrix Products A linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form (scalar #1)(quantity #1) + (scalar #2)(quantity #2) +...

More information

Mechanics 1: Vectors

Mechanics 1: Vectors Mechanics 1: Vectors roadly speaking, mechanical systems will be described by a combination of scalar and vector quantities. scalar is just a (real) number. For example, mass or weight is characterized

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

MA106 Linear Algebra lecture notes

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

More information

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

Lecture L3 - Vectors, Matrices and Coordinate Transformations

Lecture L3 - Vectors, Matrices and Coordinate Transformations S. Widnall 16.07 Dynamics Fall 2009 Lecture notes based on J. Peraire Version 2.0 Lecture L3 - Vectors, Matrices and Coordinate Transformations By using vectors and defining appropriate operations between

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

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

Metric Spaces. Chapter 7. 7.1. Metrics

Metric Spaces. Chapter 7. 7.1. Metrics Chapter 7 Metric Spaces A metric space is a set X that has a notion of the distance d(x, y) between every pair of points x, y X. The purpose of this chapter is to introduce metric spaces and give some

More information

1 Norms and Vector Spaces

1 Norms and Vector Spaces 008.10.07.01 1 Norms and Vector Spaces Suppose we have a complex vector space V. A norm is a function f : V R which satisfies (i) f(x) 0 for all x V (ii) f(x + y) f(x) + f(y) for all x,y V (iii) f(λx)

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

Introduction to Matrix Algebra

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

More information

PROJECTIVE GEOMETRY. b3 course 2003. Nigel Hitchin

PROJECTIVE GEOMETRY. b3 course 2003. Nigel Hitchin PROJECTIVE GEOMETRY b3 course 2003 Nigel Hitchin hitchin@maths.ox.ac.uk 1 1 Introduction This is a course on projective geometry. Probably your idea of geometry in the past has been based on triangles

More information

Examination paper for TMA4115 Matematikk 3

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

More information

The Matrix Elements of a 3 3 Orthogonal Matrix Revisited

The Matrix Elements of a 3 3 Orthogonal Matrix Revisited Physics 116A Winter 2011 The Matrix Elements of a 3 3 Orthogonal Matrix Revisited 1. Introduction In a class handout entitled, Three-Dimensional Proper and Improper Rotation Matrices, I provided a derivation

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

Cross product and determinants (Sect. 12.4) Two main ways to introduce the cross product

Cross product and determinants (Sect. 12.4) Two main ways to introduce the cross product Cross product and determinants (Sect. 12.4) Two main ways to introduce the cross product Geometrical definition Properties Expression in components. Definition in components Properties Geometrical expression.

More information

Nonlinear Iterative Partial Least Squares Method

Nonlinear Iterative Partial Least Squares Method Numerical Methods for Determining Principal Component Analysis Abstract Factors Béchu, S., Richard-Plouet, M., Fernandez, V., Walton, J., and Fairley, N. (2016) Developments in numerical treatments for

More information

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

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

More information

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

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

More information

One advantage of this algebraic approach is that we can write down

One advantage of this algebraic approach is that we can write down . Vectors and the dot product A vector v in R 3 is an arrow. It has a direction and a length (aka the magnitude), but the position is not important. Given a coordinate axis, where the x-axis points out

More information

Problem Set 5 Due: In class Thursday, Oct. 18 Late papers will be accepted until 1:00 PM Friday.

Problem Set 5 Due: In class Thursday, Oct. 18 Late papers will be accepted until 1:00 PM Friday. Math 312, Fall 2012 Jerry L. Kazdan Problem Set 5 Due: In class Thursday, Oct. 18 Late papers will be accepted until 1:00 PM Friday. In addition to the problems below, you should also know how to solve

More information

Applied Linear Algebra I Review page 1

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

More information

Lecture 1: Schur s Unitary Triangularization Theorem

Lecture 1: Schur s Unitary Triangularization Theorem Lecture 1: Schur s Unitary Triangularization Theorem This lecture introduces the notion of unitary equivalence and presents Schur s theorem and some of its consequences It roughly corresponds to Sections

More information

THE DIMENSION OF A VECTOR SPACE

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

More information

Math 215 HW #6 Solutions

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

More information

Finite dimensional C -algebras

Finite dimensional C -algebras Finite dimensional C -algebras S. Sundar September 14, 2012 Throughout H, K stand for finite dimensional Hilbert spaces. 1 Spectral theorem for self-adjoint opertors Let A B(H) and let {ξ 1, ξ 2,, ξ n

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

Problem set on Cross Product

Problem set on Cross Product 1 Calculate the vector product of a and b given that a= 2i + j + k and b = i j k (Ans 3 j - 3 k ) 2 Calculate the vector product of i - j and i + j (Ans ) 3 Find the unit vectors that are perpendicular

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

Geometry of Vectors. 1 Cartesian Coordinates. Carlo Tomasi

Geometry of Vectors. 1 Cartesian Coordinates. Carlo Tomasi Geometry of Vectors Carlo Tomasi This note explores the geometric meaning of norm, inner product, orthogonality, and projection for vectors. For vectors in three-dimensional space, we also examine the

More information

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

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

More information

1.3. DOT PRODUCT 19. 6. If θ is the angle (between 0 and π) between two non-zero vectors u and v,

1.3. DOT PRODUCT 19. 6. If θ is the angle (between 0 and π) between two non-zero vectors u and v, 1.3. DOT PRODUCT 19 1.3 Dot Product 1.3.1 Definitions and Properties The dot product is the first way to multiply two vectors. The definition we will give below may appear arbitrary. But it is not. It

More information

9.4. The Scalar Product. Introduction. Prerequisites. Learning Style. Learning Outcomes

9.4. The Scalar Product. Introduction. Prerequisites. Learning Style. Learning Outcomes The Scalar Product 9.4 Introduction There are two kinds of multiplication involving vectors. The first is known as the scalar product or dot product. This is so-called because when the scalar product of

More information

Solving Quadratic Equations

Solving Quadratic Equations 9.3 Solving Quadratic Equations by Using the Quadratic Formula 9.3 OBJECTIVES 1. Solve a quadratic equation by using the quadratic formula 2. Determine the nature of the solutions of a quadratic equation

More information

MATH 4330/5330, Fourier Analysis Section 11, The Discrete Fourier Transform

MATH 4330/5330, Fourier Analysis Section 11, The Discrete Fourier Transform MATH 433/533, Fourier Analysis Section 11, The Discrete Fourier Transform Now, instead of considering functions defined on a continuous domain, like the interval [, 1) or the whole real line R, we wish

More information

The Dot and Cross Products

The Dot and Cross Products The Dot and Cross Products Two common operations involving vectors are the dot product and the cross product. Let two vectors =,, and =,, be given. The Dot Product The dot product of and is written and

More information

is in plane V. However, it may be more convenient to introduce a plane coordinate system in V.

is in plane V. However, it may be more convenient to introduce a plane coordinate system in V. .4 COORDINATES EXAMPLE Let V be the plane in R with equation x +2x 2 +x 0, a two-dimensional subspace of R. We can describe a vector in this plane by its spatial (D)coordinates; for example, vector x 5

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

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