in Combinatory edited by
5,280 views
20 votes
20 votes

The number of rooted binary trees with $n$ nodes is,

  1. Equal to the number of ways of multiplying $(n+1)$ matrices.
  2. Equal to the number of ways of arranging $n$ out of $2 n$ distinct elements.
  3. Equal to $\frac{1}{(n+1)}\binom{2n}{n}$.
  4. Equal to $n!$.
in Combinatory edited by
5.3k views

2 Answers

20 votes
20 votes
Best answer

Number of rooted binary trees (unlabeled) with $n$ nodes is given by $n^{th}$ Catalan number which equals $\frac{{}^{2n}C_n}{n+1}.$

Here, both options $A$ and $C$ are true as option $A$ corresponds to $n$ multiply operations of $n+1$ matrices, the number of ways for this is again given by the $n^{th}$ Catalan number.

Ref: https://math.stackexchange.com/questions/1630457/how-many-ways-to-multiply-n-matrices

by

4 Comments

For Option (B) i got answer as (2n)! / (n!)

 

Is it correct sir?
2
2
im also getting the same thing
0
0
Please provide explanation of Option B.
0
0
0 votes
0 votes
Number of BTs with Unlabelled nodes is (2n C n )/(n+1)

Number of BTs with labelled nodes is (2n C n ) * (n!) /(n+1) .

 

So, answer is option C.

If question have asked about BTs with labelled nodes then answer is B i.e picking n out of 2n people i.e 2n C n then n can be arranged in n! ways

3 Comments

still (n+1) term would be missing in option B rt?
3
3
yes arjun sir i think he forgot to mention but still they given " Number of BTs with labelled nodes is (2n C n ) * (n!) /(n+1)"
1
1

To find the number of rooted binary trees with n internal nodes is same as to find the number of ways to parenthesize (n+1) matrices...and both are equal to the nth Catalan Number Cn. So , I think both (A) and (C) are correct...

6
6
Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true