Number of partitions for a finite set

AI Thread Summary
The discussion focuses on finding a recursive relation for the number of partitions, denoted as P_n, for a finite set S_n of cardinality n, starting with P_0 = 1. The initial attempt at a solution leads to an incorrect formula due to double counting, which is identified through examples. To resolve this, it is suggested that each k-block A_k must include a specific element x from S_{n+1}, allowing for a corrected recursive relation. The final proposed formula is P_{n+1} = ∑_{k=1}^{n+1} {n choose k-1} P_{n+1-k}, which appears more plausible and is confirmed by another participant in the discussion. The conversation concludes with confidence in the correctness of the recursive relation.
geoffrey159
Messages
535
Reaction score
72

Homework Statement


Find a recursive relation on the number of partitions ##P_n## for a set ##S_n## of cardinal ##n##. ##P_0 = 1## is given.

Homework Equations

The Attempt at a Solution


A partition of ##S_{n+1}## is given by the choice of a non-empty ##k##-block ##A_k## of ##S_{n+1}## and a partition of ##S_{n+1} - A_k## which has cardinality ##n+1-k##, for all ##k \in [[ 1...n+1 ]]##. I find :

##P_{n+1} = \sum_{k = 1}^{n+1} {n+1\choose k} P_{n+1-k} = \sum_{k = 1}^{n+1} {n+1\choose n+1-k} P_{n+1-k} = \sum_{s = 0}^{n} {n+1\choose s} P_s ##

But this formula is wrong and I don't understand why. What did I miss ?
 
Physics news on Phys.org
##n=4,n+1=5##
##S_{5}=\{1,2,3,4,5\}##
Take your argument for k=2
Non empty 2-block: ##A_2=\{1,2\}##, partition of ##S_{n+1-k} \setminus A_2##: ##\{\{3,4\},\{5\}\}##
Non empty 2-block: ##A_2=\{3,4\}##, partition of ##S_{n+1-k}\setminus A_2##: ##\{\{1,2\},\{5\}\}##
Take your argument for k=1
Non empty 1-block: ##A_1=\{5\}##, partition of ##S_{n+1-k} \setminus A_1##: ##\{\{1,2\},\{3,4\}\}##

So there is some double (or even more) counting going on in your argument.
 
Last edited:
  • Like
Likes geoffrey159
Thank you Samy, your answer is very clear ! I think that in order to avoid this double counting, I must impose that the ##k##-blocs ##A_k## contain a random element ##x\in S_{n+1}##.
In which case, each ##A_k## is the union of ##x## and of a ##(k-1)##-block of ##S_{n+1}-\{x\}##, so that ##A_k## can be chosen in ##{ n \choose k-1}## ways. Finally,

##P_{n+1} =\sum_{k = 1}^{n+1} { n \choose k-1} P_{n+1-k} =\sum_{k = 1}^{n+1} { n \choose n+1-k} P_{n+1-k} =\sum_{s = 0}^{n} { n \choose s} P_{s}##

Which looks much more plausible. What do you think ?
 
  • Like
Likes Samy_A
geoffrey159 said:
Thank you Samy, your answer is very clear ! I think that in order to avoid this double counting, I must impose that the ##k##-blocs ##A_k## contain a random element ##x\in S_{n+1}##.
In which case, each ##A_k## is the union of ##x## and of a ##(k-1)##-block of ##S_{n+1}-\{x\}##, so that ##A_k## can be chosen in ##{ n \choose k-1}## ways. Finally,

##P_{n+1} =\sum_{k = 1}^{n+1} { n \choose k-1} P_{n+1-k} =\sum_{k = 1}^{n+1} { n \choose n+1-k} P_{n+1-k} =\sum_{s = 0}^{n} { n \choose s} P_{s}##

Which looks much more plausible. What do you think ?
Yes, that's exactly the method I used. Of course we could both be wrong (argumentwise), but the recursive relation is most certainly correct.
 
  • Like
Likes geoffrey159
Thank you very much !
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks
Back
Top