Math 2.0

Combinatorics Proof

Proof of the degrees along an Eulerian trail

Builds on Eulerian trailTrailWalkDegree of a vertexGraph

Proof

We count, for each vertex, how often the trail enters and leaves it.

  1. Write W=(w0,w1,…,wk)W = (w_0, w_1, \dots, w_k) with w0=uw_0 = u and wk=vw_k = v. It is a trail, so its edges wt−1wtw_{t-1} w_t for 1≤t≤k1 \le t \le k are pairwise distinct.
  2. Since WW is an Eulerian trail, every edge of GG is one of these kk edges, and each appears exactly once.
  3. If k=0k = 0, then GG has no edges and u=w0=vu = w_0 = v. Every vertex has degree 00, which is even. So the statement holds. From now on let k≥1k \ge 1.
  4. Fix a vertex xx. For a condition φ\varphi, let [φ][\varphi] be 11 if φ\varphi holds and 00 otherwise.
  5. The degree of xx is the number of edges that contain xx. By steps 1 and 2, deg⁡(x)\deg(x) is the number of t∈{1,…,k}t \in \set{1, \dots, k} with x∈{wt−1,wt}x \in \set{w_{t-1}, w_t}.
  6. In a graph, wt−1≠wtw_{t-1} \ne w_t, because adjacent vertices are distinct. So [x∈{wt−1,wt}]=[wt−1=x]+[wt=x][x \in \set{w_{t-1}, w_t}] = [w_{t-1} = x] + [w_t = x].
  7. Summing over tt gives deg⁡(x)=∑t=0k−1[wt=x]+∑t=1k[wt=x]\deg(x) = \sum_{t=0}^{k-1} [w_t = x] + \sum_{t=1}^{k} [w_t = x].
  8. Hence deg⁡(x)=2∑t=1k−1[wt=x]+[w0=x]+[wk=x]\deg(x) = 2 \sum_{t=1}^{k-1} [w_t = x] + [w_0 = x] + [w_k = x].
  9. So deg⁡(x)≡[x=u]+[x=v](mod2)\deg(x) \equiv [x = u] + [x = v] \pmod 2.
  10. If u=vu = v, the right side of step 9 is 2[x=u]2[x = u], which is even. So every vertex has even degree.
  11. If u≠vu \ne v, the right side of step 9 is 11 for x=ux = u and for x=vx = v, and 00 for every other xx. So uu and vv have odd degree, and every other vertex has even degree.

Idea

Each visit of the trail to a vertex in the middle uses one edge to arrive and one edge to leave, so these edges come in pairs. Only the first and the last vertex get an unpaired edge, and when they coincide those two edges pair up as well.

Reading path

To understand this page from the ground up, read these 7 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. Graph definition
  2. Neighbourhood definition
  3. Walk definition
  4. Degree of a vertex definition
  5. Trail definition
  6. Eulerian trail definition
  7. Proof of the degrees along an Eulerian trail proof

Where this leads

1 page builds on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Eulerian_path, Properties
About this page
TagX26F0CWR19
URIm2://X26F0CWR19
Kindproof
WritingW0 stub
MSC05C45
ProvesDegrees along an Eulerian trail
UsesEulerian trail, Trail, Walk, Degree of a vertex, Graph
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)

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.