10
$\begingroup$

Inside a rectangular room, measuring 16 feet in length and 8 feet in width and height, a spider resides at a corner. A fly buzzing in the room intends to land at a spot that will take the spider the longest to reach, knowing that the spider never drops or uses its web, but crawls at constant speed.

Where should the fly land?

$\endgroup$
  • $\begingroup$ Is the corner where the spider resides known to the fly? $\endgroup$ – McMagister Dec 31 '14 at 11:13
  • $\begingroup$ @McMagister - sure, the fly can see the spider. $\endgroup$ – Johannes Dec 31 '14 at 11:17
  • 2
    $\begingroup$ Lateral Answer: On the spiders head, he will never reach a constantly changing location. $\endgroup$ – warspyking Dec 31 '14 at 12:01
  • $\begingroup$ @war that doesn't really work as a lateral thinking answer though, given that the spider is already there. $\endgroup$ – frodoskywalker Dec 31 '14 at 13:18
  • $\begingroup$ No, the spider is right under there, and will never be there! $\endgroup$ – warspyking Dec 31 '14 at 13:38
4
$\begingroup$

The optimal distance seems to be

$\sqrt{14^2+18^2} = \sqrt{22^2+6^2} \approx 22.804$
which is greater than
$\sqrt{16^2+16^2} \approx 22.627$
If the fly stayed at the opposite corner.

Assuming the spider is on the roof corner, be in the opposite corner (on the floor), then move upwards 2 feet and sideways 2 feet.

The key to this puzzle is that there are 4 distances to be optimized.

Spider1 Spider2 Spider3 Spider4

$\endgroup$
2
$\begingroup$

Intuitively, it seems the fly should land in the opposite corner.

If we unfold the room along the edge between short wall and roof, the spider travels 8 feet across and 24 feet along, for a distance $\sqrt{24^2+8^2}$ feet

However, we can improve things for the spider by

Unfolding the room along the join between the long wall and the roof gives us a distance of $\sqrt{16^2+16^2}$

Prompted by Johannes' comment that this can be beaten:

As shown below, if the fly moves some distance along the short wall it simultaneously improves the worse solution given and lengthens the improved solution. When they are equal the distance should be maximised.

diagram of room unfolded in both directions

The distances are $d_1=\sqrt{16^2+(16+x)^2}$, $d_2=\sqrt{24^2+(8-x)^2}$

Which are equal to $\sqrt{24^2+(16/3)^2} \approx 24.585$ at x=8/3

$\endgroup$
  • $\begingroup$ Nice try, but there is a point further than a $16\sqrt2$ spider crawl away... $\endgroup$ – Johannes Dec 31 '14 at 11:51
  • $\begingroup$ I get the feeling it has something to do with it crawling $\endgroup$ – warspyking Dec 31 '14 at 12:06
  • $\begingroup$ @Johannes I thought there might be. I'm having a lot of trouble finding it though. $\endgroup$ – frodoskywalker Dec 31 '14 at 12:43
  • $\begingroup$ Oh, you have to force the spider to use something close to my first solution - deny it the convenient unfolding of the room along the long edge. $\endgroup$ – frodoskywalker Dec 31 '14 at 12:50
  • $\begingroup$ @frodoskywalker - you can do better than the point at the opposite corner 8/3' away from the ceiling... $\endgroup$ – Johannes Dec 31 '14 at 13:35

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.