Suppose k is any natural number, k >= 0. Prove that the number of nodes in any binomial tree of height k is exactly 2^k.
We have the following definitions of Binomial Tree :
(i) Order 0 Binomial Tree contains 1 node. (This is the base
tree)
(ii) Order 'k' Binomial Tree (also represented as Tk)
can be made by taking two binomial trees of order k-1.
Example :
k = 0 (Single Node) o k = 1 (2 nodes) [By taking two k = 0 order Binomial Trees] o \ o k = 2 (4 nodes) [By taking two k = 1 order Binomial Trees] o / \ o o \ o
Now by using the above information we will try to prove that the number of nodes of a Binomal Tree with height k has 2^k nodes.
The binomial tree of Order 0 represented as T0 is the
base binomial tree for k = 0 and we know that by the definiton
stated above that T0 has only 1 node.
Now a binomial tree Tk, k >= 0, Tk can be
made by using two trees of Tk−1 and by definition each
Tk−1 has
2k-1 nodes. Thus, Tk has
2k−1 + 2k−1 =
2k nodes.
Therefore it is proved by Mathematical Induction.
Get Answers For Free
Most questions answered within 1 hours.