{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\n1. Let $V$ be the vertex set and $E$ the edge set of $G$. Let $V_o$ be the set of vertices of odd [[degree|0T0F6CCS9W]], and $V_e = V \\setminus V_o$ the set of vertices of even degree.\n2. By the [[handshaking lemma|0XAP8WHNES]], $\\sum_{v \\in V} \\deg(v) = 2 \\abs{E}$, which is even.\n3. The sum $\\sum_{v \\in V_e} \\deg(v)$ is a sum of even numbers, so it is even.\n4. Hence $\\sum_{v \\in V_o} \\deg(v) = 2\\abs{E} - \\sum_{v \\in V_e} \\deg(v)$ is even.\n5. Each term of the sum in step 4 is odd, so it is congruent to $1$ modulo $2$. Thus that sum is congruent to $\\abs{V_o}$ modulo $2$.\n6. By steps 4 and 5, $\\abs{V_o}$ is even.\n\n## Idea\n\nThe total of all degrees is even. The even degrees do not change the parity, so the odd degrees must also add up to an even number, and that needs an even count of them.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "kind": "proof",
    "msc": [
      "05C07"
    ],
    "name": "Proof that the number of odd-degree vertices is even",
    "proves": "0QQQQCPZA8",
    "sources": [
      {
        "locator": "Definitions and statement",
        "url": "https://en.wikipedia.org/wiki/Handshaking_lemma"
      }
    ],
    "tag": "TPQ2M0X5D1",
    "uses": [
      "0T0F6CCS9W",
      "0XAP8WHNES"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/TPQ2M0X5D1/",
  "links": [
    {
      "field": "proves",
      "target": "0QQQQCPZA8"
    },
    {
      "field": "uses",
      "target": "0T0F6CCS9W"
    },
    {
      "field": "uses",
      "target": "0XAP8WHNES"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/TPQ2M0X5D1.md",
  "msc": [
    "05C07"
  ],
  "name": "Proof that the number of odd-degree vertices is even",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/TPQ/TPQ2M0X5D1.md",
  "status": null,
  "tag": "TPQ2M0X5D1",
  "uri": "m2://TPQ2M0X5D1",
  "url": "https://math2.tamnd.com/wiki/proof-that-the-number-of-odd-degree-vertices-is-even/",
  "writing": {
    "tag": "TPQ2M0X5D1",
    "kind": "proof",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
