If there are three unrooted trees for four protein sequences, the number of rooted trees for the same number of sequences is ____________.
GATE 2023 BT Q.51: solution and answer
Answer and solution
ANSWER
The number of rooted trees for four sequences is 15.
Official answer: 15Source: Official answer key, GATE 2023 BT (IIT Kanpur)
An unrooted bifurcating (binary) tree for taxa has branches (edges). For leaves: internal nodes , total nodes , so total edges nodes .
The number of distinct unrooted binary trees for taxa is , matching the value given in the question stem (this is a consistency check on the standard formula, not something to be computed from scratch).
A root can be inserted at any point along any one of the branches of a given unrooted tree, and each distinct branch placement produces a distinct rooted tree. Hence (number of rooted trees) (number of unrooted trees) .
Substituting: rooted trees .
Cross-check using the direct closed-form for rooted binary trees, : for , , consistent with the step-by-step result.
KEY IDEA
An unrooted bifurcating tree for taxa has branches, and placing a root on any one of these branches produces a distinct rooted tree. So rooted trees = (number of unrooted trees) .
WATCH OUT FOR
Confusing the two standard counting formulas — using (rooted count) as if it directly gave the unrooted count, or forgetting that the multiplier linking unrooted to rooted trees is the number of branches (), not the number of taxa () or internal nodes.
From the GATE 2023 BT paper. Every question of this paper · Download the full paper · All 11 Bioinformatics questions, with notes
More Bioinformatics questions
- GATE 2022 BT Q.44 · MCQ · 2 marksThe maximum parsimony method is used to construct a phylogenetic tree for a set of sequences.
- GATE 2020 BT Q.54 · NAT · 2 marksQ.No. 54 An algorithm was designed to find globins in protein sequence databases.
- GATE 2019 BT Q.4 · MCQ · 1 markWhich one of the following is a database of protein sequence motifs?
- GATE 2019 BT Q.19 · NAT · 1 markThe number of possible rooted trees in a phylogeny of three species is.