In simple terms
A friendly intro before the formal notes — no formulas yet.
Dividing a Map by Who Is Closest
A Voronoi diagram starts with a handful of fixed points, called sites, and paints the map so that every location is coloured by the site nearest to it. Each colour is a cell; the borders between colours are edges; the corners where three colours meet are vertices. That single idea, closest site wins, answers a surprising range of questions.
Picture several fire stations in a city. If a fire breaks out, the nearest station responds. Draw the region each station covers and you have partitioned the whole city into response zones, one per station. Stand anywhere inside a zone and its station is your closest. Stand on a border and two stations are tied for nearest. Stand on a corner where three zones meet and three stations are all exactly the same distance away. That map of zones is a Voronoi diagram.
- 1
Start with the fixed points, the sites (fire stations, hospitals, phone masts).
- 2
For each pair of neighbouring sites draw the perpendicular bisector of the segment joining them; the part that forms a real border is an edge, and every point on it is equidistant from those two sites.
- 3
Where edges meet you get a vertex, a point equidistant from three sites at once.
- 4
The region enclosed around a single site is its cell: every point inside is closer to that site than to any other.
Explore the concept
Use the live diagram and synced steps — play it or tap a step card to walk through.
Key formulas
Tap any symbol to reveal exactly what it means and its units.
Full topic notes
Formal explanation with the rigour you need for the exam.
The three ingredients: cells, edges and vertices
A Voronoi diagram begins with a set of fixed points called sites, for example the locations of hospitals, schools or phone masts. From them the plane is split into cells, one per site. The cell of a site contains every point that is closer to than to any other site, so if you are standing somewhere in 's cell then is your nearest site. The borders between cells are edges, and the corners where edges meet are vertices. Everything about the diagram flows from one idea: each feature is defined by distance to the sites.
It is worth pausing on why an edge is a perpendicular bisector. An edge separates the cell of from the cell of , so it is made of exactly those points that are equally close to and to . The set of all points equidistant from two fixed points is precisely the perpendicular bisector of the segment joining them. That single fact, equidistant from two points equals perpendicular bisector, is the engine behind every construction in this topic.
Site: a fixed given point (a hospital, a mast). You do not calculate sites; they are the input.
Cell: the region around a site containing every point closer to that site than to any other. One cell per site.
Edge: a boundary between two cells. Every point on it is equidistant from the two sites it separates, so it lies on their perpendicular bisector.
Vertex: a corner where three (or more) edges meet. It is equidistant from the three sites whose cells meet there.
Constructing a simple diagram
To construct a Voronoi diagram by hand you draw the perpendicular bisector of each pair of neighbouring sites and keep only the parts that genuinely form borders. For two sites there is a single dividing line. For three sites you draw three perpendicular bisectors; they meet at one vertex, and the three edges radiating from it split the plane into three cells. Adding more sites simply repeats the idea: bisect neighbouring pairs, find where the bisectors cross, and rub out the pieces of each bisector that lie inside a cell where a different site is actually closest.
The algebra you need is just coordinate geometry. The edge between two sites and is the perpendicular bisector of , so you need its midpoint and the perpendicular gradient.
Midpoint of : \n Gradient of : \n Perpendicular gradient: \n Equation of the edge:
Model answer — marked the way our engine marks it
In Paper 1 the marks are analytic: each is tied to a specific line of working, either a method mark (M) or an accuracy mark (A), and an accuracy mark depends on the method mark it follows. Follow-through (FT) means an earlier slip need not cost you the marks that depend on it, provided the later step is done correctly on your own figures. But that protection only exists if the method is on the page. Study how each mark below is earned by a specific line.
Finding a vertex and the largest empty circle
A vertex is where two edges cross, so you find it by solving the two edge equations simultaneously. Because a vertex is equidistant from three sites, it answers the classic optimisation question: where should a new facility go so that it is as far as possible from every existing site? This is the largest-empty-circle or toxic-waste problem, place a hazardous dump as far as possible from all towns, or a new mast as far as possible from all existing masts to avoid interference. Inside the region, the optimal point is always a Voronoi vertex, and the radius of the largest empty circle is the distance from that vertex to any one of its three equidistant sites.
In Paper 1 you have your GDC. Use the simultaneous-equation solver to find the intersection of two edges (the vertex), but always write down the two equations you are solving so the method mark is on the page, even when the GDC produces the final coordinates.
Nearest-neighbour interpolation
Sometimes each site carries a value, a weather station records a temperature, a sensor records a pollution level, and you want to estimate the value at a location with no station. Nearest-neighbour interpolation does the simplest possible thing: it gives the location the value of its nearest site, that is, the value of the site whose Voronoi cell contains it. So the Voronoi diagram is exactly the map of which value applies where. The estimate is constant across each cell and jumps at the edges. It is quick and needs no weighting, but it ignores how far the nearest site actually is and takes no account of the second-nearest site, so it can be crude near the borders.
Applications: nearest facility and coverage
The everyday power of Voronoi diagrams is answering 'which one is nearest?' at a glance. Overlay the diagram for a set of hospitals on a map and every neighbourhood is instantly colour-coded by the hospital that serves it; the same works for schools, fire stations or supermarket depots. Signal coverage is the mirror image: if each mast reaches a fixed radius, the cells tell you which mast a phone should connect to, and comparing a cell's size to that radius reveals gaps where no mast reaches, a coverage hole. Two cautions carry real marks. First, Voronoi 'nearest' is straight-line distance, which can differ from travel distance by road. Second, the diagram assumes the sites are the only thing that matters; a real decision might also weigh capacity or opening hours.
When a context question asks for the 'nearest hospital' to a point, you usually do not need the whole diagram, just decide which cell the point is in. Compare the distance from the point to each candidate site (squared distances are enough) and pick the smallest. Show those distance comparisons: that is where the method marks live.
Common mistakes examiners penalise
Using the segment [AB] or the line through A and B as the edge — the edge is the PERPENDICULAR BISECTOR of [AB]. Find the midpoint and the negative-reciprocal gradient; do not quote the gradient of [AB] itself.
Forgetting the negative reciprocal — the edge's gradient is , not . A perpendicular-gradient slip loses the accuracy marks that depend on it.
Confusing a site with a vertex — the toxic-waste / largest-empty-circle answer is a VERTEX (equidistant from three sites), never a site. Solve two edge equations simultaneously to find it.
Measuring the radius from the wrong point — the largest empty circle is centred at the vertex; its radius is the distance from that VERTEX to a site, not the distance between two sites or from a midpoint.
Weighting or averaging in nearest-neighbour interpolation — nearest-neighbour copies the single nearest site's value; it does not average the neighbours or weight by distance. Compare distances and take the closest.
Not showing the simultaneous equations for a vertex — even when the GDC finds the intersection, write down the two edge equations you solved, or the method mark is lost.
Assuming 'nearest' means nearest by road — Voronoi cells use straight-line distance; note the distinction whenever a real route could differ.
Where this leads
Voronoi diagrams tie the coordinate geometry of 3.1 to 3.3, midpoints, gradients, perpendicular lines and the distance formula, into a single tool for reasoning about proximity. The habit they build, define a feature by distance and then compute it, is exactly the discipline every applied geometry question rewards: state what is equidistant, form the perpendicular bisector, solve for the vertex, measure the radius. Master that chain and the optimisation flavour of the toxic-waste problem generalises far beyond masts and hospitals, to any situation where the best location is the one that balances the distances to a set of fixed points.
Worked examples
See the formulas applied — reveal one step at a time, like the exam.
Two sites are at A(2, 1) and B(6, 5). Find the equation of the Voronoi edge between their cells. [4]
- 1
Model answer — full working.\n\nThe edge between the cells of and is the perpendicular bisector of , the set of points equidistant from and .\n\nMidpoint of [AB].\n\n\nGradient of [AB] and the perpendicular gradient.\n so the perpendicular gradient is \n\nEquation of the edge. Through with gradient :\n\n\nSimplify.\n\n\nEdge: (equivalently ).\n\n---\nHow our marking engine awards the 4 marks:\n\n- M1 — midpoint. A method mark for correctly forming the midpoint of . It is the approach that is rewarded, so it survives an arithmetic slip further down.\n- M1 — perpendicular gradient. A method mark for finding and taking the negative reciprocal to get . The engine checks that you took the perpendicular (negative reciprocal) gradient, not the gradient of itself.\n- A1 — equation. An accuracy mark for a correct equation of the line through the midpoint with the perpendicular gradient, e.g. . This A-mark depends on both M-marks above and is earned once the correct point and gradient are combined. FT applies: a candidate whose midpoint or gradient differed but who substituted their own values correctly still earns it.\n- A1 — simplified form. An accuracy mark for the tidy final form (or any equivalent, such as ).\n\n**'Accept equivalent forms.'** The engine accepts , and as the same edge. Once a correct final equation appears, subsequent restatements do not lose marks (ISW).\n\nBottom line: of the 4 marks, two are method marks that survive an arithmetic slip, and the two accuracy marks are shielded by follow-through, but only if the midpoint, the perpendicular gradient and the substitution are all written down.
Three phone masts stand at A(1, 5), B(7, 7) and C(9, 1). \n (a) Find the equation of the Voronoi edge between the cells of A and B. \n (b) The edge between the cells of B and C is . Find the coordinates of the Voronoi vertex. \n (c) A new emergency antenna must be placed as far as possible from all three masts. State its optimal location and, to 3 significant figures, find its distance from the masts. [8]
- 1
(a) Edge between A and B. This is the perpendicular bisector of .\n [M1: midpoint]\n [M1: perpendicular gradient]\nThrough with gradient : , so [A1: equation]\n\n**(b) Vertex.** The vertex is where the A|B edge meets the B|C edge, so solve simultaneously:\n [M1: set up simultaneous equations]\n then \nVertex at , equidistant from A, B and C. [A1]\n\n**(c) Optimal antenna.** To be as far as possible from all three masts, place the antenna at the Voronoi vertex . [A1: location]\nThe distance is the radius of the largest empty circle, from to any site, say :\n [M1: distance from vertex to a site]\n (3 s.f.). [A1]\nCheck with : , the same, as expected for a vertex.
Three weather stations record midday temperatures: P(0, 0) reads 18 °C, Q(10, 0) reads 22 °C and R(5, 8) reads 15 °C. Using nearest-neighbour interpolation, estimate the temperature at the point T(4, 1). [4]
- 1
Nearest-neighbour interpolation gives the temperature of its nearest station, so compare the distances from to each station. (Comparing squared distances is enough and avoids surds.)\n\n [M1: distances to each site]\n\n [A1: all three correct]\n\nThe smallest is , so is the nearest station. [M1: identify nearest]\n\nTherefore the estimated temperature at is that of station : . [A1]\n\nBecause the method copies the nearest station's reading, the estimate is everywhere inside P's cell, and would jump the instant crossed an edge into another station's cell.
How it all connects
The big idea sits in the middle — tap a linked idea to explore the link.
Tap a linked idea to see how it connects back to the main topic — that connection is what examiners reward.
Glossary
Try to recall each definition before you reveal it.
Quick check
Answer in your head first — then tap to check. No pressure.
Revision flashcards
Flip the card. Test yourself before the exam.
Site
One of the fixed starting points that generates the diagram, for example a hospital, a school or a phone mast. Sites are given data; you do not calculate them. Every cell belongs to exactly one site.
Key takeaways
Review these before you close the topic — retrieval beats re-reading.
- ✓
Site: a fixed given point (a hospital, a mast). You do not calculate sites; they are the input.
- ✓
Cell: the region around a site containing every point closer to that site than to any other. One cell per site.
- ✓
Edge: a boundary between two cells. Every point on it is equidistant from the two sites it separates, so it lies on their perpendicular bisector.
- ✓
Vertex: a corner where three (or more) edges meet. It is equidistant from the three sites whose cells meet there.
Practice — then mark it
The whole point: a real Cambridge question, marked mark-by-mark.
Get a Paper 2 question marked: find a Voronoi edge, a vertex and the largest empty circle with full working
Get a Paper 2 question marked: find a Voronoi edge, a vertex and the largest empty circle with full working
Extra simulations & links
PhET, GeoGebra and other curated tools — open in a new tab.
Frequently asked
Checkpoint
One marked question is worth ten re-reads — close the loop before you move on.
Reading it isn’t knowing it — prove it.
Before you move on: do Get a Paper 2 question marked: find a Voronoi edge, a vertex and the largest empty circle with full working on paper, snap a photo, and get examiner-style feedback on exactly where you win and lose marks.