Voronoi Diagrams: Sites, Cells and Nearest-Neighbour Interpolation | Applications and Interpretation IB Maths notes

Free preview: Voronoi Diagrams: Sites, Cells and Nearest-Neighbour Interpolation

What a Voronoi Diagram Shows

Applications and interpretation: SL and HL (SL 3.6)

Four weather stations sit in a 10 km by 10 km region. For any place in the region, which station is nearest? A Voronoi diagram answers this by splitting the region into one zone for each station.

  • The same question appears everywhere: which hospital is closest to an accident, which phone mast picks up your call, which shop a customer will walk to.
  • You could measure the distance from every single place to every station, but there are infinitely many places.
  • Instead we draw the borders once. Then every place is sorted at a glance.

The words you need

  • Sites: the given points (towns, shops, stations, trees). Here A(1, 1), B(7, 1), C(3, 7) and D(7, 9).
  • Cell: the region around one site. Every point in the cell is closer to that site than to any other site.
  • Edge: a boundary between two cells. Points on an edge are the same distance from the two sites on either side.
  • Vertex: a point where three (or more) edges meet. It is the same distance from three sites.

Voronoi diagram in the square 0 to 10 by 0 to 10 with sites A(1, 1), B(7, 1), C(3, 7) and D(7, 9). The edges are x = 4 between A and B, y = −x/3 + 14/3 between A and C, y = 2x/3 + 2/3 between B and C, y = 5 between B and D, and y = −2x + 18 between C and D. Vertices at (4, 3.33) and (6.5, 5).

What the picture shows

  1. The square from 0 to 10 in each direction, with the four sites A(1, 1), B(7, 1), C(3, 7) and D(7, 9).
  2. The edges: x = 4 between A and B, y=−x3+143 between A and C, y=2x3+23 between B and C, y = 5 between B and D, and y = −2x + 18 between C and D.
  3. Two vertices, at (4, 3.33) and (6.5, 5), where three edges meet.

Why the edges are perpendicular bisectors

  • From GCSE: the perpendicular bisector of a line segment PQ is the line that cuts PQ in half at right angles.
  • Every point on it is the same distance from P as from Q. (Fold the paper along it: P lands exactly on Q.)
  • On one side of it you are closer to P; on the other, closer to Q.
  • So the border between two cells is part of the perpendicular bisector of the line joining their two sites.

💡 In plain words

  • A Voronoi diagram is a map of "which site is nearest".
  • Edges are the lines of "equally near to two sites"; vertices are the points of "equally near to three".

More facts about the diagram

  • Each edge is part of a perpendicular bisector of the line joining two sites.
  • A cell on the outside of the diagram may be unbounded (it goes on forever). In context, the region's border cuts it off.
  • Two sites share an edge only if their cells touch. A and D share no edge, so no point is equally close to A and D and nearer to them than to the others.

✏️ YOUR TURN 1

Try this first:

Use the picture to answer.

  1. Which two cells meet along the line x = 4?
  2. The vertex (6.5, 5) is equally far from which three sites?
  3. Does C's cell touch B's cell?

Answer:

  1. A and B: x = 4 is the perpendicular bisector of A(1, 1) and B(7, 1).
  2. B, C and D: it is where the B–C, B–D and C–D edges meet.
  3. Yes: they share the edge y=2x3+23 between the two vertices.

Equations of the Edges

An edge between sites P and Q lies on the perpendicular bisector of PQ. You find it in three steps, all using coordinate geometry you already know.

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in · Subscribe · Start free trial

All notes in Perpendicular bisectors and Voronoi diagrams (SL 3.5, 3.6)

  1. Voronoi Diagrams: Sites, Cells and Nearest-Neighbour Interpolation
  2. Parallel and Perpendicular Lines, Distances, Midpoints and Intersections
  3. Adding a Site and the Toxic Waste Dump Problem

What's inside for this topic

3 teacher notes, 49 practice questions, 24 flashcards, 2 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp · Try one live lesson

Next note: Parallel and Perpendicular Lines, Distances, Midpoints and Intersections

All Applications and Interpretation IB Maths topics · IB Maths