Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

How many vertices are there in \({{\bf{B}}_{\bf{k}}}\) at depth j, where\(0 \le {\bf{j}} \le {\bf{k}}\)? Justify your answer.

Short Answer

Expert verified

The \({B_k}\)at depth j has \(C\left( {k,j} \right)\) vertices.

Step by step solution

01

General form

Principle of Binomial trees: The binomial trees \({B_i}\), \(i = 0,1,2,...,\) are ordered rooted trees defined recursively:

Basis step: the binomial tree \({B_0}\) is the tree with a single vertex.

Recursive step:Let k be a nonnegative integer. To construct the binomial tree \({B_{k + 1}}\), add a copy of \({B_k}\) to a second copy of \({B_k}\) by adding an edge that makes the root of the first copy of \({B_k}\) the leftmost child of the root of the second copy of \({B_k}\).

Principle of Mathematical induction:To prove that \(P\left( n \right)\) is true for all positive integers n, where \(P\left( n \right)\) is a propositional function, we complete two steps:

Basis step:Verify that \(P\left( 1 \right)\) is true.

Inductive step: The conditional statement \(P\left( k \right) \to P\left( {k + 1} \right)\) is true for all positive integers k.

02

Estimation of the number of vertices

Referring to Exercise 13: The graph trees are shown below.

Now, estimate the height in the first 5 binomial trees.

Since \({B_0}\) has \(C\left( {0,0} \right) = 1\) a vertex at a height of 0.

\({B_1}\)has \(C\left( {1,0} \right) = 1\) a vertex at height 0 and \(C\left( {1,1} \right) = 1\) vertex at height 1.

Similarly, the number of vertices of \({B_k}\)at height j then appears to be \(C\left( {k,j} \right)\).

03

Proof the answer

To prove:The number of vertices at height j in \({B_k}\) is \(C\left( {k,j} \right)\left( {0 \le j \le k} \right)\).

Prove that by using the induction method.

Let \(P\left( n \right)\) be “The number of vertices at height j in \({B_n}\) is \(C\left( {n,j} \right)\left( {0 \le j \le n} \right)\).”

Basis step:

Put \(n = 0\).

Then, \({B_0}\) has exactly one vertex at height 0 and \(C\left( {0,0} \right) = 1\). (As \(0! = 1\) by definition)

This \(P\left( 0 \right)\) is true.

Inductive step:

Let \(P\left( k \right)\) be true. Thus, the number of vertices at height j in \({B_n}\) is \(C\left( {n,j} \right)\left( {0 \le j \le n} \right)\).

Prove that \(P\left( {k + 1} \right)\) is true.

Since, \({B_{k + 1}}\) consists of two copies of \({B_k}\), and with one of the two copies moved down by one level, the number of vertices at height \(j + 1\) in \({B_{k + 1}}\) is the sum of the number of vertices at height j in \({B_k}\). By the induction hypothesis, the number of vertices of \({B_{k + 1}}\) at height \(j + 1\) is then\(C\left( {k,j} \right) + C\left( {k,j + 1} \right)\).

However, Pascal’s identity tells us \(C\left( {k,j} \right) + C\left( {k,j + 1} \right) = C\left( {k + 1,j + 1} \right)\) and thus the number of vertices of \({B_{k + 1}}\) at height j is \(C\left( {k + 1,j + 1} \right)\).

So, \(P\left( {k + 1} \right)\) is true.

Hence, the number of vertices at height j in \({{\bf{B}}_{\bf{k}}}\) is\({\bf{C}}\left( {{\bf{k,j}}} \right)\left( {0 \le {\bf{j}} \le {\bf{k}}} \right)\).

Hence proved.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Which of these graphs are trees?

Sollin's algorithm produces a minimum spanning tree from a connected weighted simple graph \({\bf{G = (V,E)}}\) by successively adding groups of edges. Suppose that the vertices in \({\bf{V}}\) are ordered. This produces an ordering of the edges where \({\bf{\{ }}{{\bf{u}}_{\bf{0}}}{\bf{,}}{{\bf{v}}_{\bf{0}}}{\bf{\} }}\) precedes \({\bf{\{ }}{{\bf{u}}_{\bf{1}}}{\bf{,}}{{\bf{v}}_{\bf{1}}}{\bf{\} }}\) if \({{\bf{u}}_{\bf{0}}}\) precedes \({{\bf{u}}_{\bf{1}}}\) or if \({{\bf{u}}_{\bf{0}}}{\bf{ = }}{{\bf{u}}_{\bf{1}}}\) and \({{\bf{v}}_{\bf{0}}}\) precedes \({{\bf{v}}_{\bf{1}}}\). The algorithm begins by simultaneously choosing the edge of least weight incident to each vertex. The first edge in the ordering is taken in the case of ties. This produces a graph with no simple circuits, that is, a forest of trees (Exercise \({\bf{24}}\) asks for a proof of this fact). Next, simultaneously choose for each tree in the forest the shortest edge between a vertex in this tree and a vertex in a different tree. Again the first edge in the ordering is chosen in the case of ties. (This produces a graph with no simple circuits containing fewer trees than were present before this step; see Exercise \({\bf{24}}\).) Continue the process of simultaneously adding edges connecting trees until \({\bf{n - 1}}\) edges have been chosen. At this stage a minimum spanning tree has been constructed.

Show that the addition of edges at each stage of Sollin’s algorithm produces a forest.

Suppose that \({{\bf{d}}_{\bf{1}}}{\bf{,}}{{\bf{d}}_{\bf{2}}}{\bf{,}}...{\bf{,}}{{\bf{d}}_{\bf{n}}}\) are n positive integers with sum \({\bf{2n - 2}}\). Show that there is a tree that has n vertices such that the degrees of these vertices are \({{\bf{d}}_{\bf{1}}}{\bf{,}}{{\bf{d}}_{\bf{2}}}{\bf{,}}...{\bf{,}}{{\bf{d}}_{\bf{n}}}\).

a. Explain how to use preorder, in-order, and post-order traversals to find the pre-fix, in-fix, and post-fix forms of an arithmetic expression.

b. Draw the ordered rooted tree that represents \({\bf{((x - 3) + ((x/4) + (x - y)}} \uparrow {\bf{3))}}\)

c. Find the pre-fix and post-fix forms of the expression in part \(\left( {\bf{b}} \right)\).

Can there be two different simple paths between the vertices of a tree?

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free