{"id":434,"date":"2021-03-18T20:17:26","date_gmt":"2021-03-18T20:17:26","guid":{"rendered":"http:\/\/www.ethanepperly.com\/?p=434"},"modified":"2024-01-28T02:54:43","modified_gmt":"2024-01-28T02:54:43","slug":"the-better-way-to-convert-an-svd-into-a-symmetric-eigenvalue-problem","status":"publish","type":"post","link":"https:\/\/www.ethanepperly.com\/index.php\/2021\/03\/18\/the-better-way-to-convert-an-svd-into-a-symmetric-eigenvalue-problem\/","title":{"rendered":"The Better Way to Convert an SVD into a Symmetric Eigenvalue Problem"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>A<a href=\"https:\/\/en.wikipedia.org\/wiki\/Singular_value_decomposition\"> singular value decomposition<\/a> of an <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7c060ad3084ad1de4a3ce67946c1e82a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"48\" style=\"vertical-align: 0px;\"\/> matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> is a factorization of the form <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7a0f2027418cfd8231d65be070f843e0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#61;&#32;&#85;&#92;&#83;&#105;&#103;&#109;&#97;&#32;&#86;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"89\" style=\"vertical-align: 0px;\"\/>, where <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c7480669f4fca8a251671d27137d0b09_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#85;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"13\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8a416b3e64d82c5ac2bf7ce6b503c266_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#86;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> are square, <a href=\"https:\/\/en.wikipedia.org\/wiki\/Orthogonal_matrix\">orthogonal matrices<\/a> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-aaf296b0ba4c1beb8df992e8b77c1294_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#83;&#105;&#103;&#109;&#97;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> is a diagonal matrix with <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e6297d15c2fc4e22c3f417b85bf9e8b8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#40;&#105;&#44;&#105;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"32\" style=\"vertical-align: -5px;\"\/>th entry <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0b8d7d9693120c0786addb392e68da57_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#115;&#105;&#103;&#109;&#97;&#95;&#105;&#32;&#92;&#103;&#101;&#32;&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"48\" style=\"vertical-align: -3px;\"\/>.<sup class=\"modern-footnotes-footnote \" data-mfn=\"1\" data-mfn-post-scope=\"00000000000005840000000000000000_434\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005840000000000000000_434-1\">1<\/a><\/sup><span id=\"mfn-content-00000000000005840000000000000000_434-1\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"1\">Everything carries over essentially unchanged for complex-valued matrices <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> with <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c7480669f4fca8a251671d27137d0b09_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#85;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"13\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8a416b3e64d82c5ac2bf7ce6b503c266_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#86;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> being unitary matrices and every <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4dbf08470d8ee721ffbe55647403dd83_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#40;&#92;&#99;&#100;&#111;&#116;&#41;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"28\" style=\"vertical-align: -5px;\"\/> being replaced by <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f51ea49c8acd139ddaa5de2ac0e9e3f7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#40;&#92;&#99;&#100;&#111;&#116;&#41;&#94;&#42;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"24\" style=\"vertical-align: -5px;\"\/> for <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f51ea49c8acd139ddaa5de2ac0e9e3f7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#40;&#92;&#99;&#100;&#111;&#116;&#41;&#94;&#42;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"24\" style=\"vertical-align: -5px;\"\/> the Hermitian transpose.<\/span> The diagonal entries of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-aaf296b0ba4c1beb8df992e8b77c1294_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#83;&#105;&#103;&#109;&#97;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> are referred to as the <strong>singular values<\/strong> of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> and are conventionally ordered <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e476e3e5ba782ae2f332944024bc74d8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#115;&#105;&#103;&#109;&#97;&#95;&#123;&#92;&#114;&#109;&#32;&#109;&#97;&#120;&#125;&#32;&#61;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#95;&#49;&#32;&#92;&#103;&#101;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#95;&#50;&#32;&#92;&#103;&#101;&#32;&#92;&#99;&#100;&#111;&#116;&#115;&#32;&#92;&#103;&#101;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#95;&#123;&#92;&#109;&#105;&#110;&#40;&#109;&#44;&#110;&#41;&#125;&#32;&#61;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#95;&#123;&#92;&#114;&#109;&#32;&#109;&#105;&#110;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"313\" style=\"vertical-align: -8px;\"\/>. The columns of the matrices <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c7480669f4fca8a251671d27137d0b09_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#85;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"13\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8a416b3e64d82c5ac2bf7ce6b503c266_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#86;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> are referred to as the right- and left- <strong>singular vectors<\/strong> of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> and satisfy the relations <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ffefe82de5cd4860f10a60b259ad8e8c_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#118;&#95;&#105;&#32;&#61;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#95;&#105;&#32;&#117;&#95;&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"83\" style=\"vertical-align: -3px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-97f730ff8768bf6be0635f74f65a4586_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#117;&#95;&#105;&#32;&#61;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#95;&#105;&#32;&#118;&#95;&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"95\" style=\"vertical-align: -3px;\"\/>.<\/p>\n\n\n\n<p>One can obtain the singular values and right and left singular vectors of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> from the eigenvalues and eigenvectors of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b3941ac07ff934b57bcfcd24bae8e346_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"40\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2bb3023d68a6b42852f3506ecd0d3c17_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#66;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"39\" style=\"vertical-align: 0px;\"\/>. This follows from the calculations <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-9764f4ebdcd4ef0f398a97fb3ea6e14d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#32;&#61;&#32;&#86;&#92;&#83;&#105;&#103;&#109;&#97;&#94;&#50;&#32;&#86;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"123\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f8fb6253ea3c92937a910c1f1297ed8c_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#32;&#61;&#32;&#85;&#92;&#83;&#105;&#103;&#109;&#97;&#94;&#50;&#32;&#85;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"122\" style=\"vertical-align: 0px;\"\/>. In other words, the nonzero singular values of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> are the square roots of the nonzero eigenvalues of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b3941ac07ff934b57bcfcd24bae8e346_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"40\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2bb3023d68a6b42852f3506ecd0d3c17_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#66;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"39\" style=\"vertical-align: 0px;\"\/>. If one merely solves one of these problems, computing <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-aaf296b0ba4c1beb8df992e8b77c1294_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#83;&#105;&#103;&#109;&#97;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> along with <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c7480669f4fca8a251671d27137d0b09_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#85;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"13\" style=\"vertical-align: 0px;\"\/> or <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8a416b3e64d82c5ac2bf7ce6b503c266_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#86;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>, one can obtain the other matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8a416b3e64d82c5ac2bf7ce6b503c266_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#86;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> or <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c7480669f4fca8a251671d27137d0b09_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#85;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"13\" style=\"vertical-align: 0px;\"\/> by computing <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-cb98182836b269cacc8cad3334eeb64b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#85;&#32;&#61;&#32;&#66;&#86;&#32;&#92;&#83;&#105;&#103;&#109;&#97;&#94;&#123;&#45;&#49;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"95\" style=\"vertical-align: 0px;\"\/> or <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-87c6f9b1641e1d9b213892db23074a6f_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#86;&#32;&#61;&#32;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#85;&#32;&#92;&#83;&#105;&#103;&#109;&#97;&#94;&#123;&#45;&#49;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"108\" style=\"vertical-align: 0px;\"\/>. (These formulas are valid for invertible square matrices <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>, but similar formulas hold for singular or rectangular <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> to compute the singular vectors with nonzero singular values.)<\/p>\n\n\n\n<p>This approach is often unundesirable for several reasons. Here are a few I&#8217;m aware of:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>Accuracy:<\/strong> Roughly speaking, in double-precision arithmetic, accurate stable numerical methods can resolve differences on the order of 16 orders of magnitude. This means an accurately computed SVD of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> can resolve the roughly 16 orders of magnitude of decaying singular values, with singular values smaller than that difficult to compute accurately. By computing <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b3941ac07ff934b57bcfcd24bae8e346_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"40\" style=\"vertical-align: 0px;\"\/>, we square all of our singular values, so resolving 16 orders of magnitude of the eigenvalues of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b3941ac07ff934b57bcfcd24bae8e346_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"40\" style=\"vertical-align: 0px;\"\/> means we only resolve 8 orders of magnitude of the singular values of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>.<sup class=\"modern-footnotes-footnote \" data-mfn=\"2\" data-mfn-post-scope=\"00000000000005840000000000000000_434\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005840000000000000000_434-2\">2<\/a><\/sup><span id=\"mfn-content-00000000000005840000000000000000_434-2\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"2\">Relatedly, the two-norm condition number <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f96ad65ec2397a9964c12af012a0c820_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#107;&#97;&#112;&#112;&#97;&#40;&#66;&#41;&#32;&#58;&#61;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#95;&#123;&#92;&#114;&#109;&#32;&#109;&#97;&#120;&#125;&#40;&#66;&#41;&#32;&#47;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#95;&#123;&#92;&#114;&#109;&#32;&#109;&#105;&#110;&#125;&#40;&#66;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"202\" style=\"vertical-align: -5px;\"\/> of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b3941ac07ff934b57bcfcd24bae8e346_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"40\" style=\"vertical-align: 0px;\"\/> is twice that of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>.<\/span> The dynamic range of our numerical computations has been cut in half! <\/li><li><strong>Loss of orthogonality:<\/strong> While <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-cb98182836b269cacc8cad3334eeb64b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#85;&#32;&#61;&#32;&#66;&#86;&#32;&#92;&#83;&#105;&#103;&#109;&#97;&#94;&#123;&#45;&#49;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"95\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-87c6f9b1641e1d9b213892db23074a6f_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#86;&#32;&#61;&#32;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#85;&#32;&#92;&#83;&#105;&#103;&#109;&#97;&#94;&#123;&#45;&#49;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"108\" style=\"vertical-align: 0px;\"\/> are valid formulas in exact arithmetic, they fair poorly when implemented numerically. Specifically, the numerically computed values <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e77bc848a87a89614b543d1e95e8e13e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#85;&#95;&#123;&#92;&#114;&#109;&#32;&#110;&#117;&#109;&#101;&#114;&#105;&#99;&#97;&#108;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"69\" style=\"vertical-align: -3px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c182d90f11eda10f0b33c9b40a5cc5fa_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#86;&#95;&#123;&#92;&#114;&#109;&#32;&#110;&#117;&#109;&#101;&#114;&#105;&#99;&#97;&#108;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"69\" style=\"vertical-align: -3px;\"\/> may not be orthogonal matrices with, for example, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-30d98627300471326a63878c57397fed_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#85;&#95;&#123;&#92;&#114;&#109;&#32;&#110;&#117;&#109;&#101;&#114;&#105;&#99;&#97;&#108;&#125;&#94;&#92;&#116;&#111;&#112;&#32;&#85;&#95;&#123;&#92;&#114;&#109;&#32;&#110;&#117;&#109;&#101;&#114;&#105;&#99;&#97;&#108;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"141\" style=\"vertical-align: -5px;\"\/> not even close to the identity matrix. One can, of course, orthogonalize the computed <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c7480669f4fca8a251671d27137d0b09_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#85;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"13\" style=\"vertical-align: 0px;\"\/> or <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8a416b3e64d82c5ac2bf7ce6b503c266_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#86;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>, but this doesn&#8217;t fix the underlying problem that <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c7480669f4fca8a251671d27137d0b09_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#85;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"13\" style=\"vertical-align: 0px;\"\/> or <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8a416b3e64d82c5ac2bf7ce6b503c266_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#86;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> have not been computed accurately.<\/li><li><strong>Loss of structure:<\/strong> If <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> possesses additional structure (e.g. sparsity), this structure may be lost or reduced by computing the product <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b3941ac07ff934b57bcfcd24bae8e346_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"40\" style=\"vertical-align: 0px;\"\/>.<\/li><li><strong>Nonlinearity:<\/strong> Even if we&#8217;re not actually computing the SVD numerically but doing analysis with pencil and paper, finding the SVD of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> from <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b3941ac07ff934b57bcfcd24bae8e346_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"40\" style=\"vertical-align: 0px;\"\/> has the disadvantage of performing a nonlinear transformation on <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>. This prevents us from utilizing <a href=\"https:\/\/en.wikipedia.org\/wiki\/Weyl%27s_inequality#Weyl's_inequality_about_perturbation\">additive perturbation theorems<\/a> for sums of symmetric matrices in our analysis.<sup class=\"modern-footnotes-footnote \" data-mfn=\"3\" data-mfn-post-scope=\"00000000000005840000000000000000_434\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005840000000000000000_434-3\">3<\/a><\/sup><span id=\"mfn-content-00000000000005840000000000000000_434-3\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"3\">For instance, one cannot prove <a href=\"https:\/\/math.stackexchange.com\/a\/2784381\">Weyl&#8217;s perturbation theorem for singular values<\/a> by considering <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b3941ac07ff934b57bcfcd24bae8e346_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"40\" style=\"vertical-align: 0px;\"\/> and applying <a href=\"https:\/\/en.wikipedia.org\/wiki\/Weyl%27s_inequality#Weyl's_inequality_about_perturbation\">Weyl&#8217;s perturbation theorem for symmetric eigenvalues<\/a>.<\/span><\/li><\/ol>\n\n\n\n<p>There are times where these problems are insignificant and this approach is sensible: we shall return to this point in a bit. However, these problems should disqualify this approach from being the <em>de facto<\/em> way we reduce SVD computation to a symmetric eigenvalue problem. This is especially true since we have a better way.<\/p>\n\n\n\n<p>The better way is by constructing the so-called <em>Hermitian dilation<\/em><sup class=\"modern-footnotes-footnote \" data-mfn=\"4\" data-mfn-post-scope=\"00000000000005840000000000000000_434\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005840000000000000000_434-4\">4<\/a><\/sup><span id=\"mfn-content-00000000000005840000000000000000_434-4\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"4\">As Stewart and Sun detail in Section 4 of Chapter 1 of their monograph <em><a href=\"https:\/\/books.google.com\/books\/about\/Matrix_Perturbation_Theory.html?id=l78PAQAAMAAJ\">Matrix Perturbation Theory<\/a><\/em>, the connections between the Hermitian dilation and the SVD go back to the discovery of the SVD itself, as it is used in Jordan&#8217;s construction of the SVD in 1874. (The SVD was also independently discovered by Beltrami the year previous.) Stewart and Sun refer to this matrix as the <em>Jordan-Wiedlant<\/em> matrix associated with <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>, as they attribute the widespread use of the matrix today to the work of Wiedlant. We shall stick to the term <em>Hermitian dilation<\/em> to refer to this matrix.<\/span> of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>, which is defined to be the matrix <\/p>\n\n\n<p><p class=\"ql-center-displayed-equation\" style=\"line-height: 42px;\"><span class=\"ql-right-eqno\"> (1) <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-503e57d685e3bac69bac6c94da3d36e5_l3.png\" height=\"42\" width=\"149\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125; &#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#72;&#125;&#40;&#66;&#41;&#32;&#61;&#32;&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#98;&#109;&#97;&#116;&#114;&#105;&#120;&#125;&#32;&#48;&#32;&#38;&#32;&#66;&#32;&#92;&#92;&#32;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#38;&#32;&#48;&#32;&#92;&#101;&#110;&#100;&#123;&#98;&#109;&#97;&#116;&#114;&#105;&#120;&#125;&#46; &#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n\n\n<p>One can show that the nonzero eigenvalues of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f4977cb3f83347cef395388d4472975d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#72;&#125;&#40;&#66;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"42\" style=\"vertical-align: -5px;\"\/> are precisely plus-or-minus the singular values of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>. More specifically, we have<\/p>\n\n\n<p><p class=\"ql-center-displayed-equation\" style=\"line-height: 42px;\"><span class=\"ql-right-eqno\"> (2) <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-15d2633715d1edd90938c298b7f48d86_l3.png\" height=\"42\" width=\"203\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125; &#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#72;&#125;&#40;&#66;&#41;&#32;&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#98;&#109;&#97;&#116;&#114;&#105;&#120;&#125;&#32;&#117;&#95;&#105;&#32;&#92;&#92;&#32;&#92;&#112;&#109;&#32;&#118;&#95;&#105;&#32;&#92;&#101;&#110;&#100;&#123;&#98;&#109;&#97;&#116;&#114;&#105;&#120;&#125;&#32;&#61;&#32;&#92;&#112;&#109;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#95;&#105;&#32;&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#98;&#109;&#97;&#116;&#114;&#105;&#120;&#125;&#32;&#117;&#95;&#105;&#32;&#92;&#92;&#32;&#92;&#112;&#109;&#32;&#118;&#95;&#105;&#32;&#92;&#101;&#110;&#100;&#123;&#98;&#109;&#97;&#116;&#114;&#105;&#120;&#125;&#46; &#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n\n\n<p>All of the remaining eigenvalues of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f4977cb3f83347cef395388d4472975d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#72;&#125;&#40;&#66;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"42\" style=\"vertical-align: -5px;\"\/> not of this form are zero.<sup class=\"modern-footnotes-footnote \" data-mfn=\"5\" data-mfn-post-scope=\"00000000000005840000000000000000_434\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005840000000000000000_434-5\">5<\/a><\/sup><span id=\"mfn-content-00000000000005840000000000000000_434-5\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"5\">This follows by noting <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-6665cbc0659d6b095901bcf5dee25c8e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#111;&#112;&#101;&#114;&#97;&#116;&#111;&#114;&#110;&#97;&#109;&#101;&#123;&#114;&#97;&#110;&#107;&#125;&#40;&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#72;&#125;&#40;&#66;&#41;&#41;&#32;&#61;&#32;&#50;&#92;&#111;&#112;&#101;&#114;&#97;&#116;&#111;&#114;&#110;&#97;&#109;&#101;&#123;&#114;&#97;&#110;&#107;&#125;&#40;&#66;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"190\" style=\"vertical-align: -5px;\"\/> and thus <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a03461dc58af01f7c8c2a168c7a62636_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#112;&#109;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#95;&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"29\" style=\"vertical-align: -3px;\"\/> for <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-bee82196b902c642a9168bda23808c1a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#105;&#32;&#61;&#32;&#49;&#44;&#50;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#92;&#111;&#112;&#101;&#114;&#97;&#116;&#111;&#114;&#110;&#97;&#109;&#101;&#123;&#114;&#97;&#110;&#107;&#125;&#40;&#66;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"157\" style=\"vertical-align: -5px;\"\/> account for all the nonzero eigenvalues of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f4977cb3f83347cef395388d4472975d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#72;&#125;&#40;&#66;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"42\" style=\"vertical-align: -5px;\"\/>.<\/span> Thus, the singular value decomposition of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> is entirely encoded in the eigenvalue decomposition of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f4977cb3f83347cef395388d4472975d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#72;&#125;&#40;&#66;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"42\" style=\"vertical-align: -5px;\"\/>.<\/p>\n\n\n\n<p>This approach of using the Hermitian dilation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f4977cb3f83347cef395388d4472975d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#72;&#125;&#40;&#66;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"42\" style=\"vertical-align: -5px;\"\/> to compute the SVD of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> fixes all the issues identified with the &#8220;<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b3941ac07ff934b57bcfcd24bae8e346_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"40\" style=\"vertical-align: 0px;\"\/>&#8221; approach. We are able to accurately resolve a full 16 orders of magnitude of singular values. The computed singular vectors are accurate and numerically orthogonal provided we use an accurate method for the symmetric eigenvalue problem. The Hermitian dilation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f4977cb3f83347cef395388d4472975d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#72;&#125;&#40;&#66;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"42\" style=\"vertical-align: -5px;\"\/> preserves important structural characteristics in <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> like sparsity. For purposes of theoretical analysis, the mapping <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-9133b3d197188cbce8b1ef2ffa39a145_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#92;&#109;&#97;&#112;&#115;&#116;&#111;&#32;&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#72;&#125;&#40;&#66;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"84\" style=\"vertical-align: -5px;\"\/> is linear.<sup class=\"modern-footnotes-footnote \" data-mfn=\"6\" data-mfn-post-scope=\"00000000000005840000000000000000_434\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005840000000000000000_434-6\">6<\/a><\/sup><span id=\"mfn-content-00000000000005840000000000000000_434-6\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"6\">The linearity of the Hermitian dilation gives direct extensions of most results about the symmetric eigenvalues to singular values; see <a href=\"https:\/\/terrytao.wordpress.com\/2010\/01\/12\/254a-notes-3a-eigenvalues-and-sums-of-hermitian-matrices\/\">Exercise 22<\/a>.<\/span>\n\n\n\n<p>Often one can work with the Hermitian dilation only implicitly: the matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f4977cb3f83347cef395388d4472975d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#72;&#125;&#40;&#66;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"42\" style=\"vertical-align: -5px;\"\/> need not actually be stored in memory with all its extra zeros. The programmer designs and implements an algorithm with <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f4977cb3f83347cef395388d4472975d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#72;&#125;&#40;&#66;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"42\" style=\"vertical-align: -5px;\"\/> in mind, but deals with the matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> directly for their computations. In a pinch, however, forming <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f4977cb3f83347cef395388d4472975d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#72;&#125;&#40;&#66;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"42\" style=\"vertical-align: -5px;\"\/> directly in software and utilizing symmetric eigenvalue routines directly is often not too much less efficient than a dedicated SVD routine and can cut down on programmer effort significantly.<\/p>\n\n\n\n<p>As with all things in life, there&#8217;s no free lunch here. There are a couple of downsides to the Hermitian dilation approach. First, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f4977cb3f83347cef395388d4472975d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#72;&#125;&#40;&#66;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"42\" style=\"vertical-align: -5px;\"\/> is, except for the trivial case <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e3cfd695dd7f1abcc3403be329b4884f_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#61;&#32;&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"47\" style=\"vertical-align: 0px;\"\/>, an <a href=\"https:\/\/en.wikipedia.org\/wiki\/Definite_symmetric_matrix\">indefinite symmetric matrix<\/a>. By constast, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b3941ac07ff934b57bcfcd24bae8e346_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"40\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2bb3023d68a6b42852f3506ecd0d3c17_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#66;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"39\" style=\"vertical-align: 0px;\"\/> are positive semidefinite, which can be helpful in some contexts.<sup class=\"modern-footnotes-footnote \" data-mfn=\"7\" data-mfn-post-scope=\"00000000000005840000000000000000_434\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005840000000000000000_434-7\">7<\/a><\/sup><span id=\"mfn-content-00000000000005840000000000000000_434-7\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"7\">This is relevant if, say, we want to find the small singular values by <a href=\"https:\/\/en.wikipedia.org\/wiki\/Inverse_iteration\">inverse iteration<\/a>. Positive definite linear systems are easier to solve by either <a href=\"https:\/\/en.wikipedia.org\/wiki\/Cholesky_decomposition#Stability_of_the_computation\">direct<\/a> or <a href=\"https:\/\/en.wikipedia.org\/wiki\/Conjugate_gradient_method\">iterative<\/a> methods.<\/span> Further, if <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b40a8f0c8886ee8e30499b71444d47d0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;&#92;&#108;&#108;&#32;&#109;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"53\" style=\"vertical-align: -1px;\"\/> (respectively, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-5d8c27db4b2e2a78f5faa1c3e38d2de0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#32;&#92;&#108;&#108;&#32;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"54\" style=\"vertical-align: -1px;\"\/>), then <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b3941ac07ff934b57bcfcd24bae8e346_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"40\" style=\"vertical-align: 0px;\"\/> (respectively, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2bb3023d68a6b42852f3506ecd0d3c17_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#66;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"39\" style=\"vertical-align: 0px;\"\/>) is tiny compared to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f4977cb3f83347cef395388d4472975d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#72;&#125;&#40;&#66;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"42\" style=\"vertical-align: -5px;\"\/>, so it might be considerably cheaper to compute an eigenvalue decomposition of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b3941ac07ff934b57bcfcd24bae8e346_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"40\" style=\"vertical-align: 0px;\"\/> (or <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2bb3023d68a6b42852f3506ecd0d3c17_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#66;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"39\" style=\"vertical-align: 0px;\"\/>) than <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f4977cb3f83347cef395388d4472975d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#72;&#125;&#40;&#66;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"42\" style=\"vertical-align: -5px;\"\/>.<\/p>\n\n\n\n<p>Despite the somewhat salacious title of this article, the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b3941ac07ff934b57bcfcd24bae8e346_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"40\" style=\"vertical-align: 0px;\"\/> and Hermitian dilation approaches both have their role, and the purpose of this article is not to say the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b3941ac07ff934b57bcfcd24bae8e346_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"40\" style=\"vertical-align: 0px;\"\/> approach should be thrown in the dustbin. However, in my experience, I frequently hear the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b3941ac07ff934b57bcfcd24bae8e346_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"40\" style=\"vertical-align: 0px;\"\/> approach stated as the definitive way of converting an SVD into an eigenvalue problem, with the Hermitian dilation approach not even mentioned. This, in my opinion, is backwards. For accuracy reasons alone, the Hermitian dilation should be the go-to tool for turning SVDs into symmetric eigenvalue problems, with the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b3941ac07ff934b57bcfcd24bae8e346_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"40\" style=\"vertical-align: 0px;\"\/> approach only used when the problem is known to have singular values which don&#8217;t span many orders of magnitude or <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> is tall and skinny and the computational cost savings of the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b3941ac07ff934b57bcfcd24bae8e346_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"40\" style=\"vertical-align: 0px;\"\/> approach are vital.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A singular value decomposition of an matrix is a factorization of the form , where and are square, orthogonal matrices and is a diagonal matrix with th entry . The diagonal entries of are referred to as the singular values of and are conventionally ordered . The columns of the matrices and are referred to<a class=\"more-link\" href=\"https:\/\/www.ethanepperly.com\/index.php\/2021\/03\/18\/the-better-way-to-convert-an-svd-into-a-symmetric-eigenvalue-problem\/\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,13],"tags":[],"class_list":["post-434","post","type-post","status-publish","format-standard","hentry","category-expository","category-numerical-linear-algebra-dos-and-donts"],"_links":{"self":[{"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/posts\/434","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/comments?post=434"}],"version-history":[{"count":27,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/posts\/434\/revisions"}],"predecessor-version":[{"id":634,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/posts\/434\/revisions\/634"}],"wp:attachment":[{"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/media?parent=434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/categories?post=434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/tags?post=434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}