{"id":647,"date":"2021-10-26T19:27:59","date_gmt":"2021-10-26T19:27:59","guid":{"rendered":"http:\/\/www.ethanepperly.com\/?p=647"},"modified":"2024-02-13T21:08:56","modified_gmt":"2024-02-13T21:08:56","slug":"big-ideas-in-applied-math-low-rank-matrices","status":"publish","type":"post","link":"https:\/\/www.ethanepperly.com\/index.php\/2021\/10\/26\/big-ideas-in-applied-math-low-rank-matrices\/","title":{"rendered":"Big Ideas in Applied Math: Low-rank Matrices"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>Let&#8217;s start our discussion of low-rank matrices with an application. Suppose that there are 1000 weather stations spread across the world, and we record the temperature during each of the 365 days in a year.<sup class=\"modern-footnotes-footnote \" data-mfn=\"1\" data-mfn-post-scope=\"00000000000005810000000000000000_647\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_647-1\">1<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_647-1\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"1\">I borrow the idea for the weather example from <a href=\"https:\/\/ieeexplore.ieee.org\/abstract\/document\/5454406?casa_token=Z6_BqyZQ8fEAAAAA:D1xX_h-l3wsdCVDygR2I5LMhX9EgHR4FrgHYWSewolESHAh1CoZuT9MoxxYPUe-zrRhhZAZRpA\">Candes and Plan<\/a>.<\/span> If we were to store each of the temperature measurements individually, we would need to store 365,000 numbers. However, we have reasons to believe that significant compression is possible. Temperatures are correlated across space and time: If it&#8217;s hot in Arizona today, it&#8217;s likely it was warm in Utah yesterday. <\/p>\n\n\n\n<p>If we are particularly bold, we might conjecture that the weather approximately experiences a sinusoidal variation over the course of the year:<\/p>\n\n\n<p><p class=\"ql-center-displayed-equation\" style=\"line-height: 43px;\"><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-cfe6c9eb9bf672543770c2618c55cd32_l3.png\" height=\"43\" width=\"499\" 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;&#98;&#111;&#120;&#123;&#116;&#101;&#109;&#112;&#101;&#114;&#97;&#116;&#117;&#114;&#101;&#32;&#97;&#116;&#32;&#115;&#116;&#97;&#116;&#105;&#111;&#110;&#32;&#36;&#105;&#36;&#32;&#111;&#110;&#32;&#100;&#97;&#121;&#32;&#36;&#106;&#36;&#125;&#32;&#92;&#97;&#112;&#112;&#114;&#111;&#120;&#32;&#97;&#95;&#105;&#32;&#43;&#32;&#98;&#95;&#105;&#32;&#92;&#115;&#105;&#110;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#50;&#92;&#112;&#105;&#32;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#106;&#125;&#123;&#51;&#54;&#53;&#125;&#32;&#43;&#32;&#92;&#112;&#104;&#105;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#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>For a station <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4015d3bcae440238eb2e7a73e66bae43_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"6\" style=\"vertical-align: 0px;\"\/>, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4c0a2a967894e2fd9b2da00447811f96_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#97;&#95;&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"14\" style=\"vertical-align: -3px;\"\/> denotes the average temperature of the station and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1cb360b29aad3a73e5b822eaf397e286_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#98;&#95;&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"13\" style=\"vertical-align: -3px;\"\/> denotes the maximum deviation above or below this station, signed so that it is warmer than average in the Northern hemisphere during June-August and colder-than-average in the Southern hemisphere during these months. The <a href=\"https:\/\/en.wikipedia.org\/wiki\/Phase_(waves)#Phase_shift\">phase shift<\/a> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b889ecc5781bc4fa48f70ba23ef2cfb8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#112;&#104;&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"11\" style=\"vertical-align: -4px;\"\/> is chosen so the hottest (or coldest) day in the year occurs at the <a href=\"https:\/\/www.ncei.noaa.gov\/news\/when-expect-warmest-day-year\">appropriate time<\/a>. This model is clearly grossly inexact: The weather does not satisfy a simple sinusoidal model. However, we might plausibly expect it to be fairly informative. Further, we have massively compressed our data, only needing to store the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-79f99a8ac9d8c32792a408c48c41f73c_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#50;&#48;&#48;&#48;&#32;&#92;&#108;&#108;&#32;&#51;&#54;&#53;&#44;&#48;&#48;&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"17\" width=\"125\" style=\"vertical-align: -4px;\"\/> numbers <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-929dd57c4ff3d8d42b893e4587c775d7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#97;&#95;&#49;&#44;&#97;&#95;&#50;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#98;&#95;&#123;&#49;&#48;&#48;&#48;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"117\" style=\"vertical-align: -4px;\"\/> rather than our full data set of 365,000 temperature values. <\/p>\n\n\n\n<p>Let us abstract this approximation procedure in a linear algebraic way. Let&#8217;s collect our weather data into a matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-676e51a51d2f41a64088aeb105e847e7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#87;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"19\" style=\"vertical-align: 0px;\"\/> with 1000 rows, one for each station, and 365 columns, one for each day of the year. The entry <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-5bb13b409ea9c32b1b22ac5bdc8f791a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#87;&#95;&#123;&#105;&#106;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"28\" style=\"vertical-align: -6px;\"\/> corresponding to station <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4015d3bcae440238eb2e7a73e66bae43_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"6\" style=\"vertical-align: 0px;\"\/> and day <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-fe087f8cefab0bcb3270609914ada26c_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#106;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"9\" style=\"vertical-align: -4px;\"\/> is the temperature at station <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4015d3bcae440238eb2e7a73e66bae43_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"6\" style=\"vertical-align: 0px;\"\/> on day <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-fe087f8cefab0bcb3270609914ada26c_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#106;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"9\" style=\"vertical-align: -4px;\"\/>. The approximation Eq. (1) corresponds to the matrix approximation<\/p>\n\n\n<p><p class=\"ql-center-displayed-equation\" style=\"line-height: 103px;\"><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-c37348efef16f4a5de5fbee61157af02_l3.png\" height=\"103\" width=\"604\" 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; &#87;&#32;&#92;&#97;&#112;&#112;&#114;&#111;&#120;&#32;&#92;&#117;&#110;&#100;&#101;&#114;&#98;&#114;&#97;&#99;&#101;&#123;&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#98;&#109;&#97;&#116;&#114;&#105;&#120;&#125; &#97;&#95;&#49;&#32;&#43;&#32;&#98;&#95;&#49;&#32;&#92;&#115;&#105;&#110;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#50;&#92;&#112;&#105;&#32;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#51;&#54;&#53;&#125;&#32;&#43;&#32;&#92;&#112;&#104;&#105;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#38;&#32;&#92;&#99;&#100;&#111;&#116;&#115;&#32;&#38;&#32;&#97;&#95;&#49;&#32;&#43;&#32;&#98;&#95;&#49;&#32;&#92;&#115;&#105;&#110;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#50;&#92;&#112;&#105;&#32;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#51;&#54;&#53;&#125;&#123;&#51;&#54;&#53;&#125;&#32;&#43;&#32;&#92;&#112;&#104;&#105;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#92;&#92; &#92;&#118;&#100;&#111;&#116;&#115;&#32;&#38;&#32;&#92;&#100;&#100;&#111;&#116;&#115;&#32;&#38;&#32;&#92;&#118;&#100;&#111;&#116;&#115;&#32;&#92;&#92; &#97;&#95;&#123;&#49;&#48;&#48;&#48;&#125;&#32;&#43;&#32;&#98;&#95;&#123;&#49;&#48;&#48;&#48;&#125;&#32;&#92;&#115;&#105;&#110;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#50;&#92;&#112;&#105;&#32;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#51;&#54;&#53;&#125;&#32;&#43;&#32;&#92;&#112;&#104;&#105;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#38;&#32;&#92;&#99;&#100;&#111;&#116;&#115;&#32;&#38;&#32;&#97;&#95;&#123;&#49;&#48;&#48;&#48;&#125;&#32;&#43;&#32;&#98;&#95;&#123;&#49;&#48;&#48;&#48;&#125;&#32;&#92;&#115;&#105;&#110;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#50;&#92;&#112;&#105;&#32;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#51;&#54;&#53;&#125;&#123;&#51;&#54;&#53;&#125;&#32;&#43;&#32;&#92;&#112;&#104;&#105;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41; &#92;&#101;&#110;&#100;&#123;&#98;&#109;&#97;&#116;&#114;&#105;&#120;&#125;&#125;&#95;&#123;&#58;&#61;&#92;&#104;&#97;&#116;&#123;&#87;&#125;&#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>Let us call the matrix on the right-hand side of Eq. (2) <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4ba9ca7ba1e46ca8030235c370b40ab8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#87;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"19\" style=\"vertical-align: 0px;\"\/> for ease of discussion. When presented in this linear algebraic form, it&#8217;s less obvious in what way <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4ba9ca7ba1e46ca8030235c370b40ab8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#87;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"19\" style=\"vertical-align: 0px;\"\/> is simpler than <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-676e51a51d2f41a64088aeb105e847e7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#87;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"19\" style=\"vertical-align: 0px;\"\/>, but we know from Eq. (1) and our previous discussion that <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4ba9ca7ba1e46ca8030235c370b40ab8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#87;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"19\" style=\"vertical-align: 0px;\"\/> is much more efficient to store than <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-676e51a51d2f41a64088aeb105e847e7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#87;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"19\" style=\"vertical-align: 0px;\"\/>. This leads us naturally to the following question: Linear algebraically, in what way is <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4ba9ca7ba1e46ca8030235c370b40ab8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#87;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"19\" style=\"vertical-align: 0px;\"\/> simpler than <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-676e51a51d2f41a64088aeb105e847e7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#87;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"19\" style=\"vertical-align: 0px;\"\/>?<\/p>\n\n\n\n<p>The answer is that the matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4ba9ca7ba1e46ca8030235c370b40ab8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#87;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"19\" style=\"vertical-align: 0px;\"\/> has <strong>low rank<\/strong>. The rank of the matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4ba9ca7ba1e46ca8030235c370b40ab8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#87;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"19\" style=\"vertical-align: 0px;\"\/> is <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b5fed14f2144ce9f7a2e7c6c1a9858d9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#50;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"8\" style=\"vertical-align: 0px;\"\/> whereas <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-676e51a51d2f41a64088aeb105e847e7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#87;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"19\" style=\"vertical-align: 0px;\"\/> almost certainly possesses the maximum possible rank of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-33f89e3b0a83c9866be1ddd24ad32961_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#51;&#54;&#53;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"26\" style=\"vertical-align: 0px;\"\/>. This example is suggestive that <strong><a href=\"https:\/\/en.wikipedia.org\/wiki\/Low-rank_approximation\">low-rank approximation<\/a><\/strong>, where we approximate a general matrix by one of much lower rank, could be a powerful tool. But there any many questions about how to use this tool and how widely applicable it is. How can we compress a low-rank matrix? Can we use this compressed matrix in computations? How good of a low-rank approximation can we find? What even is the rank of a matrix?<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is Rank?<\/h2>\n\n\n\n<p>Let&#8217;s do a quick review of the foundations of linear algebra. At the core of linear algebra is the notion of a <strong><a href=\"https:\/\/en.wikipedia.org\/wiki\/Linear_combination\">linear combination<\/a><\/strong>. A linear combination of vectors <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d6ab72f69eced34a86033f9868cfc893_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#118;&#95;&#49;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#118;&#95;&#107;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"72\" style=\"vertical-align: -4px;\"\/> is a weighted sum of the form <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e66a30fd999f21e4f86061f3ecbb22d5_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#97;&#108;&#112;&#104;&#97;&#95;&#49;&#32;&#118;&#95;&#49;&#32;&#43;&#32;&#92;&#99;&#100;&#111;&#116;&#115;&#32;&#43;&#32;&#92;&#97;&#108;&#112;&#104;&#97;&#95;&#107;&#32;&#118;&#95;&#107;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"135\" style=\"vertical-align: -3px;\"\/>, where <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c7688993ffc80b8177e495daff52b0dd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#97;&#108;&#112;&#104;&#97;&#95;&#49;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#92;&#97;&#108;&#112;&#104;&#97;&#95;&#107;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"76\" style=\"vertical-align: -4px;\"\/> are scalars<sup class=\"modern-footnotes-footnote \" data-mfn=\"2\" data-mfn-post-scope=\"00000000000005810000000000000000_647\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_647-2\">2<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_647-2\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"2\">In our case, matrices will be comprised of real numbers, making scalars real numbers as well.<\/span>. A collection of vectors <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d6ab72f69eced34a86033f9868cfc893_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#118;&#95;&#49;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#118;&#95;&#107;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"72\" style=\"vertical-align: -4px;\"\/> is <strong><a href=\"https:\/\/en.wikipedia.org\/wiki\/Linear_independence\">linearly independent<\/a><\/strong> if there is no linear combination of them which produces the zero vector, except for the trivial <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-54589d9b5610bf48dcf5a1b1f24a67b6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"9\" style=\"vertical-align: 0px;\"\/>-weighted linear combination <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-5e31e395425af6cfe6e649892b8aa496_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#48;&#32;&#118;&#95;&#49;&#32;&#43;&#32;&#92;&#99;&#100;&#111;&#116;&#115;&#32;&#43;&#32;&#48;&#118;&#95;&#107;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"114\" style=\"vertical-align: -3px;\"\/>. If <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d6ab72f69eced34a86033f9868cfc893_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#118;&#95;&#49;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#118;&#95;&#107;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"72\" style=\"vertical-align: -4px;\"\/> are not linearly independent, then they&#8217;re <strong>linearly dependent<\/strong>.<\/p>\n\n\n\n<p>The <strong><a href=\"https:\/\/en.wikipedia.org\/wiki\/Rank_(linear_algebra)#Main_definitions\">column rank<\/a><\/strong> of a 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 the size of the largest possible subset 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;\"\/>&#8216;s columns which are linearly independent. So if the column rank 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 <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/>, then there is some sub-collection of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> columns 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 are linearly independent. There may be some different sub-collections of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> columns from <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;\"\/> that are linearly dependent, but every collection of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2bbdfc92114710f2057f00ca31cf74bb_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;&#43;&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"38\" style=\"vertical-align: -2px;\"\/> columns is guaranteed to be linearly dependent. Similarly, the <strong>row rank<\/strong> is defined to be the maximum size of any linearly independent collection of <em>rows<\/em> taken from <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;\"\/>. A remarkable and surprising fact is that the column rank and row rank are equal. Because of this, we refer to the column rank and row rank simply as the <strong><a href=\"https:\/\/en.wikipedia.org\/wiki\/Rank_(linear_algebra)\">rank<\/a><\/strong>; we denote the rank of a 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;\"\/> by <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-43213918c1a5b43ce964f1ab3cdf2ef3_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;&#66;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"62\" style=\"vertical-align: -5px;\"\/>.<\/p>\n\n\n\n<p>Linear algebra is famous for its multiple equivalent ways of phrasing the same underlying concept, so let&#8217;s mention one more way of thinking about the rank. Define the <strong><a href=\"https:\/\/en.wikipedia.org\/wiki\/Row_and_column_spaces\">column space<\/a><\/strong> of a matrix to consist of the set of all linear combinations of its columns. A <strong><a href=\"https:\/\/en.wikipedia.org\/wiki\/Basis_(linear_algebra)\">basis<\/a><\/strong> for the column space is a linear independent collection of elements of the column space of the largest possible size. Every element of the column space can be written <em>uniquely<\/em> as a linear combination of the elements in a basis. The size of a basis for the column space is called the <strong><a href=\"https:\/\/en.wikipedia.org\/wiki\/Dimension_(vector_space)\">dimension<\/a><\/strong> of the column space. With these last definitions in place, we note that the rank 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 also equal to the dimension of the column space 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;\"\/>. Likewise, if we define the <strong>row space<\/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;\"\/> to consist of all linear combinations 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;\"\/>&#8216;s rows, then the rank 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 equal to the dimension 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;\"\/>&#8216;s row space.<\/p>\n\n\n\n<p>The upshot is that if a 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;\"\/> has a small rank, its many columns (or rows) can be assembled as linear combinations from a much smaller collection of columns (or rows). It is this fact that allows a low-rank matrix to be compressed for algorithmically useful ends.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Rank Factorizations<\/h2>\n\n\n\n<p>Suppose we have 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;\"\/> which is of rank <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> much smaller than both <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-6d890b0f5af56bc2bde465a9af2fd218_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"15\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-75a5652acadcd645b180a972b75a9d09_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"11\" style=\"vertical-align: 0px;\"\/>. As we saw in the introduction, we expect that such a matrix can be compressed to be stored with many fewer than <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b1777add7c5ed912c9e8b94a2f18aabd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"27\" style=\"vertical-align: 0px;\"\/> entries. How can this be done?<\/p>\n\n\n\n<p>Let&#8217;s work backwards and start with the answer to this question and then see why it works. Here&#8217;s a fact: a 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;\"\/> of rank <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> can be factored as <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-943b2a4d054f060cfe3f3154746dc2a3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#61;&#32;&#76;&#82;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"74\" style=\"vertical-align: 0px;\"\/>, where <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d99fc63db67b7ceb9f44b2bc4b03bc89_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> is an <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b9368647a4a8c96330f9f78ecdea9ea3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"45\" style=\"vertical-align: 0px;\"\/> matrix and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d08fac616919760e7538df715d3ca0e6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> is an <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8ad05a418b10c1ff4ecbca340817bbf2_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"40\" style=\"vertical-align: 0px;\"\/> matrix. In other words, <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 be factored as a &#8220;thin&#8221; matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d99fc63db67b7ceb9f44b2bc4b03bc89_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> with <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> columns times a &#8220;fat&#8221; matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e5fadf91b81dc4c789e323e2d5e8a5f0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"24\" style=\"vertical-align: 0px;\"\/> with <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> rows. We use the symbols <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d99fc63db67b7ceb9f44b2bc4b03bc89_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d08fac616919760e7538df715d3ca0e6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> for these factors to stand for &#8220;left&#8221; and &#8220;right&#8221;; we emphasize that <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d99fc63db67b7ceb9f44b2bc4b03bc89_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d08fac616919760e7538df715d3ca0e6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> are general <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b9368647a4a8c96330f9f78ecdea9ea3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"45\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8ad05a418b10c1ff4ecbca340817bbf2_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"40\" style=\"vertical-align: 0px;\"\/> matrices, not necessarily possessing any additional structure.<sup class=\"modern-footnotes-footnote \" data-mfn=\"3\" data-mfn-post-scope=\"00000000000005810000000000000000_647\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_647-3\">3<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_647-3\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"3\">Readers familiar with numerical linear algebra may instinctively want to assume that <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d99fc63db67b7ceb9f44b2bc4b03bc89_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d08fac616919760e7538df715d3ca0e6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> are lower and upper triangular; we do not make this assumption.<\/span> The fact that we write the second term in this factorization as a transposed matrix &#8220;<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e5fadf91b81dc4c789e323e2d5e8a5f0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"24\" style=\"vertical-align: 0px;\"\/>&#8221; is unimportant: We adopt a convention where we write a fat matrix as the transpose of a thin matrix. This notational choice is convenient allows us to easily distinguish between thin and fat matrices in formulas; this choice of notation is far from universal. We call a factorization such as <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-943b2a4d054f060cfe3f3154746dc2a3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#61;&#32;&#76;&#82;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"74\" style=\"vertical-align: 0px;\"\/> a <strong><a href=\"https:\/\/en.wikipedia.org\/wiki\/Rank_factorization\">rank factorization<\/a><\/strong>.<sup class=\"modern-footnotes-footnote \" data-mfn=\"4\" data-mfn-post-scope=\"00000000000005810000000000000000_647\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_647-4\">4<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_647-4\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"4\">Other terms, such as <em>full rank factorization<\/em> or <em>rank-revealing factorization<\/em>, have been been used to describe the same concept. A warning is that the term &#8220;rank-revealing factorization&#8221; can also refer to a factorization which encodes a good low-rank <span style=\"text-decoration: underline;\">approximation<\/span> to <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;\"\/> rather than a genuine factorization 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>\n\n\n\n<p>Rank factorizations are useful as we can compactly store <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;\"\/> by storing its factors <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d99fc63db67b7ceb9f44b2bc4b03bc89_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d08fac616919760e7538df715d3ca0e6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>. This reduces the storage requirements 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;\"\/> to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c9a431cebd8ac572950b34dc0169f269_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#40;&#109;&#43;&#110;&#41;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"69\" style=\"vertical-align: -5px;\"\/> numbers down from <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b1777add7c5ed912c9e8b94a2f18aabd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"27\" style=\"vertical-align: 0px;\"\/> numbers. For example, if we store a rank factorization of the low-rank approximation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4ba9ca7ba1e46ca8030235c370b40ab8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#87;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"19\" style=\"vertical-align: 0px;\"\/> from our weather example, we need only store 2,730 numbers rather than 365,000. In addition to compressing <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;\"\/>, we shall soon see that one can rapidly perform many calculations from the rank factorization <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8904184d63a5f76297586bbba89665dd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;&#82;&#94;&#92;&#116;&#111;&#112;&#32;&#61;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"75\" style=\"vertical-align: 0px;\"\/> without ever forming <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;\"\/> itself. For these reasons, whenever performing computations with a low-rank matrix, your first step should almost always be to express it using a rank factorization. From there, most computations can be done faster and using less storage.<\/p>\n\n\n\n<p>Having hopefully convinced ourselves of the usefulness of rank factorizations, let us now convince ourselves that every rank-<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" 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;\"\/> does indeed possess a rank factorization <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-943b2a4d054f060cfe3f3154746dc2a3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#61;&#32;&#76;&#82;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"74\" style=\"vertical-align: 0px;\"\/> where <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d99fc63db67b7ceb9f44b2bc4b03bc89_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d08fac616919760e7538df715d3ca0e6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> have <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> columns. As we recalled in the previous section, since <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;\"\/> has rank <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/>, there is a basis 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;\"\/>&#8216;s column space consisting of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> vectors <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e76cf23925c31f643bfcbb88fd014bc0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#101;&#108;&#108;&#95;&#49;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#92;&#101;&#108;&#108;&#95;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"67\" style=\"vertical-align: -4px;\"\/>. Collect these <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> vectors as columns of an <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b9368647a4a8c96330f9f78ecdea9ea3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"45\" style=\"vertical-align: 0px;\"\/> matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b733073770676c1edb7e496b8674ba78_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;&#32;&#61;&#32;&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#98;&#109;&#97;&#116;&#114;&#105;&#120;&#125;&#32;&#92;&#101;&#108;&#108;&#95;&#49;&#32;&#38;&#32;&#92;&#99;&#100;&#111;&#116;&#115;&#32;&#38;&#32;&#92;&#101;&#108;&#108;&#95;&#114;&#92;&#101;&#110;&#100;&#123;&#98;&#109;&#97;&#116;&#114;&#105;&#120;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"22\" width=\"133\" style=\"vertical-align: -7px;\"\/>. But since the columns of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d99fc63db67b7ceb9f44b2bc4b03bc89_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> comprise a basis of the column space 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;\"\/>, every column 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 be written as a linear combination of the columns of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d99fc63db67b7ceb9f44b2bc4b03bc89_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/>. For example, the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-fe087f8cefab0bcb3270609914ada26c_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#106;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"9\" style=\"vertical-align: -4px;\"\/>th column <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-900e1917ba3b80505efde3a3eee666ba_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#98;&#95;&#106;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: -6px;\"\/> 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 be written as a linear combination <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f736d6697926c5daeb3343415753446d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#98;&#95;&#106;&#32;&#61;&#32;&#82;&#95;&#123;&#106;&#49;&#125;&#32;&#92;&#101;&#108;&#108;&#95;&#49;&#32;&#43;&#32;&#92;&#99;&#100;&#111;&#116;&#115;&#32;&#43;&#32;&#82;&#95;&#123;&#106;&#114;&#125;&#32;&#92;&#101;&#108;&#108;&#95;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"185\" style=\"vertical-align: -6px;\"\/>, where we suggestively use the labels <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7b4e834193688b73421cacbea7fc7b4a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;&#95;&#123;&#106;&#49;&#125;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#82;&#95;&#123;&#106;&#114;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"93\" style=\"vertical-align: -6px;\"\/> for the scalar multiples in our linear combination. Collecting these coefficients into a matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d08fac616919760e7538df715d3ca0e6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;\" 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-2b80808dc4cfd99921c6014e9b28354b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#105;&#106;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"14\" style=\"vertical-align: -4px;\"\/>th entry <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-560d8c523231f3b46e3ee91590dc4a9b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;&#95;&#123;&#105;&#106;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"24\" style=\"vertical-align: -6px;\"\/>, we have constructed a factorization <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-943b2a4d054f060cfe3f3154746dc2a3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#61;&#32;&#76;&#82;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"74\" style=\"vertical-align: 0px;\"\/>. (Check this!)<\/p>\n\n\n\n<p>This construction gives us a look at what a rank factorization is doing. The columns of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d99fc63db67b7ceb9f44b2bc4b03bc89_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> comprise a basis for the column space 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 the rows of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e5fadf91b81dc4c789e323e2d5e8a5f0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"24\" style=\"vertical-align: 0px;\"\/> comprise a basis for the row space 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;\"\/>. Once we fix a &#8220;column basis&#8221; <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d99fc63db67b7ceb9f44b2bc4b03bc89_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/>, the &#8220;row basis&#8221; <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e5fadf91b81dc4c789e323e2d5e8a5f0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"24\" style=\"vertical-align: 0px;\"\/> is comprised of linear combination coefficients telling us how to assemble the columns 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;\"\/> as linear combinations of the columns in <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d99fc63db67b7ceb9f44b2bc4b03bc89_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/>.<sup class=\"modern-footnotes-footnote \" data-mfn=\"5\" data-mfn-post-scope=\"00000000000005810000000000000000_647\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_647-5\">5<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_647-5\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"5\">It is worth noting here that a slightly more expansive definition of rank factorization has also proved useful. In the more general definition, a rank factorization is a factorization of the form <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-85fbff00099cc38acacedca3a3a1ac08_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#61;&#76;&#77;&#82;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"93\" style=\"vertical-align: 0px;\"\/> where <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d99fc63db67b7ceb9f44b2bc4b03bc89_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> is <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b9368647a4a8c96330f9f78ecdea9ea3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"45\" style=\"vertical-align: 0px;\"\/>, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a038471f70ce2efa1e2bb1ab05e0a7ce_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#77;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"19\" style=\"vertical-align: 0px;\"\/> is <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d54a1ffcb24a8633fec3aa15bc6e3de0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"38\" style=\"vertical-align: 0px;\"\/>, and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e5fadf91b81dc4c789e323e2d5e8a5f0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"24\" style=\"vertical-align: 0px;\"\/> is <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-196efe870daff98704cae6e4666802d1_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"41\" style=\"vertical-align: 0px;\"\/>. With this definition, we can pick an arbitrary column basis <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d99fc63db67b7ceb9f44b2bc4b03bc89_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> and row basis <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e5fadf91b81dc4c789e323e2d5e8a5f0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"24\" style=\"vertical-align: 0px;\"\/>. Then, there exists a unique nonsingular &#8220;middle&#8221; matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a038471f70ce2efa1e2bb1ab05e0a7ce_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#77;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"19\" style=\"vertical-align: 0px;\"\/> such that <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-5243e40891c84228c38c275e8ff8c284_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#61;&#32;&#76;&#77;&#82;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"93\" style=\"vertical-align: 0px;\"\/>.<\/span> Note that this means there exist many different rank factorizations of a matrix since one may pick different column bases <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d99fc63db67b7ceb9f44b2bc4b03bc89_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> for <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=\"6\" data-mfn-post-scope=\"00000000000005810000000000000000_647\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_647-6\">6<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_647-6\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"6\">This non-uniqueness means one should take care to compute a rank factorization which is as &#8220;nice&#8221; as possible (say, by making sure <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d99fc63db67b7ceb9f44b2bc4b03bc89_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d08fac616919760e7538df715d3ca0e6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> are as <a href=\"https:\/\/en.wikipedia.org\/wiki\/Condition_number#Matrices\">well-conditioned<\/a> as is possible). If one modifies a rank factorization during the course of an algorithm, one should take care to make sure that the rank factorization remains nice. (As an example of what can go wrong, &#8220;unbalancing&#8221; between the left and right factors in a rank factorization can lead to <a href=\"https:\/\/eitanl.people.caltech.edu\/documents\/19398\/eitanl_thesis_final.pdf\">convergence problems for optimization problems<\/a>.)<\/span>\n\n\n\n<p>Now that we&#8217;ve convinced ourselves that every matrix indeed has a rank factorization, how do we compute them in practice? In fact, pretty much any matrix factorization will work. If you can think of a matrix factorization you&#8217;re familiar with (e.g., LU, QR, eigenvalue decomposition, <a href=\"https:\/\/en.wikipedia.org\/wiki\/Singular_value_decomposition\">singular value decomposition<\/a>,&#8230;), you can almost certainly use it to compute a rank factorization. In addition, <a href=\"https:\/\/epubs.siam.org\/doi\/abs\/10.1137\/090771806?casa_token=2nMbR9De49AAAAAA:lHHlMMLKGe9u8Zd_lIsyK05d5ZrDJnWrhvVM2h-SGoLEyAR52AkiUcYG6pbCBCkEBMwZT3TbiA\">many<\/a> <a href=\"https:\/\/ieeexplore.ieee.org\/abstract\/document\/8104100?casa_token=E7xHAI9GCJQAAAAA:yiYzLmvlCv8T7nnKT2qlQSjcyWH8GCz3QPHZXOdU4CC1dynlRjC-9B78kLOU9uzcpgQVxBGYew\">dedicated<\/a> <a href=\"https:\/\/www.pnas.org\/content\/106\/3\/697.short\">methods<\/a> have been developed for the specific purpose of computing rank factorizations which can have appealing properties which make them great for certain applications. <\/p>\n\n\n\n<p>Let&#8217;s focus on one particular example of how a classic matrix factorization, the singular value decomposition, can be used to get a rank factorization. Recall that the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Singular_value_decomposition\">singular value decomposition<\/a> (SVD) of a (real) 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 <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 an <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-5a322d087471e3199e2d9c9f1183245d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#109;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"52\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-41c0efe7f3a82ce93dc2542200956ad7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"43\" style=\"vertical-align: 0px;\"\/> (real) orthogonal matrices 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 (possibly rectangular) diagonal matrix with nonnegative, descending diagonal entries <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7467e7392adc41b140dacbc33acc7323_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#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;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"193\" style=\"vertical-align: -8px;\"\/>. These diagonal entries are referred to as the singular values of 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;\"\/>. From the definition of rank, we can see that the rank of a 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 equal to its number of nonzero singular values. With this observation in hand, a rank factorization 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 be obtained by letting <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d99fc63db67b7ceb9f44b2bc4b03bc89_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> be the first <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> columns of <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-e5fadf91b81dc4c789e323e2d5e8a5f0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"24\" style=\"vertical-align: 0px;\"\/> being the first <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> rows of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ca472aae6374257598dd6032e93f913b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#83;&#105;&#103;&#109;&#97;&#32;&#86;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"37\" style=\"vertical-align: 0px;\"\/> (note that the remaining rows of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ca472aae6374257598dd6032e93f913b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#83;&#105;&#103;&#109;&#97;&#32;&#86;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"37\" style=\"vertical-align: 0px;\"\/> are zero). <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Computing with Rank Factorizations<\/h2>\n\n\n\n<p>Now that we have a rank factorization in hand, what is it good for? A lot, in fact. We&#8217;ve already seen that one can store a low-rank matrix expressed as a rank factorization using only <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c9a431cebd8ac572950b34dc0169f269_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#40;&#109;&#43;&#110;&#41;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"69\" style=\"vertical-align: -5px;\"\/> numbers, down from <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b1777add7c5ed912c9e8b94a2f18aabd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"27\" style=\"vertical-align: 0px;\"\/> numbers by storing all of its entries. Similarly, if we want to compute the matrix-vector product <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2a85366509e2bfe56457f7858ac623c5_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#120;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"24\" style=\"vertical-align: 0px;\"\/> for a vector <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b312d649591164b7149ed0756f694a76_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"10\" style=\"vertical-align: 0px;\"\/> of length <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-75a5652acadcd645b180a972b75a9d09_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"11\" style=\"vertical-align: 0px;\"\/>, we can compute this product as <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b223504ad2e7cfdbc75349dd0e1d8c7a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#120;&#32;&#61;&#32;&#76;&#40;&#82;&#94;&#92;&#116;&#111;&#112;&#32;&#120;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"108\" style=\"vertical-align: -5px;\"\/>. This reduces the operation count down from <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-9e5c2163892ffb608b784ad394c20d60_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#50;&#109;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"36\" style=\"vertical-align: 0px;\"\/> operations to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-cf196ae09fd76d47d7561e4cb11629dc_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#50;&#40;&#109;&#43;&#110;&#41;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"79\" style=\"vertical-align: -5px;\"\/> operations using the rank factorization. As a general rule of thumb, when we have something expressed as a rank factorization, we can usually expect to reduce our operation count (and storage costs) from something proportional to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b1777add7c5ed912c9e8b94a2f18aabd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"27\" style=\"vertical-align: 0px;\"\/> (or worse) down to something proportional to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-afed9da1120dda0a8717a51ee151fc60_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#43;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"48\" style=\"vertical-align: -2px;\"\/>.<\/p>\n\n\n\n<p>Let&#8217;s try something more complicated. Say we want to compute an SVD <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;\"\/> 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;\"\/>. In the previous section, we computed a rank factorization 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;\"\/> using an SVD, but suppose now we computed <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-943b2a4d054f060cfe3f3154746dc2a3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#61;&#32;&#76;&#82;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"74\" style=\"vertical-align: 0px;\"\/> in some other way. Our goal is to &#8220;upgrade&#8221; the general rank factorization <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-943b2a4d054f060cfe3f3154746dc2a3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#61;&#32;&#76;&#82;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"74\" style=\"vertical-align: 0px;\"\/> into an 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;\"\/>. Computing the SVD of a general 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;\"\/> requires <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1929a365641d479cf0d204d2da03a972_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#40;&#109;&#110;&#92;&#109;&#105;&#110;&#40;&#109;&#44;&#110;&#41;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"134\" style=\"vertical-align: -5px;\"\/> operations (expressed in <a href=\"https:\/\/en.wikipedia.org\/wiki\/Big_O_notation\">big O notation<\/a>). Can we do better? Unfortunately, there&#8217;s a big roadblock for us: We need <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e6748647ecddad6dce73a98273693936_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#94;&#50;&#43;&#110;&#94;&#50;\" title=\"Rendered by QuickLaTeX.com\" height=\"17\" width=\"63\" style=\"vertical-align: -2px;\"\/> operations even to write down 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;\"\/>, which already prevents us from achieving an operation count proportional to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-afed9da1120dda0a8717a51ee151fc60_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#43;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"48\" style=\"vertical-align: -2px;\"\/> like we&#8217;re hoping for. Fortunately, in most applications, only the first <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> columns of <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 important. Thus, we can change our goal to compute a so-called <strong><a href=\"https:\/\/en.wikipedia.org\/wiki\/Singular_value_decomposition#Compact_SVD\">economy SVD<\/a><\/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;\"\/>, which is a factorization <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e41abc4853cbceb45dadff77d1fcca68_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#61;&#32;&#92;&#104;&#97;&#116;&#123;&#85;&#125;&#92;&#104;&#97;&#116;&#123;&#92;&#83;&#105;&#103;&#109;&#97;&#125;&#92;&#104;&#97;&#116;&#123;&#86;&#125;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"89\" style=\"vertical-align: 0px;\"\/>, where <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e500e8ff996e8267339b7b0f08325d49_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#85;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"13\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-acc51cfb16bcc67461c88e9d10193a41_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#86;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: 0px;\"\/> are <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b9368647a4a8c96330f9f78ecdea9ea3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"45\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8ad05a418b10c1ff4ecbca340817bbf2_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"40\" style=\"vertical-align: 0px;\"\/> matrices with orthonormal columns and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-34257a0a2c4458bc6f5360ebd48ece3e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#92;&#83;&#105;&#103;&#109;&#97;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"12\" style=\"vertical-align: 0px;\"\/> is a <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d54a1ffcb24a8633fec3aa15bc6e3de0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"38\" style=\"vertical-align: 0px;\"\/> diagonal matrix listing 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;\"\/> in decreasing order.<\/p>\n\n\n\n<p>Let&#8217;s see how to upgrade a rank factorization <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-943b2a4d054f060cfe3f3154746dc2a3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#61;&#32;&#76;&#82;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"74\" style=\"vertical-align: 0px;\"\/> into an economy SVD <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e41abc4853cbceb45dadff77d1fcca68_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#61;&#32;&#92;&#104;&#97;&#116;&#123;&#85;&#125;&#92;&#104;&#97;&#116;&#123;&#92;&#83;&#105;&#103;&#109;&#97;&#125;&#92;&#104;&#97;&#116;&#123;&#86;&#125;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"89\" style=\"vertical-align: 0px;\"\/>. Let&#8217;s break our procedure into steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Compute (<a href=\"https:\/\/en.wikipedia.org\/wiki\/QR_decomposition#Rectangular_matrix\">economy<\/a><sup class=\"modern-footnotes-footnote \" data-mfn=\"7\" data-mfn-post-scope=\"00000000000005810000000000000000_647\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_647-7\">7<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_647-7\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"7\">The economy QR factorization of an <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b9368647a4a8c96330f9f78ecdea9ea3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"45\" style=\"vertical-align: 0px;\"\/> thin matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-52134c3741ef3371f17ceb962d0792f6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#67;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> is a factorization <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-9908940f6c6857aa45d033ba5a4bb274_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#67;&#61;&#81;&#82;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"66\" style=\"vertical-align: -4px;\"\/> where <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e7f252699e1616398a7ce5179d3e425e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#81;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"14\" style=\"vertical-align: -4px;\"\/> is an <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b9368647a4a8c96330f9f78ecdea9ea3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"45\" style=\"vertical-align: 0px;\"\/> matrix with orthonormal columns and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d08fac616919760e7538df715d3ca0e6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> is a <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d54a1ffcb24a8633fec3aa15bc6e3de0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"38\" style=\"vertical-align: 0px;\"\/> upper triangular matrix. The economy QR factorization is sometimes also called a thin or compact QR factorization, and can be computed in <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a7a60357030d8899aff06e2a6f02a993_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#40;&#109;&#114;&#94;&#50;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"58\" style=\"vertical-align: -5px;\"\/> operations.<\/span>) <a href=\"https:\/\/en.wikipedia.org\/wiki\/QR_decomposition\">QR factorizations<\/a> of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d99fc63db67b7ceb9f44b2bc4b03bc89_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d08fac616919760e7538df715d3ca0e6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>: <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-de648de4a445a5fd6154c4dddb8a6057_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;&#32;&#61;&#32;&#81;&#95;&#49;&#84;&#95;&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"73\" style=\"vertical-align: -4px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7424a165aa7f5bffd8663370e4313134_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;&#32;&#61;&#32;&#81;&#95;&#50;&#32;&#84;&#95;&#50;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"76\" style=\"vertical-align: -4px;\"\/>. Reader beware: We call the &#8220;<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d08fac616919760e7538df715d3ca0e6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>&#8221; factor in the QR factorizations of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d99fc63db67b7ceb9f44b2bc4b03bc89_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d08fac616919760e7538df715d3ca0e6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> to be <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-81e25a6b9ec0d1e6aca380d6f34b2798_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#84;&#95;&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"16\" style=\"vertical-align: -3px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f0b00025abb18b844861b5974c4cf2d4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#84;&#95;&#50;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"17\" style=\"vertical-align: -3px;\"\/>, as we have already used the letter <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d08fac616919760e7538df715d3ca0e6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> to denote the second factor in our rank factorization.<\/li>\n\n\n\n<li>Compute the small matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-80308fb001e8108e4d64e4d119f6a7ad_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#83;&#32;&#61;&#32;&#84;&#95;&#49;&#84;&#95;&#50;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"76\" style=\"vertical-align: -5px;\"\/>.<\/li>\n\n\n\n<li>Compute an SVD of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f129476628331180fc8baa46fc00e761_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#83;&#61;&#92;&#116;&#105;&#108;&#100;&#101;&#123;&#85;&#125;&#92;&#104;&#97;&#116;&#123;&#92;&#83;&#105;&#103;&#109;&#97;&#125;&#92;&#116;&#105;&#108;&#100;&#101;&#123;&#86;&#125;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"87\" style=\"vertical-align: 0px;\"\/>. <\/li>\n\n\n\n<li>Set <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-bde4add60b56be1e3247ac05360a97b1_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#85;&#125;&#32;&#58;&#61;&#32;&#81;&#95;&#49;&#92;&#116;&#105;&#108;&#100;&#101;&#123;&#85;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"22\" width=\"77\" style=\"vertical-align: -4px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-61c9e4df1cdeaa735fed02ba5724b070_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#86;&#125;&#32;&#58;&#61;&#32;&#81;&#95;&#50;&#92;&#116;&#105;&#108;&#100;&#101;&#123;&#86;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"22\" width=\"79\" style=\"vertical-align: -4px;\"\/>. <\/li>\n<\/ol>\n\n\n\n<p>By following the procedure line-by-line, one can check that indeed the matrices <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e500e8ff996e8267339b7b0f08325d49_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#85;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"13\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-acc51cfb16bcc67461c88e9d10193a41_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#86;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: 0px;\"\/> have orthonormal columns and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e41abc4853cbceb45dadff77d1fcca68_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#61;&#32;&#92;&#104;&#97;&#116;&#123;&#85;&#125;&#92;&#104;&#97;&#116;&#123;&#92;&#83;&#105;&#103;&#109;&#97;&#125;&#92;&#104;&#97;&#116;&#123;&#86;&#125;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"89\" style=\"vertical-align: 0px;\"\/>, so this procedure indeed computes an economy 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;\"\/>. Let&#8217;s see why this approach is also faster. Let&#8217;s count operations line-by-line:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Economy QR factorization of an <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b9368647a4a8c96330f9f78ecdea9ea3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"45\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8ad05a418b10c1ff4ecbca340817bbf2_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"40\" style=\"vertical-align: 0px;\"\/> matrix require <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a7a60357030d8899aff06e2a6f02a993_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#40;&#109;&#114;&#94;&#50;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"58\" style=\"vertical-align: -5px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-773b0443fc02f5d3649bb83505c7873a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#40;&#110;&#114;&#94;&#50;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"53\" style=\"vertical-align: -5px;\"\/> operations.<\/li>\n\n\n\n<li>The product of two <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d54a1ffcb24a8633fec3aa15bc6e3de0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"38\" style=\"vertical-align: 0px;\"\/> matrices requires <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-bd1c7055d9bfae657d9a57b99752b20e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#40;&#114;&#94;&#51;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"43\" style=\"vertical-align: -5px;\"\/> operations.<\/li>\n\n\n\n<li>The SVD of an <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d54a1ffcb24a8633fec3aa15bc6e3de0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"38\" style=\"vertical-align: 0px;\"\/> matrix requires <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-bd1c7055d9bfae657d9a57b99752b20e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#40;&#114;&#94;&#51;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"43\" style=\"vertical-align: -5px;\"\/> operations.<\/li>\n\n\n\n<li>The products of a <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b9368647a4a8c96330f9f78ecdea9ea3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"45\" style=\"vertical-align: 0px;\"\/> and a <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8ad05a418b10c1ff4ecbca340817bbf2_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"40\" style=\"vertical-align: 0px;\"\/> matrix by <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d54a1ffcb24a8633fec3aa15bc6e3de0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"38\" style=\"vertical-align: 0px;\"\/> matrices requires <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a7a60357030d8899aff06e2a6f02a993_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#40;&#109;&#114;&#94;&#50;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"58\" style=\"vertical-align: -5px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-773b0443fc02f5d3649bb83505c7873a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#40;&#110;&#114;&#94;&#50;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"53\" style=\"vertical-align: -5px;\"\/> operations. <\/li>\n<\/ol>\n\n\n\n<p>Accounting for all the operations, we see the operation count is <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-6e33a3ccc747c286beb49f50129e4979_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#40;&#40;&#109;&#43;&#110;&#41;&#114;&#94;&#50;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"104\" style=\"vertical-align: -5px;\"\/>, a significant improvement over the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1929a365641d479cf0d204d2da03a972_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#40;&#109;&#110;&#92;&#109;&#105;&#110;&#40;&#109;&#44;&#110;&#41;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"134\" style=\"vertical-align: -5px;\"\/> operations for a general matrix.<sup class=\"modern-footnotes-footnote \" data-mfn=\"8\" data-mfn-post-scope=\"00000000000005810000000000000000_647\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_647-8\">8<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_647-8\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"8\">We can ignore the term of order <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-bd1c7055d9bfae657d9a57b99752b20e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#40;&#114;&#94;&#51;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"43\" style=\"vertical-align: -5px;\"\/> since <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1730a0d56bd8ca8b9e1b89966eb6f1f7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;&#32;&#92;&#108;&#101;&#32;&#109;&#44;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"67\" style=\"vertical-align: -4px;\"\/> so <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d9b14cd100f7834c9cba2d0cc76b542a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;&#94;&#51;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"15\" style=\"vertical-align: 0px;\"\/> is <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d0e2aa8bb81d7aa6af5b0e240e3044a1_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#40;&#40;&#109;&#43;&#110;&#41;&#114;&#94;&#50;&#41;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"111\" style=\"vertical-align: -5px;\"\/>.<\/span>\n\n\n\n<p>As the previous examples show, many (if not most) things we want to compute from a low-rank 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;\"\/> can be dramatically more efficiently computed using its rank factorization. The strategy is simple in principle, but can be subtle to execute: Whatever you do, avoid explicitly computing the product <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a2efd4cccce7b997c483ac6aa41b8fc9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;&#82;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"36\" style=\"vertical-align: 0px;\"\/> at all costs. Instead, compute with the matrices <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d99fc63db67b7ceb9f44b2bc4b03bc89_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d08fac616919760e7538df715d3ca0e6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> directly, only operating on <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b9368647a4a8c96330f9f78ecdea9ea3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"45\" style=\"vertical-align: 0px;\"\/>, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8ad05a418b10c1ff4ecbca340817bbf2_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"40\" style=\"vertical-align: 0px;\"\/>, and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d54a1ffcb24a8633fec3aa15bc6e3de0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"38\" style=\"vertical-align: 0px;\"\/> matrices.  <\/p>\n\n\n\n<p>Another important type of computation one can perform with low-rank matrices are low-rank updates, where we have already solved a problem for a matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/> and we want to re-solve it efficiently with the matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-6b920bd6658998352847acad4ffd52fa_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#43;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"49\" style=\"vertical-align: -2px;\"\/> where <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;\"\/> has low rank. 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;\"\/> is expressed in a rank factorization, very often we can do this efficiently as well, as we discuss in the following bonus section. As this is somewhat more niche, the uninterested reader should feel free to skip this and continue to the next section. <\/p>\n\n\n<div class=\"su-spoiler su-spoiler-style-default su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Low-rank Updates<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">Suppose we&#8217;ve solved a system of linear equations <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-bb1076898a88ac5d6a1c74d7932dd5fc_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#120;&#32;&#61;&#32;&#98;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"55\" style=\"vertical-align: 0px;\"\/> by computing an <a href=\"https:\/\/en.wikipedia.org\/wiki\/LU_decomposition\">LU factorization<\/a> of the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-41c0efe7f3a82ce93dc2542200956ad7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"43\" style=\"vertical-align: 0px;\"\/> matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/>. We now wish to solve the system of linear equations <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8b17e89fca61351b068362a2429c6b51_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#40;&#65;&#43;&#66;&#41;&#121;&#32;&#61;&#32;&#99;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"103\" style=\"vertical-align: -5px;\"\/>, where <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 low-rank matrix expressed as a rank factorization <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-943b2a4d054f060cfe3f3154746dc2a3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#61;&#32;&#76;&#82;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"74\" style=\"vertical-align: 0px;\"\/>. Our goal is to do this without recomputing a new <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7502241092088409534a6e225be435c7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;&#85;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"26\" style=\"vertical-align: 0px;\"\/> factorization from scratch.&nbsp;<\/p>\n<p>The first solution uses the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Woodbury_matrix_identity\">Sherman-Morrison-Woodbury formula<\/a>, which has a nice proof via the Schur complement and block Gaussian elimination which I described&nbsp;<a href=\"https:\/\/www.ethanepperly.com\/index.php\/2020\/07\/09\/big-ideas-in-applied-math-the-schur-complement\/\">here<\/a>. In our case, the formula yields<\/p>\n<p><p class=\"ql-center-displayed-equation\" style=\"line-height: 22px;\"><span class=\"ql-right-eqno\"> (3) <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a77091181270dc7536118f6f69e46366_l3.png\" height=\"22\" width=\"426\" 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; &#40;&#65;&#43;&#66;&#41;&#94;&#123;&#45;&#49;&#125;&#32;&#61;&#32;&#40;&#73;&#95;&#110;&#45;&#40;&#65;&#94;&#123;&#45;&#49;&#125;&#76;&#41;&#40;&#73;&#95;&#114;&#43;&#82;&#94;&#92;&#116;&#111;&#112;&#40;&#65;&#94;&#123;&#45;&#49;&#125;&#76;&#41;&#41;&#94;&#123;&#45;&#49;&#125;&#82;&#94;&#92;&#116;&#111;&#112;&#41;&#65;&#94;&#123;&#45;&#49;&#125;&#44; &#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n<p>where <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-5ca55e752d82d83d9fa0467cbc327579_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#73;&#95;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"16\" style=\"vertical-align: -3px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7037cfdfaf08e8d5dd5205f4192a236f_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#73;&#95;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"14\" style=\"vertical-align: -3px;\"\/> denote the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-41c0efe7f3a82ce93dc2542200956ad7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"43\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d54a1ffcb24a8633fec3aa15bc6e3de0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"38\" style=\"vertical-align: 0px;\"\/> identity matrices. This formula can easily verified by multiplying with <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-6b920bd6658998352847acad4ffd52fa_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#43;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"49\" style=\"vertical-align: -2px;\"\/> and confirming one indeed recovers the identity matrix. This formula suggests the following approach to solving <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8b17e89fca61351b068362a2429c6b51_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#40;&#65;&#43;&#66;&#41;&#121;&#32;&#61;&#32;&#99;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"103\" style=\"vertical-align: -5px;\"\/>. First, use our already-computed LU factorization for <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/> to compute <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8b64d544f7f02ed4cc74ce59223c76e2_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#83;&#58;&#61;&#65;&#94;&#123;&#45;&#49;&#125;&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"84\" style=\"vertical-align: 0px;\"\/>. (This involves solving <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> linear systems of the form <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-10a50ebe14527519397bc2f20432bef3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#115;&#32;&#61;&#32;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"17\" width=\"54\" style=\"vertical-align: -4px;\"\/> to compute each column <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-237419ccf116597dd4054fbf1cca1281_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#115;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b89471a11dd7fd85184a38ddb3ea9145_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#83;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> from each column <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-726e7ac82690902493102f577788aa40_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"10\" style=\"vertical-align: -4px;\"\/> of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e0b7f55ebbc9bb715e8b20ffdc459df7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#80;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>.) We then compute an LU factorization of the much smaller <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d54a1ffcb24a8633fec3aa15bc6e3de0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"38\" style=\"vertical-align: 0px;\"\/> matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-5a7fb9e9e66f2e70a85afcd3e5332248_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#73;&#95;&#114;&#43;&#82;&#94;&#92;&#116;&#111;&#112;&#32;&#83;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"74\" style=\"vertical-align: -3px;\"\/>. Finally, we use our <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7502241092088409534a6e225be435c7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;&#85;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"26\" style=\"vertical-align: 0px;\"\/> factorization of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/> once more to compute <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d78987fc74d957b141547a5ca23257ce_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#122;&#32;&#61;&#32;&#65;&#94;&#123;&#45;&#49;&#125;&#99;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"72\" style=\"vertical-align: 0px;\"\/>, from which our solution <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-019f15c459e6d53826ef7b34e19a964c_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#121;&#32;&#61;&#32;&#40;&#65;&#43;&#66;&#41;&#94;&#123;&#45;&#49;&#125;&#99;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"122\" style=\"vertical-align: -5px;\"\/> is given by<\/p>\n<p><p class=\"ql-center-displayed-equation\" style=\"line-height: 22px;\"><span class=\"ql-right-eqno\"> (4) <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-6460a256613be258d04aab4bbf10e9ce_l3.png\" height=\"22\" width=\"583\" 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; &#121;&#32;&#61;&#32;&#40;&#73;&#95;&#110;&#45;&#40;&#65;&#94;&#123;&#45;&#49;&#125;&#76;&#41;&#40;&#73;&#95;&#114;&#43;&#82;&#94;&#92;&#116;&#111;&#112;&#40;&#65;&#94;&#123;&#45;&#49;&#125;&#76;&#41;&#41;&#94;&#123;&#45;&#49;&#125;&#82;&#94;&#92;&#116;&#111;&#112;&#41;&#65;&#94;&#123;&#45;&#49;&#125;&#99;&#32;&#61;&#32;&#122;&#32;&#45;&#32;&#83;&#40;&#40;&#73;&#95;&#114;&#43;&#82;&#94;&#92;&#116;&#111;&#112;&#32;&#83;&#41;&#94;&#123;&#45;&#49;&#125;&#40;&#82;&#94;&#92;&#116;&#111;&#112;&#32;&#122;&#41;&#41;&#46; &#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n<p>The net result is we solved our rank-<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/>-updated linear system using <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2bbdfc92114710f2057f00ca31cf74bb_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;&#43;&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"38\" style=\"vertical-align: -2px;\"\/> solutions of the original linear system with no need to recompute any <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7502241092088409534a6e225be435c7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;&#85;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"26\" style=\"vertical-align: 0px;\"\/> factorizations of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-41c0efe7f3a82ce93dc2542200956ad7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"43\" style=\"vertical-align: 0px;\"\/> matrices. We&#8217;ve reduced the solution of the system <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4a257b3cc764b19b5d26cb9dd0df1c00_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#40;&#65;&#43;&#66;&#41;&#121;&#61;&#99;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"103\" style=\"vertical-align: -5px;\"\/> to an operation count of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b42af7f4a9a5b901c5ccc318d91d493e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#40;&#110;&#94;&#50;&#114;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"53\" style=\"vertical-align: -5px;\"\/> which is dramatically better than the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-27fa1c0fde38d4553e6a7af806f3a7b8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#40;&#110;&#94;&#51;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"45\" style=\"vertical-align: -5px;\"\/> operation count of recomputing the LU factorization from scratch.<\/p>\n<p>This simple example demonstrates a broader pattern: Usually if a matrix problem took <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-27fa1c0fde38d4553e6a7af806f3a7b8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#40;&#110;&#94;&#51;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"45\" style=\"vertical-align: -5px;\"\/> to solve originally, one can usually solve the problem after a rank-<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> update in an additional time of only something like <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b42af7f4a9a5b901c5ccc318d91d493e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#40;&#110;&#94;&#50;&#114;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"53\" style=\"vertical-align: -5px;\"\/> operations.<sup class=\"modern-footnotes-footnote \" data-mfn=\"9\" data-mfn-post-scope=\"00000000000005810000000000000000_647\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_647-9\">9<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_647-9\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"9\">Sometimes, this goal of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b42af7f4a9a5b901c5ccc318d91d493e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#40;&#110;&#94;&#50;&#114;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"53\" style=\"vertical-align: -5px;\"\/> can be overly optimistic. For symmetric eigenvalue problems, for instance, the operation count <a href=\"https:\/\/doi.org\/10.1137\/S0895479892241287\">may be a bit larger<\/a> by a (poly)logarithmic factor\u2014say something like <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-78b65f9601154afbdf5f88f3f1052f72_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#40;&#110;&#94;&#50;&#114;&#92;&#108;&#111;&#103;&#32;&#110;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"93\" style=\"vertical-align: -5px;\"\/>. An operation count like this still represents a dramatic improvement over the operation count <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-27fa1c0fde38d4553e6a7af806f3a7b8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#40;&#110;&#94;&#51;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"45\" style=\"vertical-align: -5px;\"\/> of recomputing by scratch.<\/span> For instance, not only can we solve rank-<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/>-updated linear systems in <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b42af7f4a9a5b901c5ccc318d91d493e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#40;&#110;&#94;&#50;&#114;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"53\" style=\"vertical-align: -5px;\"\/> operations, but we can actually update the LU factorization itself in <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b42af7f4a9a5b901c5ccc318d91d493e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#40;&#110;&#94;&#50;&#114;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"53\" style=\"vertical-align: -5px;\"\/> operations. Similar updates exist for Cholesky, QR, symmetric eigenvalue, and singular value decompositions to update these factorizations in <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b42af7f4a9a5b901c5ccc318d91d493e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#79;&#125;&#40;&#110;&#94;&#50;&#114;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"53\" style=\"vertical-align: -5px;\"\/> operations.<\/p>\n<p>An important caveat is that, as always with linear algebraic computations, it&#8217;s important to read the fine print. There are many algorithms for computing low-rank updates to different matrix factorizations with dramatically different accuracy properties. Just because in principle rank-updated versions of these factorizations can be computed doesn&#8217;t mean it&#8217;s always advisable. With this qualification stated, these ways of updating matrix computations with low-rank updates can be a powerful tool in practice and reinforce the computational benefits of low-rank matrices expressed via rank factorizations.<\/div><\/div>\n\n\n<h2 class=\"wp-block-heading\">Low-rank Approximation<\/h2>\n\n\n\n<p>As we&#8217;ve seen, computing with low-rank matrices expressed as rank factorizations can yield significant computational savings. Unfortunately, many matrices in application are not low-rank. In fact, even if a matrix in an application is low-rank, the small rounding errors we incur in storing it on a computer may destroy the matrix&#8217;s low rank, increasing its rank to the maximum possible value of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1d29b79de0f273df7efcb7f021705c03_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#105;&#110;&#40;&#109;&#44;&#110;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"77\" style=\"vertical-align: -5px;\"\/>. The solution in this case is straightforward: approximate our high-rank matrix with a low-rank one, which we express in algorithmically useful form as a rank factorization.<\/p>\n\n\n\n<p>Here&#8217;s one simple way of constructing low-rank approximations. Start with a 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;\"\/> and compute a 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;\"\/>, <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;\"\/>. Recall from two sections previous that the rank of 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;\"\/> is equal to its number of nonzero singular values. But what 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;\"\/>&#8216;s singular values aren&#8217;t exactly zero, but they&#8217;re very small? It seems reasonable to expect that <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 nearly low-rank in this case. Indeed, this intuition is true. To approximate <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;\"\/> a low-rank matrix, we can <em>truncate<\/em> <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;\"\/>&#8216;s singular value decomposition by setting <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;\"\/>&#8216;s small singular values to zero. If we zero out all but the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> largest 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;\"\/>, this procedure results in a rank-<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-79139b44e9e9de2bfd926e40dc6aaee7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: 0px;\"\/> which approximates <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;\"\/>. If the singular values that we zeroed out were tiny, then <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-79139b44e9e9de2bfd926e40dc6aaee7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: 0px;\"\/> will be very close to <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 the low-rank approximation is accurate. This matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-79139b44e9e9de2bfd926e40dc6aaee7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: 0px;\"\/> is called an <strong><a href=\"https:\/\/en.wikipedia.org\/wiki\/Singular_value_decomposition#Truncated_SVD\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/>-truncated singular value decomposition<\/a><\/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 it is easy to represent it using a rank factorization once we have already computed an 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;\"\/>.<\/p>\n\n\n\n<p>It is important to remember that low-rank approximations are, just as the name says, <em>approximations<\/em>. Not every matrix is well-approximated by one of small rank. A matrix may be excellently approximated by a rank-100 matrix and horribly approximated by a rank-90 matrix. If an algorithm uses a low-rank approximation as a building block, then the approximation error (the difference between <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 its low-rank approximation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-79139b44e9e9de2bfd926e40dc6aaee7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: 0px;\"\/>) and its propagations through further steps of the algorithm need to be analyzed and controlled along with other sources of error in the procedure.<\/p>\n\n\n\n<p>Despite this caveat, low-rank approximations can be startlingly effective. Many matrices occurring in practice can be approximated to negligible error by a matrix with very modestly-sized rank. We shall return to this surprising ubiquity of approximately low-rank matrices at the end of the article.<\/p>\n\n\n\n<p>We&#8217;ve seen one method for computing low-rank approximations, the truncated singular value decomposition. As we shall see in the next section, the truncated singular value decomposition produces excellent low-rank approximations, the best possible in a certain sense, in fact. As we mentioned above, almost every matrix factorization can be used to compute rank factorizations. Can these matrix factorizations also compute high quality low-rank approximations? <\/p>\n\n\n\n<p>Let&#8217;s consider a specific example to see the underlying ideas. Say we want to compute a low-rank approximation to a 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;\"\/> by a <a href=\"https:\/\/en.wikipedia.org\/wiki\/QR_decomposition\">QR factorization<\/a>. To do this, we want to compute a QR factorization <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-5ba6f9dfdc118d4812a92e5cb0ea671d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#61;&#32;&#81;&#82;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"66\" style=\"vertical-align: -4px;\"\/> and then throw away all but the first <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> columns of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e7f252699e1616398a7ce5179d3e425e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#81;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"14\" style=\"vertical-align: -4px;\"\/> and the first <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> rows of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d08fac616919760e7538df715d3ca0e6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>. This will be a good approximation if the rows we discard from <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d08fac616919760e7538df715d3ca0e6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> are &#8220;small&#8221; compared to the rows of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d08fac616919760e7538df715d3ca0e6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> we keep. Unfortunately, this is not always the case. As a worst case example, if the first <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> columns 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 zero, then the first <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> rows of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d08fac616919760e7538df715d3ca0e6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> will definitely be zero and the low-rank approximation computed this way is worthless.<\/p>\n\n\n\n<p>We need to modify something to give QR factorization a fighting chance for computing good low-rank approximations. The simplest way to do this is by using <em><a href=\"https:\/\/en.wikipedia.org\/wiki\/QR_decomposition#Column_pivoting\">column pivoting<\/a><\/em>, where we shuffle the columns 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;\"\/> around to bring columns of the largest size &#8220;to the front of the line&#8221; as we computing the QR factorization. QR factorization with column pivoting produces excellent low-rank approximations in a large number of cases, but it can still give poor-quality approximations for some special examples. For this reason, numerical analysts have developed so-called <em>strong <a href=\"https:\/\/en.wikipedia.org\/wiki\/RRQR_factorization\">rank-revealing QR factorizations<\/a><\/em>, such as <a href=\"https:\/\/epubs.siam.org\/doi\/10.1137\/0917055\">the one developed by Gu and Eisenstat<\/a>, which are guaranteed to compute quite good low-rank approximations for every 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;\"\/>. Similarly, there exists a <a href=\"https:\/\/www.sciencedirect.com\/science\/article\/pii\/S0024379502005724\">strong rank-revealing LU factorizations<\/a> which can compute good low-rank approximations using LU factorization.<\/p>\n\n\n\n<p>The upshot is that most matrix factorizations you know and love can be used to compute good-quality low-rank approximations, possibly requiring extra tricks like row or column pivoting. But this simple summary, and the previous discussion, leaves open important questions: what do we mean by good-quality low-rank approximations? How good can a low-rank approximation be?<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Best Low-rank Approximation<\/h2>\n\n\n\n<p>As we saw in the last section, one way to approximate a matrix by a lower rank matrix is by a truncated singular value decomposition. In fact, in some sense, this is the best way of approximating a matrix by one of lower rank. This fact is encapsulated in a theorem commonly referred to as the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Singular_value_decomposition#Low-rank_matrix_approximation\">Eckart\u2013Young theorem<\/a>, though the essence of the result is originally due to Schmidt and the modern version of the result to Mirsky.<sup class=\"modern-footnotes-footnote \" data-mfn=\"10\" data-mfn-post-scope=\"00000000000005810000000000000000_647\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_647-10\">10<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_647-10\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"10\">A nice history of the Eckart\u2013Young theorem is provided in the book <em><a href=\"https:\/\/www.elsevier.com\/books\/matrix-perturbation-theory\/stewart\/978-0-08-092613-1\">Matrix Perturbation Theory<\/a><\/em> by Stewart and Sun.<\/span>\n\n\n\n<p>But what do we mean by best approximation? One ingredient we need is a way of measuring how big the discrepancy between two matrices is. Let&#8217;s define a measure of the size of a matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1653b8134b59e8fb4e789ac004d93957_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#69;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> which we will call <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1653b8134b59e8fb4e789ac004d93957_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#69;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>&#8216;s <a href=\"https:\/\/en.wikipedia.org\/wiki\/Norm_(mathematics)\">norm<\/a>, which we denote as <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f8d11cbe4a6d35f609044574f5386272_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#124;&#69;&#92;&#124;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"28\" style=\"vertical-align: -5px;\"\/>. 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;\"\/> is a matrix and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-79139b44e9e9de2bfd926e40dc6aaee7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: 0px;\"\/> is a low-rank approximation to it, then <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-79139b44e9e9de2bfd926e40dc6aaee7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: 0px;\"\/> is a good approximation to <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;\"\/> if the norm <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0127263ecde528f62dffa2d4945ec60e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#124;&#66;&#45;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#92;&#124;\" title=\"Rendered by QuickLaTeX.com\" height=\"23\" width=\"64\" style=\"vertical-align: -5px;\"\/> is small. There might be many different ways of measuring the size of the error, but we have to insist on a couple of properties on our norm <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-6f7c7374d9450ba3b092597ca402f7b1_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#124;&#92;&#99;&#100;&#111;&#116;&#92;&#124;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"27\" style=\"vertical-align: -5px;\"\/> for it to really define a sensible measure of size. For instance if the norm of a matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1653b8134b59e8fb4e789ac004d93957_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#69;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> is <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-672ca5b024676653e762512637450b13_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#124;&#69;&#92;&#124;&#32;&#61;&#32;&#53;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"61\" style=\"vertical-align: -5px;\"\/>, then the norm of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f7d9f0456dffb089091737c8929b8823_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;&#48;&#69;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"31\" style=\"vertical-align: 0px;\"\/> should be <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-43020c2afb00b5f2307b8bca0e75f3cf_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#124;&#49;&#48;&#69;&#92;&#124;&#32;&#61;&#32;&#49;&#48;&#92;&#124;&#69;&#92;&#124;&#32;&#61;&#32;&#53;&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"162\" style=\"vertical-align: -5px;\"\/>. A list of the properties we require a norm to have are listed on the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Norm_(mathematics)#Definition\">Wikipedia page for norms<\/a>. We shall also insist on one more property for our norm: the norm should be <a href=\"https:\/\/nhigham.com\/2021\/02\/02\/what-is-a-unitarily-invariant-norm\/\">unitarily invariant<\/a>.<sup class=\"modern-footnotes-footnote \" data-mfn=\"11\" data-mfn-post-scope=\"00000000000005810000000000000000_647\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_647-11\">11<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_647-11\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"11\"><a href=\"https:\/\/nhigham.com\/2021\/02\/02\/what-is-a-unitarily-invariant-norm\/\">Note that<\/a> every unitarily invariant norm is a special type of vector norm (called a symmetric gauge function) evaluated on the singular values of the matrix.<\/span> What this means is the norm of a matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1653b8134b59e8fb4e789ac004d93957_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#69;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> remains the same if it is multiplied on the left or right by an <a href=\"https:\/\/en.wikipedia.org\/wiki\/Orthogonal_matrix\">orthogonal matrix<\/a>. This property is reasonable since multiplication by orthogonal matrices geometrically represents a rotation or reflection<sup class=\"modern-footnotes-footnote \" data-mfn=\"12\" data-mfn-post-scope=\"00000000000005810000000000000000_647\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_647-12\">12<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_647-12\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"12\">This is <a href=\"https:\/\/en.wikipedia.org\/wiki\/Orthogonal_matrix#Higher_dimensions\">not true in dimensions higher than 2<\/a>, but it gives the right intuition that orthogonal matrices preserve distances.<\/span> which preserves distances between points, so it makes sense that we should demand that the size of a matrix as measured by our norm does not change by such multiplications. Two important and popular matrix norms satisfy the unitarily invariant property: <a href=\"https:\/\/en.wikipedia.org\/wiki\/Matrix_norm#Frobenius_norm\">the Frobenius norm<\/a> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-bba3b483d614138644e84f774fb96a69_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#124;&#32;&#69;&#92;&#124;&#95;&#123;&#92;&#114;&#109;&#32;&#70;&#125;&#32;&#61;&#32;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#106;&#125;&#32;&#124;&#69;&#95;&#123;&#105;&#106;&#125;&#124;&#94;&#50;\" title=\"Rendered by QuickLaTeX.com\" height=\"23\" width=\"139\" style=\"vertical-align: -8px;\"\/> and the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Matrix_norm#Special_cases\">spectral (or operator 2-) norm<\/a> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-447a2ba83d8cbec95b43783a120f08cf_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#124;&#32;&#69;&#32;&#92;&#124;&#95;&#123;&#92;&#114;&#109;&#32;&#111;&#112;&#125;&#32;&#61;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#95;&#123;&#92;&#114;&#109;&#32;&#109;&#97;&#120;&#125;&#40;&#69;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"132\" style=\"vertical-align: -6px;\"\/>, which measures the largest singular value.<sup class=\"modern-footnotes-footnote \" data-mfn=\"13\" data-mfn-post-scope=\"00000000000005810000000000000000_647\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_647-13\">13<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_647-13\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"13\">Both the Frobenius and spectral norms are examples of an important subclass of unitarily invariant norms called <a href=\"https:\/\/en.wikipedia.org\/wiki\/Matrix_norm#Schatten_norms\">Schatten norms<\/a>. Another example of a Schatten norm, important in matrix completion, is the nuclear norm (sum of the singular values).<\/span>\n\n\n\n<p>With this preliminary out of the way, the Eckart\u2013Young theorem states that the truncated 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;\"\/> truncated to rank <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> is the closest of all rank-<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> 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;\"\/> when distances are measured using any unitarily invariant norm <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-6f7c7374d9450ba3b092597ca402f7b1_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#124;&#92;&#99;&#100;&#111;&#116;&#92;&#124;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"27\" style=\"vertical-align: -5px;\"\/>. If we let <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7cba662bca7ca6ad17c5c15d264202a6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#95;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"19\" style=\"vertical-align: -3px;\"\/> denote the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/>-truncated 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;\"\/>, then the Eckart\u2013Young theorem states that<\/p>\n\n\n<p><p class=\"ql-center-displayed-equation\" style=\"line-height: 19px;\"><span class=\"ql-right-eqno\"> (5) <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-3f2b2f9b14688810039b197e48f67ed5_l3.png\" height=\"19\" width=\"386\" 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;&#124;&#32;&#66;&#32;&#45;&#32;&#66;&#95;&#114;&#32;&#92;&#124;&#32;&#92;&#108;&#101;&#32;&#92;&#124;&#66;&#32;&#45;&#32;&#67;&#92;&#124;&#32;&#92;&#109;&#98;&#111;&#120;&#123;&#32;&#102;&#111;&#114;&#32;&#97;&#108;&#108;&#32;&#109;&#97;&#116;&#114;&#105;&#99;&#101;&#115;&#32;&#36;&#67;&#36;&#32;&#111;&#102;&#32;&#114;&#97;&#110;&#107;&#32;&#36;&#114;&#36;&#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>Less precisely, the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/>-truncated singular value decomposition is the best rank-<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> approximation to a matrix. <\/p>\n\n\n\n<p>Let&#8217;s unpack the Eckart\u2013Young theorem using the spectral and Frobenius norms. In this context, a brief calculation and the Eckart\u2013Young theorem proves that for any rank-<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-52134c3741ef3371f17ceb962d0792f6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#67;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>, we have<\/p>\n\n\n<p><p class=\"ql-center-displayed-equation\" style=\"line-height: 54px;\"><span class=\"ql-right-eqno\"> (6) <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-453f8d7434ede44d13f4c27be0f38745_l3.png\" height=\"54\" width=\"335\" 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;&#124;&#32;&#66;&#32;&#45;&#32;&#67;&#32;&#92;&#124;&#95;&#123;&#92;&#114;&#109;&#32;&#111;&#112;&#125;&#32;&#92;&#103;&#101;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#95;&#123;&#114;&#43;&#49;&#125;&#44;&#92;&#113;&#117;&#97;&#100;&#32;&#92;&#124;&#32;&#66;&#32;&#45;&#32;&#67;&#92;&#124;&#95;&#123;&#92;&#114;&#109;&#32;&#70;&#125;&#32;&#92;&#103;&#101;&#32;&#92;&#115;&#113;&#114;&#116;&#123;&#92;&#115;&#117;&#109;&#95;&#123;&#106;&#62;&#114;&#125;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#95;&#106;&#94;&#50;&#125;&#44; &#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>where <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-385d573a2b8427d706260e6a1fbfb8cc_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#115;&#105;&#103;&#109;&#97;&#95;&#49;&#44;&#92;&#115;&#105;&#103;&#109;&#97;&#95;&#50;&#44;&#92;&#108;&#100;&#111;&#116;&#115;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"71\" style=\"vertical-align: -4px;\"\/> are 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;\"\/>. This bound is quite intuitive. The error in low-rank approximation will be &#8220;small&#8221; when we measure the error in the spectral norm when each singular value we zero out is &#8220;small&#8221;. When we measure error in the Frobenius norm, the error in low-rank approximation is &#8220;small&#8221; when all of the singular values we zero out are &#8220;small&#8221; in aggregate when squared and added together. <\/p>\n\n\n\n<p>The Eckart\u2013Young theorem shows that possessing a good low-rank approximation is equivalent to the singular values rapidly decaying.<sup class=\"modern-footnotes-footnote \" data-mfn=\"14\" data-mfn-post-scope=\"00000000000005810000000000000000_647\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_647-14\">14<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_647-14\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"14\">At least when measured in unitarily invariant norms. A surprising result shows that even the identity matrix, whose singular values are all equal to one, has good low-rank approximations in the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Matrix_norm#Max_norm\">maximum entrywise absolute value norm<\/a>; see, e.g., <a href=\"https:\/\/epubs.siam.org\/doi\/abs\/10.1137\/18M1183480\">Theorem 1.0 in this article<\/a>.<\/span> If a matrix does not have nice singular value decay, no good low-rank approximation exists, computed by the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/>-truncated SVD or otherwise.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why Are So Many Matrices (Approximately) Low-rank?<\/h2>\n\n\n\n<p>As we&#8217;ve seen, we can perform computations with low-rank matrices represented using rank factorizations  much faster than general matrices. But all of this would be a moot point if low-rank matrices rarely occurred in practice. But in fact precisely the opposite is true: Approximately low-rank matrices occur all the time in practice.<\/p>\n\n\n\n<p>Sometimes, exact low-rank matrices appear for <em>algebraic<\/em> reasons. For instance, when we perform one step Gaussian elimination to compute an <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7502241092088409534a6e225be435c7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;&#85;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"26\" style=\"vertical-align: 0px;\"\/> factorization, the lower right portion of the eliminated matrix, the so-called <a href=\"https:\/\/www.ethanepperly.com\/index.php\/2020\/07\/09\/big-ideas-in-applied-math-the-schur-complement\/\">Schur complement<\/a>, is a rank-one update to the original matrix. In such cases, a rank-<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> matrix might appear in a computation when one performs <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> steps of some algebraic process: The appearance of low-rank matrices in such cases is unsurprising.<\/p>\n\n\n\n<p>However, often, matrices appearing in applications are (approximately) low-rank for <em>analytic<\/em> reasons instead. Consider the weather example from the start again. One might reasonably model the temperature on Earth as a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Smoothness\">smooth<\/a> function <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-17df3e3b1899f88a2793bcdb44b1ee86_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#84;&#40;&#92;&#99;&#100;&#111;&#116;&#44;&#92;&#99;&#100;&#111;&#116;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"44\" style=\"vertical-align: -5px;\"\/> of position <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b312d649591164b7149ed0756f694a76_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"10\" style=\"vertical-align: 0px;\"\/> and time <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f7c31707f29cc03d143ea78c9833003e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#116;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"6\" style=\"vertical-align: 0px;\"\/>. If we then let <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-44092f757392a8bd31d874dabe451fd3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;&#95;&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"15\" style=\"vertical-align: -3px;\"\/> denote the position on Earth of station <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4015d3bcae440238eb2e7a73e66bae43_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"6\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-714bd9770b82530f859fb66d036135a6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#116;&#95;&#106;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"12\" style=\"vertical-align: -6px;\"\/> the time representing the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-fe087f8cefab0bcb3270609914ada26c_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#106;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"9\" style=\"vertical-align: -4px;\"\/>th day of a given year, then the entries of the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-676e51a51d2f41a64088aeb105e847e7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#87;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"19\" style=\"vertical-align: 0px;\"\/> matrix are given by <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b478a7f52b7c5fad6dd69f03ae7ae09b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#87;&#95;&#123;&#105;&#106;&#125;&#32;&#61;&#32;&#84;&#40;&#120;&#95;&#105;&#44;&#116;&#95;&#106;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"115\" style=\"vertical-align: -6px;\"\/>. As discussed in my article on <a href=\"https:\/\/www.ethanepperly.com\/index.php\/2020\/07\/15\/big-ideas-in-applied-math-smoothness-and-degree-of-approximation\/\">smoothness and degree of approximation<\/a>, a smooth function function of one variable can be excellently approximated by, say, a polynomial of low degree. Analogously, a smooth function depending on two arguments, such as our function <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-17df3e3b1899f88a2793bcdb44b1ee86_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#84;&#40;&#92;&#99;&#100;&#111;&#116;&#44;&#92;&#99;&#100;&#111;&#116;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"44\" style=\"vertical-align: -5px;\"\/>, can be excellently be approximated by a <strong>separable expansion<\/strong> of rank <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/>:<\/p>\n\n\n<p><p class=\"ql-center-displayed-equation\" style=\"line-height: 19px;\"><span class=\"ql-right-eqno\"> (7) <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2e26339d978ec46e19ef4622244da43d_l3.png\" height=\"19\" width=\"305\" 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; &#84;&#40;&#120;&#44;&#116;&#41;&#32;&#92;&#97;&#112;&#112;&#114;&#111;&#120;&#32;&#92;&#112;&#104;&#105;&#95;&#49;&#40;&#120;&#41;&#32;&#92;&#112;&#115;&#105;&#95;&#49;&#40;&#116;&#41;&#32;&#43;&#32;&#92;&#99;&#100;&#111;&#116;&#115;&#32;&#43;&#32;&#92;&#112;&#104;&#105;&#95;&#114;&#40;&#120;&#41;&#32;&#92;&#112;&#115;&#105;&#95;&#114;&#40;&#116;&#41;&#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>Similar to functions of a single variable, the degree to which a function <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-17df3e3b1899f88a2793bcdb44b1ee86_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#84;&#40;&#92;&#99;&#100;&#111;&#116;&#44;&#92;&#99;&#100;&#111;&#116;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"44\" style=\"vertical-align: -5px;\"\/> can to be approximated by a separable function of small rank depends on the degree smoothness of the function <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-17df3e3b1899f88a2793bcdb44b1ee86_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#84;&#40;&#92;&#99;&#100;&#111;&#116;&#44;&#92;&#99;&#100;&#111;&#116;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"44\" style=\"vertical-align: -5px;\"\/>. Assuming the function <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-17df3e3b1899f88a2793bcdb44b1ee86_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#84;&#40;&#92;&#99;&#100;&#111;&#116;&#44;&#92;&#99;&#100;&#111;&#116;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"44\" style=\"vertical-align: -5px;\"\/> is quite smooth, then <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-17df3e3b1899f88a2793bcdb44b1ee86_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#84;&#40;&#92;&#99;&#100;&#111;&#116;&#44;&#92;&#99;&#100;&#111;&#116;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"44\" style=\"vertical-align: -5px;\"\/> can be approximated has a separable expansion of small rank <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/>. This leads immediately to a low-rank approximation to the matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-676e51a51d2f41a64088aeb105e847e7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#87;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"19\" style=\"vertical-align: 0px;\"\/> given by the rank factorization<\/p>\n\n\n<p><p class=\"ql-center-displayed-equation\" style=\"line-height: 79px;\"><span class=\"ql-right-eqno\"> (8) <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1b1a43f4231a3f3be40eda99ca982414_l3.png\" height=\"79\" width=\"486\" 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; &#87;&#32;&#61;&#32;&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#98;&#109;&#97;&#116;&#114;&#105;&#120;&#125;&#32;&#92;&#112;&#104;&#105;&#95;&#49;&#40;&#120;&#95;&#49;&#41;&#32;&#38;&#32;&#92;&#99;&#100;&#111;&#116;&#115;&#32;&#38;&#32;&#92;&#112;&#104;&#105;&#95;&#114;&#40;&#120;&#95;&#49;&#41;&#32;&#92;&#92;&#32;&#92;&#118;&#100;&#111;&#116;&#115;&#32;&#38;&#32;&#92;&#100;&#100;&#111;&#116;&#115;&#32;&#38;&#32;&#92;&#118;&#100;&#111;&#116;&#115;&#32;&#92;&#92;&#32;&#92;&#112;&#104;&#105;&#95;&#49;&#40;&#120;&#95;&#123;&#49;&#48;&#48;&#48;&#125;&#41;&#32;&#38;&#32;&#92;&#99;&#100;&#111;&#116;&#115;&#32;&#38;&#32;&#92;&#112;&#104;&#105;&#95;&#114;&#40;&#120;&#95;&#123;&#49;&#48;&#48;&#48;&#125;&#41;&#32;&#92;&#101;&#110;&#100;&#123;&#98;&#109;&#97;&#116;&#114;&#105;&#120;&#125;&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#98;&#109;&#97;&#116;&#114;&#105;&#120;&#125;&#32;&#92;&#112;&#115;&#105;&#95;&#49;&#40;&#116;&#95;&#49;&#41;&#32;&#38;&#32;&#92;&#99;&#100;&#111;&#116;&#115;&#32;&#38;&#32;&#92;&#112;&#115;&#105;&#95;&#114;&#40;&#116;&#95;&#49;&#41;&#32;&#92;&#92;&#32;&#92;&#118;&#100;&#111;&#116;&#115;&#32;&#38;&#32;&#92;&#100;&#100;&#111;&#116;&#115;&#32;&#38;&#32;&#92;&#118;&#100;&#111;&#116;&#115;&#32;&#92;&#92;&#32;&#92;&#112;&#115;&#105;&#95;&#49;&#40;&#116;&#95;&#123;&#51;&#54;&#53;&#125;&#41;&#32;&#38;&#32;&#92;&#99;&#100;&#111;&#116;&#115;&#32;&#38;&#32;&#92;&#112;&#115;&#105;&#95;&#114;&#40;&#116;&#95;&#123;&#51;&#54;&#53;&#125;&#41;&#32;&#92;&#101;&#110;&#100;&#123;&#98;&#109;&#97;&#116;&#114;&#105;&#120;&#125;&#94;&#92;&#116;&#111;&#112;&#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>Thus, in the context of our weather example, we see that the data matrix can be expected to be low-rank under the reasonable-sounding assumption that the temperature depends smoothly on space and time.<\/p>\n\n\n\n<p>What does this mean in general? Let&#8217;s speak informally. Suppose that the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2b80808dc4cfd99921c6014e9b28354b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#105;&#106;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"14\" style=\"vertical-align: -4px;\"\/>th entries of a 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;\"\/> are samples <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-9a70a851922fd9d117b0f77ca4215f09_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;&#40;&#120;&#95;&#105;&#44;&#121;&#95;&#106;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"63\" style=\"vertical-align: -6px;\"\/> from a smooth function <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e0fe02e2c78c74f061493ee9f4940965_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;&#40;&#92;&#99;&#100;&#111;&#116;&#44;&#92;&#99;&#100;&#111;&#116;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"41\" style=\"vertical-align: -5px;\"\/> for points <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-01ba24a8050dda982891c42710ce82c4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;&#95;&#49;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#120;&#95;&#109;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"79\" style=\"vertical-align: -4px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-9756d9276eee49d02ba917f82d0acfb1_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#121;&#95;&#49;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#121;&#95;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"73\" style=\"vertical-align: -4px;\"\/>. Then we can expect that <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;\"\/> will be approximately low-rank. From a computational point of view, we don&#8217;t need to know a separable expansion for the function <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e0fe02e2c78c74f061493ee9f4940965_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;&#40;&#92;&#99;&#100;&#111;&#116;&#44;&#92;&#99;&#100;&#111;&#116;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"41\" style=\"vertical-align: -5px;\"\/> or even the form of the function <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e0fe02e2c78c74f061493ee9f4940965_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;&#40;&#92;&#99;&#100;&#111;&#116;&#44;&#92;&#99;&#100;&#111;&#116;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"41\" style=\"vertical-align: -5px;\"\/> itself: If the smooth function <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e0fe02e2c78c74f061493ee9f4940965_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;&#40;&#92;&#99;&#100;&#111;&#116;&#44;&#92;&#99;&#100;&#111;&#116;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"41\" style=\"vertical-align: -5px;\"\/> exists and <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 sampled from it, then <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 approximately low-rank and we can find a low-rank approximation for <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;\"\/> using the truncated singular value decomposition.<sup class=\"modern-footnotes-footnote \" data-mfn=\"15\" data-mfn-post-scope=\"00000000000005810000000000000000_647\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_647-15\">15<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_647-15\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"15\">Note here an important subtlety. A more technically precise version of what we&#8217;ve stated here is that: if <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e0fe02e2c78c74f061493ee9f4940965_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;&#40;&#92;&#99;&#100;&#111;&#116;&#44;&#92;&#99;&#100;&#111;&#116;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"41\" style=\"vertical-align: -5px;\"\/> depending on inputs <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b312d649591164b7149ed0756f694a76_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"10\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7506eeeff09aad3bcf6b7259302df451_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#121;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"9\" style=\"vertical-align: -4px;\"\/> is sufficiently smooth for <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-bd3d5e5a67f33b4e889ddca1e20db1b7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#40;&#120;&#44;&#121;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"39\" style=\"vertical-align: -5px;\"\/>  in the product of compact regions <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-853a1de647cfa4ad2d74e0889b51890c_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#79;&#109;&#101;&#103;&#97;&#95;&#120;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"21\" style=\"vertical-align: -3px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b8d2cb1b206f6e676754a87808032c0c_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#79;&#109;&#101;&#103;&#97;&#95;&#121;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"20\" style=\"vertical-align: -6px;\"\/>, then 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-308a4d7196e08f56f5b98c8845d6a420_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#95;&#123;&#105;&#106;&#125;&#32;&#61;&#32;&#102;&#40;&#120;&#95;&#105;&#44;&#121;&#95;&#106;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"112\" style=\"vertical-align: -6px;\"\/> with <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c912a200ffa281a8ffe90e097ba2ea8e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;&#95;&#105;&#32;&#92;&#105;&#110;&#32;&#92;&#79;&#109;&#101;&#103;&#97;&#95;&#120;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"58\" style=\"vertical-align: -3px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e77d6330bc22191398d934bab2165a6f_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#121;&#95;&#106;&#32;&#92;&#105;&#110;&#32;&#92;&#79;&#109;&#101;&#103;&#97;&#95;&#121;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"57\" style=\"vertical-align: -6px;\"\/> will be low-rank in the sense that it can be approximated to accuracy <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-41442d5d9b2bc65add2f9c8896bf168b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#101;&#112;&#115;&#105;&#108;&#111;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"7\" style=\"vertical-align: 0px;\"\/> by a rank-<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> matrix where <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> grows slowly as <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-6d890b0f5af56bc2bde465a9af2fd218_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"15\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-75a5652acadcd645b180a972b75a9d09_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"11\" style=\"vertical-align: 0px;\"\/> increase and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-41442d5d9b2bc65add2f9c8896bf168b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#101;&#112;&#115;&#105;&#108;&#111;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"7\" style=\"vertical-align: 0px;\"\/> decreases. Note that, phrased this way, the low-rank property 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 asymptotic in the size <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-6d890b0f5af56bc2bde465a9af2fd218_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"15\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-75a5652acadcd645b180a972b75a9d09_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"11\" style=\"vertical-align: 0px;\"\/> and the accuracy <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-41442d5d9b2bc65add2f9c8896bf168b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#101;&#112;&#115;&#105;&#108;&#111;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"7\" style=\"vertical-align: 0px;\"\/>. If <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e0fe02e2c78c74f061493ee9f4940965_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;&#40;&#92;&#99;&#100;&#111;&#116;&#44;&#92;&#99;&#100;&#111;&#116;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"41\" style=\"vertical-align: -5px;\"\/> is not smooth on the entirety of the domain <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b935cf3d089d12dfc215a0f6f5fc818d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#79;&#109;&#101;&#103;&#97;&#95;&#120;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#92;&#79;&#109;&#101;&#103;&#97;&#95;&#121;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"63\" style=\"vertical-align: -6px;\"\/> or the size of the domains <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-853a1de647cfa4ad2d74e0889b51890c_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#79;&#109;&#101;&#103;&#97;&#95;&#120;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"21\" style=\"vertical-align: -3px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b8d2cb1b206f6e676754a87808032c0c_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#79;&#109;&#101;&#103;&#97;&#95;&#121;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"20\" style=\"vertical-align: -6px;\"\/> grow with <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-6d890b0f5af56bc2bde465a9af2fd218_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"15\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-75a5652acadcd645b180a972b75a9d09_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"11\" style=\"vertical-align: 0px;\"\/>, these asymptotic results may no longer hold. And if <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-6d890b0f5af56bc2bde465a9af2fd218_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"15\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-75a5652acadcd645b180a972b75a9d09_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"11\" style=\"vertical-align: 0px;\"\/> are small enough or <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-41442d5d9b2bc65add2f9c8896bf168b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#101;&#112;&#115;&#105;&#108;&#111;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"7\" style=\"vertical-align: 0px;\"\/> is large enough, <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;\"\/> may not be well approximated by a matrix of small rank. Only when there are enough rows and columns will meaningful savings from low-rank approximation be possible.<\/span>\n\n\n\n<p>This &#8220;smooth function&#8221; explanation for the prevalence of low-rank matrices is the reason for the appearance of low-rank matrices in <a href=\"https:\/\/en.wikipedia.org\/wiki\/Fast_multipole_method?wprov=sfti1\">fast multipole method<\/a>-type fast algorithms in computational physics and has <a href=\"https:\/\/epubs.siam.org\/doi\/abs\/10.1137\/18M1183480\">been proposed<\/a><sup class=\"modern-footnotes-footnote \" data-mfn=\"16\" data-mfn-post-scope=\"00000000000005810000000000000000_647\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_647-16\">16<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_647-16\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"16\">This article considers piecewise analytic functions rather than smooth functions; the principle is more-or-less the same.<\/span> as a general explanation for the prevalence of low-rank matrices in data science.<\/p>\n\n\n\n<p>(<a href=\"https:\/\/epubs.siam.org\/doi\/abs\/10.1137\/19M1244433?casa_token=g2BXSAjMuV8AAAAA:uijdX9HcHbv-IE5h1BxF1OS5xSH5Ee3BoYhrvLQI654MyboE-L5gXB5aaigtr1lAZ-SfpmcQ9jAD\">Another explanation<\/a> for low-rank structure for highly structured matrices like <a href=\"https:\/\/en.wikipedia.org\/wiki\/Hankel_matrix\">Hankel<\/a>, <a href=\"https:\/\/en.wikipedia.org\/wiki\/Toeplitz_matrix\">Toeplitz<\/a>, and <a href=\"https:\/\/en.wikipedia.org\/wiki\/Cauchy_matrix\">Cauchy<\/a> matrices<sup class=\"modern-footnotes-footnote \" data-mfn=\"17\" data-mfn-post-scope=\"00000000000005810000000000000000_647\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_647-17\">17<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_647-17\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"17\">Computations with these matrices can often also be accelerated with other approaches than low-rank structure; see <a href=\"https:\/\/www.ethanepperly.com\/index.php\/2021\/05\/10\/big-ideas-in-applied-math-the-fast-fourier-transform\/\">my post on the fast Fourier transform<\/a> for a discussion of fast Toeplitz matrix-vector products.<\/span> which appear in control theory applications has a different explanation involving a certain <a href=\"https:\/\/en.wikipedia.org\/wiki\/Sylvester_equation\">Sylvester equation<\/a>; see <a href=\"https:\/\/youtu.be\/9BYsNpTCZGg\">this lecture<\/a> for a great explanation.)<\/p>\n\n\n\n<p><strong>Upshot:<\/strong> A matrix is low-rank if it has many fewer linearly independent columns than columns. Such matrices can be efficiently represented using rank-factorizations, which can be used to perform various computations rapidly. Many matrices appearing in applications which are not genuinely low-rank can be well-approximated by low-rank matrices; the best possible such approximation is given by the truncated singular value decomposition. The prevalence of low-rank matrices in diverse application areas can partially be explained by noting that matrices sampled from smooth functions are approximately low-rank.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let&#8217;s start our discussion of low-rank matrices with an application. Suppose that there are 1000 weather stations spread across the world, and we record the temperature during each of the 365 days in a year. If we were to store each of the temperature measurements individually, we would need to store 365,000 numbers. However, we<a class=\"more-link\" href=\"https:\/\/www.ethanepperly.com\/index.php\/2021\/10\/26\/big-ideas-in-applied-math-low-rank-matrices\/\">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":[5],"tags":[],"class_list":["post-647","post","type-post","status-publish","format-standard","hentry","category-big-ideas-in-applied-math"],"_links":{"self":[{"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/posts\/647","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=647"}],"version-history":[{"count":41,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/posts\/647\/revisions"}],"predecessor-version":[{"id":1803,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/posts\/647\/revisions\/1803"}],"wp:attachment":[{"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/media?parent=647"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/categories?post=647"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/tags?post=647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}