13.2  Square Roots and the Cholesky Factorization

A non-negative real number has exactly one non-negative square root, and it is the reason “non-negative” is a useful class of numbers at all: it lets us take lengths, define standard deviations, and undo a squaring. Section 1 produced the matrix analogue as one clause of a theorem. This section makes it an object with a name, adds the one property the clause did not mention — that the square root is a polynomial in the matrix — and then turns the same idea into the triangular factorization that elimination discovers, the one Chapter 3 promised and could not yet explain.

Throughout, F=R or F=C, and all matrices are over F.

13.2.1. The positive square root

Theorem 13.1.4 (d) already says that a positive semidefinite A has exactly one positive semidefinite square root. That is an existence-and-uniqueness statement, so by the usual convention it deserves a notation.

The square root of a positive matrix is what you get by taking square roots of its eigenvalues and leaving the eigenvectors alone.

Theorem 13.2.1 (The Positive Square Root)

Let A∈Mn(F) with A⪰0. Then there is exactly one C∈Mn(F) with C⪰0 and C2=A. We write C=A1/2, also A. Moreover:

  • (a) A1/2=p(A) for some polynomial p with real coefficients (the nodes λi and the values λi are real, so the interpolation of Theorem 6.6.1 may be run over R, and R[x]⊆C[x]);
  • (b) A1/2B=BA1/2 for every B∈Mn(F) with AB=BA;
  • (c) nul(A1/2)=nul(A) and rankA1/2=rankA; in particular A1/2 is invertible if and only if A is.

The eigenvalues of A1/2 are the non-negative square roots of those of A, with the same eigenvectors.

Idea. Existence and uniqueness are Section 1. What is new is (a), and it is the reason (b) is free. On the spectrum, the square root is just a function λ↦λ defined at finitely many points, and a function defined at finitely many points is a polynomial — that is Lagrange interpolation from Chapter 6. The functional calculus of Chapter 12 says that applying a polynomial to A and applying the corresponding function to the spectrum are the same operation, so the interpolating polynomial evaluated at A is the square root. Once A1/2 is a polynomial in A, anything commuting with A commutes with it, with no further work.

Proof. Existence and uniqueness are Theorem 13.1.4 (d).

  • (a) Let λ1,…,λk be the distinct eigenvalues of A and let A=∑iλiPi be its spectral resolution (Definition 12.8.1, Theorem 12.8.1), which exists because a Hermitian matrix has an orthonormal basis of eigenvectors. Every λi is a non-negative real number by Theorem 13.1.4 (b), so the numbers λi are defined and real. Let f(λ)=λ on spec(A). By Theorem 12.8.3 (b) and (a), f(A)2=(f2)(A)=A, and by (c) and (d) of the same theorem f(A) is Hermitian with spectrum {λ1,…,λk}⊆[0,∞), so f(A)⪰0 by Theorem 13.1.4 (b). Uniqueness gives f(A)=A1/2.

    The numbers λ1,…,λk are distinct, so by Lagrange interpolation (Theorem 6.6.1) there is a polynomial p of degree at most k−1, with real coefficients, such that p(λi)=λi for every i. By Theorem 12.8.3 (a), p(A)=∑ip(λi)Pi=f(A)=A1/2.

  • (b) Suppose AB=BA. Then B commutes with every power of A, hence with every polynomial in A, hence with p(A)=A1/2.

  • (c) If A1/2x=0 then Ax=A1/2(A1/2x)=0. Conversely, if Ax=0, then since A1/2 is Hermitian, ‖A1/2x‖2=⟨A1/2x,A1/2x⟩=⟨Ax,x⟩=0, so A1/2x=0. Hence the two null spaces agree, and the ranks agree by Theorem 3.5.7. Invertibility is the case nul={0} (Theorem 3.4.4).

The last sentence is the spectral mapping statement of Theorem 12.8.3 (d) for f= .

Two routes to the same matrix, then, and both are worth practicing: assemble ∑iλiPi from the projections, or find one interpolating polynomial and substitute.

Example (Two Square Roots)

Compute A1/2 for

  • (a) A=(13121213);
  • (b) B=(211121112),

in each case by the spectral resolution and by a polynomial.

Solution.

  • (a) A is symmetric. Since A(1,1)=(25,25) and A(1,−1)=(1,−1), the eigenvalues are 25 and 1, with eigenlines spanned by (1,1) and (1,−1). Both are positive, so A≻0. The orthogonal projections onto the two eigenlines are P1=12(1111),P2=12(1−1−11), so A=25P1+P2 and A1/2=5P1+1⋅P2=(3223). By the polynomial route: we need p with p(25)=5 and p(1)=1. The line through the two points is p(x)=16x+56, and 16A+56I=16(18121218)=(3223). Check: (3223)2=(13121213).

  • (b) Here B=I+J with J the all-ones matrix. Since J1=31 and Jx=0 for every x with entries summing to 0, the eigenvalues of J are 3 and 0, so those of B are 4 and 1; both are positive, so B≻0. We need p with p(4)=2 and p(1)=1, namely p(x)=13x+23, giving B1/2=13B+23I=13(411141114). Check by squaring: the diagonal entry of the square is 19(16+1+1)=2 and an off-diagonal entry is 19(4+4+1)=1, which reproduces B. Only two distinct eigenvalues appear, so a polynomial of degree 1 suffices even though B is 3×3.

Warning. A1/2 is not the entrywise square root, and it is not the only square root. For A=(13121213) the entrywise roots (13121213) form a matrix whose square is not A. And A has other square roots: −A1/2 is one, and 5P1−P2=(2332) is another symmetric one. The word positive in “positive square root” is what makes the object unique; drop it and this A, whose two eigenvalues are distinct and positive, has four symmetric square roots, one for each choice of sign on each eigenline. When an eigenvalue repeats there are infinitely many, symmetric ones included: every reflection (cos⁡θsin⁡θsin⁡θ−cos⁡θ) is a symmetric square root of I2.

Quick check. Let A⪰0 and let U be unitary. What is (U∗AU)1/2?

Solution. U∗A1/2U. It is positive semidefinite by Proposition 13.1.2 (a), since A1/2⪰0, and its square is U∗A1/2UU∗A1/2U=U∗AU because UU∗=I. Uniqueness in Theorem 13.2.1 does the rest. In words: the square root does not care which orthonormal coordinates we use, which is exactly what one wants of an operation defined on the spectrum.

13.2.2. The absolute value of a matrix

A complex number has a modulus |z|=z―z, and the polar form z=eiθ|z| splits it into a rotation and a non-negative stretch. Section 9 will split a matrix the same way, and the stretching factor it needs is built now. For any matrix, square or not, A∗A is positive semidefinite (Theorem 13.1.6), so it has a square root.

Definition 13.2.1 (Absolute Value of a Matrix)

Let A∈Mm×n(F). The absolute value of A is |A|:=(A∗A)1/2∈Mn(F), the unique positive semidefinite square root of A∗A.

Note the size: |A| is n×n, not m×n, because A∗A acts on the domain of A. It is well defined because A∗A⪰0 and Theorem 13.2.1 gives exactly one root.

Proposition 13.2.2 (What the absolute value preserves)

Let A∈Mm×n(F). Then for every x∈Fn, ‖|A|x‖=‖Ax‖. Consequently nul|A|=nulA and rank|A|=rankA.

Proof. Since |A| is Hermitian and |A|2=A∗A, ‖|A|x‖2=⟨|A|2x,x⟩=⟨A∗Ax,x⟩=‖Ax‖2, using Lemma 11.4.1 twice. Both sides are non-negative reals, so the norms agree. Hence |A|x=0 if and only if Ax=0, and the rank statement follows by Theorem 3.5.7.

So |A| does exactly what A does to lengths, and nothing else. That single identity is the whole engine of the polar decomposition: the map |A|x↦Ax preserves norms, so it extends to a unitary matrix, and A=W|A| follows.

Example (Two Absolute Values)

Compute |A| for A=(0−110) and for B=(3040), both over R.

Solution. For the quarter turn, A⊤A=I, so |A|=I1/2=I. This is right: a rotation changes no length, so the matrix that does the same thing to lengths and nothing else is the identity.

For B, B⊤B=(25000), whose positive square root is |B|=(5000). Check Proposition 13.2.2: ‖Bx‖=‖(3x1,4x1)‖=5|x1|=‖|B|x‖. Both have rank 1 and null space span(e2).

Warning. |A| is not the entrywise absolute value, and |AB|≠|A||B|. For the quarter turn above, the entrywise absolute value is (0110), while |A|=I. For the product rule, take A=(1000),B=(0011). Then AB=0, so |AB|=0, while |A|=A and |B|=12(1111), giving |A||B|=12(1100)≠0. That product is not even Hermitian, so it could not be the absolute value of anything. The modulus of a product of numbers is the product of the moduli because numbers commute; matrices do not.

13.2.3. Cholesky: elimination on a positive definite matrix

Chapter 3 ran elimination on a symmetric matrix and found that the two triangular factors are secretly the same one: A=LDL⊤ (Theorem 3.6.8). It then observed that when every entry of D is positive one can split D=D1/2D1/2 and write A=(LD1/2)(LD1/2)⊤, called this the Cholesky factorization, and promised that Chapter 13 would connect it with positive definite matrices. Here is the connection, and it is the best kind: the hypothesis “every entry of D is positive” is not an extra assumption at all. It holds exactly when A is positive definite, and it can be checked while the elimination runs.

Theorem 13.2.3 (Cholesky Factorization)

Let A∈Mn(F) be Hermitian. Then A≻0 if and only if A=LL∗ for some lower triangular L∈Mn(F) whose diagonal entries are real and strictly positive. In that case L is unique.

Idea. (⇐) is one line: such an L is invertible, and LL∗=(L∗)∗L∗ is Theorem 13.1.5 (c) with B=L∗.

(⇒) is Chapter 3’s elimination with its hypothesis supplied, run symmetrically. One pass clears the first column and the first row at once and leaves a smaller matrix that is again positive definite, so an induction produces A=MDM∗ with M unit lower triangular and every pivot dk>0. Absorbing D1/2 into M finishes it. For uniqueness, strip the positive diagonal off each candidate L; what is left is an LU factorization of A, and Chapter 3 already proved those unique.

Proof. (⇐) Suppose A=LL∗ with L lower triangular and every ℓkk>0. Then L is invertible by Lemma 3.6.2, hence so is L∗, and A=(L∗)∗L∗ is positive definite by Theorem 13.1.5 ((c) ⇒ (a)).

(⇒) Suppose A≻0.

Claim. There are a unit lower triangular M∈Mn(F) and a diagonal D=diag(d1,…,dn) whose entries are real and strictly positive, with A=MDM∗.

Proof. Induction on n. For n=1, the single entry is a11=⟨Ae1,e1⟩>0 by (P2) of Definition 13.1.1 in its strict form, so M=(1) and D=(a11) will do.

Let n≥2. Since A∗=A, we may write A=(αc∗cA′),α=a11,c∈Fn−1,A′∈Mn−1(F) Hermitian. Here α=⟨Ae1,e1⟩>0, so α−1 exists and is a positive real number. Put S:=A′−α−1cc∗, which is Hermitian, since (cc∗)∗=cc∗ and α is real.

The smaller matrix is again positive definite. Let y∈Fn−1 with y≠0, set t=−α−1c∗y and x=(t,y)∈Fn, which is non-zero because y is. Multiplying out in blocks (Theorem 8.1.1), ⟨Ax,x⟩=x∗Ax=α|t|2+t―c∗y+y∗ct+y∗A′y. With c∗y=−αt and y∗c=c∗y―=−αt―, the first three terms are α|t|2−α|t|2−α|t|2=−α|t|2=−α−1|c∗y|2, so ⟨Ax,x⟩=y∗(A′−α−1cc∗)y=⟨Sy,y⟩. The left side is >0 because A≻0 and x≠0. Hence S≻0.

The induction step. By the induction hypothesis, S=M′D′(M′)∗ with M′∈Mn−1(F) unit lower triangular and D′=diag(d2,…,dn) real with positive entries. Put M=(10⊤α−1cM′),D=(α0⊤0D′). Then M is unit lower triangular and D is diagonal with the positive real entries α,d2,…,dn. Block multiplication (Theorem 8.1.1) gives MDM∗=(α0⊤cM′D′)(1α−1c∗0(M′)∗)=(αc∗cα−1cc∗+M′D′(M′)∗), and α−1cc∗+M′D′(M′)∗=α−1cc∗+S=A′. So MDM∗=A, which proves the claim.

The claim is one pass of elimination performed symmetrically, and d1=α,d2,…,dn are its pivots. Over R it is the LDL⊤ factorization of Theorem 3.6.8 with the hypothesis that makes every pivot positive.

Write d1,…,dn for the diagonal entries of D, all of them positive real numbers. Then D1/2:=diag(d1,…,dn) is a real matrix, and putting L=MD1/2 gives a lower triangular matrix — its (i,j)-entry is mijdj, which vanishes for i<j — whose k-th diagonal entry is dk>0, and LL∗=MD1/2(D1/2)∗M∗=MDM∗=A.

Uniqueness. Suppose A=L1L1∗=L2L2∗, with each Li lower triangular with positive diagonal entries. Split off the diagonal: write Δi=diag((Li)11,…,(Li)nn), a real diagonal matrix with positive entries, and Mi=LiΔi−1, which is lower triangular with every diagonal entry 1. Then Li=MiΔi and A=MiΔi2Mi∗=Mi(Δi2Mi∗). The second factor is upper triangular, its (k,l)-entry being (Δi2)kk(Mi)lk―, which vanishes for k>l. So for i=1 and i=2 this displays an LU factorization of A, which is invertible: L1 is triangular with non-zero diagonal, hence invertible by Lemma 3.6.2, and A=L1L1∗ is a product of two invertible matrices. By Theorem 3.6.5 the two agree: M1=M2andΔ12M1∗=Δ22M2∗. Canceling the invertible M1∗=M2∗ gives Δ12=Δ22, and since both have positive diagonal entries, Δ1=Δ2. Hence L1=M1Δ1=M2Δ2=L2. This proves the theorem.

Remark. The pivots are determinant ratios. For i,j≤k, a term of (MDM∗)ij=∑lmil(DM∗)lj with l>k has l>i and so mil=0; the sum therefore stops at l=k, which says that the leading principal submatrices multiply: Ak=MkDk(M∗)k=MkDkMk∗. Taking determinants with Theorem 7.5.4 and Theorem 7.4.6 gives detAk=d1⋯dk, so d1=detA1 and dk=detAk/detAk−1 for k≥2. Read the other way, this is Sylvester’s criterion (Theorem 13.1.5 (d)) appearing inside the elimination: the leading minors are positive exactly when the pivots are.

Reading the equation A=LL∗ entry by entry turns it into a recipe, and the recipe is the standard way to factor by hand. Comparing the (j,j) entry of both sides gives ajj=∑k≤j|ℓjk|2, and comparing the (i,j) entry for i>j gives aij=∑k≤jℓikℓjk―. Solving each for its one new unknown, column by column: ℓjj=(ajj−∑k<j|ℓjk|2)1/2,ℓij=(aij−∑k<jℓikℓjk―)/ℓjj(i>j).

Example (A Cholesky Factorization, and One That Fails)

Factor A=(4−26−25−16−126) as LL⊤, and run the same algorithm on the matrix A′ obtained from A by changing the (3,3) entry to 9.

Solution. Column 1. ℓ11=4=2; then ℓ21=−2/2=−1 and ℓ31=6/2=3.

Column 2. ℓ22=5−(−1)2=4=2; then ℓ32=a32−ℓ31ℓ21ℓ22=−1−3(−1)2=1.

Column 3. ℓ33=26−32−12=16=4. So L=(200−120314), and multiplying back confirms LL⊤=A. The diagonal entries 2,2,4 are positive, so A≻0 by Theorem 13.2.3; their squares 4,4,16 are the pivots dk=detAk/detAk−1, consistent with detA1=4, detA2=16, detA=256.

The failure. For A′, columns 1 and 2 are unchanged, and the last step asks for ℓ33=9−32−12=−1, which is not a positive real number. The algorithm stops, and by Theorem 13.2.3 its stopping is a proof: A′ is not positive definite. Indeed detA′=−16<0, so Sylvester’s criterion fails at k=3.

The example shows the practical point. The algorithm is the test. To decide whether a numerical Hermitian matrix is positive definite, one does not compute eigenvalues and one does not compute n determinants; one starts the Cholesky recursion and watches whether every quantity under a square root stays positive. Sylvester’s criterion guarantees that this verdict is correct, because d1⋯dk=detAk.

Remark. Two remarks on cost, both of which belong properly to Chapter 24. First, Cholesky does about half the arithmetic of a general LU factorization, because it computes only L and never the second triangular factor. Second, and less obvious, it needs no pivoting: the recursion above never divides by something that positive definiteness allows to be zero, so the row swaps that Chapter 3 introduced for stability are simply not required here. Positive definiteness is the one structural hypothesis under which elimination is unconditionally safe.

Warning. Cholesky needs definiteness, not just semidefiniteness, for uniqueness. The matrix A=(0001) is positive semidefinite and does factor as LL⊤, for instance with L=A. But the diagonal entry ℓ11=0 is not positive, so Theorem 13.2.3 does not apply — and indeed uniqueness fails, since (0001) and (000−1) are two different lower triangular matrices L with LL⊤=A. Also note that the L of Cholesky is not the L of Chapter 3’s LU factorization: the latter is unit lower triangular, and the two differ by the factor D1/2.

Quick check. Let A≻0 with Cholesky factor L. What is detA in terms of L, and what is the Cholesky factor of A−1?

Solution. detA=detLdetL∗=|ℓ11⋯ℓnn|2=(ℓ11⋯ℓnn)2, by Theorem 7.5.4 and Theorem 7.4.6, the last step because the ℓkk are positive reals. For the inverse, A−1=(LL∗)−1=(L∗)−1L−1=MM∗ with M=(L∗)−1, which is upper triangular; so this is not itself a Cholesky factorization. The Cholesky factor of A−1 is a different matrix, which is why solving Ax=b is done by two triangular substitutions with L rather than by inverting anything.

13.2.4. Exercises

A. Check your understanding

Exercise (A1)
  • (a) State what A1/2 is, including the two conditions that pin it down.
  • (b) Define |A| for A∈Mm×n(F) and say what size it is.
  • (c) State the Cholesky factorization theorem.
  • (d) True or false: every Hermitian matrix has exactly one Hermitian square root. Justify your answer.
  • (e) Explain in one sentence why the Cholesky algorithm is a test for positive definiteness.

Solution.

  • (a) For A⪰0, A1/2 is the unique matrix C with C⪰0 and C2=A (Theorem 13.2.1). Both conditions are needed: positivity, and squaring to A.

  • (b) |A|=(A∗A)1/2, which is n×n, the size of the domain of A (Definition 13.2.1).

  • (c) A Hermitian A is positive definite if and only if A=LL∗ with L lower triangular with positive real diagonal entries, and then L is unique (Theorem 13.2.3).

  • (d) False, twice over. A Hermitian matrix with a negative eigenvalue has no Hermitian square root at all, since C2⪰0 always. And a positive semidefinite A with two distinct eigenvalues has at least two Hermitian square roots, ±A1/2. Uniqueness needs the root itself to be positive semidefinite.

  • (e) Because the algorithm computes ℓjj2=detAj/detAj−1 one step at a time, so it produces a positive real ℓjj at every step exactly when Sylvester’s criterion holds.

B. Practice

Exercise (B1: Square roots)

Compute A1/2 for each of the following, and in each case give a polynomial p with p(A)=A1/2.

  • (a) A=(5445).
  • (b) A=(10−6−610).

Solution.

  • (a) A(1,1)=(9,9) and A(1,−1)=(1,−1), so the eigenvalues are 9 and 1 with eigenlines span((1,1)) and span((1,−1)); both positive, so A≻0. With P1,P2 the projections onto those lines, A1/2=3P1+P2=(2112). For the polynomial, solve p(9)=3, p(1)=1: p(x)=14x+34, and 14A+34I=(2112). Check: (2112)2=(5445).

  • (b) A(1,−1)=(16,−16) and A(1,1)=(4,4), so the eigenvalues are 16 and 4. Then A1/2=4⋅12(1−1−11)+2⋅12(1111)=(3−1−13). For the polynomial, p(16)=4 and p(4)=2 give p(x)=16x+43, and 16A+43I=(3−1−13). Check: (3−1−13)2=(10−6−610).

Exercise (B2: Cholesky, and a planted failure)
  • (a) Find the Cholesky factor of A=(12−1251−1114), and hence write down detA.
  • (b) Run the same algorithm on A′=(12−1251−119) and say what the outcome proves.

Solution.

  • (a) ℓ11=1=1, ℓ21=2, ℓ31=−1. Then ℓ22=5−4=1 and ℓ32=1−(−1)(2)1=3. Finally ℓ33=14−1−9=4=2. So L=(100210−132), and LL⊤=A. All diagonal entries are positive, so A≻0. By the Quick check above, detA=(1⋅1⋅2)2=4.

  • (b) Columns 1 and 2 are identical, and the last step asks for ℓ33=9−1−9=−1. The algorithm fails, so A′ is not positive definite (Theorem 13.2.3). Confirming by Sylvester: detA1′=1, detA2′=1, and detA′=1⋅44−2⋅19−7=−1<0.

Exercise (B3: An absolute value)

Let A=(1111)∈M2(R). Compute |A|, verify ‖|A|x‖=‖Ax‖ directly, and determine whether |A|=A.

Solution. A⊤A=(2222), whose eigenvalues are 4 and 0 with eigenlines span((1,1)) and span((1,−1)). Hence |A|=2⋅12(1111)+0=(1111)=A. Directly: Ax=(x1+x2)(1,1), so ‖Ax‖=2|x1+x2|, and the same computation applies to |A|=A. The equality |A|=A is no accident: A⪰0 here, and for a positive semidefinite A one has A∗A=A2, so |A|=(A2)1/2=A by uniqueness in Theorem 13.2.1.

C. Going deeper

Exercise (C1: The trace of a product of positive matrices)

Let A,B∈Mn(F) with A⪰0 and B⪰0.

  • (a) Prove that tr(AB)=tr(A1/2BA1/2), and deduce that tr(AB)≥0.
  • (b) Prove that tr(AB)=0 if and only if AB=0.

Hint for (b): a positive semidefinite matrix of trace 0 is 0.

Solution.

  • (a) By Theorem 0.9.6, tr(XY)=tr(YX). With X=A1/2 and Y=A1/2B, tr(AB)=tr(A1/2A1/2B)=tr(A1/2BA1/2). Now A1/2BA1/2=(A1/2)∗BA1/2⪰0 by Proposition 13.1.2 (a), since A1/2 is Hermitian. The trace of a positive semidefinite matrix is ≥0 by Exercise (C1: Zero trace forces zero) (a). Hence tr(AB)≥0.

  • (b) (⇐) is clear. (⇒) Suppose tr(AB)=0. By (a), C:=A1/2BA1/2⪰0 and trC=0, so C=0 by Exercise (C1: Zero trace forces zero) (b). Put M=B1/2A1/2. Then M∗M=A1/2B1/2B1/2A1/2=A1/2BA1/2=C=0, so M=0 by Lemma 11.4.3 (its null space is all of Fn, hence so is nulM). Therefore AB=A1/2(A1/2B1/2)B1/2=A1/2M∗B1/2=0.

Exercise (C2: Commuting positive matrices)

Let A∈Mn(F) with A⪰0.

  • (a) Prove without using Theorem 13.2.1 (a) that if BA=AB, then BA1/2=A1/2B. Hint: show that B maps each eigenspace of A into itself.
  • (b) Let B⪰0 with AB=BA. Prove that AB⪰0 and that (AB)1/2=A1/2B1/2.

Solution.

  • (a) Let λ∈spec(A) and Av=λv. Then A(Bv)=B(Av)=λBv, so B maps Eλ(A) into itself. Since A⪰0, its distinct eigenvalues λ1,…,λk are non-negative reals, and A1/2=∑iλiPi with Pi the orthogonal projection onto Eλi(A) (proof of Theorem 13.2.1). For v∈Eλj(A) we have Piv=0 for i≠j and Pjv=v, so A1/2v=λjv. Now Fn=Eλ1(A)⊕⋯⊕Eλk(A) (Theorem 12.8.1), so it suffices to check BA1/2v=A1/2Bv for v∈Eλj(A). The left side is λjBv; the right side is A1/2(Bv)=λjBv as well, because Bv∈Eλj(A) by the first sentence. Hence BA1/2=A1/2B.

  • (b) By (a), A1/2 commutes with B. Applying (a) once more, this time to B⪰0 with the commuting matrix A1/2, gives that A1/2 commutes with B1/2. Put C=A1/2B1/2. Then C∗=(B1/2)∗(A1/2)∗=B1/2A1/2=C, so C is Hermitian, and C2=A1/2B1/2A1/2B1/2=AB after one commutation. It remains to see C⪰0. The matrices A1/2 and B1/2 are commuting Hermitian matrices, so by Corollary 12.7.2 (over C) or Corollary 12.7.3 (over R) there is a unitary U with U∗A1/2U=diag(αi) and U∗B1/2U=diag(βi), all αi,βi≥0. Then U∗CU=diag(αiβi)⪰0, so C⪰0 by Proposition 13.1.2 (a). Hence AB=C2⪰0 and, by uniqueness in Theorem 13.2.1, (AB)1/2=C=A1/2B1/2.

Exercise (C3: Why definiteness is needed)
  • (a) Give a positive semidefinite A∈M2(R), not positive definite, together with two different lower triangular L satisfying A=LL⊤. Which hypothesis of Theorem 13.2.3 fails?
  • (b) Prove that if A⪰0 then A+tI≻0 for every real t>0, and hence that every positive semidefinite matrix is a limit of positive definite ones in the entrywise sense.

Solution.

  • (a) Take A=diag(0,1). Then L1=diag(0,1) and L2=diag(0,−1) are both lower triangular with LiLi⊤=A. The hypothesis that fails is that the diagonal entries of L be strictly positive: ℓ11=0 here, which is exactly the first pivot vanishing. Uniqueness in Theorem 13.2.3 is not available without it.

  • (b) A+tI is Hermitian, and for x≠0, ⟨(A+tI)x,x⟩=⟨Ax,x⟩+t‖x‖2≥t‖x‖2>0, so A+tI≻0. Each entry of A+tI differs from the corresponding entry of A by t or by 0, so letting t decrease to 0 recovers A entry by entry. This is the standard device for extending a statement from positive definite to positive semidefinite matrices whenever the statement survives taking limits; Theorem 13.1.4 already used it in the form det(A+tI)>0.

Found a typo or a mistake? Report it, or read this page’s source

The text of this book is licensed under CC BY-NC-SA 4.0.