79 of 100: Guards in the Gallery

Geometry Level 2

The purple figure below is the floor plan of a gallery, and an example is shown of what could be seen by a single guard who cannot see through walls but who can look 36 0 360^\circ around.

Your job is to position some number of guards in the gallery such that every location in this gallery is in view of at least one of the guards.

What is the fewest number of guards that you can use to guard the entire gallery?

Make sure every nook and cranny is visible to at least one guard! You can assume any sub-region of the gallery that appears to be a rectangle is, in fact, a rectangle.

2 3 4 5 6

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.

4 solutions

Arjen Vreugdenhil
Aug 17, 2017

The floor plan can be divided into eight simple shapes (rectangles, and one near-rectangle in the southeast corner). Each of these shapes is convex ; this implies that, for any two points P P and Q Q in the shape, the line segment P Q PQ lies entirely within the shape; that is, a guard standing at any point P P is able to see every point Q Q without obstruction.

To cover the entire gallery, we just need to make sure that each of the eight shapes has (at least) one guard; to minimize the number of guards, we place them as much as possible in the overlap of the shapes. The diagram below shows how this can be accomplished with three guards: For a complete proof, we must make sure that there is no solution with less than three guards. This is easy to see. Consider the "dead-ends" of the three hallways running north-south. In order to cover such a dead end, a guard must be somewhere inside the rectangle belonging to that hallway. Since the three rectangles do not overlap, this requires at least three distinct guards.

Just a hypothesis. Could the above be related to the axes of symmetry of the figure ???

Sundar R - 3 years, 9 months ago

Log in to reply

I don't see any axes of symmetry...

Arjen Vreugdenhil - 3 years, 9 months ago

I meant something corresponding to inertial axes (There could be more than 2 if the figure is complex or non-convex). .I suppose it could also correspond to the number of components in the figure where each component would require 1 guard.

Sundar R - 3 years, 9 months ago

Agree with Reuben - this is an amazing proof. Can I ask what software or programme you used to draw it?

Katherine barker - 3 years, 9 months ago

Log in to reply

I copied the picture from the problem, then used the Drawing Tools in Microsoft Word to trace over it, and removed the original picture. (It is not the tools you use-- it is how you use them :D )

Arjen Vreugdenhil - 3 years, 9 months ago

Log in to reply

In my case, and at my age, that means I ask my kids to show me how! :)

Katherine barker - 3 years, 9 months ago

This explanation is fantastic. Other solutions show that 3 can do it, but breaking it down to convex outlines makes it clear why 3 is the best answer.

Reuben Settergren - 3 years, 9 months ago
Kevin Tran
Aug 14, 2017

This type of problem doesn't even need explaining :).

Ethan Song - 3 years, 9 months ago

Log in to reply

I wonder. Can these types of problems be systemized and treated analytically, or are they only susceptible to algorithmic attacks and neural nets?

Steven Chase - 3 years, 9 months ago

Isn;t there a wall where the purple area borders yellow area ?

Sundar R - 3 years, 9 months ago

Log in to reply

No. That's just an example.

Kevin Tran - 3 years, 9 months ago
Jet Sri
Aug 17, 2017

Tom Verhoeff
Aug 17, 2017

Within a convex area, a guard at any position will guard the entire area. The shape can be decomposed as a union of 8 convex areas (5 axes-parallel rectangles and 3 slanted quadrangles). These can be grouped into three groups of 3, 3, and 2 such that the intersection of the convex shapes per group is non-empty. Place the guards within the intersections of the convex areas of each group. Thus, 3 guards suffice.

The three slanted quadrangles cannot be guarded by 2 guards: no matter where you place two guards, some area will not be covered.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...