Math Matrix Algebra

Similar documents
A A x i x j i j (i, j) (j, i) Let. Compute the value of for and

MATH 5720: Unconstrained Optimization Hung Phan, UMass Lowell September 13, 2018

Linear Algebra And Its Applications Chapter 6. Positive Definite Matrix

Math 102, Winter Final Exam Review. Chapter 1. Matrices and Gaussian Elimination

Econ Slides from Lecture 8

Symmetric Matrices and Eigendecomposition

c c c c c c c c c c a 3x3 matrix C= has a determinant determined by

Conceptual Questions for Review

Linear Algebra: Matrix Eigenvalue Problems

Econ Slides from Lecture 7

ICS 6N Computational Linear Algebra Symmetric Matrices and Orthogonal Diagonalization


Introduction to Matrix Algebra

Math 215 HW #9 Solutions

HW2 - Due 01/30. Each answer must be mathematically justified. Don t forget your name.

235 Final exam review questions

Chapter 3 Transformations

MA 265 FINAL EXAM Fall 2012

Matrices and Linear Algebra

Math 322. Spring 2015 Review Problems for Midterm 2

Math (P)refresher Lecture 8: Unconstrained Optimization

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Math Matrix Algebra

Linear Algebra Solutions 1

Eigenvalues and Eigenvectors

Lecture 7: Positive Semidefinite Matrices

Remark By definition, an eigenvector must be a nonzero vector, but eigenvalue could be zero.

Review of Linear Algebra

Math 520 Exam 2 Topic Outline Sections 1 3 (Xiao/Dumas/Liaw) Spring 2008

Multivariate Statistical Analysis

Chapter 6. Eigenvalues. Josef Leydold Mathematical Methods WS 2018/19 6 Eigenvalues 1 / 45

Here each term has degree 2 (the sum of exponents is 2 for all summands). A quadratic form of three variables looks as

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Math 462: Homework 2 Solutions

Math Linear Algebra Final Exam Review Sheet

Lecture 8 : Eigenvalues and Eigenvectors

SOLUTION KEY TO THE LINEAR ALGEBRA FINAL EXAM 1 2 ( 2) ( 1) c a = 1 0

Math 308 Practice Final Exam Page and vector y =

Lecture 2 - Unconstrained Optimization Definition[Global Minimum and Maximum]Let f : S R be defined on a set S R n. Then

Quantum Computing Lecture 2. Review of Linear Algebra

Remark 1 By definition, an eigenvector must be a nonzero vector, but eigenvalue could be zero.

7. Symmetric Matrices and Quadratic Forms

MATH 423 Linear Algebra II Lecture 33: Diagonalization of normal operators.

Lecture 6 Positive Definite Matrices

Spring 2019 Exam 2 3/27/19 Time Limit: / Problem Points Score. Total: 280

UNIT 6: The singular value decomposition.

EXERCISES ON DETERMINANTS, EIGENVALUES AND EIGENVECTORS. 1. Determinants

1. Select the unique answer (choice) for each problem. Write only the answer.

MATH 423 Linear Algebra II Lecture 20: Geometry of linear transformations. Eigenvalues and eigenvectors. Characteristic polynomial.

Eigenvalues and Eigenvectors

and let s calculate the image of some vectors under the transformation T.

1. General Vector Spaces

Symmetric matrices and dot products

Eigenvalue and Eigenvector Homework

MATH 31 - ADDITIONAL PRACTICE PROBLEMS FOR FINAL

Problems for M 10/26:

Linear Algebra - Part II

Determinants Chapter 3 of Lay

There are six more problems on the next two pages

Linear Algebra: Characteristic Value Problem

1. Linear systems of equations. Chapters 7-8: Linear Algebra. Solution(s) of a linear system of equations (continued)

Econ 204 Supplement to Section 3.6 Diagonalization and Quadratic Forms. 1 Diagonalization and Change of Basis

6 EIGENVALUES AND EIGENVECTORS

Math Homework 8 (selected problems)

Linear Algebra & Geometry why is linear algebra useful in computer vision?

ft-uiowa-math2550 Assignment NOTRequiredJustHWformatOfQuizReviewForExam3part2 due 12/31/2014 at 07:10pm CST

Review problems for MA 54, Fall 2004.

MATH 20F: LINEAR ALGEBRA LECTURE B00 (T. KEMP)

Lecture 10: Eigenvectors and eigenvalues (Numerical Recipes, Chapter 11)

Properties of Linear Transformations from R n to R m

Dimension. Eigenvalue and eigenvector

Linear Algebra Practice Problems

MAT Linear Algebra Collection of sample exams

1. In this problem, if the statement is always true, circle T; otherwise, circle F.

Math 265 Linear Algebra Sample Spring 2002., rref (A) =

TBP MATH33A Review Sheet. November 24, 2018

MATH 304 Linear Algebra Lecture 34: Review for Test 2.

MATH 221, Spring Homework 10 Solutions

CAAM 335 Matrix Analysis

Systems of Algebraic Equations and Systems of Differential Equations


ACM 104. Homework Set 4 Solutions February 14, 2001

22.3. Repeated Eigenvalues and Symmetric Matrices. Introduction. Prerequisites. Learning Outcomes

Matrices and Deformation

CS 246 Review of Linear Algebra 01/17/19

Linear Algebra, part 2 Eigenvalues, eigenvectors and least squares solutions

MATH 1120 (LINEAR ALGEBRA 1), FINAL EXAM FALL 2011 SOLUTIONS TO PRACTICE VERSION

Math 315: Linear Algebra Solutions to Assignment 7

DIAGONALIZATION. In order to see the implications of this definition, let us consider the following example Example 1. Consider the matrix

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

1 Last time: least-squares problems

Lec 2: Mathematical Economics

Chapter Two Elements of Linear Algebra

Question: Given an n x n matrix A, how do we find its eigenvalues? Idea: Suppose c is an eigenvalue of A, then what is the determinant of A-cI?

Assignment #10: Diagonalization of Symmetric Matrices, Quadratic Forms, Optimization, Singular Value Decomposition. Name:

Cheat Sheet for MATH461

3 (Maths) Linear Algebra

CHAPTER 3. Matrix Eigenvalue Problems

1 Positive definiteness and semidefiniteness

Linear algebra I Homework #1 due Thursday, Oct Show that the diagonals of a square are orthogonal to one another.

Transcription:

Math 44 - Matrix Algebra Review notes - (Alberto Bressan, Spring 7) sec: Orthogonal diagonalization of symmetric matrices When we seek to diagonalize a general n n matrix A, two difficulties may arise: (i) Even if all the entries of A are real numbers, the eigenvalues and eigenvectors of A may be complex valued, (ii) If A has multiple eigenvalues, we are not guaranteed to find a basis of eigenvectors When A is symmetric, these two bad situations (i)-(ii) do not occur: Theorem Let A be an n n symmetric matrix (with real coefficients) Then All the eigenvalues are real Eigenvectors corresponding to distinct eigenvalues are perpendicular to each other There exists an orthonormal basis of R n consisting of eigenvectors of A v vn If A is symmetric, we can thus find an orthogonal matrix Q = v, whose columns are eigenvectors of A, and such that λ λ Q AQ = D = λ n is diagonal Its diagonal elements are precisely the eigenvalues of A Example Consider the symmetric matrix A = 3 Computing the roots of the polynomial p(λ) = det(a λi) = ( λ(3 λ) 4 ) (4 λ), one finds the 4 eigenvalues λ =, λ = λ 3 = 4

In connection with the eigenvalue λ =, we find the eigenvector v = For the eigenvalue λ = 4, we find the two eigenvectors v =, v 3 = By normalizing these three eigenvectors, we obtain a matrix Q whose columns form an orthonormal basis of R 3, namely / / Q = / / A direct computation yields Q T Q = I, while / / Q T AQ = / / / / 3 / / = 4 = D 4 4 sec: Applications to quadratic forms Consider a quadratic form, that is: a homogeneous polynomial of degree in the variables x,, x n q(x) = a ij x i x j = x T Ax () QF i,i= here A = (a ij ) i,j=,,n We can assume that a ij = a ij, so that the matrix A is symmetric Otherwise, we replace both a ij and a ji with the average value a ij+a ji By the previous theorem, there exists an orthogonal matrix Q such that D = Q AQ is diagonal Its diagonal elements are precisely the eigenvalues of A Making the change of variables x = Qy, y = Q T x, () Q one obtains q(x) = x T Ax = (Qy) T A(Qy) = y T Q T AQy = y T Dy Theorem Given the quadratic form ( QF ), one can always make a change of variables x = Qy so that, in terms of the new variables y = (y,, y n ), the quadratic form is diagonal, namely q(x) = y T Dy = λ k yk (3) Q3 k= Example Consider the quadratic form q(x) = 3x + 4x x + 6x = x x 3 6 x x The matrix A is symmetric Its eigenvalues and (normalized) eigenvectors are / / λ = 7, v = /, λ =, v = /

Introducing the orthogonal matrix Q = v v = D = 7 / / / / = Q AQ, we obtain We can now perform the change of variable x = Qy, so that x = y = y y x y y + y (4) R In terms of the new variables, the quadratic form becomes q(x) = 3x + 4x x + 6x = = ( 3y + y ) = 7y + y (3(y y ) + 4(y y )(y + y ) + 6(y + y ) ) Notice that the change of variables ( 4) R represents a rotation of the coordinate axis See Fig f:la x y y θ x Figure : The change of coordinates in Example corresponds to a rotation of the axes by an angle θ, with cos θ = / f:la Positive definite matrices A quadratic form q(x) = x T Ax is positive semidefinite if x T Ax for every x = (x, x,, x n ) In this case we also say that the symmetric matrix A is positive semidefinite A quadratic form q(x) = x T Ax is positive definite if x T Ax > for every x = (x, x,, x n ) (,,, ) In this case we also say that the symmetric matrix A is positive definite A quadratic form q(x) = x T Ax is indefinite if it takes both positive and negative values 3

Example 3 The quadratic form q(x) = x x x + x is positive definite Indeed, we can write q(x) = ( x + x + (x x ) ) > whenever (x, x ) (, ) On the other hand, the quadratic form q(x) = x + 3x x + x is indefinite Indeed taking x = (x, x ) = (, ) we obtain q(x) =, while taking x = (x, x ) = (, ) we obtain q(x) = q(x) q(x) x x x x q(x) x x Figure : Left: a positive definite quadratic form Center: a positive semidefinite quadratic form Right: a quadratic form which is indefinite f:la3 To decide whether the quadratic form q(x) = x T Ax is positive definite, it suffices to find the eigenvalues of the matrix A Theorem Consider the quadratic form q(x) = x T Ax (i) If all eigenvalues of A are, then the quadratic form q(x) is positive semidefinite (ii) If all eigenvalues of A are >, then the quadratic form q(x) is positive definite (ii) If some eigenvalues of A are > and other eigenvalues are <, then the quadratic form q(x) is indefinite Indeed, let λ, λ,, λ n be the eigenvalues of A Performing the change of variables x = Qy, as in ( )-( Q 3) Q3 we obtain q(x) = y T Dy = λ k yk () Q4 If λ k for every k, then the right hand side of ( ) Q4 is for every y = (y,, y n ) If λ k > for every k, then the right hand side of ( ) Q4 is strictly positive for every y = (y,, y n ) (,, ) If some eigenvalues are positive and other are negative, then the right hand side of ( Q4 ) can be sometimes positive, sometimes negative, depending on the choice of (y, y,, y n ) k= Example 3 (continued) The quadratic form q(x) = x x x + x = x T Ax where A = / / is positive definite Indeed, the matrix A has eigenvalues λ =, λ = 3, which are both strictly positive 4

On the other hand, the quadratic form q(x) = x + 3x x + x = x T Bx where B = 3/ 3/ is indefinite Indeed, the matrix B has eigenvalues λ =, λ = One of these is positive, the other is negative Here is another way to check whether an n n symmetric matrix A is positive definite As in Fig 3, f:la4 for every k =,,, n, let A k be the k k submatrix containing the elements in the first k rows and k columns of A These are called the principal submatrices of A A = a a a 3 a a a 3 a a a 3 3 33 a n a n a n a n3 a nn Figure 3: The principal submatrices of the n n matrix A = (a ij ) f:la4 Theorem (i) A symmetric matrix A is positive semidefinite if and only if all the principal submatrices A k have determinant (ii) A symmetric matrix A is positive definite if and only if all the principal submatrices A k have determinant > Example Consider the matrix A = submatrices: det =, det 3 3 4 4 6 We compute the determinants of the principal =, det 3 4 4 6 We conclude that the matrix A is positive semidefinite, but not positive definite =