On this page
You are in charge of security for a gallery whose floor plan is a polygon with n straight walls. Guards stand still but can turn to look in every direction. How many do you need so that every point on the floor is seen? Whatever the shape, never more than ⌊n/3⌋, the whole-number part of n divided by 3.
What does the art gallery theorem say?
In 1973 Victor Klee posed this question to Václav Chvátal at a conference at Stanford, and Chvátal soon proved the answer, as Joseph O'Rourke records in the first chapter of his book Art Gallery Theorems and Algorithms, which he now offers free online.
The theorem: ⌊n/3⌋ guards are always sufficient and occasionally necessary to watch a polygon with n corners (Chvátal 1975, Journal of Combinatorial Theory B90061-1)).
A guard at point x sees point y if the straight segment from x to y stays inside the gallery. A convex room needs only one guard. Hiding places come from reflex corners, where the wall folds inward and the inside angle is more than 180°.
How does Fisk's proof work?
Steve Fisk's proof, published in 1978, fits on a single journal page (Fisk 1978, Journal of Combinatorial Theory B90059-X)). It was chosen for the collection Proofs from THE BOOK, as the Wikipedia article on the art gallery problem notes.
Triangulate. Draw diagonals between corners, never crossing each other or leaving the room, until the floor is cut into triangles. Any n-sided polygon splits this way into n − 2 triangles using n − 3 diagonals.
Colour the corners with three colours so that the two ends of every wall and diagonal differ. Colour any triangle; each neighbouring triangle shares two coloured corners, which forces its third. Because the room has no holes, the forcing never loops back into a clash.
Count. The three colour groups add up to n, so the smallest group has at most ⌊n/3⌋ corners.
Place guards on the corners of the smallest colour. Every triangle has one corner of each colour, and a triangle is convex, so its guard sees all of it. The triangles cover the whole floor.
Can you work through a 12-wall gallery?
Here is a room you can draw on squared paper, corners in order: A(0,0), B(30,0), C(38,18), D(48,0), E(80,0), F(80,30), G(62,36), H(80,52), I(80,70), J(40,70), K(28,44), L(0,60). C, G and K are reflex corners, notches that point into the room.
Draw the 9 diagonals AC, CE, EG, GI, AK, CG, GJ, CK and CJ. You get 10 triangles: ABC, CDE, EFG, GHI, KLA, CEG, GIJ, ACK, CGJ and CJK.
Colour triangle ACK: A blue, C yellow, K pink. Then ABC forces B pink, KLA forces L yellow, CJK forces J blue, CGJ forces G pink, CEG forces E blue, CDE forces D pink, EFG forces F yellow, GIJ forces I yellow and GHI forces H blue.
Count: blue is A, E, H, J; yellow is C, F, I, L; pink is B, D, G, K. Four each, and ⌊12/3⌋ = 4.
Check yellow: C is a corner of six triangles (ABC, CDE, CEG, ACK, CGJ, CJK), F of EFG, I of GIJ and GHI, L of KLA. Guards at C, F, I and L watch the whole room.
The theorem gives a ceiling, not the fewest guards for a given room. Can three guards watch this one?
Why are ⌊n/3⌋ guards sometimes necessary?
A comb with k prongs and n = 3k walls needs k guards, because each prong requires its own guard (O'Rourke, chapter 1). A 12-wall comb with 4 prongs therefore needs all 4 guards the theorem allows, so ⌊n/3⌋ cannot be lowered.
What about galleries with right-angled walls?
For orthogonal galleries, whose walls all meet at right angles, ⌊n/4⌋ guards always suffice, and this too is best possible (Kahn, Klawe and Kleitman 1983, SIAM Journal on Algebraic and Discrete Methods). Their proof cuts the floor into convex quadrilaterals instead of triangles. So a right-angled gallery with 12 walls never needs more than 3 guards, where a general 12-wall room may need 4.
How can you practise the idea?
Draw rooms with 9, 10 and 11 walls, then triangulate, colour and count each. ⌊n/3⌋ is 3 for all three; check that your smallest colour group never exceeds it.
Prove the n − 2 count: a polygon's angles add to (n − 2) × 180°, and each triangle contributes 180°.
The forcing trick in step 2 is the same reasoning behind how the chromatic polynomial counts colourings of a graph. Triangulations are planar graphs, which ties this to why three houses and three utilities force a crossing.
If a step such as triangulation or graph colouring feels like a leap, look it up in the Fermi Concept Library, which covers concepts across mathematics and computing, then come back and finish the proof.



