Heptavo Get the app

Practice questions · IB Maths AI · HL · 14 marks

3.15 Graphs: vertices, edges, degree, kinds of graph

Five IB Maths AI questions on this topic, straight from the Heptavo app: 3 multiple choice and 2 written, climbing from the basics to exam style. Each one comes with its explanation or mark scheme.

Start

Question 1 · Rung 1 · 1 mark

In a graph, the degree of a vertex is

Show the answer and why

Answer: D

Degree counts edges at the vertex and nothing else. The total weight is a different quantity that happens to exist only in a weighted graph, and the number of other vertices would be the same for every vertex, which no useful measure is.

Question 2 · Rung 2 · 1 mark

For any graph, the sum of the degrees of all its vertices is always equal to

Show the answer and why

Answer: D

Each edge has two ends and each end is counted once in some vertex's degree, so every edge contributes exactly 2 to the total. This is the handshake lemma, and it is the fastest way to find the number of edges from a degree list.

Question 3 · Rung 3 · 1 mark

A graph has vertices P, Q, R, S, T and edges PQ, PR, PS, QR, RS and ST. The degree of R is

Show the answer and why

Answer: C

R appears in PR, QR and RS, so three edges meet it. Reading only the edges that begin with the letter R undercounts, since an edge list is unordered and RS and SR are the same edge.

Question 4 · Rung 4 · 5 marks

A tourist board models a region as a graph: each town is a vertex and each direct road between two towns is an edge, labelled with its length in km. State what the degree of a vertex represents, what a weighted edge represents, and what it would mean for the graph to be disconnected.

Show the mark scheme
  • the degree of a vertex is the number of towns directly joined to that town by road (A1)
  • a weight is the length in km of that one road (A1)
  • a disconnected graph would mean at least one group of towns cannot be reached from the others by road at all (A1)(R1)
  • so connectivity is the property that must hold before any route question is worth asking (R1)

What the examiner is looking for

Every graph-theory question begins with this translation, and marks are lost here far more often than in the algorithms. "The degree is the number of roads" is right; "the degree is the distance" confuses the two labels the model carries.

Question 5 · Rung 5 · 6 marks

Explain why a tree with n vertices must have exactly n − 1 edges, and use the result to determine whether a connected graph with 20 vertices and 25 edges can be a tree. State what the extra edges tell you about it.

Show the mark scheme

Tick each point your answer made: one mark per point, up to 6.

What the examiner is looking for

The last line is worth remembering as a formula in its own right: for a connected graph, edges minus vertices plus one counts the independent cycles. It converts a counting question into a structural statement in one step.

Your score

0/14

Answer the questions above and your marks add up here.

Heptavo has 55 questions on 3.15 Graphs: vertices, edges, degree, kinds of graph: 26 multiple choice and 29 written, each with its mark scheme. Free to start.

Practise 3.15 in Heptavo

What 3.15 asks

The language of graph theory: vertices, edges, degrees and kinds of graph; questions ask you to classify graphs and use the link between degrees and edges.

You need to be able to

  • Use the fact that the degrees add up to twice the number of edges.
  • Recognise simple, complete, connected, directed and weighted graphs, and that Kₙ has n(n − 1)/2 edges.
  • Use the fact that a tree on n vertices is connected, has no cycles and has n − 1 edges.

Key terms

  • vertex
  • edge
  • degree
  • simple graph
  • complete graph
  • tree

Common trap Counting a loop as adding 1 to a vertex's degree; both ends meet that vertex, so a loop adds 2.