This comic centers around the consideration what shortest path is available to a person travelling by foot. Cueball has to travel a rectangular distance, which (I believe) is part over pavement and part over some other material not really meant to tread on (grass, sand or granite). When Cueball goes to follow the pavement, he has to walk for 60 seconds. But when he traverses using the non-walkable material, he can cut up to 26% of his time. So, he thinks every time he has to travel this rectangle, which is a very human question. Would you rather walk the straight path, or be kind of illegal (to some standards) and use the non-walkable material in your way?
- [Blueprint of a campus. Two buildings in the upper and lower left corners, respectively, and a rectangular lawn. A road encloses the lawn, another road traverses horizontally through the center of the lawn. The character is in the lower left and the upper right corner, where it says "my apartment".]
- [Dashed line 1, from the lower-left along the road to the top-left corner, then to the top-right corner] 60 seconds
- [Dashed line 2, from the lower-left along the road up to the center crossroads, then diagonally over the lawn to the top-right corner] 48 seconds (80%)
- [Dashed line 3, diagonally from the lower-left to the top-right corner] 44.7 seconds (74%)
- My apartment
- When I'm walking, I worry a lot about the efficiency of my path.
add a comment! ⋅ add a topic (use sparingly)! ⋅ refresh comments!
This is the kind of thing that comes up in story problems in Calculus often. If you can travel in/over one medium at one speed, and in/over another medium at a different speed, what is the optimum path to minimize your travel time.
An example of this problem would be if there is a drowning swimmer 100 meters offshore, you are 300 meters from the point on the shoreline closest to the swimmer, and you can run at 15mph and swim at 2mph, how far do you run along the shoreline before going into the water to get to the swimmer as quickly as possible?
The fact that Randall shows two different paths over the "grass" makes me think that he was thinking more along the line of obsessively optimizing his path rather than about whether it might be acceptable or not to walk over the grass. -- mwburden 188.8.131.52 21:23, 13 December 2012 (UTC)
Along similar lines, this mathematician's dog uses Calculus (albeit at an intuitive, rather than mathematical level) to optimize the path that it takes to retrieve the ball from the water. -- mwburden 184.108.40.206 21:27, 13 December 2012 (UTC)
This particular situation is less interesting, since the walker's speed is the same for all three paths! This is seen by the times being directly proportional to the distances. Normally, the off-normal-path is at a lower speed, but some shorter path still gives the smallest time.DrMath 08:22, 14 October 2013 (UTC)
Where do the equations come from to figure out #2 & #3 - can anybody derive it? 220.127.116.11 (talk) (please sign your comments with ~~~~)
- The equation #2 comes from the second route. t(1+√2)/3 is how far the second path takes the guy. If each block is a unit square, the diagonal to the corner is √2 while the next part is 1. The t/3 part is making it comparable to the first one (the first one is t despite it being 3 unit squares). Equation #3 is t√(5)/3. Plugging 1, 2, and √5 into wolfram|alpha for triangle side lengths makes it a right triange, so the √5 comes from the side length (assuming unit squares) while the t/3 makes it comparable to the first one.Mulan15262 (talk) 02:36, 1 December 2014 (UTC)
Interestingly enough, if the three sides are equal in time taken (20 seconds each), the time it would take for path #2 would be 20rt2 + 20, and path three would be roughly 40, which comes out to 60, 48.28, and 40 seconds by using very simple geometry. 18.104.22.168 (talk) (please sign your comments with ~~~~)
- Based on his times, it is two squares with the same side length. Base on that geometry, Path #2 will be the hypotenuse of a 45 degree right triangle. t = √(20^2 + 20^2) = 20 * √2 = 48.28. Path #3 would be t = √(20^2 + 40^2) = 20 * √5 = 44.72. Not sure where you got roughly 40 from. Were you thinking of the sin of 30 degree rule where the hypotenuse is double the opposite side? In this case, the adjacent is double the opposite which puts the hypotenuse at √5 times the opposite.Flewk (talk) 17:10, 24 December 2015 (UTC)