What is a graph, what vocabulary describes it, and how are graphs represented and classified?
Graph terminology including vertices, edges, degree, paths and cycles, special graphs such as trees and complete graphs, the adjacency matrix representation, and Eulerian and Hamiltonian graphs.
A focused answer to the AQA A-Level Further Mathematics graphs and networks content, covering graph terminology such as vertices, edges, degree, paths and cycles, special graphs such as trees and complete graphs, the adjacency matrix representation, and Eulerian and Hamiltonian graphs.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this dot point is asking
AQA wants you to use the language of graphs correctly, classify special graphs such as trees, complete and bipartite graphs, represent a graph by an adjacency matrix, calculate the degree of vertices, and recognise Eulerian and Hamiltonian graphs and the conditions for them.
Terminology
A walk is any sequence of edges; a trail is a walk with no repeated edge; a path is a trail with no repeated vertex. A cycle is a closed path that returns to its start. The degree (or valency) of a vertex counts the edges meeting it, with a loop counting twice. A graph is connected if there is a path between every pair of vertices, and a subgraph is any graph formed from a subset of the vertices and edges. A network is simply a graph whose edges carry weights, such as distances or costs, which is the form used in the algorithm questions.
A directed graph (digraph) gives each edge an orientation, so the degree splits into an in-degree and an out-degree. A simple graph has no loops and no repeated (multiple) edges between the same pair of vertices, which is the default unless a question states otherwise.
Special graphs
A tree is a connected graph with no cycles; a tree with vertices has exactly edges. A complete graph has every pair of vertices joined, giving edges. A bipartite graph splits its vertices into two sets with edges only between the sets.
The adjacency matrix
Eulerian and Hamiltonian graphs
A Hamiltonian graph contains a cycle visiting every vertex exactly once. Unlike the Eulerian case there is no simple degree test, which is why deciding whether a Hamiltonian cycle exists is a genuinely hard problem and underlies the travelling salesperson work.
The adjacency matrix is also a computational tool, not just a record: raising it to the power gives a matrix whose entry counts the walks of length from vertex to vertex , which is how you can verify connectivity or count routes. For a complete graph the adjacency matrix is all ones off the diagonal, and the handshaking lemma confirms its edge count, since each of the vertices has degree , giving a degree sum of and therefore edges.
Counting and the handshaking lemma in problems
The handshaking lemma is the workhorse of the short answer questions, because it pins down an unknown degree or edge count from partial information. The most common exam move is to write the degree sum as , substitute the known degrees, and solve for the missing one. A second standard deduction is that the number of odd-degree vertices must be even: this follows because the odd degrees must combine with the even ones to give an even total, so an odd count of odd vertices is impossible. Examiners use this to ask whether a proposed list of degrees is achievable at all.
For a bipartite graph with parts of size and , the complete bipartite graph has edges, since every vertex in one part joins every vertex in the other. Bipartite graphs are exactly the graphs with no odd cycle, which is why a graph can be tested for bipartiteness by trying to two-colour its vertices so that no edge joins two vertices of the same colour. If a conflict appears, an odd cycle exists and the graph is not bipartite. This two-colouring idea links directly to the matching and allocation problems that build on the same topic.
Planarity and isomorphism
Two graphs are isomorphic if there is a relabelling of vertices that turns one into the other, preserving which pairs are joined. Because an adjacency matrix depends on the labelling, two isomorphic graphs can have different adjacency matrices, so a quick test for non-isomorphism is to compare invariants that do not depend on labelling: the number of vertices, the number of edges, and the sorted list of degrees. If any of these differ, the graphs cannot be isomorphic, though matching invariants do not by themselves prove isomorphism. A graph is planar if it can be drawn with no edges crossing; and are the two smallest non-planar graphs, and recognising them inside a larger graph is the usual way planarity is examined.
Exam-style practice questions
Practice questions written in the style of AQA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
AQA 20195 marksA connected graph has vertices. Four vertices have degree , three have degree and the remaining vertex has degree . Given that has edges, use the handshaking lemma to find , and state whether can have an Eulerian circuit.Show worked answer β
The handshaking lemma states the sum of all vertex degrees equals twice the number of edges.
Sum of degrees .
The known degrees sum to .
So .
For an Eulerian circuit every vertex must have even degree. Here the four degree- vertices are odd, so has no Eulerian circuit.
Markers reward using the handshaking lemma to get the degree sum, solving for , and the correct Eulerian conclusion based on odd degrees.
AQA 20214 marksExplain the difference between an Eulerian graph and a Hamiltonian graph, and state the degree condition that determines whether a connected graph is Eulerian.Show worked answer β
An Eulerian graph contains a closed trail (an Eulerian circuit) that uses every edge exactly once and returns to the start.
A Hamiltonian graph contains a cycle that visits every vertex exactly once and returns to the start.
The two are different: Eulerian is about edges, Hamiltonian is about vertices, and a graph can be one without being the other.
The degree condition: a connected graph is Eulerian if and only if every vertex has even degree. (If exactly two vertices have odd degree the graph is semi-Eulerian, with an open trail.)
Markers reward the edge-versus-vertex distinction and the even-degree condition for Eulerian graphs.
Related dot points
- Kruskal's and Prim's algorithms for minimum spanning trees, Dijkstra's algorithm for the shortest path, and the route inspection and travelling salesperson problems.
A focused answer to the AQA A-Level Further Mathematics network algorithms content, covering Kruskal's and Prim's algorithms for minimum spanning trees, Dijkstra's algorithm for the shortest path, and the route inspection and travelling salesperson problems.
- Activity networks, forward and backward passes to find earliest and latest times, the critical path, float, and resource scheduling with Gantt charts.
A focused answer to the AQA A-Level Further Mathematics critical path analysis content, covering activity networks, forward and backward passes to find earliest and latest times, the critical path, float, and resource scheduling with Gantt charts.
- Formulating linear programming problems, the feasible region and graphical solution, the vertex (objective line) method, slack variables, and the simplex algorithm for maximisation.
A focused answer to the AQA A-Level Further Mathematics linear programming content, covering formulating problems, the feasible region and graphical solution, the vertex and objective line methods, slack variables, and the simplex algorithm for maximisation.
- Two-player zero-sum games, the pay-off matrix, play-safe strategies, saddle points and stable solutions, dominance to reduce a game, and mixed strategies including conversion to linear programming.
A focused answer to the AQA A-Level Further Mathematics game theory content, covering two-player zero-sum games, the pay-off matrix, play-safe strategies, saddle points and stable solutions, dominance to reduce a game, and mixed strategies including conversion to a linear programming problem.
Sources & how we know this
- AQA A-level Further Mathematics (7367) specification β AQA (2017)