The Singular Value Decomposition and Least Squares Problems
|
|
- Daniela Wilcox
- 7 years ago
- Views:
Transcription
1 The Singular Value Decomposition and Least Squares Problems Tom Lyche University of Oslo Norway The Singular Value Decomposition and Least Squares Problems p. 1/2
2 Applications of SVD 1. solving over-determined equations 2. statistics, principal component analysis 3. numerical determination of the rank of a matrix 4. search engines (Google,...) 5. theory of matrices 6. and lots of other applications... The Singular Value Decomposition and Least Squares Problems p. 2/2
3 Singular Value Decomposition 1. Works for any matrix A C m,n 2. A = UΣV H with U, V unitary and Σ = [ Σ C m,n 3. Σ 1 = diag(σ 1,...,σ r ) with σ 1 σ 2 σ r > 0, 4. r is the rank of A. 5. We define σ r+1 = σ n = 0 if r < n and call σ 1,...,σ n the singular values of A. 6. The columns u 1,...,u m of U and v 1,...,v n of V are called left- and right singular vectors respectively. The Singular Value Decomposition and Least Squares Problems p. 3/2
4 Relation to eigenpairs for A T A and AA 1. A T Av i = σ 2 i v i for i = 1,...,n. 2. The columns of V are orthonormal eigenvectors of A T A 3. The columns of U are orthonormal eigenvectors of AA T The Singular Value Decomposition and Least Squares Problems p. 4/2
5 Three forms of SVD Suppose A R m,n, A = UΣV T is the SVD of A R m,n and let r := #Σ 1. We partition U and V as follows U = [U 1, U 2, U 1 R m,r, U 2 R m,m r V = [V 1, V 2, V 1 R n,r, V 2 R n,n r. A = [ U 1,U 2 [ [ Σ 1 0 V T = U 1 Σ 1 V T 1 The three forms V T 2 1. A = UΣV T full form 2. A = U 1 Σ 1 V T 1 compact form 3. A = r i=1 σ iu i v T i = min(m,n) i=1 σ i u i v T i outer product form The Singular Value Decomposition and Least Squares Problems p. 5/2
6 Subspaces of A column space and the null space of a matrix span(a) := {y R m : y = Ax, for some x R n }, ker(a) := {x R n : Ax = 0}. span(a) is a subspace of R m. ker(a) is a subspace of R n. We say that A is a basis for a subspace S of R m if 1. S = span(a), 2. A has linearly independent columns, i. e., ker(a) = {0}. Recall the four fundamental subspaces span(a), span(a T ), ker(a), ker(a T ). The Singular Value Decomposition and Least Squares Problems p. 6/2
7 The 4 fundamental Subspaces Let A = UΣV T be the SVD of A R m,n. Then A T = V Σ T U T and AV = UΣ, A T U = V Σ T or A [ V 1,V 2 = [ U 1,U 2 [ Σ , A T [ U 1,U 2 = [ V 1,V 2 [ Σ AV 1 = U 1 Σ 1, U 1 is an orthonormal basis for span(a) A T U 2 = 0, U 2 is an orthonormal basis for ker(a T ) A T U 1 = V 1 Σ 1, V 1 is an orthonormal basis for span(a T ) AV 2 = 0, V 2 is an orthonormal basis for ker(a). We obtain the fundamental relations 1. dim(span(a)) + dim(ker(a)) = #A :=number of columns of A, 2. dim(span(a T )) = dim(span(a)) =: rank(a) = #Σ 1. The Singular Value Decomposition and Least Squares Problems p. 7/2
8 Existence of SVD Theorem 1. Every matrix has an SVD. The Singular Value Decomposition and Least Squares Problems p. 8/2
9 Uniqueness If the SVD of A is A = UΣV T then A T A = V Σ T ΣV T. Thus σ 2 1,...σ2 n are uniquely given as the eigenvalues of A T A arranged in descending order. Taking the positive square root uniquely determines the singular values. From the proof of the existence theorem it follows that the orthogonal matrices U and V are in general not uniquely given. The Singular Value Decomposition and Least Squares Problems p. 9/2
10 Application I, rank Gauss-Jordan cannot be used to determine rank numerically Use singular value decomposition numerically will normally find σ n > 0. Determine minimal r so that σ r+1,...,σ n are "close" to round off unit. The Singular Value Decomposition and Least Squares Problems p. 10/2
11 Application II, overdetermined Equatio Given A m,n and b R m. The system Ax = b is over-determined if m > n. This system has a solution if b span(a), the column space of A, but normally this is not the case and we can only find an approximate solution. A general approach is to choose a vector norm and find x which minimizes Ax b. We will only consider the Euclidian norm here. The Singular Value Decomposition and Least Squares Problems p. 11/2
12 The Least Squares Problem Given A m,n and b R m with m n 1. The problem to find x R n that minimizes Ax b 2 is called the least squares problem. A minimizing vector x is called a least squares solution of Ax = b. Several ways to analyze: Quadratic minimization Orthogonal Projections SVD The Singular Value Decomposition and Least Squares Problems p. 12/2
13 Quadratic minimization Define function E : R n R by E(x) = Ax b 2 2 E(x) = (Ax b) T (Ax b) = x T Bx 2c T x + α, where B := A T A, c := A T b and α := b T b. B is positive semidefinite and positive definite if A has rank n. Since the Hessian HE(x) := ( 2 E(x) x i x j ) = 2B we can find minimum by setting partial derivatives equal zero. E(x) := ( E(x) x i ) = 2(Bx c) = 0 Normal equations A T Ax = A T b. The Singular Value Decomposition and Least Squares Problems p. 13/2
14 A simple example x 1 = 1 x 1 = 1, A = x 1 = 2 1 1, x = [x 1, b = 1 1 1, 2 Quadratic minimization problem: Ax b 2 2 = (x 1 1) 2 + (x 1 1) 2 + (x 1 2) 2. Setting the first derivative with respect to x 1 equal to zero we obtain 2(x 1 1) + 2(x 1 1) + 2(x 1 2) = 0 or 6x 1 8 = 0 or x 1 = 4/3 The second derivative is positive (it is equal to 6) and x = 4/3 is a global minimum. The Singular Value Decomposition and Least Squares Problems p. 14/2
15 Theory; Direct sum and Orthogonal Su Suppose S and T are subspaces of a vector space (V, F). We define 1. Sum: X := S + T := {s + t : s S and t T }; 2. Direct Sum: If S T = {0}, then S T := S + T. 3. Orthogonal Sum: Suppose (V, F,, ) is an inner product space. Then S T is an orthogonal sum if s, t = 0 for all s S and all t T. 4. orthogonal complement: T = S := {x X : s, x = 0 for all s S}. The Singular Value Decomposition and Least Squares Problems p. 15/2
16 Basic facts Lemma 1. Suppose S and T are subspaces of a vector space (V, F). 1. S + T = T + S and S + T is a subspace of V. 2. dim(s + T ) = dim S + dim T dim(s T ) 3. dim(s T ) = dim S +dim T. Every v S T can be decomposed uniquely as v = s + t, where s S and t T. s is called the projection of v into S. 4. Pythagoras: If s, t = 0 then s + t 2 = s 2 + t Here v := v, v. v t S s The Singular Value Decomposition and Least Squares Problems p. 16/2
17 Column space of A and null space of A R m = span(a) ker(a T ) and this is an orthogonal sum. Thus ker(a T ) = span(a) the orthogonal complement of span(a). Example A = [ , span(a) = span(e 1, e 2 ), ker(a T ) = e The Singular Value Decomposition and Least Squares Problems p. 17/2
18 Proof that R m = span(a) ker(a T ) using SVD s T t = 0 for all s span(a) and t ker(a T ). For if s span(a) and t ker(a T ) then s = Ax for some x R n and A T t = 0. But then s, t = (Ax) T t = x T (A T t) = 0 Suppose A = UΣV T = U 1 Σ 1 V T 1 is the SVD of A. Then I = UU T = [ U 1 U 2 [ U 1 U 2 = U1 U T 1 + U 2 U T 2. For any b R m we have b = (U 1 U T 1 + U 2 U T 2 )b = b 1 + b 2, where b 1 := U 1 U T 1 b = AA b with A = V 1 Σ 1 1 UT 1, and b 2 := U 2 U T 2 belongs to ker(a T ) since A T b 2 = (V 1 Σ 1 U T 1 )U 2 U T 2 b = V 1 Σ 1 (U T 1 U 2 )U T 2 b = 0. The Singular Value Decomposition and Least Squares Problems p. 18/2
19 Projections and pseudoinverse b 1 := AA b is the projection of b into span(a). The matrix A := V 1 Σ 1 1 U T 1 = V Σ U T R n,m is called the pseudoinverse of A = UΣV T R m,n. Σ := [ Σ R n,m is the pseudoinverse of Σ. b 2 := (I AA )b is the projection of b into ker(a T ). Example b = A = [ b1 b 2 b 3 [ = UΣV T = I 3 AI 2, A = I 2 [ I 3 = [ , b 1 = AA b = b 2 = (I 3 AA )b = [ b = [ b = [ 00 b 3 [ b1 b 20 The Singular Value Decomposition and Least Squares Problems p. 19/2
20 LSQ; Existence and Uniqueness Theorem 2. The least squares problem always has a solution. The solution is unique if and only if A has linearly independent columns. Proof. Let b = b 1 + b 2, where b 1 span(a) is the (orthogonal) projection of b into span(a) and b 2 ker(a T ). Since b 1 span(a) there is an x R n such that Ax = b 1. Thus b 2 = b Ax. By Pythagoras, for any s span(a) with s b 1 b s 2 = b 1 s 2 + b 2 2 = b 1 s 2 + b Ax 2 > b Ax 2. Since the projection b 1 is unique, the least squares solution x is unique if and only if A has linearly independent columns. The Singular Value Decomposition and Least Squares Problems p. 20/2
21 The Normal Equations Theorem 3. Any solution x of the least squares problem is a solution of the linear system A T Ax = A T b. The system is nonsingular if and only if A has linearly independent columns. Proof. Since b Ax ker(a T ), we have A T (b Ax) = 0 or A T Ax = A T b. A T A is nonsingular. Suppose A T Ax = 0 for some x R n. Then 0 = x T A T Ax = (Ax) T Ax = Ax 2 2. Hence Ax = 0 which implies that x = 0 if and only if A has linearly independent columns. The linear system A T Ax = A T b is called the normal equations. The Singular Value Decomposition and Least Squares Problems p. 21/2
22 Linear Regression A = 1 t 1 1 t t m b = [ y1 y 2. y m, min x 1 x 2 m (x 1 + t i x 2 y i ) 2. i=1 7 A = [ b = [ A T A = [ c = AT b = [ x 1 +15x 2 = x 1 +55x 2 = x 1 = x 2 =1.0451, x = A\b The Singular Value Decomposition and Least Squares Problems p. 22/2
23 Analysis of LSQ using A = UΣV T Define y := V T x = [ V T 1 x V T 2 x = [ y 1 y 2. Recall Uv 2 = v 2 for any U R n,n with U T U = I and any v R n. = [ U T 1 b Σ 1 y 1 U T 2 b [ U T 1 b U T 2 b b Ax 2 2 = UU T b UΣy 2 2 = U T b Σy 2 2 = 2 2 = U T 1 b Σ 1 y U T 2 b 2 2. We have b Ax 2 U T 2 b 2 for all x R n with equality if and only if [ x = V y = [ V 1 V 2 Σ 1 1 U T 1 b y 2 [ [ Σ 1 0 y1 0 0 y 2 = V 1 Σ 1 1 UT 1 b+v 2 y 2, for all y 2 R n r. (1) The Singular Value Decomposition and Least Squares Problems p. 23/2
24 The general solution of min Ax b 2 The columns of V 2 is a basis for ker(a) so that ker(a) = {z = V 2 y 2 : y 2 R n r }. Therefore the solution set is {x R n : Ax b 2 is minimized } = A b + ker(a). If r = n then A has linearly independent columns and A T A is nonsingular. Since A T Ax = A T b we obtain A = (A T A) 1 A T in this case. The Singular Value Decomposition and Least Squares Problems p. 24/2
25 The Minimal Norm Solution Suppose A is rank deficient (r < n). Let x = A b + V 2 y 2 be a solution of min Ax b 2. A b and V 2 y 2 are orthogonal By Pythagoras x 2 2 = A b V 2y A b 2 2. The solution x = A b is called the minimal norm solution to the LSQ problem. Orthogonal. Since V T 2 A = (V T 2 V 1)Σ 1 1 UT 1 = 0 we have (V 2 y 2 ) T A b = 0 for any y 2. The Singular Value Decomposition and Least Squares Problems p. 25/2
26 More on the pseudoinverse If A is square and nonsingular then A = A 1. A is always defined. Thus A is a generalization of usual inverse. If B R n,m satisfies 1. ABA = A 2. BAB = B 3. (BA) T = BA 4. (AB) T = AB then B = A. Thus A is uniquely defined by these axioms. The Singular Value Decomposition and Least Squares Problems p. 26/2
27 Example Show that the pseudoinverse of A = We have BA = 1 2 [ and AB = ABA = A 2. BAB = B 3. (BA) T = BA 4. (AB) T = AB and hence A = B. [ [ is B = 1 4 [ Thus The Singular Value Decomposition and Least Squares Problems p. 27/2
The Singular Value Decomposition in Symmetric (Löwdin) Orthogonalization and Data Compression
The Singular Value Decomposition in Symmetric (Löwdin) Orthogonalization and Data Compression The SVD is the most generally applicable of the orthogonal-diagonal-orthogonal type matrix decompositions Every
More informationLinear 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 informationInner 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 informationNOTES 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 informationReview 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 informationNotes 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.
More informationSimilarity 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 informationOrthogonal 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 informationApplied 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 informationT ( 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 informationLINEAR ALGEBRA. September 23, 2010
LINEAR ALGEBRA September 3, 00 Contents 0. LU-decomposition.................................... 0. Inverses and Transposes................................. 0.3 Column Spaces and NullSpaces.............................
More informationLecture 5: Singular Value Decomposition SVD (1)
EEM3L1: Numerical and Analytical Techniques Lecture 5: Singular Value Decomposition SVD (1) EE3L1, slide 1, Version 4: 25-Sep-02 Motivation for SVD (1) SVD = Singular Value Decomposition Consider the system
More informationby 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 informationInner 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 information5. 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 information3. Let A and B be two n n orthogonal matrices. Then prove that AB and BA are both orthogonal matrices. Prove a similar result for unitary matrices.
Exercise 1 1. Let A be an n n orthogonal matrix. Then prove that (a) the rows of A form an orthonormal basis of R n. (b) the columns of A form an orthonormal basis of R n. (c) for any two vectors x,y R
More information160 CHAPTER 4. VECTOR SPACES
160 CHAPTER 4. VECTOR SPACES 4. Rank and Nullity In this section, we look at relationships between the row space, column space, null space of a matrix and its transpose. We will derive fundamental results
More informationEigenvalues, Eigenvectors, Matrix Factoring, and Principal Components
Eigenvalues, Eigenvectors, Matrix Factoring, and Principal Components The eigenvalues and eigenvectors of a square matrix play a key role in some important operations in statistics. In particular, they
More informationSolving Linear Systems, Continued and The Inverse of a Matrix
, Continued and The of a Matrix Calculus III Summer 2013, Session II Monday, July 15, 2013 Agenda 1. The rank of a matrix 2. The inverse of a square matrix Gaussian Gaussian solves a linear system by reducing
More informationChapter 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 information13 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 informationInner 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[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 informationMAT 200, Midterm Exam Solution. a. (5 points) Compute the determinant of the matrix A =
MAT 200, Midterm Exam Solution. (0 points total) a. (5 points) Compute the determinant of the matrix 2 2 0 A = 0 3 0 3 0 Answer: det A = 3. The most efficient way is to develop the determinant along the
More information1 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 informationMATH 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 informationAu = = = 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 information17. 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 informationMath 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
More informationMethods for Finding Bases
Methods for Finding Bases Bases for the subspaces of a matrix Row-reduction methods can be used to find bases. Let us now look at an example illustrating how to obtain bases for the row space, null space,
More informationLecture 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 informationSection 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 informationVector 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 informationMath 312 Homework 1 Solutions
Math 31 Homework 1 Solutions Last modified: July 15, 01 This homework is due on Thursday, July 1th, 01 at 1:10pm Please turn it in during class, or in my mailbox in the main math office (next to 4W1) Please
More informationNotes 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 informationNumerical 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 informationMATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS 1. SYSTEMS OF EQUATIONS AND MATRICES 1.1. Representation of a linear system. The general system of m equations in n unknowns can be written a 11 x 1 + a 12 x 2 +
More informationFactorization Theorems
Chapter 7 Factorization Theorems This chapter highlights a few of the many factorization theorems for matrices While some factorization results are relatively direct, others are iterative While some factorization
More informationLinear 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
More informationUniversity of Lille I PC first year list of exercises n 7. Review
University of Lille I PC first year list of exercises n 7 Review Exercise Solve the following systems in 4 different ways (by substitution, by the Gauss method, by inverting the matrix of coefficients
More informationα = 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 informationCONTROLLABILITY. Chapter 2. 2.1 Reachable Set and Controllability. Suppose we have a linear system described by the state equation
Chapter 2 CONTROLLABILITY 2 Reachable Set and Controllability Suppose we have a linear system described by the state equation ẋ Ax + Bu (2) x() x Consider the following problem For a given vector x in
More information1 Introduction to Matrices
1 Introduction to Matrices In this section, important definitions and results from matrix algebra that are useful in regression analysis are introduced. While all statements below regarding the columns
More informationLinear 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 informationCS3220 Lecture Notes: QR factorization and orthogonal transformations
CS3220 Lecture Notes: QR factorization and orthogonal transformations Steve Marschner Cornell University 11 March 2009 In this lecture I ll talk about orthogonal matrices and their properties, discuss
More informationLinear Algebraic Equations, SVD, and the Pseudo-Inverse
Linear Algebraic Equations, SVD, and the Pseudo-Inverse Philip N. Sabes October, 21 1 A Little Background 1.1 Singular values and matrix inversion For non-smmetric matrices, the eigenvalues and singular
More informationRecall 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 informationMATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix.
MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix. Nullspace Let A = (a ij ) be an m n matrix. Definition. The nullspace of the matrix A, denoted N(A), is the set of all n-dimensional column
More informationSimilar 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
More informationBindel, 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 informationOrthogonal 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 informationMatrix 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 informationMATRIX ALGEBRA AND SYSTEMS OF EQUATIONS
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS Systems of Equations and Matrices Representation of a linear system The general system of m equations in n unknowns can be written a x + a 2 x 2 + + a n x n b a
More informationLS.6 Solution Matrices
LS.6 Solution Matrices In the literature, solutions to linear systems often are expressed using square matrices rather than vectors. You need to get used to the terminology. As before, we state the definitions
More informationSolutions 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 informationMAT 242 Test 3 SOLUTIONS, FORM A
MAT Test SOLUTIONS, FORM A. Let v =, v =, and v =. Note that B = { v, v, v } is an orthogonal set. Also, let W be the subspace spanned by { v, v, v }. A = 8 a. [5 points] Find the orthogonal projection
More informationIntroduction 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 informationCS 5614: (Big) Data Management Systems. B. Aditya Prakash Lecture #18: Dimensionality Reduc7on
CS 5614: (Big) Data Management Systems B. Aditya Prakash Lecture #18: Dimensionality Reduc7on Dimensionality Reduc=on Assump=on: Data lies on or near a low d- dimensional subspace Axes of this subspace
More informationMATH 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 information3. 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 informationChapter 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 information6. Cholesky factorization
6. Cholesky factorization EE103 (Fall 2011-12) triangular matrices forward and backward substitution the Cholesky factorization solving Ax = b with A positive definite inverse of a positive definite matrix
More informationThese axioms must hold for all vectors ū, v, and w in V and all scalars c and d.
DEFINITION: A vector space is a nonempty set V of objects, called vectors, on which are defined two operations, called addition and multiplication by scalars (real numbers), subject to the following axioms
More informationSection 5.3. Section 5.3. u m ] l jj. = l jj u j + + l mj u m. v j = [ u 1 u j. l mj
Section 5. l j v j = [ u u j u m ] l jj = l jj u j + + l mj u m. l mj Section 5. 5.. Not orthogonal, the column vectors fail to be perpendicular to each other. 5..2 his matrix is orthogonal. Check that
More informationRecall 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 informationFinite Dimensional Hilbert Spaces and Linear Inverse Problems
Finite Dimensional Hilbert Spaces and Linear Inverse Problems ECE 174 Lecture Supplement Spring 2009 Ken Kreutz-Delgado Electrical and Computer Engineering Jacobs School of Engineering University of California,
More informationLinear Algebra Methods for Data Mining
Linear Algebra Methods for Data Mining Saara Hyvönen, Saara.Hyvonen@cs.helsinki.fi Spring 2007 Lecture 3: QR, least squares, linear regression Linear Algebra Methods for Data Mining, Spring 2007, University
More informationMATH10212 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 informationLecture 4: Partitioned Matrices and Determinants
Lecture 4: Partitioned Matrices and Determinants 1 Elementary row operations Recall the elementary operations on the rows of a matrix, equivalent to premultiplying by an elementary matrix E: (1) multiplying
More informationNumerical Methods I Solving Linear Systems: Sparse Matrices, Iterative Methods and Non-Square Systems
Numerical Methods I Solving Linear Systems: Sparse Matrices, Iterative Methods and Non-Square Systems Aleksandar Donev Courant Institute, NYU 1 donev@courant.nyu.edu 1 Course G63.2010.001 / G22.2420-001,
More informationLectures 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 informationEigenvalues and Eigenvectors
Chapter 6 Eigenvalues and Eigenvectors 6. Introduction to Eigenvalues Linear equations Ax D b come from steady state problems. Eigenvalues have their greatest importance in dynamic problems. The solution
More information3 Orthogonal Vectors and Matrices
3 Orthogonal Vectors and Matrices The linear algebra portion of this course focuses on three matrix factorizations: QR factorization, singular valued decomposition (SVD), and LU factorization The first
More informationMore than you wanted to know about quadratic forms
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
More information1 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 information18.06 Problem Set 4 Solution Due Wednesday, 11 March 2009 at 4 pm in 2-106. Total: 175 points.
806 Problem Set 4 Solution Due Wednesday, March 2009 at 4 pm in 2-06 Total: 75 points Problem : A is an m n matrix of rank r Suppose there are right-hand-sides b for which A x = b has no solution (a) What
More informationSection 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 informationOctober 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 informationMAT188H1S Lec0101 Burbulla
Winter 206 Linear Transformations A linear transformation T : R m R n is a function that takes vectors in R m to vectors in R n such that and T (u + v) T (u) + T (v) T (k v) k T (v), for all vectors u
More informationExamination 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 informationNotes 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 informationMultidimensional data and factorial methods
Multidimensional data and factorial methods Bidimensional data x 5 4 3 4 X 3 6 X 3 5 4 3 3 3 4 5 6 x Cartesian plane Multidimensional data n X x x x n X x x x n X m x m x m x nm Factorial plane Interpretation
More informationOrthogonal 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 informationQuadratic forms Cochran s theorem, degrees of freedom, and all that
Quadratic forms Cochran s theorem, degrees of freedom, and all that Dr. Frank Wood Frank Wood, fwood@stat.columbia.edu Linear Regression Models Lecture 1, Slide 1 Why We Care Cochran s theorem tells us
More informationa 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 informationChapter 19. General Matrices. An n m matrix is an array. a 11 a 12 a 1m a 21 a 22 a 2m A = a n1 a n2 a nm. The matrix A has n row vectors
Chapter 9. General Matrices An n m matrix is an array a a a m a a a m... = [a ij]. a n a n a nm The matrix A has n row vectors and m column vectors row i (A) = [a i, a i,..., a im ] R m a j a j a nj col
More informationLecture 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 informationCURVE FITTING LEAST SQUARES APPROXIMATION
CURVE FITTING LEAST SQUARES APPROXIMATION Data analysis and curve fitting: Imagine that we are studying a physical system involving two quantities: x and y Also suppose that we expect a linear relationship
More informationMATH1231 Algebra, 2015 Chapter 7: Linear maps
MATH1231 Algebra, 2015 Chapter 7: Linear maps A/Prof. Daniel Chan School of Mathematics and Statistics University of New South Wales danielc@unsw.edu.au Daniel Chan (UNSW) MATH1231 Algebra 1 / 43 Chapter
More informationLecture 2 Matrix Operations
Lecture 2 Matrix Operations transpose, sum & difference, scalar multiplication matrix multiplication, matrix-vector product matrix inverse 2 1 Matrix transpose transpose of m n matrix A, denoted A T or
More informationMath 115A HW4 Solutions University of California, Los Angeles. 5 2i 6 + 4i. (5 2i)7i (6 + 4i)( 3 + i) = 35i + 14 ( 22 6i) = 36 + 41i.
Math 5A HW4 Solutions September 5, 202 University of California, Los Angeles Problem 4..3b Calculate the determinant, 5 2i 6 + 4i 3 + i 7i Solution: The textbook s instructions give us, (5 2i)7i (6 + 4i)(
More informationMATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set.
MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set. Vector space A vector space is a set V equipped with two operations, addition V V (x,y) x + y V and scalar
More informationChapter 6. Linear Transformation. 6.1 Intro. to Linear Transformation
Chapter 6 Linear Transformation 6 Intro to Linear Transformation Homework: Textbook, 6 Ex, 5, 9,, 5,, 7, 9,5, 55, 57, 6(a,b), 6; page 7- In this section, we discuss linear transformations 89 9 CHAPTER
More informationLecture Topic: Low-Rank Approximations
Lecture Topic: Low-Rank Approximations Low-Rank Approximations We have seen principal component analysis. The extraction of the first principle eigenvalue could be seen as an approximation of the original
More informationLinear 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 informationSystems 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 information4: EIGENVALUES, EIGENVECTORS, DIAGONALIZATION
4: EIGENVALUES, EIGENVECTORS, DIAGONALIZATION STEVEN HEILMAN Contents 1. Review 1 2. Diagonal Matrices 1 3. Eigenvectors and Eigenvalues 2 4. Characteristic Polynomial 4 5. Diagonalizability 6 6. Appendix:
More informationFUNCTIONAL ANALYSIS LECTURE NOTES: QUOTIENT SPACES
FUNCTIONAL ANALYSIS LECTURE NOTES: QUOTIENT SPACES CHRISTOPHER HEIL 1. Cosets and the Quotient Space Any vector space is an abelian group under the operation of vector addition. So, if you are have studied
More informationLINEAR 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 informationSMOOTHING APPROXIMATIONS FOR TWO CLASSES OF CONVEX EIGENVALUE OPTIMIZATION PROBLEMS YU QI. (B.Sc.(Hons.), BUAA)
SMOOTHING APPROXIMATIONS FOR TWO CLASSES OF CONVEX EIGENVALUE OPTIMIZATION PROBLEMS YU QI (B.Sc.(Hons.), BUAA) A THESIS SUBMITTED FOR THE DEGREE OF MASTER OF SCIENCE DEPARTMENT OF MATHEMATICS NATIONAL
More information