Degree and the Handshaking Lemma

Context: FIT1058_MOC Β· the number of neighbours of a vertex Β· degrees sum to Β· constrains which degree sets are realisable

Quick Revision

  • 🎯 Objective: = number of neighbours/incident edges βž” .
  • πŸ“¦ Core Components: handshaking βž” two equal degrees βž” even count of odd degrees.
  • ⚑ Key Constraint: these are necessary conditions on a degree sequence, not sufficient.

πŸ“ Core

1. Degree

  • Definition βž” = neighbours = incident edges (simple graph).
  • Range βž” ; isolated = 0, leaf = 1.

2. Handshaking Lemma

  • Statement βž” .
  • Proof βž” each edge adds 1 to each of its two endpoints ⟹ counted twice.
  • Corollary βž” average degree .

3. Two Consequences

  • Equal degrees βž” every graph has two vertices of equal degree (pigeonhole: 0 and can’t coexist).
  • Even odd-count βž” the number of odd-degree vertices is even.

When It Flips: global give the local average (real networks far below max ). The equal-degree theorem is proof by cases + pigeonhole; Euler Tour existence hinges on all degrees being even.

πŸ“Š Exam Execution Trace

Manual Execution Trace

: :

Step / StateVertexOdd?
0 (Init)β€”β€”β€”
12,2no
23yes
31,0,1,1yes,–,yes,yes

⚠️ Common Mistakes

  • πŸ’‘ Necessary, not sufficient βž” an odd count of odd numbers can’t be a degree sequence, but satisfying the parity rules doesn’t guarantee a graph exists.

🧠 Active Recall