# An interesting question

1. Sep 24, 2009

### tanujkush

Ok so here is a brainteaser, you should get it in your second attempt at the max., else consider yourself poor at math

An ant is in one corner of a cube shaped room. (say one of the bottom corners on the floor). The ant decides to go to the opposite corner on the roof, which would fall on the diagonal of the cube. Unfortunately, the ant cannot fly, else it would have taken the body diagonal route of the cube to reach there. But the ant is most tired, and it wants to take the shortest route possible. Help the ant out!

#### Attached Files:

• ###### puzzle.JPG
File size:
3.4 KB
Views:
88
2. Sep 24, 2009

### redargon

walk diagonally (at 22.5°) along the floor to the middle of the opposite face and then walk diagonally (at 22.5°) up to the opposite corner. A total walking distance of approximately 2.16 times the length of the cube face.

3. Sep 25, 2009

### tanujkush

spot on!

4. Sep 25, 2009

### Gib Z

Have I misunderstood the question? Why not walk diagonally to the corner directly below the End, and then go up. Walking distance is sqrt 2 + 1 times the cube length, approx 2.1415 times the length.

5. Sep 25, 2009

### tanujkush

walking till the midpoint of the opposite face and then straight to the point end gives you a total distance of sqrt((2a)^2+a^2) = sqrt(5)*a = 2.23606a

walking on the bottom diagonal and then straight up to End is a distance of (sqrt(2)+1)*a = 2.414a>2.3606a

6. Sep 25, 2009

### Gib Z

My bad, something exploded in my brain as I used digits of pi for sqrt 2.

7. Sep 25, 2009

### bpet

If the sides of the cube are unfolded to a flat surface, the ant's shortest path will be a straight line

8. Sep 29, 2009

### tanujkush

thats exactly the logic! i was asked this question as a part of my mathematics aptitude some time before undergrad, and I was stumped at the time