3.6 Voronoi diagramsIB Maths: Applications and Interpretation HL: Revision notes
Section 1
Sites, cells, edges and vertices
A Voronoi diagram divides a plane into regions according to which of a set of points is closest.
- The given points are sites (schools, weather stations, hospitals).
- Each cell is the region of points closer to its site than to any other site.
- An edge is a boundary between two cells: points equidistant from two sites, part of the perpendicular bisector of the sites.
- A vertex is where edges meet. In exam questions, a vertex is always where three edges meet. It is equidistant from three sites.
Drawing an edge through the sites. An edge is the perpendicular bisector, so it crosses the line between two sites at its midpoint at right angles.
Section 2
Equations of edges
In examinations the coordinates of the sites are given, and you are not asked to construct bisectors. You may be asked for the equation of a boundary: find the perpendicular bisector of the two sites.
- Midpoint of the two sites.
- Gradient of the line joining them; take the negative reciprocal.
- . Example: sites and . Midpoint , gradient of is , so the edge has gradient : . Sites with equal -coordinates give a vertical edge (e.g. , : ). A vertex is found by solving two edge equations simultaneously, e.g. and give .
A vertex is equidistant from three sites. Check by finding the distances: is 5 km from each of , and .
Section 3
Identifying the closest site
To decide which site is closest to a point , calculate the distance (or squared distance) from to each site and choose the smallest. Using squared distances avoids square roots. Example: sites , , and . Squared distances: , , . The closest site is , so lies in the cell of . A point on an edge is equidistant from two sites; it belongs to both cells.
Compare squared distances. You only need the square root if the question asks for the distance itself.
Section 4
Adding a site
When a new site is added, a new cell appears around it. Its edges are the perpendicular bisectors between the new site and its neighbouring sites. Parts of the old cells are taken over by the new one, so the neighbouring cells shrink and edges and vertices change. Cells of sites far from the new one may be unaffected. Example: stations , with edge . A new station creates edges (with ) and (with ), meeting at the vertex . The edge now only exists below this vertex.
Leaving old edges where the new site has taken over. After adding a site, an old edge stops at the new vertex.
Section 5
Areas of regions
Cells are polygons, so find coordinates of the vertices and split the region into triangles or rectangles. Example: the reserve is , . The cell of has vertices , and (the last two are where the edges meet ). It is a triangle with base and height , so area km, which is of the reserve. Substitute the boundary value (here ) into an edge equation to find where an edge meets the side of the region.
Draw a quick sketch of the cell with its vertex coordinates labelled before calculating the area.
Section 6
Interpolation and the toxic waste dump
Nearest neighbour interpolation estimates a value at a point using the value at the closest site: every point in a cell is given the same value as its site (for example rainfall). Example: is in the cell of , so the rainfall is estimated as 's reading, 80 mm. It is not the mean of the readings. Toxic waste dump problem: to place a facility as far as possible from its nearest site (a waste dump, a noisy factory), choose a vertex of the Voronoi diagram. Vertices are the points furthest from their three closest sites. Find the vertex by solving two edge equations, then the distance from the vertex to a site. Example: villages , , have a vertex at , which is km from each village. Other contexts: urban planning, spread of diseases, ecology, meteorology and resource management.
Averaging the values of nearby sites. Nearest neighbour interpolation uses the closest site only.
That's the notes covered.
Carry on to the next subtopic.
Exam questions on 3.6 Voronoi diagrams
- A Voronoi diagram is drawn for three schools, which are the sites , and . Coordinates are in km.Find the equation of the edge between the cells of and .2 marks
- Rainfall is recorded at three weather stations: recorded 120 mm, recorded 80 mm and recorded 60 mm. Coordinates are in km. The rainfall at any other point is estimated by nearest neighbour interpolation, using the Voronoi diagram of the three stations.A town is at . Find the distance from to each station, and hence estimate the rainfall at .2 marks
- A company plans to build a waste facility as far as possible from its nearest village, at a vertex of the Voronoi diagram of three villages , and . Coordinates are in km. In the Voronoi diagram, the edge between the cells of and is , and the edge between the cells of and is .Find the equation of the edge between the cells of and , giving your answer in the form .3 marks
Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).