Extremely Tough Brain Teaser

Page 3 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

brikis98

Diamond Member
Jul 5, 2005
7,253
8
0
you can't do it without bending/reinterpreting the rules a bit. for example, if a line goes through a corner, does that count as 0 gates, 1 gate, or 2 gates? likewise, does it have to be one continuous line (or can you lift your pencil)? what about a line that is right on top of an edge of the rectangle? we'd need to have clearly defined rules to prove it's possible (by solving) or impossible...
 

SpecialEd

Platinum Member
Jul 18, 2001
2,110
0
0
There is no solution to this problem.

Reason: Consider a room with five gates. In order to pass through each gate exactly once, your options for that room are either:

enter, leave, enter, leave, enter

or

leave, enter, leave, enter, leave.

Therefore, if a room has five gates, you must have either started in that room or stopped in that room. But the number of rooms with five gates is 3. If a solution existed, you would have a room with five gates that you neither started in or stopped in.

QED
 

cubby1223

Lifer
May 24, 2004
13,518
42
86
Originally posted by: Murphy Durphy
If this is such a famous problem, shouldn't the answer be somewhere on the internet? I've searched the web and I've searched books about Euler theory and can't find mention of this problem anywhere.
It isn't on the internet because it's not a famous problem, nor does it have a solution.

The only possible "solution" is by bending the rules, by jumping over a gate in some way that's "acceptable", or passing through a corner and having it count as crossing both at once, or if you took the drawing and curved it around a sphere somehow to change the positioning of the gates.

Wait, I know the solution! Accellerate the right half close to the speed of light, and it's mass will increase, altering the gates' gravitational pulls, causing two gates to bend into one, now giving you the proper requirement to solve the puzzle!!! Or maybe it's the Matrix solution, it's not the gates that are bending, it's your mind that's bending!!
 

Murphy Durphy

Golden Member
Aug 12, 2003
1,248
0
0
Originally posted by: brikis98
you can do it without bending/reinterpreting the rules a bit. for example, if a line goes through a corner, does that count as 0 gates, 1 gate, or 2 gates? likewise, does it have to be one continuous line (or can you lift your pencil)? what about a line that is right on top of an edge of the rectangle? we'd need to have clearly defined rules to prove it's possible (by solving) or impossible...

You can't lift your pencil, and the corner bit I'm getting clarified within the next two hours. I'm going to see if the professor who wanted to bet me $50 there was a solution was including any type of trickery (such as corners) in the process, even though he did originally say there was none.
 

dullard

Elite Member
May 21, 2001
25,765
4,292
126
Originally posted by: cubby1223
It isn't on the internet because it's not a famous problem, nor does it have a solution.
I agree with the rest of what you wrote, but this is a famous problem. It has been taught for centuries in school, it has been smeared all over the internet, it has been posted on ATOT dozens of times, etc.
 

Kyteland

Diamond Member
Dec 30, 2002
5,747
1
81
Redefining the problem as graph theory.

In that picture, trace each edge of the graph exactly once without picking up your pencil. Because it's now a graph, the problem is well defined. This is equivalent to the original problem.

The conceptual proof of why this is impossible is because you have 6 nodes in the graph, 4 of which have an odd edge count. If you have >2 odd nodes the problem has no solution. The reason is that every time you enter a node you must also leave it, consuming two edges in the node. because you are drawing a path with a pen, that path is allowed to have two endpoints. Because of this you can start and stop in two different nodes and those two nodes will have an odd edge count.

The reason the "hole in the paper" trick works is because it essentially allows you to partition the graph in to two pieces. If you select properly this leaves you with exactly two odd nodes in each partition.
 

BrownTown

Diamond Member
Dec 1, 2005
5,314
1
0
not possible unless you allow some sort of non-expected thing like beign able to fold the paper, or running along the lines without intersecting them.
 

ahurtt

Diamond Member
Feb 1, 2001
4,283
0
0
If your line crosses directly across the intersection point of 2 or more gates, does that count as having crossed all the gates that intersect at that point? Or must it be solved as if there were no actual intersecting or touching lines in the template?
 

edro

Lifer
Apr 5, 2002
24,326
68
91
Originally posted by: Kyteland
Redefining the problem as graph theory.

In that picture, trace each edge of the graph exactly once without picking up your pencil. Because it's now a graph, the problem is well defined. This is equivalent to the original problem.

The conceptual proof of why this is impossible is because you have 6 nodes in the graph, 4 of which have an odd edge count. If you have >2 odd nodes the problem has no solution. The reason is that every time you enter a node you must also leave it, consuming two edges in the node. because you are drawing a path with a pen, that path is allowed to have two endpoints. Because of this you can start and stop in two different nodes and those two nodes will have an odd edge count.

The reason the "hole in the paper" trick works is because it essentially allows you to partition the graph in to two pieces. If you select properly this leaves you with exactly two odd nodes in each partition.

Genius. I love those old school math tricks.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |