{"id":1587,"date":"2023-07-05T18:45:31","date_gmt":"2023-07-05T18:45:31","guid":{"rendered":"https:\/\/www.ethanepperly.com\/?p=1587"},"modified":"2023-07-05T18:45:32","modified_gmt":"2023-07-05T18:45:32","slug":"markov-musings-2-couplings","status":"publish","type":"post","link":"https:\/\/www.ethanepperly.com\/index.php\/2023\/07\/05\/markov-musings-2-couplings\/","title":{"rendered":"Markov Musings 2: Couplings"},"content":{"rendered":"\n<p><em>This post is part of a series, <strong><a href=\"https:\/\/www.ethanepperly.com\/index.php\/category\/markov-musings\/\">Markov Musings<\/a><\/strong>, about the mathematical analysis of Markov chains. See here for the <a href=\"https:\/\/www.ethanepperly.com\/index.php\/2023\/06\/29\/markov-musings-1-the-fundamental-theorem\/\">first post<\/a> in the series.<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>In the <a href=\"https:\/\/www.ethanepperly.com\/index.php\/2023\/06\/29\/markov-musings-1-the-fundamental-theorem\/\">last post<\/a>, we saw a proof of the fundamental theorem of Markov chains using the method of <em><a href=\"https:\/\/en.wikipedia.org\/wiki\/Coupling_(probability)\">couplings<\/a><\/em>. In this post, we will use couplings to provide quantitative bounds on the rate of Markov chain convergence.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Mixing Time<\/h2>\n\n\n\n<p>Let us begin where the <a href=\"https:\/\/www.ethanepperly.com\/index.php\/2023\/06\/29\/markov-musings-1-the-fundamental-theorem\/\">last post<\/a> ended by recalling some facts about the <em>mixing time<\/em> of a Markov chain. Consider a <a href=\"https:\/\/www.ethanepperly.com\/index.php\/2023\/05\/30\/big-ideas-in-applied-math-markov-chains\/\">Markov chain<\/a> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e6632dc87d636e1ce65ab3aca652a412_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;&#95;&#48;&#44;&#120;&#95;&#49;&#44;&#120;&#95;&#50;&#44;&#92;&#108;&#100;&#111;&#116;&#115;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"97\" style=\"vertical-align: -4px;\"\/> with <a href=\"https:\/\/en.wikipedia.org\/wiki\/Markov_chain#Stationary_distribution_relation_to_eigenvectors_and_simplices\">stationary distribution<\/a> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4d9e32b5e4babc6802251992b8a21a0b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#112;&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"11\" style=\"vertical-align: 0px;\"\/>. Recall that the mixing time is<br><p class=\"ql-center-displayed-equation\" style=\"line-height: 43px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e491d914ce283944ca10dc9d96bdb1a5_l3.png\" height=\"43\" width=\"365\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#109;&#32;&#109;&#105;&#120;&#125;&#32;&#92;&#99;&#111;&#108;&#111;&#110;&#101;&#113;&#113;&#32;&#92;&#109;&#105;&#110;&#32;&#92;&#108;&#101;&#102;&#116;&#92;&#123;&#32;&#110;&#32;&#92;&#103;&#101;&#32;&#49;&#32;&#58;&#32;&#92;&#109;&#97;&#120;&#95;&#123;&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#48;&#41;&#125;&#125;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#110;&#41;&#125;&#32;&#45;&#32;&#92;&#112;&#105;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#84;&#86;&#125;&#32;&#92;&#108;&#101;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#50;&#101;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#92;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><br>Here, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-75a33285f2152f32803f17072b47f3b8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#110;&#41;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"26\" style=\"vertical-align: -4px;\"\/> denotes the distribution of the state <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-530ccd9ae0dfb9a2473662749810c94e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;&#95;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"18\" style=\"vertical-align: -3px;\"\/> of the chain at time <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 <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b9d14c01af1778051b75585f34718b29_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#110;&#111;&#114;&#109;&#123;&#92;&#99;&#100;&#111;&#116;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#84;&#86;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"41\" style=\"vertical-align: -5px;\"\/> is the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Total_variation_distance_of_probability_measures\">total variation distance<\/a>. For more on the total variation distance, see the <a href=\"https:\/\/www.ethanepperly.com\/index.php\/2023\/06\/29\/markov-musings-1-the-fundamental-theorem\/\">previous post<\/a>.<\/p>\n\n\n\n<p>At the end of <a href=\"https:\/\/www.ethanepperly.com\/index.php\/2023\/06\/29\/markov-musings-1-the-fundamental-theorem\/\">last post<\/a>, we saw the following theorem, showing that the mixing time controls the rate of Markov chain convergence.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Theorem (mixing time as convergence rate).<\/strong> For any starting distribution <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1328c0d630dd173d409f4135b17663ee_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#48;&#41;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"25\" style=\"vertical-align: -4px;\"\/>, <p class=\"ql-center-displayed-equation\" style=\"line-height: 34px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8a28da28e02550f209ce8ec1c8b5b79e_l3.png\" height=\"34\" width=\"201\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#110;&#111;&#114;&#109;&#123;&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#110;&#41;&#125;&#32;&#45;&#32;&#92;&#112;&#105;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#84;&#86;&#125;&#32;&#92;&#108;&#101;&#32;&#101;&#94;&#123;&#45;&#92;&#108;&#102;&#108;&#111;&#111;&#114;&#32;&#110;&#32;&#47;&#32;&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#109;&#32;&#109;&#105;&#120;&#125;&#92;&#114;&#102;&#108;&#111;&#111;&#114;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>Consequently, if <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c050c1b6f9738e1bc231301210ac0f0e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;&#92;&#103;&#101;&#32;&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#109;&#32;&#109;&#105;&#120;&#125;&#92;&#99;&#100;&#111;&#116;&#32;&#92;&#108;&#99;&#101;&#105;&#108;&#32;&#92;&#108;&#111;&#103;&#40;&#49;&#47;&#92;&#101;&#112;&#115;&#105;&#108;&#111;&#110;&#41;&#92;&#114;&#99;&#101;&#105;&#108;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"153\" style=\"vertical-align: -5px;\"\/>, then <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d160372052f5ed882e5f8c91416412bb_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#110;&#111;&#114;&#109;&#123;&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#110;&#41;&#125;&#32;&#45;&#32;&#92;&#112;&#105;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#84;&#86;&#125;&#32;&#92;&#108;&#101;&#32;&#92;&#118;&#97;&#114;&#101;&#112;&#115;&#105;&#108;&#111;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"23\" width=\"132\" style=\"vertical-align: -7px;\"\/>.<\/p><\/blockquote>\n\n\n\n<p>This result motivates us to develop techniques to bound the mixing time <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-328bacee3ac72ec40b4459301f2f4a9b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#109;&#32;&#109;&#105;&#120;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"31\" style=\"vertical-align: -3px;\"\/>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Couplings and Convergence<\/h2>\n\n\n\n<p>In the previous post, we made essential use of <em><a href=\"https:\/\/en.wikipedia.org\/wiki\/Coupling_(probability)\">couplings of probability distributions<\/a><\/em>. In this post, we will extend this notion by using <em>couplings of entire Markov chains<\/em>.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Definition (coupling of Markov chains).<\/strong> A <em>coupling of Markov chains<\/em> with <a href=\"https:\/\/en.wikipedia.org\/wiki\/Stochastic_matrix\">transition matrix<\/a> <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;\"\/> are two processes <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e6632dc87d636e1ce65ab3aca652a412_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;&#95;&#48;&#44;&#120;&#95;&#49;&#44;&#120;&#95;&#50;&#44;&#92;&#108;&#100;&#111;&#116;&#115;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"97\" style=\"vertical-align: -4px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4239fa51204af78cea39a34188b619fb_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#121;&#95;&#48;&#44;&#121;&#95;&#49;&#44;&#121;&#95;&#50;&#44;&#92;&#108;&#100;&#111;&#116;&#115;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"93\" style=\"vertical-align: -4px;\"\/> such that (A) each process is individually a Markov chain with transition matrix <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;\"\/>: In particular, <p class=\"ql-center-displayed-equation\" style=\"line-height: 19px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8a91e29baa6fd219723bc325c68d9b75_l3.png\" height=\"19\" width=\"389\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#112;&#114;&#111;&#98;&#92;&#123;&#120;&#95;&#123;&#110;&#43;&#49;&#125;&#32;&#61;&#32;&#106;&#32;&#92;&#109;&#105;&#100;&#32;&#120;&#95;&#110;&#32;&#61;&#32;&#105;&#32;&#92;&#125;&#32;&#61;&#32;&#92;&#112;&#114;&#111;&#98;&#92;&#123;&#121;&#95;&#123;&#110;&#43;&#49;&#125;&#32;&#61;&#32;&#106;&#32;&#92;&#109;&#105;&#100;&#32;&#121;&#95;&#110;&#32;&#61;&#32;&#105;&#32;&#92;&#125;&#32;&#61;&#32;&#80;&#95;&#123;&#105;&#106;&#125;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>and (B) if <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-86df06f5d7257f4db0026714ccc1ca51_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;&#95;&#110;&#32;&#61;&#32;&#121;&#95;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"60\" style=\"vertical-align: -4px;\"\/>, then <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-54b8271009677e14f9f43910824a56fa_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;&#95;&#123;&#110;&#43;&#49;&#125;&#32;&#61;&#32;&#121;&#95;&#123;&#110;&#43;&#49;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"95\" style=\"vertical-align: -5px;\"\/>.<\/p><\/blockquote>\n\n\n\n<p>A coupling of Markov chains thus consists of a pair of Markov chains which become glued together should they ever touch.<\/p>\n\n\n\n<p>There are several ways we can use couplings to bound the mixing time of Markov chains. Here is one way. Let <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e6632dc87d636e1ce65ab3aca652a412_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;&#95;&#48;&#44;&#120;&#95;&#49;&#44;&#120;&#95;&#50;&#44;&#92;&#108;&#100;&#111;&#116;&#115;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"97\" style=\"vertical-align: -4px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4239fa51204af78cea39a34188b619fb_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#121;&#95;&#48;&#44;&#121;&#95;&#49;&#44;&#121;&#95;&#50;&#44;&#92;&#108;&#100;&#111;&#116;&#115;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"93\" style=\"vertical-align: -4px;\"\/> be a coupling of Markov chains for which <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1cb654a3bb05fcd9620c19c83d513488_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;&#95;&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"17\" style=\"vertical-align: -3px;\"\/> is initialized in some initial distribution <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-65885afea2a9bd6a4bb920f0477d937b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;&#95;&#48;&#32;&#92;&#115;&#105;&#109;&#32;&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#48;&#41;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"66\" style=\"vertical-align: -4px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1f62c45774783e66444d124b2d9f6b8f_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#121;&#95;&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"16\" style=\"vertical-align: -4px;\"\/> is initialized in the stationary distribution <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-951a5660451d0d8c2f7db5e032b8f253_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#121;&#95;&#48;&#32;&#92;&#115;&#105;&#109;&#32;&#92;&#112;&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"51\" style=\"vertical-align: -4px;\"\/>. Let <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-83d94f5a53a6aff22963832b1e02589b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#48;&#41;&#125;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"30\" style=\"vertical-align: -8px;\"\/> be the time at which <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;\"\/> meet:<p class=\"ql-center-displayed-equation\" style=\"line-height: 22px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-68580815d8347111c8a35c6767c24d3e_l3.png\" height=\"22\" width=\"229\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#48;&#41;&#125;&#125;&#32;&#92;&#99;&#111;&#108;&#111;&#110;&#101;&#113;&#113;&#32;&#92;&#109;&#105;&#110;&#92;&#123;&#32;&#110;&#32;&#92;&#103;&#101;&#32;&#48;&#32;&#58;&#32;&#120;&#95;&#110;&#32;&#61;&#32;&#121;&#95;&#110;&#92;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>The following theorem shows that the tails of the random variable <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-499081055c5514b31ec0f88bfe1e280f_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#116;&#97;&#117;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"10\" style=\"vertical-align: 0px;\"\/> control the convergence of the Markov chain <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e6632dc87d636e1ce65ab3aca652a412_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;&#95;&#48;&#44;&#120;&#95;&#49;&#44;&#120;&#95;&#50;&#44;&#92;&#108;&#100;&#111;&#116;&#115;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"97\" style=\"vertical-align: -4px;\"\/> to stationarity.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Theorem (convergence from couplings).<\/strong> Then <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-727d2ee212326b2a53339904f52462d4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#110;&#111;&#114;&#109;&#123;&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#110;&#41;&#125;&#32;&#45;&#32;&#92;&#112;&#105;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#84;&#86;&#125;&#32;&#92;&#108;&#101;&#32;&#92;&#112;&#114;&#111;&#98;&#92;&#123;&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#48;&#41;&#125;&#125;&#32;&#62;&#32;&#110;&#92;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"24\" width=\"218\" style=\"vertical-align: -8px;\"\/>.<\/p><\/blockquote>\n\n\n\n<p>This result is an immediate application of the coupling lemma from <a href=\"https:\/\/www.ethanepperly.com\/index.php\/2023\/06\/29\/markov-musings-1-the-fundamental-theorem\/\">last post<\/a>. Using this bound, we can bound the mixing time<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Corollary (mixing time from couplings).<\/strong> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-6bff20b3e6944c95a1e8bf2d625c22d0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#109;&#32;&#109;&#105;&#120;&#125;&#32;&#92;&#108;&#101;&#32;&#50;&#101;&#32;&#92;&#109;&#97;&#120;&#95;&#123;&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#48;&#41;&#125;&#125;&#32;&#92;&#101;&#120;&#112;&#101;&#99;&#116;&#091;&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#48;&#41;&#125;&#125;&#093;\" title=\"Rendered by QuickLaTeX.com\" height=\"21\" width=\"186\" style=\"vertical-align: -8px;\"\/>.<\/p><\/blockquote>\n\n\n\n<p>The maximum is taken over all initial distributions <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1328c0d630dd173d409f4135b17663ee_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#48;&#41;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"25\" style=\"vertical-align: -4px;\"\/>.<\/p>\n\n\n\n<p>Indeed, by the above theorem and <a href=\"https:\/\/en.wikipedia.org\/wiki\/Markov's_inequality\">Markov&#8217;s inequality<\/a>,<sup class=\"modern-footnotes-footnote \" data-mfn=\"1\" data-mfn-post-scope=\"000000000000057f0000000000000000_1587\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-000000000000057f0000000000000000_1587-1\">1<\/a><\/sup><span id=\"mfn-content-000000000000057f0000000000000000_1587-1\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"1\">For more on concentration inequalities such as Markov&#8217;s inequality, see <a href=\"https:\/\/www.ethanepperly.com\/index.php\/2022\/08\/02\/big-ideas-in-applied-math-concentration-inequalities\/\">my post on the subject<\/a>.<\/span><p class=\"ql-center-displayed-equation\" style=\"line-height: 39px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-74fd53f9c863d5faf2edb9698e58854f_l3.png\" height=\"39\" width=\"303\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#110;&#111;&#114;&#109;&#123;&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#110;&#41;&#125;&#32;&#45;&#32;&#92;&#112;&#105;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#84;&#86;&#125;&#32;&#92;&#108;&#101;&#32;&#92;&#112;&#114;&#111;&#98;&#92;&#123;&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#48;&#41;&#125;&#125;&#32;&#62;&#32;&#110;&#92;&#125;&#92;&#108;&#101;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#101;&#120;&#112;&#101;&#99;&#116;&#091;&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#48;&#41;&#125;&#125;&#093;&#125;&#123;&#110;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>Take a maximum over initial distribution <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1328c0d630dd173d409f4135b17663ee_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#48;&#41;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"25\" style=\"vertical-align: -4px;\"\/> and set <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-eb1acb9fdb7e0a9091b0a4daefa539c8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;&#32;&#92;&#99;&#111;&#108;&#111;&#110;&#101;&#113;&#113;&#32;&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#109;&#32;&#109;&#105;&#120;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"69\" style=\"vertical-align: -3px;\"\/>. Then the left-hand side is at most <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0c48a55be6e2e7f5e324c268c858c685_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;&#47;&#50;&#101;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"34\" style=\"vertical-align: -5px;\"\/>, so<p class=\"ql-center-displayed-equation\" style=\"line-height: 45px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-61cf831f4db72e776d3122e3e323b7c1_l3.png\" height=\"45\" width=\"462\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#50;&#101;&#125;&#32;&#92;&#108;&#101;&#32;&#92;&#109;&#97;&#120;&#95;&#123;&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#48;&#41;&#125;&#125;&#92;&#110;&#111;&#114;&#109;&#123;&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#109;&#32;&#109;&#105;&#120;&#125;&#41;&#125;&#32;&#45;&#32;&#92;&#112;&#105;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#84;&#86;&#125;&#32;&#61;&#32;&#92;&#112;&#114;&#111;&#98;&#92;&#123;&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#48;&#41;&#125;&#125;&#32;&#62;&#32;&#110;&#92;&#125;&#32;&#92;&#108;&#101;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#109;&#97;&#120;&#95;&#123;&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#48;&#41;&#125;&#125;&#92;&#101;&#120;&#112;&#101;&#99;&#116;&#091;&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#48;&#41;&#125;&#125;&#093;&#125;&#123;&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#109;&#32;&#109;&#105;&#120;&#125;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>Rearranging gives the corollary.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Example: <a href=\"https:\/\/en.wikipedia.org\/wiki\/Bit_array\">Bit Strings<\/a><\/h2>\n\n\n\n<p>There are a number of examples<sup class=\"modern-footnotes-footnote \" data-mfn=\"2\" data-mfn-post-scope=\"000000000000057f0000000000000000_1587\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-000000000000057f0000000000000000_1587-2\">2<\/a><\/sup><span id=\"mfn-content-000000000000057f0000000000000000_1587-2\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"2\">See, for instance, section 5.3 of <em><a href=\"https:\/\/pages.uoregon.edu\/dlevin\/MARKOV\/\">Markov Chains and Mixing Times<\/a><\/em>.<\/span> to prove bounds on mixing times using the method of couplings, but we will focus on a simple but illustrative example: <em>a lazy random walk on the set of <a href=\"https:\/\/en.wikipedia.org\/wiki\/Bit_array\">bit strings<\/a><\/em>.<\/p>\n\n\n\n<p>A <em>bit string<\/em> is a sequence of 0&#8217;s and 1&#8217;s. Bit strings are used to store and represent information on digital computers. For instance, the character &#8220;a&#8221; is stored as &#8220;1100001&#8221; using the <a href=\"https:\/\/en.wikipedia.org\/wiki\/ASCII\">ASCII encoding<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The Chain<\/h3>\n\n\n\n<p>Our example is a Markov chain whose states consist of all bit strings of length <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ec1be7928bcd319c17c1931fbb8059ac_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"16\" style=\"vertical-align: 0px;\"\/>. For each step of the chain,<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>With 50% probability, we do nothing and leave the state unchanged.<\/li><li>With 50% probability, we choose a (uniform) random position from <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-27e3598fd2d4f0491067f1afaced92e9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"7\" style=\"vertical-align: 0px;\"\/> to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ec1be7928bcd319c17c1931fbb8059ac_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"16\" style=\"vertical-align: 0px;\"\/> and flip the bit in that position, changing 0 to 1 or 1 to 0.<\/li><\/ul>\n\n\n\n<p>One can think of this Markov chain as modeling a random process in which a bit string is corrupted by <a href=\"https:\/\/en.wikipedia.org\/wiki\/Single-event_upset\">errors which flip a single bit<\/a>. The stationary distribution for this chain is the uniform distribution on all bit strings (i.e., each bit string 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;\"\/> has the same probability <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-9804be7ce6d99e7a35a89e473f198493_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#50;&#94;&#123;&#45;&#110;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"28\" style=\"vertical-align: 0px;\"\/>). Therefore, one can also think of this Markov chain as a very inefficient way of generating a string of random bits.<sup class=\"modern-footnotes-footnote \" data-mfn=\"3\" data-mfn-post-scope=\"000000000000057f0000000000000000_1587\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-000000000000057f0000000000000000_1587-3\">3<\/a><\/sup><span id=\"mfn-content-000000000000057f0000000000000000_1587-3\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"3\">Another way of thinking about this Markov chain is as a random walk on the vertices of an <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;\"\/>-dimensional <a href=\"https:\/\/en.wikipedia.org\/wiki\/Hypercube_graph\">hypercube graph<\/a>. With 50% probability, we stay put, and with 50% probability, we move along a random edge. Because we have a 50% probability of doing nothing, we call this process a <em>lazy<\/em> random walk.<\/span>\n\n\n\n<h3 class=\"wp-block-heading\">Designing the Coupling<\/h3>\n\n\n\n<p>Let us use the method of couplings to determine how fast this chain mixes. First, observe that there&#8217;s an alternative way of stating the transition rule for this Markov chain:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Pick a (uniform) random position from <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-27e3598fd2d4f0491067f1afaced92e9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"7\" style=\"vertical-align: 0px;\"\/> to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ec1be7928bcd319c17c1931fbb8059ac_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"16\" style=\"vertical-align: 0px;\"\/> and set the bit in that position to <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;\"\/> with 50% probability and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-27e3598fd2d4f0491067f1afaced92e9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"7\" style=\"vertical-align: 0px;\"\/> with 50% probability.<\/li><\/ul>\n\n\n\n<p>Indeed, under this rule, half of the time we leave the state unchanged because we set the bit in the selected position to the value it already had. For the other half of the time, we flip the selected bit.<\/p>\n\n\n\n<p>Now, we construct a coupling. Initialize <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1cb654a3bb05fcd9620c19c83d513488_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;&#95;&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"17\" style=\"vertical-align: -3px;\"\/> in an arbitrary distribution <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1328c0d630dd173d409f4135b17663ee_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#48;&#41;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"25\" style=\"vertical-align: -4px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1f62c45774783e66444d124b2d9f6b8f_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#121;&#95;&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"16\" style=\"vertical-align: -4px;\"\/> in the stationary distribution (uniform over all bit strings). The key to construct a coupling will be to use <em>the same randomness<\/em> to update the state of both the &#8220;<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;\"\/>&#8221; chain and the &#8220;<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;\"\/>&#8221; chain. For this chain, there&#8217;s a natural way to do this.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>At time <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;\"\/>, pick a (uniform) random position <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a9dff491d322ce5642bdd3537b146fc2_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;&#92;&#108;&#101;&#32;&#112;&#95;&#110;&#32;&#92;&#108;&#101;&#32;&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"89\" style=\"vertical-align: -4px;\"\/> and a (uniform) random bit <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0ec94062608ad2976aa6256f7751ba87_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#98;&#95;&#110;&#32;&#92;&#105;&#110;&#32;&#92;&#123;&#48;&#44;&#49;&#92;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"81\" style=\"vertical-align: -5px;\"\/>. Set <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4b4318d02e424b432ffebd5fc0d8ac00_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;&#95;&#123;&#110;&#43;&#49;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"35\" style=\"vertical-align: -5px;\"\/> by changing the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-05584cfea06b200a1692a2afc39a06c8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#112;&#95;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"18\" style=\"vertical-align: -4px;\"\/>th bit of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-530ccd9ae0dfb9a2473662749810c94e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;&#95;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"18\" style=\"vertical-align: -3px;\"\/> to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2e9283c610d6ea771cf0951bc98c3274_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#98;&#95;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"16\" style=\"vertical-align: -3px;\"\/>, and set <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-fe9a1fcf92275a9a2def04959b847582_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#121;&#95;&#123;&#110;&#43;&#49;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"34\" style=\"vertical-align: -5px;\"\/> by changing the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-05584cfea06b200a1692a2afc39a06c8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#112;&#95;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"18\" style=\"vertical-align: -4px;\"\/>th bit of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a6b6360e62c33a01591f6a84eda84529_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#121;&#95;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"17\" style=\"vertical-align: -4px;\"\/> to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2e9283c610d6ea771cf0951bc98c3274_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#98;&#95;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"16\" style=\"vertical-align: -3px;\"\/>.<\/p><\/blockquote>\n\n\n\n<p>We couple the two chains by setting the same position <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-05584cfea06b200a1692a2afc39a06c8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#112;&#95;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"18\" style=\"vertical-align: -4px;\"\/> to the same bit <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2e9283c610d6ea771cf0951bc98c3274_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#98;&#95;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"16\" style=\"vertical-align: -3px;\"\/>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Bounding the Mixing Time<\/h3>\n\n\n\n<p>To bound the mixing time, we need to understand when these two chains meet. Observe that if we pick position <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;\"\/> to set at some point, the two Markov chains have the same bit in position <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;\"\/> at every time later in the chain. Consequently,<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>If all of the positions <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7d61e268eb5fdd134c865dd885842154_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"63\" style=\"vertical-align: -4px;\"\/> have been chosen by time <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;\"\/>, then <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-86df06f5d7257f4db0026714ccc1ca51_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;&#95;&#110;&#32;&#61;&#32;&#121;&#95;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"60\" style=\"vertical-align: -4px;\"\/>.<\/p><\/blockquote>\n\n\n\n<p>The two chains might meet before all of the positions have been chosen, but they are guaranteed to meet after.<\/p>\n\n\n\n<p>Set <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f5fa0f926544be2ed445cd912157a850_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#109;&#32;&#112;&#105;&#99;&#107;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"33\" style=\"vertical-align: -6px;\"\/> to be the time at which all positions <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7d61e268eb5fdd134c865dd885842154_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"63\" style=\"vertical-align: -4px;\"\/> have been selected at least once. Then our observation is equivalent to saying that the meeting time <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-83d94f5a53a6aff22963832b1e02589b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#48;&#41;&#125;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"30\" style=\"vertical-align: -8px;\"\/> is smaller than <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f5fa0f926544be2ed445cd912157a850_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#109;&#32;&#112;&#105;&#99;&#107;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"33\" style=\"vertical-align: -6px;\"\/>, <p class=\"ql-center-displayed-equation\" style=\"line-height: 20px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-878ab3b502681c3fb7c0453599af3293_l3.png\" height=\"20\" width=\"93\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#48;&#41;&#125;&#125;&#32;&#92;&#108;&#101;&#32;&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#109;&#32;&#112;&#105;&#99;&#107;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>Thus, to bound the mixing time, it is sufficient to compute the expected value of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f5fa0f926544be2ed445cd912157a850_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#109;&#32;&#112;&#105;&#99;&#107;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"33\" style=\"vertical-align: -6px;\"\/>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Collecting Coupons<\/h3>\n\n\n\n<p>Computing the expected value of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f5fa0f926544be2ed445cd912157a850_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#109;&#32;&#112;&#105;&#99;&#107;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"33\" style=\"vertical-align: -6px;\"\/> is actually an example of a very famous problem in probability theory known as the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Coupon_collector%27s_problem\">coupon collector problem<\/a>. The classic version goes like this:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>A cereal company is running a promotion where each box of cereal contains a coupon, which is equally likely to be any of one of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ec1be7928bcd319c17c1931fbb8059ac_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"16\" style=\"vertical-align: 0px;\"\/> different colors. A coupon of each color can be traded in for a toy. What is the expected number of boxes we need to open in order to qualify for the toy?<\/p><\/blockquote>\n\n\n\n<p>The coupon collector is exactly the same as our problem, with the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ec1be7928bcd319c17c1931fbb8059ac_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"16\" style=\"vertical-align: 0px;\"\/> different colors of coupons playing the same role as the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ec1be7928bcd319c17c1931fbb8059ac_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"16\" style=\"vertical-align: 0px;\"\/> different positions in our bit strings. Going forward, let&#8217;s use the language of coupons and boxes to describe this problem, as its more colorful.<\/p>\n\n\n\n<p>When tackling a hard question like computing <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ff405a11db183f95baecf7299661c685_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#101;&#120;&#112;&#101;&#99;&#116;&#091;&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#109;&#32;&#112;&#105;&#99;&#107;&#125;&#093;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"53\" style=\"vertical-align: -6px;\"\/>, it can be helpful to break into easier pieces. Let&#8217;s start with the simplest possible question: How many picks do we need to collect the first coupon? Just one. We always get a coupon in our first box.<\/p>\n\n\n\n<p>With that question answered, let&#8217;s ask the next-simplest question: How many picks do we need to collect the second coupon, differently colored than the first? There are <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ec1be7928bcd319c17c1931fbb8059ac_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"16\" style=\"vertical-align: 0px;\"\/> colors and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ebe5b6207c113875804be98ed601f8f1_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#78;&#45;&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"46\" style=\"vertical-align: 0px;\"\/> of them are different from the first. So the probability of picking a new coupon in the second box is <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-bf35732619c8ed8fb6823dabba6c9229_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#40;&#78;&#45;&#49;&#41;&#47;&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"83\" style=\"vertical-align: -5px;\"\/>. In fact,<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Until we succeed at picking the second unique coupon, every box has an independent <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-bf35732619c8ed8fb6823dabba6c9229_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#40;&#78;&#45;&#49;&#41;&#47;&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"83\" style=\"vertical-align: -5px;\"\/> chance of containing such a coupon.<\/p><\/blockquote>\n\n\n\n<p>The number of boxes needed is therefore a <em><a href=\"https:\/\/en.wikipedia.org\/wiki\/Geometric_distribution\">geometric random variable<\/a><\/em> with success probability <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-70e8f6a5941f251d1c941218a4331f46_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#112;&#32;&#61;&#32;&#40;&#78;&#45;&#49;&#41;&#47;&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"118\" style=\"vertical-align: -5px;\"\/>, and its mean is <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7fba895675ceb0449353feb90aa5f068_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;&#47;&#112;&#32;&#61;&#32;&#78;&#47;&#40;&#78;&#45;&#49;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"133\" style=\"vertical-align: -5px;\"\/>. On average, we need <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-68224cef208c026f8906faeb778e93b3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#78;&#47;&#40;&#78;&#45;&#49;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"83\" style=\"vertical-align: -5px;\"\/> picks to collect the second coupon.<\/p>\n\n\n\n<p>The reasoning is the same for the third coupon. There are <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-36121cdc45201d9cbd4f9d1adec721a1_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#78;&#45;&#50;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"46\" style=\"vertical-align: 0px;\"\/> coupons we haven&#8217;t collected and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ec1be7928bcd319c17c1931fbb8059ac_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"16\" style=\"vertical-align: 0px;\"\/> total, so the probability of picking the third coupon in each box is <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4402c8a15b507404ca09d5e715cd7ec4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#40;&#78;&#45;&#50;&#41;&#47;&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"83\" style=\"vertical-align: -5px;\"\/>. Thus, the number of picks is a geometric random variable with success probability <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4402c8a15b507404ca09d5e715cd7ec4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#40;&#78;&#45;&#50;&#41;&#47;&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"83\" style=\"vertical-align: -5px;\"\/> with mean <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-42b61a437ac4b52d2c6f47f107d3c456_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#78;&#47;&#40;&#78;&#45;&#50;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"83\" style=\"vertical-align: -5px;\"\/>.<\/p>\n\n\n\n<p>In general, we need an expected <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b57323cb03286cfa18e9947d9dde49d5_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#78;&#32;&#47;&#32;&#40;&#78;&#45;&#107;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"84\" style=\"vertical-align: -5px;\"\/> picks to pick the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f65286b751f121928913d4aa91d94ee9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#107;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"9\" style=\"vertical-align: 0px;\"\/>th coupon. Adding up the expected number of picks for each <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-365d792f662685a960b2eb59d0ada3fd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#107;&#32;&#61;&#32;&#49;&#44;&#50;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"114\" style=\"vertical-align: -4px;\"\/>, we obtain that the total number of picks required is to collect all the coupons is<p class=\"ql-center-displayed-equation\" style=\"line-height: 43px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-db166dbcfe9198024b7dafb5de81fdf7_l3.png\" height=\"43\" width=\"642\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#101;&#120;&#112;&#101;&#99;&#116;&#091;&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#109;&#32;&#112;&#105;&#99;&#107;&#125;&#093;&#32;&#61;&#32;&#49;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#78;&#125;&#123;&#78;&#45;&#49;&#125;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#78;&#125;&#123;&#78;&#45;&#50;&#125;&#32;&#43;&#32;&#92;&#99;&#100;&#111;&#116;&#115;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#78;&#125;&#123;&#78;&#45;&#40;&#78;&#45;&#49;&#41;&#125;&#32;&#61;&#32;&#78;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#45;&#49;&#125;&#32;&#43;&#32;&#92;&#99;&#100;&#111;&#116;&#115;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#50;&#125;&#32;&#43;&#32;&#49;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>More concisely, if we let <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-665637c4725be84f480fdda8ac9e9c27_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#72;&#95;&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"27\" style=\"vertical-align: -3px;\"\/> denote the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ec1be7928bcd319c17c1931fbb8059ac_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"16\" style=\"vertical-align: 0px;\"\/>th <a href=\"https:\/\/en.wikipedia.org\/wiki\/Harmonic_number\">harmonic number<\/a><p class=\"ql-center-displayed-equation\" style=\"line-height: 36px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-280c58a265450ae987b6c6236999bfd0_l3.png\" height=\"36\" width=\"178\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#72;&#95;&#78;&#32;&#61;&#32;&#49;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#50;&#125;&#32;&#43;&#32;&#92;&#99;&#100;&#111;&#116;&#115;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>then <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ec1cac0ce484b5e1ceef29a198523670_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#101;&#120;&#112;&#101;&#99;&#116;&#091;&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#109;&#32;&#112;&#105;&#99;&#107;&#125;&#093;&#32;&#61;&#32;&#78;&#72;&#95;&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"122\" style=\"vertical-align: -6px;\"\/>. Since the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ec1be7928bcd319c17c1931fbb8059ac_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"16\" style=\"vertical-align: 0px;\"\/>th harmonic number is at most <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a59c303800f1eb687e622e1678101709_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#72;&#95;&#78;&#32;&#92;&#108;&#101;&#32;&#92;&#108;&#111;&#103;&#40;&#78;&#41;&#32;&#43;&#32;&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"134\" style=\"vertical-align: -5px;\"\/>, we have<p class=\"ql-center-displayed-equation\" style=\"line-height: 20px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2626a01a852627593ced1766177dcbbc_l3.png\" height=\"20\" width=\"191\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#101;&#120;&#112;&#101;&#99;&#116;&#091;&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#109;&#32;&#112;&#105;&#99;&#107;&#125;&#093;&#32;&#92;&#108;&#101;&#32;&#78;&#32;&#92;&#108;&#111;&#103;&#32;&#40;&#78;&#41;&#32;&#43;&#32;&#78;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Conclusion<\/h3>\n\n\n\n<p>Putting all of these ingredients together, we obtain<p class=\"ql-center-displayed-equation\" style=\"line-height: 22px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-73215e6c39a6bd7162aba749cd61e1bf_l3.png\" height=\"22\" width=\"409\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#109;&#32;&#109;&#105;&#120;&#125;&#32;&#92;&#108;&#101;&#32;&#50;&#101;&#32;&#92;&#44;&#32;&#92;&#101;&#120;&#112;&#101;&#99;&#116;&#091;&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#48;&#41;&#125;&#125;&#093;&#32;&#92;&#108;&#101;&#32;&#50;&#101;&#32;&#92;&#44;&#32;&#92;&#101;&#120;&#112;&#101;&#99;&#116;&#091;&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#109;&#32;&#112;&#105;&#99;&#107;&#125;&#093;&#32;&#92;&#108;&#101;&#32;&#50;&#101;&#32;&#92;&#44;&#32;&#78;&#32;&#92;&#108;&#111;&#103;&#40;&#78;&#41;&#32;&#43;&#32;&#50;&#101;&#32;&#92;&#44;&#32;&#78;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>The mixing time is (at most) proportional to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c482daf2d031c3ebab05955638070c6e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#78;&#92;&#108;&#111;&#103;&#32;&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"61\" style=\"vertical-align: -4px;\"\/>.<\/p>\n\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>More on Bit Strings and Collecting Coupons<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">Using more sophisticated techniques, it can be shown that the random variable <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f5fa0f926544be2ed445cd912157a850_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#109;&#32;&#112;&#105;&#99;&#107;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"33\" style=\"vertical-align: -6px;\"\/> satisfies<p class=\"ql-center-displayed-equation\" style=\"line-height: 20px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-73f8883bcb323760364995473bcc3831_l3.png\" height=\"20\" width=\"241\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#112;&#114;&#111;&#98;&#92;&#123;&#92;&#116;&#97;&#117;&#95;&#123;&#92;&#114;&#109;&#32;&#112;&#105;&#99;&#107;&#125;&#32;&#62;&#32;&#78;&#32;&#92;&#108;&#111;&#103;&#32;&#78;&#32;&#43;&#32;&#99;&#78;&#92;&#125;&#32;&#92;&#108;&#101;&#32;&#101;&#94;&#123;&#45;&#99;&#125;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>for every <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-6d00843d2878083078c8eb5c922d260a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#78;&#92;&#103;&#101;&#32;&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"48\" style=\"vertical-align: -3px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-85e889c3117b7941e9d4a9be2d3bc7eb_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#99;&#92;&#103;&#101;&#32;&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"40\" style=\"vertical-align: -3px;\"\/>, from which it follows that<p class=\"ql-center-displayed-equation\" style=\"line-height: 34px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-14c0bb8d63f118fc70a87253f64236af_l3.png\" height=\"34\" width=\"477\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#110;&#111;&#114;&#109;&#123;&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#110;&#41;&#125;&#32;&#45;&#32;&#92;&#112;&#105;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#84;&#86;&#125;&#32;&#92;&#108;&#101;&#32;&#92;&#118;&#97;&#114;&#101;&#112;&#115;&#105;&#108;&#111;&#110;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#112;&#114;&#111;&#118;&#105;&#100;&#101;&#100;&#32;&#116;&#104;&#97;&#116;&#125;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#110;&#32;&#92;&#103;&#101;&#32;&#78;&#32;&#92;&#108;&#111;&#103;&#32;&#78;&#32;&#43;&#32;&#78;&#32;&#92;&#108;&#111;&#103;&#40;&#49;&#47;&#92;&#118;&#97;&#114;&#101;&#112;&#115;&#105;&#108;&#111;&#110;&#41;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>Using a more sophisticated analysis\u2014also based on couplings\u2014we can improve this result to<p class=\"ql-center-displayed-equation\" style=\"line-height: 36px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ce2a7b130eee9537cf737b90814aa4d3_l3.png\" height=\"36\" width=\"495\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#110;&#111;&#114;&#109;&#123;&#92;&#114;&#104;&#111;&#94;&#123;&#40;&#110;&#41;&#125;&#32;&#45;&#32;&#92;&#112;&#105;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#84;&#86;&#125;&#32;&#92;&#108;&#101;&#32;&#92;&#118;&#97;&#114;&#101;&#112;&#115;&#105;&#108;&#111;&#110;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#112;&#114;&#111;&#118;&#105;&#100;&#101;&#100;&#32;&#116;&#104;&#97;&#116;&#125;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#110;&#32;&#92;&#103;&#101;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#50;&#125;&#32;&#78;&#32;&#92;&#108;&#111;&#103;&#32;&#78;&#32;&#43;&#32;&#99;&#32;&#92;&#44;&#78;&#32;&#92;&#108;&#111;&#103;&#40;&#49;&#47;&#92;&#118;&#97;&#114;&#101;&#112;&#115;&#105;&#108;&#111;&#110;&#41;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>for some constant <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-04afceddf01c5f187cca867198d2dd52_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#99;&#32;&#62;&#32;&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"40\" style=\"vertical-align: -2px;\"\/>. The constant <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-57df1cddcf96144307d2513419dd8220_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;&#47;&#50;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"25\" style=\"vertical-align: -5px;\"\/> in this inequality cannot be improved. See section 5.3.1 of <em><a href=\"https:\/\/pages.uoregon.edu\/dlevin\/MARKOV\/\">Markov Chains and Mixing Times<\/a><\/em>.<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>This post is part of a series, Markov Musings, about the mathematical analysis of Markov chains. See here for the first post in the series. In the last post, we saw a proof of the fundamental theorem of Markov chains using the method of couplings. In this post, we will use couplings to provide quantitative<a class=\"more-link\" href=\"https:\/\/www.ethanepperly.com\/index.php\/2023\/07\/05\/markov-musings-2-couplings\/\">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":[11],"tags":[],"class_list":["post-1587","post","type-post","status-publish","format-standard","hentry","category-markov-musings"],"_links":{"self":[{"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/posts\/1587","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=1587"}],"version-history":[{"count":11,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/posts\/1587\/revisions"}],"predecessor-version":[{"id":1604,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/posts\/1587\/revisions\/1604"}],"wp:attachment":[{"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/media?parent=1587"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/categories?post=1587"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/tags?post=1587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}