Jump to content
Science Forums

Help to a bug


Recommended Posts

Hello!

 

I need a help.

Here is the question:

There is a bug in a room. The room is 4 meters high, 4 meters wide and 10 meters long.

The bug is sitting on the left (4x4) wall, one meter up from the ground, in the middle (position A).

The bug must come to the goal (position :confused: which is on the totally right side, in the middle of the right wall (4x4), three meters up from the ground.

Can the bug pass the distance less than 14 meters?

(Sorry for my bad English).

Link to comment
Share on other sites

Well, I was trying to minimize an alternative possibility but it takes a bit more doing than I hoped for, unless I've bungled the polynomials you would need to find any solutions to:

 

[math]2a \sqrt{4a^2-32a+164} + (4a-16) \sqrt{1+a^2} = 0[/math]

 

Anybody in the mood?

Link to comment
Share on other sites

Gosh LaTeX doesn't seem to be working right.

 

:doh: :doh:, :doh: and :doh: again! Who's idea was it to have slashes and backslashes in sowtware languages!?!?! :hihi:

 

Anyway you appear to have beat me to it, or sort of... did you actually minimize the idea or did you just hit on a value that makes it under 14?

Link to comment
Share on other sites

edit: it can be done......i just figured it out, i think 13.9284 is the minimum..

it seems that the bug DOES cross the edge in the 10 by 4 rectangle. (i thought it shouldn't previously, I was wrong)

see picture.

 

there are many ways of "un-folding" the "room". the shortest path in these foldings are shown.

[math]a=\sqrt{14^2+1}[/math]

[math]b=14[/math]

[math]c=\sqrt{13^2+5^2}=13.9284...[/math]

[math]d=\sqrt{12^2+8^2}=14.4222...[/math]

it can be less than 14

post-276-128210092611_thumb.jpg

Link to comment
Share on other sites

I agree Tim, if I haven't bungled things, after a quadrature my equation simplifies to a second degree one:

 

[math]384a^2+128a+256[/math]

 

which has a negative discriminant... no minima!

 

I have found 13,928 m.
How did you get that, then?
Link to comment
Share on other sites

No, wait, that's:

 

[math]384a^2+128a-256[/math]

 

which has two solutions, -1 which I bet isn't good for the original equation, and 2/3. I don't have time to try the whole thing though, I'll tell you tomorow.

Link to comment
Share on other sites

oh so not a flying bug :hihi: yeah 2 possible routes at 14 but dont see any less

There are actually FOUR possible routes. This can be most easily seen by unfolding the room into six flat rectangles, keeping their attachments so that the distance from A to B is unbroken. There are four ways of doing this, according to how you "unfold" the wall with the point B. See diagram.

 

In upper left we have AB = 14.0 m

In upper right we have AB = SQRT( 13^2 + 5^2 ) = SQRT( 194 ) = 13.9 m

In lower left we have AB = SQRT( 12^2 + 8^2 ) = SQRT( 208 ) = 14.4 m

In lower right we have AB = SQRT( 13^2 + 11^2 ) = SQRT( 290) = 17.0 m

 

There is a shorter distance from A to B, by going across TWO of the long walls instead of ONE.

 

On second thought, there are only THREE routes. Note the 4th one below, crosses some "empty space" near B. Ignore that one.

post-2585-128210092619_thumb.jpg

Link to comment
Share on other sites

Yeah, I only thought of the unfoldings after catching my commuter train! :hihi:

 

The one I had in mind yesterday was the lower left and indeed my calculations got [math]\small 4\sqrt{13}[/math] but instead of unfolding and then just drawing a straight line, I was using a parameter and minimizing. All roads lead to Rome. ;)

Link to comment
Share on other sites

There are actually FOUR possible routes. This can be most easily seen by unfolding the room into six flat rectangles, keeping their attachments so that the distance from A to B is unbroken. There are four ways of doing this, according to how you "unfold" the wall with the point B. See diagram.

 

In upper left we have AB = 14.0 m

In upper right we have AB = SQRT( 13^2 + 5^2 ) = SQRT( 194 ) = 13.9 m

In lower left we have AB = SQRT( 12^2 + 8^2 ) = SQRT( 208 ) = 14.4 m

In lower right we have AB = SQRT( 13^2 + 11^2 ) = SQRT( 290) = 17.0 m

 

There is a shorter distance from A to B, by going across TWO of the long walls instead of ONE.

 

On second thought, there are only THREE routes. Note the 4th one below, crosses some "empty space" near B. Ignore that one.

 

Simply wonderful; wonderfully simple? Either way, you rock Pyro. Having squashed the bug in the box, may I ask you to employ your method to a bug outside a box?

Your unfolding diagrams have a similarity to my prints from rolling an inked box as if unfolding sides in order. Here are photos of some of the prints:

http://hypography.com/gallery/showimage.php?i=406&c=3&userid=796

http://hypography.com/gallery/showimage.php?i=407&c=3&userid=796

I have never satisfied myself as to a solution asking essentially how many ways can the bug walk from one face to another & visit each face only once?

The thread discussing this, including a photo of the box & I think my last guestimate of 72 different bug routes (so to speak) is here:

http://hypography.com/forums/social-sciences/1606-mathemagical-box-mind-experiment.html?highlight=mathemagical+box

Now where's that flyswatter?:shrug:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...