Tree characterizations and structural checks

A tree is an undirected graph that is connected and acyclic. If a tree has n vertices, it has exactly n−1 edges. There is a unique simple path between every pair of vertices: two distinct simple paths would combine to form a cycle.

A five-vertex example of an undirected tree; the labels identify vertices only and are not answer keys.

A five-vertex example of an undirected tree; the labels identify vertices only and are not answer keys.


These characterizations are useful checks. A connected graph with n−1 edges is a tree, and an acyclic graph with n−1 edges is also a tree.


Removing any edge from a tree disconnects it; adding any new edge between existing vertices creates exactly one cycle. Rooting or traversing a tree is an additional convention, not part of the basic unrooted definition.

Which condition defines a tree in undirected graph theory?

A five-vertex example of an undirected tree; the labels identify vertices only and are not answer keys.

A five-vertex example of an undirected tree; the labels identify vertices only and are not answer keys.

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A connected undirected graph has 12 vertices and 11 edges. What follows?

A five-vertex example of an undirected tree; the labels identify vertices only and are not answer keys.

A five-vertex example of an undirected tree; the labels identify vertices only and are not answer keys.

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Mark Yourself Question

  1. Grab a piece of paper and try this problem yourself.
  2. When you're done, check the "I have answered this question" box below.
  3. View the solution and report whether you got it right or wrong.

An undirected acyclic graph has 9 vertices and 3 connected components. How many edges does it have? Explain the rule used.

A five-vertex example of an undirected tree; the labels identify vertices only and are not answer keys.

A five-vertex example of an undirected tree; the labels identify vertices only and are not answer keys.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors