Mr Ant

Geometry Level 2

If the solid cube has edge length 2, then what is the shortest distance that an ant can walk from corner A to corner B?

Note : The ant can walk anywhere along the surface of the cube.

6 6 4 2 4\sqrt{2} 2 + 2 2 2+2\sqrt{2} 20 \sqrt{20}

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

5 solutions

Discussions for this problem are now closed

Eli Ross Staff
Nov 5, 2015

Relevant wiki: Pythagorean Theorem

At first, we might think it is most efficient to walk along the edges of the cube. This would require walking along three edges, for a total distance of 6:

However, it then becomes clear that once we get to the top face of the cube, we'd rather walk straight to point B, for a total distance of 2 + 2 2 2+2\sqrt{2} :

But wait! What we really want to do is walk "straight" to point B for the entire trip. We want the ants path to look something like:

While the cube may be 3D, we're really dealing with a 2D problem, since the ant can only walk along the surface of the cube. To find the optimal path, we can imagine "flattening" the surface of the cube:

Thus, the shortest path is the hypotenuse of a right triangle with legs of length 2 2 and 4 4 , so via the Pythagorean Theorem , the shortest distance is 2 2 + 4 2 = 20 . \sqrt{2^2 + 4^2} = \sqrt{20}.

Very Nice Problem, so a beautiful solution for it.

Ashwani Tyagi - 5 years, 7 months ago

Beautiful!

Amar Singh Saksena - 5 years, 6 months ago

Doesn't (2+2route2)^2 = 12 though? Making edge then straight in fact the shortest route.

Ben Zinger - 5 years, 7 months ago

No: ( 2 + 2 2 ) 2 = 2 2 + ( 2 2 ) 2 + 2 2 2 2 = 12 + 8 2 23.3. (2+2\sqrt{2})^2 = 2^2 + (2\sqrt{2})^2 + 2 \cdot 2 \cdot 2\sqrt{2} = 12 + 8\sqrt{2} \approx 23.3.

Eli Ross Staff - 5 years, 7 months ago

Walking through edge then straight is longer. Try it on a cardboard, make a box, you'll see that it's the same with a non-folded cardboard.

Dice \m/ - 5 years, 7 months ago

"While the cube may be 3D, we're really dealing with a 2D problem..." so yep it's 3D, he just said that the problem is the same with 2D figures.

Dice \m/ - 5 years, 7 months ago

I thought of the ant making the optimal path shown over the cube's surface in analogy to a "great arc" over a sphere.

Manjunath Sreedaran - 5 years, 7 months ago

Here what you have considered is body diagonal. The formula to find body diagonal of a cube is sqrt(3) *side. Moreover ant cannot travel through body diagonal path as it is empty space (it cannot fly).

Srinivas Nani - 5 years, 7 months ago

The ant could not go inside the SOLID cube. It has no empty space in it. Please read the problem.

Rafael Toralba - 5 years, 3 months ago

3 th solution is the right one. I made the same solution .

Esen Atli - 5 years, 6 months ago
Prasit Sarapee
Nov 11, 2015

David Orrell
Nov 15, 2015

My method was purely algebraic. The only logical input is that the ant will want to walk along geodesics for each of the two faces it walks on, since this is guaranteed for 2-D geometry to create the shortest path.

The ant will head for a point somewhere along the edge joining the two faces it traverses. Let's say that the distance along the edge is x x . By Pythagoras' theorem, the distance travelled is x 2 + 2 2 \sqrt{x^{2} + 2^{2}} .

Now it has to walk a second hypotenuse to get to the point B, with the triangle having legs of 2 c m 2cm and ( 2 x ) (2-x) cm. By Pythagoras' Theorem again, the distance travelled is 2 2 + ( 2 x ) 2 \sqrt{2^{2} + (2-x)^{2}} .

Let's call the total distance walked by the ant y, where y = x 2 + 2 2 + 2 2 + ( 2 x ) 2 y = \sqrt{x^{2} + 2^{2}} + \sqrt{2^{2} + (2-x)^{2}} . We want to minimise y y , and we can do this by differentiating y y with respect to x x to find any stationary points on the function (where d y d x = 0 \frac{dy}{dx} = 0 ).

I used the chain rule with the two parts of the equation separately, then combined them to form the differential equation here: d y d x = x x 2 + 4 + x 2 x 2 4 x + 8 \frac{dy}{dx} = \frac{x}{\sqrt{x^{2} + 4}} + \frac{x - 2}{\sqrt{x^{2} - 4x + 8}} .

Next I solved this equation, where d y d x = 0 \frac{dy}{dx} = 0 :

x x 2 + 4 + x 2 x 2 4 x + 8 = 0 \frac{x}{\sqrt{x^{2} + 4}} + \frac{x - 2}{\sqrt{x^{2} - 4x + 8}} = 0

x x 2 + 4 = x 2 x 2 4 x + 8 -\frac{x}{\sqrt{x^{2} + 4}} = \frac{x - 2}{\sqrt{x^{2} - 4x + 8}}

x 2 x 2 + 4 = ( x 2 ) 2 x 2 4 x + 8 \frac{x^{2}}{x^{2} + 4} = \frac{(x - 2)^{2}}{x^{2} - 4x + 8}

x 4 4 x 3 + 8 x 2 = x 4 + 4 x 2 4 x 3 16 x + 4 x 2 + 16 x^{4} - 4x^{3} + 8x^{2} = x^{4} + 4x^{2} - 4x^{3} - 16x + 4x^{2} + 16

16 x = 16 16x = 16

x = 1 x = 1

Putting this back into the equation, y = 2 5 y = 2\sqrt{5}

Ashish Menon
Apr 9, 2016

Method 1:-

Divide the back wall into two halves by drawing a line vertically. Then the length of the diagnol of the rectangle with edge A = a 2 + ( a 2 ) 2 = 5 a 2 4 \sqrt{a^2 + {(\dfrac{a}{2})}^2} = \sqrt{\dfrac {5a^2}{4}} .

Name the edge opposite to A in the rectangle as C. Now, divide the upper wall into two rectanglesby drawing a line from C. Calculate the diagnol of the rectangle with edge B = a 2 + ( a 2 ) 2 = 5 a 2 4 \sqrt{a^2 + {(\dfrac{a}{2})}^2} = \sqrt{\dfrac {5a^2}{4}} .

\therefore The shortest distance travelled = 2 × 5 a 2 4 2 × \sqrt{\dfrac {5a^2}{4}}
= 5 a = 2.236 a \sqrt{5} a = \boxed{2.236}a

The ant travels along the yellow line The ant travels along the yellow line 0

Let Point C C be a n y \large any point 2 \large 2 units away from point A A .( 2 \large 2 units means that C \large C is a vertex of the cube). Let Point D \large D be the point 2 \large 2 units away from point B \large B and not coplanar (on the cube) with C \large C . From these points, we can form a rectangle A C B D \large ACBD with side lengths 2 \large 2 and 4 \large 4 ( 2 × 2 ) \large (2 \times 2) . The shortest distance of this rectangle is the diagonal, which must be the shortest distance an ant can travel.
Using Pythagorean Theorem we can solve for the length of the diagonal, that is: a 2 + b 2 = p 2 \large a^{2}+b^{2}=p^{2} p = a 2 + b 2 \large p= \sqrt{a^{2}+b^{2}} where a \large a and b \large b are the sides of the rectangle.
Since this distance is squared p 2 \large p^{2} we can square the diagonal, Thus, ( a 2 + b 2 ) 2 = p 2 \large (\sqrt{a^{2}+b^{2}})^{2}=p^{2} = a 2 + b 2 = p 2 \large = a^{2}+b^{2}=p^{2} plugging sides 2 \large 2 and 4 \large 4 as either a \large a or b \large b , we have: ( 2 ) 2 + ( 4 ) 2 = p 2 \large (2)^{2}+(4)^{2}=p^{2} p 2 = 4 + 16 \large p^{2}=4+16 p 2 = 20 \large p^{2}=20 p = 20 . \large p = \sqrt{20}.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...