While I'm studying about graph theory with MIT book 'introduction to algorithm', I was referred to some definitions about graphs and trees.
In MIT's Introduction to Algorithm 3rd Edition book, the appendix tree chapter shows me Theorem B.2, "Properties of Free Trees"
Let G = (V,E) be an undirected graph. The following statements are equivalent.
- G is a free tree ...
- G is acyclic, and |E| = |V| - 1.
Is there an example of connected, undirected, acyclic graph which is not a tree?
Theoritically, if there is a undirected acyclic graph which satisfies the condition that |E| =! |V| - 1, would that work as an example?
If there is an example satisfies that condition, can you show me?
Any connected acyclic graph is a tree. There are several different equivalent definitions of trees:
So no, you can't find a connected acyclic graph that isn't a tree. :-)