Math 2.0

Combinatorics Proof

Proof of the handshaking lemma by double counting

Builds on GraphEdge setDegree of a vertexDouble counting

Proof

We use double counting of vertex–edge incidences.

  1. The set VV is finite. The edge set EE consists of 22-element subsets of VV, so EE is finite too.
  2. Let R={(v,e)∈V×E:v∈e}R = \set{(v, e) \in V \times E : v \in e}, the set of incidences.
  3. Fix v∈Vv \in V. The number of e∈Ee \in E with (v,e)∈R(v, e) \in R is the number of edges that contain vv. By the definition of the degree, this is deg⁡(v)\deg(v).
  4. Fix e∈Ee \in E. The number of v∈Vv \in V with (v,e)∈R(v, e) \in R is ∣e∣=2\abs{e} = 2, since each edge of a graph is a 22-element subset of VV.
  5. Counting RR by its first coordinate gives ∣R∣=∑v∈Vdeg⁡(v)\abs{R} = \sum_{v \in V} \deg(v), by step 3.
  6. Counting RR by its second coordinate gives ∣R∣=∑e∈E2=2∣E∣\abs{R} = \sum_{e \in E} 2 = 2 \abs{E}, by step 4.
  7. Comparing steps 5 and 6 gives ∑v∈Vdeg⁡(v)=2∣E∣\sum_{v \in V} \deg(v) = 2 \abs{E}.

Idea

Each edge has exactly two ends. Adding up the degrees counts every edge once at each end, so every edge is counted twice.

Reading path

To understand this page from the ground up, read these 6 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Double counting concept
  2. Graph definition
  3. Edge set definition
  4. Neighbourhood definition
  5. Degree of a vertex definition
  6. Proof of the handshaking lemma by double counting proof

Where this leads

7 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Handshaking_lemma
About this page
Tag4M6ESXZ5B0
URIm2://4M6ESXZ5B0
Kindproof
WritingW0 stub
MSC05C07
ProvesHandshaking lemma
UsesGraph, Edge set, Degree of a vertex, Double counting
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.