Resources For Teachers For Tutors For Students & Parents AI New Pricing
Year 9 Maths Advanced Properties of Geometric Figures

Networks

20 practice questions 4 video lessons Theory + worked examples

A network is a set of vertices joined by edges, and the degree of a vertex is the number of edges that meet there. This NSW Year 9 Advanced maths subtopic introduces networks and the routes through them (NESA outcome MA5‑NET‑P‑01).

You will count edges and degrees, use the fact that the degrees add to twice the number of edges, and name a route as a walk, trail, path, circuit or cycle. You will decide from its odd vertices whether a network has an Eulerian trail or circuit, plan a jogger's route through a park, and find how many new bridges would solve the Seven Bridges of Koenigsberg problem. It is part of Year 9 Advanced Properties of Geometric Figures.

Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 4 video(s)
  • Networks - Video - Intro to Networks: part 1 Watch
  • Networks - Video - Intro to Networks Part 2: More Terminology Watch
  • Networks - Video - Networks: open and closed walks Watch
  • Networks - Video - Networks Trails and Paths Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

A network (or graph) is a set of vertices joined by edges. This Year 9 Advanced maths page covers the degree of a vertex, the handshake rule, the five kinds of route (walk, trail, path, circuit, cycle), and how odd vertices decide whether a network has an Eulerian trail or Eulerian circuit. Networks lead on to Mathematics Standard.

A network or graph is a collection of vertices (dots) joined by edges (lines). It can model roads between towns, friendships, pipes or flights. The same network can be drawn in many ways: only which vertices are joined matters, not the lengths or shapes of the edges.

The degree of a vertex is the number of edge-ends at it. Two edges between the same pair of vertices each count, so a double edge adds \(2\). A network is connected if there is a route between every pair of vertices.

A walk is any route along edges. A trail is a walk that never repeats an edge. A path is a walk that never repeats a vertex. A circuit is a trail that finishes where it started, and a cycle is a path that finishes where it started. Every path is a trail, but a trail may pass through a vertex twice.

An Eulerian trail uses every edge exactly once. An Eulerian circuit is an Eulerian trail that ends where it started. Euler invented this idea in 1736 to show that no walk crosses each of the Seven Bridges of Königsberg exactly once.

A network with the degree of each vertexA network with vertices A, B, C, D and E. A and B are joined by two edges. A is also joined to D. The degree of each vertex is written beside it in orange: A 4, B 3, C 4, D 3, E 2. A 4 B 3 C 4 D 3 E 2
The degree of a vertex counts edge-ends. A double edge adds \(2\). Sum of degrees \(= 4 + 3 + 4 + 3 + 2 = 16 = 2 \times 8\) edges.
Deciding what kind of route it isA flow chart. If an edge is repeated, the route is a walk. If no edge is repeated but a vertex is, it is a trail, called a circuit if it is closed. If no vertex is repeated, it is a path, called a cycle if it is closed. Is an edge repeated? yes walk no Is a vertex repeated? yes trail no path closed: circuit closed: cycle
Name a route by its repeats. A closed route starts and finishes at the same vertex (the start is not counted as a repeat).

Handshake rule. Every edge has two ends, so:

\[\text{sum of the degrees} = 2 \times \text{number of edges}\]
Σdeg=2e
Odd vertices come in pairs. The degree sum is always even, so the number of vertices of odd degree is always even. A list of degrees with an odd total is impossible.
Connected network withResult
\(0\) odd verticesEulerian circuit: start anywhere, finish at the same vertex
exactly \(2\) odd verticesEulerian trail (not a circuit): start at one odd vertex, finish at the other
\(4, 6, 8, \ldots\) odd verticesno Eulerian trail
Why it works. Each time a trail passes through a vertex it uses one edge in and one edge out, so the edges at a middle vertex are used in pairs: even degree. Only the start and finish can be odd.

How to analyse a network

  1. Degrees: count the edge-ends at every vertex. Check the total is \(2 \times\) the number of edges.
  2. Odd vertices: count them. That number decides the Eulerian question (see the Formulas table), as long as the network is connected.
  3. Find the trail: start at an odd vertex (any vertex if all are even), cross off each edge as you use it, and avoid using an edge that would cut you off from edges not yet used.
  4. Naming a route: list its edges and its vertices. Repeated edge: walk. Repeated vertex: trail or circuit. No repeats: path or cycle.

Using the handshake rule backwards

  1. Edges from degrees: add the degrees and halve.
  2. A missing degree: write the degree sum in two ways (from the vertices and as \(2 \times\) edges), set them equal and solve.
  3. Adding edges: a new edge adds \(1\) to the degree of each of its two ends, so it can make at most two odd vertices even.
Example 1 — Degrees and the handshake rule
For the network shown,
(i) find the degree of each vertex
(ii) check your answers with the handshake rule
(iii) list the vertices of odd degree.
Solution
Network with vertices P to UA network with vertices P, Q, R, S, T and U and edges PQ, PR, QR, QS, RS, two edges between S and T, and TU. P Q R S T U

(i) Count edge-ends at each vertex. \(S\) and \(T\) are joined by two edges, so each of those counts.

\(\deg P = 2,\ \deg Q\)\(=\)\(3,\ \deg R = 3\)
\(\deg S = 4,\ \deg T\)\(=\)\(3,\ \deg U = 1\)

(ii) There are \(8\) edges, so the degrees should add to \(2 \times 8 = 16\).

\(2 + 3 + 3 + 4 + 3 + 1\)\(=\)\(16 = 2 \times 8\)
2+3+3+4+3+1=16=2×8

(iii) The odd-degree vertices are \(\boldsymbol{Q, R, T}\) and \(\boldsymbol{U}\). There are four of them: odd vertices always come in pairs.

Example 2 — Naming routes
Use the network from Example 1. Give the most precise name (walk, trail, path, circuit or cycle) for each route:
(i) \(P - Q - S - R - P\)
(ii) \(Q - R - S - Q - P\)
(iii) \(P - R - S - R - Q\).
Solution
The cycle P Q S R P highlightedThe same network with the closed route P, Q, S, R, P drawn in red. P Q R S T U

(i) Edges \(PQ, QS, SR, RP\): none repeated. No vertex is repeated except the start, and it finishes where it began. A closed path is a cycle.

(ii) Edges \(QR, RS, SQ, QP\): none repeated, so it is at least a trail. \(Q\) is visited a second time, so it is not a path. It does not finish at \(Q\), so it is a trail.

(iii) Edges \(PR, RS, SR, RQ\): the edge \(RS\) is used twice. It is only a walk.

Example 3 — An Eulerian trail
For the network shown:
(i) Does it have an Eulerian circuit, an Eulerian trail or neither?
(ii) Write down an Eulerian trail if there is one.
(iii) Which one new edge would give it an Eulerian circuit?
Solution
A house-shaped networkA network shaped like a house: a square BCED with both diagonals and a roof vertex A joined to B and C. Degrees: A 2, B 4, C 4, D 3, E 3. A 2 B 4 C 4 D 3 E 3

(i) The degrees (in orange) are \(A: 2,\ B: 4,\ C: 4,\ D: 3,\ E: 3\). The network is connected and has exactly two odd vertices, \(D\) and \(E\). So it has an Eulerian trail but no Eulerian circuit.

(ii) The trail must start at one odd vertex and finish at the other:

\[D - B - A - C - B - E - C - D - E\]
D−B−A−C−B−E−C−D−E

It uses all \(8\) edges once each.

(iii) A second edge between \(D\) and \(E\) adds \(1\) to each of their degrees, making every degree even. Then an Eulerian circuit exists.

Example 4 — A missing degree
A connected network has \(6\) vertices and \(11\) edges. The degrees of its vertices are \(2, 3, 3, x, 5\) and \(5\). Find \(x\), and decide whether the network has an Eulerian trail.
Solution

The sum of the degrees is twice the number of edges.

\(2 + 3 + 3 + x + 5 + 5\)\(=\)\(2 \times 11\)
\(18 + x\)\(=\)\(22\)
\(x\)\(=\)\(\mathbf{4}\)
18+x=22,x=4

The odd degrees are \(3, 3, 5, 5\): four odd vertices. An Eulerian trail needs \(0\) or \(2\), so this network has no Eulerian trail.

One network that fits the degrees is shown below.

One network with degrees 2, 3, 3, 4, 5 and 5A possible network with 6 vertices and 11 edges: E and F are joined to each other and to every other vertex, and B and C are each joined to D. A B C D E F

Common pitfalls

Double edges count twice. Two edges between \(A\) and \(B\) add \(2\) to the degree of each. Counting them once makes the degree sum odd, which is a sign of a mistake.
Trail or path? A trail may revisit a vertex but not an edge. A path may not revisit either. Check edges first, then vertices.
Start at an odd vertex. With two odd vertices an Eulerian trail must start at one of them and finish at the other. Starting anywhere else gets stuck.
Halve the degree sum. The degree sum is twice the number of edges. Forgetting to halve doubles the answer.
Connected first. The odd-vertex rules only apply to a connected network. A network whose edges are in two separate pieces has no Eulerian trail, whatever its degrees.

Frequently asked questions

What is the degree of a vertex?

It is the number of edges that meet at the vertex, counting each edge-end. If two edges join the same two vertices, both count, and a vertex with no edges has degree 0.

What is the handshake rule?

The sum of the degrees of all the vertices equals twice the number of edges, because every edge has two ends. A network with 9 edges has a degree sum of 18.

What is the difference between a trail and a path?

A trail never uses the same edge twice but may visit a vertex more than once. A path never visits the same vertex twice, so it can never repeat an edge either. Every path is a trail.

How do you know if a network has an Eulerian circuit?

A connected network has an Eulerian circuit when every vertex has even degree. If exactly two vertices have odd degree, it has an Eulerian trail that starts at one and ends at the other, but no circuit.

Why could nobody cross the Seven Bridges of Koenigsberg once each?

Euler drew the city as a network: land areas as vertices and bridges as edges. More than two of the land areas had an odd number of bridges, and an Eulerian trail allows at most two odd vertices, so no walk crosses every bridge exactly once.

Can a network have an odd number of odd vertices?

No. The degree sum is twice the number of edges, so it is even, and that forces the odd degrees to come in pairs.