{"id":8338,"date":"2015-04-05T18:48:49","date_gmt":"2015-04-05T16:48:49","guid":{"rendered":"http:\/\/djalil.chafai.net\/blog\/?p=8338"},"modified":"2015-06-17T17:38:51","modified_gmt":"2015-06-17T15:38:51","slug":"an-exercise-in-linear-algebra","status":"publish","type":"post","link":"https:\/\/djalil.chafai.net\/blog\/2015\/04\/05\/an-exercise-in-linear-algebra\/","title":{"rendered":"An exercise in linear algebra"},"content":{"rendered":"<p><a href=\"http:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2011\/05\/matrix.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-1822\" src=\"http:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2011\/05\/matrix-300x230.jpg\" alt=\"Matrix\" width=\"300\" height=\"230\" srcset=\"https:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2011\/05\/matrix-300x230.jpg 300w, https:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2011\/05\/matrix.jpg 463w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><b>Exercise.<\/b> Recently a friend of mine asked the following basic question: suppose that \\( {H} \\) is a \\( {n\\times n} \\) Hermitian matrix with \\( {&gt;0} \\) spectrum and suppose that \\( {P} \\) is a \\( {n\\times n} \\) orthogonal projection matrix. Is it true that all the non-zero eigenvalues of the product \\( {HP} \\) are above the least eigenvalue of \\( {H} \\)?<\/p>\n<p style=\"text-align: justify;\"><b>Quick proof (suggested by a colleague).<\/b> Since \\( {P} \\) is an orthogonal projection, we have<\/p>\n<p style=\"text-align: center;\">\\[ P^*=P=P^2. \\]<\/p>\n<p style=\"text-align: justify;\">Let \\( {x} \\) be an eigenvector of \\( {HP} \\) associated with a non zero eigenvalue \\( {\\lambda} \\), meaning that \\( {HPx=\\lambda x\\neq0} \\). Note that \\( {Px\\neq0} \\) otherwise \\( {HPx=0} \\). Now if \\( {\\lambda_*} \\) is the smallest non-zero eigenvalue of \\( {H} \\) then \\( {\\lambda_*&gt;0} \\) and<\/p>\n<p style=\"text-align: center;\">\\[ \\left\\Vert Px\\right\\Vert_2^2\\lambda_* \\leq\\left&lt;Px,HPx\\right&gt; =\\left&lt;Px,\\lambda x\\right&gt; =\\lambda\\left&lt;Px,Px\\right&gt; =\\lambda\\left\\Vert Px\\right\\Vert_2, \\]<\/p>\n<p style=\"text-align: justify;\">which shows that \\( {\\lambda} \\) is real and \\( {\\lambda_*\\leq\\lambda} \\) as expected.<\/p>\n<p style=\"text-align: justify;\"><b>Comments.<\/b> There exists a unitary matrix \\( {U} \\) such that \\( {UPU^*} \\) is diagonal with diagonal in \\( {\\{0,1\\}} \\). If \\( {H} \\) and \\( {P} \\) commute, then \\( {UHU^*} \\) is also diagonal, with diagonal elements in \\( {\\mathbb{R}_+} \\), and therefore \\( {UHPU^*} \\) is diagonal with diagonal elements in \\( {\\{0\\}\\cup\\mathrm{spectrum}(H)} \\). This shows that the problem has positive answer when \\( {H} \\) and \\( {P} \\) commute.<\/p>\n<p style=\"text-align: justify;\">In the general situation, \\( {H} \\) and \\( {P} \\) do not commute, and the product \\( {HP} \\) is not necessarily Hermitian even if \\( {H} \\) and \\( {P} \\) are Hermitian. We may use the fact that \\( {AB} \\) and \\( {BA} \\) have same spectrum. This is a consequence of the <a href= \"http:\/\/en.wikipedia.org\/wiki\/Sylvester's_determinant_theorem\">Sylvester determinant theorem<\/a> which states that<\/p>\n<p style=\"text-align: center;\">\\[ \\det(I+AB)=\\det(I+BA). \\]<\/p>\n<p style=\"text-align: justify;\">As a consequence, if \\( {A} \\) and \\( {B} \\) are both Hermitian with \\( {\\geq0} \\) spectrum, then \\( {AB} \\) has the spectrum of the Hermitian matrix \\( {B^{1\/2}A^{1\/2}A^{1\/2}B^{1\/2}} \\). Therefore, this spectrum is real and \\( {\\geq0} \\), formed by the squared singular values of \\( {A^{1\/2}B^{1\/2}} \\). In particular, if \\( {A=H} \\) is Hermitian with \\( {\\geq0} \\) spectrum and if \\( {B=P} \\) is the matrix of an orthogonal projection, then \\( {AB=HP} \\) has a real \\( {\\geq0} \\) spectrum, formed by the squared singular values of \\( {H^{1\/2}P^{1\/2}=H^{1\/2}P} \\) since \\( {P^{1\/2}=P} \\) (\\( {P} \\) is an orthogonal projection).<\/p>\n<p style=\"text-align: justify;\"><b>Additional comments.<\/b> If one denotes by \\( {s_1(M)\\geq\\cdots\\geq s_n(M)\\geq0} \\) the singular values of a \\( {n\\times n} \\) matrix \\( {M} \\), then the <a href= \"http:\/\/en.wikipedia.org\/wiki\/Min-max_theorem\">Courant-Fischer min-max variational formulas<\/a> give, for any \\( {1\\leq k\\leq n} \\),<\/p>\n<p style=\"text-align: center;\">\\[ s_k(M) =\\max_{V\\in\\mathcal{V}_k}\\min_{\\substack{v\\in V\\\\\\left\\Vert v\\right\\Vert_2=1}}\\left\\Vert Mv\\right\\Vert_2 \\left(=\\min_{V\\in\\mathcal{V}_{n-k+1}}\\max_{\\substack{v\\in V\\\\\\left\\Vert v\\right\\Vert_2=1}}\\left\\Vert Mv\\right\\Vert_2\\right) \\]<\/p>\n<p style=\"text-align: justify;\">where \\( {\\mathcal{V}_k} \\) is the set of sub-spaces with dimension \\( {k} \\). Used with \\( {M=H^{1\/2}P} \\),<\/p>\n<p style=\"text-align: center;\">\\[ s_k(H^{1\/2}P)=\\max_{V\\in\\mathcal{V}_k}\\min_{\\substack{v\\in V\\\\\\left\\Vert v\\right\\Vert_2=1}} \\left\\Vert H^{1\/2}Pv\\right\\Vert_2. \\]<\/p>\n<p style=\"text-align: justify;\">If \\( {V\\cap\\mathrm{ker}(P)\\neq\\{0\\}} \\) then there exists \\( {v\\in V} \\) with \\( {\\left\\Vert v\\right\\Vert_2=1} \\) and \\( {\\left\\Vert H^{1\/2}Pv\\right\\Vert_2=0} \\), hence<\/p>\n<p style=\"text-align: center;\">\\[ s_k(H^{1\/2}P) =\\max_{\\substack{V\\in\\mathcal{V}_k\\\\V\\cap\\mathrm{ker}(P)\\neq\\{0\\}}} \\min_{\\substack{v\\in V\\\\\\left\\Vert v\\right\\Vert_2=1}} \\left\\Vert H^{1\/2}Pv\\right\\Vert_2. \\]<\/p>\n<p style=\"text-align: justify;\">Now if \\( {k&gt;d} \\) where \\( {d=n-\\mathrm{dim}(\\mathrm{ker}(P))=\\mathrm{dim}(\\mathrm{Im}(P))} \\), then for every \\( {V\\in\\mathcal{V}_k} \\), we have \\( {V\\cap\\mathrm{ker}(P)\\neq\\{0\\}} \\), and thus \\( {s_k(H^{1\/2}P)=0} \\).<\/p>\n<p style=\"text-align: justify;\">Let us suppose in contrast now that \\( {k\\leq d} \\). Then there exists \\( {V_*\\in\\mathcal{V}_k} \\) such that \\( {V_*\\subset\\mathrm{Im}(P)\\perp\\mathrm{ker}(P)} \\), and thus, for every \\( {v\\in V_*} \\) such that \\( {\\left\\Vert v\\right\\Vert_2=1} \\), we have \\( {Pv=v} \\), which gives then<\/p>\n<p style=\"text-align: center;\">\\[ s_k(H^{1\/2}P) \\geq \\min_{\\substack{v\\in V_*\\\\\\left\\Vert v\\right\\Vert_2=1}} \\left\\Vert H^{1\/2}v\\right\\Vert_2 \\geq \\min_{\\left\\Vert v\\right\\Vert_2=1}\\left\\Vert H^{1\/2}v\\right\\Vert_2 = s_n(H^{1\/2})=s_n(H)^{1\/2}. \\]<\/p>\n<p style=\"text-align: justify;\">As a conclusion we have, still with \\( {d=\\mathrm{dim}(\\mathrm{Im}(P))} \\),<\/p>\n<p style=\"text-align: center;\">\\[ s_1(HP)\\geq\\cdots\\geq s_d(HP)\\geq s_n(H) \\]<\/p>\n<p style=\"text-align: center;\">\\[ s_{d+1}(HP)=\\cdots=s_n(HP)=0. \\]<\/p>\n<p style=\"text-align: justify;\"><b>Alternative.<\/b> Actually, the result can be deduced quickly from the following general bound, which is also a consequence of Courant-Fischer formulas: if \\( {A} \\) and \\( {D} \\) are \\( {n\\times n} \\) with \\( {D} \\) diagonal then for any \\( {1\\leq k\\leq n} \\),<\/p>\n<p style=\"text-align: center;\">\\[ s_n(D)s_k(A)\\leq s_k(DA)\\leq s_1(D)s_k(A). \\]<\/p>\n<p style=\"text-align: justify;\">Indeed, if \\( {P} \\) is an orthogonal projector and if \\( {H=UDU^*} \\) is Hermitian with \\( {\\geq0} \\) spectrum, then the lower bound in the inequality above used with \\( {A=U^*P} \\) gives<\/p>\n<p style=\"text-align: center;\">\\[ s_n(H)s_k(P)=s_n(D)s_k(U^*P)\\leq s_k(DU^*P)=s_k(UDU^*P)=s_k(HP). \\]<\/p>\n<p style=\"text-align: justify;\">Now \\( {s_k(P)=1} \\) if \\( {k\\geq d} \\), where \\( {d=n-\\mathrm{dim}(\\mathrm{ker}(P))=\\mathrm{dim}(\\mathrm{Im}(P))} \\), which gives \\( {s_k(HP)\\geq s_n(H)} \\) if \\( {k\\geq d} \\). On the other hand, using the upper bound we get<\/p>\n<p style=\"text-align: center;\">\\[ s_k(HP)=s_k(UDU^*P)=s_k(DU^*P)\\leq s_1(D)s_k(U^*P)=s_1(H)s_k(P). \\]<\/p>\n<p style=\"text-align: justify;\">Now if \\( {k&lt;d} \\) then \\( {s_k(P)=0} \\), which gives \\( {s_k(HP)=0} \\).<\/p>\n<p style=\"text-align: justify;\"><b>Further reading.<\/b> Many other bounds are available, see for instance the books<\/p>\n<ul>\n<li><a href= \"\/scripts\/search.php?q=Bhatia+Positive+Definite+Matrices\">Bhatia, Positive Definite Matrices<\/a><\/li>\n<li><a href= \"\/scripts\/search.php?q=Bhatia+Perturbation+Bounds+for+Matrix+Eigenvalues\"> Bhatia, Perturbation Bounds for Matrix Eigenvalues<\/a><\/li>\n<li><a href= \"\/scripts\/search.php?q=Horn+Johnson+Matrix+Analysis\">Horn and Johnson, Matrix Analysis<\/a><\/li>\n<li><a href= \"\/scripts\/search.php?q=Horn+Johnson+Topics+in+Matrix+Analysis\">Horn and Johnson, Topics in Matrix Analysis<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Exercise. Recently a friend of mine asked the following basic question: suppose that \\( {H} \\) is a \\( {n\\times n} \\) Hermitian matrix with&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/djalil.chafai.net\/blog\/2015\/04\/05\/an-exercise-in-linear-algebra\/\">Continue reading<span class=\"screen-reader-text\">An exercise in linear algebra<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":254},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/posts\/8338"}],"collection":[{"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/comments?post=8338"}],"version-history":[{"count":16,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/posts\/8338\/revisions"}],"predecessor-version":[{"id":8407,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/posts\/8338\/revisions\/8407"}],"wp:attachment":[{"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/media?parent=8338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/categories?post=8338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/tags?post=8338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}