Form 4 · Chapter 5

Network in Graph Theory

Vertices, edges and degree, and the handshake rule (sum of degrees = 2 × edges) for SPM Mathematics Form 4 — with a worked example and an interactive exercise.

Graph theory studies networks — points (vertices) joined by lines (edges). It models roads, circuits and social connections.

1. Vertices, edges and degree

  • A vertex (node) is a point; an edge is a line joining two vertices.
  • The degree of a vertex is the number of edges meeting at it.

Handshake rule

$\text{sum of all degrees} = 2 \times (\text{number of edges})$

Every edge adds one to the degree of each of its two ends — so the degrees always add up to twice the number of edges.

Worked example

A network has $5$ edges. What is the sum of the degrees of all its vertices?

Sum of degrees $= 2 \times 5 = 10$.

Exam tips

  • The degree of a vertex = the number of edges touching it.
  • Sum of all degrees $= 2 \times$ number of edges (every edge is counted twice).
  • A network can be directed (arrows) or undirected; weighted edges carry a value.

Stuck on this topic? A verified JomKelas tutor can walk you through it.

Find a verified tutor