TOPICS
Search

Phylogenetic Tree


An unrooted phylogenetic tree on a finite set X of taxa is a tree whose tree leaves are in bijection with X, with the elements of X serving as leaf labels, and which has no vertices of vertex degree 2. Two such trees are considered the same when there is a graph isomorphism between them that fixes every leaf label. The leaves usually represent observed taxa; without a root, the tree records branching relationships but not an ancestral direction (Semple and Steel 2003).

A rooted phylogenetic tree is defined similarly using a rooted tree, with every internal vertex having at least two children. A rooted phylogenetic tree is binary when every internal vertex has exactly two children, while an unrooted phylogenetic tree is binary when every internal vertex has degree 3. The root determines an ancestral direction, and internal vertices represent hypothetical common ancestors. For n=|X|, the number of rooted binary phylogenetic trees is (2n-3)!! for n>=2, while the number of unrooted binary phylogenetic trees is (2n-5)!! for n>=3, where !! denotes the double factorial (Semple and Steel 2003).

PhylogeneticTree

The illustration above shows a stylized rooted binary phylogenetic tree whose leaves are labeled by scientific names. Four colors distinguish groups of related taxa. Horizontal positions show branching order only. The branch lengths are schematic and do not represent evolutionary time.

Assigning a nonnegative length w(e) to every edge e gives an edge-weighted phylogenetic tree. Assuming distinct leaves have positive distance, the length of the unique graph path P_T(x,y) between leaves x and y defines

 d_T(x,y)=sum_(e in P_T(x,y))w(e).

The resulting metric is called a tree metric. Conversely, a finite metric d has an edge-weighted tree representation iff it satisfies the four-point condition: for every u, v, x, and y in X, the maximum of d(u,v)+d(x,y), d(u,x)+d(v,y), and d(u,y)+d(v,x) is attained at least twice (Buneman 1971). This characterization connects phylogenetic reconstruction from pairwise dissimilarities with distance matrices.


See also

Binary Tree, Distance Matrix, Double Factorial, Free Tree, Rooted Tree, Tree, Tree Leaf, Weighted Graph

Explore with Wolfram|Alpha

References

Alfonsi, J. "Four-Color Graphical Bioinformatics: The Machinery behind Phylogenetic Trees." Wolfram Community, Aug. 3, 2026. https://community.wolfram.com/groups/-/m/t/3773012.Buneman, P. "The Recovery of Trees from Measures of Dissimilarity." In Mathematics in the Archaeological and Historical Sciences (Eds. F. R. Hodson, D. G. Kendall, and P. Tautu). Edinburgh, Scotland: Edinburgh University Press, pp. 387-395, 1971.Semple, C. and Steel, M. Phylogenetics. Oxford, England: Oxford University Press, 2003.

Cite this as:

Weisstein, Eric W. "Phylogenetic Tree." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/PhylogeneticTree.html

Subject classifications