Freeks/5.book(保存済みの内容) … 編集へ / ファイル一覧へ

ページ 6 / 9 … 1 … 4 5 6 7 8 9 … ← 前のページ … 次のページ →


6 #58 Number of combinations

The number of bijections is \(n!\), the number of combinations is \(\binom{k+m}{k}\,k!\,m! = (k+m)!\).

6.1 Number of bijections

In general, the bijections with \(z \mapsto a\), namely \(f\) (those satisfying \(f \setminus \{\langle z, a\rangle\} \in G\)), are in one-to-one correspondence with \(G\) (LFibK).
LFibK … \(z \in X , a \in Y , F = \{ f \mid f \in X \stackrel{\rm IS}\to Y , \langle z , a \rangle \in f , f \mathop\setminus \{ \langle z , a \rangle \} \in G \} , \forall g \, ( g \in G \Longrightarrow g \in X \mathop\setminus \{ z \} \stackrel{\rm IS}\to Y \mathop\setminus \{ a \} ) \Longrightarrow F \stackrel{\#}= G\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,ax_s
The set of all bijections with \(z \mapsto a\) has the same number of elements as the set of bijections from \(X \setminus \{z\}\) to \(Y \setminus \{a\}\).
LFib … \(z \in X , a \in Y , F = \{ f \in X \stackrel{\rm IS}\to Y \mid \langle z , a \rangle \in f \} \Longrightarrow F \stackrel{\#}= X \mathop\setminus \{ z \} \stackrel{\rm IS}\to Y \mathop\setminus \{ a \}\) \(\blacktriangleleft\) LFibK ,→IS∖1 ,\(\mathbb{W}.\) ,ax_s ,∖1
If the number of bijections from \(k\) elements to \(k\) elements is \(k!\), then the number of bijections from \(k+1\) to \(k+1\) elements is \(k! \cdot (k+1)\) (split by the destination of \(z\)).
LIS … \(k \in \mathbb{M} , \forall U , V \, ( \operatorname{\#} U = \operatorname{\#} V = k \Longrightarrow \operatorname{\#} ( U \stackrel{\rm IS}\to V ) = k ! ) , \operatorname{\#} X = \operatorname{\#} Y = k + 1 , z \in X \Longrightarrow \operatorname{\#} ( X \stackrel{\rm IS}\to Y ) = k ! \cdot ( k + 1 )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,ax_s ,!𝕄 ,Lfib ,L∖# ,LFib ,⋅0X
The number of bijections is \(n!\) (induction on \(n\)).
→IS=#! … \(\operatorname{\#} U = \operatorname{\#} V = n \in \mathbb{M} \Longrightarrow \operatorname{\#} ( U \stackrel{\rm IS}\to V ) = n !\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,ax_s ,!𝕄 ,!∈𝕄 ,LIS ,#1

6.2 Complements and restrictions

Restricting a bijection \(f\) to a part \(K\) gives a bijection from \(K\) onto its image.
For a bijection, the image of a complement is the complement of the image.
A bijection \(f\) splits into its part on \(K\) and its part on \(X \setminus K\).
Conversely, gluing a bijection \(K \to A\) and a bijection \(X \setminus K \to Y \setminus A\) gives a bijection whose image of \(K\) is \(A\).
For the bijections whose image of \(K\) is \(A\), a bijection \(f\) corresponds one-to-one to the pair obtained by restricting \(f\) to \(K\) and \(X \setminus K\).
From a set of \(k+m\) elements, removing a \(k\)-element subset leaves \(m\) elements.
Lcmp … \(k , m \in \mathbb{M} , \operatorname{\#} X = k + m , A \subset X , \operatorname{\#} A = k \Longrightarrow \operatorname{\#} ( X \mathop\setminus A ) = m\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,L∪# ,L⊂#
A subset has the same number of elements as its image under a bijection.
L*# … \(A \subset X , h \in X \stackrel{\rm IS}\to Y \Longrightarrow A \stackrel{\#}= h ( A )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Lres
For a set of \(n\) elements, the set of all its \(k\)-element subsets has \(n \text{ choose } k\) elements.
Lch … \(n , k \in \mathbb{M} , \operatorname{\#} X = n \Longrightarrow \exists S \, S = \{ A \mid A \subset X , \operatorname{\#} A = k \} , \operatorname{\#} S = n \mathrm{C} k\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,ax_s ,AxC
The set of all bijections whose image of \(K\) is \(A\) has \(k! \cdot m!\) elements.
Lfk … \(k , m \in \mathbb{M} , \operatorname{\#} D = k + m , K \subset D , \operatorname{\#} K = k , A \subset D , \operatorname{\#} A = k , G = \{ f \in D \stackrel{\rm IS}\to D \mid f ( K ) = A \} \Longrightarrow \operatorname{\#} G = k ! \cdot m !\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,ax_s ,!𝕄 ,L∪# ,L⊂# ,Lcmp ,→IS=#! ,LFK ,L#= ,⋅0X
The number of combinations is a natural number (since the set of all subsets of an \(n\)-element set, \(℘\), is finite).

6.3 Proof 1 (counting bijections by cases) forget

For \(D = K \cup M\) (where \(K\) has \(k\) elements and \(M\) has \(m\)), classify the bijections \(f\) by the image of \(K\), \(f[K]\) (a subset of \(D\) with \(k\) elements). For every image \(A\), the \(f\) producing it correspond one-to-one to pairs of a bijection \(K \to A\) and a bijection \(M \to D \setminus A\), so there are \(k! \cdot m!\). Hence \((k+m)! = {}_{k+m}\mathrm{C}_{k} \cdot k! \cdot m!\).
Lmain … \(k , m \in \mathbb{M} , \operatorname{\#} D = k + m , K \subset D , \operatorname{\#} K = k \Longrightarrow ( k + m ) \mathrm{C} k \cdot ( k ! \cdot m ! ) = ( k + m ) !\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,ax_s ,!𝕄 ,Lfk ,Lch ,Lc∈ ,LfibR ,→IS=#! ,L*# ,L#= ,⋅𝕄:D ,⋅0X
The relation between combinations and factorials.
\(k , m \in \mathbb{M} \Longrightarrow ( k + m ) \mathrm{C} k \cdot k ! \cdot m ! = ( k + m ) !\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,ax_s ,!𝕄 ,↑s𝕄 ,↑0X ,⋅𝕄:D ,⋅0X ,Lmain ,Lc∈

6.4 Proof 2 (absorption identity)

Number of combinations: \(\binom{k+m}{k}\,k!\,m! = (k+m)!\). Proved by induction.
Preparation for the number of combinations
Represent a pair \((A, a)\) (\(a \in A\)) by a set whose value at \(0\) is \(a\) and whose value at \(1\) is \(A\), namely \(\{(0,a),(1,A)\}\).
The pairs whose value at \(1\) is \(A\) correspond one-to-one to the elements of \(A\).
The pairs whose value at \(0\) is \(a\), \(\{(0,a),(1,A)\}\), correspond one-to-one to \(A \setminus \{a\}\) (the subsets of \(X \setminus \{a\}\) with \(k\) elements).
Counting all pairs \((A, a)\) by \(A\) gives \((k+1) \cdot {}_{n+1}\mathrm{C}_{k+1}\), and counting by \(a\) gives \({}_{n}\mathrm{C}_{k} \cdot (n+1)\) (the absorption identity).
The absorption identity (without taking sets).
LAb … \(n , k \in \mathbb{M} \Longrightarrow ( k + 1 ) \cdot ( ( n + 1 ) \mathrm{C} ( k + 1 ) ) = n \mathrm{C} k \cdot ( n + 1 )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,ax_s ,Lch ,LAbT
The factorial formula
For a set with \(n = k + m\) elements, the number of its \(k\)-element subsets, \(n \mathrm{C} k\), is \(\dfrac{n!}{k!\,m!}\). To avoid division, in the form \(n \mathrm{C} k \cdot (k!\,m!) = n!\), we prove it by repeating the absorption identity over \(k\).
\(k , m \in \mathbb{M} \Longrightarrow ( k + m ) \mathrm{C} k \cdot k ! \cdot m ! = ( k + m ) !\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,ax_s ,!𝕄 ,Lc∈ ,LAb ,LC0 ,⋅𝕄:D ,⋅0X

6.5 Proof 3 (Pascal's recurrence)

Preparation
Removing one point decreases the count by one.
The empty set has no subsets with \(k+1\) elements.
Of the \(n+1\)-element set \(Y \cup \{x\}\) (\(x \notin Y\)), the \(k+1\)-element subsets split into those not containing \(x\) (subsets of \(Y\) with \(k+1\) elements) and those of the form \(B \cup \{x\}\) (\(B\) a subset of \(Y\) with \(k\) elements).
Since \(x \notin Y\), \(B \mapsto B \cup \{x\}\) is injective, and the two families are disjoint.
Pascal's recurrence.
The factorial formula
If \(k > n\), then \(n \mathrm{C} k = 0\) and \(n \mathrm{C} n = 1\).
\(k , m \in \mathbb{M} \Longrightarrow ( k + m ) \mathrm{C} k \cdot k ! \cdot m ! = ( k + m ) !\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,ax_s ,!𝕄 ,LP ,LC0 ,Lnn ,Lc∈ ,⋅𝕄:D ,⋅0X

ページ 6 / 9 … ← 前のページ … 次のページ →