{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $G$ be a finite [[graph|0JD5C82QMB]], and let $W$ be an [[Eulerian trail|0NNYDD1AVR]] of $G$ from $u$ to $v$.\nIf $u = v$, then every vertex of $G$ has even [[degree|0T0F6CCS9W]].\nIf $u \\neq v$, then $u$ and $v$ have odd degree and every other vertex has even degree.\n\n## Remarks\n\nProof idea: each time $W$ passes through a vertex, it uses two edges at that vertex. Only the start and the end use one edge without a partner.\nThus a graph with an Eulerian trail has $0$ or $2$ vertices of odd degree. The [[Seven Bridges of Königsberg|0YCW781Q9D]] have $4$.\n\n## Explanations\n\n### L1 human\n\nCount the edges at a vertex as a walk uses them.\nEvery visit in the middle of the walk uses one edge in and one edge out.\nOnly the first and last vertices can be left with an odd count.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "05C45"
    ],
    "name": "Degrees along an Eulerian trail",
    "role": "theorem",
    "sources": [
      {
        "locator": "Properties",
        "url": "https://en.wikipedia.org/wiki/Eulerian_path"
      }
    ],
    "tag": "0CDVDGWGEG",
    "uses": [
      "0T0F6CCS9W",
      "0NNYDD1AVR"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0CDVDGWGEG/",
  "links": [
    {
      "field": "uses",
      "target": "0T0F6CCS9W"
    },
    {
      "field": "uses",
      "target": "0NNYDD1AVR"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0CDVDGWGEG.md",
  "msc": [
    "05C45"
  ],
  "name": "Degrees along an Eulerian trail",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0CD/0CDVDGWGEG.md",
  "status": null,
  "tag": "0CDVDGWGEG",
  "uri": "m2://0CDVDGWGEG",
  "url": "https://math2.tamnd.com/wiki/degrees-along-an-eulerian-trail/",
  "writing": {
    "tag": "0CDVDGWGEG",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
