Can you help the spider?

Go back to  'Math Puzzles'

*Please note that the original solution provided had an error. Thanks to our teacher partner Shilpa Kulkarni, the correct solution has been found:

If the spider walks upward across the right wall (even with an infinitesimal movement), reaches the right edge and then comes down towards the bee, the shortest path will be marginally more than 33.

Can you solve this question?

A spider is on the floor in one corner of the room. A fly settles in the diagonally opposite corner. The spider needs to take the shortest route to the fly, without walking on any part of the floor! How far does the spider have to walk?


This was the original explanation (as provided in the book):
You will find this puzzle difficult to solve if you continue to visualize in 3-D. Rather, you should make an attempt to reduce this to 2-D.To do this, unfold the walls and the celinig of the room and lay them out flat out (imagine that you are on the top of the celing watching from above and pulling all the walls upward):

The images shows the spider and the fly at two places because they are placed at corners (shared by two walls).
From the figure, it becomes clear that the spider will need to take the A-B in order to reach the fly (the shortest path possible between two points is the straight line connecting the two points).

AB is calculated using the Pythagoras theorem:

AB = Sqrt(23^2 + 26^2) = 34.71

Note that other possible paths are CB and AD. Can you check if these paths are longer than AB?

Learn from the best math teachers and top your exams

  • Live one on one classroom and doubt clearing
  • Practice worksheets in and after class for conceptual clarity
  • Personalized curriculum to keep up with school