<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator><link href="https://ulysseszh.github.io/feed/tags/combinatorics.xml" rel="self" type="application/atom+xml" /><link href="https://ulysseszh.github.io/" rel="alternate" type="text/html" hreflang="en-US" /><updated>2026-04-19T16:48:01-07:00</updated><id>https://ulysseszh.github.io/feed/tags/combinatorics.xml</id><title type="html"><![CDATA[Ulysses’ trip]]></title><subtitle>Here we are at the awesome (awful) blog written by UlyssesZhan!</subtitle><author><name>UlyssesZhan</name><email>ulysseszhan@gmail.com</email></author><entry><title type="html"><![CDATA[The role of particle indistinguishability in statistical mechanics]]></title><link href="https://ulysseszh.github.io/physics/2025/03/03/indistinguishability.html" rel="alternate" type="text/html" title="The role of particle indistinguishability in statistical mechanics" /><published>2025-03-03T22:53:47-08:00</published><updated>2025-03-03T22:53:47-08:00</updated><id>https://ulysseszh.github.io/physics/2025/03/03/indistinguishability</id><content type="html" xml:base="https://ulysseszh.github.io/physics/2025/03/03/indistinguishability.html"><![CDATA[<h2 data-label="0.1" id="classical-vs.-quantum-statistical-mechanics">Classical vs. quantum statistical mechanics</h2>
<p>Previously, I have written two blog articles (<a href="/physics/2023/03/30/measure-ensemble.html">part 1</a> about thermal ensembles and <a href="/physics/2023/05/01/measure-ensemble-2.html">part 2</a> about non-thermal ensembles) about a formalism of statistical ensembles. I will be using it as the formalism of classical statistical mechanics in this article.</p>
<p>In that formalism, the space of microstates of a system is a measure space <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">M</mi></mrow><annotation encoding="application/x-tex">\mcal M</annotation></semantics></math></span></span>, and the physical meaning of the measure is the number of microstates. A macrostate is described by the extensive quantities, which are a function of the microstate, so designating a macrostate restricts the microstates that can realize it to a subset of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">M</mi></mrow><annotation encoding="application/x-tex">\mcal M</annotation></semantics></math></span></span>.</p>
<p>A state of the system is a probability density function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>p</mi></mrow><annotation encoding="application/x-tex">p</annotation></semantics></math></span></span> on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">M</mi></mrow><annotation encoding="application/x-tex">\mcal M</annotation></semantics></math></span></span>, whose physical meaning is an ensemble of microstates. The macroscopically measured extensive quantities of the system are defined to be the ensemble average, i.e., the measured value of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>A</mi><mo>:</mo><mi mathvariant="script">M</mi><mo>→</mo><mi mathvariant="double-struck">R</mi></mrow><annotation encoding="application/x-tex">A:\mcal M\to\bR</annotation></semantics></math></span></span> is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mo>∫</mo><mi mathvariant="script">M</mi></msub><mi>p</mi><mi>A</mi></mrow><annotation encoding="application/x-tex">\int_{\mcal M}pA</annotation></semantics></math></span></span>. Generally, any probability density function is a perfectly valid state, but the most important ones are those that are thermal equilibrium states, including the microcanonical ensembles, the thermal ensembles, and the non-thermal ensembles. The term about an ensemble being thermal or non-thermal is made up by me, but for most practical reasons, we only need to focus on thermal ensembles (because both canonical ensembles and grand canonical ensembles are thermal ensembles).</p>
<p>To avoid subtleties about measure theory and topology, in this article, we will only use counting measure and discrete spaces for the space of microstates and the space of extensive quantities.</p>
<details>
<summary>
Possible confusion of macrostate vs. state and an example
</summary>
<p>In this article, a <dfn>macrostate</dfn> is a tuple of extensive quantities (usually the energy, the volume, and the number of particles) that constrain the microstates. In classical statistical mechanics, every microstate has a definite macrostate. Technically, any function on the microstates may be defined as the macrostates of the system (as long as it meets some measure-theoretic requirements).</p>
<p>On the other hand, a <dfn>state</dfn> is an ensemble of microstates. In classical statistical mechanics, it is a probability distribution on the microstates. Any probability density function on the microstates is a state state of the system.</p>
<p>These two concepts are clearly distinct in the context of this article, but they are often confused in the literature.</p>
<p>For example, consider the system <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">M</mi><mo>=</mo><mrow><mo fence="true">{</mo><mn>0</mn><mo separator="true">,</mo><mn>1</mn><mo separator="true">,</mo><mn>2</mn><mo separator="true">,</mo><mn>3</mn><mo fence="true">}</mo></mrow></mrow><annotation encoding="application/x-tex">\mcal M=\B{0,1,2,3}</annotation></semantics></math></span></span>, and it has three different macrostates <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>E</mi><mo>=</mo><mrow><mo fence="true">{</mo><mn>0</mn><mo separator="true">,</mo><mn>1</mn><mo separator="true">,</mo><mn>2</mn><mo fence="true">}</mo></mrow></mrow><annotation encoding="application/x-tex">E=\B{0,1,2}</annotation></semantics></math></span></span>. Then, we can define the set of microstates that realize the macrostate <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>0</mn></mrow><annotation encoding="application/x-tex">0</annotation></semantics></math></span></span> to be <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>M</mi><mn>0</mn></msub><mo>=</mo><mrow><mo fence="true">{</mo><mn>0</mn><mo fence="true">}</mo></mrow></mrow><annotation encoding="application/x-tex">M_0=\B{0}</annotation></semantics></math></span></span>, and similarly we can define <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>M</mi><mn>1</mn></msub><mo>=</mo><mrow><mo fence="true">{</mo><mn>1</mn><mo separator="true">,</mo><mn>2</mn><mo fence="true">}</mo></mrow></mrow><annotation encoding="application/x-tex">M_1=\B{1,2}</annotation></semantics></math></span></span> and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>M</mi><mn>2</mn></msub><mo>=</mo><mrow><mo fence="true">{</mo><mn>3</mn><mo fence="true">}</mo></mrow></mrow><annotation encoding="application/x-tex">M_2=\B{3}</annotation></semantics></math></span></span>. We then finished defining the macrostates of the system.</p>
<p>Now, let’s see what states we can define. Despite that the system has only <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>4</mn></mrow><annotation encoding="application/x-tex">4</annotation></semantics></math></span></span> different microstates, it has infinitely many states because any probability distribution on the microstates is a state, which may be specified by the probabilities <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>p</mi><mn>0</mn></msub><mo separator="true">,</mo><msub><mi>p</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>p</mi><mn>2</mn></msub><mo separator="true">,</mo><msub><mi>p</mi><mn>3</mn></msub></mrow><annotation encoding="application/x-tex">p_0,p_1,p_2,p_3</annotation></semantics></math></span></span> that sum to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>1</mn></mrow><annotation encoding="application/x-tex">1</annotation></semantics></math></span></span>, each representing the probability of the corresponding microstate. For example, <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mi>p</mi><mn>0</mn></msub><mo>=</mo><mfrac><mn>1</mn><mn>2</mn></mfrac><mo separator="true">,</mo><mspace width="1em"/><msub><mi>p</mi><mn>1</mn></msub><mo>=</mo><mfrac><mn>1</mn><mn>2</mn></mfrac><mo separator="true">,</mo><mspace width="1em"/><msub><mi>p</mi><mn>2</mn></msub><mo>=</mo><msub><mi>p</mi><mn>3</mn></msub><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">p_0=\fr12,\quad p_1=\fr12,\quad p_2=p_3=0</annotation></semantics></math></span></span></span> is a perfectly valid state of the system. However, to find the
thermal equilibrium state for a certain macrostate, we can use the equal <em>a priori</em> probability principle to find the microcanonical ensemble. For example, the microcanonical ensemble for the macrostate <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>0</mn></mrow><annotation encoding="application/x-tex">0</annotation></semantics></math></span></span> is <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mi>p</mi><mn>0</mn></msub><mo>=</mo><mn>1</mn><mo separator="true">,</mo><mspace width="1em"/><msub><mi>p</mi><mn>1</mn></msub><mo>=</mo><msub><mi>p</mi><mn>2</mn></msub><mo>=</mo><msub><mi>p</mi><mn>3</mn></msub><mo>=</mo><mn>0</mn><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">p_0=1,\quad p_1=p_2=p_3=0,</annotation></semantics></math></span></span></span> and the microcanonical ensemble for the macrostate <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>1</mn></mrow><annotation encoding="application/x-tex">1</annotation></semantics></math></span></span> is <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mi>p</mi><mn>1</mn></msub><mo>=</mo><msub><mi>p</mi><mn>2</mn></msub><mo>=</mo><mfrac><mn>1</mn><mn>2</mn></mfrac><mo separator="true">,</mo><mspace width="1em"/><msub><mi>p</mi><mn>0</mn></msub><mo>=</mo><msub><mi>p</mi><mn>3</mn></msub><mo>=</mo><mn>0.</mn></mrow><annotation encoding="application/x-tex">p_1=p_2=\fr12,\quad p_0=p_3=0.</annotation></semantics></math></span></span></span></p>
<p>Now let’s consider <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>E</mi></mrow><annotation encoding="application/x-tex">E</annotation></semantics></math></span></span> as a subset of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="double-struck">R</mi></mrow><annotation encoding="application/x-tex">\bR</annotation></semantics></math></span></span> so that we can do arithmetics on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>E</mi></mrow><annotation encoding="application/x-tex">E</annotation></semantics></math></span></span> (of course it is called extensive quantities for a reason). We can then define a thermal ensemble given the intensive variables, say, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>1</mn></mrow><annotation encoding="application/x-tex">1</annotation></semantics></math></span></span>: <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mi>p</mi><mn>0</mn></msub><mo>=</mo><mfrac><mn>1</mn><mi>Z</mi></mfrac><mo separator="true">,</mo><mspace width="1em"/><msub><mi>p</mi><mn>1</mn></msub><mo>=</mo><msub><mi>p</mi><mn>2</mn></msub><mo>=</mo><mfrac><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mi>Z</mi></mfrac><mo separator="true">,</mo><mspace width="1em"/><msub><mi>p</mi><mn>3</mn></msub><mo>=</mo><mfrac><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mn>2</mn></mrow></msup><mi>Z</mi></mfrac><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">p_0=\fr{1}{Z},\quad p_1=p_2=\fr{\e^{-1}}{Z},\quad p_3=\fr{\e^{-2}}{Z},</annotation></semantics></math></span></span></span> where
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>Z</mi><mo>=</mo><mn>1</mn><mo>+</mo><mn>2</mn><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mn>2</mn></mrow></msup></mrow><annotation encoding="application/x-tex">Z=1+2\e^{-1}+\e^{-2}</annotation></semantics></math></span></span> is the partition function.</p>
I would like to give an example of a non-thermal ensemble, but it is only non-trivially defined if the space of extensive quantities is at least two-dimensional (i.e. if <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>E</mi></mrow><annotation encoding="application/x-tex">E</annotation></semantics></math></span></span> lives on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="double-struck">R</mi><mn>2</mn></msup></mrow><annotation encoding="application/x-tex">\bR^2</annotation></semantics></math></span></span> instead of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="double-struck">R</mi></mrow><annotation encoding="application/x-tex">\bR</annotation></semantics></math></span></span>), so I will omit it here.
</details>
<p>However, in quantum mechanics, things get different because of the introduction of superpositions of states. For the superpositions to make sense, the space of microstates must be endowed with a vector space structure. By principles in quantum mechanics, it is the projective space of a separable Hilbert space <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">H</mi></mrow><annotation encoding="application/x-tex">\mcal H</annotation></semantics></math></span></span>. A state of the system is then a density operator <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>ρ</mi></mrow><annotation encoding="application/x-tex">\rho</annotation></semantics></math></span></span> on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">H</mi></mrow><annotation encoding="application/x-tex">\mcal H</annotation></semantics></math></span></span>, which can be any positive semi-definite self-adjoint operator with trace <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>1</mn></mrow><annotation encoding="application/x-tex">1</annotation></semantics></math></span></span>. This is quite different from a state in the classical case because we cannot simply interpret a density operator as an ensemble of microstates. Generally, we can have different ensembles that realize the same density operator. All those different ensembles are just equally physically valid (without further contexts) due to the <a href="https://en.wikipedia.org/wiki/Schr%C3%B6dinger%E2%80%93HJW_theorem" target="_blank" rel="external">Schrödinger–HJW theorem</a>.</p>
<p>Extensive quantities are self-adjoint operators on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">H</mi></mrow><annotation encoding="application/x-tex">\mcal H</annotation></semantics></math></span></span>. This leads to a key difference between classical and quantum statistical mechanics: in quantum statistical mechanics, a microstate generally does not have a definite macrostate, except for the case when it is an eigenstate of all the extensive quantities. However, we can still define macroscopically measured extensive quantities for any state of the system, being <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">Tr</mi><mo>⁡</mo><mi>ρ</mi><mi>A</mi></mrow><annotation encoding="application/x-tex">\Tr\rho A</annotation></semantics></math></span></span> for any self-adjoint operator <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>A</mi></mrow><annotation encoding="application/x-tex">A</annotation></semantics></math></span></span>.</p>
<p>The fact that only the states in the eigenspace of all the extensive quantities have a definite macrostate imposes a challenge on defining the microcanonical ensemble (to clarify, I am referring to the density operator, which does not define a particular ensemble, but I am still using “microcanonical ensemble” to refer to that state). It may not be possible to define a microcanonical ensemble for every possible combinations of values of the extensive quantities (in their spectra). In practice, one would restrict to only consider mutually commuting operators as the extensive quantities. Then, the microcanonical ensemble density operator is the projection operator onto the common eigenspace (properly normalized to have trace <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>1</mn></mrow><annotation encoding="application/x-tex">1</annotation></semantics></math></span></span>). The statistical mechanics is then actually equivalent to the classical statistical mechanics (namely taking the eigenbasis of the extensive quantities as the classical space of microstates)! Unfortunately, this is not the way typically used in practice because it is not always practical to find the eigenbasis.</p>
<p>To avoid mathematical subtleties, we will mostly only consider finite-dimensional Hilbert spaces.</p>
<p>Here is a summary table:</p>
<table>
<thead>
<tr>
<th/>
<th>Classical</th>
<th>Quantum</th>
</tr>
</thead>
<tbody>
<tr>
<td>Space of microstates</td>
<td>Measure space <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">M</mi></mrow><annotation encoding="application/x-tex">\mcal M</annotation></semantics></math></span></span></td>
<td>Projective space of a separable Hilbert space <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">H</mi></mrow><annotation encoding="application/x-tex">\mcal H</annotation></semantics></math></span></span></td>
</tr>
<tr>
<td>State</td>
<td>Probability density function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>p</mi></mrow><annotation encoding="application/x-tex">p</annotation></semantics></math></span></span> on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">M</mi></mrow><annotation encoding="application/x-tex">\mcal M</annotation></semantics></math></span></span></td>
<td>Density operator <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>ρ</mi></mrow><annotation encoding="application/x-tex">\rho</annotation></semantics></math></span></span> on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">H</mi></mrow><annotation encoding="application/x-tex">\mcal H</annotation></semantics></math></span></span></td>
</tr>
<tr>
<td>Extensive quantities</td>
<td>Functions on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">M</mi></mrow><annotation encoding="application/x-tex">\mcal M</annotation></semantics></math></span></span></td>
<td>Self-adjoint operators on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">H</mi></mrow><annotation encoding="application/x-tex">\mcal H</annotation></semantics></math></span></span></td>
</tr>
<tr>
<td>Measured value of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>A</mi></mrow><annotation encoding="application/x-tex">A</annotation></semantics></math></span></span></td>
<td><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mo>∫</mo><mi mathvariant="script">M</mi></msub><mi>p</mi><mi>A</mi></mrow><annotation encoding="application/x-tex">\int_{\mcal M}pA</annotation></semantics></math></span></span></td>
<td><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">Tr</mi><mo>⁡</mo><mi>ρ</mi><mi>A</mi></mrow><annotation encoding="application/x-tex">\Tr\rho A</annotation></semantics></math></span></span></td>
</tr>
</tbody>
</table>
<h2 data-label="0.2" id="many-body-systems">Many-body systems</h2>
<p>We then want to ask: if the space of microstates for one particle is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">M</mi></mrow><annotation encoding="application/x-tex">\mcal M</annotation></semantics></math></span></span> (or <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">H</mi></mrow><annotation encoding="application/x-tex">\mcal H</annotation></semantics></math></span></span>), what is the space of microstates for many particles? The answer depends on whether the particles are distinguishable particles, indistinguishable fermions, or indistinguishable bosons.</p>
<p>There are two aspects in which fermions and bosons contrasts with each other. One is their symmetry properties: fermions are antisymmetric under exchange of particles, and bosons are symmetric. The other is their statistical properties: fermions obey the Pauli exclusion principle, and the bosons do not. The second property naturally leads us to work with Fock states, which can be derived from the first property after second quantization. In this article, a third kind of particles, distinguishable particles, will also be considered. They are neither symmetric nor antisymmetric under exchange of particles, but exchanging particles actually gives a new state.</p>
<p>The whole idea of these different kinds of particles is very easy to describe in quantum mechanics. If the microstates of each particle live on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">H</mi></mrow><annotation encoding="application/x-tex">\mcal H</annotation></semantics></math></span></span>, then the microstates of many distinguishable particles live on the <a href="https://en.wikipedia.org/wiki/Tensor_algebra" target="_blank" rel="external">tensor algebra</a> <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>T</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi mathvariant="script">H</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc T{\mcal H}</annotation></semantics></math></span></span>; those of many bosons live on the <a href="https://en.wikipedia.org/wiki/Symmetric_algebra" target="_blank" rel="external">symmetric algebra</a> <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>S</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi mathvariant="script">H</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc S{\mcal H}</annotation></semantics></math></span></span>; and those of many fermions live on the <a href="https://en.wikipedia.org/wiki/Exterior_algebra" target="_blank" rel="external">exterior algebra</a> <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo>⋀</mo><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi mathvariant="script">H</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc\bigwedge{\mcal H}</annotation></semantics></math></span></span>. Those spaces are called Fock spaces. They are naturally <a href="https://en.wikipedia.org/wiki/Graded_ring#Graded_algebra" target="_blank" rel="external">graded</a>, so the particle number operator can be defined by defining the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi></mrow><annotation encoding="application/x-tex">N</annotation></semantics></math></span></span>-grade subspace of the Fock space to be the eigenspace associated with the eigenvalue <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi></mrow><annotation encoding="application/x-tex">N</annotation></semantics></math></span></span>.</p>
<p>Taking ideas from the Fock basis in quantum mechanics, we can similarly discuss those different kinds of particles in classical statistical mechanics. If the microstates of each particle are <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">M</mi></mrow><annotation encoding="application/x-tex">\mcal M</annotation></semantics></math></span></span>, then the microstates of many distinguishable particles are tuples <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mo>⋃</mo><mrow><mi>N</mi><mo>∈</mo><mi mathvariant="double-struck">N</mi></mrow></msub><msup><mi mathvariant="script">M</mi><mi>N</mi></msup></mrow><annotation encoding="application/x-tex">\bigcup_{N\in\bN}\mcal M^N</annotation></semantics></math></span></span>; those of many bosons are finite <a href="https://en.wikipedia.org/wiki/Multiset#Basic_properties_and_operations" target="_blank" rel="external">multisets</a> in the universe <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">M</mi></mrow><annotation encoding="application/x-tex">\mcal M</annotation></semantics></math></span></span>, i.e., <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">{</mo><mi>m</mi><mo>:</mo><mi mathvariant="script">M</mi><mo>→</mo><mi mathvariant="double-struck">N</mi><mtext>  </mtext><mo fence="true" lspace="0.05em" rspace="0.05em">|</mo><mtext>  </mtext><mo>∑</mo><mi>m</mi><mo>&lt;</mo><mi mathvariant="normal">∞</mi><mo fence="true">}</mo></mrow><annotation encoding="application/x-tex">\set{m:\mcal M\to\bN}{\sum m&lt;\infty}</annotation></semantics></math></span></span>; and those of many fermions are finite subsets of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">M</mi></mrow><annotation encoding="application/x-tex">\mcal M</annotation></semantics></math></span></span>, i.e., <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi mathvariant="script">P</mi><mrow><mo>&lt;</mo><msub><mi mathvariant="normal">ℵ</mi><mn>0</mn></msub></mrow></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi mathvariant="script">M</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc{\mcal P_{&lt;\aleph_0}}{\mcal M}</annotation></semantics></math></span></span>. Those concepts, namely tuple, multiset, and set, are actually common mathematical constructs used in combinatorics. They all have a natural notion of size, which we define the number of particles to be.</p>
<p>I previously stated that there is an equivalence between quantum and classical statistical mechanics. Here, necessarily for the equivalence to hold, the dimension of the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi></mrow><annotation encoding="application/x-tex">N</annotation></semantics></math></span></span>-particle subspace in the Fock space (when it is finite) must be the same as the cardinality of the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi></mrow><annotation encoding="application/x-tex">N</annotation></semantics></math></span></span>-particle microstates in the classical case, and this is indeed the case. Assume that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>dim</mi><mo>⁡</mo><mi mathvariant="script">H</mi><mo>=</mo><mi mathvariant="normal">card</mi><mo>⁡</mo><mi mathvariant="script">M</mi><mo>=</mo><mi>M</mi></mrow><annotation encoding="application/x-tex">\dim\mcal H=\card\mcal M=M</annotation></semantics></math></span></span>, then both the dimension of the subspace of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi></mrow><annotation encoding="application/x-tex">N</annotation></semantics></math></span></span> distinguishable particles and the number of classical microstates of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi></mrow><annotation encoding="application/x-tex">N</annotation></semantics></math></span></span> distinguishable particles are <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>M</mi><mi>N</mi></msup></mrow><annotation encoding="application/x-tex">M^N</annotation></semantics></math></span></span>. This number for bosons is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>M</mi><mover accent="true"><mi>N</mi><mo stretchy="true">‾</mo></mover></msup><mi mathvariant="normal">/</mi><mi>N</mi><mo stretchy="false">!</mo></mrow><annotation encoding="application/x-tex">M^{\overline N}/N!</annotation></semantics></math></span></span>, and that for fermions is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>M</mi><munder accentunder="true"><mi>N</mi><mo stretchy="true">‾</mo></munder></msup><mi mathvariant="normal">/</mi><mi>N</mi><mo stretchy="false">!</mo></mrow><annotation encoding="application/x-tex">M^{\underline N}/N!</annotation></semantics></math></span></span>, where <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msup><mi>M</mi><mover accent="true"><mi>N</mi><mo stretchy="true">‾</mo></mover></msup><mo><mi mathvariant="normal">≔</mi></mo><munder><mo>∏</mo><mrow><mi>M</mi><mo>≤</mo><mi>k</mi><mo>&lt;</mo><mi>M</mi><mo>+</mo><mi>N</mi></mrow></munder><mi>k</mi><mo separator="true">,</mo><mspace width="1em"/><msup><mi>M</mi><munder accentunder="true"><mi>N</mi><mo stretchy="true">‾</mo></munder></msup><mo><mi mathvariant="normal">≔</mi></mo><munder><mo>∏</mo><mrow><mi>M</mi><mo>−</mo><mi>N</mi><mo>&lt;</mo><mi>k</mi><mo>≤</mo><mi>M</mi></mrow></munder><mi>k</mi></mrow><annotation encoding="application/x-tex">M^{\overline N}\ceq\prod_{M\le k&lt;M+N}k,\quad
M^{\underline N}\ceq\prod_{M-N&lt;k\le M}k</annotation></semantics></math></span></span></span> are called the rising factorial power and the falling factorial power respectively. These are the number of ways to put <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi></mrow><annotation encoding="application/x-tex">N</annotation></semantics></math></span></span> balls into <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>M</mi></mrow><annotation encoding="application/x-tex">M</annotation></semantics></math></span></span> boxes under three different rules.</p>
<p>Here is a summary table:</p>
<table>
<thead>
<tr>
<th/>
<th>Distinguishable</th>
<th>Bosons</th>
<th>Fermions</th>
</tr>
</thead>
<tbody>
<tr>
<td>Quantum</td>
<td>Tensor algebra</td>
<td>Symmetric algebra</td>
<td>Exterior algebra</td>
</tr>
<tr>
<td>Classical</td>
<td>Tuple</td>
<td>Multiset</td>
<td>Set</td>
</tr>
<tr>
<td>Number</td>
<td><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>M</mi><mi>N</mi></msup></mrow><annotation encoding="application/x-tex">M^N</annotation></semantics></math></span></span></td>
<td><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>M</mi><mover accent="true"><mi>N</mi><mo stretchy="true">‾</mo></mover></msup><mi mathvariant="normal">/</mi><mi>N</mi><mo stretchy="false">!</mo></mrow><annotation encoding="application/x-tex">M^{\overline N}/N!</annotation></semantics></math></span></span></td>
<td><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>M</mi><munder accentunder="true"><mi>N</mi><mo stretchy="true">‾</mo></munder></msup><mi mathvariant="normal">/</mi><mi>N</mi><mo stretchy="false">!</mo></mrow><annotation encoding="application/x-tex">M^{\underline N}/N!</annotation></semantics></math></span></span></td>
</tr>
</tbody>
</table>
<details>
<summary>
Labels on distinguishable particles
</summary>
<p>To explain this, I may actually need to explain the mathematical definition of a tuple. My personal favorite definition of a tuple is nested ordered pairs, with <a href="https://en.wikipedia.org/wiki/Ordered_pair#Kuratowski's_definition" target="_blank" rel="external">Kuratowski’s definition</a> of an ordered pair. However, for the purpose of this illustration, I will use another definition, which defines a tuple as a function from a finite <a href="https://en.wikipedia.org/wiki/Ordinal_number#Von_Neumann_definition_of_ordinals" target="_blank" rel="external">von Neumann ordinal</a> to the set of elements (<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">M</mi></mrow><annotation encoding="application/x-tex">\mcal M</annotation></semantics></math></span></span> in this case), and a function is defined using its <a href="https://en.wikipedia.org/wiki/Graph_of_a_function" target="_blank" rel="external">graph</a>. There is a notational advantage of this definition in that, if we also define natural numbers as von Neumann ordinals (which is a common practice in set theory), it unifies the notation of the Cartesian power and the set of functions (in other words, we can identify <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="script">M</mi><mi>N</mi></msup></mrow><annotation encoding="application/x-tex">\mcal M^N</annotation></semantics></math></span></span> with <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi><mo>→</mo><mi mathvariant="script">M</mi></mrow><annotation encoding="application/x-tex">N\to\mcal M</annotation></semantics></math></span></span>).</p>
<p>With this definition, we can see that a microstate of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi></mrow><annotation encoding="application/x-tex">N</annotation></semantics></math></span></span> distinguishable particles is a function from their labels to the single-particle microstates, and the labels are always the first <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi></mrow><annotation encoding="application/x-tex">N</annotation></semantics></math></span></span> natural numbers. The point is that, if a particle is removed or added, the labels will be rearranged so that the labels are always the first <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi></mrow><annotation encoding="application/x-tex">N</annotation></semantics></math></span></span> natural numbers.</p>
<p>This should concern you in that the operation of rearranging labels makes each label no longer unique to each particle. For example, say, initially, the system has two particles with labels <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>0</mn></mrow><annotation encoding="application/x-tex">0</annotation></semantics></math></span></span> and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>1</mn></mrow><annotation encoding="application/x-tex">1</annotation></semantics></math></span></span>, and they are in single-particle microstates <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>m</mi><mn>0</mn></msub></mrow><annotation encoding="application/x-tex">m_0</annotation></semantics></math></span></span> and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>m</mi><mn>1</mn></msub></mrow><annotation encoding="application/x-tex">m_1</annotation></semantics></math></span></span> respectively. It is then allowed to exchange particles with a bath. If particle <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>1</mn></mrow><annotation encoding="application/x-tex">1</annotation></semantics></math></span></span> moves from the system to the bath while another particle from the bath moves to the system, then the two particles in the system after the exchange will still have labels <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>0</mn></mrow><annotation encoding="application/x-tex">0</annotation></semantics></math></span></span> and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>1</mn></mrow><annotation encoding="application/x-tex">1</annotation></semantics></math></span></span>, but they are not the same particles as before. Namely, particle <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>1</mn></mrow><annotation encoding="application/x-tex">1</annotation></semantics></math></span></span> is not the same particle <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>1</mn></mrow><annotation encoding="application/x-tex">1</annotation></semantics></math></span></span> as before. If the two new partcicles are in single-particle microstates <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>m</mi><mn>0</mn></msub></mrow><annotation encoding="application/x-tex">m_0</annotation></semantics></math></span></span> and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>m</mi><mn>1</mn></msub></mrow><annotation encoding="application/x-tex">m_1</annotation></semantics></math></span></span> respectively just as before, then this new state will be regarded as the same state as the initial state, which should not be true because the particles are different from before.</p>
<p>Therefore, to avoid the subtlety of the labels, maybe it is better to consider microstates of many distinguishable particles directly as functions from the set of particles to the single-particle microstates, without attaching labels to the particles. However, this means that as long as the system is allowed to exchange particles with a bath, which, by definition, has a large number of particles compared to the system, the number of microstates in the system will be drastically increased. It would then be impossible to use the grand canonical ensemble to describe the system because you will find that the average number of particles in the system would depend on the number of particles in the bath, which is very absurd.</p>
<p>From this, we can see that the idea that every particle is distinguishable is inherently flawed, i.e., it can only be self-consistent with the unphysical operation of rearranging labels. This hints that, either the <em>a priori</em> probability principle is not applicable in this case, or there are only a few distinguishable types of particles in any practical cases.</p>
</details>
<h2 data-label="0.3" id="gibbs-factor-and-entropy">Gibbs factor and entropy</h2>
<p>Gibbs put the famous factor of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>1</mn><mi mathvariant="normal">/</mi><mi>N</mi><mo stretchy="false">!</mo></mrow><annotation encoding="application/x-tex">1/N!</annotation></semantics></math></span></span> in front of the phase space integral of the ideal gas to make the entropy asymptotically linear in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi></mrow><annotation encoding="application/x-tex">N</annotation></semantics></math></span></span>. People often interpret this as accounting for the indistinguishability of particles so that the result of classical treatment can match with the quantum treatment.</p>
<p>Actually, the effect of the Gibbs factor may not be as important as you imagined. In the microcanonical and the canonical ensemble, the Gibbs factor is just an overall factor for the partition function. The only effect is that the chemical potential would not be intensive and that the entropy would not be extensive without it, but there is no actual physical consequence of this because we cannot measure the entropy and the chemical potential in experiments anyway. In the grand canonical ensemble, the distribution of the number of particles is expected to be different with or without the Gibbs factor. However, at least for the ideal gas example (or more generally, for models with a quadratic Hamiltonian), the equipartition theorem and the ideal gas law would still hold without the Gibbs factor. Consider the grand canonical partition function of the ideal gas, whether we include the Gibbs factor or not: <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mi mathvariant="normal">Ξ</mi><mn>1</mn></msub><mo><mi mathvariant="normal">≔</mi></mo><munder><mo>∑</mo><mi>N</mi></munder><mfrac><mn>1</mn><mrow><mi>N</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mfrac><mrow><msup><mi mathvariant="normal">e</mi><mrow><mi>β</mi><mi>μ</mi></mrow></msup><mi>V</mi></mrow><msup><mi>λ</mi><mi>d</mi></msup></mfrac><mo fence="true">)</mo></mrow><mi>N</mi></msup><mo separator="true">,</mo><mspace width="1em"/><msub><mi mathvariant="normal">Ξ</mi><mn>2</mn></msub><mo><mi mathvariant="normal">≔</mi></mo><munder><mo>∑</mo><mi>N</mi></munder><msup><mrow><mo fence="true">(</mo><mfrac><mrow><msup><mi mathvariant="normal">e</mi><mrow><mi>β</mi><mi>μ</mi></mrow></msup><mi>V</mi></mrow><msup><mi>λ</mi><mi>d</mi></msup></mfrac><mo fence="true">)</mo></mrow><mi>N</mi></msup><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\Xi_1\ceq\sum_N\fr1{N!}\p{\fr{\e^{\beta\mu}V}{\lmd^d}}^N,\quad
\Xi_2\ceq\sum_N\p{\fr{\e^{\beta\mu}V}{\lmd^d}}^N,</annotation></semantics></math></span></span></span> where
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>λ</mi><mo><mi mathvariant="normal">≔</mi></mo><msqrt><mrow><mi>β</mi><msup><mi>h</mi><mn>2</mn></msup><mi mathvariant="normal">/</mi><mn>2</mn><mi>π</mi><mi>m</mi></mrow></msqrt></mrow><annotation encoding="application/x-tex">\lmd\ceq\sqrt{\beta h^2/2\pi m}</annotation></semantics></math></span></span>. If you spend the time to actually do the calculation, you can get the desired <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>p</mi><mi>V</mi><mo>=</mo><mrow><mo fence="true">⟨</mo><mi>N</mi><mo fence="true">⟩</mo></mrow><mi mathvariant="normal">/</mi><mi>β</mi></mrow><annotation encoding="application/x-tex">pV=\a N/\beta</annotation></semantics></math></span></span> and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mrow><mo fence="true">⟨</mo><mi>E</mi><mo fence="true">⟩</mo></mrow><mo>=</mo><mi>d</mi><mrow><mo fence="true">⟨</mo><mi>N</mi><mo fence="true">⟩</mo></mrow><mi mathvariant="normal">/</mi><mn>2</mn><mi>β</mi></mrow><annotation encoding="application/x-tex">\a E=d\a N/2\beta</annotation></semantics></math></span></span>, whether you include the Gibbs factor or not. The entropy and the chemical potential would indeed change drastically with the introduction of the Gibbs factor, but they are not actually measurable quantities in experiments.</p>
<details>
<summary>
In case you feel this too magical
</summary>
<p>Let’s do this calculation. The calculation with <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi mathvariant="normal">Ξ</mi><mn>1</mn></msub></mrow><annotation encoding="application/x-tex">\Xi_1</annotation></semantics></math></span></span> is standard on textbooks, so I will skip it. For <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi mathvariant="normal">Ξ</mi><mn>2</mn></msub></mrow><annotation encoding="application/x-tex">\Xi_2</annotation></semantics></math></span></span>, we have <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mi mathvariant="normal">Ξ</mi><mn>2</mn></msub><mo>=</mo><mfrac><mn>1</mn><mrow><mn>1</mn><mo>−</mo><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>α</mi></mrow></msup><mi>V</mi><mi mathvariant="normal">/</mi><msup><mi>λ</mi><mi>d</mi></msup></mrow></mfrac><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\Xi_2=\fr1{1-\e^{-\alp}V/\lmd^d},</annotation></semantics></math></span></span></span> where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>α</mi><mo><mi mathvariant="normal">≔</mi></mo><mo>−</mo><mi>β</mi><mi>μ</mi></mrow><annotation encoding="application/x-tex">\alp\ceq-\beta\mu</annotation></semantics></math></span></span>. Notice that there is a condition for this convergence, but it does not matter because we only need to consider those <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>α</mi></mrow><annotation encoding="application/x-tex">\alp</annotation></semantics></math></span></span> values that make it converge. Then, <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mrow><mo fence="true">⟨</mo><mi>N</mi><mo fence="true">⟩</mo></mrow><mo>=</mo><mo>−</mo><mfrac><mi mathvariant="normal">∂</mi><mrow><mi mathvariant="normal">∂</mi><mi>α</mi></mrow></mfrac><mi>ln</mi><mo>⁡</mo><msub><mi mathvariant="normal">Ξ</mi><mn>2</mn></msub><mo>=</mo><mfrac><mrow><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>α</mi></mrow></msup><mi>V</mi><mi mathvariant="normal">/</mi><msup><mi>λ</mi><mi>d</mi></msup></mrow><mrow><mn>1</mn><mo>−</mo><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>α</mi></mrow></msup><mi>V</mi><mi mathvariant="normal">/</mi><msup><mi>λ</mi><mi>d</mi></msup></mrow></mfrac><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\a N=-\fr{\partial}{\partial\alp}\ln\Xi_2
=\fr{\e^{-\alp}V/\lmd^d}{1-\e^{-\alp}V/\lmd^d},</annotation></semantics></math></span></span></span> <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mrow><mo fence="true">⟨</mo><mi>E</mi><mo fence="true">⟩</mo></mrow><mo>=</mo><mo>−</mo><mfrac><mi mathvariant="normal">∂</mi><mrow><mi mathvariant="normal">∂</mi><mi>β</mi></mrow></mfrac><mi>ln</mi><mo>⁡</mo><msub><mi mathvariant="normal">Ξ</mi><mn>2</mn></msub><mo>=</mo><mfrac><mi>d</mi><mrow><mn>2</mn><mi>β</mi></mrow></mfrac><mfrac><mrow><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>α</mi></mrow></msup><mi>V</mi><mi mathvariant="normal">/</mi><msup><mi>λ</mi><mi>d</mi></msup></mrow><mrow><mn>1</mn><mo>−</mo><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>α</mi></mrow></msup><mi>V</mi><mi mathvariant="normal">/</mi><msup><mi>λ</mi><mi>d</mi></msup></mrow></mfrac><mo>=</mo><mfrac><mi>d</mi><mrow><mn>2</mn><mi>β</mi></mrow></mfrac><mrow><mo fence="true">⟨</mo><mi>N</mi><mo fence="true">⟩</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\a E=-\fr{\partial}{\partial\beta}\ln\Xi_2
=\fr d{2\beta}\fr{\e^{-\alp}V/\lmd^d}{1-\e^{-\alp}V/\lmd^d}
=\fr d{2\beta}\a N.</annotation></semantics></math></span></span></span> Therefore, it works out. You may have noticed that the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">⟨</mo><mi>N</mi><mo fence="true">⟩</mo></mrow><annotation encoding="application/x-tex">\a N</annotation></semantics></math></span></span> and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">⟨</mo><mi>E</mi><mo fence="true">⟩</mo></mrow><annotation encoding="application/x-tex">\a E</annotation></semantics></math></span></span> do not seem to be proportional to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>V</mi></mrow><annotation encoding="application/x-tex">V</annotation></semantics></math></span></span>, but it is fine because
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>α</mi></mrow><annotation encoding="application/x-tex">\alp</annotation></semantics></math></span></span> is not intensive. Now, for the ideal gas law, we have <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi>p</mi><mo>=</mo><mfrac><mn>1</mn><mi>β</mi></mfrac><mfrac><mi mathvariant="normal">∂</mi><mrow><mi mathvariant="normal">∂</mi><mi>V</mi></mrow></mfrac><mi>ln</mi><mo>⁡</mo><msub><mi mathvariant="normal">Ξ</mi><mn>2</mn></msub><mo>=</mo><mfrac><mn>1</mn><mi>β</mi></mfrac><mfrac><mrow><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>α</mi></mrow></msup><mi mathvariant="normal">/</mi><msup><mi>λ</mi><mi>d</mi></msup></mrow><mrow><mn>1</mn><mo>−</mo><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>α</mi></mrow></msup><mi>V</mi><mi mathvariant="normal">/</mi><msup><mi>λ</mi><mi>d</mi></msup></mrow></mfrac><mo>=</mo><mfrac><mrow><mo fence="true">⟨</mo><mi>N</mi><mo fence="true">⟩</mo></mrow><mrow><mi>β</mi><mi>V</mi></mrow></mfrac><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">p=\fr1\beta\fr{\partial}{\partial V}\ln\Xi_2
=\fr1\beta\fr{\e^{-\alp}/\lmd^d}{1-\e^{-\alp}V/\lmd^d}
=\fr{\a N}{\beta V}.</annotation></semantics></math></span></span></span> Therefore, it works out.</p>
<p>In fact, you can multiply the summand by any (sensible) function of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi></mrow><annotation encoding="application/x-tex">N</annotation></semantics></math></span></span> without spoiling these state equations, but it is specific to the ideal gas. The reason behind this is because of the strict extensivity of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>E</mi></mrow><annotation encoding="application/x-tex">E</annotation></semantics></math></span></span> and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi></mrow><annotation encoding="application/x-tex">N</annotation></semantics></math></span></span>.</p>
<p>Let’s just consider the general case for now. Assume that the canonical partition function is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>N</mi><mo fence="true">)</mo></mrow><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>β</mi><mo separator="true">,</mo><mi>N</mi><mo separator="true">,</mo><mi>V</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc fN\fc Z{\beta,N,V}</annotation></semantics></math></span></span>, where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>N</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc fN</annotation></semantics></math></span></span> is the Gibbs factor, which can actually be any non-trivial function you like. Then, the average energy in the canonical ensemble is <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mrow><mo fence="true">⟨</mo><mi>E</mi><mo fence="true">⟩</mo></mrow><mi>Z</mi></msub><mo>=</mo><mo>−</mo><mfrac><mi mathvariant="normal">∂</mi><mrow><mi mathvariant="normal">∂</mi><mi>β</mi></mrow></mfrac><mi>ln</mi><mo>⁡</mo><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>N</mi><mo fence="true">)</mo></mrow><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>β</mi><mo separator="true">,</mo><mi>N</mi><mo separator="true">,</mo><mi>V</mi><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo>=</mo><mo>−</mo><mfrac><mn>1</mn><mrow><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>β</mi><mo separator="true">,</mo><mi>N</mi><mo separator="true">,</mo><mi>V</mi><mo fence="true">)</mo></mrow></mrow></mfrac><mfrac><mi mathvariant="normal">∂</mi><mrow><mi mathvariant="normal">∂</mi><mi>β</mi></mrow></mfrac><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>β</mi><mo separator="true">,</mo><mi>N</mi><mo separator="true">,</mo><mi>V</mi><mo fence="true">)</mo></mrow><mo>=</mo><mi>u</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>β</mi><mo separator="true">,</mo><mi>N</mi><mi mathvariant="normal">/</mi><mi>V</mi><mo fence="true">)</mo></mrow><mi>N</mi><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\a E_Z=-\fr{\partial}{\partial\beta}\fc\ln{\fc fN\fc Z{\beta,N,V}}
=-\fr1{\fc Z{\beta,N,V}}\fr{\partial}{\partial\beta}\fc Z{\beta,N,V}
=\fc u{\beta,N/V}N,</annotation></semantics></math></span></span></span> where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>u</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>β</mi><mo separator="true">,</mo><mi>N</mi><mi mathvariant="normal">/</mi><mi>V</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc u{\beta,N/V}</annotation></semantics></math></span></span> cannot depend on any extensive quantities (here, the only things that it can depend on are the temperature <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>β</mi></mrow><annotation encoding="application/x-tex">\beta</annotation></semantics></math></span></span> and the particle number density
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi><mi mathvariant="normal">/</mi><mi>V</mi></mrow><annotation encoding="application/x-tex">N/V</annotation></semantics></math></span></span>). The last step is because both <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>E</mi></mrow><annotation encoding="application/x-tex">E</annotation></semantics></math></span></span> and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi></mrow><annotation encoding="application/x-tex">N</annotation></semantics></math></span></span> are extensive quantities (so they must be proportional to each other). Notice that this requires the thermodynamic limit unless we are considering the ideal gas, where the extensivity is exact. Therefore, <span id="eq:partial-z" data-label="(1)"><span class="katex-display-table"> <span class="katex-display-numbered"><span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mfrac><mi mathvariant="normal">∂</mi><mrow><mi mathvariant="normal">∂</mi><mi>β</mi></mrow></mfrac><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>β</mi><mo separator="true">,</mo><mi>N</mi><mo separator="true">,</mo><mi>V</mi><mo fence="true">)</mo></mrow><mo>=</mo><mo>−</mo><mi>u</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>β</mi><mo separator="true">,</mo><mi>N</mi><mi mathvariant="normal">/</mi><mi>V</mi><mo fence="true">)</mo></mrow><mi>N</mi><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>β</mi><mo separator="true">,</mo><mi>N</mi><mo separator="true">,</mo><mi>V</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\fr{\partial}{\partial\beta}\fc Z{\beta,N,V}=-\fc u{\beta,N/V}N\fc Z{\beta,N,V}.</annotation></semantics></math></span></span></span></span> <span class="katex-display-number"><span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(1)</annotation></semantics></math></span></span></span></span> </span></span></p>
<p>Particularly, for ideal gases, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>u</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>β</mi><mo separator="true">,</mo><mi>N</mi><mi mathvariant="normal">/</mi><mi>V</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc u{\beta,N/V}</annotation></semantics></math></span></span> only depends on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>β</mi></mrow><annotation encoding="application/x-tex">\beta</annotation></semantics></math></span></span>, with no <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi><mi mathvariant="normal">/</mi><mi>V</mi></mrow><annotation encoding="application/x-tex">N/V</annotation></semantics></math></span></span> dependence. For more general cases, it is reasonable to assume that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>u</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>β</mi><mo separator="true">,</mo><mi>n</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc u{\beta,n}</annotation></semantics></math></span></span> can be expanded in a power series of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi></mrow><annotation encoding="application/x-tex">n</annotation></semantics></math></span></span>: <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi>u</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>β</mi><mo separator="true">,</mo><mi>n</mi><mo fence="true">)</mo></mrow><mo>=</mo><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></munderover><msub><mi>u</mi><mi>k</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>β</mi><mo fence="true">)</mo></mrow><msup><mi>n</mi><mi>k</mi></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\fc u{\beta,n}=\sum_{k=0}^\infty\fc{u_k}\beta n^k.</annotation></semantics></math></span></span></span></p>
<p>Then, let’s define the grand canonical partition function to be <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi mathvariant="normal">Ξ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>β</mi><mo separator="true">,</mo><mi>α</mi><mo separator="true">,</mo><mi>V</mi><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><munder><mo>∑</mo><mi>N</mi></munder><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>N</mi><mo fence="true">)</mo></mrow><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>β</mi><mo separator="true">,</mo><mi>N</mi><mo separator="true">,</mo><mi>V</mi><mo fence="true">)</mo></mrow><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>α</mi><mi>N</mi></mrow></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\fc\Xi{\beta,\alp,V}\ceq\sum_N\fc fN\fc Z{\beta,N,V}\e^{-\alp N}.</annotation></semantics></math></span></span></span> Then, the average energy in the grand canonical ensemble is <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mrow><mo fence="true">⟨</mo><mi>E</mi><mo fence="true">⟩</mo></mrow><mi mathvariant="normal">Ξ</mi></msub><mo>=</mo><mo>−</mo><mfrac><mi mathvariant="normal">∂</mi><mrow><mi mathvariant="normal">∂</mi><mi>β</mi></mrow></mfrac><mi>ln</mi><mo>⁡</mo><mi mathvariant="normal">Ξ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>β</mi><mo separator="true">,</mo><mi>α</mi><mo separator="true">,</mo><mi>V</mi><mo fence="true">)</mo></mrow><mo>=</mo><mo>−</mo><mfrac><mn>1</mn><mrow><mi mathvariant="normal">Ξ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>β</mi><mo separator="true">,</mo><mi>α</mi><mo separator="true">,</mo><mi>V</mi><mo fence="true">)</mo></mrow></mrow></mfrac><munder><mo>∑</mo><mi>N</mi></munder><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>N</mi><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">∂</mi><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>β</mi><mo separator="true">,</mo><mi>N</mi><mo separator="true">,</mo><mi>V</mi><mo fence="true">)</mo></mrow></mrow><mrow><mi mathvariant="normal">∂</mi><mi>β</mi></mrow></mfrac><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>α</mi><mi>N</mi></mrow></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\a E_\Xi=-\fr{\partial}{\partial\beta}\ln\fc\Xi{\beta,\alp,V}
=-\fr1{\fc\Xi{\beta,\alp,V}}\sum_N\fc fN\fr{\partial\fc Z{\beta,N,V}}{\partial\beta}\e^{-\alp N}.</annotation></semantics></math></span></span></span> Substitute Equation <a href="#eq:partial-z">1</a>, and then we get
<span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mrow><mo fence="true">⟨</mo><mi>E</mi><mo fence="true">⟩</mo></mrow><mi mathvariant="normal">Ξ</mi></msub><mo>=</mo><munder><mo>∑</mo><mi>k</mi></munder><mfrac><mrow><msub><mi>u</mi><mi>k</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>β</mi><mo fence="true">)</mo></mrow></mrow><msup><mi>V</mi><mi>k</mi></msup></mfrac><msub><mrow><mo fence="true">⟨</mo><msup><mi>N</mi><mrow><mi>k</mi><mo>+</mo><mn>1</mn></mrow></msup><mo fence="true">⟩</mo></mrow><mi mathvariant="normal">Ξ</mi></msub><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\a E_\Xi=\sum_k\fr{\fc{u_k}\beta}{V^k}\a{N^{k+1}}_\Xi.</annotation></semantics></math></span></span></span> For ideal gas, only the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">k=0</annotation></semantics></math></span></span> term is nonzero, so we recover <span id="eq:grand-canonical-energy" data-label="(2)"><span class="katex-display-table"> <span class="katex-display-numbered"><span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mrow><mo fence="true">⟨</mo><mi>E</mi><mo fence="true">⟩</mo></mrow><mi mathvariant="normal">Ξ</mi></msub><mo>=</mo><mi>u</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>β</mi><mo separator="true">,</mo><msub><mrow><mo fence="true">⟨</mo><mi>N</mi><mo fence="true">⟩</mo></mrow><mi mathvariant="normal">Ξ</mi></msub><mi mathvariant="normal">/</mi><mi>V</mi><mo fence="true">)</mo></mrow><msub><mrow><mo fence="true">⟨</mo><mi>N</mi><mo fence="true">⟩</mo></mrow><mi mathvariant="normal">Ξ</mi></msub><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\a E_\Xi=\fc u{\beta,\a N_\Xi/V}\a N_\Xi.</annotation></semantics></math></span></span></span></span> <span class="katex-display-number"><span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(2)</annotation></semantics></math></span></span></span></span> </span></span> For more general case, for this to be true, we need to require that <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mfrac><msub><mrow><mo fence="true">⟨</mo><msup><mi>N</mi><mi>k</mi></msup><mo fence="true">⟩</mo></mrow><mi mathvariant="normal">Ξ</mi></msub><msubsup><mrow><mo fence="true">⟨</mo><mi>N</mi><mo fence="true">⟩</mo></mrow><mi mathvariant="normal">Ξ</mi><mi>k</mi></msubsup></mfrac><mo>→</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">\fr{\a{N^k}_\Xi}{\a{N}^k_\Xi}\to1</annotation></semantics></math></span></span></span> in the thermodynamic limit. However, this is not true for a general <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>N</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc fN</annotation></semantics></math></span></span>. In fact, it is not true already for the
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi mathvariant="normal">Ξ</mi><mn>2</mn></msub></mrow><annotation encoding="application/x-tex">\Xi_2</annotation></semantics></math></span></span> example above, which can be easily shown for <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi><mo>=</mo><mn>2</mn></mrow><annotation encoding="application/x-tex">k=2</annotation></semantics></math></span></span>. Notice that <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mfrac><mrow><msub><mrow><mo fence="true">⟨</mo><msup><mi>N</mi><mn>2</mn></msup><mo fence="true">⟩</mo></mrow><msub><mi mathvariant="normal">Ξ</mi><mn>2</mn></msub></msub><mo>−</mo><msubsup><mrow><mo fence="true">⟨</mo><mi>N</mi><mo fence="true">⟩</mo></mrow><msub><mi mathvariant="normal">Ξ</mi><mn>2</mn></msub><mn>2</mn></msubsup></mrow><msubsup><mrow><mo fence="true">⟨</mo><mi>N</mi><mo fence="true">⟩</mo></mrow><msub><mi mathvariant="normal">Ξ</mi><mn>2</mn></msub><mn>2</mn></msubsup></mfrac><mo>=</mo><mfrac><mrow><mfrac><msup><mi mathvariant="normal">∂</mi><mn>2</mn></msup><mrow><mi mathvariant="normal">∂</mi><msup><mi>α</mi><mn>2</mn></msup></mrow></mfrac><mi>ln</mi><mo>⁡</mo><msub><mi mathvariant="normal">Ξ</mi><mn>2</mn></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>β</mi><mo separator="true">,</mo><mi>α</mi><mo separator="true">,</mo><mi>V</mi><mo fence="true">)</mo></mrow></mrow><msup><mrow><mo fence="true">(</mo><mfrac><mi mathvariant="normal">∂</mi><mrow><mi mathvariant="normal">∂</mi><mi>α</mi></mrow></mfrac><mi>ln</mi><mo>⁡</mo><msub><mi mathvariant="normal">Ξ</mi><mn>2</mn></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>β</mi><mo separator="true">,</mo><mi>α</mi><mo separator="true">,</mo><mi>V</mi><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mn>2</mn></msup></mfrac><mo>=</mo><mfrac><mn>1</mn><mrow><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>α</mi></mrow></msup><mi>V</mi><mi mathvariant="normal">/</mi><msup><mi>λ</mi><mi>d</mi></msup></mrow></mfrac><mo>=</mo><mn>1</mn><mo>+</mo><mfrac><mn>1</mn><msub><mrow><mo fence="true">⟨</mo><mi>N</mi><mo fence="true">⟩</mo></mrow><msub><mi mathvariant="normal">Ξ</mi><mn>2</mn></msub></msub></mfrac><mo>→</mo><mn>1.</mn></mrow><annotation encoding="application/x-tex">\fr{\a{N^2}_{\Xi_2}-\a N_{\Xi_2}^2}{\a N_{\Xi_2}^2}
=\fr{\fr{\partial^2}{\partial\alp^2}\ln\fc{\Xi_2}{\beta,\alp,V}}{\p{\fr{\partial}{\partial\alp}\ln\fc{\Xi_2}{\beta,\alp,V}}^2}
=\fr1{\e^{-\alp}V/\lmd^d}=1+\fr1{\a N_{\Xi_2}}\to1.</annotation></semantics></math></span></span></span>
Therefore, <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mfrac><msub><mrow><mo fence="true">⟨</mo><msup><mi>N</mi><mn>2</mn></msup><mo fence="true">⟩</mo></mrow><msub><mi mathvariant="normal">Ξ</mi><mn>2</mn></msub></msub><msubsup><mrow><mo fence="true">⟨</mo><mi>N</mi><mo fence="true">⟩</mo></mrow><msub><mi mathvariant="normal">Ξ</mi><mn>2</mn></msub><mn>2</mn></msubsup></mfrac><mo>→</mo><mn>2.</mn></mrow><annotation encoding="application/x-tex">\fr{\a{N^2}_{\Xi_2}}{\a N_{\Xi_2}^2}\to2.</annotation></semantics></math></span></span></span> This makes <a href="#eq:grand-canonical-energy">2</a> not true if <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>u</mi><mn>1</mn></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>β</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc{u_1}\beta</annotation></semantics></math></span></span> is non-trivial. The deeper reason behind this disagreement is that the extensivity of the characteristic functions (in this case, the Helmholtz energy and the grand potential) is required for the thermodynamic equivalence between different ensembles (in this case, the canonical ensemble and the grand canonical ensemble). I will cover this in more detail later in this article.</p>
</details>
<p>This then raises questions. Does the entropy have to be linear in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi></mrow><annotation encoding="application/x-tex">N</annotation></semantics></math></span></span>? In other words, does the entropy need to meet the traditional sense of extensivity? Does physics actually care about our definition of the entropy? The answer to these questions is actually no. The entropy is not something that we can directly measure in experiments, and there are some freedom in the definition of the entropy that does not affect any physical outcomes.</p>
<p>Now, recall that the Gibbs factor accounts for the indistinguishability of particles. This would mean that whether the particles are actually distinguishable or not does not matter the actual physics. Gas particles in real life may well be distinguishable. For example, chlorine has two stable isotopes that naturally occur with considerable abundance, and that does not make it substantially different from, say, fluorine, which has only one stable isotope. Maybe people will also find observable features in fluorine molecules that would make them distinguishable, who knows? That would not deny any of the experimentally tested thermodynamic theories that can be applied to fluorine today.</p>
<p>Therefore, the Gibbs factor should not be introduced in the sole purpose of accounting for the indistinguishability of particles. It is introduced to make the entropy traditionally extensive. However, as I already stated, it is not necessary for the actual physics, so why is it important to make the entropy extensive? The answer is that, otherwise, the free energy (be it the Helmholtz energy or the Gibbs energy) would not be extensive. The free energy measures the work that can be extracted from the system, and by this nature it must be extensive because energy is additive. Therefore, only when we define the entropy in a way such that it is extensive, can it possibly make the derived free energy be able to measure the extractable work.</p>
<p>Having the idea that the free energy measures the amount of work that can be extracted from the system, we would then think we are able to extract some work out of the process of mixing two distinguishable gases. This is because distinguishability gives rise to a mixing entropy, which is the whole reason why it makes the entropy fail to be traditionally extensive. On the other hand, as I stated, whether we regard the two gases distinguishable or not in theory, it does not matter the actual physics. However, the amount of work that can be extracted from the process of mixing two gases is very physical by any means. To resolve this, the take is that, if it is possible to extract work from mixing them in one’s theory, then it should also be possible to distinguish the gases in their theory. On the other hand, if the two gases are indistinguishable in one’s theory, then it is impossible to extract work from mixing them in their theory. Therefore, it actually does not matter whether the gases are “in reality” distinguishable or not, the theory would be able to make itself consistent. The texts about the <a href="https://en.wikipedia.org/wiki/Gibbs_paradox#Mixing_paradox" target="_blank" rel="external">mixing paradox</a> on Wikipedia explain this idea, which is a gist of the <a href="https://doi.org/10.1007/978-94-017-2219-3_1" target="_blank" rel="external">paper</a> (which unfortunately did not talk about the grand canonical ensemble in detail).</p>
<p>Another importance for the entropy to be extensive is that only then can different ensembles be thermodynamically equivalent. The thermodynamical equivalence is the property that the thermodynamic properties determined from the characteristic functions (e.g., entropy, Helmholtz energy, and grand potential) of different statistical ensembles are the same in the thermodynamic limit. This is not a sufficient condition, though, because we also need to require that the entropy is a concave function of the extensive quantities. There is a good <a href="https://doi.org/10.1007/s10955-015-1212-2" target="_blank" rel="external">paper</a> that explains the equivalence and nonequivalence of ensembles in detail, assuming the characteristic functions are always extensive. The main idea is that, for any statistical ensemble, the probability measure on the space of macrostates, parametrized by the particle number <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi></mrow><annotation encoding="application/x-tex">N</annotation></semantics></math></span></span>, satisfies the large deviation principle with the <a href="https://en.wikipedia.org/wiki/Rate_function" target="_blank" rel="external">rate function</a> being the characteristic function. With the concavity condition, using a generalization of <a href="https://en.wikipedia.org/wiki/Laplace%27s_method" target="_blank" rel="external">Laplace’s method</a>, it can then be proven that the characteristic functions of different ensembles are related as being the Legendre transform of each other.</p>
<details>
<summary>
Simplified sketch
</summary>
<p>I am writing this because before I read the paper, I independently came up with the same idea of using Laplace’s method to prove the equivalence of ensembles. I wrote it on <a href="https://www.zhihu.com/question/35706570/answer/3505430771" target="_blank" rel="external">Zhihu</a>, and here is a translation of it.</p>
<p>Assume that the extensive quantity of the system is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>E</mi></mrow><annotation encoding="application/x-tex">E</annotation></semantics></math></span></span> and that the corresponding intensive quantity is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>I</mi></mrow><annotation encoding="application/x-tex">I</annotation></semantics></math></span></span>. Suppose that the partition function of the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>E</mi></mrow><annotation encoding="application/x-tex">E</annotation></semantics></math></span></span>-ensemble is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">Ω</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>E</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc\Omg E</annotation></semantics></math></span></span>, and then the characteristic function of the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>E</mi></mrow><annotation encoding="application/x-tex">E</annotation></semantics></math></span></span>-ensemble would be <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>S</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>E</mi><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><mi>ln</mi><mo>⁡</mo><mi mathvariant="normal">Ω</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>E</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc SE\ceq\ln\fc\Omg E</annotation></semantics></math></span></span>, and we would have <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>I</mi><mo>=</mo><msup><mi>S</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>E</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">I=\fc{S'}E</annotation></semantics></math></span></span> (the prime denotes the derivative) in the thermal equilibrium state with fixed <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>E</mi></mrow><annotation encoding="application/x-tex">E</annotation></semantics></math></span></span>.</p>
<p>On the other hand, the partition function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>I</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc ZI</annotation></semantics></math></span></span> of the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>I</mi></mrow><annotation encoding="application/x-tex">I</annotation></semantics></math></span></span>-ensemble is the Laplace transform of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">Ω</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>E</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc\Omg E</annotation></semantics></math></span></span>: <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>I</mi><mo fence="true">)</mo></mrow><mo>=</mo><mo>∫</mo><mi mathvariant="normal">Ω</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>E</mi><mo fence="true">)</mo></mrow><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>I</mi><mi>E</mi></mrow></msup><mtext> </mtext><mi mathvariant="normal">d</mi><mi>E</mi><mo>=</mo><mo>∫</mo><msup><mi mathvariant="normal">e</mi><mrow><mi>S</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>E</mi><mo fence="true">)</mo></mrow><mo>−</mo><mi>I</mi><mi>E</mi></mrow></msup><mtext> </mtext><mi mathvariant="normal">d</mi><mi>E</mi><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\fc ZI=\int\fc\Omg E\e^{-IE}\,\d E
=\int\e^{\fc SE-IE}\,\d E.</annotation></semantics></math></span></span></span> We have the characteristic function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>F</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>I</mi><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>I</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc FI\ceq-\ln\fc ZI</annotation></semantics></math></span></span> of the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>I</mi></mrow><annotation encoding="application/x-tex">I</annotation></semantics></math></span></span>-ensemble, and we would have <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>E</mi><mo>=</mo><msup><mi>F</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>I</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">E=\fc{F'}I</annotation></semantics></math></span></span> in the thermal equilibrium state with fixed <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>I</mi></mrow><annotation encoding="application/x-tex">I</annotation></semantics></math></span></span>.</p>
<p>The question now is whether <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>I</mi><mo>=</mo><msup><mi>S</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>E</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">I=\fc{S'}E</annotation></semantics></math></span></span> and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>E</mi><mo>=</mo><msup><mi>F</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>I</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">E=\fc{F'}I</annotation></semantics></math></span></span> are actually the same equation. In other words, are <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>S</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup></mrow><annotation encoding="application/x-tex">S'</annotation></semantics></math></span></span> and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>F</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup></mrow><annotation encoding="application/x-tex">F'</annotation></semantics></math></span></span> inverse functions of each other? If they are, then we get the same results from the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>E</mi></mrow><annotation encoding="application/x-tex">E</annotation></semantics></math></span></span>-ensemble and the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>I</mi></mrow><annotation encoding="application/x-tex">I</annotation></semantics></math></span></span>-ensemble. Nevertheless, generally they are not. We just need one counterexample to show that: for system with a quadratic Hamiltonian, let <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>E</mi></mrow><annotation encoding="application/x-tex">E</annotation></semantics></math></span></span> be the energy, and then its corresponding intensive quantity <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>I</mi></mrow><annotation encoding="application/x-tex">I</annotation></semantics></math></span></span> is the inverse temperature (in this case, the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>E</mi></mrow><annotation encoding="application/x-tex">E</annotation></semantics></math></span></span>-ensemble is the microcanonical ensemble, and the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>I</mi></mrow><annotation encoding="application/x-tex">I</annotation></semantics></math></span></span>-ensemble is the canonical ensemble), and we have <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi mathvariant="normal">Ω</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>E</mi><mo fence="true">)</mo></mrow><mo>∝</mo><msup><mi>E</mi><mrow><mi>n</mi><mi mathvariant="normal">/</mi><mn>2</mn></mrow></msup><mo separator="true">,</mo><mspace width="1em"/><msup><mi>S</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>E</mi><mo fence="true">)</mo></mrow><mo>=</mo><mfrac><mrow><mi>n</mi><mi mathvariant="normal">/</mi><mn>2</mn></mrow><mi>E</mi></mfrac><mo separator="true">,</mo><mspace width="1em"/><msup><mi>F</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>I</mi><mo fence="true">)</mo></mrow><mo>=</mo><mfrac><mrow><mn>1</mn><mo>+</mo><mi>n</mi><mi mathvariant="normal">/</mi><mn>2</mn></mrow><mi>I</mi></mfrac><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\fc\Omg E\propto E^{n/2},\quad
\fc{S'}E=\fr{n/2}E,\quad
\fc{F'}I=\fr{1+n/2}I,</annotation></semantics></math></span></span></span> where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi></mrow><annotation encoding="application/x-tex">n</annotation></semantics></math></span></span> is the number of quadratic terms in the Hamiltonian (e.g., <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>=</mo><mn>3</mn><mi>N</mi></mrow><annotation encoding="application/x-tex">n=3N</annotation></semantics></math></span></span> for classical monatomic ideal gas).</p>
<p>However, we can see that, for the thermodynamic limit <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow><annotation encoding="application/x-tex">n\to\infty</annotation></semantics></math></span></span>, we indeed have <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>S</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup></mrow><annotation encoding="application/x-tex">S'</annotation></semantics></math></span></span> and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>F</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup></mrow><annotation encoding="application/x-tex">F'</annotation></semantics></math></span></span> being the inverse functions of each other. We can then conjecture that, under the thermodynamic limit, different ensembles will get the same result. Now, what is the thermodynamic limit? We may think that multiplying extensive quantities by a zooming factor <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>λ</mi></mrow><annotation encoding="application/x-tex">\lmd</annotation></semantics></math></span></span> and letting <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>λ</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow><annotation encoding="application/x-tex">\lmd\to\infty</annotation></semantics></math></span></span> is the thermodynamic limit. A good characteristic function should also be extensive in the thermodynamic limit, so <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>S</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>λ</mi><mi>E</mi><mo fence="true">)</mo></mrow><mo>≈</mo><mi>λ</mi><mi>S</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>E</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc S{\lmd E}\approx\lmd\fc SE</annotation></semantics></math></span></span>. Therefore, we define <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mi>S</mi><mi>λ</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>E</mi><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><mi>S</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>λ</mi><mi>E</mi><mo fence="true">)</mo></mrow><mo separator="true">,</mo><mspace width="1em"/><msub><mi>Z</mi><mi>λ</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>I</mi><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><mo>∫</mo><msup><mi mathvariant="normal">e</mi><mrow><msub><mi>S</mi><mi>λ</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>E</mi><mo fence="true">)</mo></mrow><mo>−</mo><mi>I</mi><mi>λ</mi><mi>E</mi></mrow></msup><mtext> </mtext><mi mathvariant="normal">d</mi><mi>E</mi><mo>≈</mo><mo>∫</mo><msup><mi mathvariant="normal">e</mi><mrow><mi>λ</mi><mrow><mo fence="true">(</mo><mi>S</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>E</mi><mo fence="true">)</mo></mrow><mo>−</mo><mi>I</mi><mi>E</mi><mo fence="true">)</mo></mrow></mrow></msup><mtext> </mtext><mi mathvariant="normal">d</mi><mi>E</mi><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\fc{S_\lmd}E\ceq\fc S{\lmd E},\quad
\fc{Z_\lmd}I\ceq\int\e^{\fc{S_\lmd}E-I\lmd E}\,\d E
\approx\int\e^{\lmd\p{\fc SE-IE}}\,\d E.</annotation></semantics></math></span></span></span> When <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>λ</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow><annotation encoding="application/x-tex">\lmd\to\infty</annotation></semantics></math></span></span>, use Laplace’s method to get (assuming that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>S</mi></mrow><annotation encoding="application/x-tex">S</annotation></semantics></math></span></span> is a concave function) <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mi>Z</mi><mi>λ</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>I</mi><mo fence="true">)</mo></mrow><mo>≈</mo><msqrt><mfrac><mrow><mn>2</mn><mi>π</mi></mrow><mrow><mi>λ</mi><mrow><mo fence="true">∣</mo><msup><mi>S</mi><mrow><mo mathvariant="normal">′</mo><mo mathvariant="normal">′</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>S</mi><mrow><mo mathvariant="normal">′</mo><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>I</mi><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo fence="true">∣</mo></mrow></mrow></mfrac></msqrt><msup><mi mathvariant="normal">e</mi><mrow><mi>λ</mi><mrow><mo fence="true">(</mo><mi>S</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>S</mi><mrow><mo mathvariant="normal">′</mo><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>I</mi><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo>−</mo><mi>I</mi><msup><mi>S</mi><mrow><mo mathvariant="normal">′</mo><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>I</mi><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow></mrow></msup><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\fc{Z_\lmd}I\approx\sqrt{\fr{2\pi}{\lmd\v{\fc{S''}{\fc{S^{\prime-1}}{I}}}}}
\e^{\lmd\p{\fc S{\fc{S^{\prime-1}}{I}}-I\fc{S^{\prime-1}}{I}}},</annotation></semantics></math></span></span></span> and thus (only keeping the highest order term in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>λ</mi></mrow><annotation encoding="application/x-tex">\lmd</annotation></semantics></math></span></span>) <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msubsup><mi>F</mi><mi>λ</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>I</mi><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><mo>−</mo><mfrac><mi mathvariant="normal">∂</mi><mrow><mi mathvariant="normal">∂</mi><mi>I</mi></mrow></mfrac><mi>ln</mi><mo>⁡</mo><msub><mi>Z</mi><mi>λ</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>I</mi><mo fence="true">)</mo></mrow><mo>≈</mo><mi>λ</mi><msup><mi>S</mi><mrow><mo mathvariant="normal">′</mo><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>I</mi><mo fence="true">)</mo></mrow><mo>≈</mo><msubsup><mi>S</mi><mi>λ</mi><mrow><mo mathvariant="normal">′</mo><mo>−</mo><mn>1</mn></mrow></msubsup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>I</mi><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\fc{F'_\lmd}I\ceq-\fr\partial{\partial I}\ln\fc{Z_\lmd}I
\approx\lmd\fc{S^{\prime-1}}{I}\approx\fc{S^{\prime-1}_\lmd}I,</annotation></semantics></math></span></span></span> where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>S</mi><mi>λ</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>E</mi><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><mi mathvariant="normal">d</mi><mi>S</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>λ</mi><mi>E</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">/</mi><mi mathvariant="normal">d</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>λ</mi><mi>E</mi><mo fence="true">)</mo></mrow><mo>=</mo><msup><mi>S</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>λ</mi><mi>E</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc{S'_\lmd}E\ceq\d\fc S{\lmd E}/\d\!\p{\lmd E}
=\fc{S'}{\lmd E}</annotation></semantics></math></span></span> (instead of simply the derivative of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>S</mi><mi>λ</mi></msub></mrow><annotation encoding="application/x-tex">S_\lmd</annotation></semantics></math></span></span>). This is indeed our expected result: <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>S</mi><mi>λ</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup></mrow><annotation encoding="application/x-tex">S'_\lmd</annotation></semantics></math></span></span> and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>F</mi><mi>λ</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup></mrow><annotation encoding="application/x-tex">F'_\lmd</annotation></semantics></math></span></span> are inverse functions of each other.</p>
</details>
<h2 data-label="0.4" id="gibbs-factor-and-indistinguishability">Gibbs factor and indistinguishability</h2>
<p>Why can the introductiong of the Gibbs factor account for the indistinguishability?</p>
<p>Define <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="normal">Ω</mi><mn>0</mn></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>M</mi><mo separator="true">,</mo><mi>N</mi><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><msup><mi>M</mi><mi>N</mi></msup></mrow><annotation encoding="application/x-tex">\fc{\Omg^0}{M,N}\ceq M^N</annotation></semantics></math></span></span> to be the number of microstates of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi></mrow><annotation encoding="application/x-tex">N</annotation></semantics></math></span></span> distinguishable particles with <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>M</mi></mrow><annotation encoding="application/x-tex">M</annotation></semantics></math></span></span> single-particle microstates. Then, define <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi mathvariant="normal">Ω</mi><mn>0</mn></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>M</mi><mo separator="true">,</mo><mi>N</mi><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><msup><mi mathvariant="normal">Ω</mi><mn>0</mn></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>M</mi><mo separator="true">,</mo><mi>N</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">/</mi><mi>N</mi><mo stretchy="false">!</mo></mrow><annotation encoding="application/x-tex">\fc{\Omg_0}{M,N}\ceq\fc{\Omg^0}{M,N}/N!</annotation></semantics></math></span></span> to be the version with the Gibbs factor. Also, define
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi mathvariant="normal">Ω</mi><mo>±</mo></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>M</mi><mo separator="true">,</mo><mi>N</mi><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><msup><mi>M</mi><mover accent="true"><munder accentunder="true"><mi>N</mi><mo stretchy="true">‾</mo></munder><mo stretchy="true">‾</mo></mover></msup><mi mathvariant="normal">/</mi><mi>N</mi><mo stretchy="false">!</mo></mrow><annotation encoding="application/x-tex">\fc{\Omg_\pm}{M,N}\ceq M^{\overline{\underline N}}/N!</annotation></semantics></math></span></span> for bosons and fermions, where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>M</mi><mover accent="true"><munder accentunder="true"><mi>N</mi><mo stretchy="true">‾</mo></munder><mo stretchy="true">‾</mo></mover></msup></mrow><annotation encoding="application/x-tex">M^{\overline{\underline N}}</annotation></semantics></math></span></span> is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>M</mi><mover accent="true"><mi>N</mi><mo stretchy="true">‾</mo></mover></msup></mrow><annotation encoding="application/x-tex">M^{\overline N}</annotation></semantics></math></span></span> or <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>M</mi><munder accentunder="true"><mi>N</mi><mo stretchy="true">‾</mo></munder></msup></mrow><annotation encoding="application/x-tex">M^{\underline N}</annotation></semantics></math></span></span> corresponding to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo>+</mo></mrow><annotation encoding="application/x-tex">+</annotation></semantics></math></span></span> or <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo>−</mo></mrow><annotation encoding="application/x-tex">-</annotation></semantics></math></span></span> in the notation
“<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo>±</mo></mrow><annotation encoding="application/x-tex">\pm</annotation></semantics></math></span></span>” respectively.</p>
<p>If we make the distinguishable particles indistinguishable, we have to characterize them as either bosons or fermions. However, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi mathvariant="normal">Ω</mi><mn>0</mn></msub></mrow><annotation encoding="application/x-tex">\Omg_0</annotation></semantics></math></span></span> and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi mathvariant="normal">Ω</mi><mo>±</mo></msub></mrow><annotation encoding="application/x-tex">\Omg_\pm</annotation></semantics></math></span></span> are not exactly the same, This discrepancy can be resolved in the large <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>M</mi></mrow><annotation encoding="application/x-tex">M</annotation></semantics></math></span></span> limit. We have <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mtable rowspacing="0.25em" columnalign="right left" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><msub><mi mathvariant="normal">Ω</mi><mo>±</mo></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>M</mi><mo separator="true">,</mo><mi>N</mi><mo fence="true">)</mo></mrow></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mfrac><mn>1</mn><mrow><mi>N</mi><mo stretchy="false">!</mo></mrow></mfrac><munderover><mo>∏</mo><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>N</mi><mo>−</mo><mn>1</mn></mrow></munderover><mrow><mo fence="true">(</mo><mi>M</mi><mo>±</mo><mi>k</mi><mo fence="true">)</mo></mrow><mo>=</mo><mfrac><msup><mi>M</mi><mi>N</mi></msup><mrow><mi>N</mi><mo stretchy="false">!</mo></mrow></mfrac><munderover><mo>∏</mo><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>N</mi><mo>−</mo><mn>1</mn></mrow></munderover><mrow><mo fence="true">(</mo><mn>1</mn><mo>±</mo><mfrac><mi>k</mi><mi>M</mi></mfrac><mo fence="true">)</mo></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msub><mi mathvariant="normal">Ω</mi><mn>0</mn></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>M</mi><mo separator="true">,</mo><mi>N</mi><mo fence="true">)</mo></mrow><mrow><mo fence="true">(</mo><mn>1</mn><mo>±</mo><mfrac><mrow><mi>N</mi><mrow><mo fence="true">(</mo><mi>N</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow><mrow><mn>2</mn><mi>M</mi></mrow></mfrac><mo>+</mo><mi mathvariant="normal">O</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>M</mi><mrow><mo>−</mo><mn>2</mn></mrow></msup><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
\fc{\Omg_\pm}{M,N}&amp;=\fr1{N!}\prod_{k=0}^{N-1}\p{M\pm k}
=\fr{M^N}{N!}\prod_{k=0}^{N-1}\p{1\pm\fr kM}\\
&amp;=\fc{\Omg_0}{M,N}\p{1\pm\fr{N\p{N-1}}{2M}+\order{M^{-2}}},
\end{align*}</annotation></semantics></math></span></span></span>
where the big-O notation is understood as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi></mrow><annotation encoding="application/x-tex">N</annotation></semantics></math></span></span> fixed and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>M</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow><annotation encoding="application/x-tex">M\to\infty</annotation></semantics></math></span></span>. Therefore, to have <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi mathvariant="normal">Ω</mi><mn>0</mn></msub><mo>≈</mo><msub><mi mathvariant="normal">Ω</mi><mo>±</mo></msub></mrow><annotation encoding="application/x-tex">\Omg_0\approx\Omg_\pm</annotation></semantics></math></span></span>, loosely speaking, we need <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>M</mi><mo>≫</mo><msup><mi>N</mi><mn>2</mn></msup></mrow><annotation encoding="application/x-tex">M\gg N^2</annotation></semantics></math></span></span>. In this limit, there is no difference between boson statistics and fermion statistics, and both of them are the same as distinguishable particles with the Gibbs factor.</p>
<p>Intuitively, if <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>M</mi></mrow><annotation encoding="application/x-tex">M</annotation></semantics></math></span></span> is very large, then in most of the microstates, each single-particle microstate is occupied by at most one particle, which renders boson statistics and fermion statistics the same. Particularly, if there are infinitely many single-particle microstates, then <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>M</mi></mrow><annotation encoding="application/x-tex">M</annotation></semantics></math></span></span> is effectively infinite, so <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi mathvariant="normal">Ω</mi><mn>0</mn></msub><mo>=</mo><msub><mi mathvariant="normal">Ω</mi><mo>±</mo></msub></mrow><annotation encoding="application/x-tex">\Omg_0=\Omg_\pm</annotation></semantics></math></span></span> is strictly true for any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>M</mi></mrow><annotation encoding="application/x-tex">M</annotation></semantics></math></span></span> in this case. This is why the result for classical ideal gas is exact: there are so many single-particle microstates that the probability for two particles to occupy the same microstate is exactly zero, i.e., such microstates have zero measure.</p>
<details>
<summary>
Classical Fermi gas
</summary>
<p>I previously said that, to make things simple, the measure on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">M</mi></mrow><annotation encoding="application/x-tex">\mcal M</annotation></semantics></math></span></span> would be the counting measure. One big reason behind that is the difficulty of a purely classical description of the Fermi gas.</p>
<p>In the classical description of a gas, the microstates of each particle are points in the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>2</mn><mi>d</mi></mrow><annotation encoding="application/x-tex">2d</annotation></semantics></math></span></span>-dimensional phase space, which is a region in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="double-struck">R</mi><mrow><mn>2</mn><mi>d</mi></mrow></msup></mrow><annotation encoding="application/x-tex">\bR^{2d}</annotation></semantics></math></span></span>, and the measure is just the usual Lebesgue measure (or any other practically equivalent measure, for math nerds). Therefore, naturally, the microstates of many particles with particle number <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi></mrow><annotation encoding="application/x-tex">N</annotation></semantics></math></span></span> would be a region in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="double-struck">R</mi><mrow><mn>2</mn><mi>d</mi><mi>N</mi></mrow></msup></mrow><annotation encoding="application/x-tex">\bR^{2dN}</annotation></semantics></math></span></span>, also equipped with the usual Lebesgue measure.</p>
<p>If the gas consists of fermions, then in any microstate, two particles cannot be in the same single-particle microstate. However, the set of all microstates that have two such particles has zero measure in the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>2</mn><mi>d</mi><mi>N</mi></mrow><annotation encoding="application/x-tex">2dN</annotation></semantics></math></span></span>-dimensional phase space. Therefore, it just would not matter at all whether the particles are fermions or not in the classical description.</p>
<p>However, we know that is not the actual case. In practice, we divide the single-particle phase space into cells of size <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>h</mi><mi>d</mi></msup></mrow><annotation encoding="application/x-tex">h^{d}</annotation></semantics></math></span></span>, where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>h</mi></mrow><annotation encoding="application/x-tex">h</annotation></semantics></math></span></span> is the Planck constant, which we put here by hand. No two particles can reside in the same cell. Therefore, any “bulky” region in the single-particle phase space with volume <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">Ω</mi></mrow><annotation encoding="application/x-tex">\Omg</annotation></semantics></math></span></span> cannot contain more than <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">Ω</mi><mi mathvariant="normal">/</mi><msup><mi>h</mi><mi>d</mi></msup></mrow><annotation encoding="application/x-tex">\Omg/h^{d}</annotation></semantics></math></span></span> particles.</p>
<p>This all sounds fine, except that we did not define what a “bulky” region is. Of course, the Fermi sea is a bulky region, but what about a tube that is long enough to connect any specified discrete points in the single-particle phase space but is thin enough to have volume even smaller than <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>h</mi><mi>d</mi></msup></mrow><annotation encoding="application/x-tex">h^{d}</annotation></semantics></math></span></span>? In fact, by constructing regions with not-so-exotic shapes, we can make any distributino of particles in the single-particle phase space seem like it is violating the Pauli exclusion principle or not arbitrarily. Just shown in the figure below, particles that reasonably distribute in different cells may be regarded as being in one cell, while particles that reasonably occupy the same cell may be regarded as being in different cells.</p>
<figure>
<img src="/assets/images/figures/2025-03-03-indistinguishability/phase-space-cells.svg" class="dark-adaptive" alt="Regular phase space cells and exotic ones"/>

</figure>
<p>There are some possible ways to resolve this issue. One naive way is to stipulate that the cell arranges in some lattice structure such as the simple cube lattice. However, this will break the rotational symmetry in the phase space so that the Fermi sea will not be strictly isotropic anymore. Also, the introduction of the lattice structure changes the physics of the system if it is far from the thermodynamic limit. Only in the thermodynamic limit will the particular choice of lattice structure be irrelevant to the physics.</p>
<p>Another way is to consider a phase space <a href="https://en.wikipedia.org/wiki/Density_functional_theory" target="_blank" rel="external">density functional theory</a>, where a function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>ρ</mi></mrow><annotation encoding="application/x-tex">\rho</annotation></semantics></math></span></span> is defined on the single-particle phase space, representing the number of particles in unit volume in the phase space. The measure of the number of microstates for the many-body system is then the functional integral of this density function. The Pauli exclusion principle can then be translated into the constraint that the value of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>ρ</mi></mrow><annotation encoding="application/x-tex">\rho</annotation></semantics></math></span></span> must not exceed <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>1</mn><mi mathvariant="normal">/</mi><msup><mi>h</mi><mi>d</mi></msup></mrow><annotation encoding="application/x-tex">1/h^{d}</annotation></semantics></math></span></span> anywhere, which prevents the number of particles in any region of size <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>h</mi><mi>d</mi></msup></mrow><annotation encoding="application/x-tex">h^{d}</annotation></semantics></math></span></span> from exceeding <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>1</mn></mrow><annotation encoding="application/x-tex">1</annotation></semantics></math></span></span>. It can also describe bosons by removing this constraint. I have not explored this approach myself, but I doubt it would be a good idea because it seems like an overkill to the problem and will introduce even more mathematical subtleties with the functional integral. Also, more careful analysis must be done to devise the proper measure on the functional space to match the usual sense of number of microstates. Another issue is that it defies the classical notion of particles as clear points but instead treats them as cloudy distributions just like quantum mechanics, and by this very reason it is not capable of being generalized to describe distinguishable particles.</p>
</details>
<p>When <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>M</mi></mrow><annotation encoding="application/x-tex">M</annotation></semantics></math></span></span> is not very large, using the Gibbs factor is then not a correct way to account for indistinguishability. However, it can be corrected, as long as we use <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="normal">Ω</mi><mo>±</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>M</mi><mo separator="true">,</mo><mi>N</mi><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><msup><mi>M</mi><mover accent="true"><munder accentunder="true"><mi>N</mi><mo stretchy="true">‾</mo></munder><mo stretchy="true">‾</mo></mover></msup></mrow><annotation encoding="application/x-tex">\fc{\Omg^\pm}{M,N}\ceq M^{\overline{\underline N}}</annotation></semantics></math></span></span> instead of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="normal">Ω</mi><mn>0</mn></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>M</mi><mo separator="true">,</mo><mi>N</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc{\Omg^0}{M,N}</annotation></semantics></math></span></span>. Then, we would have <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="normal">Ω</mi><mo>±</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>M</mi><mo separator="true">,</mo><mi>N</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">/</mi><mi>N</mi><mo stretchy="false">!</mo><mo>=</mo><msub><mi mathvariant="normal">Ω</mi><mo>±</mo></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>M</mi><mo separator="true">,</mo><mi>N</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc{\Omg^\pm}{M,N}/N!=\fc{\Omg_\pm}{M,N}</annotation></semantics></math></span></span> exactly, corresponding to boson statistics and fermion statistics. There are indeed combanitorics problems of putting distinguishable balls into boxes that results in
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="normal">Ω</mi><mo>±</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>M</mi><mo separator="true">,</mo><mi>N</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc{\Omg^\pm}{M,N}</annotation></semantics></math></span></span>. Actually, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="normal">Ω</mi><mo>+</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>M</mi><mo separator="true">,</mo><mi>N</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc{\Omg^+}{M,N}</annotation></semantics></math></span></span> is the number of ways to put <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi></mrow><annotation encoding="application/x-tex">N</annotation></semantics></math></span></span> distinguishable balls into <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>M</mi></mrow><annotation encoding="application/x-tex">M</annotation></semantics></math></span></span> boxes with the balls in each box being ordered; <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="normal">Ω</mi><mo>−</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>M</mi><mo separator="true">,</mo><mi>N</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc{\Omg^-}{M,N}</annotation></semantics></math></span></span> is the number of ways to put <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi></mrow><annotation encoding="application/x-tex">N</annotation></semantics></math></span></span> distinguishable balls into <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>M</mi></mrow><annotation encoding="application/x-tex">M</annotation></semantics></math></span></span> exclusive boxes (“exclusive” means that each box cannot contain more than one ball).</p>
<p>Now, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="normal">Ω</mi><mo>±</mo></msup></mrow><annotation encoding="application/x-tex">\Omg^\pm</annotation></semantics></math></span></span> represents two more different rules under which we put balls into boxes. Together with <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi mathvariant="normal">Ω</mi><mn>0</mn></msub></mrow><annotation encoding="application/x-tex">\Omg_0</annotation></semantics></math></span></span> and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi mathvariant="normal">Ω</mi><mo>±</mo></msub></mrow><annotation encoding="application/x-tex">\Omg_\pm</annotation></semantics></math></span></span>, there are five different rules in total. We can summarize them into a table:</p>
<table>
<thead>
<tr>
<th><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>N</mi></mrow><annotation encoding="application/x-tex">N</annotation></semantics></math></span></span> balls</th>
<th><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>M</mi></mrow><annotation encoding="application/x-tex">M</annotation></semantics></math></span></span> boxes</th>
<th>Number of ways</th>
<th>Particles</th>
</tr>
</thead>
<tbody>
<tr>
<td>Distinguishable</td>
<td>Unordered</td>
<td><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="normal">Ω</mi><mn>0</mn></msup><mo>=</mo><msup><mi>M</mi><mi>N</mi></msup></mrow><annotation encoding="application/x-tex">\Omg^0=M^N</annotation></semantics></math></span></span></td>
<td>Distinguishable particles</td>
</tr>
<tr>
<td>Distinguishable</td>
<td>Ordered</td>
<td><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="normal">Ω</mi><mo>+</mo></msup><mo>=</mo><msup><mi>M</mi><mover accent="true"><mi>N</mi><mo stretchy="true">‾</mo></mover></msup></mrow><annotation encoding="application/x-tex">\Omg^+=M^{\overline N}</annotation></semantics></math></span></span></td>
<td>Bosons (without Gibbs factor)</td>
</tr>
<tr>
<td>Distinguishable</td>
<td>Exclusive</td>
<td><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="normal">Ω</mi><mo>−</mo></msup><mo>=</mo><msup><mi>M</mi><munder accentunder="true"><mi>N</mi><mo stretchy="true">‾</mo></munder></msup></mrow><annotation encoding="application/x-tex">\Omg^-=M^{\underline N}</annotation></semantics></math></span></span></td>
<td>Fermions (without Gibbs factor)</td>
</tr>
<tr>
<td>Indistinguishable</td>
<td>Unordered</td>
<td><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi mathvariant="normal">Ω</mi><mo>+</mo></msub><mo>=</mo><msup><mi>M</mi><mover accent="true"><mi>N</mi><mo stretchy="true">‾</mo></mover></msup><mi mathvariant="normal">/</mi><mi>N</mi><mo stretchy="false">!</mo></mrow><annotation encoding="application/x-tex">\Omg_+=M^{\overline N}/N!</annotation></semantics></math></span></span></td>
<td>Bosons</td>
</tr>
<tr>
<td>Indistinguishable</td>
<td>Exclusive</td>
<td><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi mathvariant="normal">Ω</mi><mo>−</mo></msub><mo>=</mo><msup><mi>M</mi><munder accentunder="true"><mi>N</mi><mo stretchy="true">‾</mo></munder></msup><mi mathvariant="normal">/</mi><mi>N</mi><mo stretchy="false">!</mo></mrow><annotation encoding="application/x-tex">\Omg_-=M^{\underline N}/N!</annotation></semantics></math></span></span></td>
<td>Fermions</td>
</tr>
</tbody>
</table>
<p class="no-indent">
These are all common enumerative problems of putting balls into boxes in combinatorics. One can extend this table by including more different enumerative problems. There is such a table called the <a href="https://en.wikipedia.org/wiki/Twelvefold_way#The_twentyfold_way" target="_blank" rel="external">twentyfold way</a> that lists 20 different enumerative problems.
</p>]]></content><author><name>UlyssesZhan</name><email>ulysseszhan@gmail.com</email></author><category term="physics" /><category term="mathematical physics" /><category term="statistical mechanics" /><category term="probability" /><category term="long paper" /><category term="combinatorics" /><category term="quantum mechanics" /><summary type="html"><![CDATA[Indistinguishability plays an important role in enumerative problems in combinatorics. This article explains the concept and significance of particle indistinguishability in statistical mechanics.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://ulysseszh.github.io/assets/images/covers/2025-03-03-indistinguishability.png" /><media:content medium="image" url="https://ulysseszh.github.io/assets/images/covers/2025-03-03-indistinguishability.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html"><![CDATA[The distribution when indistinguishable balls are put into boxes]]></title><link href="https://ulysseszh.github.io/math/2023/05/09/stars-bars-geometric.html" rel="alternate" type="text/html" title="The distribution when indistinguishable balls are put into boxes" /><published>2023-05-09T12:19:26-07:00</published><updated>2023-05-09T12:19:26-07:00</updated><id>https://ulysseszh.github.io/math/2023/05/09/stars-bars-geometric</id><content type="html" xml:base="https://ulysseszh.github.io/math/2023/05/09/stars-bars-geometric.html"><![CDATA[<blockquote>
<p>If there are 200 typographical errors randomly distributed in a 500 page manuscript, find the probability that a given page contains exactly 3 errors.</p>
</blockquote>
<p class="no-indent">
We can abstract this type of problems as follows:
</p>
<blockquote>
Suppose there are <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi></mrow><annotation encoding="application/x-tex">n</annotation></semantics></math></span></span> distinguishable boxes and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi></mrow><annotation encoding="application/x-tex">k</annotation></semantics></math></span></span> indistinguishable balls. Now, we randomly put the balls into the boxes. For each of the boxes, what is the probability that it contains <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>m</mi></mrow><annotation encoding="application/x-tex">m</annotation></semantics></math></span></span> balls?
</blockquote>
<p class="no-indent">
For example, if the first page contains 3 errors, the second page contains 197 errors, and the rest of the pages contain no errors, then the situation corresponds to the situation where the first box contains 3 balls, the second box contains 197 balls, and the rest of the boxes contain no balls. The balls are indistinguishable because we can only determine how many errors are on each page but not which errors are on the page.
</p>
<p>To deal with the problem, we simply need to find these two numbers:</p>
<ul>
<li>the number of ways to put <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi></mrow><annotation encoding="application/x-tex">k</annotation></semantics></math></span></span> indistinguishable balls into <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi></mrow><annotation encoding="application/x-tex">n</annotation></semantics></math></span></span> distinguishable boxes, and</li>
<li>the number of ways to put <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi><mo>−</mo><mi>m</mi></mrow><annotation encoding="application/x-tex">k-m</annotation></semantics></math></span></span> indistinguishable balls into <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>−</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">n-1</annotation></semantics></math></span></span> distinguishable boxes.</li>
</ul>
<p class="no-indent">
The latter corresponds to the number of ways to put the balls into the boxes provided that we already know that the given box contains <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>m</mi></mrow><annotation encoding="application/x-tex">m</annotation></semantics></math></span></span> balls. After we find these two numbers, their ratio is the probability in question.
</p>
<p>To find the number of ways to put <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi></mrow><annotation encoding="application/x-tex">k</annotation></semantics></math></span></span> indistinguishable balls into <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi></mrow><annotation encoding="application/x-tex">n</annotation></semantics></math></span></span> distinguishable boxes, we can use the stars and bars method. To see this, we write a special example. Here is an example of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>=</mo><mn>4</mn></mrow><annotation encoding="application/x-tex">n=4</annotation></semantics></math></span></span> and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi><mo>=</mo><mn>6</mn></mrow><annotation encoding="application/x-tex">k=6</annotation></semantics></math></span></span>: <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mrow/><mi mathvariant="normal">∣</mi><mrow/><mo>⋆</mo><mrow/><mo>⋆</mo><mrow/><mi mathvariant="normal">∣</mi><mrow/><mo>⋆</mo><mrow/><mi mathvariant="normal">∣</mi><mrow/><mo>⋆</mo><mrow/><mo>⋆</mo><mrow/><mo>⋆</mo><mrow/><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">{}|{}\star{}\star{}|{}\star{}|{}\star{}\star{}\star{},</annotation></semantics></math></span></span></span> which corresponds to the distribution <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>0</mn><mo separator="true">,</mo><mn>2</mn><mo separator="true">,</mo><mn>1</mn><mo separator="true">,</mo><mn>3</mn></mrow><annotation encoding="application/x-tex">0,2,1,3</annotation></semantics></math></span></span>. We can see that there are <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>−</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">n-1</annotation></semantics></math></span></span> bars and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi></mrow><annotation encoding="application/x-tex">k</annotation></semantics></math></span></span> stars. Therefore, the number of ways to put the balls is the same as the number of ways to choose the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi></mrow><annotation encoding="application/x-tex">k</annotation></semantics></math></span></span> positions of the stars among <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>+</mo><mi>k</mi><mo>−</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">n+k-1</annotation></semantics></math></span></span> positions. Therefore, the number of ways is
<span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mi>N</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo>=</mo><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mrow><mi>n</mi><mo>+</mo><mi>k</mi><mo>−</mo><mn>1</mn></mrow><mi>k</mi></mfrac><mo fence="true">)</mo></mrow><mo>=</mo><mfrac><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow><mrow><mi>k</mi><mo stretchy="false">!</mo><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">N_{n,k}=\binom{n+k-1}{k}=\frac{\left(n+k-1\right)!}{k!\left(n-1\right)!}.</annotation></semantics></math></span></span></span> Therefore, the final probability of the given box containing <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>m</mi></mrow><annotation encoding="application/x-tex">m</annotation></semantics></math></span></span> balls is <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo stretchy="false">(</mo><mi>m</mi><mo stretchy="false">)</mo><mo>=</mo><mfrac><msub><mi>N</mi><mrow><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo>−</mo><mi>m</mi></mrow></msub><msub><mi>N</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub></mfrac><mo>=</mo><mfrac><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>k</mi><mo stretchy="false">!</mo><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mi>k</mi><mo>−</mo><mi>m</mi><mo>−</mo><mn>2</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>m</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">P_{n,k}(m)=\frac{N_{n-1,k-m}}{N_{n,k}}
=\frac{\left(n-1\right)k!\left(n+k-m-2\right)!}{\left(k-m\right)!\left(n+k-1\right)!}.</annotation></semantics></math></span></span></span></p>
<hr/>
<p>Another easy way to derive this result is by using the generating function. The number <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>N</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub></mrow><annotation encoding="application/x-tex">N_{n,k}</annotation></semantics></math></span></span> is just the coefficient of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>x</mi><mi>k</mi></msup></mrow><annotation encoding="application/x-tex">x^k</annotation></semantics></math></span></span> in the expansion of the generating function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>+</mo><mi>x</mi><mo>+</mo><msup><mi>x</mi><mn>2</mn></msup><mo>+</mo><mo>⋯</mo><mtext> </mtext><mo fence="true">)</mo></mrow><mi>n</mi></msup></mrow><annotation encoding="application/x-tex">\left(1+x+x^2+\cdots\right)^n</annotation></semantics></math></span></span>. The generating function is just <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>x</mi><mo fence="true">)</mo></mrow><mrow><mo>−</mo><mi>n</mi></mrow></msup></mrow><annotation encoding="application/x-tex">\left(1-x\right)^{-n}</annotation></semantics></math></span></span>, which can be easily expanded by using the binomial theorem.</p>
<hr/>
<p>We are now interested in the limit <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow><annotation encoding="application/x-tex">n,k\to\infty</annotation></semantics></math></span></span> with <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>λ</mi><mo><mi mathvariant="normal">≔</mi></mo><mi>k</mi><mi mathvariant="normal">/</mi><mi>n</mi></mrow><annotation encoding="application/x-tex">\lambda\coloneqq k/n</annotation></semantics></math></span></span> fixed. By Stirling’s approximation, we have <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo stretchy="false">(</mo><mi>m</mi><mo stretchy="false">)</mo><mo>∼</mo><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mfrac><mrow><msup><mi>k</mi><mrow><mi>k</mi><mo>+</mo><mn>1</mn><mi mathvariant="normal">/</mi><mn>2</mn></mrow></msup><msup><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mi>k</mi><mo>−</mo><mi>m</mi><mo>−</mo><mn>2</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>+</mo><mi>k</mi><mo>−</mo><mi>m</mi><mo>−</mo><mn>2</mn><mo>+</mo><mn>1</mn><mi mathvariant="normal">/</mi><mn>2</mn></mrow></msup></mrow><mrow><msup><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>m</mi><mo fence="true">)</mo></mrow><mrow><mi>k</mi><mo>−</mo><mi>m</mi><mo>+</mo><mn>1</mn><mi mathvariant="normal">/</mi><mn>2</mn></mrow></msup><msup><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>+</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo>+</mo><mn>1</mn><mi mathvariant="normal">/</mi><mn>2</mn></mrow></msup></mrow></mfrac><msup><mi mathvariant="normal">e</mi><mrow><mi>k</mi><mo>−</mo><mi>m</mi><mo>+</mo><mi>n</mi><mo>+</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo>−</mo><mi>k</mi><mo>−</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo>+</mo><mi>m</mi><mo>+</mo><mn>2</mn></mrow></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">P_{n,k}(m)\sim\left(n-1\right)
\frac{k^{k+1/2}\left(n+k-m-2\right)^{n+k-m-2+1/2}}{\left(k-m\right)^{k-m+1/2}\left(n+k-1\right)^{n+k-1+1/2} }
\mathrm e^{k-m+n+k-1-k-n-k+m+2}.</annotation></semantics></math></span></span></span> The <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>1</mn><mi mathvariant="normal">/</mi><mn>2</mn></mrow><annotation encoding="application/x-tex">1/2</annotation></semantics></math></span></span>’s in the exponents can just be dropped because you may find that if we extract the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>1</mn><mi mathvariant="normal">/</mi><mn>2</mn></mrow><annotation encoding="application/x-tex">1/2</annotation></semantics></math></span></span>’s, the factor tends to unity. The exponential is just constant <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">e</mi></mrow><annotation encoding="application/x-tex">\mathrm e</annotation></semantics></math></span></span>. Therefore, we have
<span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mtable rowspacing="0.25em" columnalign="right left" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo stretchy="false">(</mo><mi>m</mi><mo stretchy="false">)</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>∼</mo><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mfrac><mrow><msup><mrow><mo fence="true">(</mo><mi>λ</mi><mi>n</mi><mo fence="true">)</mo></mrow><mrow><mi>λ</mi><mi>n</mi></mrow></msup><msup><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mi>λ</mi><mi>n</mi><mo>−</mo><mi>m</mi><mo>−</mo><mn>2</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>+</mo><mi>λ</mi><mi>n</mi><mo>−</mo><mi>m</mi><mo>−</mo><mn>2</mn></mrow></msup></mrow><mrow><msup><mrow><mo fence="true">(</mo><mi>λ</mi><mi>n</mi><mo>−</mo><mi>m</mi><mo fence="true">)</mo></mrow><mrow><mi>λ</mi><mi>n</mi><mo>−</mo><mi>m</mi></mrow></msup><msup><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mi>λ</mi><mi>n</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>+</mo><mi>λ</mi><mi>n</mi><mo>−</mo><mn>1</mn></mrow></msup></mrow></mfrac><mi mathvariant="normal">e</mi></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msup><mrow><mo fence="true">(</mo><mstyle displaystyle="false" scriptlevel="0"><mfrac><mrow><mi>n</mi><mo>+</mo><mi>λ</mi><mi>n</mi><mo>−</mo><mi>m</mi><mo>−</mo><mn>2</mn></mrow><mrow><mi>n</mi><mo>+</mo><mi>λ</mi><mi>n</mi><mo>−</mo><mn>1</mn></mrow></mfrac></mstyle><mo fence="true">)</mo></mrow><mi>n</mi></msup><msup><mrow><mo fence="true">(</mo><mstyle displaystyle="false" scriptlevel="0"><mfrac><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mi>λ</mi><mi>n</mi><mo>−</mo><mi>m</mi><mo>−</mo><mn>2</mn><mo fence="true">)</mo></mrow><mi>λ</mi><mi>n</mi></mrow><mrow><mrow><mo fence="true">(</mo><mi>λ</mi><mi>n</mi><mo>−</mo><mi>m</mi><mo fence="true">)</mo></mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mi>λ</mi><mi>n</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow></mfrac></mstyle><mo fence="true">)</mo></mrow><mrow><mi>λ</mi><mi>n</mi></mrow></msup><msup><mrow><mo fence="true">(</mo><mstyle displaystyle="false" scriptlevel="0"><mfrac><mrow><mi>λ</mi><mi>n</mi><mo>−</mo><mi>m</mi></mrow><mrow><mi>n</mi><mo>+</mo><mi>λ</mi><mi>n</mi><mo>−</mo><mi>m</mi><mo>−</mo><mn>2</mn></mrow></mfrac></mstyle><mo fence="true">)</mo></mrow><mi>m</mi></msup><mstyle displaystyle="false" scriptlevel="0"><mfrac><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mi>λ</mi><mi>n</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow><msup><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mi>λ</mi><mi>n</mi><mo>−</mo><mi>m</mi><mo>−</mo><mn>2</mn><mo fence="true">)</mo></mrow><mn>2</mn></msup></mfrac></mstyle><mi mathvariant="normal">e</mi></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>→</mo><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mfrac><mrow><mi>m</mi><mo>+</mo><mn>1</mn></mrow><mrow><mi>λ</mi><mo>+</mo><mn>1</mn></mrow></mfrac></mrow></msup><mtext> </mtext><msup><mi mathvariant="normal">e</mi><mi>m</mi></msup><mtext> </mtext><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mfrac><mrow><mi>m</mi><mo>+</mo><mn>1</mn></mrow><mrow><mi>λ</mi><mo>+</mo><mn>1</mn></mrow></mfrac><mi>λ</mi></mrow></msup><msup><mrow><mo fence="true">(</mo><mstyle displaystyle="false" scriptlevel="0"><mfrac><mi>λ</mi><mrow><mi>λ</mi><mo>+</mo><mn>1</mn></mrow></mfrac></mstyle><mo fence="true">)</mo></mrow><mi>m</mi></msup><mstyle displaystyle="false" scriptlevel="0"><mfrac><mn>1</mn><mrow><mi>λ</mi><mo>+</mo><mn>1</mn></mrow></mfrac></mstyle><mi mathvariant="normal">e</mi></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msup><mrow><mo fence="true">(</mo><mstyle displaystyle="false" scriptlevel="0"><mfrac><mi>λ</mi><mrow><mi>λ</mi><mo>+</mo><mn>1</mn></mrow></mfrac></mstyle><mo fence="true">)</mo></mrow><mi>m</mi></msup><mstyle displaystyle="false" scriptlevel="0"><mfrac><mn>1</mn><mrow><mi>λ</mi><mo>+</mo><mn>1</mn></mrow></mfrac></mstyle><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
P_{n,k}(m)&amp;\sim\left(n-1\right)
\frac{\left(\lambda n\right)^{\lambda n}\left(n+\lambda n-m-2\right)^{n+\lambda n-m-2} }
{\left(\lambda n-m\right)^{\lambda n-m}\left(n+\lambda n-1\right)^{n+\lambda n-1}}\mathrm e\\
&amp;=\left(\tfrac{n+\lambda n-m-2}{n+\lambda n-1}\right)^n
\left(\tfrac{\left(n+\lambda n-m-2\right)\lambda n}{\left(\lambda n-m\right)\left(n+\lambda n-1\right)}\right)^{\lambda n}
\left(\tfrac{\lambda n-m}{n+\lambda n-m-2}\right)^m
\tfrac{\left(n-1\right)\left(n+\lambda n-1\right)}{\left(n+\lambda n-m-2\right)^2}\mathrm e\\
&amp;\to\mathrm e^{-\frac{m+1}{\lambda+1}}\,\mathrm e^m\,
\mathrm e^{-\frac{m+1}{\lambda+1}\lambda}\left(\tfrac\lambda{\lambda+1}\right)^m\tfrac1{\lambda+1}\mathrm e\\
&amp;=\left(\tfrac\lambda{\lambda+1}\right)^m\tfrac1{\lambda+1}.
\end{align*}</annotation></semantics></math></span></span></span>
This is just the geometric distribution with parameter <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>p</mi><mo>=</mo><mn>1</mn><mi mathvariant="normal">/</mi><mo stretchy="false">(</mo><mi>λ</mi><mo>+</mo><mn>1</mn><mo stretchy="false">)</mo><mo>=</mo><mi>n</mi><mi mathvariant="normal">/</mi><mo stretchy="false">(</mo><mi>k</mi><mo>+</mo><mi>n</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">p=1/(\lambda+1)=n/(k+n)</annotation></semantics></math></span></span>.</p>
<hr/>
<p>If you want to simulate the number of balls in a box, here is a simple way to do this. First, because each box is the same, we can just focus on the first box without loss of generality. Then, we just need to randomly generate the positions of the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>−</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">n-1</annotation></semantics></math></span></span> bars among the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>+</mo><mi>k</mi><mo>−</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">n+k-1</annotation></semantics></math></span></span> positions, and then return the index of the first bar (which is the number of balls in the first box).</p>
<p>We can then write the following Ruby code to simulate the number of balls in the first box:</p>
<table class="rouge-table">
  <tbody>
    <tr>
      <td class="highlight language-ruby">
        <pre>
          <code>
            <span class="line line-1"><span class="k">def</span> <span class="nf">simulate</span> <span class="n">n</span><span class="p">,</span> <span class="n">k</span>
</span>
            <span class="line line-2">  <span class="p">(</span><span class="n">n</span><span class="o">-</span><span class="mi">1</span><span class="p">).</span><span class="nf">times</span><span class="p">.</span><span class="nf">inject</span><span class="p">(</span><span class="n">npkm1</span> <span class="o">=</span> <span class="n">n</span><span class="o">+</span><span class="n">k</span><span class="o">-</span><span class="mi">1</span><span class="p">)</span> <span class="p">{</span> <span class="o">|</span><span class="n">bar</span><span class="p">,</span> <span class="n">i</span><span class="o">|</span> <span class="p">[</span><span class="nb">rand</span><span class="p">(</span><span class="n">npkm1</span> <span class="o">-</span> <span class="n">i</span><span class="p">),</span> <span class="n">bar</span><span class="p">].</span><span class="nf">min</span> <span class="p">}</span>
</span>
            <span class="line line-3"><span class="k">end</span>
</span>
          </code>
        </pre>
      </td>
    </tr>
  </tbody>
</table>
<p>Compare the simulated result with the theoretical result:</p>
<table class="rouge-table">
  <tbody>
    <tr>
      <td class="highlight language-ruby">
        <pre>
          <code>
            <span class="line line-1"><span class="k">def</span> <span class="nf">frequency</span> <span class="n">m</span><span class="p">,</span> <span class="n">n</span><span class="p">,</span> <span class="n">k</span><span class="p">,</span> <span class="n">trials</span>
</span>
            <span class="line line-2">  <span class="n">trials</span><span class="p">.</span><span class="nf">times</span><span class="p">.</span><span class="nf">count</span> <span class="p">{</span> <span class="n">simulate</span><span class="p">(</span><span class="n">n</span><span class="p">,</span> <span class="n">k</span><span class="p">)</span> <span class="o">==</span> <span class="n">m</span> <span class="p">}</span> <span class="o">/</span> <span class="n">trials</span><span class="p">.</span><span class="nf">to_f</span>
</span>
            <span class="line line-3"><span class="k">end</span>
</span>
            <span class="line line-4">
</span>
            <span class="line line-5"><span class="k">def</span> <span class="nf">truth</span> <span class="n">m</span><span class="p">,</span> <span class="n">n</span><span class="p">,</span> <span class="n">k</span>
</span>
            <span class="line line-6">  <span class="p">(</span><span class="n">n</span><span class="o">-</span><span class="mi">1</span><span class="p">)</span> <span class="o">*</span> <span class="p">(</span><span class="n">k</span><span class="o">-</span><span class="n">m</span><span class="o">+</span><span class="mi">1</span><span class="o">..</span><span class="n">k</span><span class="p">).</span><span class="nf">reduce</span><span class="p">(</span><span class="mi">1</span><span class="p">,:</span><span class="o">*</span><span class="p">)</span> <span class="o">/</span> <span class="p">(</span><span class="n">n</span><span class="o">+</span><span class="n">k</span><span class="o">-</span><span class="n">m</span><span class="o">-</span><span class="mi">1</span><span class="o">..</span><span class="n">n</span><span class="o">+</span><span class="n">k</span><span class="o">-</span><span class="mi">1</span><span class="p">).</span><span class="nf">reduce</span><span class="p">(</span><span class="mi">1</span><span class="p">,:</span><span class="o">*</span><span class="p">).</span><span class="nf">to_f</span>
</span>
            <span class="line line-7"><span class="k">end</span>
</span>
            <span class="line line-8">
</span>
            <span class="line line-9"><span class="k">def</span> <span class="nf">approx</span> <span class="n">m</span><span class="p">,</span> <span class="n">n</span><span class="p">,</span> <span class="n">k</span>
</span>
            <span class="line line-10">  <span class="n">n</span><span class="o">*</span><span class="n">k</span><span class="o">**</span><span class="n">m</span> <span class="o">/</span> <span class="p">((</span><span class="n">n</span><span class="o">+</span><span class="n">k</span><span class="p">)</span><span class="o">**</span><span class="p">(</span><span class="n">m</span><span class="o">+</span><span class="mi">1</span><span class="p">)).</span><span class="nf">to_f</span>
</span>
            <span class="line line-11"><span class="k">end</span>
</span>
            <span class="line line-12">
</span>
            <span class="line line-13"><span class="nb">srand</span> <span class="mi">1108</span>
</span>
            <span class="line line-14"><span class="n">m</span><span class="p">,</span> <span class="n">n</span><span class="p">,</span> <span class="n">k</span> <span class="o">=</span> <span class="mi">3</span><span class="p">,</span> <span class="mi">5000</span><span class="p">,</span> <span class="mi">8000</span>
</span>
            <span class="line line-15"><span class="nb">p</span> <span class="n">frequency</span> <span class="n">m</span><span class="p">,</span> <span class="n">n</span><span class="p">,</span> <span class="n">k</span><span class="p">,</span> <span class="mi">10000</span> <span class="c1"># =&gt; 0.0902</span>
</span>
            <span class="line line-16"><span class="nb">p</span> <span class="n">truth</span> <span class="n">m</span><span class="p">,</span> <span class="n">n</span><span class="p">,</span> <span class="n">k</span> <span class="c1"># =&gt; 0.08965012972626446</span>
</span>
            <span class="line line-17"><span class="nb">p</span> <span class="n">approx</span> <span class="n">m</span><span class="p">,</span> <span class="n">n</span><span class="p">,</span> <span class="n">k</span> <span class="c1"># =&gt; 0.08963271594131858</span>
</span>
          </code>
        </pre>
      </td>
    </tr>
  </tbody>
</table>]]></content><author><name>UlyssesZhan</name><email>ulysseszhan@gmail.com</email></author><category term="math" /><category term="probability" /><category term="combinatorics" /><category term="ruby" /><summary type="html"><![CDATA[Suppose there are <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi></mrow><annotation encoding="application/x-tex">n</annotation></semantics></math></span></span> distinguishable boxes and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi></mrow><annotation encoding="application/x-tex">k</annotation></semantics></math></span></span> indistinguishable balls. Now, we randomly put the balls into the boxes. For each of the boxes, what is the probability that it contains <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>m</mi></mrow><annotation encoding="application/x-tex">m</annotation></semantics></math></span></span> balls? This is a simple combanitorics problem that can be solved by the stars and bars method. It turns out that in the limit <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow><annotation encoding="application/x-tex">n,k\to\infty</annotation></semantics></math></span></span> with <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi><mi mathvariant="normal">/</mi><mi>n</mi></mrow><annotation encoding="application/x-tex">k/n</annotation></semantics></math></span></span> fixed, the distribution tends to be a geometric distribution.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://ulysseszh.github.io/assets/images/covers/2023-05-09-stars-bars-geometric.png" /><media:content medium="image" url="https://ulysseszh.github.io/assets/images/covers/2023-05-09-stars-bars-geometric.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html"><![CDATA[A polynomial whose sum of coefficients is a factorial]]></title><link href="https://ulysseszh.github.io/math/2022/11/09/sum-coef-factorial.html" rel="alternate" type="text/html" title="A polynomial whose sum of coefficients is a factorial" /><published>2022-11-09T10:04:43-08:00</published><updated>2022-11-09T10:04:43-08:00</updated><id>https://ulysseszh.github.io/math/2022/11/09/sum-coef-factorial</id><content type="html" xml:base="https://ulysseszh.github.io/math/2022/11/09/sum-coef-factorial.html"><![CDATA[<p>
  <em>This article is translated from a Chinese <a href="https://zhuanlan.zhihu.com/p/73079049" target="_blank" rel="external">article</a> on my Zhihu account. The original article was posted at 2019-07-13 20:36 +0800.</em>
</p>
<hr/>
<p class="no-indent">
<strong>Definition 1.</strong> Let <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mi>f</mi><mi>n</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>z</mi><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>z</mi><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><mi mathvariant="normal">∞</mi></munderover><msup><mi>k</mi><mi>n</mi></msup><msup><mi>z</mi><mi>k</mi></msup><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">f_n\!\left(z\right)\coloneqq\left(1-z\right)^{n+1}\sum_{k=1}^\infty k^nz^k,</annotation></semantics></math></span></span></span> where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi></mrow><annotation encoding="application/x-tex">n</annotation></semantics></math></span></span> is a positive integer.
</p>
<p>Our goal is to prove that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>f</mi><mi>n</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>z</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">f_n\!\left(z\right)</annotation></semantics></math></span></span> is a polynomial of degree <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi></mrow><annotation encoding="application/x-tex">n</annotation></semantics></math></span></span> w.r.t. <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>z</mi></mrow><annotation encoding="application/x-tex">z</annotation></semantics></math></span></span>, and the sum of its coefficients is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow><annotation encoding="application/x-tex">n!</annotation></semantics></math></span></span>.</p>
<p class="no-indent">
<strong>Lemma 1.</strong> <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mi>f</mi><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>z</mi><mo fence="true">)</mo></mrow><mo>=</mo><mi>z</mi><mtext> </mtext><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>z</mi><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>+</mo><mn>2</mn></mrow></msup><mfrac><mi mathvariant="normal">d</mi><mrow><mi mathvariant="normal">d</mi><mi>z</mi></mrow></mfrac><mrow><mo fence="true">(</mo><mfrac><mrow><msub><mi>f</mi><mi>n</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>z</mi><mo fence="true">)</mo></mrow></mrow><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>z</mi><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow></msup></mfrac><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">f_{n+1}\!\left(z\right)=z\,\left(1-z\right)^{n+2}\frac{\mathrm d}{\mathrm dz}\left(\frac{f_n\!\left(z\right)}{\left(1-z\right)^{n+1}}\right).</annotation></semantics></math></span></span></span>
</p>
<p class="no-indent">
<em>Proof.</em> <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mtable rowspacing="0.25em" columnalign="right left" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mfrac><mi mathvariant="normal">d</mi><mrow><mi mathvariant="normal">d</mi><mi>z</mi></mrow></mfrac><mrow><mo fence="true">(</mo><mfrac><mrow><msub><mi>f</mi><mi>n</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>z</mi><mo fence="true">)</mo></mrow></mrow><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>z</mi><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow></msup></mfrac><mo fence="true">)</mo></mrow></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mfrac><mi mathvariant="normal">d</mi><mrow><mi mathvariant="normal">d</mi><mi>z</mi></mrow></mfrac><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><mi mathvariant="normal">∞</mi></munderover><msup><mi>k</mi><mi>n</mi></msup><msup><mi>z</mi><mi>k</mi></msup></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><mi mathvariant="normal">∞</mi></munderover><msup><mi>k</mi><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow></msup><msup><mi>z</mi><mrow><mi>k</mi><mo>−</mo><mn>1</mn></mrow></msup></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mfrac><mrow><msub><mi>f</mi><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>z</mi><mo fence="true">)</mo></mrow></mrow><mrow><mi>z</mi><mtext> </mtext><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>z</mi><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>+</mo><mn>2</mn></mrow></msup></mrow></mfrac><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
\frac{\mathrm d}{\mathrm dz}\left(\frac{f_n\!\left(z\right)}{\left(1-z\right)^{n+1}}\right)
&amp;=\frac{\mathrm d}{\mathrm dz}\sum_{k=1}^\infty k^nz^k\\
&amp;=\sum_{k=1}^\infty k^{n+1}z^{k-1}\\
&amp;=\frac{f_{n+1}\!\left(z\right)}{z\,\left(1-z\right)^{n+2}}.
\end{align*}</annotation></semantics></math></span></span></span>
<span class="qed-wrapper qed-last"><span class="qed qed-last"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">□</mi></mrow><annotation encoding="application/x-tex">\square</annotation></semantics></math></span></span></span></span>
</p>
<p class="no-indent">
<strong>Definition 2</strong> (Eulerian numbers)<strong>.</strong> <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>n</mi></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>k</mi></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>k</mi><mo>+</mo><mn>1</mn></mrow></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><msup><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>n</mi></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\left&lt;\begin{matrix}n\\k\end{matrix}\right&gt;\coloneqq\sum_{j=0}^{k+1}\left(-1\right)^j\binom{n+1}j\left(k-j+1\right)^n.</annotation></semantics></math></span></span></span>
</p>
<p class="no-indent">
<strong>Lemma 2.</strong> <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>k</mi><mo>+</mo><mn>1</mn></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><mo>=</mo><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo fence="true">)</mo></mrow><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>n</mi></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>k</mi></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><mo>+</mo><mrow><mo fence="true">(</mo><mi>k</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>n</mi></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>k</mi><mo>+</mo><mn>1</mn></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\left&lt;\begin{matrix}n+1\\k+1\end{matrix}\right&gt;=\left(n-k\right)\left&lt;\begin{matrix}n\\k\end{matrix}\right&gt;+\left(k+2\right)\left&lt;\begin{matrix}n\\k+1\end{matrix}\right&gt;.</annotation></semantics></math></span></span></span>
</p>
<p class="no-indent">
<em>Proof.</em>
<span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mtable rowspacing="0.25em" columnalign="right left" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mphantom><mo>=</mo></mphantom><mtext> </mtext><mtext> </mtext><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo fence="true">)</mo></mrow><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>n</mi></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>k</mi></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><mo>+</mo><mrow><mo fence="true">(</mo><mi>k</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>n</mi></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>k</mi><mo>+</mo><mn>1</mn></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo fence="true">)</mo></mrow><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>k</mi><mo>+</mo><mn>1</mn></mrow></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><msup><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>n</mi></msup><mo>+</mo><mrow><mo fence="true">(</mo><mi>k</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>k</mi><mo>+</mo><mn>2</mn></mrow></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><msup><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow><mi>n</mi></msup></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo fence="true">)</mo></mrow><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>k</mi><mo>+</mo><mn>2</mn></mrow></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>j</mi><mo>−</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow><mrow><mi>j</mi><mo>−</mo><mn>1</mn></mrow></mfrac><mo fence="true">)</mo></mrow><msup><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow><mi>n</mi></msup><mo>+</mo><mrow><mo fence="true">(</mo><mi>k</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>k</mi><mo>+</mo><mn>2</mn></mrow></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><msup><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow><mi>n</mi></msup></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>k</mi><mo>+</mo><mn>2</mn></mrow></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup><msup><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow><mi>n</mi></msup><mrow><mo fence="true">(</mo><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>n</mi><mo fence="true">)</mo></mrow><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow><mrow><mi>j</mi><mo>−</mo><mn>1</mn></mrow></mfrac><mo fence="true">)</mo></mrow><mo>+</mo><mrow><mo fence="true">(</mo><mi>k</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>k</mi><mo>+</mo><mn>2</mn></mrow></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup><msup><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow><mi>n</mi></msup><mrow><mo fence="true">(</mo><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>n</mi><mo fence="true">)</mo></mrow><mfrac><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>j</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mo>+</mo><mrow><mo fence="true">(</mo><mi>k</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow><mfrac><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow><mrow><mi>j</mi><mo stretchy="false">!</mo><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mo fence="true">)</mo></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>k</mi><mo>+</mo><mn>2</mn></mrow></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup><msup><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow><mi>n</mi></msup><mfrac><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow><mrow><mi>j</mi><mo stretchy="false">!</mo><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow></mrow></mfrac><mrow><mo fence="true">(</mo><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>n</mi><mo fence="true">)</mo></mrow><mi>j</mi><mo>+</mo><mrow><mo fence="true">(</mo><mi>k</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>k</mi><mo>+</mo><mn>2</mn></mrow></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup><msup><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow><mi>n</mi></msup><mfrac><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow><mrow><mi>j</mi><mo stretchy="false">!</mo><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow></mrow></mfrac><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>k</mi><mo>+</mo><mn>2</mn></mrow></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup><msup><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow></msup><mfrac><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow><mrow><mi>j</mi><mo stretchy="false">!</mo><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow></mrow></mfrac></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>k</mi><mo>+</mo><mn>2</mn></mrow></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mrow><mi>n</mi><mo>+</mo><mn>2</mn></mrow><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><msup><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow></msup></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>k</mi><mo>+</mo><mn>1</mn></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
&amp;\phantom{=}~\,\left(n-k\right)\left&lt;\begin{matrix}n\\k\end{matrix}\right&gt;+\left(k+2\right)\left&lt;\begin{matrix}n\\k+1\end{matrix}\right&gt;\\
&amp;=\left(n-k\right)\sum_{j=0}^{k+1}\left(-1\right)^j\binom{n+1}j\left(k-j+1\right)^n+\left(k+2\right)\sum_{j=0}^{k+2}\left(-1\right)^j\binom{n+1}j\left(k-j+2\right)^n\\
&amp;=\left(n-k\right)\sum_{j=0}^{k+2}\left(-1\right)^{j-1}\binom{n+1}{j-1}\left(k-j+2\right)^n+\left(k+2\right)\sum_{j=0}^{k+2}\left(-1\right)^j\binom{n+1}j\left(k-j+2\right)^n\\
&amp;=\sum_{j=0}^{k+2}\left(-1\right)^j\left(k-j+2\right)^n\left(\left(k-n\right)\binom{n+1}{j-1}+\left(k+2\right)\binom{n+1}j\right)\\
&amp;=\sum_{j=0}^{k+2}\left(-1\right)^j\left(k-j+2\right)^n\left(\left(k-n\right)\frac{\left(n+1\right)!}{\left(j-1\right)!\left(n-j+2\right)!}+\left(k+2\right)\frac{\left(n+1\right)!}{j!\left(n-j+1\right)!}\right)\\
&amp;=\sum_{j=0}^{k+2}\left(-1\right)^j\left(k-j+2\right)^n\frac{\left(n+1\right)!}{j!\left(n-j+2\right)}\left(\left(k-n\right)j+\left(k+2\right)\left(n-j+2\right)\right)\\
&amp;=\sum_{j=0}^{k+2}\left(-1\right)^j\left(k-j+2\right)^n\frac{\left(n+1\right)!}{j!\left(n-j+2\right)}\left(n+2\right)\left(k-j+2\right)\\
&amp;=\sum_{j=0}^{k+2}\left(-1\right)^j\left(k-j+2\right)^{n+1}\frac{\left(n+2\right)!}{j!\left(n-j+2\right)}\\
&amp;=\sum_{j=0}^{k+2}\left(-1\right)^j\binom{n+2}j\left(k-j+2\right)^{n+1}\\
&amp;=\left&lt;\begin{matrix}n+1\\k+1\end{matrix}\right&gt;.
\end{align*}</annotation></semantics></math></span></span></span>
<span class="qed-wrapper qed-last"><span class="qed qed-last"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">□</mi></mrow><annotation encoding="application/x-tex">\square</annotation></semantics></math></span></span></span></span>
</p>
<p class="no-indent">
<strong>Lemma 3.</strong> <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>n</mi></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>0</mn></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><mo>=</mo><mn>1</mn><mo separator="true">,</mo><mspace width="1em"/><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>n</mi></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>n</mi></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><mo>=</mo><mn>0.</mn></mrow><annotation encoding="application/x-tex">\left&lt;\begin{matrix}n\\0\end{matrix}\right&gt;=1,\quad\left&lt;\begin{matrix}n\\n\end{matrix}\right&gt;=0.</annotation></semantics></math></span></span></span>
</p>
<p class="no-indent">
<em>Brief proof.</em> Easily proved by Definition 2. <span class="qed-wrapper qed-normal"><span class="qed qed-normal"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">□</mi></mrow><annotation encoding="application/x-tex">\square</annotation></semantics></math></span></span></span></span>
</p>
<p class="no-indent">
<strong>Lemma 4.</strong> <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mi>f</mi><mi>n</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>z</mi><mo fence="true">)</mo></mrow><mo>=</mo><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><mi>n</mi></munderover><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>n</mi></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>n</mi><mo>−</mo><mi>k</mi></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><msup><mi>z</mi><mi>k</mi></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">f_n\!\left(z\right)=\sum_{k=1}^n\left&lt;\begin{matrix}n\\n-k\end{matrix}\right&gt;z^k.</annotation></semantics></math></span></span></span>
</p>
<p class="no-indent">
<em>Proof.</em> By mathematical induction. When <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>=</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">n=1</annotation></semantics></math></span></span>, <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mi>f</mi><mi>n</mi></msub><mrow><mo fence="true">(</mo><mi>z</mi><mo fence="true">)</mo></mrow><mo>=</mo><mi>z</mi><mo>=</mo><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><mi>n</mi></munderover><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>n</mi></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>n</mi><mo>−</mo><mi>k</mi></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><msup><mi>z</mi><mi>k</mi></msup><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">f_n\left(z\right)=z=\sum_{k=1}^n\left&lt;\begin{matrix}n\\n-k\end{matrix}\right&gt;z^k,</annotation></semantics></math></span></span></span> the result holds.
</p>
<p>Suppose the result holds when <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>=</mo><msub><mi>n</mi><mn>0</mn></msub></mrow><annotation encoding="application/x-tex">n=n_0</annotation></semantics></math></span></span>, and then when <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>=</mo><msub><mi>n</mi><mn>0</mn></msub><mo>+</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">n=n_0+1</annotation></semantics></math></span></span>,
<span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mtable rowspacing="0.25em" columnalign="right left right" columnspacing="0em 1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mphantom><mo>=</mo></mphantom><mtext> </mtext><mtext> </mtext><msub><mi>f</mi><mi>n</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>z</mi><mo fence="true">)</mo></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mi>z</mi><mtext> </mtext><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>z</mi><mo fence="true">)</mo></mrow><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>+</mo><mn>2</mn></mrow></msup><mfrac><mi mathvariant="normal">d</mi><mrow><mi mathvariant="normal">d</mi><mi>z</mi></mrow></mfrac><mrow><mo fence="true">(</mo><mfrac><mrow><msub><mi>f</mi><msub><mi>n</mi><mn>0</mn></msub></msub><mrow><mo fence="true">(</mo><mi>z</mi><mo fence="true">)</mo></mrow></mrow><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>z</mi><mo fence="true">)</mo></mrow><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>+</mo><mn>1</mn></mrow></msup></mfrac><mo fence="true">)</mo></mrow></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Lemma 1)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mi>z</mi><mtext> </mtext><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>z</mi><mo fence="true">)</mo></mrow><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>+</mo><mn>2</mn></mrow></msup><mfrac><mrow><mfrac><mrow><mi mathvariant="normal">d</mi><msub><mi>f</mi><msub><mi>n</mi><mn>0</mn></msub></msub><mrow><mo fence="true">(</mo><mi>z</mi><mo fence="true">)</mo></mrow></mrow><mrow><mi mathvariant="normal">d</mi><mi>z</mi></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>z</mi><mo fence="true">)</mo></mrow><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>+</mo><mn>1</mn></mrow></msup><mo>−</mo><msub><mi>f</mi><msub><mi>n</mi><mn>0</mn></msub></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>z</mi><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">d</mi><mrow><mo fence="true">(</mo><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>z</mi><mo fence="true">)</mo></mrow><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>+</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow></mrow><mrow><mi mathvariant="normal">d</mi><mi>z</mi></mrow></mfrac></mrow><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>z</mi><mo fence="true">)</mo></mrow><mrow><mn>2</mn><msub><mi>n</mi><mn>0</mn></msub><mo>+</mo><mn>2</mn></mrow></msup></mfrac></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mi>z</mi><mtext> </mtext><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>z</mi><mo fence="true">)</mo></mrow><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>+</mo><mn>2</mn></mrow></msup><mfrac><mrow><mfrac><mrow><mi mathvariant="normal">d</mi><msub><mi>f</mi><msub><mi>n</mi><mn>0</mn></msub></msub><mrow><mo fence="true">(</mo><mi>z</mi><mo fence="true">)</mo></mrow></mrow><mrow><mi mathvariant="normal">d</mi><mi>z</mi></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>z</mi><mo fence="true">)</mo></mrow><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>+</mo><mn>1</mn></mrow></msup><mo>+</mo><mrow><mo fence="true">(</mo><msub><mi>n</mi><mn>0</mn></msub><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><msub><mi>f</mi><msub><mi>n</mi><mn>0</mn></msub></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>z</mi><mo fence="true">)</mo></mrow><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>z</mi><mo fence="true">)</mo></mrow><msub><mi>n</mi><mn>0</mn></msub></msup></mrow><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>z</mi><mo fence="true">)</mo></mrow><mrow><mn>2</mn><msub><mi>n</mi><mn>0</mn></msub><mo>+</mo><mn>2</mn></mrow></msup></mfrac></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mi>z</mi><mrow><mo fence="true">(</mo><mfrac><mrow><mi mathvariant="normal">d</mi><msub><mi>f</mi><msub><mi>n</mi><mn>0</mn></msub></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>z</mi><mo fence="true">)</mo></mrow></mrow><mrow><mi mathvariant="normal">d</mi><mi>z</mi></mrow></mfrac><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>z</mi><mo fence="true">)</mo></mrow><mo>+</mo><mrow><mo fence="true">(</mo><msub><mi>n</mi><mn>0</mn></msub><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><msub><mi>f</mi><msub><mi>n</mi><mn>0</mn></msub></msub><mrow><mo fence="true">(</mo><mi>z</mi><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mi>z</mi><mrow><mo fence="true">(</mo><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>z</mi><mo fence="true">)</mo></mrow><mfrac><mi mathvariant="normal">d</mi><mrow><mi mathvariant="normal">d</mi><mi>z</mi></mrow></mfrac><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><msub><mi>n</mi><mn>0</mn></msub></munderover><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>n</mi><mn>0</mn></msub></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>−</mo><mi>k</mi></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><msup><mi>z</mi><mi>k</mi></msup><mo>+</mo><mrow><mo fence="true">(</mo><msub><mi>n</mi><mn>0</mn></msub><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><msub><mi>n</mi><mn>0</mn></msub></munderover><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>n</mi><mn>0</mn></msub></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>−</mo><mi>k</mi></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><msup><mi>z</mi><mi>k</mi></msup><mo fence="true">)</mo></mrow></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(supposed)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mi>z</mi><mrow><mo fence="true">(</mo><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>z</mi><mo fence="true">)</mo></mrow><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><msub><mi>n</mi><mn>0</mn></msub></munderover><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>n</mi><mn>0</mn></msub></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>−</mo><mi>k</mi></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><mi>k</mi><msup><mi>z</mi><mrow><mi>k</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><mrow><mo fence="true">(</mo><msub><mi>n</mi><mn>0</mn></msub><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><msub><mi>n</mi><mn>0</mn></msub></munderover><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>n</mi><mn>0</mn></msub></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>−</mo><mi>k</mi></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><msup><mi>z</mi><mi>k</mi></msup><mo fence="true">)</mo></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mi>z</mi><mrow><mo fence="true">(</mo><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><msub><mi>n</mi><mn>0</mn></msub></munderover><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>n</mi><mn>0</mn></msub></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>−</mo><mi>k</mi></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><mi>k</mi><msup><mi>z</mi><mrow><mi>k</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>−</mo><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><msub><mi>n</mi><mn>0</mn></msub></munderover><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>n</mi><mn>0</mn></msub></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>−</mo><mi>k</mi></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><mi>k</mi><msup><mi>z</mi><mi>k</mi></msup><mo>+</mo><mrow><mo fence="true">(</mo><msub><mi>n</mi><mn>0</mn></msub><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><msub><mi>n</mi><mn>0</mn></msub></munderover><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>n</mi><mn>0</mn></msub></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>−</mo><mi>k</mi></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><msup><mi>z</mi><mi>k</mi></msup><mo fence="true">)</mo></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mi>z</mi><mrow><mo fence="true">(</mo><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><msub><mi>n</mi><mn>0</mn></msub></munderover><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>n</mi><mn>0</mn></msub></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><mrow><mo fence="true">(</mo><mi>k</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><msup><mi>z</mi><mi>k</mi></msup><mo>−</mo><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><msub><mi>n</mi><mn>0</mn></msub></munderover><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>n</mi><mn>0</mn></msub></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>−</mo><mi>k</mi></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><mi>k</mi><msup><mi>z</mi><mi>k</mi></msup><mo>+</mo><mrow><mo fence="true">(</mo><msub><mi>n</mi><mn>0</mn></msub><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><msub><mi>n</mi><mn>0</mn></msub></munderover><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>n</mi><mn>0</mn></msub></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>−</mo><mi>k</mi></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><msup><mi>z</mi><mi>k</mi></msup><mo fence="true">)</mo></mrow></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Lemma 3)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mi>z</mi><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><msub><mi>n</mi><mn>0</mn></msub></munderover><mrow><mo fence="true">(</mo><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>n</mi><mn>0</mn></msub></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><mrow><mo fence="true">(</mo><mi>k</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><msup><mi>z</mi><mi>k</mi></msup><mo>−</mo><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>n</mi><mn>0</mn></msub></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>−</mo><mi>k</mi></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><mi>k</mi><msup><mi>z</mi><mi>k</mi></msup><mo>+</mo><mrow><mo fence="true">(</mo><msub><mi>n</mi><mn>0</mn></msub><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>n</mi><mn>0</mn></msub></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>−</mo><mi>k</mi></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><msup><mi>z</mi><mi>k</mi></msup><mo fence="true">)</mo></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><msub><mi>n</mi><mn>0</mn></msub></munderover><mrow><mo fence="true">(</mo><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>n</mi><mn>0</mn></msub></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><mrow><mo fence="true">(</mo><mi>k</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo>−</mo><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>n</mi><mn>0</mn></msub></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>−</mo><mi>k</mi></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><mi>k</mi><mo>+</mo><mrow><mo fence="true">(</mo><msub><mi>n</mi><mn>0</mn></msub><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>n</mi><mn>0</mn></msub></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>−</mo><mi>k</mi></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><mo fence="true">)</mo></mrow><msup><mi>z</mi><mrow><mi>k</mi><mo>+</mo><mn>1</mn></mrow></msup></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>+</mo><mn>1</mn></mrow></munderover><mrow><mo fence="true">(</mo><mi>k</mi><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>n</mi><mn>0</mn></msub></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>−</mo><mi>k</mi></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><mo>+</mo><mrow><mo fence="true">(</mo><msub><mi>n</mi><mn>0</mn></msub><mo>−</mo><mi>k</mi><mo>+</mo><mn>2</mn><mo fence="true">)</mo></mrow><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>n</mi><mn>0</mn></msub></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>−</mo><mi>k</mi><mo>+</mo><mn>1</mn></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><mo fence="true">)</mo></mrow><msup><mi>z</mi><mi>k</mi></msup></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>+</mo><mn>1</mn></mrow></munderover><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>+</mo><mn>1</mn></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msub><mi>n</mi><mn>0</mn></msub><mo>−</mo><mi>k</mi><mo>+</mo><mn>1</mn></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><msup><mi>z</mi><mi>k</mi></msup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Lemma 2)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><mi>n</mi></munderover><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>n</mi></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>n</mi><mo>−</mo><mi>k</mi></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><msup><mi>z</mi><mi>k</mi></msup><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
&amp;\phantom{=}~\,f_n\!\left(z\right)\\
&amp;=z\,\left(1-z\right)^{n_0+2}\frac{\mathrm d}{\mathrm dz}\left(\frac{f_{n_0}\left(z\right)}{\left(1-z\right)^{n_0+1}}\right)
&amp;\text{(Lemma 1)}\\
&amp;=z\,\left(1-z\right)^{n_0+2}\frac{\frac{\mathrm df_{n_0}\left(z\right)}{\mathrm dz}\left(1-z\right)^{n_0+1}-f_{n_0}\!\left(z\right)\frac{\mathrm d\left(\left(1-z\right)^{n_0+1}\right)}{\mathrm dz}}{\left(1-z\right)^{2n_0+2}}\\
&amp;=z\,\left(1-z\right)^{n_0+2}\frac{\frac{\mathrm df_{n_0}\left(z\right)}{\mathrm dz}\left(1-z\right)^{n_0+1}+\left(n_0+1\right)f_{n_0}\!\left(z\right)\left(1-z\right)^{n_0}}{\left(1-z\right)^{2n_0+2}}\\
&amp;=z\left(\frac{\mathrm df_{n_0}\!\left(z\right)}{\mathrm dz}\left(1-z\right)+\left(n_0+1\right)f_{n_0}\left(z\right)\right)\\
&amp;=z\left(\left(1-z\right)\frac{\mathrm d}{\mathrm dz}\sum_{k=1}^{n_0}\left&lt;\begin{matrix}n_0\\n_0-k\end{matrix}\right&gt;z^k+\left(n_0+1\right)\sum_{k=1}^{n_0}\left&lt;\begin{matrix}n_0\\n_0-k\end{matrix}\right&gt;z^k\right)
&amp;\text{(supposed)}\\
&amp;=z\left(\left(1-z\right)\sum_{k=1}^{n_0}\left&lt;\begin{matrix}n_0\\n_0-k\end{matrix}\right&gt;kz^{k-1}+\left(n_0+1\right)\sum_{k=1}^{n_0}\left&lt;\begin{matrix}n_0\\n_0-k\end{matrix}\right&gt;z^k\right)\\
&amp;=z\left(\sum_{k=1}^{n_0}\left&lt;\begin{matrix}n_0\\n_0-k\end{matrix}\right&gt;kz^{k-1}-\sum_{k=1}^{n_0}\left&lt;\begin{matrix}n_0\\n_0-k\end{matrix}\right&gt;kz^k+\left(n_0+1\right)\sum_{k=1}^{n_0}\left&lt;\begin{matrix}n_0\\n_0-k\end{matrix}\right&gt;z^k\right)\\
&amp;=z\left(\sum_{k=0}^{n_0}\left&lt;\begin{matrix}n_0\\n_0-k-1\end{matrix}\right&gt;\left(k+1\right)z^k-\sum_{k=0}^{n_0}\left&lt;\begin{matrix}n_0\\n_0-k\end{matrix}\right&gt;kz^k+\left(n_0+1\right)\sum_{k=0}^{n_0}\left&lt;\begin{matrix}n_0\\n_0-k\end{matrix}\right&gt;z^k\right)
&amp;\text{(Lemma 3)}\\
&amp;=z\sum_{k=0}^{n_0}\left(\left&lt;\begin{matrix}n_0\\n_0-k-1\end{matrix}\right&gt;\left(k+1\right)z^k-\left&lt;\begin{matrix}n_0\\n_0-k\end{matrix}\right&gt;kz^k+\left(n_0+1\right)\left&lt;\begin{matrix}n_0\\n_0-k\end{matrix}\right&gt;z^k\right)\\
&amp;=\sum_{k=0}^{n_0}\left(\left&lt;\begin{matrix}n_0\\n_0-k-1\end{matrix}\right&gt;\left(k+1\right)-\left&lt;\begin{matrix}n_0\\n_0-k\end{matrix}\right&gt;k+\left(n_0+1\right)\left&lt;\begin{matrix}n_0\\n_0-k\end{matrix}\right&gt;\right)z^{k+1}\\
&amp;=\sum_{k=1}^{n_0+1}\left(k\left&lt;\begin{matrix}n_0\\n_0-k\end{matrix}\right&gt;+\left(n_0-k+2\right)\left&lt;\begin{matrix}n_0\\n_0-k+1\end{matrix}\right&gt;\right)z^k\\
&amp;=\sum_{k=1}^{n_0+1}\left&lt;\begin{matrix}n_0+1\\n_0-k+1\end{matrix}\right&gt;z^k
&amp;\text{(Lemma 2)}\\
&amp;=\sum_{k=1}^n\left&lt;\begin{matrix}n\\n-k\end{matrix}\right&gt;z^k.
\end{align*}</annotation></semantics></math></span></span></span>
Then we can derive that the result is true by mathematical induction. <span class="qed-wrapper qed-normal"><span class="qed qed-normal"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">□</mi></mrow><annotation encoding="application/x-tex">\square</annotation></semantics></math></span></span></span></span></p>
<p class="no-indent">
<strong>Lemma 5.</strong> <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>−</mo><mi>j</mi></mrow></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>n</mi><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><msup><mi>j</mi><mi>n</mi></msup><mo>=</mo><mi>n</mi><mo stretchy="false">!</mo><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\sum_{j=0}^n\left(-1\right)^{n-j}\binom njj^n=n!.</annotation></semantics></math></span></span></span>
</p>
<p class="no-indent">
<em>Proof.</em> Because <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="normal">e</mi><mi>x</mi></msup><mo>−</mo><mn>1</mn><mo>∼</mo><mi>x</mi></mrow><annotation encoding="application/x-tex">\mathrm e^x-1\sim x</annotation></semantics></math></span></span> (in terms of infinitesimal quantity), <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mrow><mo fence="true">(</mo><msup><mi mathvariant="normal">e</mi><mi>x</mi></msup><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>n</mi></msup><mo>∼</mo><msup><mi>x</mi><mi>n</mi></msup></mrow><annotation encoding="application/x-tex">\left(\mathrm e^x-1\right)^n\sim x^n</annotation></semantics></math></span></span>, i.e. <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msup><mrow><mo fence="true">(</mo><msup><mi mathvariant="normal">e</mi><mi>x</mi></msup><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>n</mi></msup><mo>=</mo><msup><mi>x</mi><mi>n</mi></msup><mo>+</mo><mi>o</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>x</mi><mi>n</mi></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\left(\mathrm e^x-1\right)^n=x^n+o\!\left(x^n\right)</annotation></semantics></math></span></span></span> (where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>o</mi></mrow><annotation encoding="application/x-tex">o</annotation></semantics></math></span></span> denotes higher order of infinitesimal quantity).
</p>
<p>Apply Newton’s binomial theorem to the left-hand side, and we have <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>−</mo><mi>j</mi></mrow></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>n</mi><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><msup><mi mathvariant="normal">e</mi><mrow><mi>j</mi><mi>x</mi></mrow></msup><mo>=</mo><msup><mi>x</mi><mi>n</mi></msup><mo>+</mo><mi>o</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>x</mi><mi>n</mi></msup><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\sum_{j=0}^n\left(-1\right)^{n-j}\binom nj\mathrm e^{jx}=x^n+o\!\left(x^n\right).</annotation></semantics></math></span></span></span> Take <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi></mrow><annotation encoding="application/x-tex">n</annotation></semantics></math></span></span>th derivative of the equation, and we have
<span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>−</mo><mi>j</mi></mrow></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>n</mi><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><msup><mi>j</mi><mi>n</mi></msup><msup><mi mathvariant="normal">e</mi><mrow><mi>j</mi><mi>x</mi></mrow></msup><mo>=</mo><mi>n</mi><mo stretchy="false">!</mo><mo>+</mo><mi>o</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\sum_{j=0}^n\left(-1\right)^{n-j}\binom njj^n\mathrm e^{jx}=n!+o\!\left(1\right).</annotation></semantics></math></span></span></span> Take <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>x</mi><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">x=0</annotation></semantics></math></span></span>, and we have
<span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>−</mo><mi>j</mi></mrow></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>n</mi><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><msup><mi>j</mi><mi>n</mi></msup><mo>=</mo><mi>n</mi><mo stretchy="false">!</mo><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\sum_{j=0}^n\left(-1\right)^{n-j}\binom njj^n=n!.</annotation></semantics></math></span></span></span> <span class="qed-wrapper qed-last"><span class="qed qed-last"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">□</mi></mrow><annotation encoding="application/x-tex">\square</annotation></semantics></math></span></span></span></span></p>
<p class="no-indent">
<strong>Lemma 6.</strong> <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>−</mo><mi>j</mi></mrow></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>n</mi><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><msup><mrow><mo fence="true">(</mo><mi>j</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>n</mi></msup><mo>=</mo><mi>n</mi><mo stretchy="false">!</mo><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\sum_{j=0}^n\left(-1\right)^{n-j}\binom nj\left(j+1\right)^n=n!.</annotation></semantics></math></span></span></span>
</p>
<p class="no-indent">
<em>Proof.</em> <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mtable rowspacing="0.25em" columnalign="right left right" columnspacing="0em 1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><msup><mi>j</mi><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow></msup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Lemma 5)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>1</mn></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><msup><mi>j</mi><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow></msup></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>1</mn></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>1</mn></mrow></msup><mfrac><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow><mrow><mi>j</mi><mo stretchy="false">!</mo><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><msup><mi>j</mi><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow></msup></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>1</mn></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>1</mn></mrow></msup><mfrac><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>n</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>j</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><msup><mi>j</mi><mi>n</mi></msup></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>−</mo><mi>j</mi></mrow></msup><mfrac><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>n</mi><mo stretchy="false">!</mo></mrow><mrow><mi>j</mi><mo stretchy="false">!</mo><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>j</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>j</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>n</mi></msup></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>−</mo><mi>j</mi></mrow></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>n</mi><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><msup><mrow><mo fence="true">(</mo><mi>j</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>n</mi></msup><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
\left(n+1\right)!&amp;=\sum_{j=0}^n\left(-1\right)^{n-j+1}\binom{n+1}jj^{n+1}&amp;
\text{(Lemma 5)}\\
&amp;=\sum_{j=1}^n\left(-1\right)^{n-j+1}\binom{n+1}jj^{n+1}\\
&amp;=\sum_{j=1}^n\left(-1\right)^{n-j+1}\frac{\left(n+1\right)!}{j!\left(n-j+1\right)!}j^{n+1}
\\
&amp;=\sum_{j=1}^n\left(-1\right)^{n-j+1}\frac{\left(n+1\right)n!}{\left(j-1\right)!\left(n-j+1\right)!}j^n\\
&amp;=\sum_{j=0}^n\left(-1\right)^{n-j}\frac{\left(n+1\right)n!}{j!\left(n-j\right)!}\left(j+1\right)^n\\
&amp;=\left(n+1\right)\sum_{j=0}^n\left(-1\right)^{n-j}\binom nj\left(j+1\right)^n.
\end{align*}</annotation></semantics></math></span></span></span>
<span class="qed-wrapper qed-last"><span class="qed qed-last"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">□</mi></mrow><annotation encoding="application/x-tex">\square</annotation></semantics></math></span></span></span></span>
</p>
<p class="no-indent">
<strong>Lemma 7.</strong> <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>n</mi></munderover><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>n</mi></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>k</mi></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow><mo>=</mo><mi>n</mi><mo stretchy="false">!</mo><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\sum_{k=0}^n\left&lt;\begin{matrix}n\\k\end{matrix}\right&gt;=n!.</annotation></semantics></math></span></span></span>
</p>
<p class="no-indent">
<em>Proof.</em>
<span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mtable rowspacing="0.25em" columnalign="right left right" columnspacing="0em 1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mphantom><mo>=</mo></mphantom><mtext> </mtext><mtext> </mtext><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>n</mi></munderover><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>n</mi></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>k</mi></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>n</mi></munderover><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>k</mi><mo>+</mo><mn>1</mn></mrow></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><msup><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>n</mi></msup></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>n</mi></munderover><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>k</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><msup><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>n</mi></msup></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>n</mi></munderover><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mi>j</mi></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><msup><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>n</mi></msup></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mi>j</mi></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>n</mi></msup></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>n</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>1</mn></mrow></munderover><msup><mi>k</mi><mi>n</mi></msup></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>−</mo><mi>j</mi></mrow></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow><mrow><mi>n</mi><mo>−</mo><mi>j</mi></mrow></mfrac><mo fence="true">)</mo></mrow><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>j</mi><mo>+</mo><mn>1</mn></mrow></munderover><msup><mi>k</mi><mi>n</mi></msup></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>−</mo><mi>j</mi></mrow></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow><mrow><mi>j</mi><mo>+</mo><mn>1</mn></mrow></mfrac><mo fence="true">)</mo></mrow><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>j</mi><mo>+</mo><mn>1</mn></mrow></munderover><msup><mi>k</mi><mi>n</mi></msup></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>−</mo><mi>j</mi></mrow></msup><mrow><mo fence="true">(</mo><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>n</mi><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><mo>+</mo><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>n</mi><mrow><mi>j</mi><mo>+</mo><mn>1</mn></mrow></mfrac><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>j</mi><mo>+</mo><mn>1</mn></mrow></munderover><msup><mi>k</mi><mi>n</mi></msup></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>−</mo><mi>j</mi></mrow></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>n</mi><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>j</mi><mo>+</mo><mn>1</mn></mrow></munderover><msup><mi>k</mi><mi>n</mi></msup><mo>+</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>−</mo><mi>j</mi></mrow></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>n</mi><mrow><mi>j</mi><mo>+</mo><mn>1</mn></mrow></mfrac><mo fence="true">)</mo></mrow><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>j</mi><mo>+</mo><mn>1</mn></mrow></munderover><msup><mi>k</mi><mi>n</mi></msup></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>−</mo><mi>j</mi></mrow></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>n</mi><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><msup><mrow><mo fence="true">(</mo><mi>j</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>n</mi></msup><mo>+</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>−</mo><mi>j</mi></mrow></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>n</mi><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><mi>j</mi></munderover><msup><mi>k</mi><mi>n</mi></msup><mo>+</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>1</mn></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>n</mi><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><mi>j</mi></munderover><msup><mi>k</mi><mi>n</mi></msup></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mi>n</mi><mo stretchy="false">!</mo><mo>+</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>1</mn></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>−</mo><mi>j</mi></mrow></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>n</mi><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><mi>j</mi></munderover><msup><mi>k</mi><mi>n</mi></msup><mo>−</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>1</mn></mrow><mi>n</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>−</mo><mi>j</mi></mrow></msup><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>n</mi><mi>j</mi></mfrac><mo fence="true">)</mo></mrow><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><mi>j</mi></munderover><msup><mi>k</mi><mi>n</mi></msup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Lemma 6)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mi>n</mi><mo stretchy="false">!</mo><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
&amp;\phantom{=}~\,\sum_{k=0}^n\left&lt;\begin{matrix}n\\k\end{matrix}\right&gt;\\
&amp;=\sum_{k=0}^n\sum_{j=0}^{k+1}\left(-1\right)^j\binom{n+1}j\left(k-j+1\right)^n\\
&amp;=\sum_{k=0}^n\sum_{j=0}^k\left(-1\right)^j\binom{n+1}j\left(k-j+1\right)^n\\
&amp;=\sum_{j=0}^n\sum_{k=j}^n\left(-1\right)^j\binom{n+1}j\left(k-j+1\right)^n\\
&amp;=\sum_{j=0}^n\left(-1\right)^j\binom{n+1}j\sum_{k=j}^n\left(k-j+1\right)^n\\
&amp;=\sum_{j=0}^n\left(-1\right)^j\binom{n+1}j\sum_{k=1}^{n-j+1}k^n\\
&amp;=\sum_{j=0}^n\left(-1\right)^{n-j}\binom{n+1}{n-j}\sum_{k=1}^{j+1}k^n\\
&amp;=\sum_{j=0}^n\left(-1\right)^{n-j}\binom{n+1}{j+1}\sum_{k=1}^{j+1}k^n\\
&amp;=\sum_{j=0}^n\left(-1\right)^{n-j}\left(\binom nj+\binom n{j+1}\right)\sum_{k=1}^{j+1}k^n\\
&amp;=\sum_{j=0}^n\left(-1\right)^{n-j}\binom nj\sum_{k=1}^{j+1}k^n+\sum_{j=0}^n\left(-1\right)^{n-j}\binom n{j+1}\sum_{k=1}^{j+1}k^n\\
&amp;=\sum_{j=0}^n\left(-1\right)^{n-j}\binom nj\left(j+1\right)^n+\sum_{j=0}^n\left(-1\right)^{n-j}\binom nj\sum_{k=1}^jk^n+\sum_{j=1}^n\left(-1\right)^{n-j+1}\binom nj\sum_{k=1}^jk^n\\
&amp;=n!+\sum_{j=1}^n\left(-1\right)^{n-j}\binom nj\sum_{k=1}^jk^n-\sum_{j=1}^n\left(-1\right)^{n-j}\binom nj\sum_{k=1}^jk^n
&amp;\text{(Lemma 6)}\\
&amp;=n!.
\end{align*}</annotation></semantics></math></span></span></span>
<span class="qed-wrapper qed-last"><span class="qed qed-last"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">□</mi></mrow><annotation encoding="application/x-tex">\square</annotation></semantics></math></span></span></span></span>
</p>
<p class="no-indent">
<em>Proof of the original proposition.</em> By Lemma 4, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>f</mi><mi>n</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>z</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">f_n\!\left(z\right)</annotation></semantics></math></span></span> is a polynomial of degree <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi></mrow><annotation encoding="application/x-tex">n</annotation></semantics></math></span></span> in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>z</mi></mrow><annotation encoding="application/x-tex">z</annotation></semantics></math></span></span> (Lemma 3 guarantees that the coefficient of the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi></mrow><annotation encoding="application/x-tex">n</annotation></semantics></math></span></span>th degree term is not <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>0</mn></mrow><annotation encoding="application/x-tex">0</annotation></semantics></math></span></span>).
</p>
<p>The sum of coefficients <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mtable rowspacing="0.25em" columnalign="right left right" columnspacing="0em 1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><mi>n</mi></munderover><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>n</mi></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>n</mi><mo>−</mo><mi>k</mi></mrow></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>n</mi><mo>−</mo><mn>1</mn></mrow></munderover><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>n</mi></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>k</mi></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>n</mi></munderover><mrow><mo fence="true">&lt;</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>n</mi></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>k</mi></mstyle></mtd></mtr></mtable><mo fence="true">&gt;</mo></mrow></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Lemma 3)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mi>n</mi><mo stretchy="false">!</mo><mi mathvariant="normal">.</mi></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Lemma 7)</mtext></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
\sum_{k=1}^n\left&lt;\begin{matrix}n\\n-k\end{matrix}\right&gt;
&amp;=\sum_{k=0}^{n-1}\left&lt;\begin{matrix}n\\k\end{matrix}\right&gt;\\
&amp;=\sum_{k=0}^n\left&lt;\begin{matrix}n\\k\end{matrix}\right&gt;
&amp;\text{(Lemma 3)}\\
&amp;=n!.
&amp;\text{(Lemma 7)}
\end{align*}</annotation></semantics></math></span></span></span> <span class="qed-wrapper qed-span"><span class="qed qed-span"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">□</mi></mrow><annotation encoding="application/x-tex">\square</annotation></semantics></math></span></span></span></span></p>]]></content><author><name>UlyssesZhan</name><email>ulysseszhan@gmail.com</email></author><category term="math" /><category term="combinatorics" /><category term="number sequence" /><category term="from zhihu" /><summary type="html"><![CDATA[The function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>z</mi><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>+</mo><mn>1</mn></mrow></msup><msubsup><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>1</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><msup><mi>k</mi><mi>n</mi></msup><msup><mi>z</mi><mi>k</mi></msup></mrow><annotation encoding="application/x-tex">\left(1-z\right)^{n+1}\sum_{k=1}^\infty k^nz^k</annotation></semantics></math></span></span> is a polynomial of degree <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi></mrow><annotation encoding="application/x-tex">n</annotation></semantics></math></span></span> w.r.t. <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>z</mi></mrow><annotation encoding="application/x-tex">z</annotation></semantics></math></span></span>, and the sum of its coefficients is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow><annotation encoding="application/x-tex">n!</annotation></semantics></math></span></span>. This turns out to be properties of Eulerian numbers.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://ulysseszh.github.io/assets/images/covers/2022-11-09-sum-coef-factorial.png" /><media:content medium="image" url="https://ulysseszh.github.io/assets/images/covers/2022-11-09-sum-coef-factorial.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html"><![CDATA[Solving linear homogeneous ODE with constant coefficients]]></title><link href="https://ulysseszh.github.io/math/2022/11/06/linear-ode-solution.html" rel="alternate" type="text/html" title="Solving linear homogeneous ODE with constant coefficients" /><published>2022-11-06T16:42:48-08:00</published><updated>2022-11-06T16:42:48-08:00</updated><id>https://ulysseszh.github.io/math/2022/11/06/linear-ode-solution</id><content type="html" xml:base="https://ulysseszh.github.io/math/2022/11/06/linear-ode-solution.html"><![CDATA[<p>
  <em>This article is translated from a Chinese <a href="https://zhuanlan.zhihu.com/p/60752992" target="_blank" rel="external">article</a> on my Zhihu account. The original article was posted at 2019-04-06 13:46 +0800.</em>
</p>
<p><em>Notice</em>: Because this article was written very early, there are many mistakes and inappropriate notations.</p>
<hr/>
<p>(I’m going to challenge writing articles without sum symbols!)</p>
<p>In this article, functions all refer to unary functions; both independent and dependent variables are scalars; and differentials refer to ordinary differentials.</p>
<p class="no-indent">
<strong>Definition 1</strong> (linear differential operator)<strong>.</strong> Let <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>L</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi mathvariant="normal">D</mi><mo separator="true">,</mo><mi>x</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">L\!\left(\mathrm D,x\right)</annotation></semantics></math></span></span> be a differential operator. If for any two functions <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>F</mi><mn>1</mn></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow><mo separator="true">,</mo><msub><mi>F</mi><mn>2</mn></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">F_1\!\left(x\right),F_2\!\left(x\right)</annotation></semantics></math></span></span> and constants <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>C</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>C</mi><mn>2</mn></msub></mrow><annotation encoding="application/x-tex">C_1,C_2</annotation></semantics></math></span></span>, the operator satisfies
<span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi>L</mi><mrow><mo fence="true">(</mo><msub><mi>C</mi><mn>1</mn></msub><msub><mi>F</mi><mn>2</mn></msub><mo>+</mo><msub><mi>C</mi><mn>2</mn></msub><msub><mi>F</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>=</mo><msub><mi>C</mi><mn>1</mn></msub><mi>L</mi><msub><mi>F</mi><mn>1</mn></msub><mo>+</mo><msub><mi>C</mi><mn>2</mn></msub><mi>L</mi><msub><mi>F</mi><mn>2</mn></msub><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">L\left(C_1F_2+C_2F_2\right)=C_1LF_1+C_2LF_2,</annotation></semantics></math></span></span></span> then <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>L</mi></mrow><annotation encoding="application/x-tex">L</annotation></semantics></math></span></span> is a linear differential operator.
</p>
<p class="no-indent">
<strong>Lemma 1.</strong> The sufficient and necessary condition for <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>L</mi></mrow><annotation encoding="application/x-tex">L</annotation></semantics></math></span></span> to be a linear differential operator is that for any tuple of functions <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>F</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\vec F\!\left(x\right)</annotation></semantics></math></span></span> and any tuple of constants <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>C</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec C</annotation></semantics></math></span></span> (the dimensions of the two vectors are the same), the operator satisfies <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi>L</mi><mrow><mo fence="true">(</mo><mover accent="true"><mi>C</mi><mo>⃗</mo></mover><mo>⋅</mo><mover accent="true"><mi>F</mi><mo>⃗</mo></mover><mo fence="true">)</mo></mrow><mo>=</mo><mover accent="true"><mi>C</mi><mo>⃗</mo></mover><mo>⋅</mo><mi>L</mi><mover accent="true"><mi>F</mi><mo>⃗</mo></mover><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">L\left(\vec C\cdot\vec F\right)=\vec C\cdot L\vec F.</annotation></semantics></math></span></span></span>
</p>
<p class="no-indent">
<em>Brief proof.</em> Directly letting <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>C</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec C</annotation></semantics></math></span></span> and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>F</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec F</annotation></semantics></math></span></span> be 2-dimensional vectors and using Definition 1, the sufficiency can be proved; by using mathematical induction on the dimension of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>C</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec C</annotation></semantics></math></span></span> and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>F</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec F</annotation></semantics></math></span></span>, the necessity can be proved. <span class="qed-wrapper qed-normal"><span class="qed qed-normal"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">□</mi></mrow><annotation encoding="application/x-tex">\square</annotation></semantics></math></span></span></span></span>
</p>
<p class="no-indent">
<strong>Definition 2.</strong> <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mover accent="true"><msub><mi>a</mi><mi>n</mi></msub><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">(</mo><msub><mi>a</mi><mn>0</mn></msub><mo separator="true">,</mo><msub><mi>a</mi><mn>1</mn></msub><mo separator="true">,</mo><mo>…</mo><mo separator="true">,</mo><msub><mi>a</mi><mi>m</mi></msub><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\overrightarrow{a_n}_{n=0}^m\coloneqq\left(a_0,a_1,\ldots,a_m\right)</annotation></semantics></math></span></span>.
</p>
<p class="no-indent">
<strong>Lemma 2.</strong> Suppose the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi>m</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(m+1\right)</annotation></semantics></math></span></span>-dimensional vector <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>a</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec a</annotation></semantics></math></span></span> is independent to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>x</mi></mrow><annotation encoding="application/x-tex">x</annotation></semantics></math></span></span>, and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mrow><mo fence="true">{</mo><msub><mi>f</mi><mi>n</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow><mo fence="true">}</mo></mrow><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></msubsup></mrow><annotation encoding="application/x-tex">\left\{f_n\!\left(x\right)\right\}_{n=0}^s</annotation></semantics></math></span></span> is a sequence of functions, then <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msup><mi mathvariant="normal">D</mi><mi>k</mi></msup><mrow><mo fence="true">(</mo><mover accent="true"><mi>a</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><mrow><msub><mi>f</mi><mi>n</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow></mrow><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></msubsup><mo fence="true">)</mo></mrow><mo>=</mo><mover accent="true"><mi>a</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><mrow><msup><mi mathvariant="normal">D</mi><mi>k</mi></msup><msub><mi>f</mi><mi>n</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow></mrow><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></msubsup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\mathrm D^k\left(\vec a\cdot\overrightarrow{f_n\!\left(x\right)}_{n=0}^s\right)
=\vec a\cdot\overrightarrow{\mathrm D^kf_n\!\left(x\right)}_{n=0}^s.</annotation></semantics></math></span></span></span>
</p>
<p class="no-indent">
<em>Brief proof.</em> By mathematical induction. <span class="qed-wrapper qed-normal"><span class="qed qed-normal"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">□</mi></mrow><annotation encoding="application/x-tex">\square</annotation></semantics></math></span></span></span></span>
</p>
<p class="no-indent">
<strong>Lemma 3.</strong> Suppose <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>P</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec P</annotation></semantics></math></span></span> is a tuple of functions w.r.t. <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>x</mi></mrow><annotation encoding="application/x-tex">x</annotation></semantics></math></span></span>, and the dimension of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>P</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec P</annotation></semantics></math></span></span> is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>m</mi><mo>+</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">m+1</annotation></semantics></math></span></span>, then the differential operator <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi>L</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi mathvariant="normal">D</mi><mo separator="true">,</mo><mi>x</mi><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><mover accent="true"><mi>P</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msup><mi mathvariant="normal">D</mi><mi>k</mi></msup><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup></mrow><annotation encoding="application/x-tex">L\!\left(\mathrm D,x\right)\coloneqq\vec P\cdot\overrightarrow{\mathrm D^k}^m_{k=0}</annotation></semantics></math></span></span></span> is a linear differential operator.
</p>
<p class="no-indent">
<em>Brief proof.</em> By Definition 1. <span class="qed-wrapper qed-normal"><span class="qed qed-normal"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">□</mi></mrow><annotation encoding="application/x-tex">\square</annotation></semantics></math></span></span></span></span>
</p>
<p class="no-indent">
<strong>Corollary of Lemma 3.</strong> Suppose <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec p</annotation></semantics></math></span></span> is a constant <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi>m</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(m+1\right)</annotation></semantics></math></span></span>-dimensional vector, then the differential operator <span id="eq:lin-diff-op-w-const-coef" data-label="(1)"><span class="katex-display-table"> <span class="katex-display-numbered"><span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi>L</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi mathvariant="normal">D</mi><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msup><mi mathvariant="normal">D</mi><mi>k</mi></msup><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup></mrow><annotation encoding="application/x-tex">L\!\left(\mathrm D\right)\coloneqq\vec p\cdot\overrightarrow{\mathrm D^k}^m_{k=0}</annotation></semantics></math></span></span></span></span> <span class="katex-display-number"><span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(1)</annotation></semantics></math></span></span></span></span> </span></span> is a linear differential operator.
</p>
<p class="no-indent">
<strong>Lemma 4</strong> (associativity)<strong>.</strong> <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msubsup><mover accent="true"><mrow><msub><mi>a</mi><mi>k</mi></msub><msub><mi>b</mi><mi>k</mi></msub></mrow><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><msub><mi>c</mi><mi>k</mi></msub><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mo>=</mo><msubsup><mover accent="true"><msub><mi>a</mi><mi>k</mi></msub><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><mrow><msub><mi>b</mi><mi>k</mi></msub><msub><mi>c</mi><mi>k</mi></msub></mrow><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\overrightarrow{a_kb_k}_{k=0}^m\cdot\overrightarrow{c_k}_{k=0}^m
=\overrightarrow{a_k}_{k=0}^m\cdot\overrightarrow{b_kc_k}_{k=0}^m.</annotation></semantics></math></span></span></span>
</p>
<p>Proof is omitted.</p>
<p class="no-indent">
<strong>Definition 3</strong> (linear differential operator with constant coefficients)<strong>.</strong> Linear differential operators with form as Equation <a href="#eq:lin-diff-op-w-const-coef">1</a> are called linear differential operators with constant coefficients.
</p>
<p class="no-indent">
<strong>Definition 4</strong> (linear ODE)<strong>.</strong> Suppose <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>L</mi></mrow><annotation encoding="application/x-tex">L</annotation></semantics></math></span></span> is a linear differential operator. Then the ODE w.r.t. the function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>y</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">y\!\left(x\right)</annotation></semantics></math></span></span> <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi>L</mi><mi>y</mi><mo>=</mo><mi>f</mi></mrow><annotation encoding="application/x-tex">Ly=f</annotation></semantics></math></span></span></span> is called a linear ODE, where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">f\!\left(x\right)</annotation></semantics></math></span></span> is a function.
</p>
<p>Specially, if <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">f=0</annotation></semantics></math></span></span>, the ODE is called a homogeneous linear ODE. If <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>L</mi></mrow><annotation encoding="application/x-tex">L</annotation></semantics></math></span></span> is a linear differential operator with constant coefficients, then the ODE is called a linear ODE with constant coefficients.</p>
<p class="no-indent">
<strong>Definition 5</strong> (generating function)<strong>.</strong> For a sequence <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mrow><mo fence="true">{</mo><msub><mi>a</mi><mi>n</mi></msub><mo fence="true">}</mo></mrow><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup></mrow><annotation encoding="application/x-tex">\left\{a_n\right\}_{n=0}^\infty</annotation></semantics></math></span></span>, the function <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi>G</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><msubsup><mover accent="true"><msub><mi>a</mi><mi>n</mi></msub><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><msup><mi>x</mi><mi>n</mi></msup><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup></mrow><annotation encoding="application/x-tex">G\!\left(x\right)\coloneqq\overrightarrow{a_n}_{n=0}^\infty\cdot\overrightarrow{x^n}_{n=0}^\infty</annotation></semantics></math></span></span></span> is called the (ordinary) generating function (OGF) of the sequence.
</p>
<p><em>Note.</em> here we do not introduce vectors with infinite dimensions. Actually,</p>
<p>
  <span class="katex-display">
    <span class="katex">
      <span class="katex-mathml">
        <math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
          <semantics>
            <mrow>
              <mi>G</mi>
              <mtext> ⁣</mtext>
              <mrow>
                <mo fence="true">(</mo>
                <mi>x</mi>
                <mo fence="true">)</mo>
              </mrow>
              <mo>
                <mi mathvariant="normal">≔</mi>
              </mo>
              <munder>
                <mrow>
                  <mi>lim</mi>
                  <mo>⁡</mo>
                </mrow>
                <mrow>
                  <mi>s</mi>
                  <mo>→</mo>
                  <mi mathvariant="normal">∞</mi>
                </mrow>
              </munder>
              <msubsup>
                <mover accent="true">
                  <msub>
                    <mi>a</mi>
                    <mi>n</mi>
                  </msub>
                  <mo stretchy="true">→</mo>
                </mover>
                <mrow>
                  <mi>n</mi>
                  <mo>=</mo>
                  <mn>0</mn>
                </mrow>
                <mi>s</mi>
              </msubsup>
              <mo>⋅</mo>
              <msubsup>
                <mover accent="true">
                  <msup>
                    <mi>x</mi>
                    <mi>n</mi>
                  </msup>
                  <mo stretchy="true">→</mo>
                </mover>
                <mrow>
                  <mi>n</mi>
                  <mo>=</mo>
                  <mn>0</mn>
                </mrow>
                <mi>s</mi>
              </msubsup>
              <mi mathvariant="normal">.</mi>
            </mrow>
            <annotation encoding="application/x-tex">G\!\left(x\right)\coloneqq\lim_{s\to\infty}\overrightarrow{a_n}_{n=0}^s\cdot\overrightarrow{x^n}_{n=0}^s.</annotation>
          </semantics>
        </math>
      </span>
    </span>
  </span>
</p>
<p class="no-indent">
<strong>Definition 6</strong> (exponential generating function)<strong>.</strong> For a sequence <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mrow><mo fence="true">{</mo><msub><mi>a</mi><mi>n</mi></msub><mo fence="true">}</mo></mrow><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup></mrow><annotation encoding="application/x-tex">\left\{a_n\right\}_{n=0}^\infty</annotation></semantics></math></span></span>, the OGF of the sequence <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mrow><mo fence="true">{</mo><mfrac><msub><mi>a</mi><mi>n</mi></msub><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow></mfrac><mo fence="true">}</mo></mrow><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup></mrow><annotation encoding="application/x-tex">\left\{\frac{a_n}{n!}\right\}_{n=0}^\infty</annotation></semantics></math></span></span> is called the exponential generating function (EGF) of the sequence <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mrow><mo fence="true">{</mo><msub><mi>a</mi><mi>n</mi></msub><mo fence="true">}</mo></mrow><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup></mrow><annotation encoding="application/x-tex">\left\{a_n\right\}_{n=0}^\infty</annotation></semantics></math></span></span>. In other words,
<span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi>G</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><msubsup><mover accent="true"><mfrac><msub><mi>a</mi><mi>n</mi></msub><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow></mfrac><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><msup><mi>x</mi><mi>n</mi></msup><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">G\!\left(x\right)\coloneqq\overrightarrow{\frac{a_n}{n!}}_{n=0}^\infty\cdot\overrightarrow{x^n}_{n=0}^\infty.</annotation></semantics></math></span></span></span>
</p>
<p class="no-indent">
<strong>Lemma 5</strong> (differential of power functions)<strong>.</strong> Suppose <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo>∈</mo><mi mathvariant="double-struck">N</mi></mrow><annotation encoding="application/x-tex">n,k\in\mathbb N</annotation></semantics></math></span></span>, then <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msup><mi mathvariant="normal">D</mi><mi>k</mi></msup><mrow><mo fence="true">(</mo><msup><mi>x</mi><mi>n</mi></msup><mo fence="true">)</mo></mrow><mo>=</mo><mfrac><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><msup><mi>x</mi><mrow><mi>n</mi><mo>−</mo><mi>k</mi></mrow></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\mathrm D^k\left(x^n\right)=\frac{n!}{\left(n-k\right)!}x^{n-k}.</annotation></semantics></math></span></span></span>
</p>
<p><em>Note.</em> it is stipulated that factorials of negative integers are infinity, so <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="normal">D</mi><mi>k</mi></msup><mrow><mo fence="true">(</mo><msup><mi>x</mi><mi>n</mi></msup><mo fence="true">)</mo></mrow><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">\mathrm D^k\left(x^n\right)=0</annotation></semantics></math></span></span> when <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>&lt;</mo><mi>k</mi></mrow><annotation encoding="application/x-tex">n&lt;k</annotation></semantics></math></span></span>.</p>
<p class="no-indent">
<em>Brief proof.</em> By mathematical induction. <span class="qed-wrapper qed-normal"><span class="qed qed-normal"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">□</mi></mrow><annotation encoding="application/x-tex">\square</annotation></semantics></math></span></span></span></span>
</p>
<p class="no-indent">
<strong>Lemma 6</strong> (differential of EGF)<strong>.</strong> If <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>G</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">G\!\left(x\right)</annotation></semantics></math></span></span> is the EGF of a sequence <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mrow><mo fence="true">{</mo><msub><mi>a</mi><mi>n</mi></msub><mo fence="true">}</mo></mrow><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup></mrow><annotation encoding="application/x-tex">\left\{a_n\right\}_{n=0}^\infty</annotation></semantics></math></span></span>, then <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="normal">D</mi><mi>k</mi></msup><mi>G</mi></mrow><annotation encoding="application/x-tex">\mathrm D^kG</annotation></semantics></math></span></span> is the EGF of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mrow><mo fence="true">{</mo><msub><mi>a</mi><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow></msub><mo fence="true">}</mo></mrow><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup></mrow><annotation encoding="application/x-tex">\left\{a_{n+k}\right\}_{n=0}^\infty</annotation></semantics></math></span></span>.
</p>
<p class="no-indent">
<em>Proof.</em> <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mtable rowspacing="0.25em" columnalign="right left right" columnspacing="0em 1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><msup><mi mathvariant="normal">D</mi><mi>k</mi></msup><mi>G</mi></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msup><mi mathvariant="normal">D</mi><mi>k</mi></msup><mrow><mo fence="true">(</mo><msubsup><mover accent="true"><mfrac><msub><mi>a</mi><mi>n</mi></msub><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow></mfrac><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><msup><mi>x</mi><mi>n</mi></msup><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mo fence="true">)</mo></mrow></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Definition 6)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msubsup><mover accent="true"><mfrac><msub><mi>a</mi><mi>n</mi></msub><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow></mfrac><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><mrow><msup><mi mathvariant="normal">D</mi><mi>k</mi></msup><mrow><mo fence="true">(</mo><msup><mi>x</mi><mi>n</mi></msup><mo fence="true">)</mo></mrow></mrow><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Lemma 2)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msubsup><mover accent="true"><mfrac><msub><mi>a</mi><mi>n</mi></msub><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow></mfrac><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><mrow><mfrac><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><msup><mi>x</mi><mrow><mi>n</mi><mo>−</mo><mi>k</mi></mrow></msup></mrow><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Lemma 5)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msubsup><mover accent="true"><mfrac><msub><mi>a</mi><mi>n</mi></msub><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><msup><mi>x</mi><mrow><mi>n</mi><mo>−</mo><mi>k</mi></mrow></msup><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Lemma 4)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msubsup><mover accent="true"><mfrac><msub><mi>a</mi><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow></msub><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow></mfrac><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><msup><mi>x</mi><mi>n</mi></msup><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mi mathvariant="normal">.</mi></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(note in Lemma 5)</mtext></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
\mathrm D^kG&amp;=\mathrm D^k\left(\overrightarrow{\frac{a_n}{n!}}_{n=0}^\infty\cdot\overrightarrow{x^n}_{n=0}^\infty\right)
&amp;\text{(Definition 6)}\\
&amp;=\overrightarrow{\frac{a_n}{n!}}_{n=0}^\infty\cdot\overrightarrow{\mathrm D^k\left(x^n\right)}_{n=0}^\infty&amp;
\text{(Lemma 2)}\\
&amp;=\overrightarrow{\frac{a_n}{n!}}_{n=0}^\infty\cdot\overrightarrow{\frac{n!}{\left(n-k\right)!}x^{n-k}}_{n=0}^\infty&amp;
\text{(Lemma 5)}\\
&amp;=\overrightarrow{\frac{a_n}{\left(n-k\right)!}}_{n=0}^\infty\cdot\overrightarrow{x^{n-k}}_{n=0}^\infty&amp;
\text{(Lemma 4)}\\
&amp;=\overrightarrow{\frac{a_{n+k}}{n!}}_{n=0}^\infty\cdot\overrightarrow{x^n}_{n=0}^\infty.&amp;
\text{(note in Lemma 5)}
\end{align*}</annotation></semantics></math></span></span></span> Then the result can be proved by Definition 6. <span class="qed-wrapper qed-normal"><span class="qed qed-normal"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">□</mi></mrow><annotation encoding="application/x-tex">\square</annotation></semantics></math></span></span></span></span>
</p>
<p class="no-indent">
<strong>Corollary to Lemma 6.</strong> <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msubsup><mover accent="true"><msup><mi mathvariant="normal">D</mi><mi>k</mi></msup><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mrow><mo fence="true">(</mo><msubsup><mover accent="true"><mfrac><msub><mi>a</mi><mi>n</mi></msub><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow></mfrac><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><msup><mi>x</mi><mi>n</mi></msup><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mo fence="true">)</mo></mrow><mo>=</mo><msubsup><mover accent="true"><mrow><msubsup><mover accent="true"><mfrac><msub><mi>a</mi><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow></msub><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow></mfrac><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><msup><mi>x</mi><mi>n</mi></msup><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup></mrow><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\overrightarrow{\mathrm D^k}_{k=0}^m\left(\overrightarrow{\frac{a_n}{n!}}_{n=0}^\infty\cdot\overrightarrow{x^n}_{n=0}^\infty\right)
=\overrightarrow{\overrightarrow{\frac{a_{n+k}}{n!}}_{n=0}^\infty\cdot\overrightarrow{x^n}_{n=0}^\infty}_{k=0}^\infty.</annotation></semantics></math></span></span></span>
</p>
<p class="no-indent">
<strong>Lemma 7</strong> (associativity)<strong>.</strong> <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msubsup><mover accent="true"><mrow><mover accent="true"><mi>a</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msub><mi>b</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup></mrow><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></msubsup><mo>⋅</mo><mover accent="true"><mi>c</mi><mo>⃗</mo></mover><mo>=</mo><mover accent="true"><mi>a</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><mrow><msubsup><mover accent="true"><msub><mi>b</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></msubsup><mo>⋅</mo><mover accent="true"><mi>c</mi><mo>⃗</mo></mover></mrow><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\overrightarrow{\vec a\cdot\overrightarrow{b_{n,k}}_{k=0}^m}_{n=0}^s\cdot\vec c
=\vec a\cdot\overrightarrow{\overrightarrow{b_{n,k}}_{n=0}^s\cdot\vec c}_{k=0}^m.</annotation></semantics></math></span></span></span>
</p>
<p>Proof is omitted.</p>
<p class="no-indent">
<strong>Definition 7</strong> (zero function)<strong>.</strong> The function whose value is always zero whatever the value of the independent variable is is called the zero function.
</p>
<p class="no-indent">
<strong>Lemma 8.</strong> The sufficient and necessary condition for the OGF/EGF of a sequence <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mrow><mo fence="true">{</mo><msub><mi>a</mi><mi>n</mi></msub><mo fence="true">}</mo></mrow><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup></mrow><annotation encoding="application/x-tex">\left\{a_n\right\}_{n=0}^\infty</annotation></semantics></math></span></span> to be zero function is that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>a</mi><mi>n</mi></msub><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">a_n=0</annotation></semantics></math></span></span> for any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi></mrow><annotation encoding="application/x-tex">n</annotation></semantics></math></span></span>.
</p>
<p class="no-indent">
<em>Brief proof.</em> The sufficiency can be proved by Definition 6 and Definition 7; the necessity can be proved by Taylor expansion of the zero function. <span class="qed-wrapper qed-normal"><span class="qed qed-normal"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">□</mi></mrow><annotation encoding="application/x-tex">\square</annotation></semantics></math></span></span></span></span>
</p>
<p class="no-indent">
<strong>Definition 8.</strong> <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msubsup><mover accent="true"><msubsup><mover accent="true"><msub><mi>a</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></msubsup><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">(</mo><mtable rowspacing="0.16em" columnalign="center center center center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>a</mi><mrow><mn>0</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>a</mi><mrow><mn>0</mn><mo separator="true">,</mo><mn>1</mn></mrow></msub></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mo lspace="0em" rspace="0em">⋯</mo></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>a</mi><mrow><mn>0</mn><mo separator="true">,</mo><mi>m</mi></mrow></msub></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>a</mi><mrow><mn>1</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>a</mi><mrow><mn>1</mn><mo separator="true">,</mo><mn>1</mn></mrow></msub></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mo lspace="0em" rspace="0em">⋯</mo></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>a</mi><mrow><mn>1</mn><mo separator="true">,</mo><mi>m</mi></mrow></msub></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi><mi mathvariant="normal">⋮</mi><mpadded height="0em" voffset="0em"><mspace mathbackground="black" width="0em" height="1.5em"/></mpadded></mi></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mi><mi mathvariant="normal">⋮</mi><mpadded height="0em" voffset="0em"><mspace mathbackground="black" width="0em" height="1.5em"/></mpadded></mi></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mo lspace="0em" rspace="0em">⋱</mo></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mi><mi mathvariant="normal">⋮</mi><mpadded height="0em" voffset="0em"><mspace mathbackground="black" width="0em" height="1.5em"/></mpadded></mi></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>a</mi><mrow><mi>s</mi><mo separator="true">,</mo><mn>0</mn></mrow></msub></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>a</mi><mrow><mi>s</mi><mo separator="true">,</mo><mn>1</mn></mrow></msub></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mo lspace="0em" rspace="0em">⋯</mo></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><msub><mi>a</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>m</mi></mrow></msub></mstyle></mtd></mtr></mtable><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\overrightarrow{\overrightarrow{a_{n,k}}_{n=0}^s}_{k=0}^m\coloneqq
\left(\begin{matrix}
a_{0,0}&amp;a_{0,1}&amp;\cdots&amp;a_{0,m}\\
a_{1,0}&amp;a_{1,1}&amp;\cdots&amp;a_{1,m}\\
\vdots&amp;\vdots&amp;\ddots&amp;\vdots\\
a_{s,0}&amp;a_{s,1}&amp;\cdots&amp;a_{s,m}
\end{matrix}\right).</annotation></semantics></math></span></span></span>
</p>
<p class="no-indent">
<strong>Lemma 9</strong> (distributivity)<strong>.</strong> <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msubsup><mover accent="true"><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msub><mi>a</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup></mrow><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></msubsup><mo>=</mo><msubsup><mover accent="true"><msubsup><mover accent="true"><msub><mi>a</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></msubsup><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\overrightarrow{\vec p\cdot\overrightarrow{a_{n,k}}_{k=0}^m}_{n=0}^s=
\overrightarrow{\overrightarrow{a_{n,k}}_{n=0}^s}_{k=0}^m\vec p.</annotation></semantics></math></span></span></span>
</p>
<p>Proof is omitted.</p>
<p class="no-indent">
<strong>Definition 9</strong> (sequence equation)<strong>.</strong> Let <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mrow><mo fence="true">{</mo><msub><mi>a</mi><mi>n</mi></msub><mo fence="true">}</mo></mrow><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup></mrow><annotation encoding="application/x-tex">\left\{a_n\right\}_{n=0}^\infty</annotation></semantics></math></span></span> be an unknown sequence. If the function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>F</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>n</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">F\!\left(n\right)</annotation></semantics></math></span></span> explicitly depends on terms in the sequence, then the function <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi>F</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>n</mi><mo fence="true">)</mo></mrow><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">F\!\left(n\right)=0</annotation></semantics></math></span></span></span> is called a sequence equation w.r.t. the sequence <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mrow><mo fence="true">{</mo><msub><mi>a</mi><mi>n</mi></msub><mo fence="true">}</mo></mrow><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup></mrow><annotation encoding="application/x-tex">\left\{a_n\right\}_{n=0}^\infty</annotation></semantics></math></span></span>. For a sequence, if it satisfies the equation for any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi></mrow><annotation encoding="application/x-tex">n</annotation></semantics></math></span></span>, then it is called a special solution of the sequence equation. The set of all special solutions of the sequence equation is called the general solution of the equation.
</p>
<p class="no-indent">
<strong>Definition 10</strong> (linear dependence of sequences)<strong>.</strong> If for a set of sequences (a sequence of tuples) <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mrow><mo fence="true">{</mo><msub><mover accent="true"><mi>a</mi><mo>⃗</mo></mover><mi>n</mi></msub><mo fence="true">}</mo></mrow><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup></mrow><annotation encoding="application/x-tex">\left\{\vec a_n\right\}_{n=0}^\infty</annotation></semantics></math></span></span> there exists a tuple of constants <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>C</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec C</annotation></semantics></math></span></span> which are not all zero (the dimensions of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>C</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec C</annotation></semantics></math></span></span> and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mover accent="true"><mi>a</mi><mo>⃗</mo></mover><mi>n</mi></msub></mrow><annotation encoding="application/x-tex">\vec a_n</annotation></semantics></math></span></span> are the same) such that <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mover accent="true"><mi>C</mi><mo>⃗</mo></mover><mo>⋅</mo><msub><mover accent="true"><mi>a</mi><mo>⃗</mo></mover><mi>n</mi></msub><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">\vec C\cdot\vec a_n=0</annotation></semantics></math></span></span></span> for any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi></mrow><annotation encoding="application/x-tex">n</annotation></semantics></math></span></span>, then the set of sequences are called to be linearly dependent. They are otherwise called to be linearly independent.
</p>
<p class="no-indent">
<strong>Lemma 10.</strong> The sufficient and necessary condition for a set of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>m</mi><mo>+</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">m+1</annotation></semantics></math></span></span> sequences <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mrow><mo fence="true">{</mo><msub><mover accent="true"><mi>a</mi><mo>⃗</mo></mover><mi>n</mi></msub><mo fence="true">}</mo></mrow><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup></mrow><annotation encoding="application/x-tex">\left\{\vec a_n\right\}_{n=0}^\infty</annotation></semantics></math></span></span> to be linearly dependent is that <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi mathvariant="normal">det</mi><mo>⁡</mo><msubsup><mover accent="true"><msub><mover accent="true"><mi>a</mi><mo>⃗</mo></mover><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow></msub><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mo>=</mo><mn>0.</mn></mrow><annotation encoding="application/x-tex">\operatorname{det}\overrightarrow{\vec a_{n+k}}_{k=0}^m=0.</annotation></semantics></math></span></span></span>
</p>
<p class="no-indent">
<em>Proof.</em> First prove the necessity. There exists a tuple of constants <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>C</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec C</annotation></semantics></math></span></span> which are not all zero such that <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mover accent="true"><mi>C</mi><mo>⃗</mo></mover><mo>⋅</mo><msub><mover accent="true"><mi>a</mi><mo>⃗</mo></mover><mi>n</mi></msub><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">\vec C\cdot\vec a_n=0</annotation></semantics></math></span></span></span> for any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi></mrow><annotation encoding="application/x-tex">n</annotation></semantics></math></span></span> (Definition 10).
</p>
<p>Replace <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi></mrow><annotation encoding="application/x-tex">n</annotation></semantics></math></span></span> by <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo separator="true">,</mo><mi>n</mi><mo>+</mo><mn>1</mn><mo separator="true">,</mo><mi>n</mi><mo>+</mo><mn>1</mn><mo separator="true">,</mo><mo>…</mo><mo separator="true">,</mo><mi>n</mi><mo>+</mo><mi>m</mi></mrow><annotation encoding="application/x-tex">n,n+1,n+1,\ldots,n+m</annotation></semantics></math></span></span> respectively, and we have <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msubsup><mover accent="true"><mrow><mover accent="true"><mi>C</mi><mo>⃗</mo></mover><mo>⋅</mo><msub><mover accent="true"><mi>a</mi><mo>⃗</mo></mover><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow></msub></mrow><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mo>=</mo><mover accent="true"><mn>0</mn><mo>⃗</mo></mover><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\overrightarrow{\vec C\cdot\vec a_{n+k}}_{k=0}^m=\vec 0.</annotation></semantics></math></span></span></span> Let the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi>l</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(l+1\right)</annotation></semantics></math></span></span>th component of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mover accent="true"><mi>a</mi><mo>⃗</mo></mover><mi>n</mi></msub></mrow><annotation encoding="application/x-tex">\vec a_n</annotation></semantics></math></span></span> be <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>a</mi><mi>n</mi><mrow><mo>∗</mo><mi>l</mi></mrow></msubsup></mrow><annotation encoding="application/x-tex">a_n^{*l}</annotation></semantics></math></span></span>, i.e. <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mover accent="true"><mi>a</mi><mo>⃗</mo></mover><mi>n</mi></msub><mo>=</mo><msubsup><mover accent="true"><msubsup><mi>a</mi><mi>n</mi><mrow><mo>∗</mo><mi>l</mi></mrow></msubsup><mo stretchy="true">→</mo></mover><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup></mrow><annotation encoding="application/x-tex">\vec a_n=\overrightarrow{a_n^{*l}}_{l=0}^m</annotation></semantics></math></span></span>. Then we have <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msubsup><mover accent="true"><mrow><mover accent="true"><mi>C</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msubsup><mi>a</mi><mi>n</mi><mrow><mo>∗</mo><mi>l</mi></mrow></msubsup><mo stretchy="true">→</mo></mover><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup></mrow><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mo>=</mo><mover accent="true"><mn>0</mn><mo>⃗</mo></mover><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\overrightarrow{\vec C\cdot\overrightarrow{a_n^{*l}}_{l=0}^m}_{k=0}^m=\vec 0.</annotation></semantics></math></span></span></span> By Lemma 9, the LHS actually equals <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mover accent="true"><msubsup><mover accent="true"><msubsup><mi>a</mi><mi>n</mi><mrow><mo>∗</mo><mi>l</mi></mrow></msubsup><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mo stretchy="true">→</mo></mover><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mover accent="true"><mi>C</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\overrightarrow{\overrightarrow{a_{n}^{*l}}_{k=0}^m}_{l=0}^m\vec C</annotation></semantics></math></span></span>.</p>
<p>Define matrix <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi mathvariant="bold">A</mi><mo><mi mathvariant="normal">≔</mi></mo><msubsup><mover accent="true"><msubsup><mover accent="true"><msubsup><mi>a</mi><mi>n</mi><mrow><mo>∗</mo><mi>l</mi></mrow></msubsup><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mo stretchy="true">→</mo></mover><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\mathbf A\coloneqq\overrightarrow{\overrightarrow{a_n^{*l}}_{k=0}^m}_{l=0}^m,</annotation></semantics></math></span></span></span> then <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="bold">A</mi><mover accent="true"><mi>C</mi><mo>⃗</mo></mover><mo>=</mo><mover accent="true"><mn>0</mn><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\mathbf A\vec C=\vec 0</annotation></semantics></math></span></span>, and <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi mathvariant="normal">det</mi><mo>⁡</mo><mi mathvariant="bold">A</mi><mo>=</mo><mi mathvariant="normal">det</mi><mo>⁡</mo><msup><mi mathvariant="bold">A</mi><mi mathvariant="normal">T</mi></msup><mo>=</mo><mi>det</mi><mo>⁡</mo><msubsup><mover accent="true"><msub><mover accent="true"><mi>a</mi><mo>⃗</mo></mover><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow></msub><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\operatorname{det}\mathbf A=\operatorname{det}\mathbf A^\mathrm T=\det\overrightarrow{\vec a_{n+k}}_{k=0}^m.</annotation></semantics></math></span></span></span> Prove by contradiction. Assume that the value of the determinant is not <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>0</mn></mrow><annotation encoding="application/x-tex">0</annotation></semantics></math></span></span>, i.e. <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">det</mi><mo>⁡</mo><mi mathvariant="bold">A</mi><mo mathvariant="normal">≠</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">\operatorname{det}\mathbf A\ne0</annotation></semantics></math></span></span>, then the matrix <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="bold">A</mi></mrow><annotation encoding="application/x-tex">\mathbf A</annotation></semantics></math></span></span> is invertible. Multiply the equation <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="bold">A</mi><mover accent="true"><mi>C</mi><mo>⃗</mo></mover><mo>=</mo><mover accent="true"><mn>0</mn><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\mathbf A\vec C=\vec 0</annotation></semantics></math></span></span> by <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="bold">A</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup></mrow><annotation encoding="application/x-tex">\mathbf A^{-1}</annotation></semantics></math></span></span> from the left on both sides, and we have <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>C</mi><mo>⃗</mo></mover><mo>=</mo><mover accent="true"><mn>0</mn><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec C=\vec 0</annotation></semantics></math></span></span>, which contradicts with the fact that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>C</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec C</annotation></semantics></math></span></span> is not all zero.</p>
<p>Therefore, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>det</mi><mo>⁡</mo><msubsup><mover accent="true"><msub><mover accent="true"><mi>a</mi><mo>⃗</mo></mover><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow></msub><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">\det\overrightarrow{\vec a_{n+k}}_{k=0}^m=0</annotation></semantics></math></span></span>.</p>
<p>(Boohoo! I cannot prove the sufficiency myself.) <span class="qed-wrapper qed-normal"><span class="qed qed-normal"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">□</mi></mrow><annotation encoding="application/x-tex">\square</annotation></semantics></math></span></span></span></span></p>
<p class="no-indent">
<strong>Lemma 11.</strong> Suppose the sequence equation <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msub><mi>a</mi><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow></msub><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">\vec p\cdot\overrightarrow{a_{n+k}}_{k=0}^m=0</annotation></semantics></math></span></span></span> (where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec p</annotation></semantics></math></span></span> is a <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi>m</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(m+1\right)</annotation></semantics></math></span></span>-dimensional constant vector and not all zero) has a set of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>m</mi></mrow><annotation encoding="application/x-tex">m</annotation></semantics></math></span></span> linearly independent special solutions <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">{</mo><msubsup><mover accent="true"><msubsup><mi>a</mi><mi>n</mi><mrow><mo>∗</mo><mi>l</mi></mrow></msubsup><mo stretchy="true">→</mo></mover><mrow><mi>l</mi><mo>=</mo><mn>1</mn></mrow><mi>m</mi></msubsup><mo fence="true">}</mo></mrow><annotation encoding="application/x-tex">\left\{\overrightarrow{a_n^{*l}}_{l=1}^m\right\}</annotation></semantics></math></span></span>, then the general solution of the sequence solution is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>C</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msubsup><mi>a</mi><mi>n</mi><mrow><mo>∗</mo><mi>l</mi></mrow></msubsup><mo stretchy="true">→</mo></mover><mrow><mi>l</mi><mo>=</mo><mn>1</mn></mrow><mi>m</mi></msubsup></mrow><annotation encoding="application/x-tex">\vec C\cdot\overrightarrow{a_n^{*l}}_{l=1}^m</annotation></semantics></math></span></span>, where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>C</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec C</annotation></semantics></math></span></span> is a tuple of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>m</mi></mrow><annotation encoding="application/x-tex">m</annotation></semantics></math></span></span> constants.
</p>
<p class="no-indent">
<em>Proof.</em> First prove that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">{</mo><msub><mi>a</mi><mi>n</mi></msub><mo fence="true">}</mo></mrow><annotation encoding="application/x-tex">\left\{a_n\right\}</annotation></semantics></math></span></span>, where <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mi>a</mi><mi>n</mi></msub><mo><mi mathvariant="normal">≔</mi></mo><mover accent="true"><mi>C</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msubsup><mi>a</mi><mi>n</mi><mrow><mo>∗</mo><mi>l</mi></mrow></msubsup><mo stretchy="true">→</mo></mover><mrow><mi>l</mi><mo>=</mo><mn>1</mn></mrow><mi>m</mi></msubsup><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">a_n\coloneqq\vec C\cdot\overrightarrow{a_n^{*l}}_{l=1}^m,</annotation></semantics></math></span></span></span> must be a special solution of the original sequence equation.
</p>
<p>Substitute it into the LHS of the original sequence equation, and we have <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mtable rowspacing="0.25em" columnalign="right left right" columnspacing="0em 1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><mrow><mover accent="true"><mi>C</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msubsup><mi>a</mi><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow><mrow><mo>∗</mo><mi>l</mi></mrow></msubsup><mo stretchy="true">→</mo></mover><mrow><mi>l</mi><mo>=</mo><mn>1</mn></mrow><mi>m</mi></msubsup></mrow><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mover accent="true"><mi>C</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msubsup><mi>a</mi><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow><mrow><mo>∗</mo><mi>l</mi></mrow></msubsup><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup></mrow><mo stretchy="true">→</mo></mover><mrow><mi>l</mi><mo>=</mo><mn>1</mn></mrow><mi>m</mi></msubsup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Lemma 7)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mover accent="true"><mi>C</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><mn>0</mn><mo stretchy="true">→</mo></mover><mrow><mi>l</mi><mo>=</mo><mn>1</mn></mrow><mi>m</mi></msubsup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Definition 9)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mn>0.</mn></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
\vec p\cdot\overrightarrow{\vec C\cdot\overrightarrow{a_{n+k}^{*l}}_{l=1}^m}_{k=0}^m
&amp;=\vec C\cdot\overrightarrow{\vec p\cdot\overrightarrow{a_{n+k}^{*l}}_{k=0}^m}_{l=1}^m&amp;
\text{(Lemma 7)}\\
&amp;=\vec C\cdot\overrightarrow0_{l=1}^m&amp;
\text{(Definition 9)}\\
&amp;=0.
\end{align*}</annotation></semantics></math></span></span></span> By Definition 9, the sequence <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">{</mo><msub><mi>a</mi><mi>n</mi></msub><mo fence="true">}</mo></mrow><annotation encoding="application/x-tex">\left\{a_n\right\}</annotation></semantics></math></span></span> is a special solution of the original sequence equation.</p>
<p>Then prove that the original sequence equation does not have a special solution <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">{</mo><msub><mi>a</mi><mi>n</mi></msub><mo fence="true">}</mo></mrow><annotation encoding="application/x-tex">\left\{a_n\right\}</annotation></semantics></math></span></span>, such that there does not exist a set of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>m</mi></mrow><annotation encoding="application/x-tex">m</annotation></semantics></math></span></span> constants <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>C</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec C</annotation></semantics></math></span></span> such that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>a</mi><mi>n</mi></msub><mo>=</mo><mover accent="true"><mi>C</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msubsup><mi>a</mi><mi>n</mi><mrow><mo>∗</mo><mi>l</mi></mrow></msubsup><mo stretchy="true">→</mo></mover><mrow><mi>l</mi><mo>=</mo><mn>1</mn></mrow><mi>m</mi></msubsup></mrow><annotation encoding="application/x-tex">a_n=\vec C\cdot\overrightarrow{a_n^{*l}}_{l=1}^m</annotation></semantics></math></span></span> for any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi></mrow><annotation encoding="application/x-tex">n</annotation></semantics></math></span></span>.</p>
<p>Prove by contradiction. Assume there is such a special solution, denoted as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">{</mo><msubsup><mi>a</mi><mi>n</mi><mrow><mo>∗</mo><mn>0</mn></mrow></msubsup><mo fence="true">}</mo></mrow><annotation encoding="application/x-tex">\left\{a_n^{*0}\right\}</annotation></semantics></math></span></span>. Then by Definition 10, the set of sequences (sequence of tuples) <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mover accent="true"><msubsup><mi>a</mi><mi>n</mi><mrow><mo>∗</mo><mi>l</mi></mrow></msubsup><mo stretchy="true">→</mo></mover><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup></mrow><annotation encoding="application/x-tex">\overrightarrow{a_n^{*l}}_{l=0}^m</annotation></semantics></math></span></span> are linearly independent. Let matrix <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi mathvariant="bold">A</mi><mo><mi mathvariant="normal">≔</mi></mo><msubsup><mover accent="true"><msub><mover accent="true"><msubsup><mi>a</mi><mi>n</mi><mrow><mo>∗</mo><mi>l</mi></mrow></msubsup><mo stretchy="true">→</mo></mover><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow></msub><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\mathbf A\coloneqq\overrightarrow{\overrightarrow{a_n^{*l}}_{l=0}}_{k=0}^m,</annotation></semantics></math></span></span></span> then according to Lemma 10, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="bold">A</mi></mrow><annotation encoding="application/x-tex">\mathbf A</annotation></semantics></math></span></span> is invertible.</p>
<p>Because the set of sequences are all special solutions of the original sequence equation, by Definition 9, <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msubsup><mover accent="true"><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msubsup><mi>a</mi><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow><mrow><mo>∗</mo><mi>l</mi></mrow></msubsup><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup></mrow><mo stretchy="true">→</mo></mover><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mo>=</mo><mover accent="true"><mn>0</mn><mo>⃗</mo></mover><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\overrightarrow{\vec p\cdot\overrightarrow{a_{n+k}^{*l}}_{k=0}^m}_{l=0}^m=\vec 0.</annotation></semantics></math></span></span></span> By Lemma 9, the LHS of the equation is actually <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="bold">A</mi><mover accent="true"><mi>p</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\mathbf A\vec p</annotation></semantics></math></span></span>. Therefore, <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi mathvariant="bold">A</mi><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>=</mo><mover accent="true"><mn>0</mn><mo>⃗</mo></mover><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\mathbf A\vec p=\vec 0.</annotation></semantics></math></span></span></span> Multiply the equation by <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="bold">A</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup></mrow><annotation encoding="application/x-tex">\mathbf A^{-1}</annotation></semantics></math></span></span> from the left on both sides, we have <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>=</mo><mover accent="true"><mn>0</mn><mo>⃗</mo></mover><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\vec p=\vec 0,</annotation></semantics></math></span></span></span> which contradicts with the fact that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec p</annotation></semantics></math></span></span> is not all zero.</p>
<p>From all the above, we have proved that the general solution of the sequence equation is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>C</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msubsup><mi>a</mi><mi>n</mi><mrow><mo>∗</mo><mi>l</mi></mrow></msubsup><mo stretchy="true">→</mo></mover><mrow><mi>l</mi><mo>=</mo><mn>1</mn></mrow><mi>m</mi></msubsup></mrow><annotation encoding="application/x-tex">\vec C\cdot\overrightarrow{a_n^{*l}}_{l=1}^m</annotation></semantics></math></span></span>. <span class="qed-wrapper qed-normal"><span class="qed qed-normal"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">□</mi></mrow><annotation encoding="application/x-tex">\square</annotation></semantics></math></span></span></span></span></p>
<p class="no-indent">
<strong>Definition 11</strong> (polynomial)<strong>.</strong> Suppose <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec p</annotation></semantics></math></span></span> is a constant vector whose <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi>m</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(m+1\right)</annotation></semantics></math></span></span>th component is not <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>0</mn></mrow><annotation encoding="application/x-tex">0</annotation></semantics></math></span></span>, then the function <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi>F</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msup><mi>x</mi><mi>k</mi></msup><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup></mrow><annotation encoding="application/x-tex">F\!\left(x\right)\coloneqq\vec p\cdot\overrightarrow{x^k}_{k=0}^m</annotation></semantics></math></span></span></span> is called a polynomial of degree <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>m</mi></mrow><annotation encoding="application/x-tex">m</annotation></semantics></math></span></span> w.r.t. <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>x</mi></mrow><annotation encoding="application/x-tex">x</annotation></semantics></math></span></span>, and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec p</annotation></semantics></math></span></span> is called the coefficients of the polynomial.
</p>
<p class="no-indent">
<strong>Definition 12</strong> (multiplicity)<strong>.</strong> Suppose <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>F</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">F\!\left(x\right)</annotation></semantics></math></span></span> is an <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>m</mi></mrow><annotation encoding="application/x-tex">m</annotation></semantics></math></span></span>-degree polynomial w.r.t. <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>x</mi></mrow><annotation encoding="application/x-tex">x</annotation></semantics></math></span></span>, and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>r</mi></mrow><annotation encoding="application/x-tex">r</annotation></semantics></math></span></span> is a complex number, then the maximum natural number <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>w</mi><mo>≤</mo><mi>m</mi></mrow><annotation encoding="application/x-tex">w\le m</annotation></semantics></math></span></span> such that <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mover accent="true"><mrow><msup><mi mathvariant="normal">D</mi><mi>q</mi></msup><mi>F</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>r</mi><mo fence="true">)</mo></mrow></mrow><mo stretchy="true">→</mo></mover><msubsup><mo stretchy="false">)</mo><mrow><mi>q</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>w</mi><mo>−</mo><mn>1</mn></mrow></msubsup><mo>=</mo><mover accent="true"><mn>0</mn><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\overrightarrow{\mathrm D^qF\!\left(r\right)})_{q=0}^{w-1}=\vec 0</annotation></semantics></math></span></span></span> is called the multiplicity of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>r</mi></mrow><annotation encoding="application/x-tex">r</annotation></semantics></math></span></span> in the polynomial. The complex number with non-zero multiplicity is called a root of the polynomial.
</p>
<p class="no-indent">
<strong>Lemma 12</strong> (fundamental theorem of algebra)<strong>.</strong> The sum of multiplicity of roots of a polynomial equals the degree of the polynomial.
</p>
<p>Proof is omitted.</p>
<p class="no-indent">
<strong>Definition 13</strong> (binomial coefficient)<strong>.</strong> <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>u</mi><mi>v</mi></mfrac><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><mfrac><mrow><mi>u</mi><mo stretchy="false">!</mo></mrow><mrow><mi>v</mi><mo stretchy="false">!</mo><mo stretchy="false">(</mo><mi>u</mi><mo>−</mo><mi>v</mi><mo stretchy="false">)</mo><mo stretchy="false">!</mo></mrow></mfrac><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\binom uv\coloneqq\frac{u!}{v!(u-v)!}.</annotation></semantics></math></span></span></span>
</p>
<p class="no-indent">
<strong>Lemma 13.</strong> If <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>r</mi></mrow><annotation encoding="application/x-tex">r</annotation></semantics></math></span></span> is a root with multiplicity <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>w</mi></mrow><annotation encoding="application/x-tex">w</annotation></semantics></math></span></span> of the polynomial with coefficients <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec p</annotation></semantics></math></span></span>, then for any natural number <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>q</mi><mo>&lt;</mo><mi>w</mi></mrow><annotation encoding="application/x-tex">q&lt;w</annotation></semantics></math></span></span>, we have <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><mrow><mfrac><mrow><mi>k</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>q</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><msup><mi>r</mi><mrow><mi>k</mi><mo>−</mo><mi>q</mi></mrow></msup></mrow><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mo>=</mo><mn>0.</mn></mrow><annotation encoding="application/x-tex">\vec p\cdot\overrightarrow{\frac{k!}{\left(k-q\right)!}r^{k-q}}_{k=0}^m=0.</annotation></semantics></math></span></span></span>
</p>
<p class="no-indent">
<em>Brief proof.</em> First use Definition 11 and Definition 12, and then use Lemma 2 and Lemma 5. <span class="qed-wrapper qed-normal"><span class="qed qed-normal"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">□</mi></mrow><annotation encoding="application/x-tex">\square</annotation></semantics></math></span></span></span></span>
</p>
<p class="no-indent">
<strong>Lemma 14</strong> (Vandermonde’s identity)<strong>.</strong> <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msubsup><mover accent="true"><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>u</mi><mrow><mi>q</mi><mo>−</mo><mi>u</mi></mrow></mfrac><mo fence="true">)</mo></mrow><mo stretchy="true">→</mo></mover><mrow><mi>u</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>k</mi><mi>u</mi></mfrac><mo fence="true">)</mo></mrow><mo stretchy="true">→</mo></mover><mrow><mi>u</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></msubsup><mo>=</mo><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow><mi>q</mi></mfrac><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\overrightarrow{\binom u{q-u}}_{u=0}^q\cdot\overrightarrow{\binom ku}_{u=0}^q=\binom{n+k}q.</annotation></semantics></math></span></span></span>
</p>
<p>Proof is omitted.</p>
<p class="no-indent">
<strong>Lemma 15.</strong> <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msubsup><mover accent="true"><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>q</mi><mi>u</mi></mfrac><mo fence="true">)</mo></mrow><mo stretchy="true">→</mo></mover><mrow><mi>u</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><mrow><mfrac><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>q</mi><mo>+</mo><mi>u</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mfrac><mrow><mi>k</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>u</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac></mrow><mo stretchy="true">→</mo></mover><mrow><mi>u</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></msubsup><mo>=</mo><mfrac><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mi>k</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mi>k</mi><mo>−</mo><mi>q</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\overrightarrow{\binom qu}_{u=0}^q\cdot
\overrightarrow{\frac{n!}{\left(n-q+u\right)!}\frac{k!}{\left(k-u\right)!}}_{u=0}^q
=\frac{\left(n+k\right)!}{\left(n+k-q\right)!}.</annotation></semantics></math></span></span></span>
</p>
<p class="no-indent">
<em>Proof.</em> <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mtable rowspacing="0.25em" columnalign="right left right" columnspacing="0em 1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><msubsup><mover accent="true"><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>q</mi><mi>u</mi></mfrac><mo fence="true">)</mo></mrow><mo stretchy="true">→</mo></mover><mrow><mi>u</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><mrow><mfrac><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>q</mi><mo>+</mo><mi>u</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mfrac><mrow><mi>k</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>u</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac></mrow><mo stretchy="true">→</mo></mover><mrow><mi>u</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></msubsup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msubsup><mover accent="true"><mfrac><mrow><mi>q</mi><mo stretchy="false">!</mo></mrow><mrow><mi>u</mi><mo stretchy="false">!</mo><mrow><mo fence="true">(</mo><mi>q</mi><mo>−</mo><mi>u</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mo stretchy="true">→</mo></mover><mrow><mi>u</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><mrow><mfrac><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>q</mi><mo>+</mo><mi>u</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mfrac><mrow><mi>k</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>u</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac></mrow><mo stretchy="true">→</mo></mover><mrow><mi>u</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></msubsup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Definition 13)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mi>q</mi><mo stretchy="false">!</mo><msubsup><mover accent="true"><mfrac><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>q</mi><mo>−</mo><mi>u</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>q</mi><mo>+</mo><mi>u</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mo stretchy="true">→</mo></mover><mrow><mi>u</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><mfrac><mrow><mi>k</mi><mo stretchy="false">!</mo></mrow><mrow><mi>u</mi><mo stretchy="false">!</mo><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>u</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mo stretchy="true">→</mo></mover><mrow><mi>u</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></msubsup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Lemma 4)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mi>q</mi><mo stretchy="false">!</mo><msubsup><mover accent="true"><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>n</mi><mrow><mi>q</mi><mo>−</mo><mi>u</mi></mrow></mfrac><mo fence="true">)</mo></mrow><mo stretchy="true">→</mo></mover><mrow><mi>u</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>k</mi><mi>u</mi></mfrac><mo fence="true">)</mo></mrow><mo stretchy="true">→</mo></mover><mrow><mi>u</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></msubsup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Definition 13)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mi>q</mi><mo stretchy="false">!</mo><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow><mi>q</mi></mfrac><mo fence="true">)</mo></mrow></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Lemma 14)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mi>q</mi><mo stretchy="false">!</mo><mfrac><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mi>k</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow><mrow><mi>q</mi><mo stretchy="false">!</mo><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mi>k</mi><mo>−</mo><mi>q</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Definition 13)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mfrac><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mi>k</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mi>k</mi><mo>−</mo><mi>q</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
\overrightarrow{\binom qu}_{u=0}^q\cdot
\overrightarrow{\frac{n!}{\left(n-q+u\right)!}\frac{k!}{\left(k-u\right)!}}_{u=0}^q
&amp;=\overrightarrow{\frac{q!}{u!\left(q-u\right)!}}_{u=0}^q\cdot
\overrightarrow{\frac{n!}{\left(n-q+u\right)!}\frac{k!}{\left(k-u\right)!}}_{u=0}^q&amp;
\text{(Definition 13)}\\
&amp;=q!\overrightarrow{\frac{n!}{\left(q-u\right)!\left(n-q+u\right)!}}_{u=0}^q\cdot
\overrightarrow{\frac{k!}{u!\left(k-u\right)!}}_{u=0}^q&amp;
\text{(Lemma 4)}\\
&amp;=q!\overrightarrow{\binom n{q-u}}_{u=0}^q\cdot
\overrightarrow{\binom ku}_{u=0}^q&amp;
\text{(Definition 13)}\\
&amp;=q!\binom{n+k}q&amp;
\text{(Lemma 14)}\\
&amp;=q!\frac{\left(n+k\right)!}{q!\left(n+k-q\right)!}&amp;
\text{(Definition 13)}\\
&amp;=\frac{\left(n+k\right)!}{\left(n+k-q\right)!}.
\end{align*}</annotation></semantics></math></span></span></span> <span class="qed-wrapper qed-last"><span class="qed qed-last"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">□</mi></mrow><annotation encoding="application/x-tex">\square</annotation></semantics></math></span></span></span></span>
</p>
<p class="no-indent">
<strong>Lemma 16.</strong> If <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>r</mi></mrow><annotation encoding="application/x-tex">r</annotation></semantics></math></span></span> is a root with multiplicity <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>w</mi></mrow><annotation encoding="application/x-tex">w</annotation></semantics></math></span></span> of the polynomial with coefficients <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec p</annotation></semantics></math></span></span>, then for any natural number <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>q</mi><mo>&lt;</mo><mi>w</mi></mrow><annotation encoding="application/x-tex">q&lt;w</annotation></semantics></math></span></span>, the sequence <span id="eq:special-sol-of-seq-eq" data-label="(2)"><span class="katex-display-table"> <span class="katex-display-numbered"><span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mi>a</mi><mi>n</mi></msub><mo><mi mathvariant="normal">≔</mi></mo><mfrac><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>q</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><msup><mi>r</mi><mrow><mi>n</mi><mo>−</mo><mi>q</mi></mrow></msup></mrow><annotation encoding="application/x-tex">a_n\coloneqq\frac{n!}{\left(n-q\right)!}r^{n-q}</annotation></semantics></math></span></span></span></span> <span class="katex-display-number"><span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(2)</annotation></semantics></math></span></span></span></span> </span></span> is a special solution of the sequence equation <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msub><mi>a</mi><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow></msub><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mo>=</mo><mover accent="true"><mn>0</mn><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec p\cdot\overrightarrow{a_{n+k}}_{k=0}^m=\vec 0</annotation></semantics></math></span></span>.
</p>
<p class="no-indent">
<em>Proof.</em> Because <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mi>a</mi><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow></msub><mo>=</mo><mfrac><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mi>k</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mi>k</mi><mo>−</mo><mi>q</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><msup><mi>r</mi><mrow><mi>n</mi><mo>+</mo><mi>k</mi><mo>−</mo><mi>q</mi></mrow></msup><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">a_{n+k}=\frac{\left(n+k\right)!}{\left(n+k-q\right)!}r^{n+k-q},</annotation></semantics></math></span></span></span> we have <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mtable rowspacing="0.25em" columnalign="right left right" columnspacing="0em 1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mfrac><msub><mi>a</mi><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow></msub><msup><mi>r</mi><mrow><mi>n</mi><mo>+</mo><mi>k</mi><mo>−</mo><mi>q</mi></mrow></msup></mfrac></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mfrac><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mi>k</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mi>k</mi><mo>−</mo><mi>q</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msubsup><mover accent="true"><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>q</mi><mi>u</mi></mfrac><mo fence="true">)</mo></mrow><mo stretchy="true">→</mo></mover><mrow><mi>u</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><mrow><mfrac><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>q</mi><mo>+</mo><mi>u</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mfrac><mrow><mi>k</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>u</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac></mrow><mo stretchy="true">→</mo></mover><mrow><mi>u</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></msubsup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Lemma 15)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msup><mi>r</mi><mrow><mo>−</mo><mi>k</mi></mrow></msup><mrow><mo fence="true">(</mo><msubsup><mover accent="true"><mfrac><mrow><mi>k</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>u</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mo stretchy="true">→</mo></mover><mrow><mi>u</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><mrow><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>q</mi><mi>u</mi></mfrac><mo fence="true">)</mo></mrow><mfrac><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>q</mi><mo>+</mo><mi>u</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><msup><mi>r</mi><mi>u</mi></msup></mrow><mo stretchy="true">→</mo></mover><mrow><mi>u</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></msubsup><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Lemma 4)</mtext></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
\frac{a_{n+k}}{r^{n+k-q}}&amp;=\frac{\left(n+k\right)!}{\left(n+k-q\right)!}\\
&amp;=\overrightarrow{\binom qu}_{u=0}^q\cdot
\overrightarrow{\frac{n!}{\left(n-q+u\right)!}\frac{k!}{\left(k-u\right)!}}_{u=0}^q&amp;
\text{(Lemma 15)}\\
&amp;=r^{-k}\left(\overrightarrow{\frac{k!}{\left(k-u\right)!}}_{u=0}^q\cdot
\overrightarrow{\binom qu\frac{n!}{\left(n-q+u\right)!}r^u}_{u=0}^q\right),&amp;
\text{(Lemma 4)}
\end{align*}</annotation></semantics></math></span></span></span> and thus <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mi>a</mi><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow></msub><mo>=</mo><msup><mi>r</mi><mrow><mi>n</mi><mo>−</mo><mi>q</mi></mrow></msup><mrow><mo fence="true">(</mo><msubsup><mover accent="true"><mrow><mfrac><mrow><mi>k</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>u</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><msup><mi>r</mi><mrow><mi>k</mi><mo>−</mo><mi>u</mi></mrow></msup></mrow><mo stretchy="true">→</mo></mover><mrow><mi>u</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><mrow><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>q</mi><mi>u</mi></mfrac><mo fence="true">)</mo></mrow><mfrac><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>q</mi><mo>+</mo><mi>u</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><msup><mi>r</mi><mi>u</mi></msup></mrow><mo stretchy="true">→</mo></mover><mrow><mi>u</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></msubsup><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">a_{n+k}=r^{n-q}\left(\overrightarrow{\frac{k!}{\left(k-u\right)!}r^{k-u}}_{u=0}^q\cdot
\overrightarrow{\binom qu\frac{n!}{\left(n-q+u\right)!}r^u}_{u=0}^q\right).</annotation></semantics></math></span></span></span> Because the LHS of the original sequence equation <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mtable rowspacing="0.25em" columnalign="right left right" columnspacing="0em 1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msub><mi>a</mi><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow></msub><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><mrow><msup><mi>r</mi><mrow><mi>n</mi><mo>−</mo><mi>q</mi></mrow></msup><mrow><mo fence="true">(</mo><msubsup><mover accent="true"><mrow><mfrac><mrow><mi>k</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>u</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><msup><mi>r</mi><mrow><mi>k</mi><mo>−</mo><mi>u</mi></mrow></msup></mrow><mo stretchy="true">→</mo></mover><mrow><mi>u</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><mrow><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>q</mi><mi>u</mi></mfrac><mo fence="true">)</mo></mrow><mfrac><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>q</mi><mo>+</mo><mi>u</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><msup><mi>r</mi><mi>u</mi></msup></mrow><mo stretchy="true">→</mo></mover><mrow><mi>u</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></msubsup><mo fence="true">)</mo></mrow></mrow><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msup><mi>r</mi><mrow><mi>n</mi><mo>−</mo><mi>q</mi></mrow></msup><msubsup><mover accent="true"><mrow><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>q</mi><mi>u</mi></mfrac><mo fence="true">)</mo></mrow><mfrac><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>q</mi><mo>+</mo><mi>u</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><msup><mi>r</mi><mi>u</mi></msup></mrow><mo stretchy="true">→</mo></mover><mrow><mi>u</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><mrow><mfrac><mrow><mi>k</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>k</mi><mo>−</mo><mi>u</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><msup><mi>r</mi><mrow><mi>k</mi><mo>−</mo><mi>u</mi></mrow></msup></mrow><mo stretchy="true">→</mo></mover><mrow><mi>u</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></msubsup></mrow><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Lemma 7)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msup><mi>r</mi><mrow><mi>n</mi><mo>−</mo><mi>q</mi></mrow></msup><msubsup><mover accent="true"><mrow><mfrac><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>q</mi><mo>+</mo><mi>u</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><msup><mi>r</mi><mi>u</mi></msup></mrow><mo stretchy="true">→</mo></mover><mrow><mi>u</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><mn>0</mn><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Lemma 13)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mn>0</mn><mo separator="true">,</mo></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
\vec p\cdot\overrightarrow{a_{n+k}}_{k=0}^m
&amp;=\vec p\cdot\overrightarrow{r^{n-q}\left(\overrightarrow{\frac{k!}{\left(k-u\right)!}r^{k-u}}_{u=0}^q\cdot
\overrightarrow{\binom qu\frac{n!}{\left(n-q+u\right)!}r^u}_{u=0}^q\right)}_{k=0}^m\\
&amp;=r^{n-q}\overrightarrow{\binom qu\frac{n!}{\left(n-q+u\right)!}r^u}_{u=0}^q\cdot
\overrightarrow{\vec p\cdot\overrightarrow{\frac{k!}{\left(k-u\right)!}r^{k-u}}_{u=0}^q}_{k=0}^m&amp;
\text{(Lemma 7)}\\
&amp;=r^{n-q}\overrightarrow{\frac{n!}{\left(n-q+u\right)!}r^u}_{u=0}^q\cdot
\overrightarrow{0}_{k=0}^m&amp;
\text{(Lemma 13)}\\
&amp;=0,
\end{align*}</annotation></semantics></math></span></span></span> by Definition 9, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">{</mo><msub><mi>a</mi><mi>n</mi></msub><mo fence="true">}</mo></mrow><annotation encoding="application/x-tex">\left\{a_n\right\}</annotation></semantics></math></span></span> is a special solution of the sequence equation. <span class="qed-wrapper qed-normal"><span class="qed qed-normal"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">□</mi></mrow><annotation encoding="application/x-tex">\square</annotation></semantics></math></span></span></span></span>
</p>
<p class="no-indent">
<strong>Lemma 17.</strong> The sequence <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mi>a</mi><mi>n</mi></msub><mo><mi mathvariant="normal">≔</mi></mo><msubsup><mover accent="true"><mrow><msubsup><mover accent="true"><msub><mi>C</mi><mrow><mi>l</mi><mo separator="true">,</mo><mi>q</mi></mrow></msub><mo stretchy="true">→</mo></mover><mrow><mi>q</mi><mo>=</mo><mn>0</mn></mrow><mrow><msub><mi>w</mi><mi>l</mi></msub><mo>−</mo><mn>1</mn></mrow></msubsup><mo>⋅</mo><msubsup><mover accent="true"><mrow><mfrac><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>q</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><msubsup><mi>r</mi><mi>l</mi><mrow><mi>n</mi><mo>−</mo><mi>q</mi></mrow></msubsup></mrow><mo stretchy="true">→</mo></mover><mrow><mi>q</mi><mo>=</mo><mn>0</mn></mrow><mrow><msub><mi>w</mi><mi>l</mi></msub><mo>−</mo><mn>1</mn></mrow></msubsup></mrow><mo stretchy="true">→</mo></mover><mrow><mi>l</mi><mo>=</mo><mn>1</mn></mrow><mi>o</mi></msubsup><mo>⋅</mo><mover accent="true"><mn>1</mn><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">a_n\coloneqq\overrightarrow{\overrightarrow{C_{l,q}}_{q=0}^{w_l-1}\cdot
\overrightarrow{\frac{n!}{\left(n-q\right)!}r_l^{n-q}}_{q=0}^{w_l-1}}_{l=1}^o\cdot\vec 1</annotation></semantics></math></span></span></span> is the general solution to the sequence equation <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msub><mi>a</mi><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow></msub><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">\vec p\cdot\overrightarrow{a_{n+k}}_{k=0}^m=0</annotation></semantics></math></span></span>, where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mover accent="true"><msub><mi>r</mi><mi>l</mi></msub><mo stretchy="true">→</mo></mover><mrow><mi>l</mi><mo>=</mo><mn>1</mn></mrow><mi>o</mi></msubsup></mrow><annotation encoding="application/x-tex">\overrightarrow{r_l}_{l=1}^o</annotation></semantics></math></span></span> all different roots of the polynomial with coefficients <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec p</annotation></semantics></math></span></span>, and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mover accent="true"><msub><mi>w</mi><mi>l</mi></msub><mo stretchy="true">→</mo></mover><mrow><mi>l</mi><mo>=</mo><mn>1</mn></mrow><mi>o</mi></msubsup></mrow><annotation encoding="application/x-tex">\overrightarrow{w_l}_{l=1}^o</annotation></semantics></math></span></span> are the corresponding multiplicities of the roots, and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>C</mi><mrow><mi>l</mi><mo separator="true">,</mo><mi>q</mi></mrow></msub></mrow><annotation encoding="application/x-tex">C_{l,q}</annotation></semantics></math></span></span> are arbitrary constants.
</p>
<p class="no-indent">
<em>Brief proof.</em> By Lemma 16, the root <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>r</mi><mi>l</mi></msub></mrow><annotation encoding="application/x-tex">r_l</annotation></semantics></math></span></span> brings <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>w</mi><mi>l</mi></msub></mrow><annotation encoding="application/x-tex">w_l</annotation></semantics></math></span></span> special solutions. All the special solutions brought by all the roots can be proved to be linearly independent. According to Lemma 12, there are <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>m</mi></mrow><annotation encoding="application/x-tex">m</annotation></semantics></math></span></span> linearly independent special solutions. According to Lemma 11, the result can be proved. <span class="qed-wrapper qed-normal"><span class="qed qed-normal"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">□</mi></mrow><annotation encoding="application/x-tex">\square</annotation></semantics></math></span></span></span></span>
</p>
<p class="no-indent">
<strong>Lemma 18.</strong> The sufficient and necessary condition for the sequence <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">{</mo><msub><mi>a</mi><mi>n</mi></msub><mo fence="true">}</mo></mrow><annotation encoding="application/x-tex">\left\{a_n\right\}</annotation></semantics></math></span></span> to be a special solution of the sequence equation <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msub><mi>a</mi><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow></msub><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">\vec p\cdot\overrightarrow{a_{n+k}}_{k=0}^m=0</annotation></semantics></math></span></span> is that its EGF is a special solution of the ODE <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msup><mi mathvariant="normal">D</mi><mi>k</mi></msup><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mi>y</mi><mo>=</mo><mn>0.</mn></mrow><annotation encoding="application/x-tex">\vec p\cdot\overrightarrow{\mathrm D^k}_{k=0}^m y=0.</annotation></semantics></math></span></span></span>
</p>
<p class="no-indent">
<em>Proof.</em> First prove the sufficiency. Suppose <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>y</mi></mrow><annotation encoding="application/x-tex">y</annotation></semantics></math></span></span> is the EGF of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">{</mo><msub><mi>a</mi><mi>n</mi></msub><mo fence="true">}</mo></mrow><annotation encoding="application/x-tex">\left\{a_n\right\}</annotation></semantics></math></span></span>, i.e. <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi>y</mi><mo>=</mo><msubsup><mover accent="true"><mfrac><msub><mi>a</mi><mi>n</mi></msub><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow></mfrac><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><msup><mi>x</mi><mi>n</mi></msup><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup></mrow><annotation encoding="application/x-tex">y=\overrightarrow{\frac{a_n}{n!}}_{n=0}^{\infty}\cdot\overrightarrow{x^n}_{n=0}^\infty</annotation></semantics></math></span></span></span> (Definition 6), then the LHS of the original ODE <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mtable rowspacing="0.25em" columnalign="right left right" columnspacing="0em 1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mi>L</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi mathvariant="normal">D</mi><mo fence="true">)</mo></mrow><mi>y</mi></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msup><mi mathvariant="normal">D</mi><mi>k</mi></msup><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mrow><mo fence="true">(</mo><msubsup><mover accent="true"><mfrac><msub><mi>a</mi><mi>n</mi></msub><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow></mfrac><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><msup><mi>x</mi><mi>n</mi></msup><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mo fence="true">)</mo></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><mrow><msubsup><mover accent="true"><mfrac><msub><mi>a</mi><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow></msub><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow></mfrac><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><msup><mi>x</mi><mi>n</mi></msup><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup></mrow><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Lemma 6)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msubsup><mover accent="true"><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><mfrac><msub><mi>a</mi><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow></msub><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow></mfrac><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup></mrow><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><msup><mi>x</mi><mi>n</mi></msup><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Lemma 7)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msubsup><mover accent="true"><mfrac><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msub><mi>a</mi><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow></msub><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup></mrow><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow></mfrac><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><msup><mi>x</mi><mi>n</mi></msup><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
L\!\left(\mathrm D\right)y
&amp;=\vec p\cdot\overrightarrow{\mathrm D^k}_{k=0}^m
\left(\overrightarrow{\frac{a_n}{n!}}_{n=0}^{\infty}\cdot\overrightarrow{x^n}_{n=0}^\infty\right)\\
&amp;=\vec p\cdot\overrightarrow{\overrightarrow{\frac{a_{n+k}}{n!}}_{n=0}^\infty\cdot\overrightarrow{x^n}_{n=0}^\infty}_{k=0}^m&amp;
\text{(Lemma 6)}\\
&amp;=\overrightarrow{\vec p\cdot\overrightarrow{\frac{a_{n+k}}{n!}}_{k=0}^m}_{n=0}^\infty\cdot
\overrightarrow{x^n}_{n=0}^\infty&amp;
\text{(Lemma 7)}\\
&amp;=\overrightarrow{\frac{\vec p\cdot\overrightarrow{a_{n+k}}_{k=0}^m}{n!}}_{n=0}^\infty\cdot
\overrightarrow{x^n}_{n=0}^\infty.
\end{align*}</annotation></semantics></math></span></span></span> Therefore, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>L</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi mathvariant="normal">D</mi><mo fence="true">)</mo></mrow><mi>y</mi></mrow><annotation encoding="application/x-tex">L\!\left(\mathrm D\right)y</annotation></semantics></math></span></span> is the EGF of the sequence <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mrow><mo fence="true">{</mo><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msub><mi>a</mi><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow></msub><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mo fence="true">}</mo></mrow><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup></mrow><annotation encoding="application/x-tex">\left\{\vec p\cdot\overrightarrow{a_{n+k}}_{k=0}^m\right\}_{n=0}^\infty</annotation></semantics></math></span></span>. Because it is a zero function, by Lemma 8, for any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi></mrow><annotation encoding="application/x-tex">n</annotation></semantics></math></span></span>, <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msub><mi>a</mi><mrow><mi>n</mi><mo>+</mo><mi>k</mi></mrow></msub><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mo>=</mo><mn>0.</mn></mrow><annotation encoding="application/x-tex">\vec p\cdot\overrightarrow{a_{n+k}}_{k=0}^m=0.</annotation></semantics></math></span></span></span> All the steps are reversible, so the necessity is also proved. <span class="qed-wrapper qed-normal"><span class="qed qed-normal"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">□</mi></mrow><annotation encoding="application/x-tex">\square</annotation></semantics></math></span></span></span></span>
</p>
<p class="no-indent">
<strong>Definition 14</strong> (exponential function)<strong>.</strong> The EGF of the sequence <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">{</mo><mn>1</mn><mo fence="true">}</mo></mrow><annotation encoding="application/x-tex">\left\{1\right\}</annotation></semantics></math></span></span> is called the exponential function, i.e. <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msup><mi mathvariant="normal">e</mi><mi>x</mi></msup><mo><mi mathvariant="normal">≔</mi></mo><msubsup><mover accent="true"><mfrac><mn>1</mn><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow></mfrac><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><msup><mi>x</mi><mi>n</mi></msup><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\mathrm e^x\coloneqq\overrightarrow{\frac 1{n!}}_{n=0}^{\infty}\cdot\overrightarrow{x^n}_{n=0}^\infty.</annotation></semantics></math></span></span></span>
</p>
<p class="no-indent">
<strong>Lemma 19.</strong> If <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>y</mi></mrow><annotation encoding="application/x-tex">y</annotation></semantics></math></span></span> is the EGF of the sequence in Equation <a href="#eq:special-sol-of-seq-eq">2</a>, then <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>y</mi><mo>=</mo><msup><mi>x</mi><mi>q</mi></msup><msup><mi mathvariant="normal">e</mi><mrow><mi>r</mi><mi>x</mi></mrow></msup></mrow><annotation encoding="application/x-tex">y=x^q\mathrm e^{rx}</annotation></semantics></math></span></span>.
</p>
<p class="no-indent">
<em>Proof.</em> <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mtable rowspacing="0.25em" columnalign="right left right" columnspacing="0em 1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mi>y</mi></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msubsup><mover accent="true"><mfrac><mfrac><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>q</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow></mfrac><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><msup><mi>x</mi><mi>n</mi></msup><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Definition 6)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msubsup><mover accent="true"><mfrac><msup><mi>r</mi><mrow><mi>n</mi><mo>−</mo><mi>q</mi></mrow></msup><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mi>q</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><msup><mi>x</mi><mi>n</mi></msup><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msubsup><mover accent="true"><mfrac><msup><mi>r</mi><mi>n</mi></msup><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow></mfrac><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><msup><mi>x</mi><mrow><mi>n</mi><mo>+</mo><mi>q</mi></mrow></msup><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(note of Lemma 5)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msup><mi>x</mi><mi>q</mi></msup><msubsup><mover accent="true"><mfrac><mn>1</mn><mrow><mi>n</mi><mo stretchy="false">!</mo></mrow></mfrac><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mo>⋅</mo><msubsup><mover accent="true"><msup><mrow><mo fence="true">(</mo><mi>r</mi><mi>x</mi><mo fence="true">)</mo></mrow><mi>n</mi></msup><mo stretchy="true">→</mo></mover><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Lemma 4)</mtext></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msup><mi>x</mi><mi>q</mi></msup><msup><mi mathvariant="normal">e</mi><mrow><mi>r</mi><mi>x</mi></mrow></msup><mi mathvariant="normal">.</mi></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mtext>(Definition 14)</mtext></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
y&amp;=\overrightarrow{\frac{\frac{n!}{\left(n-q\right)!}}{n!}}_{n=0}^{\infty}\cdot\overrightarrow{x^n}_{n=0}^\infty&amp;
\text{(Definition 6)}\\
&amp;=\overrightarrow{\frac{r^{n-q}}{\left(n-q\right)!}}_{n=0}^{\infty}\cdot\overrightarrow{x^n}_{n=0}^\infty\\
&amp;=\overrightarrow{\frac{r^n}{n!}}_{n=0}^{\infty}\cdot\overrightarrow{x^{n+q}}_{n=0}^\infty&amp;
\text{(note of Lemma 5)}\\
&amp;=x^q\overrightarrow{\frac 1{n!}}_{n=0}^{\infty}\cdot\overrightarrow{\left(rx\right)^n}_{n=0}^\infty&amp;
\text{(Lemma 4)}\\
&amp;=x^q\mathrm e^{rx}.&amp;
\text{(Definition 14)}
\end{align*}</annotation></semantics></math></span></span></span> <span class="qed-wrapper qed-span"><span class="qed qed-span"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">□</mi></mrow><annotation encoding="application/x-tex">\square</annotation></semantics></math></span></span></span></span>
</p>
<p class="no-indent">
<strong>Corollary of Lemma 18 and 19.</strong> The function <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi>y</mi><mo>=</mo><msubsup><mover accent="true"><mrow><msubsup><mover accent="true"><msub><mi>C</mi><mrow><mi>l</mi><mo separator="true">,</mo><mi>q</mi></mrow></msub><mo stretchy="true">→</mo></mover><mrow><mi>q</mi><mo>=</mo><mn>0</mn></mrow><mrow><msub><mi>w</mi><mi>l</mi></msub><mo>−</mo><mn>1</mn></mrow></msubsup><mo>⋅</mo><mover accent="true"><msup><mi>x</mi><mi>q</mi></msup><mo stretchy="true">→</mo></mover><msup><mrow><mi>q</mi><mo>=</mo><mn>0</mn></mrow><mrow><msub><mi>w</mi><mi>l</mi></msub><mo>−</mo><mn>1</mn></mrow></msup><msup><mi mathvariant="normal">e</mi><mrow><msub><mi>r</mi><mi>l</mi></msub><mi>x</mi></mrow></msup></mrow><mo stretchy="true">→</mo></mover><mrow><mi>l</mi><mo>=</mo><mn>1</mn></mrow><mi>o</mi></msubsup><mo>⋅</mo><mover accent="true"><mn>1</mn><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">y=\overrightarrow{\overrightarrow{C_{l,q}}_{q=0}^{w_l-1}\cdot\overrightarrow{x^q}{q=0}^{w_l-1}\mathrm e^{r_lx}}_{l=1}^o\cdot\vec 1</annotation></semantics></math></span></span></span> is the general solution of the ODE <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msup><mi mathvariant="normal">D</mi><mi>k</mi></msup><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mi>y</mi><mo>=</mo><mn>0</mn><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\vec p\cdot\overrightarrow{\mathrm D^k}_{k=0}^m y=0,</annotation></semantics></math></span></span></span> where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mover accent="true"><msub><mi>r</mi><mi>l</mi></msub><mo stretchy="true">→</mo></mover><mrow><mi>l</mi><mo>=</mo><mn>1</mn></mrow><mi>o</mi></msubsup></mrow><annotation encoding="application/x-tex">\overrightarrow{r_l}_{l=1}^o</annotation></semantics></math></span></span> are the different roots of the polynomial with coefficients <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec p</annotation></semantics></math></span></span>, and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mover accent="true"><msub><mi>w</mi><mi>l</mi></msub><mo stretchy="true">→</mo></mover><mrow><mi>l</mi><mo>=</mo><mn>1</mn></mrow><mi>o</mi></msubsup></mrow><annotation encoding="application/x-tex">\overrightarrow{w_l}_{l=1}^o</annotation></semantics></math></span></span> are the corresponding multiplicities of the roots, and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>C</mi><mrow><mi>l</mi><mo separator="true">,</mo><mi>q</mi></mrow></msub></mrow><annotation encoding="application/x-tex">C_{l,q}</annotation></semantics></math></span></span> are arbitrary constants.
</p>
<p>Finally, according to all the lemmas above, we now know how to solve the ODE <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover><mo>⋅</mo><msubsup><mover accent="true"><msup><mi mathvariant="normal">D</mi><mi>k</mi></msup><mo stretchy="true">→</mo></mover><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>m</mi></msubsup><mi>y</mi><mo>=</mo><mn>0</mn><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\vec p\cdot\overrightarrow{\mathrm D^k}_{k=0}^m y=0,</annotation></semantics></math></span></span></span> where the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi>m</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(m+1\right)</annotation></semantics></math></span></span>th component of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec p</annotation></semantics></math></span></span> is not zero. Actually, all we need to do is to solve the polynomial with coefficients <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>p</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec p</annotation></semantics></math></span></span>, and use the corollary above, and then we can get the general solution of the original ODE.</p>
<p>The method is identical to that in <cite>Advanced Mathematics</cite> (notes of translation: this is a popular book in China about calculus), but the derivation is different. Although mine is much more complex, but it is very interesting, because it involves much knowledge in algebra.</p>
<p>(I haven’t used the summation symbol! I’m so good!</p>
<p>The whole article is using the scalar product of vectors as summation, very entertaining. Actually, when examining linear problems, vectors are good. Also, it looks clear if I use the vector notation.)</p>]]></content><author><name>UlyssesZhan</name><email>ulysseszhan@gmail.com</email></author><category term="math" /><category term="calculus" /><category term="linear algebra" /><category term="combinatorics" /><category term="ode" /><category term="long paper" /><category term="from zhihu" /><summary type="html"><![CDATA[By using power series, we can prove that the problem of solving linear homogeneous ODE with constant coefficients can be reduced to the problem of solving a polynomial with those coefficients. This article illustrates this point in detail, but it uses a very awful notation…]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://ulysseszh.github.io/assets/images/covers/2022-11-06-linear-ode-solution.png" /><media:content medium="image" url="https://ulysseszh.github.io/assets/images/covers/2022-11-06-linear-ode-solution.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry></feed>