{"id":9025,"date":"2016-10-08T20:33:22","date_gmt":"2016-10-08T18:33:22","guid":{"rendered":"http:\/\/djalil.chafai.net\/blog\/?p=9025"},"modified":"2025-01-10T21:58:02","modified_gmt":"2025-01-10T20:58:02","slug":"back-to-basics-divergence-of-a-random-walk","status":"publish","type":"post","link":"https:\/\/djalil.chafai.net\/blog\/2016\/10\/08\/back-to-basics-divergence-of-a-random-walk\/","title":{"rendered":"Back to basics \u2013 Divergence of a random walk"},"content":{"rendered":"<figure id=\"attachment_9032\" aria-describedby=\"caption-attachment-9032\" style=\"width: 268px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/en.wikipedia.org\/wiki\/George_P%C3%B3lya\"><img loading=\"lazy\" class=\"size-full wp-image-9032\" src=\"http:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2016\/10\/Polya.jpeg\" alt=\"George P\u00f3lya\" width=\"268\" height=\"326\" srcset=\"https:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2016\/10\/Polya.jpeg 268w, https:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2016\/10\/Polya-247x300.jpeg 247w, https:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2016\/10\/Polya-123x150.jpeg 123w\" sizes=\"(max-width: 268px) 100vw, 268px\" \/><\/a><figcaption id=\"caption-attachment-9032\" class=\"wp-caption-text\">George P\u00f3lya (1887 - 1985) one of the first to study rigorously random walks.<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">Recently a colleague of mine came with a simple question related to his second year probability classes: how to prove that an asymmetric random walk diverges to infinity almost surely, without using the Borel-Cantelli lemma, the law of large numbers, or Markov chains tools such as stopping times and recurrence\/transience?<\/p>\n<p style=\"text-align: justify;\">A natural answer to is prove all what is needed from scratch, which turns out to be pretty short and intuitive for the random walk. More precisely, let \\( {{(S_n)}_{n\\geq0}} \\) be an asymmetric random walk on \\( {\\mathbb{Z}} \\) started from the origin, namely \\( {S_0=0} \\) and for any \\( {n\\geq1} \\)<\/p>\n<p style=\"text-align: center;\">\\[ S_{n}=S_{n-1}+X_{n}=X_1+\\cdots+X_n, \\]<\/p>\n<p style=\"text-align: justify;\">where \\( {{(X_n)}_{n\\geq1}} \\) is a sequence of independent and identically distributed random variables following an asymmetric Rademacher distribution:<\/p>\n<p style=\"text-align: center;\">\\[ p:=\\mathbb{P}(X_n=+1)=1-\\mathbb{P}(X_n=-1)\\neq\\frac{1}{2}. \\]<\/p>\n<p style=\"text-align: justify;\">Our objective is to prove that<\/p>\n<p style=\"text-align: center;\">\\[ \\mathbb{P}(\\lim_{n\\rightarrow\\infty}S_n=-\\infty)=1 \\quad\\text{if}\\quad p&lt;\\frac{1}{2} \\]<\/p>\n<p style=\"text-align: justify;\">and<\/p>\n<p style=\"text-align: center;\">\\[ \\mathbb{P}(\\lim_{n\\rightarrow\\infty}S_n=+\\infty)=1 \\quad\\text{if}\\quad p&gt;\\frac{1}{2}. \\]<\/p>\n<p style=\"text-align: justify;\">The idea is to show that \\( {{(S_n)}_{n\\geq1}} \\) is captured after a random time by a cone centered around \\( {\\mathbb{E}(S_n)=nm} \\) where \\( {m:=\\mathbb{E}(X_i)=2p-1\\neq0} \\), of width \\( {\\delta_n\\ll n} \\). To see it, for any \\( {\\delta_n&gt;0} \\) to be chosen later, we introduce the event<\/p>\n<p style=\"text-align: center;\">\\[ A_n:=\\{|S_n-nm|\\geq\\delta_n\\}. \\]<\/p>\n<p style=\"text-align: justify;\">The Markov inequality gives (trying with \\( {2} \\) instead of \\( {4} \\) shows that \\( {2} \\) is not enough)<\/p>\n<p style=\"text-align: center;\">\\[ \\mathbb{P}(A_n) =\\mathbb{P}((S_n-nm)^4\\geq\\delta_n^4) \\leq\\frac{\\mathbb{E}((S_n-nm)^4)}{\\delta_n^4}. \\]<\/p>\n<p style=\"text-align: justify;\">But, denoting \\( {X_i':=X_i-m} \\), we get \\( {\\mathbb{E}(X'_i)=0} \\) and \\( {S_n-nm=X_1'+\\cdots+X_n'} \\) and<\/p>\n<p style=\"text-align: center;\">\\[ \\mathbb{E}((S_n-nm)^4) =\\mathbb{E}((X_1'+\\cdots+X_n')^4) =\\mathcal{O}(n^2)\\mathbb{E}(X_1'^2)+n\\mathbb{E}(X_1'^4) =\\mathcal{O}(n^2) \\]<\/p>\n<p style=\"text-align: justify;\">where we used the fact that the \\( {X'_i} \\)'s are centered, independent, and bounded in \\( {L^4} \\): \\( {\\sup_{n\\geq1}\\mathbb{E}(X_n'^4)&lt;\\infty} \\). Therefore for any \\( {\\delta_n=n^\\alpha} \\) with \\( {\\alpha&gt;0} \\) to be chosen later,<\/p>\n<p style=\"text-align: center;\">\\[ \\mathbb{P}(A_n)=\\mathcal{O}\\left(\\frac{1}{n^{4\\alpha-2}}\\right) \\quad\\text{and thus}\\quad \\sum_{n=1}^\\infty\\mathbb{P}(A_n)&lt;\\infty \\]<\/p>\n<p style=\"text-align: justify;\">as soon as \\( {\\alpha&gt;3\/4} \\). Let us introduce now the random variable<\/p>\n<p style=\"text-align: center;\">\\[ Y:=\\sum_{n=1}^\\infty\\mathbf{1}_{A_n}. \\]<\/p>\n<p style=\"text-align: justify;\">The Fubini-Tonelli theorem or the monotone convergence theorem gives<\/p>\n<p style=\"text-align: center;\">\\[ \\mathbb{E}(Y) =\\mathbb{E}\\left(\\sum_{n=1}^\\infty\\mathbf{1}_{A_n}\\right) =\\sum_{n=1}^\\infty\\mathbb{E}(\\mathbf{1}_{A_n}) =\\sum_{n=1}^\\infty\\mathbb{P}(A_n) &lt;\\infty. \\]<\/p>\n<p style=\"text-align: justify;\">Since \\( {Y} \\) takes its values in \\( {[0,\\infty]} \\), it follows that \\( {\\mathbb{P}(Y&lt;\\infty)=1} \\), in other words, almost surely, the series \\( {\\sum_{n=1}^\\infty\\mathbf{1}_{A_n}} \\) converges, in other words, almost surely, for \\( {n} \\) large enough (above a random threshold), we have<\/p>\n<p style=\"text-align: center;\">\\[ |S_n-nm|&lt;\\delta_n=n^{\\alpha}, \\]<\/p>\n<p style=\"text-align: justify;\">and by taking \\( {3\/4&lt;\\alpha&lt;1} \\), it follows that \\( {{(S_n)}_{n\\geq1}} \\) diverges to \\( {+\\infty} \\) if \\( {p&gt;1\/2} \\) since \\( {m&gt;0} \\) and to \\( {-\\infty} \\) if \\( {p&lt;1\/2} \\) since \\( {m&lt;0} \\) (drawing a picture with a cone may help!).<\/p>\n<p style=\"text-align: justify;\"><b>Note.<\/b> This proof works beyond the case of \\( {\\pm1} \\) increments and requires only independence and boundedness in \\( {L^4} \\). Actually the same argument gives a quick proof of the strong law of large numbers for independent random variables bounded in \\( {L^4} \\) with same mean \\( {m\\in\\mathbb{R}} \\):<\/p>\n<p style=\"text-align: center;\">\\[ \\mathbb{P}\\left(\\lim_{n\\rightarrow\\infty}\\frac{S_n}{n}=m\\right)=1. \\]<\/p>\n<p style=\"text-align: justify;\">Namely since \\( {\\mathbb{E}((\\frac{S_n}{n}-m)^4)=\\mathcal{O}(\\frac{1}{n^2})} \\), we get \\( {\\mathbb{E}(\\sum_{n=1}^\\infty(\\frac{S_n}{n}-m)^4)&lt;\\infty} \\), and therefore \\( {\\mathbb{P}(\\lim_{n\\rightarrow\\infty}(\\frac{S_n}{n}-m)^4=0)=1} \\), which means that \\( {\\mathbb{P}(\\lim_{n\\rightarrow\\infty}\\frac{S_n}{n}=m)=1} \\). This strong law of large numbers provides in turn the almost sure divergence of the asymmetric random walk.<\/p>\n<p style=\"text-align: justify;\">The argument provides also a quick proof of the first Borel-Cantelli lemma by using the Fubini-Tonelli theorem or the monotone convergence theorem. Namely, if \\( {{(A_n)}_{n\\geq1}} \\) is a sequence of events such that \\( {\\sum_{n=1}^\\infty\\mathbb{P}(A_n)&lt;\\infty} \\), then \\( {\\mathbb{E}(\\sum_{n=1}^\\infty\\mathbf{1}_{A_n})&lt;\\infty} \\) and thus \\( {\\mathbb{P}(\\sum_{n=1}^\\infty\\mathbf{1}_{A_n}&lt;\\infty)=1} \\) which means that \\( {\\mathbb{P}(\\limsup_{n\\geq1}A_n)=0} \\).<\/p>\n<p style=\"text-align: justify;\"><b>Note.<\/b> The classical Markov chain way to prove the result consists in using the fact that \\( {{(S_n)}_{n\\geq0}} \\) is a Markov chain with state space \\( {\\mathbb{Z}} \\) and transition matrix \\( {\\mathbf{P}_{x,y}=p\\mathbf{1}_{y=x+1}+(1-p)\\mathbf{1}_{y=x-1}} \\). This matrix is irreducible, and therefore it suffices to show that the state \\( {0} \\) is transient. The chain has period \\( {2} \\) and therefore \\( {\\mathbf{P}^{2n+1}(0,0)=0} \\) for any \\( {n\\geq0} \\). For \\( {\\mathbf{P}^{2n}_{0,0}} \\), the coin tossing game due to the \\( {\\pm1} \\) increments gives \\( {(S_n-S_0+n)\/2\\sim\\mathrm{Binom}(n,p)} \\), which yields<\/p>\n<p style=\"text-align: center;\">\\[ \\mathbf{P}_{0,0}^{2n} =\\mathbb{P}(S_{2n}=0\\mid S_0=0) =\\binom{2n}{n}p^n(1-p)^n \\sim_{n\\rightarrow\\infty} \\frac{\\rho^n}{\\sqrt{\\pi n}} \\]<\/p>\n<p style=\"text-align: justify;\">where \\( {\\rho:=4p(1-p)} \\). Now \\( {p\\neq1\/2} \\) gives \\( {\\rho&lt;1} \\), and thus<\/p>\n<p style=\"text-align: center;\">\\[ \\mathbb{E}\\left(\\sum_{n=1}^\\infty\\mathbf{1}_{S_n=0}\\mid S_0=x\\right) =\\sum_{n=1}^\\infty\\mathbf{P}^{n}_{0,0} =\\sum_{n=1}^\\infty\\mathbf{P}^{2n}_{0,0}&lt;\\infty, \\]<\/p>\n<p style=\"text-align: justify;\">which shows that the chain is transient.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently a colleague of mine came with a simple question related to his second year probability classes: how to prove that an asymmetric random walk&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/djalil.chafai.net\/blog\/2016\/10\/08\/back-to-basics-divergence-of-a-random-walk\/\">Continue reading<span class=\"screen-reader-text\">Back to basics \u2013 Divergence of a random walk<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":848},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/posts\/9025"}],"collection":[{"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/comments?post=9025"}],"version-history":[{"count":17,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/posts\/9025\/revisions"}],"predecessor-version":[{"id":21248,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/posts\/9025\/revisions\/21248"}],"wp:attachment":[{"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/media?parent=9025"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/categories?post=9025"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/tags?post=9025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}