Math 221: LINEAR ALGEBRA

Math 221: LINEAR ALGEBRA

Math 221: LINEAR ALGEBRA Chapter 8. Orthogonality §8-3. Positive Definite Matrices Le Chen1 Emory University, 2020 Fall (last updated on 11/10/2020) Creative Commons License (CC BY-NC-SA) 1 Slides are adapted from those by Karen Seyffarth from University of Calgary. Positive Definite Matrices Cholesky factorization – Square Root of a Matrix Positive Definite Matrices Definition An n × n matrix A is positive definite if it is symmetric and has positive eigenvalues, i.e., if λ is a eigenvalue of A, then λ > 0. Theorem If A is a positive definite matrix, then det(A) > 0 and A is invertible. Proof. Let λ1; λ2; : : : ; λn denote the (not necessarily distinct) eigenvalues of A. Since A is symmetric, A is orthogonally diagonalizable. In particular, A ∼ D, where D = diag(λ1; λ2; : : : ; λn). Similar matrices have the same determinant, so det(A) = det(D) = λ1λ2 ··· λn: Since A is positive definite, λi > 0 for all i, 1 ≤ i ≤ n; it follows that det(A) > 0, and therefore A is invertible. Theorem A symmetric matrix A is positive definite if and only if ~xTA~x > 0 for all n ~x 2 R , ~x 6= ~0. Proof. Since A is symmetric, there exists an orthogonal matrix P so that T P AP = diag(λ1; λ2; : : : ; λn) = D; where λ1; λ2; : : : ; λn are the (not necessarily distinct) eigenvalues of A. Let n T ~x 2 R , ~x 6= ~0, and define ~y = P ~x. Then ~xTA~x = ~xT(PDPT)~x = (~xTP)D(PT~x) = (PT~x)TD(PT~x) = ~yTD~y: T Writing ~y = y1 y2 ··· yn , 2 y1 3 6 y2 7 ~xTA~x = y y ··· y diag(λ ; λ ; : : : ; λ ) 6 7 1 2 n 1 2 n 6 . 7 4 . 5 yn 2 2 2 = λ1y1 + λ2y2 + ··· λnyn: Proof. (continued) n T ()) Suppose A is positive definite, and ~x 2 R , ~x 6= ~0. Since P is T ~ 2 invertible, ~y = P ~x 6= 0, and thus yj 6= 0 for some j, implying yj > 0 for 2 some j. Furthermore, since all eigenvalues of A are positive, λiyi ≥ 0 for all 2 T i; in particular λjyj > 0. Therefore, ~x A~x > 0. T (() Conversely, if ~x A~x > 0 whenever ~x 6= ~0, choose ~x = P~ej, where ~ej is th the j column of In. Since P is invertible, ~x 6= ~0, and thus T T ~y = P ~x = P (P~ej) = ~ej: Thus yj = 1 and yi = 0 when i 6= j, so 2 2 2 λ1y1 + λ2y2 + ··· λnyn = λj; T i.e., λj = ~x A~x > 0. Therefore, A is positive definite. Theorem (Constructing Positive Definite Matrices) Let U be an n × n invertible matrix, and let A = UTU. Then A is positive definite. Proof. n Let ~x 2 R , ~x 6= ~0. Then ~xTA~x = ~xT(UTU)~x = (~xTUT)(U~x) = (U~x)T(U~x) = jjU~xjj2: Since U is invertible and ~x 6= ~0,U~x 6= ~0, and hence jjU~xjj2 > 0, i.e., T 2 ~x A~x = jjU~xjj > 0. Therefore, A is positive definite. Definition (r) Let A = aij be an n × n matrix. For 1 ≤ r ≤ n, A denotes the r × r submatrix in the upper left corner of A, i.e., (r) A = aij ; 1 ≤ i; j ≤ r: (1)A; (2)A;:::; (n)A are called the principal submatrices of A. Lemma If A is an n × n positive definite matrix, then each principal submatrix of A is positive definite. Proof. Suppose A is an n × n positive definite matrix. For any integer r, 1 ≤ r ≤ n, write A in block form as (r)AB A = ; CD where B is an r × (n − r) matrix, C is an (n − r) × r matrix, and D is an 2 y1 3 6 y2 7 2 y 3 6 7 1 6 . 7 y 6 . 7 6 2 7 6 7 (n − r) × (n − r) matrix. Let ~y = 6 . 7 6= ~0 and let ~x = 6 yr 7. Then 6 . 7 6 7 4 . 5 6 0 7 6 7 yr 6 . 7 4 . 5 0 ~x 6= ~0, and by the previous theorem, ~xTA~x > 0. Proof. (continued) But 2 y1 3 6 . 7 6 . 7 (r) 6 7 T AB 6 yr 7 T (r) ~x A~x = y1 ··· yr 0 ··· 0 6 7 = ~y A ~y; CD 6 0 7 6 7 6 . 7 4 . 5 0 and therefore ~yT (r)A ~y > 0. Then (r)A is positive definite again by the previous theorem. Cholesky factorization – Square Root of a Matrix 4 = 2 × 2T 2 4 12 −163 2 2 0 03 22 6 −83 4 12 37 −435 = 4 6 1 05 40 1 5 5 −16 −43 98 −8 5 3 0 0 3 Theorem Let A be an n × n symmetric matrix. Then the following conditions are equivalent. 1. A is positive definite. 2. det((r)A) > 0 for r = 1; 2;:::; n. 3. A = UTU where U is upper triangular and has positive entries on its main diagonal. Furthermore, U is unique. The expression A = UTU is called the Cholesky factorization of A. Algorithm for Cholesky Factorization Let A be a positive definite matrix. The Cholesky factorization A = UTU can be obtained as follows. 1. Using only type 3 elementary row operations, with multiples of rows added to lower rows, put A in upper triangular form. Call this matrix U;b then Ub has positive entries on its main diagonal (this can be proved by induction on n). 2. Obtain U from Ub by dividing each row of Ub by the square root of the diagonal entry in that row. Problem 2 9 −6 3 3 Show that A = 4 −6 5 −3 5 is positive definite, and find the 3 −3 6 Cholesky factorization of A. Solution 9 −6 (1)A = 9 and (2)A = ; −6 5 so det((1)A) = 9 and det((2)A) = 9. Since det(A) = 36, it follows that A is positive definite. 2 9 −6 3 3 2 9 −6 3 3 2 9 −6 3 3 4 −6 5 −3 5 ! 4 0 1 −1 5 ! 4 0 1 −1 5 3 −3 6 0 −1 5 0 0 4 Now divide the entries in each row by the square root of the diagonal entry in that row, to give 2 3 −2 1 3 T U = 4 0 1 −1 5 and U U = A: 0 0 2 Problem Verify that 2 12 4 3 3 A = 4 4 2 −1 5 3 −1 7 is positive definite, and find the Cholesky factorization of A. Solution ( Final Answer ) det (1)A = 12, det (2)A = 8, det (A) = 2; by the previous theorem, A is positive definite. 2 p p p 3 2 3 2p3/3 3/2p U = 4 0 6/3 − 6 5 0 0 1/2 and UTU = A..

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    13 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us