Planar graphs and Euler's rule
Discover Euler’s rule for planar graphs in Year 12 VCE General Mathematics. Engineers laying out tracks on a circuit board, or rangers mapping walking trails at Wilsons Promontory, want links that never cross. A graph that can be drawn like that is planar, and its drawing splits the page into regions called faces.
You will learn to redraw graphs to remove crossings, count faces without forgetting the outside one, and use \(v - e + f = 2\) to find a missing number of vertices, edges or faces. You will see why the graph must be connected, link the rule to solids such as dice, and use the degree sum to count edges, before describing graphs with matrices.
Theory
A planar graph can be drawn with no edges crossing, and its drawing splits the page into faces. This Year 12 General Mathematics guide for students in Victoria shows how to recognise and redraw planar graphs, count faces (including the outside face) and use Euler’s rule \(v - e + f = 2\) to find a missing value.
A planar graph is a graph that can be drawn on a flat page with no two edges crossing. A drawing like that is called a plane drawing of the graph. A graph drawn with crossings may still be planar: you may be able to move vertices or reroute edges so the crossings disappear, while every vertex keeps exactly the same connections.
A plane drawing divides the page into regions called faces, each bounded by edges. The unbounded region around the outside of the drawing is also a face (the outside face), and it is always counted. A tree, which has no cycles, has only the outside face.
Not every graph is planar. The complete graph on \(5\) vertices, and the graph of three houses each joined to three utilities, can never be drawn without a crossing.
Euler’s rule for a connected planar graph, where \(v\) = vertices, \(e\) = edges and \(f\) = faces (including the outside face). Some books call it Euler’s formula and write it in another order, such as \(v + f - e = 2\); it is the same rule.
When the degrees are known, the number of edges comes from the degree sum (each edge has two ends):
How to use Euler’s rule
- Check the conditions. The graph must be connected and drawn (or able to be drawn) with no edges crossing. If edges cross, try to redraw it first.
- Count what you can. Count the vertices \(v\) and edges \(e\). Count the faces \(f\) by numbering each region, and include the outside face.
- Substitute in order. Write \(v - e + f = 2\), substitute the known values, collect the numbers, then solve for the unknown, one step per line.
- Check. Put all three values back into \(v - e + f\) and confirm it equals \(2\).
Number each region, including the outside face.
| \(v\) | \(=\) | \(5\) |
| \(e\) | \(=\) | \(7\) |
| \(f\) | \(=\) | \(4\) |
| \(v - e + f\) | \(=\) | \(5 - 7 + 4\) |
| \(\) | \(=\) | \(2\) |
There are \(3\) faces inside the drawing plus the outside face \(F4\), so \(f = 4\), and \(v - e + f = 2\) as expected.
Substitute \(v = 10\) and \(e = 16\) into Euler’s rule.
| \(v - e + f\) | \(=\) | \(2\) |
| \(10 - 16 + f\) | \(=\) | \(2\) |
| \(-6 + f\) | \(=\) | \(2\) |
| \(f\) | \(=\) | \(2 + 6\) |
| \(f\) | \(=\) | \(8\) |
Any plane drawing of this graph has \(8\) faces, counting the outside face. Check: \(10 - 16 + 8 = 2\).
Edges \(AC\) and \(BD\) cross. Move \(B\) into the middle, between \(A\), \(C\) and \(D\), and swing \(E\) out to the left, keeping every connection the same.
| \(v - e + f\) | \(=\) | \(2\) |
| \(5 - 7 + f\) | \(=\) | \(2\) |
| \(-2 + f\) | \(=\) | \(2\) |
| \(f\) | \(=\) | \(2 + 2\) |
| \(f\) | \(=\) | \(4\) |
The redrawn graph has the same \(5\) vertices and \(7\) edges with no crossings, so the graph is planar. It has \(f = 4\) faces, matching \(F1\) to \(F4\) in the drawing.
Halve the degree sum to get \(e\), then substitute into \(v - e + f = 2\).
| \(\text{sum of degrees}\) | \(=\) | \(6 \times 4\) |
| \(\) | \(=\) | \(24\) |
| \(e\) | \(=\) | \(24 \div 2\) |
| \(\) | \(=\) | \(12\) |
| \(v - e + f\) | \(=\) | \(2\) |
| \(6 - 12 + f\) | \(=\) | \(2\) |
| \(-6 + f\) | \(=\) | \(2\) |
| \(f\) | \(=\) | \(2 + 6\) |
| \(f\) | \(=\) | \(8\) |
The graph has \(12\) edges and \(8\) faces, matching the \(8\) triangular faces of the die (one of them is the outside face of the drawing).
Common pitfalls
Frequently asked questions
What is a planar graph?
A planar graph is a graph that can be drawn on a flat surface without any of its edges crossing. If a drawing has crossings, the graph may still be planar if it can be redrawn without them.
What is a face of a graph?
A face is a region of a plane drawing that is bounded by edges. The unbounded region outside the drawing is also a face and must be counted.
What is Euler's rule for graphs?
For a connected planar graph, v - e + f = 2, where v is the number of vertices, e the number of edges and f the number of faces, including the outside face.
Do you count the outside face in Euler's rule?
Yes. The outside face is always included. For example, a single triangle has 3 vertices, 3 edges and 2 faces (inside and outside), and 3 - 3 + 2 = 2.
Does Euler's rule work for a disconnected graph?
No. The rule needs a connected planar graph. A graph in two separate pieces gives v - e + f = 3.
How do you show a graph is planar?
Redraw it so that no two edges cross, keeping every vertex joined to exactly the same vertices as before. If you can do this, the graph is planar.