Eulerian and Hamiltonian Graphs, Isomorphism and Complements | AQA A Level Further Maths notes
Free preview: Eulerian and Hamiltonian Graphs, Isomorphism and Complements
Eulerian Graphs: Every Edge Exactly Once
Year 1 (AS) for OCR B (MEI). For the other boards, check your own specification for which parts are AS and which are A level.
Let's start with an old puzzle: can you draw a shape without lifting your pen and without going over any line twice? You can spend ages trying. Graph theory answers it in one line, using degrees (from the previous note).
The new words
- A graph is traversable if you can travel along every edge exactly once in one continuous trail.
- An Eulerian graph has a closed trail (finishing where it started) that uses every edge exactly once. That trail is an Eulerian circuit.
- A semi-Eulerian graph has a trail using every edge exactly once, but it must start and finish at different vertices.
Why degrees decide it
- Think about a vertex in the middle of your pen trail. Each time you arrive there along one edge, you leave along another.
- So every visit uses up two edge ends at that vertex: one in, one out.
- If you only ever pass through a vertex, its degree must be a multiple of 2: even.
- The start is different: you leave it once at the beginning without arriving. The finish: you arrive once at the end without leaving.
- If start and finish are the same vertex, those two single ends pair up, so it is even too.
💡 In plain words
- Every time the trail passes through a vertex, it uses two edge ends there: one in, one out. So a vertex you only pass through must be even.
- Only the start and finish can be odd. If they are the same vertex, it is even too.
- More than two odd vertices: no single trail can use every edge once.

Following the diagram
- Left: all degrees are even. An Eulerian circuit is A–B–C–D–E–C–A, which uses all 6 edges and returns to A.
- Middle: P and Q are odd (degree 3), the rest are even. A trail must start at P and end at Q (or the reverse): P–T–Q–P–S–R–Q.
- Right: V and X have degree 3, so this graph is not Eulerian. But the green cycle V–W–X–Y–Z–V visits every vertex once: it is Hamiltonian (page 3).
The recipe: Eulerian, semi-Eulerian or neither?
- Check the graph is connected. Why: even degrees are no help if the edges are in two separate pieces.
- Find every degree and count the odd vertices. Why: the number of odd vertices is always 0, 2, 4, ... (handshaking lemma).
- 0 odd: Eulerian. 2 odd: semi-Eulerian. 4 or more: neither.
- Write down an actual route and count its edges. Why: the question usually asks you to show it.
✏️ YOUR TURN 1
Try this first:
Each graph is connected, with the degree sequence shown. Say whether it is Eulerian, semi-Eulerian or neither.
- 2, 4, 2, 4, 2, 2
- 3, 3, 2, 2
- 1, 3, 2, 3, 3
Answer:
- All even: Eulerian.
- Exactly two odd (the 3s): semi-Eulerian, starting at one degree 3 vertex and finishing at the other.
- Four odd vertices (1, 3, 3, 3): neither.
Finding the Route
Knowing a route exists is half the job. Now let's actually find one, without getting stuck.
The recipe for writing an Eulerian trail
- Choose the start. All even: anywhere. Two odd: one of the odd vertices. Why: from the degree argument, an odd vertex must be the start or finish.
- Walk along any unused edge and cross it off. Why: each edge must be used exactly once.
- Avoid using an edge that would cut you off from the edges you haven't used yet, unless there is no other choice. Why: once you cross a "bridge" you can't come back.
- Stop when every edge is crossed off. Count the edges in your route to check.
👀 Watch me do it: an Eulerian circuit of (vertices A to E)
| What I write | Why I do it |
|---|---|
| Every vertex has degree 4 | Each vertex is joined to the other four. All even, and is connected, so it is Eulerian. |
| Edges: | So the route must have 10 edges, and 11 vertex names counting the return. |
| A–B–C–D–E–A | Go round the outside first: 5 edges used. |
| –C–E–B–D–A | Now the five diagonals: AC, CE, EB, BD, DA. |
| A–B–C–D–E–A–C–E–B–D–A | 10 edges, none repeated, back at A. Done. |
Unlock the full note: start 7 days free.
Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.
All notes in Graph Theory
- The Language of Graphs: Degrees, Paths, Trees and Special Graphs
- Eulerian and Hamiltonian Graphs, Isomorphism and Complements
- Planar Graphs: Euler's Formula, Kuratowski's Theorem and the Planarity Algorithm
What's inside for this topic
3 teacher notes, 66 practice questions, 50 flashcards, 2 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: The Language of Graphs: Degrees, Paths, Trees and Special Graphs Next note: Planar Graphs: Euler's Formula, Kuratowski's Theorem and the Planarity Algorithm
Eulerian and Hamiltonian Graphs, Isomorphism and Complements on other exam boards
All AQA A Level Further Maths topics · A Level Further Maths