← Year 10 Space

Nodes and edges

A network keeps only who is joined to whom. The dots are nodes, the lines are edges, and a node's degree is how many edges meet there. Lengths and positions on the page don't mean distance.

Pick up a train map and plan a trip. What can you read off it, and what can't you?

You're at Fernbank and you need to get to Hilltop. The map on the platform wall shows the stations as dots and the tracks as lines. Which stations can you reach without changing trains?

How this lesson works: Predict, Try, Investigate, Modify, Practise, Make
Info

A made-up train map

Here's the map. It isn't a real city's: the stations are made up. Each line joins two stations you can ride between with no stop in the middle. Try the trip from Fernbank to Hilltop. Which stations do you pass through?

A train map with six stations. Fernbank is joined to Quay. Quay is joined to Market and to Park. Market is joined to Hilltop and to Westgate. Westgate is joined to Park.
A made-up train map
PredictRead the problem and decide what you think before you try anything. A wrong guess is fine: it shows you what to look for.

Two lines

Two lines on the same map, and one is much longer. Which ride would take you further?

On the map, the line from Market to Hilltop is drawn about three times as long as the line from Fernbank to Quay. In real life, which ride is longer?

TryTry it on the board and compare the result with your prediction.

Read the map

Count the lines that meet at Quay. Fernbank, Market and Park are all one ride away.

Each line is a ride with no stop in the middle. From Quay, how many stations can you reach in one ride? Then look back at your prediction.

InvestigateWork out why it happens, one step at a time.

What the map keeps

Look at the line between Market and Hilltop. What is it telling you?

A network is made of nodes (the dots, here the stations) and edges (the lines between them). The degree of a node is the number of edges that meet at it. Here's how to read the map.

Worked exampleBefore each step, say what you think comes next.
  1. 6stations6 stationsEach station is one node: 6 nodes.

Now try one on paper. A bus network has four stops, A, B, C and D. The routes are A to B, B to C, C to D, D to A and B to D. Sketch it, then find the degree of B and type it.

Read Lena's working. Which line says something the map doesn't?

Add the degrees up for every station, then look at the number of lines.

On this map, what does one line stand for?

A bus network has stops A, B, C and D, with routes A to B, B to C, C to D, D to A and B to D. What is the degree of B? Work it out on paper first, then type it.

Lena says the ride to Hilltop must take longest. Click the line where her working goes wrong.

Add up the degree of every station on the map. What do you get?

ModifyChange the problem on purpose and see what happens.

Change the map

Hilltop had one line. What happens to its degree when a new line joins it?

A station with nothing joined to it is still a station on the map. How many lines meet there?

Build up to it
Marina has no line to any other station. How many lines meet at Marina?

For a trip, you need lines you can follow one after another.

The council adds a new station, Lakeside, joined by one new line to Hilltop. What's Hilltop's degree now?

Edge case: a new station, Marina, opens with no line to any other station yet. What's Marina's degree?

Can you ride from Fernbank to Marina?

PractiseA few on your own, to check you have it.

Degrees and edges

Build up to it

Each edge has two ends, and each end counts once towards a degree. How many ends do 5 edges have in all?

The third number of a 3D point is how far up it is.

In a network, A is joined to B, C and D, B is joined to C, and C is joined to D. What's the degree of C?

A network has 8 edges. Add up the degrees of all its nodes. What do you get?

Which of these can you work out from a train map like this one?

Review: in 3D coordinates, P is (2, 3, 4) and Q is (2, 3, 9). How many units above P is Q?

MakeMake your own problem using what you have learned. Expect a few tries; that is normal.

Add a line

Back to the train map. Work this out on paper first, then type the number of lines.

Also used in

Need a hint?

Before a hint: what kind of stuck is this? Try a strategy first

The new line adds one edge.

Another hint

Each end of the new line adds one to a degree.

The council adds a new line joining Hilltop and Park. Work out how many lines are on the map now, and the new degree of Hilltop and of Park. Then say whether a rider can tell from the map if the new line is the quickest way from Hilltop to Park.

Work it out on paper first, one step per line. Then type your answer.

Why can't the rider tell if the new line is quickest?

Now you can
Practise this skillNew questions, new numbers each timeGet 3 right in a row to mark it practised.Next lesson5. Every street onceA sweeper wants every street once and none twice. Count the junctions where an odd number of streets meet: with none or exactly two, a route exists, and it starts and ends at the odd ones.
For teachers

Students read a made-up train map as a network (nodes, edges, degree), see that the drawn length of a line isn't a distance, and update the counts when a line is added (AC9M10SP02, node 1). About 35 minutes.

Open the teacher guide: answers, solutions, slides and a worksheet.

Students will be able to

Before class

The stations (Fernbank, Quay, Market, Hilltop, Westgate, Park), the bus stops and every number are made up. A real city's train map is copyright, so none is used here; if you like, bring one to class and ask the same question of it (what is joined to what, and what the map leaves out).

The one idea: a network diagram keeps connections and drops the rest. Nodes are the things (stations), edges are the joins (lines). Degree is the number of edges that meet at a node. The sum of all the degrees is twice the number of edges, because every edge has two ends; this is used in the next lesson.

Line length on a diagram like this is just what fits on the page. Mermaid, which draws the map, places boxes by its own layout rules, which is a useful point to make: the same network can be drawn many ways.

Wider idea: "connected" means you can follow edges from any node to any other. Marina (degree 0) is the first example of a node that isn't. Edge weights (distances or times) come later.

Running the lesson

  1. Opening: ask which stations they pass on the way from Fernbank to Hilltop before they see Predict.
  2. Predict: take a show of hands before the answer is shown. Those who pick Market to Hilltop are reading the line length as a distance.
  3. Paper: the degree try-one after the worked example and the Make task are worked on paper first. Books out, and look for a sketch with dots and lines.
  4. Modify: ask for Marina's degree before students type it. Zero is an answer.

The hard part (on purpose)

Reading the drawn length of a line as a distance. Ask what the line would look like if the same two stations were drawn on a different page.

When students get stuck

Stretch and support

Stretch: Draw the same network a different way, with different line lengths. Does anything the map tells you change?

Support: Give students the map printed with each node coloured in as they count its edges.

Where it leads

Starts AC9M10SP02.

Where it leads: following paths and asking whether every edge can be used once (Every street once), then polyhedra as networks (Euler's rule).

What each step is for