Binomial tree

table of Contents

One, binomial tree

Second, the generating function of the binomial tree

Three, the number of nodes in the binomial tree


One, binomial tree

Binomial tree is a set of fixed recursively defined trees:

B0 is a single-node tree,

Bn is an n-ary tree, the root node has n children, namely B0, B1...B n-1

 

Second, the generating function of the binomial tree

For Bn, its depth is n, and we define its generating function:

T_n\left ( x \right )=\sum _{i=0}^n s_i x^i  , Where si is the number of nodes in the i-th layer

According to the definition of the binomial tree, we can get the recurrence of the generating function:T_n\left ( x \right )=1+x \left ( T_0\left ( x \right )+T_1\left ( x \right ) +...+T_{n-1}\left ( x \right ) \right )

According to this recurrence formula, it can be found,T_n\left ( x \right )=\left ( 1+x \right )^n

Therefore, the generating function of the binomial tree Tn is binomial (1+x)^n

 

Three, the number of nodes in the binomial tree

The number of nodes in the i-th layer of the binomial tree is the binomial coefficient C(n, i)

The total number of nodes in the binomial tree is 2^n

Guess you like

Origin blog.csdn.net/nameofcsdn/article/details/115375700