{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $G$ be a [[graph|0JD5C82QMB]].\nThen $G$ is a [[tree|0MJ0JS72DZ]] if and only if $G$ has at least one vertex and these conditions hold.\nFor any two vertices $u$ and $v$ of $G$, there is exactly one [[path|0JDE56HWQ8]] from $u$ to $v$.\n\n## Remarks\n\nExistence of a path between any two vertices is connectedness. Uniqueness of the path is equivalent to acyclicity: two different paths between the same vertices contain a cycle.\nIn a tree, the unique path from $u$ to $v$ is a shortest walk, so its length is the [[distance|0WPZ5YPAGR]] $d(u, v)$.\n\n## Explanations\n\n### L1 human\n\nIn a tree there is only one way to get from one vertex to another without going back.\nIf there were two different ways, together they would form a loop, and a tree has no loop.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "05C05"
    ],
    "name": "Unique paths in trees",
    "role": "theorem",
    "sources": [
      {
        "locator": "Properties",
        "url": "https://en.wikipedia.org/wiki/Tree_(graph_theory)"
      }
    ],
    "tag": "096B7Q5742",
    "uses": [
      "0JDE56HWQ8",
      "0MJ0JS72DZ"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/096B7Q5742/",
  "links": [
    {
      "field": "uses",
      "target": "0JDE56HWQ8"
    },
    {
      "field": "uses",
      "target": "0MJ0JS72DZ"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/096B7Q5742.md",
  "msc": [
    "05C05"
  ],
  "name": "Unique paths in trees",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/096/096B7Q5742.md",
  "status": null,
  "tag": "096B7Q5742",
  "uri": "m2://096B7Q5742",
  "url": "https://math2.tamnd.com/wiki/unique-paths-in-trees/",
  "writing": {
    "tag": "096B7Q5742",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
