UcenlyOpen in the app

Discrete Mathematics and Graphs · BE5B01DMG · Topic 11 of 12

Graphs, degrees and connectivity

Describe vertices and edges explicitly; distinguish a walk, a trail and a path.

Open the interactive lesson

Key ideas

Graph model

A simple undirected graph has no loops and no parallel edges. Each edge is an unordered pair of distinct vertices. Kₙ has every such pair.

Count incidences

In a finite graph without loops, each edge contributes once at each endpoint. The degree sum is twice the number of edges, so the number of odd-degree vertices is even.

Walk, trail, path

A walk follows consecutive edges and may repeat vertices and edges. A trail repeats no edge. A path repeats no vertex; its length counts edges.

Components

Being joined by a walk is an equivalence relation: reverse walks for symmetry and concatenate them for transitivity. Its classes are connected components.

In one line: Use both the degree information and connectivity; neither determines the other.

Formulas

Practice with worked solutions

Question 1

A finite simple graph has degrees 3,3,2,2,2. How many edges does it have?

Worked solution

Answer: 6

  1. 2∣E∣=3+3+2+2+2=122|E|=3+3+2+2+2=12
  2. ∣E∣=6|E|=6

Each edge contributes two to the degree sum. These degrees are possible, for example a five-cycle with one extra chord.

Question 2

A loopless graph has degree sequence (2,3,3,4,4). How many edges has it?

Worked solution

Answer: 8

  1. 2+3+3+4+4=16.2+3+3+4+4=16.
  2. ∣E∣=16/2=8.|E|=16/2=8.

The degree sum 16 counts each edge twice.

Question 3

How many edges has the complete graph K₇?

Worked solution

Answer: 21

  1. ∣E(Kn)∣=n(n−1)/2.|E(Kₙ)|=n(n−1)/2.
  2. 7⋅6/2=21.7·6/2=21.

Choose an unordered pair of distinct vertices.

More Discrete Mathematics and Graphs practice in Ucenly

Sources

Written by Ucenly. Based on the BE5B01DMG course materials: