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 / State | Vertex | Odd? | |
|---|---|---|---|
| 0 (Init) | β | β | β |
| 1 | 2,2 | no | |
| 2 | 3 | yes | |
| 3 | 1,0,1,1 | yes,β,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
State and prove the Handshaking Lemma, and give its average-degree corollary.
- Hint: Double counting.
Answer
- Short answer: ; each edge counted twice; average .
- Why: Two endpoints β every edge adds 1 to each endpointβs degree.
Why must every graph have two equal degrees, and why is the odd-degree count even?
- Hint: Pigeonhole + parity.
Answer
- Short answer: 0 and canβt coexist βΉ only values for vertices (pigeonhole); even forces an even number of odd degrees.
- Why: Parity β even-degree vertices sum even, so odd ones must too.