Jump to content

Why are two answers different using the two equivalent formulas in combinatorics ?

Featured Replies

3 minutes ago, Dhamnekar Win,odd said:

If I put r=2, I get answer=3. If I put 4=3, I get answer=7. If I put r=4, I get answer=15. Now what is your suggestion?  

I've given you my suggestions in my previous post.

  • Author

Author said to change order of summation and use binomial formula to express A(r, n+1) as the difference of two simple sums. So, I did it. As regards derivation of equation(1) using combinatorial arguments, author didn't write anything about that in his book. So, I don't know how to derive it.     

25 minutes ago, Dhamnekar Win,odd said:

Author said to change order of summation and use binomial formula to express A(r, n+1) as the difference of two simple sums. So, I did it.

You need to do it algebraically, not numerically.

25 minutes ago, Dhamnekar Win,odd said:

As regards derivation of equation(1) using combinatorial arguments, author didn't write anything about that in his book. So, I don't know how to derive it.     

Did you see my suggestion about how to do it? Did you try it?

  • Author

My attempt to derive general formula for A(r,n) =[math]\displaystyle\sum_{k=1}^{r-1}\binom{r-1}{k}\cdot A(r-k-1,n-1)[/math] 

Edited by Dhamnekar Win,odd

11 minutes ago, Dhamnekar Win,odd said:

My attempt to derive general formula for A(r,n) =k=1r1(r1k)A(rk1,n1)  

The general form is OK, but the variables are not.

First, do it the way in which the eq (1) is given. I.e. use A(..., n) as given and derive A(r, n+1). It Should look like A(r, n+1) = .... A(r-k, n).

Second, provide explanation for each component, i.e. what is the coefficient in front of A(r-k, n) and what values of k are you summing for.

  • Author

 

[math]A(4-k,2)= (-1)^0 \cdot \binom{2}{0} \cdot(2-0)^{4-1} + (-1)^1\cdot \binom{2}{1} \cdot(2-1)^{4-2} = 8-1 =7[/math]

Is this answer correct?

Edited by Dhamnekar Win,odd

32 minutes ago, Dhamnekar Win,odd said:

 

A(4k,2)=(1)0(20)(20)41+(1)1(21)(21)42+(1)2(22)(22)43=81+0=7

Is this answer correct?

Which question do you try to answer with this?

  • Author

This answer refers to r=4 objects and n=2 cells question. We know A(r,n) =A(4,2)= 14 , My answer to A(r-k,n))=A(4-k, 2)=7

 

Is this answer correct? 

16 minutes ago, Dhamnekar Win,odd said:

This answer refers to r=4 objects and n=2 cells question. We know A(r,n) =A(4,2)= 14 , My answer to A(r-k,n))=A(4-k, 2)=7

 

Is this answer correct? 

A(4-k, 2) depends on k. So, it is not 7. It is different for different values of k.

  • Author

So, for [math] k=1, A(3,2)=(-1)^0 \cdot \binom{2}{0} \cdot (2-v)^{4-1=3}[/math]

Is this correct?

Edited by Dhamnekar Win,odd

16 minutes ago, Dhamnekar Win,odd said:

So, for k=1,A(3,2)=(1)0(20)(2v)41=3

Is this correct?

No.

  • Author

But as per formula (2)r=4 and k=1 , which results in [math] (-1)^0 \cdot \binom{2}{0}\cdot(2-v)^3[/math]

Formula (2) = [math]A(r-k,n) =\displaystyle\sum_{v=0}^{n}(-1)^v\binom{n}{v}(n-v)^{r-k}[/math] 

Edited by Dhamnekar Win,odd

16 minutes ago, Dhamnekar Win,odd said:

But as per formula (2)r=4 and k=1 , which results in (1)0(20)(2v)3

Formula (2) = A(rk,n)=v=0n(1)v(nv)(nv)rk  

There is a summation in the formula (2) for A(), but in your calculation there is no summation. So, you have calculated only one components of A(3,2), rather than the value A(3,2).

In fact, A(3,2) = 6. For example, if your objects are a, b, and c, then there are these 6 ways to distribute them in 2 distinguishable cells with no empty cells:

a | bc

b | ac

c | ab

bc | a

ac | b

ab | c

 

  • Author

So, Eventually I did it.

Using formula (1) we get [math] A(4,2)= \displaystyle\sum_{k=1}^{3}\binom{4}{k}\cdot \displaystyle\sum_{v=0}^{1}(-1)^v\cdot \binom{1}{v}\cdot (1-v)^{4-k}=14[/math]

 

Using formula (1)we get[math] A(4,3)=\displaystyle\sum_{k=1}^{2}\binom{4}{k}\cdot\displaystyle\sum_{v=0}^{2}(-1)^v\cdot \binom{2}{v} \cdot (2-v)^{4-k}=36[/math]

Using formula (2) we get [math]A(4,2)=\displaystyle\sum_{v=0}^{2}(-1)^v \cdot \binom{2}{v}\cdot (2-v)^{4}=14[/math] as expected

Using formula (2) we get [math] A(4,3)=\displaystyle\sum_{v=0}^{3}(-1)^v\cdot  \binom{3}{v}\cdot(3-v)^{4}=36 [/math] as expected.

 

Thanks for your guidance.

 

Edited by Dhamnekar Win,odd

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.