What you will learn
- represent real situations as networks (graphs) with vertices and edges,
- calculate the degree of each vertex and identify connected graphs,
- apply Euler’s formula to planar graphs,
- determine whether an Eulerian path or circuit exists using vertex degrees,
- solve practical problems involving transport, social networks, and wiring.
A council must inspect every bridge in a river district. The district has land masses connected by bridges. Can an inspector walk a route that crosses every bridge exactly once?
- Model the land masses as vertices and bridges as edges.
- Count the degree (number of edges) at each vertex.
- An Eulerian path exists if there are exactly or vertices with odd degree.
- If vertices have odd degree, the path must start at one and end at the other.
- If all degrees are even, the inspector can complete an Eulerian circuit (returning to the start).
Key idea: the answer depends entirely on vertex degrees, not on the shape of the network.
1. What is a network?
A network (or graph) consists of vertices (also called nodes) connected by edges (also called arcs). Networks can model any situation involving objects and connections between them.
The degree of a vertex is the number of edges connected to it. In the graph above:
| Vertex | Degree |
|---|---|
| A | 3 |
| B | 3 |
| C | 2 |
| D | 2 |
| E | 4 |
| Total | 14 |
The sum of all degrees always equals twice the number of edges (here ), because each edge contributes to the degree of each of its endpoints.
A graph is connected if you can travel from any vertex to any other vertex by following edges.
2. Euler’s formula for planar graphs
A planar graph can be drawn on a flat surface with no edges crossing. For any connected planar graph:
Euler's formula
where is the number of faces (regions, including the outer infinite region), is the number of vertices, and is the number of edges.
A planar graph has vertices and edges. How many faces does it have?
The graph has faces (including the outer region).
3. Eulerian paths and circuits
An Eulerian path traverses every edge exactly once. An Eulerian circuit is an Eulerian path that starts and ends at the same vertex.
| Condition | Result |
|---|---|
| All vertices have even degree | Eulerian circuit exists |
| Exactly vertices have odd degree | Eulerian path exists (start at one odd vertex, end at the other) |
| More than vertices have odd degree | Neither path nor circuit exists |
For the network in the diagram above (vertices A to E), determine whether an Eulerian path or circuit exists.
- Degrees: , , , , .
- Odd-degree vertices: and (two vertices).
- Since exactly vertices have odd degree, an Eulerian path exists.
- The path must start at and end at (or vice versa).
- One such path: .
4. Practical applications
Five towns are to be connected by roads. The costs (in thousands of dollars) for each possible road are shown below. What is the minimum total cost to connect all five towns?
| Road | Cost |
|---|---|
| A—B | 5 |
| A—C | 8 |
| B—C | 3 |
| B—D | 7 |
| C—D | 4 |
| C—E | 6 |
| D—E | 2 |
- Start with the cheapest edge: — (cost ).
- Next cheapest: — (cost ). No cycle formed.
- Next: — (cost ). No cycle formed.
- Next: — (cost ). No cycle formed.
- All towns are now connected using edges. Total cost (thousands).
Key idea: a spanning tree connecting vertices always has exactly edges.
Practice
Tier 1: basic skills
- A network has vertices with degrees . How many edges does it have?
- Draw a network with vertices where every vertex has degree .
- A connected planar graph has vertices and edges. How many faces does it have?
- A network has vertices with degrees . Does an Eulerian circuit exist? Explain.
- A network has vertices with degrees . Does an Eulerian path exist? Explain.
- True or false: a connected graph with vertices must have at least edges.
- State Euler’s formula and define each variable.
- A network has edges. What is the sum of all vertex degrees?
Tier 2: mixed practice
- A connected planar graph has faces and edges. How many vertices does it have?
- Draw a network representing the direct flights between four cities: Melbourne, Sydney, Brisbane, and Perth. Melbourne has direct flights to all three cities; Sydney and Brisbane are connected; Perth has no direct flight to Brisbane or Sydney. How many edges does your network have?
- A postman must walk along every street in a neighbourhood. The network has vertex degrees: . Can the postman complete an Eulerian circuit? Justify your answer.
- A network has vertices and edges. Verify that it cannot be planar using the inequality for simple planar graphs.
- Three houses and three utilities (water, gas, electricity) must each be connected to every utility. Draw this as a bipartite network. How many edges are there? Is this graph planar?
Tier 3: explain and apply
- A council wants to inspect every road in a town. The town’s network has intersections. Four intersections have degree and two have degree . Explain why an Eulerian path does not exist, and describe a strategy the council could use to inspect all roads.
- Prove that in any network, the number of vertices with odd degree is always even. (Hint: use the handshaking lemma.)
- A connected planar graph has vertices, each of degree . Find the number of edges and faces.
- Explain the difference between a Hamiltonian path and an Eulerian path. Give an example of a graph that has an Eulerian circuit but no Hamiltonian circuit.
Challenge
Harder reasoning
- The complete graph has vertices, each connected to every other vertex. Calculate the number of edges, the degree of each vertex, and determine whether an Eulerian circuit exists.
- A network has vertices and is a tree (connected with no cycles). Prove that it has exactly edges.
- Seven bridges connect four land masses. The vertex degrees are . Show that it is impossible to walk a route crossing each bridge exactly once. (This is the Konigsberg bridge problem.)
- A delivery driver must visit locations. The distances (km) between each pair are given. The driver starts and ends at the depot (location A). Outline how you would use a network to find an efficient route, and explain why finding the absolute shortest route is computationally difficult for large networks.