Chapter 8: The spectral theorems
8.3Positive operators
Among complex numbers, the nonnegative reals stand out: they are the numbers of the form , and also the real numbers that are squares of real numbers. In the analogy between operators and complex numbers (Section 6.6.5), the adjoint plays the role of complex conjugation and self-adjoint operators play the role of real numbers. This section finds the operators that play the role of nonnegative numbers. We have already met several: orthogonal projections, the matrices of the normal equations (Theorem 6.5.5), and Gram matrices (Definition 6.3.28). Positive operators have nonnegative eigenvalues and a unique positive square root, and the positive definite ones are exactly the matrices of inner products. In Section 9.1 the positive operator produces the singular value decomposition.
Throughout, is a finite-dimensional inner product space over with , and ; only the definitions make sense more generally. Matrices in act on with the dot product, so that . For an orthonormal basis we write for , as in Section 8.2.
8.3.1Positive operators
Definition 8.3.1 (Positive operator). Let be an inner product space. An operator is positive if is self-adjoint and
A matrix is positive if is positive on with the dot product, that is, if and for every .
The name is traditional but a little misleading: “positive” here means “nonnegative”, in the sense in which . For matrices the same notion is often called positive semidefinite. The strict version, for , is positive definiteness (Definition 8.3.14).
(a)Every orthogonal projection is positive. It is self-adjoint and (Corollary 6.6.29), so
- (b)Let be an inner product space and let have an adjoint. Then is positive:
by Proposition 6.6.18, and . In particular is positive for every ; it is the coefficient matrix of the normal equations (Theorem 6.5.5). - (c)The Gram matrix of a list in (Definition 6.3.28) is positive. Its entries satisfy
, so , and by Proposition 6.3.30. For matrices, (b) is the special case of the columns of , whose Gram matrix is . (d) is positive. It is Hermitian, and for ,
- (a) is symmetric with positive entries, but for we get
. Together with Example 8.3.2(d), this shows that the signs of the entries say little about positivity. - (b)On , let . Then
for every , but is not symmetric, so it is not positive. Geometrically, is times the rotation by : it turns every vector by an angle of , less than a right angle, and its characteristic polynomial has no real roots.
Remark 8.3.4 (Why self-adjointness is part of the definition). Over the self-adjointness in Definition 8.3.1 comes for free. If for every , then in particular every value is real, and is self-adjoint by Proposition 6.6.30. So on a complex space, is positive if and only if for every .
Over it does not come for free, and Non-example 8.3.3(b) shows why we must ask for it. On a real space
The values only see the self-adjoint part of (Exercise 6.1.52), and the condition says nothing about the rest. For , the self-adjoint part is and the rest is the rotation . Without the self-adjointness requirement, would count as positive although it has no real eigenvalues, it is not of the form (such operators are self-adjoint), and it has no self-adjoint square root (the square of a self-adjoint operator is self-adjoint). With the requirement, the real and complex notions agree: a real matrix is positive in if and only if it is positive in (Exercise 8.3.30), and the characterizations below hold over both fields with the same proofs.
8.3.2Characterizations
Theorem 8.3.5 (Characterizations of positive operators). Let be a finite-dimensional inner product space with , and let . The following are equivalent:
- (I) is positive;
- (II) is self-adjoint and every eigenvalue of is nonnegative;
- (III) is diagonal with nonnegative diagonal entries for some orthonormal basis of ;
- (IV) for some positive ;
- (V) for some self-adjoint ;
- (VI) for some , where is a finite-dimensional inner product space;
- (VII)for some orthonormal basis of , is the Gram matrix of a list of vectors in some inner product space.
In matrix form: is positive if and only if with unitary and diagonal with nonnegative entries, if and only if for some , if and only if is a Gram matrix.
Over , condition (I) may be replaced by “ for every ” (Remark 8.3.4).
Uses. Definition 8.3.1 (Positive operator), Theorem 8.2.12 (Real spectral theorem), Corollary 8.2.7 (Hermitian matrices), Theorem 7.4.2 (Diagonalizable means an eigenbasis), Theorem 2.2.1 (Linear maps are determined by a basis), Corollary 6.6.28 (Self-adjointness in an orthonormal basis), Proposition 6.3.18 (Coordinates in an orthonormal basis), Definition 6.3.28 (Gram matrix), Proposition 6.3.30 (Gram matrices detect independence), Theorem 6.6.15 (Existence of adjoints), Definition 8.2.1 (Unitarily and orthogonally diagonalizable)
Techniques. Proving TFAE (Technique 2.7.1), Gram matrices (Technique 6.3.31), Pass to orthonormal coordinates (Technique 6.7.2)
We prove (I) (II) (III) (IV) (V) (VI) (VII) (I).
(I) (II). is self-adjoint by definition. Let be an eigenvalue of , with eigenvector . Then
and since ,
(II) (III). By Theorem 8.2.12 if , or Corollary 8.2.7 if , has an orthonormal basis of eigenvectors of , say . Then
(III) (IV). Let be an orthonormal basis with
so is positive. Finally
(IV) (V). A positive operator is self-adjoint.
(V) (VI). Take and . Then .
(VI) (VII). Let be any orthonormal basis of . By Proposition 6.3.18, the -th coordinate of is , so the entry of is
This is the entry of the Gram matrix of the list in (Definition 6.3.28).
(VII) (I). Let be an orthonormal basis such that is the Gram matrix of a list in an inner product space . As in Example 8.3.2(c), , so
by Proposition 6.3.30. So is positive.
For the matrix form, apply the theorem to on ; its matrix in the standard basis is . Condition (III) for says that has an orthonormal eigenbasis for with nonnegative eigenvalues, which means with unitary (its columns are the eigenbasis) and diagonal with nonnegative entries, as explained after Definition 8.2.1. If with , then , because the adjoint of is (Theorem 6.6.15); this is (VI). Conversely, (V) gives with . Finally, if is a Gram matrix, then (VII) holds with , so is positive; and if is positive, the proof of (VI) (VII), which worked for every orthonormal basis, shows that is a Gram matrix. □
The proof of (VI) (VII) did not depend on the orthonormal basis. So for a positive the matrix in every orthonormal basis is a Gram matrix, and in particular its diagonal entries are nonnegative. For bases that are not orthonormal this fails (Exercise 8.3.29). Note also that conditions (V) and (VI) look weaker than (IV). A self-adjoint square root may have negative eigenvalues, and need not be self-adjoint or even map to itself, yet each of them forces to be positive.
Example 8.3.6 (Three certificates of positivity). Let
Each of three conditions of Theorem 8.3.5 can be checked directly.
Eigenvalues (II). is symmetric, and expanding along the first row gives
The form (I). For ,
A factorization (VI). for the difference matrix
so is the Gram matrix of the columns of .
The last two certificates are the same computation, since
Exercise 8.3.7. Decide which of the following matrices are positive, and justify each answer by a condition of Theorem 8.3.5 or by a vector with .
- (a).
- (b).
- (c).
- (d).
- (e).
Uses. Theorem 8.3.5 (Characterizations of positive operators), Definition 8.3.1 (Positive operator)
(a) The matrix is symmetric with trace and determinant , so its eigenvalues are and (the roots of ). Both are nonnegative, so it is positive by Theorem 8.3.5(II).
(b) The matrix is symmetric, but its eigenvalues are the roots of , namely and . So it is not positive; concretely, gives
(c) Let . Then
so the matrix is positive by Theorem 8.3.5(VI). Explicitly,
(d) The matrix is not symmetric, so it is not positive. (Also , which is at .)
(e) Here
The last characterization we need concerns vectors on which the form vanishes. For a positive number , forces ; for a positive operator, the analogue is that forces .
Lemma 8.3.8 (Where the form vanishes). Let be positive and . Then if and only if . Consequently
Proof (in an eigenbasis).
Uses. Theorem 8.3.5 (Characterizations of positive operators), Proposition 6.3.18 (Coordinates in an orthonormal basis)
Techniques. A sum of nonnegative terms (Technique 6.1.9), Pass to orthonormal coordinates (Technique 6.7.2)
If , then . Conversely, by Theorem 8.3.5(III) there is an orthonormal basis with and every . Write . Then
If this is , then, being a sum of nonnegative terms, each term is . So for each , either or , and in both cases . Hence
Proof (with a square root).
Uses. Theorem 8.3.5 (Characterizations of positive operators), Definition 6.1.26 (Norm)
Techniques. Show a vector is zero via its norm (Technique 6.1.36), Move an operator across the inner product (Technique 6.6.20)
By Theorem 8.3.5(IV), for some positive, hence self-adjoint, . Then
If this is , then , and
The second proof is the general pattern: once the form is a squared norm , its vanishing kills and therefore . Without positivity the lemma fails. On the rotation has for every (Example 6.1.39), but ; and the symmetric matrix gives at , which is not in its kernel.
8.3.3The positive square root
Every nonnegative real number has exactly one nonnegative square root, although a positive number has two real square roots. Operators have many more square roots. Every reflection squares to the identity (Exercise 8.2.39), so when the identity has infinitely many self-adjoint square roots. Asking for a positive square root restores uniqueness.
Theorem 8.3.9 (The positive square root). Let be positive, with spectral decomposition
is the only positive operator with . Moreover for some polynomial , so commutes with every operator that commutes with .
A positive operator is self-adjoint, so it satisfies the spectral hypothesis of Section 8.2.4 (over because self-adjoint operators are normal), and its eigenvalues are nonnegative by Theorem 8.3.5. So the formula for makes sense.
Proof, part 1 of 2: existence.
Uses. Definition 8.2.23 (Functions of an operator), Proposition 8.2.24 (Properties of ), Theorem 8.2.18 (Spectral decomposition), Theorem 8.3.5 (Characterizations of positive operators)
Techniques. Apply a function to the eigenvalues (Technique 8.2.25)
Let on , so that (Definition 8.2.23). By Proposition 8.2.24(d), is self-adjoint, since every value is real, and by Proposition 8.2.24(e), its eigenvalues are nonnegative. So is positive by Theorem 8.3.5. By Proposition 8.2.24(c),
because and (Theorem 8.2.18(c)). Finally, by Proposition 8.2.24(b), for , where the Lagrange polynomials have real coefficients because the are real; and commutes with every operator that commutes with .
Proof (via the eigenspaces of ), part 2 of 2: uniqueness.
Uses. Proposition 8.2.20 (Spectral projections are polynomials in ), Theorem 8.3.5 (Characterizations of positive operators), Theorem 8.2.18 (Spectral decomposition), Definition 6.6.26 (Self-adjoint operator)
Techniques. Restrict to a subspace (Technique 4.2.5), Test an identity on eigenvectors (Technique 7.4.25)
Let be positive with . Then , so by Proposition 8.2.20(a), maps each eigenspace of into itself. Fix , write , and let be the restriction of to , which is an inner product space with the inner product of . For ,
so is positive. By Theorem 8.3.5(III), applied on , there is an orthonormal basis of with and . Then
so , and since , . Thus and agree on a basis of , so for every , for every . Finally, every is with (Theorem 8.2.18), so
that is, . □
The step is where positivity of entered. A self-adjoint with also preserves each , but on it only has to satisfy , and when and there are infinitely many such (Exercise 8.3.38).
Proof (via the spectral decomposition of ), part 2 of 2: uniqueness.
Uses. Theorem 8.2.18 (Spectral decomposition), Proposition 8.2.19 (Uniqueness of the spectral decomposition), Theorem 8.3.5 (Characterizations of positive operators)
Techniques. Uniqueness via two candidates (Technique 1.1.8)
Let be positive with . By Theorem 8.2.18,
The numbers are distinct, because and is injective on . So Proposition 8.2.19 applies to this expression of : the eigenvalues of are exactly , and is the orthogonal projection onto , the eigenspace of . Relabelling so that (and ), we get and , so . □
Proof (by comparing two square roots), part 2 of 2: uniqueness.
Uses. Lemma 8.3.8 (Where the form vanishes), Proposition 8.1.1 (Eigenvalues and eigenvectors of self-adjoint operators), Theorem 8.2.12 (Real spectral theorem), Corollary 8.2.7 (Hermitian matrices), Proposition 6.6.18 (Properties of the adjoint)
Techniques. A sum of nonnegative terms (Technique 6.1.9), Extremal choice and minimal counterexamples (Technique 1.5.9)
Let be positive with , and let . Then is self-adjoint (Proposition 6.6.18), and
Let be an eigenvalue of with eigenvector ; is real by Proposition 8.1.1. Using ,
and since is real,
The third proof never mentions the eigenspaces of and uses only Lemma 8.3.8 and the identity
Example 8.3.11 (A square root as a polynomial). For
The polynomial is , the line through and : it agrees with at the two eigenvalues, which is all that matters. Check:
Exercise 8.3.12. Let and .
- (a)Compute , and check that .
- (b)Compute and . Which of and holds, and why?
Uses. Theorem 8.3.9 (The positive square root), Proposition 8.2.20 (Spectral projections are polynomials in )
Techniques. Apply a function to the eigenvalues (Technique 8.2.25)
(a)
so by Theorem 8.3.9,
Check:
(b) is positive (its eigenvalues are and ) and , so is a positive square root of , and by uniqueness . On the other hand , so
Remark 8.3.13 (The absolute value of an operator). Let be a finite-dimensional inner product space and . Then is positive (Example 8.3.2(b)), so it has a positive square root
It satisfies
8.3.4Positive definite operators
Definition 8.3.14 (Positive definite). An operator is positive definite if is self-adjoint and
A matrix is positive definite if and for every nonzero .
The lecture notes define a positive definite matrix as a matrix whose eigenvalues are all positive. For Hermitian matrices this is the same notion, by (II) of the next proposition. Every positive definite operator is positive, and by Lemma 8.3.8 a positive operator is positive definite exactly when its kernel is . So positive definite operators are to positive operators what positive numbers are to nonnegative ones.
Proposition 8.3.15 (Characterizations of positive definite operators). Let . The following are equivalent:
- (I) is positive definite;
- (II) is self-adjoint and every eigenvalue of is positive;
- (III) is positive and invertible;
- (IV) for some injective , where is a finite-dimensional inner product space;
- (V)for some orthonormal basis of , is the Gram matrix of a linearly independent list.
In matrix form: is positive definite if and only if for some with , if and only if is the Gram matrix of a linearly independent list, if and only if is positive and .
Uses. Theorem 8.3.5 (Characterizations of positive operators), Theorem 8.3.9 (The positive square root), Theorem 7.2.9 (Eigenvalues and invertibility), Proposition 6.3.30 (Gram matrices detect independence), Theorem 3.5.12 (First Fundamental Theorem, completed), Theorem 5.4.7 (Invertibility and the determinant), Corollary 4.2.18 (Injective if and only if surjective)
Techniques. Proving TFAE (Technique 2.7.1), Gram matrices (Technique 6.3.31)
We prove (I) (II) (III) (IV) (V) (I).
(I) (II). If with , then
(II) (III). is positive by Theorem 8.3.5. Since is not an eigenvalue of , is invertible by Theorem 7.2.9.
(III) (IV). Let and (Theorem 8.3.9). Then . If , then , so since is invertible. Hence is injective.
(IV) (V). Let be an orthonormal basis. By the proof of Theorem 8.3.5 ((VI) (VII)), is the Gram matrix of . This list is independent: if , then
(V) (I). is positive by Theorem 8.3.5 ((VII) (I)), in particular self-adjoint. Let be the Gram matrix of the independent list , and let have coordinates . As in the proof of Theorem 8.3.5,
For the matrix form, apply this to as in Theorem 8.3.5: is injective if and only if (Theorem 3.5.12), and the Gram matrix statement is (V) with the standard basis. Finally, if is positive then is invertible exactly when (Theorem 5.4.7), which is (III). □
Corollary 8.3.16 (Inner products on ). The inner products on are exactly the functions
with positive definite. For such an inner product, is the Gram matrix of the standard basis:
Uses. Proposition 6.1.22 (Inner products on ), Definition 8.3.14 (Positive definite)
So positive definite matrices and inner products on are the same objects, and Example 6.1.23 was a positive definite matrix in disguise. Questions about one inner product compared with another become questions about a positive definite matrix compared with .
If is positive definite, so are and : their eigenvalues and are positive (Proposition 8.2.24(e), with
Uses. Theorem 8.3.5 (Characterizations of positive operators), Proposition 8.3.15 (Characterizations of positive definite operators)
is symmetric, so its eigenvalues are real, with and
The same answer comes from completing the square:
If this is , and if it is only when and , that is, at . If , then gives . At , the vector gives .
Quadratic forms
For a real symmetric matrix , the function on is the quadratic form of (Section 8.2.6). By definition, is positive definite exactly when for every nonzero , and this is how positive definite matrices usually enter: through quadratic forms. By Corollary 8.2.28, in the coordinates along an orthonormal eigenbasis ,
If is positive definite, the level set is therefore an ellipsoid with semi-axes along the (in , the ellipses of Remark 8.2.30). If is positive but some , the level set is unbounded in the direction of , and if some , then takes negative values. For example, the form
This is the linear algebra behind the second-derivative test. At a critical point of a smooth ,
8.3.5Products of positive operators
The product of two nonnegative numbers is nonnegative. The product of two positive operators need not even be self-adjoint: for and the projection , the product is not symmetric. The obstruction is that and need not commute. What survives is a statement about eigenvalues, and the proof introduces a move that we will use repeatedly.
Technique 8.3.19 (Sandwich between square roots). Two positive operators and do not commute in general, so need not be positive. Split and move one factor to the other side: the operator is always positive, since
Reach for it when a statement involves two positive operators (a product, a comparison , , ) and the case of a single operator is easy by Technique 8.2.25. The canonical example is Proposition 8.3.20.
Used in 4 places and 1 practice exercise
Proposition 8.3.20, Exercise 8.3.34, Exercise 8.3.39, Exercise 8.3.42; 1 practice exercise.
Proposition 8.3.20 (Products of positive operators). Let be positive.
- (a) is positive if and only if .
- (b)Every root of in is real and nonnegative. In particular every eigenvalue of is nonnegative.
- (c)If is invertible, then is diagonalizable.
Uses. Theorem 8.3.9 (The positive square root), Proposition 6.6.18 (Properties of the adjoint), Proposition 7.3.22 ( and ), Definition 7.3.12 (Characteristic polynomial of an operator), Theorem 2.4.2 (The matrix of a composite), Theorem 8.3.5 (Characterizations of positive operators), Theorem 7.2.9 (Eigenvalues and invertibility), Theorem 7.4.2 (Diagonalizable means an eigenbasis), Corollary 7.3.13 (Eigenvalues of an operator)
Techniques. Sandwich between square roots (Technique 8.3.19), Compare and (Technique 7.3.21)
First, is positive: it is self-adjoint by Proposition 6.6.18, and
(a) If is positive, it is self-adjoint, so
(b) Fix an orthonormal basis and let and . By Theorem 2.4.2,
(c) If is invertible, then is not an eigenvalue of , so the eigenvalues of are positive and is invertible (Theorem 7.2.9). Let be an eigenbasis of the positive operator , with (Theorem 8.3.5(III)). Then
and is a basis of , being the image of a basis under an invertible map. So has a basis of eigenvectors of , and is diagonalizable (Theorem 7.4.2). □
For the example above, has eigenvalues and , and it is diagonalizable, as (c) predicts since . Its eigenvectors and are not orthogonal, so is diagonalizable but not unitarily diagonalizable. When is invertible, is similar to a positive operator, , but similarity does not preserve orthogonality.
8.3.6The Löwner order Beyond 21-242
The Löwner order is not covered in 21-242.
For real numbers, means that . Positivity gives the same kind of comparison between self-adjoint operators.
The two descriptions agree because is automatically self-adjoint. For matrices, is defined in the same way for Hermitian and .
Proposition 8.3.22 (Properties of the Löwner order). Let be self-adjoint.
- (a) is a partial order: ; if and , then ; and if and , then .
- (b)If , then , and for every real .
- (c)If , is a finite-dimensional inner product space, and , then .
- (d)For , if and only if every eigenvalue of is at most , and if and only if every eigenvalue of is at least .
Uses. Definition 8.3.21 (Löwner order), Lemma 8.3.8 (Where the form vanishes), Proposition 6.6.18 (Properties of the adjoint), Theorem 8.3.5 (Characterizations of positive operators)
Techniques. Move an operator across the inner product (Technique 6.6.20)
(a) is positive. If and are both positive, then and , so for every , and for every by Lemma 8.3.8. So . If , then
(b)
(c)
(d) if and only if
For example, every orthogonal projection satisfies , by (d), because its eigenvalues are and . Unlike the order on , the Löwner order is not total: neither of and is the other, since their difference has eigenvalues and . Some familiar inequalities survive and some do not. Inverses reverse the order and square roots preserve it, while squares need not preserve it (Exercise 8.3.39, Exercise 8.3.40). The inverse inequality is proved with Technique 8.3.19, which compares an operator with , where (d) applies; the square-root inequality uses the eigenvector trick of the third uniqueness proof in Theorem 8.3.9.
8.3.7Cholesky factorization Beyond 21-242
Cholesky factorization is standard in numerical linear algebra (LADR 7D), but it is not part of the course.
By Theorem 8.3.5 a positive matrix can be written as in many ways, for example with . One of these factorizations is triangular, and it can be computed by a short algorithm that needs no eigenvalues. It is the standard way to solve when is positive definite, and it is also the cheapest test of positive definiteness.
Theorem 8.3.23 (Cholesky factorization). Let be positive definite. Then there is exactly one upper triangular with positive real diagonal entries such that
Proof (via QR), part 1 of 2: existence.
Uses. Proposition 8.3.15 (Characterizations of positive definite operators), Theorem 6.4.38 (QR factorization), Theorem 6.3.29 (Orthonormal columns)
By Proposition 8.3.15, for some with (for instance ). The columns of are independent, so Theorem 6.4.38 gives with having orthonormal columns and upper triangular with positive diagonal entries. Since (Theorem 6.3.29),
The first proof hides the work inside QR. The second builds one row at a time, and it is the proof behind the algorithm below.
Proof (by induction on ), part 1 of 2: existence.
Uses. Definition 2.4.33 (Block matrix), Definition 8.3.14 (Positive definite)
Techniques. Induction on matrix size (Technique 5.5.17), Block decomposition (Technique 2.4.35), Plug in clever test vectors (Technique 6.1.40)
We induct on . If , then with , and . Let , and write in block form (Definition 2.4.33)
where is real and because , and . Let , which is Hermitian. For and , block multiplication gives
Take and . Since , the first three terms are
It is upper triangular with positive diagonal entries, and
Proof, part 2 of 2: uniqueness.
Uses. Lemma 3.3.32 (Products and inverses of triangular matrices), Definition 3.3.31 (Triangular matrices), Proposition 5.3.15 (Triangular matrices), Theorem 5.4.7 (Invertibility and the determinant)
Techniques. Uniqueness via two candidates (Technique 1.1.8)
Suppose with and upper triangular with positive diagonal entries. Both are invertible, since their determinants are the products of the diagonal entries (Proposition 5.3.15, Theorem 5.4.7). An invertible upper triangular matrix has an upper triangular inverse whose diagonal entries are : write with
By Lemma 3.3.32, and are upper triangular, with diagonal entries and . So the matrix is upper triangular, and also lower triangular, being the conjugate transpose of an upper triangular matrix. Hence is diagonal, and comparing diagonal entries,
The equations behind the algorithm come from reading entry by entry. Since for , for the entry is
The last term is the only one that involves row of . So if rows are known, the equation with determines , and then the equations with determine the rest of row .
Algorithm 8.3.24 (Cholesky factorization)
- Input
- A Hermitian matrix .
- Output
- The Cholesky factor of , or the conclusion that is not positive definite.
Uses. Theorem 8.3.23 (Cholesky factorization), Proposition 8.3.15 (Characterizations of positive definite operators), Proposition 5.3.15 (Triangular matrices)
Techniques. Algorithms as proofs: invariants and termination (Technique 3.3.5), Compute entry by entry (Technique 2.4.15)
Suppose is positive definite, and let be its Cholesky factor (Theorem 8.3.23). By the entry formula above, for each ,
We show by induction on that the algorithm computes row of . If it has computed rows correctly, then the number of step 2 is , so the algorithm does not stop and sets , the correct (positive) value; and step 3 solves the second equation for . So the output is .
Conversely, suppose the algorithm runs to the end and outputs . Then is upper triangular with positive diagonal entries, and the equations it solved say that
Example 8.3.26 (A Cholesky factorization). Let
For : , , . For : , so , and
and is positive definite. If the corner entry is replaced by , the last step gives , and the algorithm stops: the new matrix is not positive definite. Indeed , so
Remark 8.3.27 (What Cholesky adds). For a real positive definite , the matrices
The induction proof never used eigenvalues. It shows directly that a positive definite matrix has the form , which is the hard implication of Theorem 8.3.5, by elimination alone. It also shows that a Hermitian matrix is positive definite if and only if the pivots produced along the way are all positive, a criterion that Section 12.3 rephrases in terms of determinants (Sylvester’s criterion).
Exercises
Exercise 8.3.28. Let be positive, let be real, and let , where is a finite-dimensional inner product space. Show that:
- (a) and are positive;
- (b) is positive;
- (c) is positive for every integer ;
- (d)if is invertible, then is positive.
Uses. Definition 8.3.1 (Positive operator), Proposition 6.6.18 (Properties of the adjoint)
Techniques. Move an operator across the inner product (Technique 6.6.20)
(a) By Proposition 6.6.18, and , as is real. For every ,
(b)
(c) For , is positive. By Proposition 6.6.18(d) and induction,
(d) By Proposition 6.6.18(f),
since is a nonnegative real number.
Exercise 8.3.29. Prove or disprove each statement. Throughout, is a finite-dimensional inner product space.
- (a)If is positive, then for every basis of , the diagonal entries of are nonnegative.
- (b)If is self-adjoint and is positive, then is positive.
- (c)If is self-adjoint and is positive, then is positive.
- (d)If are positive, then is positive.
- (e)If and for every , then is positive.
Uses. Theorem 8.3.5 (Characterizations of positive operators), Definition 8.3.1 (Positive operator), Proposition 8.1.1 (Eigenvalues and eigenvectors of self-adjoint operators)
Techniques. Finding counterexamples and minimal examples (Technique 1.4.18)
(a) False. Let on with , which is positive, and let with , . Then
whose entry is negative. For an orthonormal basis the statement is true, since the diagonal entries are .
(b) True. Let be an eigenvalue of , with , ; is real by Proposition 8.1.1. Then , so is an eigenvalue of the positive operator , and by Theorem 8.3.5. For a real number this forces . So is self-adjoint with nonnegative eigenvalues, hence positive by Theorem 8.3.5(II).
(c) False. If , then is self-adjoint and is positive, but
(d) False. Let and , both positive (a projection, and with ). Then
and gives
(e) False. Let . Then , and for real ,
Exercise 8.3.30. Let . Show that the following are equivalent:
- (i) is positive as an element of : and for every ;
- (ii) for every .
Then show that (ii) does not follow from “ for every ” alone. This is why Definition 8.3.1 requires self-adjointness over (Remark 8.3.4).
Uses. Proposition 6.6.30 (Self-adjoint means real values), Remark 8.3.4 (Why self-adjointness is part of the definition), Corollary 6.6.28 (Self-adjointness in an orthonormal basis)
(ii) (i). All values
(i) (ii). Let with . Then , and since is real,
The number is a matrix, so it equals its transpose
For the last part, let . Then for (Non-example 8.3.3(b)). For , and
Exercise 8.3.31. Let
- (a)Show that is positive if and only if , , and .
- (b)Show that is positive definite if and only if and .
- (c)Show by an example that and do not imply that is positive.
Solution (via eigenvalues).
Uses. Theorem 8.3.5 (Characterizations of positive operators), Proposition 8.3.15 (Characterizations of positive definite operators), Theorem 7.5.22 (Trace and determinant from eigenvalues)
is Hermitian, so it has real eigenvalues (counted with multiplicity), and by Theorem 7.5.22, and .
(a) By Theorem 8.3.5, is positive if and only if . For real numbers this holds if and only if and : if the product is , the two numbers do not have opposite strict signs, and then a nonnegative sum rules out both being negative. So is positive if and only if and . These two conditions are equivalent to the three in (a). If , then . Conversely, if and, say, , then and ; so forces , and likewise .
(b) By Proposition 8.3.15, is positive definite if and only if , if and only if and , that is, and . If , then and are nonzero with the same sign, so if and only if .
(c) has and , but
Solution (by completing the square).
Uses. Definition 8.3.1 (Positive operator), Definition 8.3.14 (Positive definite)
Expanding,
If , then , so is not positive, and the conditions in (a) and (b) fail.
If , then expanding
If , this is ; and if , it is only when and , that is, . Conversely, gives the value , which must be if is positive and if is positive definite. Also follows from .
If , then is not positive definite (), and the condition in (b) fails. If , take and with : the value is , which is negative for large ; and indeed
Exercise 8.3.32. Let be positive, let be an orthonormal basis of , and let .
- (a)Show that
for all . - (b)Deduce that if , then row and column of are zero.
- (c)Deduce that the largest of the numbers occurs on the diagonal.
Solution (via a Gram matrix).
Uses. Theorem 8.3.5 (Characterizations of positive operators), Theorem 6.2.1 (Cauchy–Schwarz inequality), Theorem 8.3.9 (The positive square root)
Techniques. Gram matrices (Technique 6.3.31), Apply Cauchy–Schwarz to a well-chosen inner product (Technique 6.2.21)
(a) Let . Since is self-adjoint,
(b) If , then , so for every : row is zero. Since is Hermitian, , so column is zero too.
(c) The diagonal entries are nonnegative reals. For all , by (a),
and is itself one of the numbers .
Solution (via submatrices).
Uses. Theorem 8.3.5 (Characterizations of positive operators), Exercise 8.3.31, Proposition 6.3.18 (Coordinates in an orthonormal basis)
Techniques. Gram matrices (Technique 6.3.31), Apply Cauchy–Schwarz to a well-chosen inner product (Technique 6.2.21)
(a) For there is nothing to prove. Let , and for let . Since
The matrix is Hermitian (as is) and the left side is , so it is positive, and Exercise 8.3.31(a) gives
Exercise 8.3.33. Let be positive.
- (a)Show that
for all . - (b)Use (a) to give a third proof of Lemma 8.3.8.
- (c)Show that and .
Uses. Theorem 8.3.9 (The positive square root), Theorem 6.2.1 (Cauchy–Schwarz inequality), Theorem 4.2.11 (Rank–nullity), Lemma 8.3.8 (Where the form vanishes)
Techniques. Apply Cauchy–Schwarz to a well-chosen inner product (Technique 6.2.21)
Let , which is self-adjoint with (Theorem 8.3.9). For all ,
(a) By Cauchy–Schwarz (Theorem 6.2.1),
(b) Suppose , and take in (a):
So . (This proof uses through (a); one can also prove (a) without it, by applying the argument of Theorem 6.2.1 to the form .)
(c) If , then . If , then
Exercise 8.3.34. Let be positive.
- (a)Show that and , and that only if .
- (b)Show that .
- (c)Show that if and only if .
Uses. Theorem 8.3.5 (Characterizations of positive operators), Proposition 7.5.25 (Cyclicity of the trace for linear maps), Theorem 8.3.9 (The positive square root), Exercise 8.3.28, Proposition 6.6.18 (Properties of the adjoint)
Techniques. Sandwich between square roots (Technique 8.3.19), Cyclicity of trace (Technique 2.4.29)
(a) By Theorem 8.3.5(III),
(b) By Proposition 7.5.25,
(c) If , then . Conversely, suppose . Then , so by (a). Let . Since and are self-adjoint,
- (a)Show that the Hilbert matrix , with entries , is positive definite. Deduce that .
- (b)Show that the matrix with entries is positive definite.
Uses. Proposition 8.3.15 (Characterizations of positive definite operators), Proposition 6.1.13 (Integral inner products), Definition 6.3.28 (Gram matrix), Proposition 7.1.22 (Counting roots), Theorem 7.5.22 (Trace and determinant from eigenvalues)
Techniques. Gram matrices (Technique 6.3.31)
Give the inner product
(a) Let for . Then
so is the Gram matrix of (Definition 6.3.28). This list is linearly independent: if for every , the polynomial has infinitely many roots, so it is zero (Proposition 7.1.22) and every . By Proposition 8.3.15, is positive definite. Its eigenvalues are positive and is their product (Theorem 7.5.22), so .
(b) Let for , continuous on since . Then
No eigenvalue had to be computed. The eigenvalues of are in fact tiny (the smallest is below for ), so a numerical test of positivity would be delicate, while the Gram description settles the question exactly.
Exercise 8.3.36. Let be positive and nonzero, and let .
(a)Show that
- (b)Use (a) to compute for and for .
Uses. Theorem 8.3.9 (The positive square root), Theorem 8.3.5 (Characterizations of positive operators), Theorem 7.5.22 (Trace and determinant from eigenvalues), Exercise 8.3.31
(a) For , multiplying out gives
that is,
Since , with . If , then , so and , which is excluded. So , and the identity with gives .
(b) For : , , and is positive (Exercise 8.3.31). So and , since . Using
Check: the square of the right side is
For : is Hermitian with and
Check:
Exercise 8.3.37. Let be self-adjoint, with spectral decomposition . Define , which makes sense because is positive (Remark 8.3.13).
- (a)Show that
. - (b)Show that if and only if is positive.
- (c)Let and . Show that and are positive, , and .
Uses. Proposition 8.2.24 (Properties of ), Theorem 8.3.9 (The positive square root), Theorem 8.3.5 (Characterizations of positive operators)
Techniques. Apply a function to the eigenvalues (Technique 8.2.25)
(a) Let on the eigenvalues, which are real. By Proposition 8.2.24,
(b) is positive, so if , then is positive. Conversely, if is positive, then is a positive operator whose square is , so by uniqueness.
(c) By (a),
Exercise 8.3.38. Consider the following argument.
“Claim. A positive operator has exactly one self-adjoint square root. Proof. Let be self-adjoint with . Then commutes with , so by Proposition 8.2.20(a) it maps each eigenspace of into itself. On we have , so on . Hence .”
- (a)Find the error, and show that the claim is false.
- (b)Suppose and is positive with distinct eigenvalues, of which are nonzero. How many self-adjoint square roots does have?
Uses. Theorem 8.3.9 (The positive square root), Proposition 8.2.20 (Spectral projections are polynomials in ), Proposition 8.2.24 (Properties of ), Proposition 8.1.1 (Eigenvalues and eigenvectors of self-adjoint operators)
Techniques. Finding counterexamples and minimal examples (Technique 1.4.18)
(a) Everything up to “ on ” is correct. The error is the conclusion “ on ”. A square root of need not be : the self-adjoint operator is diagonal in an orthonormal basis of with entries satisfying , so each entry may be or . (In the first proof of Theorem 8.3.9 the extra hypothesis settles this.) The claim is false: if , then is a second self-adjoint square root, and even for on , every and every reflection is a self-adjoint square root.
(b) Let be the distinct eigenvalues, with eigenspaces , which are lines because there are of them in an -dimensional space. Let be self-adjoint with . As in the argument, maps into itself, so for a scalar , which is real by Proposition 8.1.1, and
Exercise 8.3.39. Let be positive definite with (Definition 8.3.21).
- (a)Show that .
- (b)Show that .
- (c)Show that for positive matrices, does not imply : take and .
Uses. Proposition 8.3.22 (Properties of the Löwner order), Theorem 8.3.9 (The positive square root), Proposition 8.3.15 (Characterizations of positive definite operators), Theorem 5.4.10 (Multiplicativity), Theorem 7.5.22 (Trace and determinant from eigenvalues)
Techniques. Sandwich between square roots (Technique 8.3.19)
Let and , both positive definite and Hermitian. Let . By Proposition 8.3.22(c) with ,
Also with invertible, so is positive definite:
(a) is invertible with
(b) is the product of the eigenvalues of (Theorem 7.5.22), which lie in , so . By Theorem 5.4.10,
(c) is a projection and has trace and determinant , so both are positive. is positive (eigenvalues and ), so . But and , so , whose determinant is . Its eigenvalues have a negative product, so one of them is negative, and fails. The tempting argument “
Uses. Lemma 8.3.8 (Where the form vanishes), Theorem 8.3.5 (Characterizations of positive operators), Proposition 8.1.1 (Eigenvalues and eigenvectors of self-adjoint operators), Exercise 8.3.39
Techniques. A sum of nonnegative terms (Technique 6.1.9), Test an identity on eigenvectors (Technique 7.4.25)
Let , which is self-adjoint. Then
Let be an eigenvalue of , with and ; is real (Proposition 8.1.1). Using ,
The left side is because , and the bracket is a sum of two nonnegative numbers. If , then
For the converse, let and , which are positive with (Exercise 8.3.39(c)). Put and . Then and by uniqueness of positive square roots, so ; but fails, by Exercise 8.3.39(c).
- (a)Find the Cholesky factorization of with Algorithm 8.3.24.
- (b)Use Algorithm 8.3.24 to decide whether is positive definite.
- (c)From the computation in (b), find a vector with .
Uses. Algorithm 8.3.24 (Cholesky factorization), Proposition 8.3.25 (Correctness of the Cholesky algorithm), Theorem 8.3.23 (Cholesky factorization)
(a) : , , . : , so , and . : , so . Hence
Check the last column of :
(b) : , , . : , , . :
(c) Following the induction proof of Theorem 8.3.23, take with chosen so that the first two entries of vanish:
This gives and . Then
- (a)(Hadamard’s inequality.) Show that every positive satisfies
. - (b)Deduce that every with columns satisfies
. If is invertible, show that equality holds if and only if the columns of are orthogonal.
Solution (by normalizing the diagonal).
Uses. Exercise 8.3.32, Exercise 8.3.28, Theorem 7.5.22 (Trace and determinant from eigenvalues), Theorem 5.4.10 (Multiplicativity)
Techniques. Sandwich between square roots (Technique 8.3.19)
(a) All . If some , then row of is zero by Exercise 8.3.32(b), so . Otherwise let
By Theorem 5.4.10,
(b) is positive, with
Solution (via Cholesky).
Uses. Theorem 8.3.23 (Cholesky factorization), Proposition 5.3.15 (Triangular matrices), Theorem 5.4.10 (Multiplicativity), Theorem 5.4.14 (The transpose)
Techniques. Sandwich between square roots (Technique 8.3.19)
(a) If is not invertible, . Otherwise is positive definite (Proposition 8.3.15), and with upper triangular with positive diagonal entries (Theorem 8.3.23). By Proposition 5.3.15 and Theorem 5.4.10,
Multiplying these inequalities between nonnegative numbers gives
(b) As in the first solution, is positive with and , which gives the inequality. Let be invertible. Then is positive definite and every , so equality
Exercise 8.3.43. Let be positive definite. For consider the equation
- (a)Show that the equation has exactly one solution .
- (b)Show that if is Hermitian, then so is .
- (c)Show that if is positive, then so is .
- (d)Deduce that for real numbers , the matrix with entries is positive.
Uses. Theorem 8.2.12 (Real spectral theorem), Corollary 8.2.7 (Hermitian matrices), Proposition 8.3.15 (Characterizations of positive definite operators), Theorem 8.3.5 (Characterizations of positive operators), Proposition 8.1.1 (Eigenvalues and eigenvectors of self-adjoint operators)
Techniques. Choose a convenient basis (Technique 4.5.33), Test an identity on eigenvectors (Technique 7.4.25)
(a) By Theorem 8.2.12 or Corollary 8.2.7, with unitary and
so if and only if , where . The entry of is , and . So the equation holds if and only if
(b) Taking conjugate transposes of and using gives
(c) By (b), is Hermitian, so its eigenvalues are real (Proposition 8.1.1). Let with . Then
The left side is because is positive, and because is positive definite. So . Every eigenvalue of the Hermitian matrix is nonnegative, and is positive by Theorem 8.3.5(II).
(d) Let
The heart of (c) is the trick from the third proof of Theorem 8.3.9: test the equation on an eigenvector of the unknown, not of the data.
More practice
The practice bank has 16 exercises on this section’s topics.