IB Maths AI HL Voronoi Diagrams Paper 1 & 2 Largest empty circle ~8 min read

Toxic Waste Dump Problem

The toxic waste dump problem asks: given a set of sites on a Voronoi diagram, where is the point furthest from any of them? In exam contexts, the answer is always a vertex of the diagram — the centre of the largest empty circle that fits inside without touching any site. The radius of that circle is the distance from the vertex to its nearest site, found via Pythagoras.

📘 What you need to know

Largest empty circle — the key idea

Imagine inflating a balloon centred at a vertex of the Voronoi diagram. It expands freely until it touches the nearest site — at that moment, the balloon is the largest empty circle at that vertex. The radius equals the distance from the vertex to its nearest site. The toxic waste dump should sit at whichever vertex has the largest balloon, because that vertex is the furthest possible from any inhabited site.

Two vertices, two empty circles — pick the bigger one cell of A cell of D cell of B cell of C A B C D V₁ V₂ r₁ r₂ r₂ > r₁ → V₂ wins Toxic-waste toolkit ① Largest empty circle centre = a vertex V radius r = V to nearest site (touches at one or more sites) ② Optimal location vertex with maximum r compute r at each vertex, pick the biggest ③ Real-world distance real = r × scale factor (1 unit = k km, applied last) use Pythagoras for every distance
The largest empty circle at V2 (radius r2) is bigger than the one at V1 (radius r1). The optimal toxic-waste site is therefore V2 — the vertex with the larger empty circle — with distance r2 to the nearest existing site.
Largest empty circle at a vertex V r = √((xvxs)2 + (yvys)2) where S(xs, ys) is V’s nearest site. Optimal vertex = arg max of r.

Solving the problem in practice

Most exam questions give you the vertex coordinates and the diagram. Your job is to compute the radius of the empty circle at each candidate vertex (i.e. distance from that vertex to its nearest site), pick the largest, and report the result — converted to real-world units if a scale is given. The “nearest site” at a vertex is any of the three sites equidistant from it; pick any of them for the distance calculation. If you need to compute the vertex itself, solve two of the edge equations simultaneously.

Beyond toxic waste: this same method finds the best location for anything that should be as far as possible from existing competitors — new supermarket, new tree, quiet picnic spot, even sensor placement to maximise coverage gaps.

🧭 Recipe — toxic waste dump problem

  1. Locate the candidate vertices — either given directly or by solving two perpendicular bisector equations simultaneously.
  2. Identify a nearest site at each vertex (any of the three equidistant sites works).
  3. Compute the radius using Pythagoras: distance from the vertex to its nearest site.
  4. Compare radii across vertices — pick the vertex with the largest empty circle.
  5. Apply the scale if given (1 unit = k km, etc.) to convert to real-world distance.

Worked examples

WE 1

Radius of the largest empty circle at a vertex

On a Voronoi diagram, the vertex V is at (3, 4). One of the three sites equidistant from V is P(0, 0). Find the radius of the largest empty circle that can be centred at V.

distance from V to its nearest site r² = (3−0)² + (4−0)² = 9 + 16 = 25 r = √25 = 5 r = 5 units 3-4-5 triple — the three equidistant sites all sit on a circle of radius 5 around V.
WE 2

Compare two candidate vertices

A Voronoi diagram has two candidate vertices for a toxic waste dump: X(1, 2), whose nearest site is P(4, 6); and Y(0, 0), whose nearest site is Q(8, 6). Determine which vertex should be chosen, and state the distance from that vertex to its nearest site.

radius of empty circle at X XP² = (4−1)² + (6−2)² = 9 + 16 = 25 r_X = 5 radius of empty circle at Y YQ² = (8−0)² + (6−0)² = 64 + 36 = 100 r_Y = 10 larger radius → pick Y choose Y; distance = 10 units two clean triples (3-4-5 and 6-8-10) make the comparison immediate.
WE 3

Find the vertex from two edge equations

On a Voronoi diagram, two edges that meet at vertex V have equations 3xy = 5 and x + y = 7. The site nearest to V is S(0, 0). Find the coordinates of V and the radius of the largest empty circle centred at V.

solve simultaneously for V 3x − y = 5 x + y = 7 add the two equations 4x = 12 → x = 3 y = 7 − 3 = 4 → V = (3, 4) radius = distance from V to S r = √(9 + 16) = 5 V = (3, 4); r = 5 units solving two edge equations gives a vertex; the third edge will pass through it automatically.
WE 4

Largest empty circle with a scale

A Voronoi diagram for a national park has vertex V at (10, 4), with three equidistant sites including ranger station R(7, 0). The diagram uses a scale of 1 unit = 1.5 km. Find the radius of the largest empty circle at V, in kilometres.

radius in diagram units VR² = (10−7)² + (4−0)² = 9 + 16 = 25 r = 5 units convert with scale real radius = 5 × 1.5 km r = 7.5 km scale applied once, at the end — never multiply coordinates first.
WE 5

Two vertices — full comparison with metric scale

Two candidate locations for a new wind turbine are at vertices P(3, 2) and Q(5, 7) of a Voronoi diagram showing existing turbines. The nearest existing turbine to P is at A(0, 6), and the nearest to Q is at B(13, 13). The diagram uses a scale of 1 unit = 40 m. Determine which vertex should be chosen to maximise the distance to the nearest existing turbine, and state this distance in metres.

radius at P PA² = (3−0)² + (2−6)² = 9 + 16 = 25 r_P = 5 radius at Q QB² = (5−13)² + (7−13)² = 64 + 36 = 100 r_Q = 10 larger → Q wins; apply scale real distance = 10 × 40 m choose Q; distance = 400 m both calculations use 3-4-5 and 6-8-10 triples; the scale is applied to the winning value only.
WE 6

Full problem — find vertex, then compare

A Voronoi diagram has two candidate vertices. Vertex X lies at the intersection of x + y = 8 and 2xy = 4. Vertex Y is at (4, 9). The site nearest to X is S1(0, 0), and the site nearest to Y is S2(3, 6). Determine which vertex would be the better toxic waste site and find the exact distance from that vertex to its nearest site.

find X from the two edge equations add: 3x = 12 → x = 4 y = 8 − 4 = 4 → X = (4, 4) radius at X (to S₁) r_X² = 16 + 16 = 32 r_X = √32 = 4√2 ≈ 5.66 radius at Y (to S₂) r_Y² = (4−3)² + (9−6)² = 1 + 9 = 10 r_Y = √10 ≈ 3.16 larger → X wins choose X; r = 4√2 units compare squared radii (32 vs 10) for the cleanest comparison.

💡 Top tips

⚠ Common mistakes

Chapter complete — you now have all three Voronoi Diagrams sub-topics: Drawing (perpendicular bisectors, missing sites, edge equations), Interpreting (nearest site, shortest distance, nearest-neighbour interpolation), and the Toxic Waste Dump Problem (largest empty circle at a vertex). Together they cover every Paper 1 & 2 Voronoi question on the AI HL syllabus.

Need help with Voronoi Diagrams?

Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.

Book Free Session →