A bug's journey

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
6
down vote

favorite
1












I encountered this question here (question 6) http://sections.maa.org/iowa/Activities/Contest/Problems/Probs98.htm



The Question:
A bug is crawling on the coordinate plane from (7,11) to (-17, -3). The bug travels at constant speed one unit per second everywhere but quadrant II (negative x- and positive y- coordinates), where it travels at 1/2 units per second. What path should the bug take to complete its journey in minimal time?



I'm thinking that the way to solve would be to somehow dilate the quadrant II region by 2, or do some clever reflections. Then the answer would be given by a straight line path. If I try to compute an answer by calculus and Snell's law, it starts to look very very tedious.



I tried to simplify the question by placing the end point inside quadrant II, but I couldn't determine the exact path to take.



Is there an elegant way to do this problem? Thanks for the help!







share|cite|improve this question























    up vote
    6
    down vote

    favorite
    1












    I encountered this question here (question 6) http://sections.maa.org/iowa/Activities/Contest/Problems/Probs98.htm



    The Question:
    A bug is crawling on the coordinate plane from (7,11) to (-17, -3). The bug travels at constant speed one unit per second everywhere but quadrant II (negative x- and positive y- coordinates), where it travels at 1/2 units per second. What path should the bug take to complete its journey in minimal time?



    I'm thinking that the way to solve would be to somehow dilate the quadrant II region by 2, or do some clever reflections. Then the answer would be given by a straight line path. If I try to compute an answer by calculus and Snell's law, it starts to look very very tedious.



    I tried to simplify the question by placing the end point inside quadrant II, but I couldn't determine the exact path to take.



    Is there an elegant way to do this problem? Thanks for the help!







    share|cite|improve this question





















      up vote
      6
      down vote

      favorite
      1









      up vote
      6
      down vote

      favorite
      1






      1





      I encountered this question here (question 6) http://sections.maa.org/iowa/Activities/Contest/Problems/Probs98.htm



      The Question:
      A bug is crawling on the coordinate plane from (7,11) to (-17, -3). The bug travels at constant speed one unit per second everywhere but quadrant II (negative x- and positive y- coordinates), where it travels at 1/2 units per second. What path should the bug take to complete its journey in minimal time?



      I'm thinking that the way to solve would be to somehow dilate the quadrant II region by 2, or do some clever reflections. Then the answer would be given by a straight line path. If I try to compute an answer by calculus and Snell's law, it starts to look very very tedious.



      I tried to simplify the question by placing the end point inside quadrant II, but I couldn't determine the exact path to take.



      Is there an elegant way to do this problem? Thanks for the help!







      share|cite|improve this question











      I encountered this question here (question 6) http://sections.maa.org/iowa/Activities/Contest/Problems/Probs98.htm



      The Question:
      A bug is crawling on the coordinate plane from (7,11) to (-17, -3). The bug travels at constant speed one unit per second everywhere but quadrant II (negative x- and positive y- coordinates), where it travels at 1/2 units per second. What path should the bug take to complete its journey in minimal time?



      I'm thinking that the way to solve would be to somehow dilate the quadrant II region by 2, or do some clever reflections. Then the answer would be given by a straight line path. If I try to compute an answer by calculus and Snell's law, it starts to look very very tedious.



      I tried to simplify the question by placing the end point inside quadrant II, but I couldn't determine the exact path to take.



      Is there an elegant way to do this problem? Thanks for the help!









      share|cite|improve this question










      share|cite|improve this question




      share|cite|improve this question









      asked Jul 26 at 10:53









      eatfood

      452




      452




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          9
          down vote



          accepted










          The bug travels straight within each quadrant.



          So if it gets into quadrant II at all, we can assume that it goes in a straight line from $(7,11)$ to a point $P$ on the positive $y$-axis, then straight to a point $Q$ on the negative $x$-axis, and then straight to $( -17 , -3 ) $.



          However, if it does that, it would actually be faster for the bug to go from $P$ to $Q$ by stepping a small distance to the right and go around the "slow quadrant" rather than through it. In a right triangle, the sum of the legs can never be as much as twice the hypotenuse (for the trivial reason that each leg is shorter than the hypotenuse).



          So going through quadrant II can never be optimal at all, and the bug should actually go straight to the origin, and from there to its destination.






          share|cite|improve this answer



















          • 1




            Isn't this true as long as the bug travels slower than $1/sqrt2$ in the slow quadrant?
            – Kusma
            Jul 26 at 11:22











          • @Kusma: Indeed it is. (But arguing for that is not quite as trivial).
            – Henning Makholm
            Jul 26 at 11:23










          • I'm facepalming hard right now ... guess I got completely fooled. Thanks for the solution! If the destination point was inside the slow quadrant, would using calculus to compute be neccessary? Or would the optimal solution still be given by minimizing distance travelled inside the slow quadrant?
            – eatfood
            Jul 26 at 12:12










          • @eatfood In that case you would use the same math as for light traveling through mediums with different speeds of light (refraction).
            – Eugene Ryabtsev
            Jul 26 at 12:51







          • 2




            @eatfood: Then you would need to do the usual calculus stuff -- but it's trickier than that, because if you're going from $(1,1)$ to $(−999,1)$ it is faster to go to the origin and then proceed fast just south of the x-axis and enter the slow medium at the critical angle when you get to $(−999+sqrt3/2,−varepsilon)$, rather than horizontally all the way (which is a local minimum, in accordance with Snell's law).
            – Henning Makholm
            Jul 26 at 14:02










          Your Answer




          StackExchange.ifUsing("editor", function ()
          return StackExchange.using("mathjaxEditing", function ()
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
          );
          );
          , "mathjax-editing");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "69"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2863300%2fa-bugs-journey%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          9
          down vote



          accepted










          The bug travels straight within each quadrant.



          So if it gets into quadrant II at all, we can assume that it goes in a straight line from $(7,11)$ to a point $P$ on the positive $y$-axis, then straight to a point $Q$ on the negative $x$-axis, and then straight to $( -17 , -3 ) $.



          However, if it does that, it would actually be faster for the bug to go from $P$ to $Q$ by stepping a small distance to the right and go around the "slow quadrant" rather than through it. In a right triangle, the sum of the legs can never be as much as twice the hypotenuse (for the trivial reason that each leg is shorter than the hypotenuse).



          So going through quadrant II can never be optimal at all, and the bug should actually go straight to the origin, and from there to its destination.






          share|cite|improve this answer



















          • 1




            Isn't this true as long as the bug travels slower than $1/sqrt2$ in the slow quadrant?
            – Kusma
            Jul 26 at 11:22











          • @Kusma: Indeed it is. (But arguing for that is not quite as trivial).
            – Henning Makholm
            Jul 26 at 11:23










          • I'm facepalming hard right now ... guess I got completely fooled. Thanks for the solution! If the destination point was inside the slow quadrant, would using calculus to compute be neccessary? Or would the optimal solution still be given by minimizing distance travelled inside the slow quadrant?
            – eatfood
            Jul 26 at 12:12










          • @eatfood In that case you would use the same math as for light traveling through mediums with different speeds of light (refraction).
            – Eugene Ryabtsev
            Jul 26 at 12:51







          • 2




            @eatfood: Then you would need to do the usual calculus stuff -- but it's trickier than that, because if you're going from $(1,1)$ to $(−999,1)$ it is faster to go to the origin and then proceed fast just south of the x-axis and enter the slow medium at the critical angle when you get to $(−999+sqrt3/2,−varepsilon)$, rather than horizontally all the way (which is a local minimum, in accordance with Snell's law).
            – Henning Makholm
            Jul 26 at 14:02














          up vote
          9
          down vote



          accepted










          The bug travels straight within each quadrant.



          So if it gets into quadrant II at all, we can assume that it goes in a straight line from $(7,11)$ to a point $P$ on the positive $y$-axis, then straight to a point $Q$ on the negative $x$-axis, and then straight to $( -17 , -3 ) $.



          However, if it does that, it would actually be faster for the bug to go from $P$ to $Q$ by stepping a small distance to the right and go around the "slow quadrant" rather than through it. In a right triangle, the sum of the legs can never be as much as twice the hypotenuse (for the trivial reason that each leg is shorter than the hypotenuse).



          So going through quadrant II can never be optimal at all, and the bug should actually go straight to the origin, and from there to its destination.






          share|cite|improve this answer



















          • 1




            Isn't this true as long as the bug travels slower than $1/sqrt2$ in the slow quadrant?
            – Kusma
            Jul 26 at 11:22











          • @Kusma: Indeed it is. (But arguing for that is not quite as trivial).
            – Henning Makholm
            Jul 26 at 11:23










          • I'm facepalming hard right now ... guess I got completely fooled. Thanks for the solution! If the destination point was inside the slow quadrant, would using calculus to compute be neccessary? Or would the optimal solution still be given by minimizing distance travelled inside the slow quadrant?
            – eatfood
            Jul 26 at 12:12










          • @eatfood In that case you would use the same math as for light traveling through mediums with different speeds of light (refraction).
            – Eugene Ryabtsev
            Jul 26 at 12:51







          • 2




            @eatfood: Then you would need to do the usual calculus stuff -- but it's trickier than that, because if you're going from $(1,1)$ to $(−999,1)$ it is faster to go to the origin and then proceed fast just south of the x-axis and enter the slow medium at the critical angle when you get to $(−999+sqrt3/2,−varepsilon)$, rather than horizontally all the way (which is a local minimum, in accordance with Snell's law).
            – Henning Makholm
            Jul 26 at 14:02












          up vote
          9
          down vote



          accepted







          up vote
          9
          down vote



          accepted






          The bug travels straight within each quadrant.



          So if it gets into quadrant II at all, we can assume that it goes in a straight line from $(7,11)$ to a point $P$ on the positive $y$-axis, then straight to a point $Q$ on the negative $x$-axis, and then straight to $( -17 , -3 ) $.



          However, if it does that, it would actually be faster for the bug to go from $P$ to $Q$ by stepping a small distance to the right and go around the "slow quadrant" rather than through it. In a right triangle, the sum of the legs can never be as much as twice the hypotenuse (for the trivial reason that each leg is shorter than the hypotenuse).



          So going through quadrant II can never be optimal at all, and the bug should actually go straight to the origin, and from there to its destination.






          share|cite|improve this answer















          The bug travels straight within each quadrant.



          So if it gets into quadrant II at all, we can assume that it goes in a straight line from $(7,11)$ to a point $P$ on the positive $y$-axis, then straight to a point $Q$ on the negative $x$-axis, and then straight to $( -17 , -3 ) $.



          However, if it does that, it would actually be faster for the bug to go from $P$ to $Q$ by stepping a small distance to the right and go around the "slow quadrant" rather than through it. In a right triangle, the sum of the legs can never be as much as twice the hypotenuse (for the trivial reason that each leg is shorter than the hypotenuse).



          So going through quadrant II can never be optimal at all, and the bug should actually go straight to the origin, and from there to its destination.







          share|cite|improve this answer















          share|cite|improve this answer



          share|cite|improve this answer








          edited Jul 26 at 15:39









          Matt

          522412




          522412











          answered Jul 26 at 11:10









          Henning Makholm

          225k16290516




          225k16290516







          • 1




            Isn't this true as long as the bug travels slower than $1/sqrt2$ in the slow quadrant?
            – Kusma
            Jul 26 at 11:22











          • @Kusma: Indeed it is. (But arguing for that is not quite as trivial).
            – Henning Makholm
            Jul 26 at 11:23










          • I'm facepalming hard right now ... guess I got completely fooled. Thanks for the solution! If the destination point was inside the slow quadrant, would using calculus to compute be neccessary? Or would the optimal solution still be given by minimizing distance travelled inside the slow quadrant?
            – eatfood
            Jul 26 at 12:12










          • @eatfood In that case you would use the same math as for light traveling through mediums with different speeds of light (refraction).
            – Eugene Ryabtsev
            Jul 26 at 12:51







          • 2




            @eatfood: Then you would need to do the usual calculus stuff -- but it's trickier than that, because if you're going from $(1,1)$ to $(−999,1)$ it is faster to go to the origin and then proceed fast just south of the x-axis and enter the slow medium at the critical angle when you get to $(−999+sqrt3/2,−varepsilon)$, rather than horizontally all the way (which is a local minimum, in accordance with Snell's law).
            – Henning Makholm
            Jul 26 at 14:02












          • 1




            Isn't this true as long as the bug travels slower than $1/sqrt2$ in the slow quadrant?
            – Kusma
            Jul 26 at 11:22











          • @Kusma: Indeed it is. (But arguing for that is not quite as trivial).
            – Henning Makholm
            Jul 26 at 11:23










          • I'm facepalming hard right now ... guess I got completely fooled. Thanks for the solution! If the destination point was inside the slow quadrant, would using calculus to compute be neccessary? Or would the optimal solution still be given by minimizing distance travelled inside the slow quadrant?
            – eatfood
            Jul 26 at 12:12










          • @eatfood In that case you would use the same math as for light traveling through mediums with different speeds of light (refraction).
            – Eugene Ryabtsev
            Jul 26 at 12:51







          • 2




            @eatfood: Then you would need to do the usual calculus stuff -- but it's trickier than that, because if you're going from $(1,1)$ to $(−999,1)$ it is faster to go to the origin and then proceed fast just south of the x-axis and enter the slow medium at the critical angle when you get to $(−999+sqrt3/2,−varepsilon)$, rather than horizontally all the way (which is a local minimum, in accordance with Snell's law).
            – Henning Makholm
            Jul 26 at 14:02







          1




          1




          Isn't this true as long as the bug travels slower than $1/sqrt2$ in the slow quadrant?
          – Kusma
          Jul 26 at 11:22





          Isn't this true as long as the bug travels slower than $1/sqrt2$ in the slow quadrant?
          – Kusma
          Jul 26 at 11:22













          @Kusma: Indeed it is. (But arguing for that is not quite as trivial).
          – Henning Makholm
          Jul 26 at 11:23




          @Kusma: Indeed it is. (But arguing for that is not quite as trivial).
          – Henning Makholm
          Jul 26 at 11:23












          I'm facepalming hard right now ... guess I got completely fooled. Thanks for the solution! If the destination point was inside the slow quadrant, would using calculus to compute be neccessary? Or would the optimal solution still be given by minimizing distance travelled inside the slow quadrant?
          – eatfood
          Jul 26 at 12:12




          I'm facepalming hard right now ... guess I got completely fooled. Thanks for the solution! If the destination point was inside the slow quadrant, would using calculus to compute be neccessary? Or would the optimal solution still be given by minimizing distance travelled inside the slow quadrant?
          – eatfood
          Jul 26 at 12:12












          @eatfood In that case you would use the same math as for light traveling through mediums with different speeds of light (refraction).
          – Eugene Ryabtsev
          Jul 26 at 12:51





          @eatfood In that case you would use the same math as for light traveling through mediums with different speeds of light (refraction).
          – Eugene Ryabtsev
          Jul 26 at 12:51





          2




          2




          @eatfood: Then you would need to do the usual calculus stuff -- but it's trickier than that, because if you're going from $(1,1)$ to $(−999,1)$ it is faster to go to the origin and then proceed fast just south of the x-axis and enter the slow medium at the critical angle when you get to $(−999+sqrt3/2,−varepsilon)$, rather than horizontally all the way (which is a local minimum, in accordance with Snell's law).
          – Henning Makholm
          Jul 26 at 14:02




          @eatfood: Then you would need to do the usual calculus stuff -- but it's trickier than that, because if you're going from $(1,1)$ to $(−999,1)$ it is faster to go to the origin and then proceed fast just south of the x-axis and enter the slow medium at the critical angle when you get to $(−999+sqrt3/2,−varepsilon)$, rather than horizontally all the way (which is a local minimum, in accordance with Snell's law).
          – Henning Makholm
          Jul 26 at 14:02












           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2863300%2fa-bugs-journey%23new-answer', 'question_page');

          );

          Post as a guest













































































          Comments

          Popular posts from this blog

          What is the equation of a 3D cone with generalised tilt?

          Color the edges and diagonals of a regular polygon

          Relationship between determinant of matrix and determinant of adjoint?