aımnova
DashboardMy LearningCrash CoursesStudy Plan

Aimnova site navigation

Stay in the loop

Get the latest study resources and updates

New features, study tips and exam insights — straight to your inbox.

IB Diploma

  • IB Past Papers
  • IB Study Notes
  • IB Question Bank
  • IB Mock Exams
  • IB Revision

IB Subjects

  • IB Math AA
  • IB Math AI
  • IB Economics
  • IB Business Management
  • IB Physics
  • IB Biology
  • View all IB subjects→

IB Past Papers

  • IB Math AA HL Past Papers
  • IB Math AA SL Past Papers
  • IB Math AI HL Past Papers
  • IB Math AI SL Past Papers
  • IB Economics HL Past Papers
  • IB Economics SL Past Papers
  • IB ESS Past Papers
  • View all past papers→

Study Resources

  • Study Notes
  • Question Bank
  • Mock Exams
  • Crash Courses
  • Flashcards
  • Revision Guide
  • Exam Skills
  • Command Terms
  • Grade Calculator
  • Exam Timetable 2026

Aimnova

  • Features
  • Pricing
  • For Teachers
  • For Schools
  • For Parents
  • About Us
  • Blog
  • Contact
aımnova

IB study, practice and feedback built around the real exam.

TermsPrivacyCookies·© 2026 Aimnova. All rights reserved.c1e448f

Aimnova is not affiliated with or endorsed by the International Baccalaureate Organization (IB).

NotesMath AI HLTopic 3.14Introduction to graph theory
Back to Math AI HL Topics
3.14.15 min read

Introduction to graph theory (Math AI HL)

IB Mathematics: Applications and Interpretation · Unit 3

Smart study tools

Turn reading into results

Move beyond passive notes. Answer exam-style questions, get AI feedback, and build the skills that earn top marks.

Get Started Free

Contents

  1. 1Vertices, edges, degree & the handshake lemma
  2. 2Naming graphs: simple, connected, complete, bipartite, trees
A graph is dots joined by lines: A graph is a picture of connections: dots for places, lines for the links between them.
Towns and roads: Picture a map of 5 towns with roads between some of them. Draw each town as a dot and each road as a line joining two dots — that picture is a graph.

The words you need

  • The dots are vertices (one is a vertex), the lines are edges.
  • A graph only records which towns are connected, not how far apart they are drawn — so the same graph can be sketched in many ways.
  • The degree of a vertex is simply how many edge-ends touch it — how many roads leave that town. A town with 3 roads has degree 3.
A loop (an edge from a vertex back to itself) adds 2 to the degree.

The handshake lemma — why degrees add to twice the edges

1

Two ends per edge

Every edge has two ends, and each end adds 1 to the degree of the vertex it touches.

2

Count every edge twice

So if you add up the degrees of all vertices, you count every edge exactly twice (once for each end).

3

The lemma

The sum of all degrees equals 2 × (number of edges).

Sum of degrees = 2 × edges

Why it helps: It's a fast check on any graph — and it forces the number of odd-degree vertices to be even.
E = number of edges. So the total degree is always even.

IB-style question — degrees of a road network

A small road network links 5 towns A, B, C, D, E. The roads are: A–B, A–C, A–D, B–C, C–D, C–E.

Write the degree of each town, and use the handshake lemma to check the number of roads.

Step by step

  1. Count the roads meeting each town. A touches B, C, D → 3 roads.
  2. B touches A, C → 2. C touches A, B, D, E → 4. D touches A, C → 2. E touches C → 1.
  3. Add all degrees.
  4. Handshake lemma: total degree = 2E, so E = 12 ÷ 2 = 6 — which matches the six roads listed.

Final answer

Degrees 3, 2, 4, 2, 1; total 12 = 2 × 6, confirming there are 6 roads.

Free preview

This is the free notes preview

You're reading the free notes. Aimnova Pro unlocks the full study experience — and you can try it with your first topic free to keep:

  • FlashcardsLock in vocabulary and key terms with spaced repetition.
  • Practice questionsAnswer exam-style questions and get instant AI marking.
  • Mock exams & past-paper vaultSit full mocks and see exactly how examiners award marks.
  • Personalised study planA daily plan built around your exam date and weak areas.
Start Studying Free Full access to Aimnova Pro · cancel anytime
Special families of graphs: The exam expects you to recognise and use these five names.
NameWhat it means
SimpleNo loops (an edge from a vertex to itself) and no repeated edges between the same two vertices. Most real networks are simple.
ConnectedYou can travel from any vertex to any other by following edges (no isolated piece).
CompleteEvery pair of vertices is joined by an edge. The complete graph on n vertices is written Kₙ.
BipartiteThe vertices split into two groups, and edges only go between the groups, never within a group (e.g. students on one side, clubs on the other).
TreeA connected graph with no cycles. A tree on n vertices has exactly n − 1 edges — the fewest edges that still keep everything connected.
In Kₙ every vertex has degree n − 1.

IB-style question — a complete social network

Six members of a project team are each directly messaging every other member, modelled by the complete graph K₆.

(a) How many direct message links are there? (b) State the degree of each member.

Step by step

  1. (a) In Kₙ every pair is joined, so count pairs: edges = n(n − 1)/2.
  2. (b) In a complete graph each vertex joins to all n − 1 others.
  3. Check with the handshake lemma: 6 vertices × degree 5 = 30 = 2 × 15. ✓

Final answer

(a) 15 links. (b) Every member has degree 5.

IB-style question — is it a tree?

A company's reporting structure is connected, has 9 staff (vertices) and 8 reporting links (edges), with no cycles.

Explain whether this is a tree, and what would happen to connectivity if one link were removed.

Step by step

  1. A tree is connected with no cycles — both hold here.
  2. Check the edge count: a tree on n vertices has n − 1 edges.
  3. A tree has the fewest edges that keep it connected, so removing any single edge disconnects it.

Final answer

Yes — it is a tree (connected, no cycles, 8 = 9 − 1 edges). Removing any link would break it into two disconnected groups.

Try an IB Exam Question — Free AI Feedback

Test yourself on Introduction to graph theory. Write your answer and get instant AI feedback — just like a real IB examiner.

A weighted graph has vertices for five depots: Alder (A), Birch (B), Cedar (C), Dogwood (D), Elm (E). Each edge weight is the driving time, in minutes, of the quickest direct road between two depots. The edges are listed below.

EdgeWeight
AB74
AC46
AD31
AE66
BD90
BE69
CD83
CE33
DE72

Explain why the graph can be described as "connected", but not "complete". [2 marks]

Related Math AI HL Topics

Continue learning with these related topics from the same unit:

3.1.1Distance & midpoint in 2D3.1.2Distance & midpoint in 3D3.1.3Volume and Surface Area of 3D Solids3.10.1Vector definitions
View all Math AI HL topics
Improve your exam techniqueCommand terms, paper structure, and mark-scheme tips for Math AI HL
Previous3.13.2Vector (cross) productNextAdjacency matrices3.15.1

56 practice questions on Introduction to graph theory

Students who practiced this topic on Aimnova scored 82% on average. Try free practice questions and get instant AI feedback.

Try 3 Free QuestionsView All Math AI HL Topics