KS Maths
Topic 3.6 · Applications and Interpretation

Voronoi diagrams

The middle is not the answer

Three recycling depots sit at A(0, 0), B(8, 0) and C(4, 6) on a map of a district, in kilometres. A waste transfer station has to go as far as possible from the nearest depot. Almost everyone puts it in the middle. The middle is 4.00 km from its nearest depot. The right answer is 4.33 km.

Words you need (10 key words in this lesson)

The maths words this lesson uses, in plain English. Open this before you start if English is not your first language.

bisect
Cut into two equal parts.A bisector cuts an angle in half.
nearest
Closest in value.The nearest whole number to 6.7 is 7.
perpendicular
Meeting at a right angle, 90 degrees.The sides of a square are perpendicular.
vertex
A corner of a shape. Also, the turning point of a parabola.A triangle has three vertices.
coordinates
A pair of numbers that gives a position on a grid.(3, 2) means 3 across and 2 up.
gradient
How steep a line is. Up divided by across.A line going up 2 for each 1 across has gradient 2.
edge
A line where two faces meet. In graph theory, a line joining two points.A cube has twelve edges.
distance
How far it is from one place to another.The distance is 5 kilometres.
square root
A number that gives the original number when multiplied by itself.The square root of 25 is 5.
right angle
An angle of exactly 90 degrees.The corner of a page is a right angle.

Preview You are reading the start of this lesson. The rest opens with a plan. See plans Already paid? Sign in

Warm-up

Four quick ones from earlier work. Try each on paper before you open the answer.

  1. Find the midpoint of (2, 5) and (10, −1).
    Answer

    (6, 2). Average the x-coordinates and the y-coordinates separately: (2 + 10)/2 and (5 + (−1))/2.

  2. Find the gradient of the line joining (1, 2) and (5, 8), and the gradient of any line perpendicular to it.
    Answer

    3/2, and −2/3. The gradient is 6 ÷ 4. A perpendicular gradient is the negative reciprocal: flip the fraction and change the sign.

  3. Find the distance between (1, 1) and (7, 9).
    Answer

    10. √(6² + 8²) = √100. Subtract the coordinates, square, add, and take the root.

  4. Solve y = 3 and 2x + 5y = 31 together.
    Answer

    x = 8. Substitute y = 3: 2x + 15 = 31, so 2x = 16. Finding a Voronoi vertex is exactly this: two bisector equations solved together.

Words used in this lesson
site
one of the given points on the map. For example: a depot, a school or a rain gauge.
cell
all the points nearer to one site than to any other. For example: the region around a depot.
edge
the boundary between two cells. For example: the line halfway between two depots.
vertex
a point where three edges meet. For example: equally far from three sites.
perpendicular bisector
a line that cuts a segment in half at a right angle. For example: the line x = 4 bisects the segment from (0, 0) to (8, 0).
equidistant
the same distance from each of them. For example: the midpoint is equidistant from the two ends.
nearest neighbour
the closest site to a given point. For example: the nearest depot to a house.
interpolation
estimating a value at a place from values at nearby places. For example: estimating rainfall from the nearest gauge.
centroid
the average position of the sites, the “middle”. For example: the centroid of three depots.
hence
use the result you have just found. For example: “find the vertex, and hence the distance”.
024680246A(0, 0)B(8, 0)C(4, 6)A's cellB's cellC's cellEach edge is the perpendicular bisector of two sites. All three meet at one point.The station is only as safe as its NEAREST site, so the smallest of the three is the one that counts.
n/ato the nearest site
n/apoint
cellsverdict

Each boundary lies on the perpendicular bisector of two sites. All three meet at one point, and that point is the vertex.

The four words

WordWhat it is
SiteOne of the given points. The depots. In an exam the coordinates are given to you.
CellEverywhere that is nearer to one particular site than to any other.
EdgeA boundary between two cells. It lies on the perpendicular bisector of those two sites, because that is where the nearest one changes. It is usually only part of that line: a segment, or a ray that runs off the map.
VertexWhere three edges meet. It is the same distance from three sites at once.

Everything in this sub-topic follows from one line of 3.5: a point on the perpendicular bisector of two sites is equally far from both. So a cell boundary lies on a bisector, and a point where three boundaries cross is equally far from three sites.

The rest of this lesson is in the full course

Still to come in this lesson:

In the full lesson every figure moves as you drag it, and every answer you type is checked, with a note on what each wrong answer means.

IB Diploma plan: AI SL$99Every Diploma lesson in both courses and both levels, so a change of course never locks you out, and every lesson from Year 7 for the refreshers. $99 for 12 months or $149 for 2 years.

One plan opens every Diploma lesson, AA and AI, SL and HL, for the whole family.

One payment. Nothing renews. Full refund within 30 days. Prices are in US$; Gumroad shows your local currency at checkout. Pay by card on Gumroad, then come back here and type the email you paid with: we email you a sign-in link. For a refund, reply to your Gumroad receipt or email hello@ksmaths.com.

Try a free sample lesson in every unit, and the whole Skill Tree. See this unit.

Already have a revision pack or the Years 7 to 11 plan? Move up and the unused part of what you paid comes off.

Teaching students who need extra support? Student codes for 5, 10 or 30 students.

AI SL Mock Exam Pack, $19BuyPlan $99