Skip to main content
EnglandFurther MathsSyllabus dot point

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.

Generated by Claude Opus 4.810 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. Terminology
  3. Special graphs
  4. The adjacency matrix
  5. Eulerian and Hamiltonian graphs
  6. Counting and the handshaking lemma in problems
  7. Planarity and isomorphism

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 nn vertices has exactly nβˆ’1n - 1 edges. A complete graph KnK_n has every pair of vertices joined, giving n(nβˆ’1)2\frac{n(n-1)}{2} 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 kk gives a matrix whose (i,j)(i, j) entry counts the walks of length kk from vertex ii to vertex jj, which is how you can verify connectivity or count routes. For a complete graph KnK_n the adjacency matrix is all ones off the diagonal, and the handshaking lemma confirms its edge count, since each of the nn vertices has degree nβˆ’1n - 1, giving a degree sum of n(nβˆ’1)n(n-1) and therefore n(nβˆ’1)2\frac{n(n-1)}{2} 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 2E2E, 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 rr and ss, the complete bipartite graph Kr,sK_{r,s} has rsrs 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; K5K_5 and K3,3K_{3,3} 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 GG has 88 vertices. Four vertices have degree 33, three have degree 44 and the remaining vertex has degree dd. Given that GG has 1414 edges, use the handshaking lemma to find dd, and state whether GG 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 =2Γ—14=28= 2 \times 14 = 28.

The known degrees sum to 4(3)+3(4)=12+12=244(3) + 3(4) = 12 + 12 = 24.

So d=28βˆ’24=4d = 28 - 24 = 4.

For an Eulerian circuit every vertex must have even degree. Here the four degree-33 vertices are odd, so GG has no Eulerian circuit.

Markers reward using the handshaking lemma to get the degree sum, solving for d=4d = 4, 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

Sources & how we know this