Graphs & networks

QCE General Maths · Unit 2: Investing & networking

Graphs & networks notes

Fact-checked by a second, independent AI review.

Graphs and networks are used to model connections between items. You should recognise terms, draw networks, and solve basic path, connectivity, and tree problems in various real-world contexts.

Graph / Network
A set of vertices (nodes) connected by edges (lines); used to model relationships or links.
Vertex and Edge
Vertex is a point; edge is a line between two vertices; can be weighted (cost/length) or unweighted.
Path and Cycle
A path is a sequence of edges with no repeated vertices; a cycle starts and ends at the same vertex with no repeated vertices (except the start/end vertex).
Connected graph
A graph where there is a path between every pair of vertices; if not, it has two or more components.
Tree and Spanning Tree
A tree is a connected graph with no cycles; a spanning tree connects all vertices with exactly n-1 edges (a connected acyclic subgraph of the graph).

Remember it: V.E.R.T.I.C.E.S: Vertices, Edges, Routes To Important Connections, Enabling Shortest paths.

Exam tip: Examiners want clear definitions, ability to identify vertices/edges, determine connected components, and solve basic path or spanning-tree questions. Practice drawing networks, marking paths, and stating whether they’re connected or not; include edge directions only if stated (directed graphs).

Syllabus checklist

  • Graphs & networks: core ideas
  • Terms and typical exam questions for "Investing & networking" in QCE General Mathematics

Practice questions

  1. 1. In a graph with vertex A connected to B, C, and D, what is the degree of A?

    Answer checked

    Show answer

    Answer: 3. The degree is the number of incident edges, here three.

  2. 2. A spanning tree of a connected graph with n nodes has exactly n-1 edges.

    Answer checked

    Show answer

    Answer: True. Spanning trees have exactly n-1 edges for a connected graph.

  3. 3. The shortest path between two vertices in a weighted graph is found using ____.

    Answer checked

    Show answer

    Answer: Dijkstra's algorithm. Dijkstra's algorithm computes the shortest path in weighted graphs.

  4. 4. In a graph representing a network of investments, a subset of edges that connects all vertices without cycles is a ____.

    Answer checked

    Show answer

    Answer: spanning tree. A spanning tree connects all vertices with no cycles.

Practise graphs & networks as a game

Hearts, combos, streaks and an AI tutor that explains every answer. Start free.

Start free

More from Unit 2: Investing & networking