A Tree as a Connected Acyclic Graph

An undirected tree is connected and contains no cycles. There is exactly one simple path between each distinct pair of vertices.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Check two small graphs
  2. Read what a root adds
  3. Use edge deletion to test why paths are unique
  4. Check connectivity together with cycle absence

Check two small graphs

Edges A–B and B–C form a tree. Adding A–C creates a cycle and hence two different simple paths from A to C. Simple paths make this unique-route property precise.

Read what a root adds

Choosing B as root makes A and C its children. Choosing A as root yields a chain of parent relations without changing the underlying edges. Tree height can therefore depend on the chosen root.[1]

Use edge deletion to test why paths are unique

In the graph A–B, B–C and B–D there is one simple path from A to D, through B. Removing B–D leaves D disconnected. If a second simple path from A to D existed, two alternative paths would create a cycle somewhere. See tree edge counts.

Vertices: A,B,C,D
Edges: A–B,B–C,B–D
Connected, 4 vertices and 3 edges
Add C–D → cycle B–C–D–B

Check connectivity together with cycle absence

Four vertices and three edges alone do not prove a tree for arbitrary graphs. A triangle plus an isolated vertex has those counts too. Provide a reachability test or an acyclicity argument along with the edge count.

References

  1. Eric Lehman, F. Thomson Leighton and Albert R. Meyer, Mathematics for Computer Science ↩