{"id":841,"date":"2022-09-11T16:22:57","date_gmt":"2022-09-11T16:22:57","guid":{"rendered":"https:\/\/samhartburn.co.uk\/sh\/?p=841"},"modified":"2022-10-13T13:20:52","modified_gmt":"2022-10-13T13:20:52","slug":"the-ant-on-the-rubber-band","status":"publish","type":"post","link":"https:\/\/samhartburn.co.uk\/sh\/the-ant-on-the-rubber-band\/","title":{"rendered":"The Ant on the Rubber Band"},"content":{"rendered":"\n<p>A classic puzzle* goes like this:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote small is-layout-flow wp-block-quote-is-layout-flow\"><p>Imagine a one-metre length of rubber band, with an ant at one end. The ant starts walking towards the other end of the band, at a speed of 1 cm\/s. At the end of each second the band is instantly and uniformly stretched by 1 m. Will the ant ever reach the other end of the band?<\/p><\/blockquote>\n\n\n\n<!--more-->\n\n\n\n<p>At first glance the answer seems obvious. The ant can\u2019t possibly reach the end \u2013 the band is stretching by a metre for every centimetre the ant walks. Impossible! But think about it for a moment and you\u2019ll see that, maybe, there\u2019s a thin slice of possibility that the ant will make it to the other end.<\/p>\n\n\n\n<p>It all rests on realising that the band is stretched evenly along its length, so the length of band <em>behind<\/em> the ant will increase, as well as the length in front. In fact, when the length of the band changes, it doesn\u2019t change the proportion of the band that the ant has covered. Don\u2019t believe me? Well, let\u2019s work through some numbers.<\/p>\n\n\n\n<p>After 1 second, the ant has travelled 1 cm. It has covered $\\frac{1}{100}$ of the total length of the band. The band is then stretched by 1 m, so its total length is now 200 cm. Crucially, the stretch occurs evenly across the full length of the band. The 99 cm in front of the ant is doubled to 198 cm, but the 1 cm behind the ant is also doubled, to 2 cm. So the ant has covered $\\frac{2}{200} = \\frac{1}{100}$ of the total length of the band. The proportion covered hasn\u2019t changed.<\/p>\n\n\n\n<p>This works in general. After $n$ seconds, the length of the band will increase from $100n$ cm to $100(n+1)$ cm, an increase by a factor of $\\frac{\\left(n+1\\right)}{n}$. The distance behind the ant will increase by the same factor, so the stretching of the band doesn\u2019t affect the proportion the ant has covered. And because the ant continues to walk along the band, this proportion continues to increase. If it ever reaches 1 then the ant will have made it to the other end of the band!<\/p>\n\n\n\n<p>So the crucial question becomes, is the proportion covered increasing in a way that means it will eventually get to 1?<\/p>\n\n\n\n<p>One way to work this out is to express the proportion covered as a series.<\/p>\n\n\n\n<p>Let $a_n$ be the distance the ant has covered after $n$ seconds. As we\u2019ve already seen, this will be $\\frac{n+1}{n}\\left(a_{n-1}+1\\right)$. We can use this to work out the first few terms in the series.<\/p>\n\n\n\n<p>$a_0=0$<\/p>\n\n\n\n<p>$a_1=\\frac{2}{1}\\left(a_0 + 1\\right)= 2$<\/p>\n\n\n\n<p>$a_2=\\frac{3}{2}\\left(a_1 + 1\\right)=\\frac{3}{2}\\left(2+1\\right)=3+\\frac{3}{2}=3\\left(1+\\frac{1}{2}\\right)$<\/p>\n\n\n\n<p>$a_3=\\frac{4}{3}\\left(a_2 + 1\\right)=\\frac{4}{3}\\left(3+\\frac{3}{2}+1\\right)=4+\\frac{4}{2}+\\frac{4}{3}=4\\left(1+\\frac{1}{2}+\\frac{1}{3}\\right)$<\/p>\n\n\n\n<p>$a_4=\\frac{5}{4}\\left(a_3 + 1\\right)=\\frac{5}{4}\\left(4+\\frac{4}{2}+\\frac{4}{3}+1\\right)=5+\\frac{5}{2}+\\frac{5}{3}+\\frac{5}{4}=5\\left(1+\\frac{1}{2}+\\frac{1}{3}+\\frac{1}{4}\\right)$<\/p>\n\n\n\n<p>We can begin to see a pattern here:<\/p>\n\n\n\n<p>$a_n=\\left(n+1\\right)\\left(1+\\frac{1}{2}+\\frac{1}{3}+\\frac{1}{4}+\\cdots +\\frac{1}{n}\\right)$<\/p>\n\n\n\n<p>Now we can write the proportion of the band covered after $n$&nbsp;seconds, call it $p_n$, by dividing the distance by the total length after $n$ seconds, which is $100\\left(n+1\\right)$:<\/p>\n\n\n\n<p>$\\begin{aligned} p_n&amp;=\\cfrac{\\left(n+1\\right)\\left(1+\\frac{1}{2}+\\frac{1}{3}+\\frac{1}{4}+\\cdots +\\frac{1}{n}\\right)}{100\\left(n+1\\right)} \\\\ &amp;=\\cfrac{1+\\frac{1}{2}+\\frac{1}{3}+\\frac{1}{4}+\\cdots +\\frac{1}{n}}{100} \\end{aligned}$<\/p>\n\n\n\n<p>So if there is a value of $n$&nbsp;for which $1+\\frac{1}{2}+\\frac{1}{3}+\\frac{1}{4}+\\cdots +\\frac{1}{n}$&nbsp;is equal to 100 then the proportion covered will be equal to 1 and the ant will reach the end of the rubber band.<\/p>\n\n\n\n<p>Happily for the ant, the series $1+\\frac{1}{2}+\\frac{1}{3}+\\frac{1}{4}+\\cdots +\\frac{1}{n}$&nbsp;is a well-known series, called the harmonic series. It is known to diverge, which means that it gets bigger and bigger with no limit; whatever positive integer value you choose, there will be a value of $n$&nbsp;for which $1+\\frac{1}{2}+\\frac{1}{3}+\\frac{1}{4}+\\cdots +\\frac{1}{n}$&nbsp;is larger than that value. If you\u2019re interested, you can find <a href=\"https:\/\/en.wikipedia.org\/wiki\/Harmonic_series_(mathematics)\" target=\"_blank\" rel=\"noreferrer noopener\">a couple of different proofs of this on Wikipedia<\/a>. For the ant, this means that there is a value of $n$&nbsp;for which $1+\\frac{1}{2}+\\frac{1}{3}+\\frac{1}{4}+\\cdots +\\frac{1}{n}&gt;100$, which means that the proportion of the band the ant has covered will eventually be greater than 1 and the ant will escape. Hooray!<\/p>\n\n\n\n<p>Unfortunately for the ant, the harmonic series grows extremely slowly. According to <a href=\"https:\/\/mathworld.wolfram.com\/HarmonicSeries.html\" target=\"_blank\" rel=\"noreferrer noopener\">Wolfram MathWorld<\/a>, the minimum value of $n$\u00a0required for the partial sum of the harmonic series to exceed 100 is 15,092,688,622,113,788,323,693,563,264,538,101,449,859,497. Since the value of $n$\u00a0corresponds to the number of seconds for which the ant has been walking, this is approximately $5 \\times 10^{35}$\u00a0years. Sadly, I suspect that this is longer than the lifespan of an ant.<\/p>\n\n\n\n<p>To see what the ant might think of this puzzle, check out <a href=\"https:\/\/samhartburn.co.uk\/sh\/the-ants-lament\/\">The Ant&#8217;s Lament<\/a>.<\/p>\n\n\n\n<p class=\"has-small-font-size\">*The earliest reference I\u2019ve found to this puzzle is by Denys Wilquin, published in December 1972 in Science et Vie. The version here is slightly adapted.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A classic puzzle* goes like this: Imagine a one-metre length of rubber band, with an ant at one end. The ant starts walking towards the other end of the band, at a speed of 1 cm\/s. At the end of each second the band is instantly and uniformly stretched by 1 m. Will the ant [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"saved_in_kubio":false,"footnotes":""},"categories":[87],"tags":[89,90,88],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/posts\/841"}],"collection":[{"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/comments?post=841"}],"version-history":[{"count":26,"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/posts\/841\/revisions"}],"predecessor-version":[{"id":886,"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/posts\/841\/revisions\/886"}],"wp:attachment":[{"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/media?parent=841"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/categories?post=841"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/tags?post=841"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}