Free access until 31 December 2026 · Physics and Maths questions and notes, updated continuously · Build a test

3 · IB Maths

Voronoi diagrams

Each cell holds the points that are closer to its site than to any other. Move the sites, add or remove some, and see how the boundaries, always perpendicular bisectors, rearrange.

Predict first

Start from the default five sites. If you drag site C from the middle of the map to just beside site A, at about (4.0, 3.5), what happens to the area of cell A?

Map 16 km × 10 km. Drag a site to move it. Keyboard: focus the diagram, press N to select the next site, then use the arrow keys (Shift for bigger steps).

Presets

cell of A = all points P with PA ≤ PB for every other site B
boundary between A and B = perpendicular bisector of AB
vertex = point equidistant from 3 or more sites

Try this

  1. Start with the default five sites. Tick “Highlight nearest site” and move the pointer to a boundary: how do the distances to the two neighbouring sites compare there?
  2. Drag site C (the middle one) towards A. Which boundary is the perpendicular bisector of AC, and how do the areas of the two cells change?
  3. Tick “Show the largest empty circle”, then drag sites about. Where does the circle’s centre sit relative to the cell boundaries?

Exam tip: every edge of a Voronoi cell lies on the perpendicular bisector of two neighbouring sites and every vertex is equidistant from three sites, so a point furthest from all sites (a “toxic waste” location) is found at a vertex or on the boundary of the region.