Planar graphs and Euler's formula: QCE General Mathematics Unit 4 Graphs and networks
“Understand the meaning of planar graph and face, and apply Euler's formula v + f - e = 2 to solve problems relating to planar graphs”
A planar graph can be drawn with no edges crossing, and its faces are the regions the edges create, including the outer region. For a connected planar graph, Euler's formula links vertices, faces and edges, so any one can be found from the other two; combine it with "sum of degrees " when degrees are given.
Jump to a section
What this dot point is asking
A planar graph is a graph that can be drawn on a flat surface with no edges crossing. When it is drawn that way, its edges divide the plane into regions called faces. The QCAA General Mathematics 2025 syllabus asks you to understand these two ideas and to apply Euler's formula,
where is the number of vertices, the number of faces and the number of edges, to solve problems about planar graphs. This sits in Topic 3, Graphs and networks, sub-topic "Planar graphs, paths and cycles".
Euler's formula questions are usually short and simple familiar (find the missing number), but they are also used inside larger problems: checking that a network diagram has been drawn correctly, working with degree sums, or deciding whether a layout can be built without crossings.
The answer
Planar graphs and redrawing
A graph is planar if it can be drawn with no edges crossing, even if the drawing you have been given has crossings. Vertices can be moved and edges can be bent (they do not have to be straight) as long as the same vertices stay joined by the same edges.
The classic example is the complete graph on four vertices. Drawn as a square with both diagonals, two edges cross. Move one vertex into the middle of the triangle formed by the other three, and every edge can be drawn without crossing. So it is planar.
Some graphs cannot be redrawn without crossings however hard you try; these are non-planar. The complete graph on five vertices (every one of five vertices joined to every other) is the smallest example. You are not required to prove non-planarity in General Mathematics, but you should know that not every graph is planar.
Faces
When a planar graph is drawn without crossings, the edges divide the plane into faces. Always count the outer (unbounded) face, the region surrounding the whole graph. In the redrawn graph above there are three small triangular faces inside and one outer face, so .
Useful special cases:
- A tree (connected, no cycles) encloses nothing, so it has only the outer face: .
- A single cycle has two faces: the inside and the outside.
- Every time you add an edge that joins two existing vertices without crossing, you split a face into two: increases by 1.
Euler's formula
For any connected planar graph, drawn without crossings,
Check it on the redrawn graph: , , , and .
Why is it always 2? Start with a single vertex: , (the outer face), , so . Build any connected planar graph by adding one edge at a time. An edge to a new vertex increases and by 1 each, so is unchanged. An edge between two existing vertices splits a face, increasing and by 1 each, so again is unchanged. It starts at 2 and never changes.
Euler's formula for a connected planar graph: ( vertices, faces including the outer face, edges). Rearranged: , , . Combine with the sum of degrees, which equals , to find from vertex degrees.
Using the formula
Most questions give two of , and and ask for the third:
- , : .
- , : .
- , : .
Sometimes is hidden in information about degrees. Since each edge has two ends, the sum of the degrees of all the vertices is . A connected planar graph with 10 vertices, each of degree 3, has edges, and then .
Checking a drawing
Euler's formula is also a quick check. If a question gives a planar graph and your counts do not satisfy , you have miscounted (most often by forgetting the outer face, or by counting a crossing point as a vertex). Crossing points in a drawing are not vertices; if a drawing has crossings, redraw it first or you will count the faces wrongly.
Practical contexts
- Circuit boards and flat wiring. Connections printed on one layer of a board cannot cross, so the circuit must form a planar graph.
- Maps and regions. Tracks, roads or borders form the edges, junctions form the vertices, and the regions (including the area outside) are the faces.
- Utilities. The famous puzzle of connecting three houses to three utilities without any lines crossing is impossible because that graph is non-planar.
Counting faces and verifying the formula
A triangular prism's corners and edges form a graph: two triangles and , joined by the edges , and . Drawn without crossings (one triangle inside the other), find , and and verify Euler's formula.
Count. . . Faces: the inner triangle, three four-sided regions between the triangles, and the outer face, so .
Verify. . Correct.
Marker's note: when counting faces, list them (inner triangle, three quadrilaterals, outer), so the marker can see you included the outer face.
Finding the number of edges from degrees
A connected planar graph has vertices with degrees 2, 3, 3, 4, 4 and 4. How many faces does it have?
Edges. Sum of degrees , so .
Faces. , so .
Marker's note: the sum of degrees must be even. If it is odd, a degree has been misread.
Adding and removing edges
A connected planar graph has and . One edge that lies on a cycle is removed. Find the new number of faces.
Before. .
After. Removing an edge that lies on a cycle joins two faces into one, and the graph stays connected: , , . Check: .
Marker's note: removing a bridge (an edge not on any cycle) would disconnect the graph, and Euler's formula in this form would no longer apply.
A general result
A connected planar graph has 3 more edges than vertices. Find .
Substitute. : , so .
Marker's note: questions with no specific numbers are testing whether you can substitute an expression. Write the substitution in full.
- Forgetting the outer face
- The unbounded region around the graph is a face. Missing it makes one too small, and Euler's formula will not balance.
- Counting crossings as vertices
- A point where two edges cross in a drawing is not a vertex. Redraw the graph without crossings before counting faces.
- Deciding a graph is non-planar from one drawing
- A crossing in one drawing does not make a graph non-planar; try redrawing it.
- Using the formula on a disconnected graph
- needs a connected graph.
- Mixing up the formula's signs
- In the QCAA form, vertices and faces are added and edges subtracted: .
Write Euler's formula first, substitute the two known values, then solve. If faces are to be counted from a diagram, label each face (F1, F2, ...) on the diagram including "outer". If a question gives degrees rather than edges, use "sum of degrees " first. Finish by checking with all three numbers.
Draw some dots and join them with lines so that no lines cross. The lines cut the page into areas, and the area outside the drawing counts too. However you do it, the number of dots plus the number of areas, minus the number of lines, always comes out to 2. So if you know two of the three numbers, you can work out the third. A graph that can be drawn like this without crossings is called planar.
Practice questions
Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.
foundation1 markA connected planar graph has 8 vertices and 12 edges. How many faces does it have?
Show worked solution →
Euler's formula: , so , giving . (1 mark) (This is the graph of the corners and edges of a cube.)
foundation1 markA connected planar graph has 7 vertices and 5 faces. How many edges does it have?
Show worked solution →
, so . (1 mark)
foundation2 marksA graph is drawn with two edges crossing. A student says "this graph is not planar". Explain why the student may be wrong.
Show worked solution →
A graph is planar if it can be drawn with no edges crossing. One drawing with a crossing does not prove the graph is non-planar; it may be possible to redraw it (by moving vertices or curving edges) so that no edges cross. (1 mark) For example, the complete graph on four vertices is usually drawn as a square with crossing diagonals, but it can be redrawn as a triangle with the fourth vertex inside, joined to each corner, with no crossings. (1 mark)
core2 marksA connected planar graph has 10 vertices, each of degree 3. Find (a) the number of edges and (b) the number of faces.
Show worked solution →
(a) Sum of degrees . Each edge contributes 2 to the sum of degrees, so . (1 mark)
(b) , so . (1 mark)
core2 marksA connected planar graph has 6 vertices and 9 edges. (a) How many faces does it have? (b) An extra edge is added between two existing vertices without creating a crossing. How do , and change?
Show worked solution →
(a) , so . (1 mark)
(b) stays 6, becomes 10, and the new edge splits one face into two, so becomes 6. Check: . (1 mark)
core2 marksA map shows 5 regions of a national park (plus the area outside the park) separated by tracks. The tracks meet at 8 junctions and there are 12 track sections between junctions, forming a connected planar graph. Verify that Euler's formula holds, and explain what each part of the formula represents in this context.
Show worked solution →
Faces: 5 regions plus the outside area, so . Then . Euler's formula holds. (1 mark)
Vertices are the track junctions, edges are the track sections between junctions, and faces are the regions enclosed by the tracks, including the unbounded region outside the park. (1 mark)
exam2 marksA connected planar graph has 3 more edges than vertices. How many faces does it have? Explain.
Show worked solution →
Let . Substituting into : , so and . (1 mark)
The number of faces does not depend on how many vertices there are, only on the difference : every connected planar graph with has 5 faces. (1 mark)
exam3 marksAn electrician is designing a circuit on a flat board. The circuit is a connected graph with 5 components (vertices) and every pair of components joined directly by a wire (10 edges). (a) If the circuit could be drawn without crossings, how many faces would Euler's formula require? (b) In a simple planar graph every face is bounded by at least 3 edges, and each edge borders at most 2 faces, so . Use this to show the circuit cannot be drawn without crossings. (c) What practical consequence does this have?
Show worked solution →
(a) , so . (1 mark)
(b) With , , but . Since , the condition fails, so no crossing-free drawing exists: the graph is not planar. (1 mark)
(c) At least two wires must cross somewhere, so the design needs an insulated crossover (for example a wire on the other side of the board, or a bridge), or the connections must be changed. (1 mark)