Resources For Teachers For Tutors For Students & Parents AI New Pricing
Year 10 Maths Advanced Networks

Planar Graphs and Euler's formula

20 practice questions 2 video lessons Theory + worked examples

A planar graph can be drawn so that no two edges cross, and it then splits the page into faces, including the outside face. For any connected planar graph, Euler's formula links the counts: \(v-e+f=2\). In NSW Year 10 Advanced maths you redraw graphs in planar form, count vertices, edges and faces, and find a missing value from the formula (NESA outcome MA5‑NET‑P‑01).

You will use \(v-e+f=2\) to find edges, faces or vertices, check it on wheels, prisms and cube networks, and redraw graphs so no edges cross. You will model the borders of Australia's mainland states and territories, find the vertices of an icosahedron, and see what happens when the graph is not connected. Harder questions show that \(e\le3v-6\) and why the three-utilities puzzle cannot be drawn flat. It is part of Year 10 Advanced Networks.

Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 2 video(s)
  • Planar Graphs - Euler's Formula - It always works and here's how to work with it Watch
  • Planar graphs and Euler's formula Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

A planar graph can be drawn with no edges crossing. For every connected planar graph, Euler's formula \(v - e + f = 2\) links the vertices, edges and faces, where the outside region counts as a face. This Year 10 Advanced maths page covers counting faces, redrawing without crossings, solids, solving for an unknown and proving a graph is not planar.

A graph is planar if it can be drawn on a flat page so that no two edges cross. A drawing with crossings may still be of a planar graph, if it can be redrawn without them. A graph that can never be drawn without a crossing is non-planar.

A planar drawing divides the page into regions called faces. The unbounded region outside the drawing is also a face, so every planar drawing has at least one face.

Euler's formula: for a connected planar graph with \(v\) vertices, \(e\) edges and \(f\) faces, \(v - e + f = 2\). The graph must be connected (in one piece) and drawn with no crossings.

The corners and edges of a solid such as a prism or a pyramid can be drawn flat as a planar graph, so Euler's formula also holds for many solids, with \(f\) the number of faces of the solid.

They lead into the networks topics of Standard maths in Years 11 and 12.

Faces of a planar graphA hexagon ABCDEF with the edge BE across it. The edge splits the inside into face 1, shaded blue, and face 2, shaded red. The region outside the hexagon, shaded orange, is face 3. A B C D E F 1 2 3 (outside)
A planar drawing splits the page into faces. The unbounded region outside the drawing is a face too, so this graph has \(3\) faces.
A solid drawn as a planar networkLeft: a square pyramid. Right: the same corners and edges drawn flat as a square with its centre joined to the four corners. The four triangles inside are the sloping faces, and the region outside is the square base. square pyramid planar network
Squash a solid flat through one face: corners become vertices, edges stay edges, and the face you looked through becomes the outside face.
\[v - e + f = 2\]
v−e+f=2
To findRearranged
\(v\)\(v = 2 + e - f\)
\(e\)\(e = v + f - 2\)
\(f\)\(f = 2 - v + e\)
Two counting facts. Adding the degrees of all the vertices counts every edge twice: sum of degrees \(= 2e\). Adding the number of edges around every face (including the outside) also counts every edge twice, when each edge borders two faces.
Unknowns linked together. If a connected planar graph has \(e = v + 5\), substitute: \(v - (v + 5) + f = 2\), so \(f = 7\) whatever \(v\) is.
Edge limit. A connected planar graph with \(v \ge 3\) vertices, no loops and no repeated edges has \(e \le 3v - 6\). It comes from Euler's formula and the fact that every face then has at least \(3\) edges. A graph that breaks the limit is not planar.

Using Euler's formula

  1. Check that the drawing has no crossings and is in one piece. If edges cross, redraw first.
  2. Count \(v\) and \(e\). Tick the edges off as you count so none is missed.
  3. Count \(f\): the enclosed regions plus \(1\) for the outside. An edge sticking out into a face does not make a new face.
  4. Check \(v - e + f = 2\), or substitute the two known values to find the third.

Other question types

  1. Redrawing: move one crossing edge to the outside of the figure as a curve, or drag a vertex to a new position. The vertices and which pairs are joined must not change.
  2. Maps: make each region a vertex and join two vertices when the regions share a border (not just a corner). Count the edges, then use Euler's formula for the faces.
  3. Solids: the faces of the solid are the faces of its network. If every face has \(k\) edges, \(e = \dfrac{k\times f}{2}\). If every vertex has degree \(d\), \(e = \dfrac{d\times v}{2}\).
  4. Changing a graph: work out how \(v\), \(e\) and \(f\) each change. For example, putting a new vertex in the middle of an edge adds \(1\) to \(v\) and \(1\) to \(e\), and leaves \(f\) alone, so \(v - e + f\) stays the same.
  5. Families of graphs: write \(v\), \(e\) and \(f\) as expressions in the pattern number, then simplify \(v - e + f\).
  6. Not planar? Substitute into an inequality such as \(e \le 3v - 6\), or combine Euler's formula with a face count, and look for a contradiction (Example 4).
Example 1 β€” Counting vertices, edges and faces
For the connected planar graph shown, find \(v\), \(e\) and \(f\), and check Euler's formula.
Solution
Planar graph for Example 1A hexagon ABCDEF with edges AC and AE drawn from A, and an extra edge from D down to a vertex G outside the hexagon. Triangles ABC and AEF are shaded blue and quadrilateral ACDE red. A B C D E F G

Vertices: \(A\) to \(G\), so \(v = 7\).

Edges: \(6\) around the hexagon, \(AC\) and \(AE\), and \(DG\), so \(e = 9\).

Faces: triangles \(ABC\) and \(AEF\), quadrilateral \(ACDE\), and the outside, so \(f = 4\). The edge \(DG\) sticks out into the outside face and does not enclose a new region.

\(v - e + f\)\(=\)\(7 - 9 + 4\)
\(\)\(=\)\(\mathbf{2}\ \checkmark\)
v−e+f=7−9+4=2
Example 2 β€” Redrawing in planar form
The graph on the left has two edges that cross, with no vertex at the crossing.
(i) Show that it is planar.
(ii) Find \(v\), \(e\) and \(f\).
Solution
Redrawing a graph without crossingsLeft: rectangle ABCD with both diagonals, which cross at a point circled in orange that is not a vertex, and a vertex E above joined to A and B. Right: the same graph with the edge BD, in red, drawn as a curve around the outside of C, so no edges cross. A B C D E A B C D E

(i) Move one of the crossing edges. Keep \(AC\) inside the rectangle and redraw \(BD\) as a curve around the outside of \(C\) (right). The edges still join the same vertices, and now nothing crosses, so the graph is planar.

(ii) \(v = 5\) and \(e = 8\): redrawing never changes these. Count the faces in the planar drawing: \(EAB\), \(ABC\), \(ACD\), the region between \(BC\), \(CD\) and the curve, and the outside.

\(f\)\(=\)\(\mathbf{5}\)
\(v - e + f\)\(=\)\(5 - 8 + 5 = 2\ \checkmark\)

You cannot count faces in the drawing with the crossing: Euler's formula only applies to a drawing with no crossings.

Example 3 β€” A solid
A dodecahedron has \(12\) faces, each a regular pentagon. Every edge is shared by exactly \(2\) faces. Find the number of edges and vertices.
Solution

Count the edges around every face, then halve, because each edge has been counted twice.

\(12\times 5\)\(=\)\(60\)
\(e\)\(=\)\(\dfrac{60}{2} = \mathbf{30}\)

Euler's formula also holds for the corners, edges and faces of a solid like this, because its network can be drawn flat.

\(v - 30 + 12\)\(=\)\(2\)
\(v\)\(=\)\(\mathbf{20}\)
v−30+12=2⇒v=20

Check with degrees: \(3\) edges meet at each corner, and \(20\times 3 = 60 = 2\times 30\).

Example 4 β€” Showing a graph is not planar
For a connected planar graph with at least \(3\) vertices, no loops and no repeated edges, \(e \le 3v - 6\).
(i) Show that the complete graph on \(5\) vertices is not planar.
(ii) Can a planar graph of this kind have \(8\) vertices and \(20\) edges?
Solution

(i) Every pair of the \(5\) vertices is joined, so \(e = \dfrac{5\times 4}{2} = 10\).

\(3v - 6\)\(=\)\(3\times 5 - 6 = 9\)

A planar graph with \(5\) vertices has at most \(9\) edges, but this one has \(10\). So it is not planar: however it is drawn, some edges cross.

(ii)

\(3v - 6\)\(=\)\(3\times 8 - 6 = 18\)

\(20 \gt 18\), so no.

The test works in one direction only. If \(e \gt 3v - 6\), the graph is not planar. If \(e \le 3v - 6\), the graph might still be non-planar, so try to draw it or use another argument.

Common pitfalls

Count the outside face. The region around the drawing is a face. Forgetting it gives \(v - e + f = 1\) instead of \(2\).
Only count faces in a planar drawing. Where edges cross, the small regions they make are not faces. Redraw without crossings first.
Crossings are not vertices. A point where two edges cross, with no vertex marked, does not add to \(v\).
The graph must be connected. Euler's formula \(v - e + f = 2\) is for a graph in one piece. Separate pieces share one outside face and give a different total.
Passing the edge test proves nothing. \(e \le 3v - 6\) is true for every planar graph, but some non-planar graphs satisfy it too. Only failing it proves a graph is not planar.

Frequently asked questions

What is Euler's formula for planar 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. The outside region counts as one of the faces.

What is a planar graph?

A planar graph is one that can be drawn on a flat surface with no two edges crossing. A drawing with crossings can still show a planar graph if it can be redrawn without them.

Does the outside count as a face?

Yes. The unbounded region outside the drawing is always counted as a face. A single triangle has 2 faces: the inside and the outside.

How do you show a graph is not planar?

One way is to count its vertices and edges. A connected planar graph with at least \(3\) vertices and no loops or repeated edges has \(e \le 3v - 6\), so a graph with more edges than that cannot be planar.

Does Euler's formula work for 3D solids?

Yes, for solids such as prisms, pyramids and the regular polyhedra. Their corners, edges and faces can be flattened into a connected planar graph, so vertices minus edges plus faces equals 2.