Resources For Teachers For Tutors For Students & Parents AI New Books Pricing
Year 11 (2026) Maths Standard (2026) Networks, Paths and Trees

Eulerian and Network Problems

10 practice questions 2 video lessons Theory + worked examples
Practice 10 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 2 video(s)
  • Eulerian and Network Problems - Video - Network Problems 1 Watch
  • Eulerian and Network Problems - Video - Network Problems 2 Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

An Eulerian trail uses every edge of a network exactly once, and an Eulerian circuit also finishes where it started. This Year 11 Mathematics Standard page shows how to use the degrees of the vertices to decide which one a network has, where a trail must start and finish, how to check a written route, and how to compare journeys in a weighted network.

Many everyday jobs mean travelling along every edge of a network: a garbage truck or street sweeper covering every street, a postie walking every footpath, or a council worker checking every road for potholes. Going along the same street twice wastes time and fuel, so the best route uses each edge exactly once.

A trail is a walk (a route along the edges) that never uses the same edge twice (it may pass through a vertex more than once). An Eulerian trail is a trail that uses every edge of the network exactly once. An Eulerian circuit is an Eulerian trail that starts and finishes at the same vertex. Both are named after the Swiss mathematician Leonhard Euler (say “oiler”).

You do not need trial and error to know whether such a route exists. Find the degree of each vertex (the number of edges that meet there) and count how many are odd. In a connected network:

  • every vertex even: there is an Eulerian circuit;
  • exactly two vertices odd: there is an Eulerian trail, which starts at one odd vertex and finishes at the other;
  • more than two vertices odd: there is neither.

Network problems also use weighted networks, where the number on each edge is a distance, a time or a cost. The length of a journey is the total of the weights on the edges it uses.

A network where every vertex has even degreeSix vertices A to F around a hexagon, with extra edges B to D, D to F and F to B. A, C and E have degree 2; B, D and F have degree 4. Every degree is even. A B C D E F deg 2 deg 4 deg 2 deg 4 deg 2 deg 4
Every vertex has even degree, so there is an Eulerian circuit, for example A-B-C-D-E-F-B-D-F-A. It uses all 9 edges once and finishes back at A.
A network with exactly two odd verticesFive vertices A to E around a pentagon, with extra edges A to C and A to D. A has degree 4, B and E have degree 2, C and D have degree 3. Only C and D are odd. A B C D E deg 4 deg 2 deg 3 deg 3 deg 2
Only C and D have odd degree (3), so there is an Eulerian trail from C to D, for example C-B-A-C-D-A-E-D. It uses all 7 edges once.

The degree test for a connected network:

Number of odd verticesThe network hasStart and finish
\(0\)an Eulerian circuitstart at any vertex and finish at the same vertex
\(2\)an Eulerian trailstart at one odd vertex, finish at the other
more than \(2\)neither–
The number of odd vertices is always even (0, 2, 4, …). Each edge adds 1 to the degree of both of its ends, so the degrees always add to an even number. If you count 1 or 3 odd vertices, count the degrees again.
Checking a written route. A route that uses all \(n\) edges once lists \(n+1\) vertices: for 7 edges, 8 letters. Each pair of letters next to each other must be an edge, no edge may appear twice, and a circuit must finish at the vertex where it started.

For a weighted network:

\[\text{length of a journey}=\text{total of the weights on its edges}\]
length of a journey equals the total of the weights on its edges

Is there an Eulerian trail or circuit?

  1. Write the degree next to every vertex. If two edges join the same pair of vertices, count both.
  2. Count the odd vertices. None: Eulerian circuit. Exactly two: Eulerian trail. More than two: neither.
  3. For a trail, start at an odd vertex. It will finish at the other odd vertex.

Writing or checking a route

  1. Trace the route on the network, crossing off each edge as you use it.
  2. Check that every step is a real edge, that no edge is used twice and that every edge has been crossed off.
  3. For a circuit, check that the route finishes where it started. If you get stuck with edges left over, go back and take a different edge at an earlier vertex.

Comparing journeys in a weighted network

  1. List every route from the start to the finish that does not pass through a vertex twice.
  2. Add the weights along each route.
  3. Compare the totals: the smallest is the shortest journey and the largest is the longest.
Example 1 — Circuit or trail?
For each network, decide whether it has an Eulerian circuit or an Eulerian trail, and write down a suitable route.
Network (i)Square A, B, C, D with the diagonal A to C. A B C D (i)
Network (ii)Two triangles meeting at E: triangle A, B, E and triangle E, C, D. A B E C D (ii)
Solution

(i) Find the degree of each vertex:

\(A\): 3, \(B\): 2, \(C\): 3, \(D\): 2

Only \(A\) and \(C\) have odd degree, so there is an Eulerian trail from \(A\) to \(C\), for example \(A\)-\(B\)-\(C\)-\(D\)-\(A\)-\(C\). It uses all 5 edges once.

(ii) Find the degree of each vertex:

\(A\): 2, \(B\): 2, \(C\): 2, \(D\): 2, \(E\): 4

Every vertex has even degree, so there is an Eulerian circuit, for example \(A\)-\(B\)-\(E\)-\(C\)-\(D\)-\(E\)-\(A\). It uses all 6 edges once and finishes back at \(A\).

\(\therefore\) (i) is an Eulerian trail and (ii) is an Eulerian circuit.

Example 2 — Where to start and finish
Walking tracks join five lookouts \(P,\ Q,\ R,\ S\) and \(T\). The tracks are \(PQ,\ PR,\ QR,\ QS,\ RS,\ RT\) and \(ST\). A ranger wants to walk along every track exactly once.
(i) Is this possible? Where must she start and finish?
(ii) Write down a suitable route.
Solution

(i) Draw the network and find the degree of each lookout:

Walking tracks between five lookoutsTracks P to Q, P to R, Q to R, Q to S, R to S, R to T and S to T. P Q R S T

\(P\): 2, \(Q\): 3, \(R\): 4, \(S\): 3, \(T\): 2

Exactly two lookouts, \(Q\) and \(S\), have odd degree. So an Eulerian trail is possible. She must start at \(Q\) and finish at \(S\) (or start at \(S\) and finish at \(Q\)).

(ii) Start at \(Q\) and cross off each track as it is used:

\(Q\)-\(P\)-\(R\)-\(Q\)-\(S\)-\(R\)-\(T\)-\(S\)

There are 7 tracks and the route lists 8 lookouts, with no track repeated. \(Q\), \(R\) and \(S\) each appear twice, which is allowed.

Example 3 — Checking a circuit
The network shows the streets a garbage truck must drive along. It starts and finishes at the depot \(A\). Which route is an Eulerian circuit?
Streets for a garbage truckA square of streets A, B, C, D and a triangle of streets B, E, F joined at B. A B C D E F
(A) \(A\)-\(B\)-\(C\)-\(D\)-\(A\)
(B) \(A\)-\(B\)-\(E\)-\(F\)-\(B\)-\(C\)-\(D\)-\(A\)
(C) \(A\)-\(B\)-\(E\)-\(F\)-\(C\)-\(D\)-\(A\)
(D) \(A\)-\(B\)-\(E\)-\(F\)-\(B\)-\(C\)-\(D\)
Solution

Look at the degree of each vertex. \(B\) has degree 4 and every other vertex has degree 2. Every vertex is even, so an Eulerian circuit exists.

There are 7 streets, so the circuit must list 8 letters and finish at \(A\).

(A) uses only 4 of the 7 streets.
(C) uses \(F\)-\(C\), which is not an edge.
(D) finishes at \(D\), not \(A\), and misses street \(DA\).

(B) uses \(AB,\ BE,\ EF,\ FB,\ BC,\ CD,\ DA\): all 7 streets exactly once, finishing at \(A\).

\(\therefore\) the Eulerian circuit is (B) A-B-E-F-B-C-D-A.

Example 4 — Comparing journeys
The network shows the bike paths between four points. The weights are riding times in minutes. Without passing through any point twice, find the quickest and the slowest journeys from \(A\) to \(D\).
Bike paths with times in minutesA to B 4, A to C 6, B to C 1, B to D 7, C to D 5. 4 6 1 7 5 A B C D
Solution

List every route from \(A\) to \(D\) and add the weights:

\(A\text{-}B\text{-}C\text{-}D\)\(=\)\(4+1+5=10\)
\(A\text{-}B\text{-}D\)\(=\)\(4+7=11\)
\(A\text{-}C\text{-}D\)\(=\)\(6+5=11\)
\(A\text{-}C\text{-}B\text{-}D\)\(=\)\(6+1+7=14\)
A B C D equals 4 plus 1 plus 5 equals 10; A B D equals 11; A C D equals 11; A C B D equals 6 plus 1 plus 7 equals 14

\(\therefore\) the quickest journey is \(A\)-\(B\)-\(C\)-\(D\), \(\mathbf{10}\) minutes, and the slowest is \(A\)-\(C\)-\(B\)-\(D\), \(\mathbf{14}\) minutes.

The quickest route uses three paths, not two: fewer edges does not always mean a shorter journey.

Common pitfalls

Count edges, not neighbours. If two roads join the same two places (for example a straight road and a curved road), both count towards the degree of each place.
Start a trail at an odd vertex. When exactly two vertices are odd, a route that starts at an even vertex gets stuck with edges left over.
Check every step of a written route. A route can look right but use a pair of letters that is not an edge, use an edge twice, miss an edge, or fail to finish back at the start.
Eulerian is about edges, not vertices. The route must use every edge exactly once, but it may pass through the same vertex several times.

Frequently asked questions

What is the difference between an Eulerian trail and an Eulerian circuit?

Both use every edge of the network exactly once. An Eulerian circuit finishes at the same vertex it started from. An Eulerian trail that is not a circuit starts and finishes at different vertices.

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

Find the degree of every vertex. If the network is connected and every degree is even, it has an Eulerian circuit, and you can start at any vertex.

Where does an Eulerian trail start and finish?

When exactly two vertices have odd degree, the Eulerian trail must start at one of them and finish at the other.

Can you visit a vertex more than once on an Eulerian trail?

Yes. The rule is that every edge is used exactly once. Vertices with degree 4 or more are always passed through more than once.

What if a network has more than two odd vertices?

Then it has no Eulerian trail and no Eulerian circuit: you cannot travel every edge exactly once. Some edges would have to be repeated.