{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $T$ be a finite [[tree|0MJ0JS72DZ]] with $n$ vertices.\nThen $T$ has exactly $n - 1$ edges.\n\n## Remarks\n\nA tree has at least one vertex, because it is connected. Thus $n \\ge 1$.\nProof by induction on $n$: for $n \\ge 2$ delete a leaf, which exists by the [[leaf lemma|0H8Q4MANBD]]. The rest is a tree with $n - 1$ vertices.\nA consequence: the sum of the degrees in a tree is $2n - 2$.\n\n## Explanations\n\n### L1 human\n\nBuild a tree by adding one vertex at a time, each joined to the tree by one new edge.\nYou start with $1$ vertex and $0$ edges, so at the end there is always one edge fewer than vertices.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "kind": "statement",
    "msc": [
      "05C05"
    ],
    "name": "A tree on n vertices has n − 1 edges",
    "role": "theorem",
    "sources": [
      {
        "locator": "Properties",
        "url": "https://en.wikipedia.org/wiki/Tree_(graph_theory)"
      }
    ],
    "tag": "0VSNHTHK8T",
    "uses": [
      "0WNGQBPPQX",
      "0MJ0JS72DZ"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0VSNHTHK8T/",
  "links": [
    {
      "field": "uses",
      "target": "0WNGQBPPQX"
    },
    {
      "field": "uses",
      "target": "0MJ0JS72DZ"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0VSNHTHK8T.md",
  "msc": [
    "05C05"
  ],
  "name": "A tree on n vertices has n − 1 edges",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0VS/0VSNHTHK8T.md",
  "status": null,
  "tag": "0VSNHTHK8T",
  "uri": "m2://0VSNHTHK8T",
  "url": "https://math2.tamnd.com/wiki/a-tree-on-n-vertices-has-n-1-edges/",
  "writing": {
    "tag": "0VSNHTHK8T",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
