Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

In graph theory what is the difference between a rooted tree and a free tree ? What is normally meant when just the plain "tree" is used ?

share|improve this question

3 Answers 3

up vote 3 down vote accepted

In graph theory, the basic definition of a tree is that it is a graph without cycles. This definition does not use any specific node as a root for the tree. A rooted tree introduces a parent — child relationship between the nodes and the notion of depth in the tree.

Roughly and visually, adding a root to a tree just corresponds to grabbing one of the nodes of the tree and hanging the tree with this node. Once the tree is hanged, each node has a depth related to its height, a parent to which it is suspended and several children which hang from this node.

share|improve this answer

A rooted tree comes with one of its vertices specially designated to be the "root" node, such that there's an implicit notion of "towards the root" and "away from the root" for each edge.

In a free tree there's no designated root vertex.

You can make a free tree into a rooted one by choosing any of its vertices to be the root.

share|improve this answer

In my knowledge, in rooted tree, there is one special vertex, root. Whereas any vertex in a free tree can be considered as root.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.