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

ページ 3 / 13 … 1 2 3 4 5 … 13 … ← 前のページ … 次のページ →


3 #30 Ballot problem forget

From 11.book. Prove the difference form \(N(p,r+1)+\binom{m}{r}=\binom{m}{r+1}\) by induction on \(m\), and convert to the ratio form.
Ballot problem: when \(A\) gets \(p\) votes and \(B\) gets \(q\) votes (\(p > q\)), the number of counting orders in which \(A\) is always ahead of \(B\) is \(N(p,q) = \binom{p+q-1}{q} - \binom{p+q-1}{q-1} = \frac{p-q}{p+q}\binom{p+q}{q}\).
\(N\) is assumed to be a function satisfying the counting recurrence (existence is not shown): \(N(p+1, 0) = 1\). If \(p \le q + 1\), \(N(p, q+1) = 0\). If \(q < p\), split by whether the last vote is for \(A\) or \(B\): \(N(p+1, q+1) = N(p, q+1) + N(p+1, q)\).

3.1 Symmetry of binomial coefficients and computation

The number of ways to choose from \(n\) elements \(a\) of them equals the number of ways to choose \(b = n - a\) (from \(\binom{a+b}{a}\,a!\,b! = (a+b)!\)).
From the difference form to the ratio form, we use only the following computation (\(n\) is the value of \(N\); \(u, w, t\) are binomial coefficients; \(c = r + 1\); \(d = m + 1\)).

3.2 Difference form

Prove \(N(p, r+1) + \binom{m}{r} = \binom{m}{r+1}\) (\(p + r = m\), \(r + 1 \le p\)) by induction on \(m\).

3.3 Ratio form

From the difference form, prove \((p+q)\,N(p,q) = (p-q)\binom{p+q}{q}\) without division (put \(p = q + k\), so \(p - q = k\)).
\(\begin{cases} \forall p , q \in \mathbb{M} . ( N ( p ) ) ( q ) \in \mathbb{M} \\ \forall p \in \mathbb{M} . ( N ( p + 1 ) ) ( 0 ) = 1 \\ \forall p , q \in \mathbb{M} . ( p \le q + 1 \Longrightarrow ( N ( p ) ) ( q + 1 ) = 0 ) \\ \forall p , q \in \mathbb{M} . ( q < p \Longrightarrow ( N ( p + 1 ) ) ( q + 1 ) = ( N ( p ) ) ( q + 1 ) + ( N ( p + 1 ) ) ( q ) ) \end{cases} , p , q , k \in \mathbb{M} , p = q + k \Longrightarrow ( p + q ) \cdot ( N ( p ) ) ( q ) = k \cdot ( ( p + q ) \mathrm{C} q )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,ax_s ,Lc∈ ,LP ,LC0 ,LAb ,Lsym ,⋅0X

ページ 3 / 13 … ← 前のページ … 次のページ →