{"id":3073,"date":"2021-08-28T21:06:45","date_gmt":"2021-08-29T02:06:45","guid":{"rendered":"https:\/\/laurentlessard.com\/bookproofs\/?p=3073"},"modified":"2021-08-29T02:41:35","modified_gmt":"2021-08-29T07:41:35","slug":"perfect-pursuit","status":"publish","type":"post","link":"https:\/\/laurentlessard.com\/bookproofs\/perfect-pursuit\/","title":{"rendered":"Perfect pursuit"},"content":{"rendered":"<p>This week&#8217;s <a href=\"https:\/\/fivethirtyeight.com\/features\/can-you-draft-a-riddler-fantasy-football-dream-team\/\">Riddler Classic<\/a> is about catching <\/p>\n<blockquote><p>\nHames Jarrison has just intercepted a pass at one end zone of a football field, and begins running \u2014 at a constant speed of 15 miles per hour \u2014 to the other end zone, 100 yards away.<\/p>\n<p>At the moment he catches the ball, you are on the very same goal line, but on the other end of the field, 50 yards away from Jarrison. Caught up in the moment, you decide you will always run directly toward Jarrison&#8217;s current position, rather than plan ahead to meet him downfield along a more strategic course.<\/p>\n<p>Assuming you run at a constant speed (i.e., don\u2019t worry about any transient acceleration), how fast must you be in order to catch Jarrison before he scores a touchdown?\n<\/p><\/blockquote>\n<p>Here is the solution.<br \/>\n<a href=\"javascript:Solution('soln_perfectpursuit','toggle_perfectpursuit')\" id=\"toggle_perfectpursuit\">[Show Solution]<\/a><\/p>\n<div id=\"soln_perfectpursuit\" style=\"display: none\">\n<p>If the football field is $L$ long and $w$ wide, and Jarrison has a speed of $v_0$, then in order to catch him just in time, our speed $v$ should satisfy<br \/>\n\\[<br \/>\n\\frac{v}{v_0} \\gt \\frac{1+\\sqrt{4\\frac{L^2}{w^2}+1}}{2\\frac{L}{w}}.<br \/>\n\\]For the data given in the problem, we have $L=100$ and $w=50$, so $\\frac{v}{v_0} \\gt \\frac{1+\\sqrt{17}}{4}\\approx 1.28$. Therefore, we would need to run at a speed of at least $19.21\\,\\text{mph}$ to catch Jarrison. Here is a plot of $\\frac{v}{v_0}$ as a function of $\\frac{L}{w}$.<\/p>\n<p><a href=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2021\/08\/perfect_pursuit2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2021\/08\/perfect_pursuit2-1024x687.png\" alt=\"\" width=\"840\" height=\"564\" class=\"aligncenter size-large wp-image-3082\" srcset=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2021\/08\/perfect_pursuit2-1024x687.png 1024w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2021\/08\/perfect_pursuit2-300x201.png 300w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2021\/08\/perfect_pursuit2-768x515.png 768w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2021\/08\/perfect_pursuit2-1200x805.png 1200w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2021\/08\/perfect_pursuit2.png 1387w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>In the limit $\\frac{L}{w} \\to \\infty$, the field becomes infinitely long. Therefore, we spend most of the time running almost parallel to Jarrison. So we only need to be a tiny bit faster in order to eventually catch him, and we have $\\frac{v}{v_0}\\to 1$.<br \/>\nIn the limit $\\frac{L}{w} \\to 0$, the field becomes infinitely wide. We must cover an increasing amount of lateral ground to catch Jarrison, so $\\frac{v}{v_0} \\to \\infty$.<\/p>\n<p><strong>Fun fact:<\/strong> if the field is square ($L=w$), we must be $\\varphi$ times faster than Jarrison to catch him, where $\\varphi = \\frac{1+\\sqrt{5}}{2} \\approx 1.618$ is the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Golden_ratio\">golden ratio<\/a>!<\/p>\n<p>We can also ask: what is the shape of the path that we will follow? (This is called a <a href=\"https:\/\/mathworld.wolfram.com\/PursuitCurve.html\">pursuit curve<\/a>.) Using the coordinate system depicted below, our trajectory will satisfy:<br \/>\n\\[<br \/>\n\\frac{x}{w} = \\frac{1}{2}\\left[  \\frac{\\left(1-\\frac{y}{w}\\right)^{1+\\frac{v_0}{v}}-1}{1+\\frac{v_0}{v}}-\\frac{\\left(1-\\frac{y}{w}\\right)^{1-\\frac{v_0}{v}}-1}{1-\\frac{v_0}{v}}\\right]<br \/>\n\\]<br \/>\n<a href=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2021\/08\/perfect_pursuit.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2021\/08\/perfect_pursuit-1024x561.png\" alt=\"\" width=\"840\" height=\"460\" class=\"aligncenter size-large wp-image-3078\" srcset=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2021\/08\/perfect_pursuit-1024x561.png 1024w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2021\/08\/perfect_pursuit-300x164.png 300w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2021\/08\/perfect_pursuit-768x420.png 768w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2021\/08\/perfect_pursuit-1536x841.png 1536w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2021\/08\/perfect_pursuit-1200x657.png 1200w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2021\/08\/perfect_pursuit.png 1982w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a>\n<\/div>\n<p>For a detailed derivation (warning: calculus!) click below.<br \/>\n<a href=\"javascript:Solution('soln_perfectpursuit2','toggle_perfectpursuit2')\" id=\"toggle_perfectpursuit2\">[Show Solution]<\/a><\/p>\n<div id=\"soln_perfectpursuit2\" style=\"display: none\">\n<p><strong>Note:<\/strong> This is the solution I came up with&#8230; Admittedly, it&#8217;s a bit tedious and not particularly intuitive. If you have a more direct or more elegant solution approach, I would love to hear about it!<\/p>\n<p>Based on the diagram above, Jarrison starts at $(0,w)$ and runs toward $(L,w)$ at a speed $v_0$. Therefore, Jarrison&#8217;s position as a function of time is $(v_0t, w)$. We start at $(0,0)$ and we run at a speed $v$. Let&#8217;s also suppose our position at time $t$ is $(x(t),y(t))$.<\/p>\n<p>We run in such a way that our velocity always points toward Jarrison. Therefore, we have:<br \/>\n\\[<br \/>\n\\frac{\\dot y}{\\dot x} = \\frac{w-y}{v_0t-x},<br \/>\n\\]where the dots denote time derivatives, i.e. $\\dot x = \\frac{\\mathrm{d}}{\\mathrm{d}t}x(t)$. To keep notation simple, we&#8217;ll omit the $(t)$ when writing $x$ or $y$. We also know that our speed is constant at $v$, therefore, we have:<br \/>\n\\[<br \/>\n\\dot x^2 + \\dot y^2 = v^2<br \/>\n\\]These two coupled differential equations, together with the initial conditions $x(0)=y(0)=0$, completely describe our motion. Our task is to solve these equations, and then find the value of $v$ such that the solution passes through the point $(L,w)$, i.e., we catch Jarrison right as he scores a touchdown.<\/p>\n<p>To solve this problem, we&#8217;ll use the change of variables $u = \\frac{\\dot x}{\\dot y}$. Substitute this into both equations. For the first equation, also isolate $t$ and differentiate so that $t$ no longer appears explicitly. Ultimately, we obtain:<br \/>\n\\[<br \/>\n\\dot u = \\frac{v_0}{w-y}<br \/>\n\\quad\\text{and}\\quad<br \/>\n\\dot y = \\frac{v}{\\sqrt{u^2+1}}<br \/>\n\\quad\\text{with: }\\begin{cases}y(0)=0 \\\\ u(0)=0\\end{cases}<br \/>\n\\]Combining these equations, we obtain the single ODE (in differential form)<br \/>\n\\[<br \/>\n\\frac{\\mathrm{d}y}{w-y} = \\frac{v}{v_0} \\cdot \\frac{\\mathrm{d}u}{\\sqrt{u^2+1}}<br \/>\n\\]Integrating from $t=0$ ($y=u=0$) to an arbitrary later point, we obtain:<br \/>\n\\[<br \/>\n\\log\\left( \\frac{w}{w-y} \\right) = \\frac{v}{v_0} \\log \\left| \\sqrt{u^2+1}+u \\right|<br \/>\n\\]Therefore,<br \/>\n\\[<br \/>\n \\frac{w}{w-y} =  \\left| \\sqrt{u^2+1}+u \\right|^{v\/v_0}<br \/>\n\\]Now note that if $\\sqrt{u^2+1}+u = f$, we have $u = \\frac{1}{2}\\left( f-f^{-1} \\right)$. Therefore, we can solve the above equation and obtain:<br \/>\n\\[<br \/>\nu = \\frac{1}{2}\\left[ \\left(1-\\frac{y}{w}\\right)^{-v_0\/v}-\\left(1-\\frac{y}{w}\\right)^{v_0\/v} \\right]<br \/>\n\\]Now recall the definition $u = \\frac{\\dot x}{\\dot y} = \\frac{\\mathrm{d}x}{\\mathrm{d}y}$. Therefore,<br \/>\n\\[<br \/>\n\\mathrm{d}x = \\frac{1}{2}\\left[ \\left(1-\\frac{y}{w}\\right)^{-v_0\/v}-\\left(1-\\frac{y}{w}\\right)^{v_0\/v} \\right]\\mathrm{d}y<br \/>\n\\]Integrating from $t=0$ ($y=u=0$) to an arbitrary later point, we obtain:<br \/>\n\\[<br \/>\n\\frac{x}{w} = \\frac{1}{2}\\left[  \\frac{\\left(1-\\frac{y}{w}\\right)^{1+v_0\/v}-1}{1+\\frac{v_0}{v}}-\\frac{\\left(1-\\frac{y}{w}\\right)^{1-v_0\/v}-1}{1-\\frac{v_0}{v}}\\right]<br \/>\n\\]This tells us $x$ as a function of $y$. The only thing we&#8217;re missing is $v$. To find $v$, we use the fact that the curve must pass through $(L,w)$, which leads to<br \/>\n\\[<br \/>\n\\frac{L}{w} = \\frac{v_0 v}{v^2-v_0^2}.<br \/>\n\\]Solving for $v$ yields:<br \/>\n\\[<br \/>\n\\frac{v}{v_0} = \\frac{1+\\sqrt{4\\frac{L^2}{w^2}+1}}{2\\frac{L}{w}}.<br \/>\n\\]Note that the right-hand side is always greater than $1$, regardless of the value of $L$ or $w$. This makes sense; we need to be going faster than Jarrison if we ever hope to catch him.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This week&#8217;s Riddler Classic is about catching Hames Jarrison has just intercepted a pass at one end zone of a football field, and begins running \u2014 at a constant speed of 15 miles per hour \u2014 to the other end zone, 100 yards away. At the moment he catches the ball, you are on the &hellip; <a href=\"https:\/\/laurentlessard.com\/bookproofs\/perfect-pursuit\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Perfect pursuit&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":3078,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[7],"tags":[28,4,2],"class_list":["post-3073","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-riddler","tag-calculus","tag-integration","tag-riddler"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/posts\/3073","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/comments?post=3073"}],"version-history":[{"count":11,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/posts\/3073\/revisions"}],"predecessor-version":[{"id":3087,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/posts\/3073\/revisions\/3087"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/media\/3078"}],"wp:attachment":[{"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/media?parent=3073"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/categories?post=3073"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/tags?post=3073"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}