All revision notes topics

Graph theory terminologyEdexcel International A Level Maths: Revision notes

Section 1

Graphs, networks and digraphs

A graph is a set of vertices (nodes) joined by edges (arcs). A subgraph is a graph made from some of the vertices and edges of another graph. A weighted graph (network) has a number, such as a distance or cost, on each edge. In a digraph each edge is a directed edge, with an arrow showing the one allowed direction of travel. Graphs are named by listing the vertices and edges, e.g. vertices AA to EE with edges ABAB, ACAC, BCBC, CDCD, DEDE.

Key termsgraphvertexedgesubgraphweighted graphdigraph

Section 2

Degree of a vertex

The degree (valency) of a vertex is the number of edges meeting at it. A vertex is odd or even according to its degree. In GG with edges ABAB, ACAC, BCBC, CDCD, DEDE the degrees are A:2A:2, B:2B:2, C:3C:3, D:2D:2, E:1E:1, so the odd vertices are CC and EE. Each edge contributes 2 to the sum of the degrees, so the sum of the degrees is 2×2\times (number of edges) and is always even. It follows that the number of odd vertices is always even. A graph with exactly three odd vertices cannot exist.

Key termsdegreeodd vertexeven vertex
Exam tip

To check your degrees, add them up. The total must be twice the number of edges.

Section 3

Walks, paths and cycles

A walk is a finite sequence of edges in which the end vertex of one edge is the start vertex of the next. A path is a walk in which no vertex is repeated. A cycle (circuit) is a closed path: it starts and ends at the same vertex, and no other vertex is repeated. Example in GG: C→D→EC\to D\to E is a path, A→B→C→AA\to B\to C\to A is a cycle, and A→C→D→C→AA\to C\to D\to C\to A is a walk that is not a path, because CC is repeated.

Key termswalkpathcycle
Common mistake

Calling any closed walk a cycle. A cycle must not repeat a vertex or edge.

Section 4

Connected graphs and trees

Two vertices are connected if there is a path between them. A graph is a connected graph if every pair of vertices is connected. A tree is a connected graph with no cycles. A tree with nn vertices has exactly n−1n-1 edges, and adding any edge to a tree creates a cycle. In a tree with 8 vertices the degrees sum to 2×7=142\times7=14, so at least one vertex has degree 1.

Key termsconnected graphtree
Exam tip

To show a connected graph is not a tree, find a cycle or show it has more than n−1n-1 edges.

Section 5

Spanning trees and complete graphs

A spanning tree of a connected graph is a subgraph that includes every vertex and is a tree, so it has n−1n-1 edges. To form one, delete edges that lie on cycles until no cycle remains. A minimum spanning tree (minimum connector) of a weighted graph is a spanning tree of least total weight. In a complete graph every pair of vertices is joined by an edge. With nn vertices it has n(n−1)2\frac{n(n-1)}{2} edges and every vertex has degree n−1n-1. For n=6n=6: 15 edges and degree 5, so a spanning tree has 5 edges and 10 edges are deleted.

Key termsspanning treeminimum spanning treecomplete graph

Section 6

Communicating clearly

Use the exact terms: path, cycle, walk, tree. Give vertex lists in order (for example P→Q→R→Q→T→UP\to Q\to R\to Q\to T\to U) and check each consecutive pair is an edge. When you apply an algorithm on a graph, show clearly each step you take. Back up statements such as "not a tree" with a reason: a named cycle, or an edge count that does not equal n−1n-1.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Graph theory terminology

  1. A graph GG has vertices A,B,C,D,EA, B, C, D, E and edges ABAB, ACAC, BCBC, CDCD and DEDE.
    State, with a reason, whether GG is a tree.2 marks
  2. KK is the complete graph with 6 vertices.
    A spanning tree of KK is formed by deleting edges. State the number of edges in the spanning tree and the number of edges deleted.2 marks
  3. A graph HH has vertices P,Q,R,S,T,UP, Q, R, S, T, U and edges PQPQ, QRQR, RSRS, STST, TUTU, UPUP and QTQT.
    (i) Write down a cycle in HH that contains exactly four vertices. (ii) Write down a walk in HH of five edges that is not a path.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).