<?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/probability.xml" rel="self" type="application/atom+xml" /><link href="https://ulysseszh.github.io/" rel="alternate" type="text/html" hreflang="en-US" /><updated>2026-04-30T17:49:58-07:00</updated><id>https://ulysseszh.github.io/feed/tags/probability.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[Multi-pass Gaussian blur filter]]></title><link href="https://ulysseszh.github.io/programming/2025/07/17/blur-filter.html" rel="alternate" type="text/html" title="Multi-pass Gaussian blur filter" /><published>2025-07-17T01:06:08-07:00</published><updated>2025-07-17T01:06:08-07:00</updated><id>https://ulysseszh.github.io/programming/2025/07/17/blur-filter</id><content type="html" xml:base="https://ulysseszh.github.io/programming/2025/07/17/blur-filter.html"><![CDATA[<p>In image processing, a Gaussian blur filter is the transformation of an image that blurs it by a Gaussian function. Mathematically, a Gaussian blur filter is a linear transformation <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>G</mi></mrow><annotation encoding="application/x-tex">G</annotation></semantics></math></span></span> on a measurable function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mo>:</mo><msup><mi mathvariant="double-struck">R</mi><mi>d</mi></msup><mo>→</mo><mi mathvariant="double-struck">R</mi></mrow><annotation encoding="application/x-tex">f:\bR^d\to\bR</annotation></semantics></math></span></span> that does not grow too fast at infinity (or more generally, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mo>:</mo><msup><mi mathvariant="double-struck">R</mi><mi>d</mi></msup><mo>→</mo><mi>V</mi></mrow><annotation encoding="application/x-tex">f:\bR^d\to 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>V</mi></mrow><annotation encoding="application/x-tex">V</annotation></semantics></math></span></span> is a locally convex topological vector space) which results in a function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>G</mi><mi>f</mi><mo>:</mo><msup><mi mathvariant="double-struck">R</mi><mi>d</mi></msup><mo>→</mo><mi mathvariant="double-struck">R</mi></mrow><annotation encoding="application/x-tex">Gf:\bR^d\to\bR</annotation></semantics></math></span></span> defined by the integral <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><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><mo>∫</mo><mfrac><mrow><msup><mi mathvariant="normal">d</mi><mi>d</mi></msup><mi>y</mi></mrow><msqrt><mrow><msup><mrow><mo fence="true">(</mo><mn>2</mn><mi>π</mi><mo fence="true">)</mo></mrow><mi>d</mi></msup><mi>det</mi><mo>⁡</mo><mi>A</mi></mrow></msqrt></mfrac><mi>exp</mi><mo>⁡</mo><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mo>−</mo><mfrac><mn>1</mn><mn>2</mn></mfrac><msub><mrow><mo fence="true">(</mo><msup><mi>A</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mrow><mi>j</mi><mi>k</mi></mrow></msub><msub><mi>y</mi><mi>j</mi></msub><msub><mi>y</mi><mi>k</mi></msub><mo fence="true">)</mo></mrow><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo>+</mo><mi>y</mi><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\fc{Gf}x\ceq\int\frac{\d^dy}{\sqrt{\p{2\pi}^d\det A}}\fc\exp{-\fr12\p{A^{-1}}_{jk}y_jy_k}\fc f{x+y},</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>A</mi></mrow><annotation encoding="application/x-tex">A</annotation></semantics></math></span></span> is a symmetric positive definite matrix called the covariance matrix of the Gaussian kernel.</p>
<p>By looking at this formula, we can see that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>G</mi><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc{Gf}x</annotation></semantics></math></span></span> is exactly the expectation value of <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>+</mo><mi>Y</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc f{x+Y}</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>Y</mi></mrow><annotation encoding="application/x-tex">Y</annotation></semantics></math></span></span> is a random vector distributed according to the multivariate normal distribution with mean <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 covariance matrix <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>. Let’s say, however, that instead of a multivariate normal distribution, we have a discrete distribution on a finite set of points <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>i</mi></msub><mo fence="true">}</mo></mrow><annotation encoding="application/x-tex">\B{a_i}</annotation></semantics></math></span></span>, each with probability <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>w</mi><mi>i</mi></msub></mrow><annotation encoding="application/x-tex">w_i</annotation></semantics></math></span></span>, satisfying
<span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><munder><mo>∑</mo><mi>i</mi></munder><msub><mi>w</mi><mi>i</mi></msub><mo>=</mo><mn>1</mn><mo separator="true">,</mo><mspace width="1em"/><munder><mo>∑</mo><mi>i</mi></munder><msub><mi>w</mi><mi>i</mi></msub><msub><mi>a</mi><mi>i</mi></msub><mo>=</mo><mn>0.</mn></mrow><annotation encoding="application/x-tex">\sum_i w_i=1,\quad\sum_i w_ia_i=0.</annotation></semantics></math></span></span></span> Then, for <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> distributed according to this discrete distribution, the expectation value of <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>+</mo><mi>Y</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc f{x+Y}</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><mi mathvariant="normal">E</mi><mo>⁡</mo><mtext> ⁣</mtext><mrow><mo fence="true">[</mo><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo>+</mo><mi>Y</mi><mo fence="true">)</mo></mrow><mo fence="true">]</mo></mrow><mo>=</mo><munder><mo>∑</mo><mi>i</mi></munder><msub><mi>w</mi><mi>i</mi></msub><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo>+</mo><msub><mi>a</mi><mi>i</mi></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\bopc E{\fc f{x+Y}}=\sum_i w_i\fc f{x+a_i}.</annotation></semantics></math></span></span></span> This distribution has the covariance matrix <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>A</mi><mrow><mi>j</mi><mi>k</mi></mrow></msub><mo>=</mo><msub><mo>∑</mo><mi>i</mi></msub><msub><mi>w</mi><mi>i</mi></msub><msub><mi>a</mi><mrow><mi>i</mi><mi>j</mi></mrow></msub><msub><mi>a</mi><mrow><mi>i</mi><mi>k</mi></mrow></msub></mrow><annotation encoding="application/x-tex">A_{jk}=\sum_i w_ia_{ij}a_{ik}</annotation></semantics></math></span></span>, but this expectation value is not the same as the result <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>G</mi><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc{Gf}x</annotation></semantics></math></span></span> of the Gaussian blur filter. In order to approach the Gaussian distribution, we need to sum <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> independent samples
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">{</mo><msub><mi>Y</mi><mi>α</mi></msub><mo fence="true">}</mo></mrow><annotation encoding="application/x-tex">\B{Y_\alpha}</annotation></semantics></math></span></span>, each distributed according the same discrete distribution with covariance matrix <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>A</mi><mi mathvariant="normal">/</mi><mi>N</mi></mrow><annotation encoding="application/x-tex">A/N</annotation></semantics></math></span></span>. Without changing the relation between <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> and <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>i</mi></msub><mo fence="true">}</mo></mrow><annotation encoding="application/x-tex">\B{a_i}</annotation></semantics></math></span></span>, we can achieve this by taking the distribution to be among the points <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>i</mi></msub><mi mathvariant="normal">/</mi><msqrt><mi>N</mi></msqrt><mo fence="true">}</mo></mrow><annotation encoding="application/x-tex">\B{a_i/\sqrt N}</annotation></semantics></math></span></span>, with the same probabilities <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>w</mi><mi>i</mi></msub></mrow><annotation encoding="application/x-tex">w_i</annotation></semantics></math></span></span>. Then, according to the central limit theorem, 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>G</mi><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow><mo>=</mo><munder><mrow><mi>lim</mi><mo>⁡</mo></mrow><mrow><mi>N</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow></munder><mi mathvariant="normal">E</mi><mo>⁡</mo><mtext> ⁣</mtext><mrow><mo fence="true">[</mo><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo>+</mo><munder><mo>∑</mo><mi>α</mi></munder><msub><mi>Y</mi><mi>α</mi></msub><mo fence="true">)</mo></mrow><mo fence="true">]</mo></mrow><mo>=</mo><munder><mrow><mi>lim</mi><mo>⁡</mo></mrow><mrow><mi>N</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow></munder><munder><mo>∑</mo><mrow><mo fence="true">{</mo><msub><mi>i</mi><mi>α</mi></msub><mo fence="true">}</mo></mrow></munder><mrow><mo fence="true">(</mo><munder><mo>∏</mo><mi>α</mi></munder><msub><mi>w</mi><msub><mi>i</mi><mi>α</mi></msub></msub><mo fence="true">)</mo></mrow><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo>+</mo><mfrac><mn>1</mn><msqrt><mi>N</mi></msqrt></mfrac><munder><mo>∑</mo><mi>α</mi></munder><msub><mi>a</mi><msub><mi>i</mi><mi>α</mi></msub></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\fc{Gf}x=\lim_{N\to\infty}\bopc E{\fc f{x+\sum_\alpha Y_\alpha}}
=\lim_{N\to\infty}\sum_{\B{i_\alpha}}\p{\prod_\alpha w_{i_\alpha}}\fc f{x+\fr{1}{\sqrt N}\sum_\alpha a_{i_\alpha}}.</annotation></semantics></math></span></span></span> By staring at this formula, one may notice that it is actually the result of the same linear transformation <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mi>N</mi></msub></mrow><annotation encoding="application/x-tex">P_N</annotation></semantics></math></span></span> applied <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> times to the function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi></mrow><annotation encoding="application/x-tex">f</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>P</mi><mi>N</mi></msub><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><munder><mo>∑</mo><mi>i</mi></munder><msub><mi>w</mi><mi>i</mi></msub><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo>+</mo><mfrac><msub><mi>a</mi><mi>i</mi></msub><msqrt><mi>N</mi></msqrt></mfrac><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\fc{P_Nf}x\ceq\sum_iw_i\fc f{x+\fr{a_i}{\sqrt N}}.</annotation></semantics></math></span></span></span> Thus, we can write <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><mo>=</mo><munder><mrow><mi>lim</mi><mo>⁡</mo></mrow><mrow><mi>N</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow></munder><msubsup><mi>P</mi><mi>N</mi><mi>N</mi></msubsup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">G=\lim_{N\to\infty}P_N^N.</annotation></semantics></math></span></span></span></p>
<p>We can now see why we can implement a Gaussian blur filter as a multi-pass filter: each pass of the filter is equivalent to applying the linear transformation <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mi>N</mi></msub></mrow><annotation encoding="application/x-tex">P_N</annotation></semantics></math></span></span> once, and the Gaussian blur filter is the limit of applying this transformation infinitely many times. After choosing the points <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>i</mi></msub><mo fence="true">}</mo></mrow><annotation encoding="application/x-tex">\B{a_i}</annotation></semantics></math></span></span> and the weights <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>w</mi><mi>i</mi></msub></mrow><annotation encoding="application/x-tex">w_i</annotation></semantics></math></span></span>, we can easily implement the filter in a fragment shader. After implementing <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mi>N</mi></msub></mrow><annotation encoding="application/x-tex">P_N</annotation></semantics></math></span></span>, one can implement the multi-pass filter by flip-flopping between two textures <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> times. Here is an example implementation of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mi>N</mi></msub></mrow><annotation encoding="application/x-tex">P_N</annotation></semantics></math></span></span> for a 2D (<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>d</mi><mo>=</mo><mn>2</mn></mrow><annotation encoding="application/x-tex">d=2</annotation></semantics></math></span></span>) texture, with <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><mn>0</mn></msub><mo>=</mo><mrow><mo fence="true">(</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>σ</mi></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>0</mn></mstyle></mtd></mtr></mtable><mo fence="true">)</mo></mrow><mo separator="true">,</mo><mspace width="1em"/><msub><mi>a</mi><mn>1</mn></msub><mo>=</mo><mrow><mo fence="true">(</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mo>−</mo><mi>σ</mi></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>0</mn></mstyle></mtd></mtr></mtable><mo fence="true">)</mo></mrow><mo separator="true">,</mo><mspace width="1em"/><msub><mi>w</mi><mn>0</mn></msub><mo>=</mo><msub><mi>w</mi><mn>1</mn></msub><mo>=</mo><mfrac><mn>1</mn><mn>2</mn></mfrac><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">a_0=\begin{pmatrix}\sgm\\0\end{pmatrix},\quad
a_1=\begin{pmatrix}-\sgm\\0\end{pmatrix},\quad
w_0=w_1=\fr12,</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></mrow><annotation encoding="application/x-tex">\sgm</annotation></semantics></math></span></span> would be the standard deviation of the resulting Gaussian blur filter:</p>
<table class="rouge-table">
  <tbody>
    <tr>
      <td class="highlight language-glsl">
        <pre>
          <code>
            <span class="line line-1"><span class="k">varying</span> <span class="kt">vec2</span> <span class="n">vTextureCoord</span><span class="p">;</span>
</span>
            <span class="line line-2">
</span>
            <span class="line line-3"><span class="k">uniform</span> <span class="kt">sampler2D</span> <span class="n">uTexture</span><span class="p">;</span>
</span>
            <span class="line line-4"><span class="k">uniform</span> <span class="kt">float</span> <span class="n">uStrength</span><span class="p">;</span> <span class="c1">// sigma / sqrt(N)</span>
</span>
            <span class="line line-5">
</span>
            <span class="line line-6"><span class="kt">void</span> <span class="nf">main</span><span class="p">()</span> <span class="p">{</span>
</span>
            <span class="line line-7">	<span class="nb">gl_FragColor</span>  <span class="o">=</span> <span class="n">texture2D</span><span class="p">(</span><span class="n">uTexture</span><span class="p">,</span> <span class="n">vTextureCoord</span> <span class="o">+</span> <span class="kt">vec2</span><span class="p">(</span> <span class="n">uStrength</span><span class="p">,</span> <span class="mi">0</span><span class="p">.</span><span class="mi">0</span><span class="p">))</span> <span class="o">*</span> <span class="mi">0</span><span class="p">.</span><span class="mi">5</span><span class="p">;</span>
</span>
            <span class="line line-8">	<span class="nb">gl_FragColor</span> <span class="o">+=</span> <span class="n">texture2D</span><span class="p">(</span><span class="n">uTexture</span><span class="p">,</span> <span class="n">vTextureCoord</span> <span class="o">+</span> <span class="kt">vec2</span><span class="p">(</span><span class="o">-</span><span class="n">uStrength</span><span class="p">,</span> <span class="mi">0</span><span class="p">.</span><span class="mi">0</span><span class="p">))</span> <span class="o">*</span> <span class="mi">0</span><span class="p">.</span><span class="mi">5</span><span class="p">;</span>
</span>
            <span class="line line-9"><span class="p">}</span>
</span>
          </code>
        </pre>
      </td>
    </tr>
  </tbody>
</table>
<p class="no-indent">
When using the shader, the texture is input as the uniform <code>uTexture</code>, and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>σ</mi><mi mathvariant="normal">/</mi><msqrt><mi>N</mi></msqrt></mrow><annotation encoding="application/x-tex">\sgm/\sqrt N</annotation></semantics></math></span></span> is input as the uniform <code>uStrength</code>. This example is then called the 2-tap horizontal Gaussian blur filter (because to find <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">\fc fx</annotation></semantics></math></span></span> for some <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> one needs to evaluate <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi></mrow><annotation encoding="application/x-tex">f</annotation></semantics></math></span></span> twice).
</p>
<p>To get a good Gaussian blur effect, <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> should be large enough, which can quickly become computationally expensive. We can reduce the number of passes by rewriting <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>P</mi><mi>N</mi><mi>N</mi></msubsup><mo>=</mo><msup><mrow><mo fence="true">(</mo><msubsup><mi>P</mi><mi>N</mi><mi>n</mi></msubsup><mo fence="true">)</mo></mrow><mrow><mi>N</mi><mi mathvariant="normal">/</mi><mi>n</mi></mrow></msup></mrow><annotation encoding="application/x-tex">P_N^N=\p{P_N^n}^{N/n}</annotation></semantics></math></span></span> so that the number of passes is now reduced from <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> to <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>n</mi></mrow><annotation encoding="application/x-tex">N/n</annotation></semantics></math></span></span> without changing the result, but the cost is to implement <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>P</mi><mi>N</mi><mi>n</mi></msubsup></mrow><annotation encoding="application/x-tex">P_N^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><msub><mi>P</mi><mi>N</mi></msub></mrow><annotation encoding="application/x-tex">P_N</annotation></semantics></math></span></span> in the shader. With the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mi>N</mi></msub></mrow><annotation encoding="application/x-tex">P_N</annotation></semantics></math></span></span> example above, the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>P</mi><mi>N</mi><mi>n</mi></msubsup></mrow><annotation encoding="application/x-tex">P_N^n</annotation></semantics></math></span></span> filter is then a
<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>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\p{n+1}</annotation></semantics></math></span></span>-tap horizontal Gaussian blur filter. The total number of times to fetch the texture is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>N</mi><mi mathvariant="normal">/</mi><mi>n</mi></mrow><annotation encoding="application/x-tex">\p{n+1}N/n</annotation></semantics></math></span></span> to render the whole blurred texture, which decreases 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> increases.</p>
<p>By utilizing the linear sampling feature of the GPU, this number can be further reduced (by half) if <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>σ</mi><mi mathvariant="normal">/</mi><msqrt><mi>N</mi></msqrt><mo>=</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">\sgm/\sqrt N=1</annotation></semantics></math></span></span>. One can read further about this in <a href="https://www.rastergrid.com/blog/2010/09/efficient-gaussian-blur-with-linear-sampling/" target="_blank" rel="external">this article</a>.</p>
<hr/>
<p>Let us now move on to an interesting relation to the heat equation. The heat equation is a partial differential equation that reads <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><mi>t</mi></msub><msub><mi>f</mi><mi>t</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow><mo>=</mo><munder><mo>∑</mo><mi>j</mi></munder><msub><mi mathvariant="normal">∂</mi><mi>j</mi></msub><msub><mi mathvariant="normal">∂</mi><mi>j</mi></msub><msub><mi>f</mi><mi>t</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\partial_t\fc{f_t}x=\sum_j\partial_j\partial_j\fc{f_t}x.</annotation></semantics></math></span></span></span> The physical meaning of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>f</mi><mi>t</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc{f_t}x</annotation></semantics></math></span></span> is the temperature at position <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> at time <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>t</mi></mrow><annotation encoding="application/x-tex">t</annotation></semantics></math></span></span>, and the solution to this equation gives the time evolution of the temperature distribution in a medium with unit thermal diffusivity. More generally, we can have some other thermal diffusivities, which may even be anisotropic, in which case the equation reads
<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><mi>t</mi></msub><msub><mi>f</mi><mi>t</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow><mo>=</mo><mfrac><mn>1</mn><mn>2</mn></mfrac><munder><mo>∑</mo><mrow><mi>j</mi><mi>k</mi></mrow></munder><msub><mi>A</mi><mrow><mi>j</mi><mi>k</mi></mrow></msub><msub><mi mathvariant="normal">∂</mi><mi>j</mi></msub><msub><mi mathvariant="normal">∂</mi><mi>k</mi></msub><msub><mi>f</mi><mi>t</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\partial_t\fc{f_t}x=\fr12\sum_{jk}A_{jk}\partial_j\partial_k\fc{f_t}x,</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>A</mi></mrow><annotation encoding="application/x-tex">A</annotation></semantics></math></span></span> is a symmetric positive definite matrix. Such an equation can always be reduced to the form with unit thermal diffusivity by a linear transformation of the coordinates <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>x</mi><mo>↦</mo><mi>L</mi><mi>x</mi></mrow><annotation encoding="application/x-tex">x\mapsto Lx</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>L</mi></mrow><annotation encoding="application/x-tex">L</annotation></semantics></math></span></span> satisfies
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>A</mi><mi mathvariant="normal">/</mi><mn>2</mn><mo>=</mo><msup><mi>L</mi><mi mathvariant="normal">T</mi></msup><mi>L</mi></mrow><annotation encoding="application/x-tex">A/2=L^\mrm TL</annotation></semantics></math></span></span> (the Cholesky decomposition of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>A</mi><mi mathvariant="normal">/</mi><mn>2</mn></mrow><annotation encoding="application/x-tex">A/2</annotation></semantics></math></span></span>). By using operator exponentiation, we can write the solution to the heat equation as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>f</mi><mi>t</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow><mo>=</mo><msup><mi>G</mi><mi>t</mi></msup><msub><mi>f</mi><mn>0</mn></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc{f_t}x=G^t\fc{f_0}x</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>G</mi><mi>t</mi></msup><mo><mi mathvariant="normal">≔</mi></mo><mi>exp</mi><mo>⁡</mo><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mfrac><mi>t</mi><mn>2</mn></mfrac><munder><mo>∑</mo><mrow><mi>j</mi><mi>k</mi></mrow></munder><msub><mi>A</mi><mrow><mi>j</mi><mi>k</mi></mrow></msub><msub><mi mathvariant="normal">∂</mi><mi>j</mi></msub><msub><mi mathvariant="normal">∂</mi><mi>k</mi></msub><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">G^t\ceq\fc\exp{\fr t2\sum_{jk}A_{jk}\partial_j\partial_k}</annotation></semantics></math></span></span></span> is called the time evolution operator (which is not generally defined for <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>t</mi><mo>&lt;</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">t&lt;0</annotation></semantics></math></span></span>, which means that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">{</mo><msup><mi>G</mi><mi>t</mi></msup><mo fence="true">}</mo></mrow><annotation encoding="application/x-tex">\B{G^t}</annotation></semantics></math></span></span> cannot form a group but only a monoid).</p>
<p>The reason that I denote it as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>G</mi><mi>t</mi></msup></mrow><annotation encoding="application/x-tex">G^t</annotation></semantics></math></span></span> is that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>G</mi><mn>1</mn></msup></mrow><annotation encoding="application/x-tex">G^1</annotation></semantics></math></span></span> gives exactly the Gaussian blur filter <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>G</mi></mrow><annotation encoding="application/x-tex">G</annotation></semantics></math></span></span> (when acting on real analytic functions). This is not immediately obvious, and I will justify its correctness by starting from the multi-pass expression of the Gaussian blur filter. For analytic functions, we can get the translation operator by exponentiating the derivative operator, so <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>+</mo><mfrac><msub><mi>a</mi><mi>i</mi></msub><msqrt><mi>N</mi></msqrt></mfrac><mo fence="true">)</mo></mrow><mo>=</mo><mi>exp</mi><mo>⁡</mo><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><munder><mo>∑</mo><mi>j</mi></munder><mfrac><msub><mi>a</mi><mrow><mi>i</mi><mi>j</mi></mrow></msub><msqrt><mi>N</mi></msqrt></mfrac><msub><mi mathvariant="normal">∂</mi><mi>j</mi></msub><mo fence="true">)</mo></mrow><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\fc f{x+\fr{a_i}{\sqrt N}}=\fc\exp{\sum_j\fr{a_{ij}}{\sqrt N}\partial_j}\fc fx.</annotation></semantics></math></span></span></span> Therefore, we can write <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"><msub><mi>P</mi><mi>N</mi></msub></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munder><mo>∑</mo><mi>i</mi></munder><msub><mi>w</mi><mi>i</mi></msub><mi>exp</mi><mo>⁡</mo><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><munder><mo>∑</mo><mi>j</mi></munder><mfrac><msub><mi>a</mi><mrow><mi>i</mi><mi>j</mi></mrow></msub><msqrt><mi>N</mi></msqrt></mfrac><msub><mi mathvariant="normal">∂</mi><mi>j</mi></msub><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><munder><munder><mrow><munder><mo>∑</mo><mi>i</mi></munder><msub><mi>w</mi><mi>i</mi></msub></mrow><mo stretchy="true">⏟</mo></munder><mn>1</mn></munder><mo>+</mo><mfrac><mn>1</mn><msqrt><mi>N</mi></msqrt></mfrac><munder><mo>∑</mo><mi>j</mi></munder><munder><munder><mrow><munder><mo>∑</mo><mi>i</mi></munder><msub><mi>w</mi><mi>i</mi></msub><msub><mi>a</mi><mrow><mi>i</mi><mi>j</mi></mrow></msub></mrow><mo stretchy="true">⏟</mo></munder><mn>0</mn></munder><msub><mi mathvariant="normal">∂</mi><mi>j</mi></msub><mo>+</mo><mfrac><mn>1</mn><mrow><mn>2</mn><mi>N</mi></mrow></mfrac><munder><mo>∑</mo><mrow><mi>j</mi><mi>k</mi></mrow></munder><munder><munder><mrow><munder><mo>∑</mo><mi>i</mi></munder><msub><mi>w</mi><mi>i</mi></msub><msub><mi>a</mi><mrow><mi>i</mi><mi>j</mi></mrow></msub><msub><mi>a</mi><mrow><mi>i</mi><mi>k</mi></mrow></msub></mrow><mo stretchy="true">⏟</mo></munder><msub><mi>A</mi><mrow><mi>j</mi><mi>k</mi></mrow></msub></munder><msub><mi mathvariant="normal">∂</mi><mi>j</mi></msub><msub><mi mathvariant="normal">∂</mi><mi>k</mi></msub><mo>+</mo><mi mathvariant="normal">O</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>N</mi><mrow><mo>−</mo><mn>3</mn><mi mathvariant="normal">/</mi><mn>2</mn></mrow></msup><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
P_N&amp;=\sum_iw_i\fc\exp{\sum_j\fr{a_{ij}}{\sqrt N}\partial_j}\\
&amp;=\underbrace{\sum_iw_i}_1
+\fr1{\sqrt N}\sum_j\underbrace{\sum_iw_ia_{ij}}_0\partial_j
+\fr1{2N}\sum_{jk}\underbrace{\sum_iw_ia_{ij}a_{ik}}_{A_{jk}}\partial_j\partial_k
+\order{N^{-3/2}}.
\end{align*}</annotation></semantics></math></span></span></span> Now, in the limit of infinite <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>, 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>G</mi><mo>=</mo><munder><mrow><mi>lim</mi><mo>⁡</mo></mrow><mrow><mi>N</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow></munder><msubsup><mi>P</mi><mi>N</mi><mi>N</mi></msubsup><mo>=</mo><munder><mrow><mi>lim</mi><mo>⁡</mo></mrow><mrow><mi>N</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow></munder><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>+</mo><mfrac><mn>1</mn><mrow><mn>2</mn><mi>N</mi></mrow></mfrac><munder><mo>∑</mo><mrow><mi>j</mi><mi>k</mi></mrow></munder><msub><mi>A</mi><mrow><mi>j</mi><mi>k</mi></mrow></msub><msub><mi mathvariant="normal">∂</mi><mi>j</mi></msub><msub><mi mathvariant="normal">∂</mi><mi>k</mi></msub><mo fence="true">)</mo></mrow><mi>N</mi></msup><mo>=</mo><mi>exp</mi><mo>⁡</mo><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mfrac><mn>1</mn><mn>2</mn></mfrac><munder><mo>∑</mo><mrow><mi>j</mi><mi>k</mi></mrow></munder><msub><mi>A</mi><mrow><mi>j</mi><mi>k</mi></mrow></msub><msub><mi mathvariant="normal">∂</mi><mi>j</mi></msub><msub><mi mathvariant="normal">∂</mi><mi>k</mi></msub><mo fence="true">)</mo></mrow><mo>=</mo><msup><mi>G</mi><mn>1</mn></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">G=\lim_{N\to\infty}P_N^N
=\lim_{N\to\infty}\p{1+\fr1{2N}\sum_{jk}A_{jk}\partial_j\partial_k}^N
=\fc\exp{\fr12\sum_{jk}A_{jk}\partial_j\partial_k}=G^1.</annotation></semantics></math></span></span></span> This means that applying the Gaussian blur filter is equivalent to evolving one unit of time according to the heat equation. Therefore, the equation in the beginning of this article, the definition of the Gaussian blur filter, can then be used to express the unit time evolution under the heat equation in the form of a integral transformation. To get the general <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>G</mi><mi>t</mi></msup></mrow><annotation encoding="application/x-tex">G^t</annotation></semantics></math></span></span>, we can just replace <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> with <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>t</mi><mi>A</mi></mrow><annotation encoding="application/x-tex">tA</annotation></semantics></math></span></span>.</p>
<p>As a byproduct, we can then show that the heat kernel is a Gaussian kernel. The heat kernel <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>K</mi><mi>t</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo separator="true">,</mo><msup><mi>x</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc{K_t}{x,x'}</annotation></semantics></math></span></span> is defined as the solution to the heat equation with initial condition <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>K</mi><mn>0</mn></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo separator="true">,</mo><msup><mi>x</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo fence="true">)</mo></mrow><mo>=</mo><mi>δ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo>−</mo><msup><mi>x</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc{K_0}{x,x'}=\fc\dlt{x-x'}</annotation></semantics></math></span></span>. Directly applying <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>G</mi><mi>t</mi></msup></mrow><annotation encoding="application/x-tex">G^t</annotation></semantics></math></span></span> to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>δ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo>−</mo><msup><mi>x</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\fc\dlt{x-x'}</annotation></semantics></math></span></span> gives
<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>K</mi><mi>t</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo separator="true">,</mo><msup><mi>x</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo fence="true">)</mo></mrow></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msup><mi>G</mi><mi>t</mi></msup><mi>δ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo>−</mo><msup><mi>x</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></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><mo>∫</mo><mfrac><mrow><msup><mi mathvariant="normal">d</mi><mi>d</mi></msup><mi>y</mi></mrow><msqrt><mrow><msup><mrow><mo fence="true">(</mo><mn>2</mn><mi>π</mi><mi>t</mi><mo fence="true">)</mo></mrow><mi>d</mi></msup><mi>det</mi><mo>⁡</mo><mi>A</mi></mrow></msqrt></mfrac><mi>exp</mi><mo>⁡</mo><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mo>−</mo><mfrac><mn>1</mn><mrow><mn>2</mn><mi>t</mi></mrow></mfrac><msub><mrow><mo fence="true">(</mo><msup><mi>A</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mrow><mi>j</mi><mi>k</mi></mrow></msub><msub><mi>y</mi><mi>j</mi></msub><msub><mi>y</mi><mi>k</mi></msub><mo fence="true">)</mo></mrow><mi>δ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo>+</mo><mi>y</mi><mo>−</mo><msup><mi>x</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></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><mfrac><mn>1</mn><msqrt><mrow><msup><mrow><mo fence="true">(</mo><mn>2</mn><mi>π</mi><mi>t</mi><mo fence="true">)</mo></mrow><mi>d</mi></msup><mi>det</mi><mo>⁡</mo><mi>A</mi></mrow></msqrt></mfrac><mi>exp</mi><mo>⁡</mo><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mo>−</mo><mfrac><mn>1</mn><mrow><mn>2</mn><mi>t</mi></mrow></mfrac><msub><mrow><mo fence="true">(</mo><msup><mi>A</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mrow><mi>j</mi><mi>k</mi></mrow></msub><mrow><mo fence="true">(</mo><msub><mi>x</mi><mi>j</mi></msub><mo>−</mo><msubsup><mi>x</mi><mi>j</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mo fence="true">)</mo></mrow><mrow><mo fence="true">(</mo><msub><mi>x</mi><mi>k</mi></msub><mo>−</mo><msubsup><mi>x</mi><mi>k</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><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{K_t}{x,x'}&amp;=G^t\fc\dlt{x-x'}\\
&amp;=\int\fr{\d^dy}{\sqrt{\p{2\pi t}^d\det A}}\fc\exp{-\fr1{2t}\p{A^{-1}}_{jk}y_jy_k}\fc\dlt{x+y-x'}\\
&amp;=\fr{1}{\sqrt{\p{2\pi t}^d\det A}}\fc\exp{-\fr1{2t}\p{A^{-1}}_{jk}\p{x_j-x'_j}\p{x_k-x'_k}},
\end{align*}</annotation></semantics></math></span></span></span> which is the form that you would find in textbooks.</p>
<hr/>
<p>The reason that I decided to study the Gaussian blur filter is that I spotted a flaw in the implementation of the blur filter in <a href="https://pixijs.com" target="_blank" rel="external">PixiJS</a>, where the uniform <code>uStrength</code> in the example shader above is scaled by <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></mrow><annotation encoding="application/x-tex">1/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><mn>1</mn><mi mathvariant="normal">/</mi><msqrt><mi>N</mi></msqrt></mrow><annotation encoding="application/x-tex">1/\sqrt N</annotation></semantics></math></span></span>. I was very happy to find the bug because this is the first time that I found a bug without actually producing an unexpected phenomenon first but by just staring at the source codes and deducing the mathematical formulas by hand. I opened an <a href="https://github.com/pixijs/pixijs/issues/11554" target="_blank" rel="external">issue</a> for my findings.</p>]]></content><author><name>UlyssesZhan</name><email>ulysseszhan@gmail.com</email></author><category term="programming" /><category term="algorithm" /><category term="shader" /><category term="probability" /><category term="pde" /><summary type="html"><![CDATA[According to the central limit theorem, the sum of some i.i.d. samples is normally distributed in the limit of large sample size. This fact can be used to implement a multi-pass Gaussian blur filter, where the total number of passes is equal to the number of samples used in the averaging. Through this, we can also see a nice relation to the heat equation, which is not surprising since the heat kernel is a Gaussian function.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://ulysseszh.github.io/assets/images/covers/2025-07-17-blur-filter.png" /><media:content medium="image" url="https://ulysseszh.github.io/assets/images/covers/2025-07-17-blur-filter.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><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 measure-theoretic formulation of statistical ensembles (part 2)]]></title><link href="https://ulysseszh.github.io/physics/2023/05/01/measure-ensemble-2.html" rel="alternate" type="text/html" title="A measure-theoretic formulation of statistical ensembles (part 2)" /><published>2023-05-01T16:26:42-07:00</published><updated>2023-05-01T16:26:42-07:00</updated><id>https://ulysseszh.github.io/physics/2023/05/01/measure-ensemble-2</id><content type="html" xml:base="https://ulysseszh.github.io/physics/2023/05/01/measure-ensemble-2.html"><![CDATA[<p>
  <em>This article follows <a href="/physics/2023/03/30/measure-ensemble.html">part 1</a>.</em>
</p>
<hr/>
<h2 data-label="0.1" id="introduction">Introduction</h2>
<p>In part 2, I will focus on non-thermal ensembles.</p>
<p>Before I proceed, I need to clarify that almost all ensembles that we actually use in physics are thermal ensembles, including the microcanonical ensemble, the canonical ensemble, and the grand canonical ensemble (the microcanonical ensemble can be considered as a special case of thermal ensemble where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span> is the trivial).</p>
<p>The theory of thermal ensembles is built by letting the system in question be in thermal contact with a bath. Similarly, if we let the system in question be in non-thermal contact with a bath, we can get the theory of non-thermal ensembles. An example of non-thermal ensembles that is actually used in physics is the isoenthalpic–isobaric ensemble, where we let the system in question be in non-thermal contact with a pressure bath.</p>
<p>However, we will see that it is harder to measure-theoretically develop the theory of non-thermal ensembles if we continue to use the same method as in the theory of thermal ensembles.</p>
<h2 data-label="0.2" id="introducing-non-thermal-contact-with-an-example">Introducing non-thermal contact with an example</h2>
<p>A <dfn>thermal contact</dfn> is a contact between thermal system that conducts heat (while exchanging some extensive quantities). A <dfn>non-thermal contact</dfn> is a contact between thermal system that does not conduct heat (while exchanging some extensive quantities). For reversible processes, thermodynamically and mathematically, heat is equivalent to a form of work, where the entropy is the displacement and where the temperature is the force. However, this is not true for non-reversible processes because of the Clausius theorem. This should have something to do with the fact that entropy is different from other extensive quantities (as is illustracted in <a href="/physics/2023/03/30/measure-ensemble.html#extensive-quantities-and-macrostates">part 1</a>).</p>
<p>First, I may introduce how we may cope with the reversible processes of two subsystems in non-thermal contact in thermodynamics. As an example, consider a tank of monatomic ideal gas separated into two parts by a thermally non-conductive, massless, incompressible plate in the middle that can move. The two parts can then adiabatically exchange energy (<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>U</mi></mrow><annotation encoding="application/x-tex">U</annotation></semantics></math></span></span>) and volume (<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 not number of particles (<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>). For one of the parts, 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><mn>0</mn><mo>=</mo><mi>δ</mi><mi>Q</mi><mo>=</mo><mi mathvariant="normal">d</mi><mi>U</mi><mo>+</mo><mi>p</mi><mtext> </mtext><mi mathvariant="normal">d</mi><mi>V</mi><mo>=</mo><mi mathvariant="normal">d</mi><mi>U</mi><mo>+</mo><mfrac><mrow><mn>2</mn><mi>U</mi></mrow><mrow><mn>3</mn><mi>V</mi></mrow></mfrac><mtext> </mtext><mi mathvariant="normal">d</mi><mi>V</mi><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">0=\delta Q=\mathrm dU+p\,\mathrm dV=\mathrm dU+\frac{2U}{3V}\,\mathrm dV,</annotation></semantics></math></span></span></span> which is good and easy to deal with because it is simply a differential 1-form.</p>
<p>However, this convenience is not possible for non-reversible processes because then we do not have the simple relation <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>p</mi><mo>=</mo><mn>2</mn><mi>U</mi><mi mathvariant="normal">/</mi><mn>3</mn><mi>V</mi></mrow><annotation encoding="application/x-tex">p=2U/3V</annotation></semantics></math></span></span>. Actually, the pressure is only well-defined for equilibrium states, and it is impossible to define a pressure that makes sense during the whole non-reversible process, which involves non-equilibrium states. Therefore, although it seems that the “thermally non-conductive” condition imposes a stronger restriction on what states can the composite system reach without external sources, it actually does not because the energy exchanged by the subsystems when they exchange volume is actually arbitrary (as long as it does not violate the second law of thermodynamics) if the process is not reversible.</p>
<p>The possible states of the non-thermally composite system then cannot be simply described by a vector subspace of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>×</mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{(1)}\times W^{(2)}</annotation></semantics></math></span></span>. If we try to use the same approach as constructing the thermally composite system to construct the non-thermally composite system, the attempt will fail.</p>
<hr/>
<p>Continuing with our example of a tank of gas. Although the pressure is not determined in the non-reversible process, there is one thing that is certain: the pressure on the plate by the gas on one side is equal to the pressure on the plate by the gas on the other side. This is because the plate must be massless (otherwise its kinetic energy would be an external source of energy; also, remember that it is incompressible: this means that it cannot be an external source of volume). Therefore, the relation between the volume exchanged and the energy exchanged is determined as long as at least one side of the plate is undergoing a reversible process because then the reversible side has determined pressure, which determines the pressure of the other side.</p>
<p>This is the key idea of formulating the non-thermal ensembles without formulating the non-thermally composite system. In a thermal or non-thermal ensemble, the composite system consists of two subsystems, one of which is the system in question, and the other is the bath which we are in control of. We can let the bath have zero relaxation time (the time for it to reach thermal equilibrium) so that any process of it is reversible. Then, the pressure (or generally, any other intensive quantities that we are in control of times the temperature) is determined (and actually constant), and we can express the non-conductivity restriction as <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">d</mi><mi>U</mi><mo>+</mo><mi>p</mi><mtext> </mtext><mi mathvariant="normal">d</mi><mi>V</mi><mo>=</mo><mn>0</mn><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\mathrm dU+p\,\mathrm dV=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><mi>p</mi></mrow><annotation encoding="application/x-tex">p</annotation></semantics></math></span></span> is the pressure, which is a constant. This is a homogeneous linear equation on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(1)}</annotation></semantics></math></span></span> (whose vectors are denoted as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi mathvariant="normal">d</mi><mi>U</mi><mo separator="true">,</mo><mi mathvariant="normal">d</mi><mi>V</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(\mathrm dU,\mathrm dV)</annotation></semantics></math></span></span> in our case) which defines a vector subspace of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(1)}</annotation></semantics></math></span></span>, which we call <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel\parallel(1)}</annotation></semantics></math></span></span>. The dimension of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel\parallel(1)}</annotation></semantics></math></span></span> is that of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(1)}</annotation></semantics></math></span></span> minus one. The physical meaning of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel\parallel(1)}</annotation></semantics></math></span></span> in this example is the hyperplane of fixed enthalpy.</p>
<p>Note that our bath actually has the fixed intensive quantities <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>i</mi><mo>=</mo><mrow><mo fence="true">(</mo><mn>1</mn><mi mathvariant="normal">/</mi><mi>T</mi><mo separator="true">,</mo><mi>p</mi><mi mathvariant="normal">/</mi><mi>T</mi><mo fence="true">)</mo></mrow><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo><mo mathvariant="normal">′</mo></mrow></msup></mrow><annotation encoding="application/x-tex">i=\left(1/T,p/T\right)\in\vec W^{\parallel(1)\prime}</annotation></semantics></math></span></span>, we can rewrite the above equation as <span id="eq:eq-W-star-parallel" 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><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>=</mo><mrow><mo fence="true">{</mo><msub><mi>s</mi><mn>1</mn></msub><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> </mtext><mo fence="true" lspace="0.05em" rspace="0.05em">|</mo><mtext> </mtext><mi>i</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>s</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo>=</mo><mn>0</mn><mo fence="true">}</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\vec W^{\parallel\parallel(1)}
=\left\{s_1\in\vec W^{\parallel(1)}\,\middle|\,i\!\left(s_1\right)=0\right\}.</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> Wait! What does <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>T</mi></mrow><annotation encoding="application/x-tex">T</annotation></semantics></math></span></span> do here? It is supposed to mean the temperature of the bath, but the temperature of the bath is irrelevant since the contact is non-thermal. Actually, it is. The temperature of the bath serves as an overall constant factor of <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>, which does not affect <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel\parallel(1)}</annotation></semantics></math></span></span> as long as it is not zero or infinite. So far, this means that the temperature of the bath is not necessarily fixed, so the actual number of fixed intensive quantities is the dimension of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo><mo mathvariant="normal">′</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(1)\prime}</annotation></semantics></math></span></span> minus one, which is the same as the dimension of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel\parallel(1)}</annotation></semantics></math></span></span>. Later we will see that anything that is relevant to the temperature of the bath will finally be irrelevant to our problem. This seems magical, but you will see the sense in that after we introduce another way of developing the non-thermal ensembles (that do not involve baths and non-thermal contact) later.</p>
<hr/>
<p>We can define a complement of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel\parallel(1)}</annotation></semantics></math></span></span> in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(1)}</annotation></semantics></math></span></span> as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel\perp(1)}</annotation></semantics></math></span></span>. Then, we have <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>=</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>+</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(1)}=\vec W^{\parallel\parallel(1)}+\vec W^{\parallel\perp(1)}</annotation></semantics></math></span></span>. The space <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel\perp(1)}</annotation></semantics></math></span></span> is a one-dimensional vector space.</p>
<p>For convenience, define <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⋆</mo><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo><mi mathvariant="normal">≔</mi></mo><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>+</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\star\perp(1)}\coloneqq W^{\perp(1)}+\vec W^{\parallel\perp(1)}</annotation></semantics></math></span></span>. The vector space <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⋆</mo><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\star\perp(1)}</annotation></semantics></math></span></span> associated with it is a complement of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel\parallel(1)}</annotation></semantics></math></span></span> in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{(1)}</annotation></semantics></math></span></span>. To make the notation look more consistent, we can use <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⋆</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\star\parallel(1)}</annotation></semantics></math></span></span> as an alias of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel\parallel(1)}</annotation></semantics></math></span></span>. They are the same vector space, but <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⋆</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\star\parallel(1)}</annotation></semantics></math></span></span> emphasizes that it is a subspace of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{(1)}</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><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel\parallel(1)}</annotation></semantics></math></span></span> emphasizes that it is a subspace of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(1)}</annotation></semantics></math></span></span>. Then, we have <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>=</mo><msup><mi>W</mi><mrow><mo>⋆</mo><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>+</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⋆</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{(1)}=W^{\star\perp(1)}+\vec W^{\star\parallel(1)}</annotation></semantics></math></span></span>. Every point in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{(1)}</annotation></semantics></math></span></span> can be uniquely written as a sum of a point in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⋆</mo><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\star\perp(1)}</annotation></semantics></math></span></span> and a vector in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⋆</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\star\parallel(1)}</annotation></semantics></math></span></span>. We can describe the decomposition by a projection <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>π</mi><mrow><mo>⋆</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>:</mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>→</mo><msup><mi>W</mi><mrow><mo>⋆</mo><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\pi^{\star(1)}:W^{(1)}\to W^{\star\perp(1)}</annotation></semantics></math></span></span>.</p>
<p>We will heavily use the “<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">\star</annotation></semantics></math></span></span>” on the superscripts of symbols. Any symbol labeled with “<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">\star</annotation></semantics></math></span></span>” is dependent on <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> (but independent on an overall constant factor on <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>). You can regard those symbols to have an invisible “<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>” in the subscript so that you can keep in mind that they are dependent on <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><em>Example.</em> Suppose we have a tank of gas with three extensive quantities <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>U</mi><mo separator="true">,</mo><mi>V</mi><mo separator="true">,</mo><mi>N</mi></mrow><annotation encoding="application/x-tex">U,V,N</annotation></semantics></math></span></span>. It is in non-thermal contact with a pressure bath with pressure <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> so that it can exchange <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>U</mi></mrow><annotation encoding="application/x-tex">U</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>V</mi></mrow><annotation encoding="application/x-tex">V</annotation></semantics></math></span></span> with the bath. Then, the projection <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>π</mi><mrow><mo>⋆</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\pi^{\star(1)}</annotation></semantics></math></span></span> projects macrostates with the same enthalpy and number of particles into the same point. Because a complement of a vector subspace is not determined, there are multiple possible ways of constructing the projection. One possible way 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><msup><mi>π</mi><mrow><mo>⋆</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>U</mi><mo separator="true">,</mo><mi>V</mi><mo separator="true">,</mo><mi>N</mi><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">(</mo><mi>U</mi><mo>+</mo><mi>p</mi><mi>V</mi><mo separator="true">,</mo><mn>0</mn><mo separator="true">,</mo><mi>N</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\pi^{\star(1)}\!\left(U,V,N\right)\coloneqq\left(U+pV,0,N\right).</annotation></semantics></math></span></span></span> Here the fixed intensive quantity <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> is involved. Note that this projection is still valid for different temperatures of the bath, so an overall constant factor of <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> does not affect the projection.</p>
<h2 data-label="0.3" id="non-thermal-contact-with-a-bath">Non-thermal contact with a bath</h2>
<p>Now, after introducing non-thermal contact with an example, we can now formulate the non-thermal contact with a bath.</p>
<p>Suppose we have a system <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi mathvariant="script">E</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^{(1)},\mathcal M^{(1)}\right)</annotation></semantics></math></span></span>. The main approach is constructing a composite system out of the composite system for the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(1)}</annotation></semantics></math></span></span>-ensemble.</p>
<p>The composite system for the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(1)}</annotation></semantics></math></span></span>-ensemble was introduced in <a href="/physics/2023/03/30/measure-ensemble.html#thermal-ensembles">part 1</a>. We denote the bath that is in contact with our system as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi mathvariant="script">E</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^{(2)},\mathcal M^{(2)}\right)</annotation></semantics></math></span></span>.</p>
<p>Consider this projection <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>π</mi><mo>⋆</mo></msup><mo>:</mo><mi>W</mi><mo>→</mo><msup><mi>W</mi><mrow><mo>⋆</mo><mo>⊥</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\pi^\star:W\to W^{\star\perp}</annotation></semantics></math></span></span> (where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⋆</mo><mo>⊥</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\star\perp}</annotation></semantics></math></span></span> is an affine subspace of <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> and the range of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>π</mi><mo>⋆</mo></msup></mrow><annotation encoding="application/x-tex">\pi^\star</annotation></semantics></math></span></span>): <span id="eq:eq-pi-star" 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><msup><mi>π</mi><mo>⋆</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">(</mo><msup><mi>π</mi><mrow><mo>⋆</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo separator="true">,</mo><msub><mi>ρ</mi><mrow><mi>π</mi><mo stretchy="false">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo stretchy="false">)</mo></mrow></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>π</mi><mrow><mo>⋆</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\pi^\star\!\left(e_1,e_2\right)
\coloneqq\left(\pi^{\star(1)}\!\left(e_1\right),
\rho_{\pi(e_1,e_2)}\!\left(\pi^{\star(1)}\!\left(e_1\right)\right)\right).</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> To ensure that it is well-defined, we need to guarantee that
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>π</mi><mrow><mo>⋆</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo>∈</mo><msubsup><mi>W</mi><mrow><mi>π</mi><mo stretchy="false">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo stretchy="false">)</mo></mrow><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">\pi^{\star(1)}\!\left(e_1\right)\in W^{\parallel(1)}_{\pi(e_1,e_2)}</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><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub></mrow><annotation encoding="application/x-tex">e_1,e_2</annotation></semantics></math></span></span>, and this is true.</p>
<p>The two spaces <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⋆</mo><mo>⊥</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\star\perp}</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>W</mi><mo lspace="0em" rspace="0em">⊥</mo></msup></mrow><annotation encoding="application/x-tex">W^{\perp}</annotation></semantics></math></span></span> do not have any direct relation. The only relation between them is that the dimension of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⋆</mo><mo>⊥</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\star\perp}</annotation></semantics></math></span></span> is one plus the dimension of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mo lspace="0em" rspace="0em">⊥</mo></msup></mrow><annotation encoding="application/x-tex">W^{\perp}</annotation></semantics></math></span></span> (if they are finite-dimensional).</p>
<p>What is good about the projection <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>π</mi><mo>⋆</mo></msup></mrow><annotation encoding="application/x-tex">\pi^\star</annotation></semantics></math></span></span> is that it satisfies <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⋆</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>=</mo><msup><mover accent="true"><mi>c</mi><mo>⃗</mo></mover><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mo>⋆</mo></msup><mo stretchy="false">(</mo><mn>0</mn><mo stretchy="false">)</mo><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\vec W^{\star\parallel(1)}=\vec c^{(1)}\!\left(\vec\pi^\star(0)\right)</annotation></semantics></math></span></span>. This makes our notation consistent if we construct another composite system out of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>π</mi><mo>⋆</mo></msup></mrow><annotation encoding="application/x-tex">\pi^\star</annotation></semantics></math></span></span>. Now, consider the composite system of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi mathvariant="script">E</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^{(1)},\mathcal M^{(1)}\right)</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><msup><mi mathvariant="script">E</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^{(2)},\mathcal M^{(2)}\right)</annotation></semantics></math></span></span> under the projection <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>π</mi><mo>⋆</mo></msup></mrow><annotation encoding="application/x-tex">\pi^\star</annotation></semantics></math></span></span>. In the notation of the spaces and mappings that are involved in the newly constructed composite system, we write “<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">\star</annotation></semantics></math></span></span>” in the superscript.</p>
<p>Just like how <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⋆</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\star\parallel(1)}</annotation></semantics></math></span></span> is a subspace of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{(1)}</annotation></semantics></math></span></span>, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⋆</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\star\parallel(2)}</annotation></semantics></math></span></span> is also a subspace of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{(2)}</annotation></semantics></math></span></span>. This means that both <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo>∘</mo><msup><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mo>⋆</mo></msup></mrow><annotation encoding="application/x-tex">\vec\rho^{-1}\circ\vec\rho^\star</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>ρ</mi><mo>⃗</mo></mover><mo>∘</mo><msup><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mrow><mo>⋆</mo><mo>−</mo><mn>1</mn></mrow></msup></mrow><annotation encoding="application/x-tex">\vec\rho\circ\vec\rho^{\star-1}</annotation></semantics></math></span></span> are well-defined. The former maps <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⋆</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\star\parallel(1)}</annotation></semantics></math></span></span> to another subspace of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{(1)}</annotation></semantics></math></span></span>, and the latter maps <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⋆</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\star\parallel(2)}</annotation></semantics></math></span></span> to another subspace of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{(2)}</annotation></semantics></math></span></span>.</p>
<p>We can regard the construction of the new composite system as replacing the “plate” between the subsystems in the original composite system from a “thermally conductive plate” to a “thermally non-conductive plate”. Suppose that in the new situation, the intensive quantities “felt” by subsystem 1 is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>i</mi><mo>⋆</mo></msup><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⋆</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo><mo mathvariant="normal">′</mo></mrow></msup></mrow><annotation encoding="application/x-tex">i^\star\in\vec W^{\star\parallel(1)\prime}</annotation></semantics></math></span></span>. Then, because the bath is still the same bath in the two situations, 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><mo>−</mo><msup><mi>i</mi><mo>⋆</mo></msup><mo>∘</mo><msup><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mrow><mo>⋆</mo><mo>−</mo><mn>1</mn></mrow></msup><mo>=</mo><mo>−</mo><mi>i</mi><mo>∘</mo><msup><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mrow><mo>−</mo><mn>1</mn></mrow></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">-i^\star\circ\vec\rho^{\star-1}=-i\circ\vec\rho^{-1}.</annotation></semantics></math></span></span></span> Therefore, <span id="eq:eq-i-star" data-label="(3)"><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><msup><mi>i</mi><mo>⋆</mo></msup><mo><mi mathvariant="normal">≔</mi></mo><mi>i</mi><mo>∘</mo><msup><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo>∘</mo><msup><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mo>⋆</mo></msup></mrow><annotation encoding="application/x-tex">i^\star\coloneqq i\circ\vec\rho^{-1}\circ\vec\rho^\star</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>3</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(3)</annotation></semantics></math></span></span></span></span> </span></span> would be a good definition of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>i</mi><mo>⋆</mo></msup></mrow><annotation encoding="application/x-tex">i^\star</annotation></semantics></math></span></span>. However, actually <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>i</mi><mo>⋆</mo></msup></mrow><annotation encoding="application/x-tex">i^\star</annotation></semantics></math></span></span> is trivial: <span id="eq:eq-i-star-0" data-label="(4)"><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><msup><mi>i</mi><mo>⋆</mo></msup><mo>=</mo><mn>0.</mn></mrow><annotation encoding="application/x-tex">i^\star=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>4</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(4)</annotation></semantics></math></span></span></span></span> </span></span> This is because <a href="#eq:eq-pi-star">2</a> shows that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>ρ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msubsup><mi>W</mi><mi>e</mi><mrow><mo>⋆</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo fence="true">)</mo></mrow><mo>=</mo><msubsup><mi>W</mi><mi>e</mi><mrow><mo>⋆</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">\rho\!\left(W^{\star\parallel(1)}_e\right)=W^{\star\parallel(2)}_e</annotation></semantics></math></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><msup><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mo>⋆</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⋆</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo>=</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⋆</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\vec\rho^{-1}\!\left(\vec\rho^\star\!\left(\vec W^{\star\parallel(1)}\right)\right)
=\vec W^{\star\parallel(1)},</annotation></semantics></math></span></span></span> which is the kernel of <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> by definition.</p>
<p>Because <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>i</mi><mo>⋆</mo></msup></mrow><annotation encoding="application/x-tex">i^\star</annotation></semantics></math></span></span> is trivial, it is irrelevant to the temperature of the bath because it is zero no matter what temperature the bath is at.</p>
<p><em>Example.</em> Suppose a system described by <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><mo separator="true">,</mo><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>1</mn></msub></mrow><annotation encoding="application/x-tex">U_1,V_1,N_1</annotation></semantics></math></span></span> is in non-thermal contact with a pressure bath, and they can exchange energy and volume. The projection <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">\pi</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><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>U</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>U</mi><mn>2</mn></msub><mo separator="true">,</mo><msub><mi>V</mi><mn>2</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>=</mo><mrow><mo fence="true">(</mo><mfrac><mrow><msub><mi>U</mi><mn>1</mn></msub><mo>+</mo><msub><mi>U</mi><mn>2</mn></msub></mrow><mn>2</mn></mfrac><mo separator="true">,</mo><mfrac><mrow><msub><mi>V</mi><mn>1</mn></msub><mo>+</mo><msub><mi>V</mi><mn>2</mn></msub></mrow><mn>2</mn></mfrac><mo separator="true">,</mo><msub><mi>N</mi><mn>1</mn></msub><mo separator="true">,</mo><mfrac><mrow><msub><mi>U</mi><mn>1</mn></msub><mo>+</mo><msub><mi>U</mi><mn>2</mn></msub></mrow><mn>2</mn></mfrac><mo separator="true">,</mo><mfrac><mrow><msub><mi>V</mi><mn>1</mn></msub><mo>+</mo><msub><mi>V</mi><mn>2</mn></msub></mrow><mn>2</mn></mfrac><mo separator="true">,</mo><msub><mi>N</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\pi\!\left(U_1,V_1,N_1,U_2,V_2,N_2\right)
=\left(\frac{U_1+U_2}2,\frac{V_1+V_2}2,N_1,\frac{U_1+U_2}2,\frac{V_1+V_2}2,N_2\right).</annotation></semantics></math></span></span></span>
Then, the projection <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>π</mi><mo>⋆</mo></msup></mrow><annotation encoding="application/x-tex">\pi^\star</annotation></semantics></math></span></span> can 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><msup><mi>π</mi><mo>⋆</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>U</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>U</mi><mn>2</mn></msub><mo separator="true">,</mo><msub><mi>V</mi><mn>2</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>=</mo><mrow><mo fence="true">(</mo><msub><mi>U</mi><mn>1</mn></msub><mo>+</mo><mi>p</mi><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><mn>0</mn><mo separator="true">,</mo><msub><mi>N</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>U</mi><mn>2</mn></msub><mo>−</mo><mi>p</mi><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>V</mi><mn>1</mn></msub><mo>+</mo><msub><mi>V</mi><mn>2</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\pi^\star\!\left(U_1,V_1,N_1,U_2,V_2,N_2\right)
=\left(U_1+pV_1,0,N_1,U_2-pV_1,V_1+V_2,N_2\right).</annotation></semantics></math></span></span></span>
By choosing a different <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>π</mi><mrow><mo>⋆</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\pi^{\star(1)}</annotation></semantics></math></span></span> or a different <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">\pi</annotation></semantics></math></span></span>, we can get a different <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>π</mi><mo>⋆</mo></msup></mrow><annotation encoding="application/x-tex">\pi^\star</annotation></semantics></math></span></span>. They physically mean the same composite system.</p>
<p>The space <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">W^\perp</annotation></semantics></math></span></span> is four-dimensional, and the space <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⋆</mo><mo>⊥</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\star\perp}</annotation></semantics></math></span></span> is five-dimensional. We can denote the five degrees of freedom as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>U</mi><mo separator="true">,</mo><mi>V</mi><mo separator="true">,</mo><msub><mi>H</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>2</mn></msub></mrow><annotation encoding="application/x-tex">U,V,H_1,N_1,N_2</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>U</mi><mo><mi mathvariant="normal">≔</mi></mo><msub><mi>U</mi><mn>1</mn></msub><mo>+</mo><msub><mi>U</mi><mn>2</mn></msub></mrow><annotation encoding="application/x-tex">U\coloneqq U_1+U_2</annotation></semantics></math></span></span> is the total energy, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>V</mi><mo><mi mathvariant="normal">≔</mi></mo><msub><mi>V</mi><mn>1</mn></msub><mo>+</mo><msub><mi>V</mi><mn>2</mn></msub></mrow><annotation encoding="application/x-tex">V\coloneqq V_1+V_2</annotation></semantics></math></span></span> is the total volume, and
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>H</mi><mn>1</mn></msub><mo><mi mathvariant="normal">≔</mi></mo><msub><mi>U</mi><mn>1</mn></msub><mo>+</mo><mi>p</mi><msub><mi>V</mi><mn>1</mn></msub></mrow><annotation encoding="application/x-tex">H_1\coloneqq U_1+pV_1</annotation></semantics></math></span></span> is the enthalpy of subsystem 1. Then, the projection <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>π</mi><mo>⋆</mo></msup></mrow><annotation encoding="application/x-tex">\pi^\star</annotation></semantics></math></span></span> can be written as <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>π</mi><mo>⋆</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>U</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>U</mi><mn>2</mn></msub><mo separator="true">,</mo><msub><mi>V</mi><mn>2</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>=</mo><mrow><mo fence="true">(</mo><msub><mi>H</mi><mn>1</mn></msub><mo separator="true">,</mo><mn>0</mn><mo separator="true">,</mo><msub><mi>N</mi><mn>1</mn></msub><mo separator="true">,</mo><mi>U</mi><mo>−</mo><msub><mi>H</mi><mn>1</mn></msub><mo separator="true">,</mo><mi>V</mi><mo separator="true">,</mo><msub><mi>N</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\pi^\star\!\left(U_1,V_1,N_1,U_2,V_2,N_2\right)
=\left(H_1,0,N_1,U-H_1,V,N_2\right).</annotation></semantics></math></span></span></span> We can get <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>⋆</mo><mo>∥</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\star\parallel}_e</annotation></semantics></math></span></span> by finding the inverse of the projection, where
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>e</mi><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">(</mo><msub><mi>H</mi><mn>1</mn></msub><mo separator="true">,</mo><mn>0</mn><mo separator="true">,</mo><msub><mi>N</mi><mn>1</mn></msub><mo separator="true">,</mo><mi>U</mi><mo>−</mo><msub><mi>H</mi><mn>1</mn></msub><mo separator="true">,</mo><mi>V</mi><mo separator="true">,</mo><msub><mi>N</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">e\coloneqq\left(H_1,0,N_1,U-H_1,V,N_2\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><msubsup><mi>W</mi><mi>e</mi><mrow><mo>⋆</mo><mo>∥</mo></mrow></msubsup><mo><mi mathvariant="normal">≔</mi></mo><msup><mi>π</mi><mrow><mo>⋆</mo><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo fence="true">)</mo></mrow><mo>=</mo><mrow><mo fence="true">{</mo><mrow><mo fence="true">(</mo><msub><mi>H</mi><mn>1</mn></msub><mo>−</mo><mi>p</mi><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>1</mn></msub><mo separator="true">,</mo><mi>U</mi><mo>−</mo><msub><mi>H</mi><mn>1</mn></msub><mo>+</mo><mi>p</mi><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><mi>V</mi><mo>−</mo><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo fence="true" lspace="0.05em" rspace="0.05em">|</mo><mtext> </mtext><msub><mi>V</mi><mn>1</mn></msub><mo>∈</mo><mi mathvariant="double-struck">R</mi><mo fence="true">}</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">W^{\star\parallel}_e\coloneqq\pi^{\star-1}\!\left(e\right)
=\left\{\left(H_1-pV_1,V_1,N_1,U-H_1+pV_1,V-V_1,N_2\right)\middle|\,V_1\in\mathbb R\right\}.</annotation></semantics></math></span></span></span> Because it is parameterized by one real parameter
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>V</mi><mn>1</mn></msub></mrow><annotation encoding="application/x-tex">V_1</annotation></semantics></math></span></span>, it is a one-dimensional affine subspace of <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>. Projecting it under <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>c</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">c^{(1)}</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>c</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">c^{(2)}</annotation></semantics></math></span></span> will respectively give us <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>⋆</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\star\parallel(1)}_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><msubsup><mi>W</mi><mi>e</mi><mrow><mo>⋆</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\star\parallel(2)}_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><msubsup><mi>W</mi><mi>e</mi><mrow><mo>⋆</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">{</mo><mrow><mo fence="true">(</mo><msub><mi>H</mi><mn>1</mn></msub><mo>−</mo><mi>p</mi><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo fence="true" lspace="0.05em" rspace="0.05em">|</mo><mtext> </mtext><msub><mi>V</mi><mn>1</mn></msub><mo>∈</mo><mi mathvariant="double-struck">R</mi><mo fence="true">}</mo></mrow><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">W^{\star\parallel(1)}_e
\coloneqq\left\{\left(H_1-pV_1,V_1,N_1\right)\middle|\,V_1\in\mathbb R\right\},</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><msubsup><mi>W</mi><mi>e</mi><mrow><mo>⋆</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">{</mo><mrow><mo fence="true">(</mo><mi>U</mi><mo>−</mo><msub><mi>H</mi><mn>1</mn></msub><mo>+</mo><mi>p</mi><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><mi>V</mi><mo>−</mo><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo fence="true" lspace="0.05em" rspace="0.05em">|</mo><mtext> </mtext><msub><mi>V</mi><mn>1</mn></msub><mo>∈</mo><mi mathvariant="double-struck">R</mi><mo fence="true">}</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">W^{\star\parallel(2)}_e
\coloneqq\left\{\left(U-H_1+pV_1,V-V_1,N_2\right)\middle|\,V_1\in\mathbb R\right\}.</annotation></semantics></math></span></span></span></p>
<p>The affine isomorphism <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>ρ</mi><mi>e</mi><mo>⋆</mo></msubsup></mrow><annotation encoding="application/x-tex">\rho^\star_e</annotation></semantics></math></span></span> is then naturally <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>ρ</mi><mi>e</mi><mo>⋆</mo></msubsup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>H</mi><mn>1</mn></msub><mo>−</mo><mi>p</mi><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo>=</mo><mrow><mo fence="true">(</mo><mi>U</mi><mo>−</mo><msub><mi>H</mi><mn>1</mn></msub><mo>+</mo><mi>p</mi><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><mi>V</mi><mo>−</mo><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\rho^\star_e\!\left(H_1-pV_1,V_1,N_1\right)=\left(U-H_1+pV_1,V-V_1,N_2\right).</annotation></semantics></math></span></span></span> Its vectoric form is 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><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mo>⋆</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mo>−</mo><mi>p</mi><mtext> </mtext><mi mathvariant="normal">d</mi><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><mi mathvariant="normal">d</mi><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><mn>0</mn><mo fence="true">)</mo></mrow><mo>=</mo><mrow><mo fence="true">(</mo><mi>p</mi><mtext> </mtext><mi mathvariant="normal">d</mi><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><mo>−</mo><mi mathvariant="normal">d</mi><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><mn>0</mn><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\vec\rho^\star\!\left(-p\,\mathrm dV_1,\mathrm dV_1,0\right)
=\left(p\,\mathrm dV_1,-\mathrm dV_1,0\right).</annotation></semantics></math></span></span></span></p>
<p>Our fixed intensive quantities are <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>, which is defined as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>i</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi mathvariant="normal">d</mi><msub><mi>U</mi><mn>1</mn></msub><mo separator="true">,</mo><mi mathvariant="normal">d</mi><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><mn>0</mn><mo fence="true">)</mo></mrow><mo>=</mo><mfrac><mn>1</mn><mi>T</mi></mfrac><mtext> </mtext><mi mathvariant="normal">d</mi><msub><mi>U</mi><mn>1</mn></msub><mo>+</mo><mfrac><mi>p</mi><mi>T</mi></mfrac><mtext> </mtext><mi mathvariant="normal">d</mi><msub><mi>V</mi><mn>1</mn></msub></mrow><annotation encoding="application/x-tex">i\!\left(\mathrm dU_1,\mathrm dV_1,0\right)=\frac1T\,\mathrm dU_1+\frac pT\,\mathrm dV_1</annotation></semantics></math></span></span>. We can then get <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>i</mi><mo>⋆</mo></msup></mrow><annotation encoding="application/x-tex">i^\star</annotation></semantics></math></span></span> by <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>i</mi><mo>⋆</mo></msup><mo><mi mathvariant="normal">≔</mi></mo><mi>i</mi><mo>∘</mo><msup><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo>∘</mo><msup><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mo>⋆</mo></msup><mo>=</mo><mrow><mo fence="true">(</mo><mo>−</mo><mi>p</mi><mtext> </mtext><mi mathvariant="normal">d</mi><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><mi mathvariant="normal">d</mi><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><mn>0</mn><mo fence="true">)</mo></mrow><mo>↦</mo><mn>0.</mn></mrow><annotation encoding="application/x-tex">i^\star\coloneqq i\circ\vec\rho^{-1}\circ\vec\rho^\star
=\left(-p\,\mathrm dV_1,\mathrm dV_1,0\right)\mapsto0.</annotation></semantics></math></span></span></span> This is consistent with Equation <a href="#eq:eq-i-star-0">4</a>.</p>
<h2 data-label="0.4" id="non-thermal-ensembles-bath-version">Non-thermal ensembles (bath version)</h2>
<p>Now, we can define the non-thermal contact with a bath to be the same as the thermal contact with a bath under <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>π</mi><mo>⋆</mo></msup></mrow><annotation encoding="application/x-tex">\pi^\star</annotation></semantics></math></span></span>. Utilizing this definition, we can define the composite system for non-thermal ensembles.</p>
<p class="no-indent">
<strong>Definition.</strong> A <dfn>composite system for the non-thermal <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(1)}</annotation></semantics></math></span></span>-ensemble</dfn> of the system <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi mathvariant="script">E</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^{(1)},\mathcal M^{(1)}\right)</annotation></semantics></math></span></span> with fixed intensive quantities <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 same as the composite system for the thermal <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⋆</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\star\parallel(1)}</annotation></semantics></math></span></span>-ensemble with fixed intensive quantities <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>i</mi><mo>⋆</mo></msup><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">i^\star=0</annotation></semantics></math></span></span> (given by Equation <a href="#eq:eq-i-star-0">4</a>), where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⋆</mo><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\star\parallel(1)}</annotation></semantics></math></span></span> is defined by Equation <a href="#eq:eq-W-star-parallel">1</a>.
</p>
<p>This definition looks very neat. Also, just like how we define the domain of fixed intensive quantities of a thermal ensemble, we can define the domain of fixed intensive quantities of a non-thermal ensemble to consist of those values that make the integral in the definition of the partition function converge.</p>
<p>Because we already derived the formula of the partition function in <a href="/physics/2023/03/30/measure-ensemble.html#thermal-ensembles">part 1</a> that does not involve information about the bath anymore, we can drop the “<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><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>” in the superscripts. The partition function of the non-thermal ensemble is 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>Z</mi><mo>⋆</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo separator="true">,</mo><msup><mi>i</mi><mo>⋆</mo></msup><mo fence="true">)</mo></mrow><mo>=</mo><msub><mo>∫</mo><mrow><mi>s</mi><mo>∈</mo><msubsup><mover accent="true"><mi>E</mi><mo>⃗</mo></mover><mi>e</mi><mrow><mo>⋆</mo><mo>∥</mo></mrow></msubsup></mrow></msub><mi mathvariant="normal">Ω</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo>+</mo><mi>s</mi><mo fence="true">)</mo></mrow><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><msup><mi>i</mi><mo>⋆</mo></msup><mrow><mo fence="true">(</mo><mi>s</mi><mo fence="true">)</mo></mrow></mrow></msup><mtext> </mtext><mi mathvariant="normal">d</mi><msup><mi>λ</mi><mo lspace="0em" rspace="0em">∥</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>s</mi><mo fence="true">)</mo></mrow><mo separator="true">,</mo><mspace width="1em"/><mi>e</mi><mo>∈</mo><msup><mi>E</mi><mrow><mo>⋆</mo><mo>⊥</mo></mrow></msup><mo separator="true">,</mo><mspace width="1em"/><msup><mi>i</mi><mo>⋆</mo></msup><mo>∈</mo><msubsup><mi>I</mi><mi>e</mi><mo>⋆</mo></msubsup><mo>⊆</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⋆</mo><mo>∥</mo><mo mathvariant="normal">′</mo></mrow></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">Z^\star\!\left(e,i^\star\right)=\int_{s\in\vec E^{\star\parallel}_e}
\Omega\!\left(e+s\right)
\mathrm e^{-i^\star\left(s\right)}\,\mathrm d\lambda^{\parallel}\!\left(s\right),\quad
e\in E^{\star\perp},\quad i^\star\in I^\star_e\subseteq\vec W^{\star\parallel\prime}.</annotation></semantics></math></span></span></span> Here, the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>i</mi><mo>⋆</mo></msup></mrow><annotation encoding="application/x-tex">i^\star</annotation></semantics></math></span></span> is not fixed at the trivial value <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 abused the notation here) but actually is an independent variable serving as one of the arguments of the partition function that takes values in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>I</mi><mi>e</mi><mo>⋆</mo></msubsup></mrow><annotation encoding="application/x-tex">I^\star_e</annotation></semantics></math></span></span> (which is not the domain of fixed intensive quantities of the non-thermal ensemble that was mentioned above).</p>
<p>However, the only meaningful information about this non-thermal ensemble is in the behavior of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>Z</mi><mo>⋆</mo></msup></mrow><annotation encoding="application/x-tex">Z^\star</annotation></semantics></math></span></span> at <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>i</mi><mo>⋆</mo></msup><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">i^\star=0</annotation></semantics></math></span></span> instead of any arbitrary <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>i</mi><mo>⋆</mo></msup><mo>∈</mo><msubsup><mi>I</mi><mi>e</mi><mo>⋆</mo></msubsup></mrow><annotation encoding="application/x-tex">i^\star\in I^\star_e</annotation></semantics></math></span></span>, but we do not know whether <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>0</mn><mo>∈</mo><msubsup><mi>I</mi><mi>e</mi><mo>⋆</mo></msubsup></mrow><annotation encoding="application/x-tex">0\in I^\star_e</annotation></semantics></math></span></span> or not. This is then a criterion of judge whether <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 in the domain of fixed intensive quantities of the non-thermal ensemble or not. To be clear, 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><mi>J</mi><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">{</mo><mi>i</mi><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo mathvariant="normal">′</mo></mrow></msup><mtext> </mtext><mo fence="true" lspace="0.05em" rspace="0.05em">|</mo><mtext> </mtext><mi mathvariant="normal">∃</mi><mi>e</mi><mo>∈</mo><msup><mi>E</mi><mrow><mo>⋆</mo><mo>⊥</mo></mrow></msup><mo>:</mo><mn>0</mn><mo>∈</mo><msubsup><mi>I</mi><mi>e</mi><mo>⋆</mo></msubsup><mo fence="true">}</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">J\coloneqq\left\{i\in\vec W^{\parallel\prime}\,\middle|\,
\exists e\in E^{\star\perp}:0\in I^\star_{e}\right\}.</annotation></semantics></math></span></span></span> A problem about this formulation is that it is possible to have two <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>’s that share the same thermal equilibrium state. In that case, the non-thermal ensemble is not defined.</p>
<p>Because <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>i</mi><mo>⋆</mo></msup><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">i^\star=0</annotation></semantics></math></span></span>, the observed extensive quantities in thermal equilibrium are just <span id="eq:eq-epsilon-circ" data-label="(5)"><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><msup><mi>ε</mi><mo>∘</mo></msup><mo>=</mo><mi>e</mi><mo>+</mo><msub><mrow><mfrac><mrow><mi mathvariant="normal">∂</mi><mi>ln</mi><mo>⁡</mo><msup><mi>Z</mi><mo>⋆</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo separator="true">,</mo><msup><mi>i</mi><mo>⋆</mo></msup><mo fence="true">)</mo></mrow></mrow><mrow><mi mathvariant="normal">∂</mi><msup><mi>i</mi><mo>⋆</mo></msup></mrow></mfrac><mo fence="true">∣</mo></mrow><mrow><msup><mi>i</mi><mo>⋆</mo></msup><mo>=</mo><mn>0</mn></mrow></msub><mo>=</mo><mi>e</mi><mo>+</mo><mfrac><mrow><msub><mo>∫</mo><mrow><mi>s</mi><mo>∈</mo><mrow><mo fence="true">(</mo><mi>E</mi><mo>−</mo><mi>e</mi><mo fence="true">)</mo></mrow><mo>∩</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⋆</mo><mo>∥</mo></mrow></msup></mrow></msub><mi>s</mi><mi mathvariant="normal">Ω</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo>+</mo><mi>s</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msup><mi>λ</mi><mo lspace="0em" rspace="0em">∥</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>s</mi><mo fence="true">)</mo></mrow></mrow><mrow><msub><mo>∫</mo><mrow><mi>s</mi><mo>∈</mo><mrow><mo fence="true">(</mo><mi>E</mi><mo>−</mo><mi>e</mi><mo fence="true">)</mo></mrow><mo>∩</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⋆</mo><mo>∥</mo></mrow></msup></mrow></msub><mi mathvariant="normal">Ω</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo>+</mo><mi>s</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msup><mi>λ</mi><mo lspace="0em" rspace="0em">∥</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>s</mi><mo fence="true">)</mo></mrow></mrow></mfrac><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\varepsilon^\circ
=e+\left.\frac{\partial\ln Z^\star\!\left(e,i^\star\right)}{\partial i^\star}\right|_{i^\star=0}
=e+\frac{\int_{s\in\left(E-e\right)\cap\vec W^{\star\parallel}}
s\Omega\!\left(e+s\right)\mathrm d\lambda^{\parallel}\!\left(s\right)}
{\int_{s\in\left(E-e\right)\cap\vec W^{\star\parallel}}
\Omega\!\left(e+s\right)\mathrm d\lambda^{\parallel}\!\left(s\right)},</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>5</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(5)</annotation></semantics></math></span></span></span></span> </span></span> and the entropy in thermal equilibrium is just <span id="eq:eq-S-circ" data-label="(6)"><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><msup><mi>S</mi><mo>∘</mo></msup><mo>=</mo><mi>ln</mi><mo>⁡</mo><msup><mi>Z</mi><mo>⋆</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo separator="true">,</mo><mn>0</mn><mo fence="true">)</mo></mrow><mo>=</mo><mi>ln</mi><mo>⁡</mo><msub><mo>∫</mo><mrow><mi>s</mi><mo>∈</mo><mrow><mo fence="true">(</mo><mi>E</mi><mo>−</mo><mi>e</mi><mo fence="true">)</mo></mrow><mo>∩</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⋆</mo><mo>∥</mo></mrow></msup></mrow></msub><mi mathvariant="normal">Ω</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo>+</mo><mi>s</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msup><mi>λ</mi><mo lspace="0em" rspace="0em">∥</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>s</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">S^\circ=\ln Z^\star\!\left(e,0\right)
=\ln\int_{s\in\left(E-e\right)\cap\vec W^{\star\parallel}}
\Omega\!\left(e+s\right)\mathrm d\lambda^{\parallel}\!\left(s\right).</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>6</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(6)</annotation></semantics></math></span></span></span></span> </span></span> We can cancel the parameter <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> by Equation <a href="#eq:eq-epsilon-circ">5</a> and <a href="#eq:eq-S-circ">6</a> to get <span id="eq:eq-S-circ-vs-epsilon-circ" data-label="(7)"><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><msup><mi>S</mi><mo>∘</mo></msup><mo>=</mo><mi>ln</mi><mo>⁡</mo><msup><mi>Z</mi><mo>⋆</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>π</mi><mo>⋆</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>ε</mi><mo>∘</mo></msup><mo fence="true">)</mo></mrow><mo separator="true">,</mo><mn>0</mn><mo fence="true">)</mo></mrow><mo>=</mo><mi>ln</mi><mo>⁡</mo><msub><mo>∫</mo><mrow><mi>s</mi><mo>∈</mo><mrow><mo fence="true">(</mo><mi>E</mi><mo>−</mo><msup><mi>ε</mi><mo>∘</mo></msup><mo fence="true">)</mo></mrow><mo>∩</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⋆</mo><mo>∥</mo></mrow></msup></mrow></msub><mi mathvariant="normal">Ω</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>ε</mi><mo>∘</mo></msup><mo>+</mo><mi>s</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msup><mi>λ</mi><mo lspace="0em" rspace="0em">∥</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>s</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">S^\circ=\ln Z^\star\!\left(\pi^\star\!\left(\varepsilon^\circ\right),0\right)
=\ln\int_{s\in\left(E-\varepsilon^\circ\right)\cap\vec W^{\star\parallel}}
\Omega\!\left(\varepsilon^\circ+s\right)\mathrm d\lambda^{\parallel}\!\left(s\right).</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>7</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(7)</annotation></semantics></math></span></span></span></span> </span></span></p>
<p>What is interesting about Equation <a href="#eq:eq-S-circ-vs-epsilon-circ">7</a> is that it actually does not guarantee the intensive variables to be defined in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span>. Physically this means that the temperature is not necessarily defined, unlike the case of thermal ensembles (this is because the thermal contact makes the temperature the same as the bath and thus defined). The thing that is guaranteed is that the intensive variables are defined in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⋆</mo><mo>∥</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\star\parallel}</annotation></semantics></math></span></span> and they must be zero. Therefore, whenever the intensive variables are defined in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span>, it must be parallel to <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> (and remains the same if we scale <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> by an arbitrary non-zero factor). Physically, this means that the system must have the same intensive variables as the bath up to different temperatures.</p>
<h2 data-label="0.5" id="non-thermal-ensembles-non-bath-version">Non-thermal ensembles (non-bath version)</h2>
<p>It may seem surprising that we can define non-thermal ensembles without a bath. How is it possible to fix some features about the intensive variables without a bath? The inspiration is looking at Equation <a href="#eq:eq-W-star-parallel">1</a>. We can make a guess here: if we contract the system along <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⋆</mo><mo>∥</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\star\parallel}</annotation></semantics></math></span></span>, the contraction satisfy the equal a priori probability principle. We make this guess because of the following arguments:</p>
<ul>
<li>Mathematically, contraction is a legal new system, so it should also satisfy the axioms that we proposed before.</li>
<li>Physically, because the temperature of the bath is arbitrary, the different accessible macrostates should not be too different because otherwise the temperature would matter (as appears in the expression of the partition function).</li>
</ul>
<p>After finding the equilibrium state of the contraction, we can use the contractional pullback to find the equilibrium state of the original system.</p>
<p>If you do it right, you should get the same answer as Equation <a href="#eq:eq-S-circ-vs-epsilon-circ">7</a>.</p>
<h2 data-label="0.6" id="summary">Summary</h2>
<p>The only axiom that we used is the equal a priori probability principle. Then, we formulated three types of ensembles: microcanonical, thermal, and non-thermal.</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="functional analysis" /><category term="measure theory" /><category term="probability" /><category term="long paper" /><summary type="html"><![CDATA[For sake of rigor and generalizability, I feel it necessary to try to have a mathematical formulation for statistical ensembles. I chose measure spaces as the underlying mathematical structure of thermal systems and tried to justify the method of statistical ensembles by deducing them from some axioms.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://ulysseszh.github.io/assets/images/covers/2023-05-01-measure-ensemble-2.png" /><media:content medium="image" url="https://ulysseszh.github.io/assets/images/covers/2023-05-01-measure-ensemble-2.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html"><![CDATA[A measure-theoretic formulation of statistical ensembles (part 1)]]></title><link href="https://ulysseszh.github.io/physics/2023/03/30/measure-ensemble.html" rel="alternate" type="text/html" title="A measure-theoretic formulation of statistical ensembles (part 1)" /><published>2023-03-30T21:49:51-07:00</published><updated>2023-03-30T21:49:51-07:00</updated><id>https://ulysseszh.github.io/physics/2023/03/30/measure-ensemble</id><content type="html" xml:base="https://ulysseszh.github.io/physics/2023/03/30/measure-ensemble.html"><![CDATA[<p>I feel that the process of using statistical ensembles to find properties of thermal system is not rigorous enough. There are some operations that need to be defined precisely. Also, it is not generalized enough. Currently, the only generally used statistical ensembles are the microcanonical ensemble, the canonical ensemble, and the grand canonical ensemble, but there are actually other possible ensembles that are potentially useful. Therefore, I feel it necessary to try to have a mathematical formulation.</p>
<h2 data-label="0.1" id="mathematical-tools-and-notations">Mathematical tools and notations</h2>
<p>Suppose <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi mathvariant="normal">Ω</mi><mo separator="true">,</mo><mi>σ</mi><mo stretchy="false">(</mo><mi mathvariant="normal">Ω</mi><mo stretchy="false">)</mo><mo separator="true">,</mo><mi>P</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(\Omega,\sigma(\Omega),P)</annotation></semantics></math></span></span> is a probability space. Suppose <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> is an affine space. For some map <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mo>:</mo><mi mathvariant="normal">Ω</mi><mo>→</mo><mi>W</mi></mrow><annotation encoding="application/x-tex">f:\Omega\to W</annotation></semantics></math></span></span>, we define the <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>-expectation of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi></mrow><annotation encoding="application/x-tex">f</annotation></semantics></math></span></span> as <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">E</mi><mi>P</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">[</mo><mi>f</mi><mo fence="true">]</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><msub><mo>∫</mo><mrow><mi>x</mi><mo>∈</mo><mi mathvariant="normal">Ω</mi></mrow></msub><mrow><mo fence="true">(</mo><mi>f</mi><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><mo>−</mo><msub><mi>e</mi><mn>0</mn></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>P</mi><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><mo>+</mo><msub><mi>e</mi><mn>0</mn></msub><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\mathrm E_P\!\left[f\right]\coloneqq\int_{x\in\Omega}\left(f(x)-e_0\right)\mathrm dP(x)+e_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><msub><mi>e</mi><mn>0</mn></msub><mo>∈</mo><mi>W</mi></mrow><annotation encoding="application/x-tex">e_0\in W</annotation></semantics></math></span></span> is arbitrary. Here the integral is Pettis integral. The expectation is defined if the Pettis integral is defined, and it is then well-defined in that it is independent of the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>e</mi><mn>0</mn></msub></mrow><annotation encoding="application/x-tex">e_0</annotation></semantics></math></span></span> we choose.</p>
<hr/>
<p>Suppose <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>X</mi><mo separator="true">,</mo><mi>Y</mi></mrow><annotation encoding="application/x-tex">X,Y</annotation></semantics></math></span></span> are Polish spaces. Suppose <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi>Y</mi><mo separator="true">,</mo><mi>σ</mi><mo stretchy="false">(</mo><mi>Y</mi><mo stretchy="false">)</mo><mo separator="true">,</mo><mi>μ</mi><mo stretchy="false">)</mo><mo separator="true">,</mo><mo stretchy="false">(</mo><mi>X</mi><mo separator="true">,</mo><mi>σ</mi><mo stretchy="false">(</mo><mi>X</mi><mo stretchy="false">)</mo><mo separator="true">,</mo><mi>ν</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(Y,\sigma(Y),\mu),(X,\sigma(X),\nu)</annotation></semantics></math></span></span> are measure spaces, where <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">\mu</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>ν</mi></mrow><annotation encoding="application/x-tex">\nu</annotation></semantics></math></span></span> are σ-finite Borel measures. Suppose <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>π</mi><mo>:</mo><mi>Y</mi><mo>→</mo><mi>X</mi></mrow><annotation encoding="application/x-tex">\pi:Y\to X</annotation></semantics></math></span></span> is a measurable map so 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">∀</mi><mi>A</mi><mo>∈</mo><mi>σ</mi><mo stretchy="false">(</mo><mi>X</mi><mo stretchy="false">)</mo><mo>:</mo><mi>ν</mi><mo stretchy="false">(</mo><mi>A</mi><mo stretchy="false">)</mo><mo>=</mo><mn>0</mn><mo>⇒</mo><mi>μ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>π</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>A</mi><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo>=</mo><mn>0.</mn></mrow><annotation encoding="application/x-tex">\forall A\in\sigma(X):\nu(A)=0\Rightarrow\mu\!\left(\pi^{-1}\!\left(A\right)\right)=0.</annotation></semantics></math></span></span></span> Then, for each <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>x</mi><mo>∈</mo><mi>X</mi></mrow><annotation encoding="application/x-tex">x\in X</annotation></semantics></math></span></span>, there exists a Borel measure
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>μ</mi><mi>x</mi></msub></mrow><annotation encoding="application/x-tex">\mu_x</annotation></semantics></math></span></span> on the measurable subspace <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi>π</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><mo separator="true">,</mo><mi>σ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>π</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\pi^{-1}(x),\sigma\!\left(\pi^{-1}(x)\right)\right)</annotation></semantics></math></span></span>, such that for any integrable function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi></mrow><annotation encoding="application/x-tex">f</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>Y</mi></mrow><annotation encoding="application/x-tex">Y</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><mo>∫</mo><mrow><mi>y</mi><mo>∈</mo><mi>Y</mi></mrow></msub><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>μ</mi><mo stretchy="false">(</mo><mi>y</mi><mo stretchy="false">)</mo><mo>=</mo><msub><mo>∫</mo><mrow><mi>x</mi><mo>∈</mo><mi>X</mi></mrow></msub><mi mathvariant="normal">d</mi><mi>ν</mi><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><msub><mo>∫</mo><mrow><mi>y</mi><mo>∈</mo><msup><mi>π</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo></mrow></msub><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msub><mi>μ</mi><mi>x</mi></msub><mo stretchy="false">(</mo><mi>y</mi><mo stretchy="false">)</mo><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\int_{y\in Y}f\!\left(y\right)\mathrm d\mu(y)
=\int_{x\in X}\mathrm d\nu(x)\int_{y\in\pi^{-1}(x)}f\!\left(y\right)\mathrm d\mu_x(y).</annotation></semantics></math></span></span></span></p>
<details>
<summary>
Proof
</summary>
<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><mi>μ</mi></mrow><annotation encoding="application/x-tex">\mu</annotation></semantics></math></span></span> is σ-finite, we have a countable covering of <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> by pairwise disjoint measurable sets of finite <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">\mu</annotation></semantics></math></span></span>-measure, denoted as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">{</mo><msub><mi>Y</mi><mi>i</mi></msub><mo fence="true">}</mo></mrow><annotation encoding="application/x-tex">\left\{Y_i\right\}</annotation></semantics></math></span></span>. Each <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>Y</mi><mi>i</mi></msub></mrow><annotation encoding="application/x-tex">Y_i</annotation></semantics></math></span></span> inherits the σ-algebra from <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>, and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msub><mi>Y</mi><mi>i</mi></msub><mo separator="true">,</mo><mi>σ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>Y</mi><mi>i</mi></msub><mo fence="true">)</mo></mrow><mo separator="true">,</mo><mi>μ</mi><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(Y_i,\sigma\!\left(Y_i\right),\mu\right)</annotation></semantics></math></span></span> is a measure space.
</p>
<p>Define <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>π</mi><mi>i</mi></msub><mo>:</mo><msub><mi>Y</mi><mi>i</mi></msub><mo>→</mo><mi>X</mi></mrow><annotation encoding="application/x-tex">\pi_i:Y_i\to X</annotation></semantics></math></span></span> as the restriction 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">\pi</annotation></semantics></math></span></span> to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>Y</mi><mi>i</mi></msub></mrow><annotation encoding="application/x-tex">Y_i</annotation></semantics></math></span></span>, then <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>π</mi><mi>i</mi></msub></mrow><annotation encoding="application/x-tex">\pi_i</annotation></semantics></math></span></span> is automatically a measurable map from <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>Y</mi><mi>i</mi></msub></mrow><annotation encoding="application/x-tex">Y_i</annotation></semantics></math></span></span> 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 for any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>x</mi><mo>∈</mo><mi>X</mi></mrow><annotation encoding="application/x-tex">x\in X</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><msup><mi>π</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><mo>=</mo><munder><mo>⋃</mo><mi>i</mi></munder><msubsup><mi>π</mi><mi>i</mi><mrow><mo>−</mo><mn>1</mn></mrow></msubsup><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\pi^{-1}(x)=\bigcup_i\pi_i^{-1}(x),</annotation></semantics></math></span></span></span> and the terms in the bigcup are pairwise disjoint.</p>
<p>Let <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>ν</mi><mi>i</mi></msub></mrow><annotation encoding="application/x-tex">\nu_i</annotation></semantics></math></span></span> be a measure on <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> defined as <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>ν</mi><mi>i</mi></msub><mo stretchy="false">(</mo><mi>A</mi><mo stretchy="false">)</mo><mo><mi mathvariant="normal">≔</mi></mo><mi>μ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msubsup><mi>π</mi><mi>i</mi><mrow><mo>−</mo><mn>1</mn></mrow></msubsup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>A</mi><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\nu_i(A)\coloneqq\mu\!\left(\pi_i^{-1}\!\left(A\right)\right).</annotation></semantics></math></span></span></span> This is a measure because <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>π</mi><mi>i</mi></msub></mrow><annotation encoding="application/x-tex">\pi_i</annotation></semantics></math></span></span> is a measurable map. According to the disintegration theorem, for each <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>x</mi><mo>∈</mo><mi>X</mi></mrow><annotation encoding="application/x-tex">x\in X</annotation></semantics></math></span></span>, there exists a Borel measure <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>μ</mi><mrow><mi>i</mi><mo separator="true">,</mo><mi>x</mi></mrow></msub></mrow><annotation encoding="application/x-tex">\mu_{i,x}</annotation></semantics></math></span></span> on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>Y</mi><mi>i</mi></msub></mrow><annotation encoding="application/x-tex">Y_i</annotation></semantics></math></span></span> such that for <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">\nu</annotation></semantics></math></span></span>-almost all
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>x</mi><mo>∈</mo><mi>X</mi></mrow><annotation encoding="application/x-tex">x\in X</annotation></semantics></math></span></span>, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>μ</mi><mrow><mi>i</mi><mo separator="true">,</mo><mi>x</mi></mrow></msub></mrow><annotation encoding="application/x-tex">\mu_{i,x}</annotation></semantics></math></span></span> is concentrated on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>π</mi><mi>i</mi><mrow><mo>−</mo><mn>1</mn></mrow></msubsup><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\pi_i^{-1}(x)</annotation></semantics></math></span></span> (in other words, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>μ</mi><mrow><mi>i</mi><mo separator="true">,</mo><mi>x</mi></mrow></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>Y</mi><mo>∖</mo><msubsup><mi>π</mi><mi>i</mi><mrow><mo>−</mo><mn>1</mn></mrow></msubsup><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><mo fence="true">)</mo></mrow><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">\mu_{i,x}\!\left(Y\setminus\pi_i^{-1}(x)\right)=0</annotation></semantics></math></span></span>); and for any integrable function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi></mrow><annotation encoding="application/x-tex">f</annotation></semantics></math></span></span> on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>Y</mi><mi>i</mi></msub></mrow><annotation encoding="application/x-tex">Y_i</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><mo>∫</mo><mrow><mi>y</mi><mo>∈</mo><msub><mi>Y</mi><mi>i</mi></msub></mrow></msub><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>μ</mi><mo stretchy="false">(</mo><mi>y</mi><mo stretchy="false">)</mo><mo>=</mo><msub><mo>∫</mo><mrow><mi>x</mi><mo>∈</mo><mi>X</mi></mrow></msub><mi mathvariant="normal">d</mi><msub><mi>ν</mi><mi>i</mi></msub><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><msub><mo>∫</mo><mrow><mi>y</mi><mo>∈</mo><msubsup><mi>π</mi><mi>i</mi><mrow><mo>−</mo><mn>1</mn></mrow></msubsup><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo></mrow></msub><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msub><mi>μ</mi><mrow><mi>i</mi><mo separator="true">,</mo><mi>x</mi></mrow></msub><mo stretchy="false">(</mo><mi>y</mi><mo stretchy="false">)</mo><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\int_{y\in Y_i}f\!\left(y\right)\mathrm d\mu(y)
=\int_{x\in X}\mathrm d\nu_i(x)\int_{y\in\pi_i^{-1}(x)}f\!\left(y\right)\mathrm d\mu_{i,x}(y).</annotation></semantics></math></span></span></span> From the condition in the original proposition, we can easily prove that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>ν</mi><mi>i</mi></msub></mrow><annotation encoding="application/x-tex">\nu_i</annotation></semantics></math></span></span> is absolutely continuous w.r.t. <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">\nu</annotation></semantics></math></span></span>. Therefore, we have their Radon–Nikodym derivative
<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>φ</mi><mi>i</mi></msub><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><mo><mi mathvariant="normal">≔</mi></mo><mfrac><mrow><mi mathvariant="normal">d</mi><msub><mi>ν</mi><mi>i</mi></msub><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo></mrow><mrow><mi mathvariant="normal">d</mi><mi>ν</mi><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo></mrow></mfrac><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\varphi_i(x)\coloneqq\frac{\mathrm d\nu_i(x)}{\mathrm d\nu(x)}.</annotation></semantics></math></span></span></span></p>
<p>For each <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>x</mi><mo>∈</mo><mi>X</mi></mrow><annotation encoding="application/x-tex">x\in X</annotation></semantics></math></span></span>, define the measure <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>μ</mi><mi>x</mi></msub></mrow><annotation encoding="application/x-tex">\mu_x</annotation></semantics></math></span></span> on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>π</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\pi^{-1}(x)</annotation></semantics></math></span></span> as <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>μ</mi><mi>x</mi></msub><mo stretchy="false">(</mo><mi>A</mi><mo stretchy="false">)</mo><mo><mi mathvariant="normal">≔</mi></mo><munder><mo>∑</mo><mi>i</mi></munder><msub><mi>φ</mi><mi>i</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow><msub><mi>μ</mi><mrow><mi>i</mi><mo separator="true">,</mo><mi>x</mi></mrow></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>A</mi><mo>∩</mo><msub><mi>Y</mi><mi>i</mi></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\mu_x(A)\coloneqq\sum_i\varphi_i\!\left(x\right)\mu_{i,x}\!\left(A\cap Y_i\right).</annotation></semantics></math></span></span></span> This is a well-defined measure because the sets <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>A</mi><mo>∩</mo><msub><mi>Y</mi><mi>i</mi></msub></mrow><annotation encoding="application/x-tex">A\cap Y_i</annotation></semantics></math></span></span> are pairwise disjoint, and
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>μ</mi><mrow><mi>i</mi><mo separator="true">,</mo><mi>x</mi></mrow></msub></mrow><annotation encoding="application/x-tex">\mu_{i,x}</annotation></semantics></math></span></span> is well-defined measure on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>Y</mi><mi>i</mi></msub></mrow><annotation encoding="application/x-tex">Y_i</annotation></semantics></math></span></span>.</p>
<p>Then, for any integrable function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi></mrow><annotation encoding="application/x-tex">f</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>Y</mi></mrow><annotation encoding="application/x-tex">Y</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" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><msub><mo>∫</mo><mrow><mi>y</mi><mo>∈</mo><mi>Y</mi></mrow></msub><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>μ</mi><mo stretchy="false">(</mo><mi>y</mi><mo stretchy="false">)</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munder><mo>∑</mo><mi>i</mi></munder><msub><mo>∫</mo><mrow><mi>y</mi><mo>∈</mo><msub><mi>Y</mi><mi>i</mi></msub></mrow></msub><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>μ</mi><mo stretchy="false">(</mo><mi>y</mi><mo stretchy="false">)</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munder><mo>∑</mo><mi>i</mi></munder><msub><mo>∫</mo><mrow><mi>x</mi><mo>∈</mo><mi>X</mi></mrow></msub><mi mathvariant="normal">d</mi><msub><mi>ν</mi><mi>i</mi></msub><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><msub><mo>∫</mo><mrow><mi>y</mi><mo>∈</mo><msubsup><mi>π</mi><mi>i</mi><mrow><mo>−</mo><mn>1</mn></mrow></msubsup><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo></mrow></msub><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msub><mi>μ</mi><mrow><mi>i</mi><mo separator="true">,</mo><mi>x</mi></mrow></msub><mo stretchy="false">(</mo><mi>y</mi><mo stretchy="false">)</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munder><mo>∑</mo><mi>i</mi></munder><msub><mo>∫</mo><mrow><mi>x</mi><mo>∈</mo><mi>X</mi></mrow></msub><msub><mi>φ</mi><mi>i</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>ν</mi><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><msub><mo>∫</mo><mrow><mi>y</mi><mo>∈</mo><msubsup><mi>π</mi><mi>i</mi><mrow><mo>−</mo><mn>1</mn></mrow></msubsup><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo></mrow></msub><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msub><mi>μ</mi><mrow><mi>i</mi><mo separator="true">,</mo><mi>x</mi></mrow></msub><mo stretchy="false">(</mo><mi>y</mi><mo stretchy="false">)</mo></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><mo>∫</mo><mrow><mi>x</mi><mo>∈</mo><mi>X</mi></mrow></msub><mi mathvariant="normal">d</mi><mi>ν</mi><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><munder><mo>∑</mo><mi>i</mi></munder><msub><mo>∫</mo><mrow><mi>y</mi><mo>∈</mo><msubsup><mi>π</mi><mi>i</mi><mrow><mo>−</mo><mn>1</mn></mrow></msubsup><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo></mrow></msub><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msub><mi>μ</mi><mi>x</mi></msub><mo stretchy="false">(</mo><mi>y</mi><mo stretchy="false">)</mo></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><mo>∫</mo><mrow><mi>x</mi><mo>∈</mo><mi>X</mi></mrow></msub><mi mathvariant="normal">d</mi><mi>ν</mi><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><msub><mo>∫</mo><mrow><mi>y</mi><mo>∈</mo><msup><mi>π</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo></mrow></msub><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msub><mi>μ</mi><mi>x</mi></msub><mo stretchy="false">(</mo><mi>y</mi><mo stretchy="false">)</mo><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
\int_{y\in Y}f\!\left(y\right)\mathrm d\mu(y)
&amp;=\sum_i\int_{y\in Y_i}f\!\left(y\right)\mathrm d\mu(y)\\
&amp;=\sum_i\int_{x\in X}\mathrm d\nu_i(x)\int_{y\in\pi_i^{-1}(x)}f\!\left(y\right)\mathrm d\mu_{i,x}(y)\\
&amp;=\sum_i\int_{x\in X}\varphi_i\!\left(x\right)\mathrm d\nu(x)
\int_{y\in\pi_i^{-1}(x)}f\!\left(y\right)\mathrm d\mu_{i,x}(y)\\
&amp;=\int_{x\in X}\mathrm d\nu(x)\sum_i\int_{y\in\pi_i^{-1}(x)}f\!\left(y\right)\mathrm d\mu_x(y)\\
&amp;=\int_{x\in X}\mathrm d\nu(x)\int_{y\in\pi^{-1}(x)}f\!\left(y\right)\mathrm d\mu_x(y).
\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>
</details>
<p>Here, the family of measures <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">{</mo><msub><mi>μ</mi><mi>x</mi></msub><mo fence="true">}</mo></mrow><annotation encoding="application/x-tex">\left\{\mu_x\right\}</annotation></semantics></math></span></span> is called the <dfn>disintegration</dfn> 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">\mu</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>π</mi></mrow><annotation encoding="application/x-tex">\pi</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>ν</mi></mrow><annotation encoding="application/x-tex">\nu</annotation></semantics></math></span></span>.</p>
<hr/>
<p>For two vector spaces <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mn>1</mn></msub><mo separator="true">,</mo><msub><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mn>2</mn></msub></mrow><annotation encoding="application/x-tex">\vec W_1,\vec W_2</annotation></semantics></math></span></span>, we denote <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mn>1</mn></msub><mo>×</mo><msub><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mn>2</mn></msub></mrow><annotation encoding="application/x-tex">\vec W_1\times\vec W_2</annotation></semantics></math></span></span> as the direct sum of them. Also, rather than calling the new vector space their direct sum, I prefer to call it the product vector space of them (not to be confused with the tensor product) so that it is consistent with the notion of product affine spaces, product measure spaces, product topology, etc. Those product spaces are all notated by “<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">\times</annotation></semantics></math></span></span>” in this article.</p>
<p>Also, “<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mn>1</mn></msub></mrow><annotation encoding="application/x-tex">\vec W_1</annotation></semantics></math></span></span>” can be an abbreviation of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mn>1</mn></msub><mo>×</mo><mrow><mo fence="true">{</mo><msub><mn>0</mn><mn>2</mn></msub><mo fence="true">}</mo></mrow></mrow><annotation encoding="application/x-tex">\vec W_1\times\left\{0_2\right\}</annotation></semantics></math></span></span>, where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mn>0</mn><mn>2</mn></msub></mrow><annotation encoding="application/x-tex">0_2</annotation></semantics></math></span></span> is the zero vector in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mn>2</mn></msub></mrow><annotation encoding="application/x-tex">\vec W_2</annotation></semantics></math></span></span>.</p>
<hr/>
<p>Suppose <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> is an affine space associated with the vector space <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>W</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec W</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>A</mi><mo>⊆</mo><mi>W</mi></mrow><annotation encoding="application/x-tex">A\subseteq W</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>B</mi><mo>⊆</mo><mover accent="true"><mi>W</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">B\subseteq\vec W</annotation></semantics></math></span></span>, we denote <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>A</mi><mo>+</mo><mi>B</mi></mrow><annotation encoding="application/x-tex">A+B</annotation></semantics></math></span></span> as the Minkowski sum 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> and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>B</mi></mrow><annotation encoding="application/x-tex">B</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>A</mi><mo>+</mo><mi>B</mi><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">{</mo><mi>a</mi><mo>+</mo><mi>b</mi><mtext> </mtext><mo fence="true" lspace="0.05em" rspace="0.05em">|</mo><mtext> </mtext><mi>a</mi><mo>∈</mo><mi>A</mi><mo separator="true">,</mo><mtext> </mtext><mi>b</mi><mo>∈</mo><mi>B</mi><mo fence="true">}</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">A+B\coloneqq\left\{a+b\,\middle|\,a\in A,\,b\in B\right\}.</annotation></semantics></math></span></span></span> This extends the definition of usual Minkowski sums for affine spaces.</p>
<p>By the way, because of the abbreviating “<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mn>1</mn></msub></mrow><annotation encoding="application/x-tex">\vec W_1</annotation></semantics></math></span></span>” meaning <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mn>1</mn></msub><mo>×</mo><mrow><mo fence="true">{</mo><msub><mn>0</mn><mn>2</mn></msub><mo fence="true">}</mo></mrow></mrow><annotation encoding="application/x-tex">\vec W_1\times\left\{0_2\right\}</annotation></semantics></math></span></span> above, we can abuse the notation and write <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><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mn>1</mn></msub><mo>+</mo><msub><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mn>2</mn></msub><mo>=</mo><msub><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mn>1</mn></msub><mo>×</mo><msub><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mn>2</mn></msub><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\vec W_1+\vec W_2=\vec W_1\times\vec W_2,</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><mo>+</mo></mrow><annotation encoding="application/x-tex">+</annotation></semantics></math></span></span>” denotes the Minkowski sum. This is true for any two vector spaces <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mn>1</mn></msub><mo separator="true">,</mo><msub><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mn>2</mn></msub></mrow><annotation encoding="application/x-tex">\vec W_1,\vec W_2</annotation></semantics></math></span></span> that do not share a non-trivial vector subspace.</p>
<hr/>
<p>In general, it is not necessarily possible to decompose a topology as a product of two topologies. However, it is always possible for locally convex Hausdorff TVSs. We can always decompose the topology of a locally convex Hausdorff TVS as the product of the topologies on a pair of its complementary vector subspaces, one of which is finite-dimensional. This is true because every finite-dimensional subspace in such a space is topologically complemented. The complete statement is the following:</p>
<p>Let <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>W</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec W</annotation></semantics></math></span></span> be a locally convex Hausdorff TVS. For any finite-dimensional subspace <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span> of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>W</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec W</annotation></semantics></math></span></span>, there is a complement <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\perp</annotation></semantics></math></span></span> of it such that the topology <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>τ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\tau\!\left(\vec W\right)</annotation></semantics></math></span></span> is the product topology of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>τ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\tau\!\left(\vec W^\parallel\right)</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>τ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>⊥</mo></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\tau\!\left(\vec W^\perp\right)</annotation></semantics></math></span></span>.</p>
<p>This decomposition is also valid for affine spaces. If an affine space <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> is associated with a locally convex Hausdorff TVS <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>W</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec W</annotation></semantics></math></span></span>, then for any finite-dimensional vector subspace <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span> of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>W</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec W</annotation></semantics></math></span></span>, we can topologically decompose <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> into <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mo>⊥</mo></msup><mo>+</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">W^\perp+\vec W^\parallel</annotation></semantics></math></span></span>.</p>
<p>Because the product topology of subspace topologies is the same as the subspace topology of the product topology, we can also decompose <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>E</mi><mo>⊥</mo></msup><mo>+</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">E^\perp+\vec W^\parallel</annotation></semantics></math></span></span> as the product topological space of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>E</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">E^\perp</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><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span> if <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>E</mi><mo>⊥</mo></msup><mo>⊆</mo><msup><mi>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">E^\perp\subseteq W^\perp</annotation></semantics></math></span></span>.</p>
<p>Such decompositions are useful because they allow us to disintegrate Borel measures. If we already have a σ-finite Borel measure on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>E</mi><mo>⊥</mo></msup><mo>+</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">E^\perp+\vec W^\parallel</annotation></semantics></math></span></span> and we can define a σ-finite Borel measure on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span>, then we can define a measure on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>E</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">E^\perp</annotation></semantics></math></span></span> by the disintegrating, and we guarantees that the disintegration is also σ-finite and Borel.</p>
<hr/>
<p>When I want to use multi-index notations, I will use “<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">\bullet</annotation></semantics></math></span></span>” to denote the indices. 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><mi mathvariant="normal">Σ</mi><msub><mi>α</mi><mo>∙</mo></msub><mo><mi mathvariant="normal">≔</mi></mo><munder><mo>∑</mo><mo>∙</mo></munder><msub><mi>α</mi><mo>∙</mo></msub><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\Sigma\alpha_\bullet\coloneqq\sum_\bullet\alpha_\bullet.</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><msub><mi>α</mi><mo>∙</mo></msub><msub><mi>β</mi><mo>∙</mo></msub><mo><mi mathvariant="normal">≔</mi></mo><munder><mo>∑</mo><mo>∙</mo></munder><msub><mi>α</mi><mo>∙</mo></msub><msub><mi>β</mi><mo>∙</mo></msub><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\alpha_\bullet\beta_\bullet\coloneqq\sum_\bullet\alpha_\bullet\beta_\bullet.</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><msubsup><mi>α</mi><mo>∙</mo><msub><mi>β</mi><mo>∙</mo></msub></msubsup><mo><mi mathvariant="normal">≔</mi></mo><munder><mo>∏</mo><mo>∙</mo></munder><msubsup><mi>α</mi><mo>∙</mo><msub><mi>β</mi><mo>∙</mo></msub></msubsup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\alpha_\bullet^{\beta_\bullet}\coloneqq\prod_\bullet\alpha_\bullet^{\beta_\bullet}.</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><msub><mi>α</mi><mo>∙</mo></msub><mo stretchy="false">!</mo><mo><mi mathvariant="normal">≔</mi></mo><munder><mo>∏</mo><mo>∙</mo></munder><msub><mi>α</mi><mo>∙</mo></msub><mo stretchy="false">!</mo><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\alpha_\bullet!\coloneqq\prod_\bullet\alpha_\bullet!.</annotation></semantics></math></span></span></span></p>
<h2 data-label="0.2" id="extensive-quantities-and-macrostates">Extensive quantities and macrostates</h2>
<p>First, I need to point out that the most central state function of a thermal system is not its energy, but its entropy. The energy is regarded as the central state function in thermodynamics, which can be seen from the fundamental equation of thermodynamics <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">d</mi><mi>U</mi><mo>=</mo><mo>−</mo><mi>p</mi><mtext> </mtext><mi mathvariant="normal">d</mi><mi>V</mi><mo>+</mo><mi>T</mi><mtext> </mtext><mi mathvariant="normal">d</mi><mi>S</mi><mo>+</mo><mi>μ</mi><mtext> </mtext><mi mathvariant="normal">d</mi><mi>N</mi><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\mathrm dU=-p\,\mathrm dV+T\,\mathrm dS+\mu\,\mathrm dN.</annotation></semantics></math></span></span></span> We also always do the Legendre transformations on the potential function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>U</mi></mrow><annotation encoding="application/x-tex">U</annotation></semantics></math></span></span> to get other potential functions instead of doing the transformation on other extensive quantities. All such practices make us think 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 just some quantity that is similar 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> 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>, and mathematically we can just regard it as an extensive quantity whose changing is a way of doing work.</p>
<p>However, this is not the case. The entropy <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 different from <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>U</mi><mo separator="true">,</mo><mi>V</mi><mo separator="true">,</mo><mi>N</mi></mrow><annotation encoding="application/x-tex">U,V,N</annotation></semantics></math></span></span> in the following sense:</p>
<ul>
<li>The entropy is a derived quantity due to a mathematical construction from the second law of thermodynamics, while <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>U</mi><mo separator="true">,</mo><mi>V</mi><mo separator="true">,</mo><mi>N</mi></mrow><annotation encoding="application/x-tex">U,V,N</annotation></semantics></math></span></span> are observable quantities that have solid physical meanings before we introduce anything about thermodynamics.</li>
<li>The entropy may change in an isolated system, while <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>U</mi><mo separator="true">,</mo><mi>V</mi><mo separator="true">,</mo><mi>N</mi></mrow><annotation encoding="application/x-tex">U,V,N</annotation></semantics></math></span></span> do not.</li>
<li>We may have an intuitive understanding of how different systems in contact may exchange <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>U</mi><mo separator="true">,</mo><mi>V</mi><mo separator="true">,</mo><mi>N</mi></mrow><annotation encoding="application/x-tex">U,V,N</annotation></semantics></math></span></span> with each other, but <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> cannot be “exchanged” in such a sense.</li>
<li>In statistical mechanics, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>U</mi><mo separator="true">,</mo><mi>V</mi><mo separator="true">,</mo><mi>N</mi></mrow><annotation encoding="application/x-tex">U,V,N</annotation></semantics></math></span></span> restrict what microstates are possible for a thermal system, but <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> serves as a totally different role: it represents something about the probability distribution over all the possible microstates.</li>
</ul>
<p>Therefore, I would rather rewrite the fundamental equation of thermodynamics as <span id="eq:eq-fundamental" 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 mathvariant="normal">d</mi><mi>S</mi><mo>=</mo><mfrac><mn>1</mn><mi>T</mi></mfrac><mtext> </mtext><mi mathvariant="normal">d</mi><mi>U</mi><mo>+</mo><mfrac><mi>p</mi><mi>T</mi></mfrac><mtext> </mtext><mi mathvariant="normal">d</mi><mi>V</mi><mo>−</mo><mfrac><mi>μ</mi><mi>T</mi></mfrac><mtext> </mtext><mi mathvariant="normal">d</mi><mi>N</mi><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\mathrm dS=\frac1T\,\mathrm dU+\frac pT\,\mathrm dV-\frac\mu T\,\mathrm dN.</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> Equation <a href="#eq:eq-fundamental">1</a> embodies how different quantities serve different roles more clearly, but it becomes vague in its own physical meaning. Does it mean different ways of changing the entropy in quasi-static processes? Both mathematically and physically, yes, but it is not a useful interpretation. Because what we are doing is mathematical formulation of physical theories, we do not need to try to assign physical meanings to anything we construct. This new equation is purely mathematical, and the only way we use it is to relate intensive variables to derivatives of <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> w.r.t. extensive quantities.</p>
<p>From now on, I will call quantities like <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>U</mi><mo separator="true">,</mo><mi>V</mi><mo separator="true">,</mo><mi>N</mi></mrow><annotation encoding="application/x-tex">U,V,N</annotation></semantics></math></span></span> the <dfn>extensive quantities</dfn>, not including <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>. However, this is not a good statement as part of our mathematical formulation. Considering that there is a good notion of how different systems may exchange values of extensive quantities and that we can scale a system by multiplying the extensive quantities by a factor, we require that the extensive quantities must support at least linear operations… do we?</p>
<p>Well, actually we will see that if we require a space to be a vector space, things would be a little bit complex because sometimes we need to construct a new space of extensive quantities out of the affine subspace of an existing one, which is not a vector space by nature. If we require the space to be a vector space, we need to translate that affine subspace to make it pass through the zero element of the vector space, which is possible but does not give any insight about the physics except adding complication to our construction. Therefore, I will not require the space of extensive quantities to be a vector space, but be an affine space.</p>
<p>You may ask, OK then, but how do we “add” or “scale” extensive quantities if they live on an affine space? First, regarding the addition operation, we will use an abstraction for such operations so that the actual implementation about how we combine the summands is hidden under this abstraction. We will see that this abstraction is useful because it also applies to other senarios or useful operations that does not necessarily involve any meaningful addition. Regarding the scaling operation, I would argue that now we do not need them. I have generalized the notion of extensive quantities so that now the notion “extensive quantities” includes some quantities that are not really extensive quantities in any traditional sense. They are no longer meant to be scaled because they simply cannot. Actually, rather than calling them extensive quantities, I would like to call them a <dfn>macrostate</dfn>, with the only difference from the general notion macrostate being that it has an affine structure so that I can take the ensemble average of it to get its macroscopic value. I would stick to the term “extensive quantities” because they are actual extensive quantities in all my examples and because it is a good way to understand its physical meaning with this name, but you need to keep in mind that what I actually refer to is a macrostate.</p>
<p>There is another difficulty. If we look closely, Equation <a href="#eq:eq-fundamental">1</a> actually does not make much sense in that <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 quantized (and also <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>U</mi></mrow><annotation encoding="application/x-tex">U</annotation></semantics></math></span></span> if we are doing quantum). If we are doing real numbers, we can always translate a quantized quantity to something that is not allowed, which means that we cannot have the full set of operations on the allowed values of the extensive quantities. Therefore, we need to specify a subset on the affine space to represent the allowed values of the extensive quantities.</p>
<p>We also see that Equation <a href="#eq:eq-fundamental">1</a> is a relation between differentials. Do we need to require that we have differential structure on the space of extensive quantities? Not yet, because it actually is somehow difficult. The same difficulty about the quantized quantities applies. The clever way is to just avoid using the differentials. (Mathematicians are always skeptical about differentiating something while physicists just assume everything is differentiable…) It may seem surprising, but actually differentials are evitable in our mathematical formulation if you do not require intensive variables to be well-defined inside the system itself (actually, they are indeed not well-defined except when you have a system in thermal equilibrium and take the thermaldynamic limit).</p>
<p>If we have to use differentials, we can use the Gateaux derivative. It is general enough to be defined on any locally convex TVS, and it is intuitive when it is linear and continuous.</p>
<p>Although differential structure is not necessary, there is an inevitable structure on the space of extensive quantities. Remember that in canonical and grand canonical ensembles, we allow <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>U</mi></mrow><annotation encoding="application/x-tex">U</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>N</mi></mrow><annotation encoding="application/x-tex">N</annotation></semantics></math></span></span> to fluctuate, so we should be able to describe such fluctuations on our space of extensive quantities. To do this, I think it is safe to assume that we can have some topology on the allowed subset to make it a Polish space, just like how probabilists often assume about the probability space they are working on.</p>
<p>A final point. Here is a difference in how physicists and mathematicians describe probability distributions: physicists would use a probability density function while mathematicians would use a probability measure. Mathematically, to have a probability density function, we need to have an underlying measure on our space for a notion of “volume” on the space, and then we can define the probability density function as the Radon–Nikodym derivative of the probability measure w.r.t. the underlying volume measure. Also, for the Radon–Nikodym derivative to exist, the probability measure must be absolutely continuous w.r.t. the volume measure, which means that we have to sacrifice all the probability distributions that are not absolutely continuous to take the probability density function approach. Then, it seems that if we use the probability density function approach, we are introducing an excess measure structure on the space of extensive quantities and losing some possibilities and generalizabilities, but it would turn out that the extra structure is useful. Therefore, I will use the probability density function approach.</p>
<p>Here is our final definition of the space of extensive quantities:</p>
<p class="no-indent">
<strong>Definition.</strong> A <dfn>space of extensive quantities</dfn> is a tuple <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi>W</mi><mo separator="true">,</mo><mi>E</mi><mo separator="true">,</mo><mi>λ</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(W,E,\lambda)</annotation></semantics></math></span></span>, where
</p>
<ul>
<li><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> is an affine space associated with a reflexive vector space <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>W</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec W</annotation></semantics></math></span></span> over <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">\mathbb R</annotation></semantics></math></span></span>, and it is equipped with topology <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>τ</mi><mo stretchy="false">(</mo><mi>W</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\tau(W)</annotation></semantics></math></span></span> that is naturally constructed from the topology <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>τ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\tau\!\left(\vec W\right)</annotation></semantics></math></span></span> on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>W</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec W</annotation></semantics></math></span></span>;</li>
<li><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>E</mi><mo>⊆</mo><mi>V</mi></mrow><annotation encoding="application/x-tex">E\subseteq V</annotation></semantics></math></span></span> is a topological subspace of <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>, and its topology <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>τ</mi><mo stretchy="false">(</mo><mi>E</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\tau(E)</annotation></semantics></math></span></span> makes <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> a Polish space; and</li>
<li><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>λ</mi><mo>:</mo><mi>σ</mi><mo stretchy="false">(</mo><mi>E</mi><mo stretchy="false">)</mo><mo>→</mo><mo stretchy="false">[</mo><mn>0</mn><mo separator="true">,</mo><mo>+</mo><mi mathvariant="normal">∞</mi><mo stretchy="false">]</mo></mrow><annotation encoding="application/x-tex">\lambda:\sigma(E)\to[0,+\infty]</annotation></semantics></math></span></span> is a non-trivial σ-finite Borel measure, where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>σ</mi><mo stretchy="false">(</mo><mi>E</mi><mo stretchy="false">)</mo><mo>⊇</mo><mi mathvariant="fraktur">B</mi><mo stretchy="false">(</mo><mi>E</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\sigma(E)\supseteq\mathfrak B(E)</annotation></semantics></math></span></span> is a σ-algebra 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> that contains the Borel σ-algebra 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>.</li>
</ul>
<p>Here, I also added a requirement of σ-finiteness. This is necessary when constructing product measures. At first I also wanted to require that <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">\lambda</annotation></semantics></math></span></span> has some translational invariance, but I then realized that it is not necessary, so I removed it from the definition (but we will see that we need them as a property of baths).</p>
<p><em>Example.</em> Here is an example of a space of extensive quantities. <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"><mi>W</mi></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><msup><mi mathvariant="double-struck">R</mi><mn>3</mn></msup><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mi>E</mi></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><mo stretchy="false">(</mo><mn>0</mn><mo separator="true">,</mo><mo>+</mo><mi mathvariant="normal">∞</mi><mo stretchy="false">)</mo><mo>×</mo><mo stretchy="false">(</mo><mn>0</mn><mo separator="true">,</mo><mo>+</mo><mi mathvariant="normal">∞</mi><mo stretchy="false">)</mo><mo>×</mo><msup><mi mathvariant="double-struck">Z</mi><mo>+</mo></msup><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mi>λ</mi><mo stretchy="false">(</mo><mi>A</mi><mo stretchy="false">)</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><munder><mo>∑</mo><mrow><mi>N</mi><mo>∈</mo><msup><mi mathvariant="double-struck">Z</mi><mo>+</mo></msup></mrow></munder><mi mathvariant="normal">area</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>A</mi><mo>∩</mo><mo stretchy="false">(</mo><mn>0</mn><mo separator="true">,</mo><mo>+</mo><mi mathvariant="normal">∞</mi><mo stretchy="false">)</mo><mo>×</mo><mo stretchy="false">(</mo><mn>0</mn><mo separator="true">,</mo><mo>+</mo><mi mathvariant="normal">∞</mi><mo stretchy="false">)</mo><mo>×</mo><mo stretchy="false">{</mo><mi>N</mi><mo stretchy="false">}</mo><mo stretchy="false">)</mo><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
W&amp;\coloneqq\mathbb R^3,\\
E&amp;\coloneqq(0,+\infty)\times(0,+\infty)\times\mathbb Z^+,\\
\lambda(A)&amp;\coloneqq\sum_{N\in\mathbb Z^+}\operatorname{area}(A\cap(0,+\infty)\times(0,+\infty)\times\{N\}).
\end{align*}</annotation></semantics></math></span></span></span> Physically we may think of this as the extensive quantities of the system of ideal gas. The three dimensions of <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> are energy, volume, and number of particles.</p>
<p><em>Example.</em> Here is another example of a space of extensive quantities. <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"><mi>W</mi></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><msup><mi mathvariant="double-struck">R</mi><mn>2</mn></msup><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mi>E</mi></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><mo stretchy="false">{</mo><mo stretchy="false">(</mo><mn>3</mn><mi>N</mi><mi mathvariant="normal">/</mi><mn>2</mn><mo>+</mo><mi>n</mi><mo separator="true">,</mo><mi>N</mi><mo stretchy="false">)</mo><mtext> </mtext><mi mathvariant="normal">∣</mi><mtext> </mtext><mi>N</mi><mo>∈</mo><msup><mi mathvariant="double-struck">Z</mi><mo>+</mo></msup><mo separator="true">,</mo><mi>n</mi><mo>∈</mo><mi mathvariant="double-struck">N</mi><mo stretchy="false">}</mo><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mi>λ</mi><mo stretchy="false">(</mo><mi>A</mi><mo stretchy="false">)</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><mi mathvariant="normal">card</mi><mo>⁡</mo><mi>A</mi><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
W&amp;\coloneqq\mathbb R^2,\\
E&amp;\coloneqq\{(3N/2+n,N)\,|\,N\in\mathbb Z^+,n\in\mathbb N\},\\
\lambda(A)&amp;\coloneqq\operatorname{card}A.
\end{align*}</annotation></semantics></math></span></span></span> Physically we may think of this as the extensive quantities of the system of Einstein solid with <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">ℏ</mi><mi>ω</mi><mo>=</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">\hbar\omega=1</annotation></semantics></math></span></span>. The two dimensions of <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> are energy and number of particles.</p>
<h2 data-label="0.3" id="thermal-systems-and-the-number-of-microstates">Thermal systems and the number of microstates</h2>
<p>Remember I said above that, in statistical mechanics, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>U</mi><mo separator="true">,</mo><mi>V</mi><mo separator="true">,</mo><mi>N</mi></mrow><annotation encoding="application/x-tex">U,V,N</annotation></semantics></math></span></span> restrict what microstates are possible for a thermal system. We can translate this as such: for each possible values of extensive quantities, denoted as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>e</mi><mo>∈</mo><mi>E</mi></mrow><annotation encoding="application/x-tex">e\in E</annotation></semantics></math></span></span>, here is a set of possible microstates, denoted as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>M</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">M_e</annotation></semantics></math></span></span> (you can then see why we excluded the entropy from the extensive quantities: otherwise we cannot do such a classification of microstates).</p>
<p>Now the problem is what structures we should add to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>M</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">M_e</annotation></semantics></math></span></span> for each <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>e</mi><mo>∈</mo><mi>E</mi></mrow><annotation encoding="application/x-tex">e\in E</annotation></semantics></math></span></span>. Recall that in statistical mechanics, we study probability distribution over all possible microstates. Therefore, we need to be able to have a probability measure on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>M</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">M_e</annotation></semantics></math></span></span>. In other words, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>M</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">M_e</annotation></semantics></math></span></span> should be a measurable space. As said before, we can either use a probability measure directly, or use a volume measure together with a probability density function. This time, we seem to have no choice but the probability density function approach because there is a natural notion of volume on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>M</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">M_e</annotation></semantics></math></span></span>: the number of microstates.</p>
<p>Wait! There is a problem. Recall that in microcanonical ensemble, we allow the energy to fluctuate. The number of microstates at exactly a certain energy is actually zero in most cases, so we are actually considering those microstates with some certain small range of energy. In other words, we are considering the <dfn>microstate density</dfn>: the number of microstates inside unit range of energy. Similarly, we should define a measure on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>M</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">M_e</annotation></semantics></math></span></span> to represent the microstate density, which is the number of microstates inside unit volume of extensive quantities, where the “volume” is measured by the measure <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">\lambda</annotation></semantics></math></span></span> in the space of the extensive quantities.</p>
<p>This makes our formulation a little bit different from the microcanonical ensemble: our formulation would allow all extensive quantities to fluctuate while the microcanonical ensemble would only allow the energy to fluctuate. This is inevitable because we are treating extensive quantities like energy, volume, and number of particles as the same kind of quantity. It is not preferable to separate a subspace out from our affine space <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> to say “these are the quantities that may fluctuate, and those are not.” Therefore, we need to justify why we may allow all extensive quantities to fluctuate. The justification is: mathematically, we are actually not allowing any extensive quantities to fluctuate. There is no actual fluctuation, and we are directly considering the microstate density without involving any change in the extensive quantities. In other words, using the language of microcanonical ensemble, we are considering the area of the surface of the energy shell instead of the volume of the energy shell with a small thickness.</p>
<p>Another important point is that we must make sure that specifying all the extensive quantities should be enough to restrict the system to finite number of microstates. In other words, the total microstate density should be finite for any possible <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>e</mi><mo>∈</mo><mi>E</mi></mrow><annotation encoding="application/x-tex">e\in E</annotation></semantics></math></span></span>. Also, there should be at least some possible microstates in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>M</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">M_e</annotation></semantics></math></span></span>, so the total microstate density should not be zero.</p>
<p>We may then sum up the above discussion to give <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>M</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">M_e</annotation></semantics></math></span></span> enough structure to make it the set of microstates of a thermal system with the given extensive quantities <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>. Then, the disjoint union of all of them (the family of measure spaces) is the thermal system.</p>
<p class="no-indent">
<strong>Definition.</strong> A <dfn>thermal system</dfn> is a pair <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi mathvariant="script">E</mi><mo separator="true">,</mo><mi mathvariant="script">M</mi><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E,\mathcal M\right)</annotation></semantics></math></span></span>, where
</p>
<ul>
<li><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">E</mi><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">(</mo><mi>W</mi><mo separator="true">,</mo><mi>E</mi><mo separator="true">,</mo><mi>λ</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\mathcal E\coloneqq\left(W,E,\lambda\right)</annotation></semantics></math></span></span> is a space of extensive quantities;</li>
<li><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">M</mi><mo><mi mathvariant="normal">≔</mi></mo><msub><mo>⨆</mo><mrow><mi>e</mi><mo>∈</mo><mi>E</mi></mrow></msub><msub><mi>M</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">\mathcal M\coloneqq\bigsqcup_{e\in E}M_e</annotation></semantics></math></span></span> is a family of measure spaces; and</li>
<li>For each <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>e</mi><mo>∈</mo><mi>E</mi></mrow><annotation encoding="application/x-tex">e\in E</annotation></semantics></math></span></span>, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>M</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">M_e</annotation></semantics></math></span></span> is a measure space equipped with a measure <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>μ</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">\mu_e</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>μ</mi><mi>e</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>M</mi><mi>e</mi></msub><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\mu_e\!\left(M_e\right)</annotation></semantics></math></span></span> is finite and nonzero.</li>
</ul>
<p>From now on, I will use a pair <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi>e</mi><mo separator="true">,</mo><mi>m</mi><mo stretchy="false">)</mo><mo>∈</mo><mi mathvariant="script">M</mi></mrow><annotation encoding="application/x-tex">(e,m)\in\mathcal M</annotation></semantics></math></span></span> to specify a single microstate, where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>e</mi><mo>∈</mo><mi>E</mi></mrow><annotation encoding="application/x-tex">e\in 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>m</mi><mo>∈</mo><msub><mi>M</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">m\in M_e</annotation></semantics></math></span></span>.</p>
<hr/>
<p><em>Example.</em> For the thermal system of a solid consisting of spin-<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mfrac><mn>1</mn><mn>2</mn></mfrac></mrow><annotation encoding="application/x-tex">\frac12</annotation></semantics></math></span></span> particles, where each particle has two possible states with energy <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>, we can construct <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"><mi>W</mi></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><msup><mi mathvariant="double-struck">R</mi><mn>2</mn></msup><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mi>E</mi></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">{</mo><mrow><mo fence="true">(</mo><mi>U</mi><mo separator="true">,</mo><mi>N</mi><mo fence="true">)</mo></mrow><mo>∈</mo><mi mathvariant="double-struck">N</mi><mo>×</mo><msup><mi mathvariant="double-struck">Z</mi><mo>+</mo></msup><mtext> </mtext><mo fence="true" lspace="0.05em" rspace="0.05em">|</mo><mtext> </mtext><mi>U</mi><mo>≤</mo><mi>N</mi><mo fence="true">}</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mi>λ</mi><mo stretchy="false">(</mo><mi>A</mi><mo stretchy="false">)</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><mi mathvariant="normal">card</mi><mo>⁡</mo><mi>A</mi><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><msub><mi>M</mi><mrow><mi>U</mi><mo separator="true">,</mo><mi>N</mi></mrow></msub></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">{</mo><mi>n</mi><mo>∈</mo><msup><mrow><mo fence="true">{</mo><mn>0</mn><mo separator="true">,</mo><mn>1</mn><mo fence="true">}</mo></mrow><mi>N</mi></msup><mtext> </mtext><mo fence="true" lspace="0.05em" rspace="0.05em">|</mo><mtext> </mtext><munder><mo>∑</mo><mi>i</mi></munder><msub><mi>n</mi><mi>i</mi></msub><mo>=</mo><mi>U</mi><mo fence="true">}</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><msub><mi>μ</mi><mrow><mi>U</mi><mo separator="true">,</mo><mi>N</mi></mrow></msub><mo stretchy="false">(</mo><mi>A</mi><mo stretchy="false">)</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><mi mathvariant="normal">card</mi><mo>⁡</mo><mi>A</mi><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
W&amp;\coloneqq\mathbb R^2,\\
E&amp;\coloneqq\left\{\left(U,N\right)\in\mathbb N\times\mathbb Z^+\,\middle|\,U\le N\right\},\\
\lambda(A)&amp;\coloneqq\operatorname{card}A,\\
M_{U,N}&amp;\coloneqq\left\{n\in\left\{0,1\right\}^N\,\middle|\,\sum_in_i=U\right\},\\
\mu_{U,N}(A)&amp;\coloneqq\operatorname{card}A.
\end{align*}</annotation></semantics></math></span></span></span> This should be the simplest example of a thermal system.</p>
<p><em>Example.</em> We may complete the example of the system of ideal gas. Suppose we are considering the system of ideal atomic gas inside a cubic box. The construction of the space of extensive quantities is the same as before. Denote possible values of extensive quantities in coordinates <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>e</mi><mo>=</mo><mo stretchy="false">(</mo><mi>U</mi><mo separator="true">,</mo><mi>V</mi><mo separator="true">,</mo><mi>N</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">e=(U,V,N)</annotation></semantics></math></span></span>. Now the measure spaces <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>M</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">M_e</annotation></semantics></math></span></span> may be constructed as such: <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"><msub><mi>M</mi><mrow><mi>U</mi><mo separator="true">,</mo><mi>V</mi><mo separator="true">,</mo><mi>N</mi></mrow></msub></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">{</mo><mrow><mo fence="true">(</mo><mo>…</mo><mo fence="true">)</mo></mrow><mo>∈</mo><msup><mrow><mo fence="true">(</mo><msup><mrow><mo fence="true">[</mo><mn>0</mn><mo separator="true">,</mo><mroot><mi>V</mi><mn>3</mn></mroot><mo fence="true">]</mo></mrow><mn>3</mn></msup><mo>×</mo><msup><mi mathvariant="double-struck">R</mi><mn>3</mn></msup><mo fence="true">)</mo></mrow><mi>N</mi></msup><mtext> </mtext><mo fence="true" lspace="0.05em" rspace="0.05em">|</mo><mtext> </mtext><mtext>lexicographic order, </mtext><munder><mo>∑</mo><mi>i</mi></munder><mfrac><msup><mrow><mo fence="true">∣</mo><msub><mi mathvariant="bold">p</mi><mi>i</mi></msub><mo fence="true">∣</mo></mrow><mn>2</mn></msup><mrow><mn>2</mn><mi>m</mi></mrow></mfrac><mo>=</mo><mi>U</mi><mo fence="true">}</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><msub><mi>μ</mi><mrow><mi>U</mi><mo separator="true">,</mo><mi>V</mi><mo separator="true">,</mo><mi>N</mi></mrow></msub><mo stretchy="false">(</mo><mi>A</mi><mo stretchy="false">)</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><mfrac><mrow><msup><mi>H</mi><mrow><mn>6</mn><mi>N</mi><mo>−</mo><mn>1</mn></mrow></msup><mo stretchy="false">(</mo><mi>A</mi><mo stretchy="false">)</mo></mrow><msup><mi>h</mi><mrow><mn>3</mn><mi>N</mi></mrow></msup></mfrac><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
M_{U,V,N}&amp;\coloneqq\left\{\left(\ldots\right)\in
\left(\left[0,\sqrt[3]V\right]^3\times\mathbb R^3\right)^N
\,\middle|\,\text{lexicographic order, }\sum_i\frac{\left|\mathbf p_i\right|^2}{2m}=U\right\},\\
\mu_{U,V,N}(A)&amp;\coloneqq\frac{H^{6N-1}(A)}{h^{3N}}.
\end{align*}</annotation></semantics></math></span></span></span> The “lexicographic order” here means that only those configurations where particle indices coincides with the lexicographic order are included in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>M</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">M_e</annotation></semantics></math></span></span>. This is because the particles are indistinguishable, and the order of particles is irrelevant. The lexicographic order restriction is the same as using the quotient 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>-fold Cartesian product by permutation actions, but then defining <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>μ</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">\mu_e</annotation></semantics></math></span></span> would be difficult. Alternatively, we may still make them ordered, but divide the result by <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> in the definition of
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>μ</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">\mu_e</annotation></semantics></math></span></span>, but this way is less clear in its physical meaning.</p>
<p>Here <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> is the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>d</mi></mrow><annotation encoding="application/x-tex">d</annotation></semantics></math></span></span> dimensional Hausdorff measure. To understand, the expression <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>H</mi><mrow><mn>6</mn><mi>N</mi><mo>−</mo><mn>1</mn></mrow></msup><mo stretchy="false">(</mo><mi>A</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">H^{6N-1}(A)</annotation></semantics></math></span></span> is just the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mn>6</mn><mi>N</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(6N-1)</annotation></semantics></math></span></span>-dimensional “volume” 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>.</p>
<hr/>
<p>Since we have microstate density, why do not we have the true <dfn>number of microstates</dfn>? We can define a 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">\mathcal M</annotation></semantics></math></span></span> to represent the number of microstates.</p>
<p class="no-indent">
<strong>Definition.</strong> The <dfn>measure of number of microstates</dfn> is a measure <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>μ</mi><mo>:</mo><mi>σ</mi><mo stretchy="false">(</mo><mi mathvariant="script">M</mi><mo stretchy="false">)</mo><mo>→</mo><mrow><mo fence="true">[</mo><mn>0</mn><mo separator="true">,</mo><mo>+</mo><mi mathvariant="normal">∞</mi><mo fence="true">]</mo></mrow></mrow><annotation encoding="application/x-tex">\mu:\sigma(\mathcal M)\to\left[0,+\infty\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><mi>σ</mi><mo stretchy="false">(</mo><mi mathvariant="script">M</mi><mo stretchy="false">)</mo><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">{</mo><munder><mo>⨆</mo><mrow><mi>e</mi><mo>∈</mo><mi>A</mi></mrow></munder><msub><mi>B</mi><mi>e</mi></msub><mtext> </mtext><mo fence="true" lspace="0.05em" rspace="0.05em">|</mo><mtext> </mtext><mi>A</mi><mo>∈</mo><mi>σ</mi><mo stretchy="false">(</mo><mi>E</mi><mo stretchy="false">)</mo><mo separator="true">,</mo><mtext> </mtext><msub><mi>B</mi><mi>e</mi></msub><mo>∈</mo><mi>σ</mi><mo stretchy="false">(</mo><msub><mi>M</mi><mi>e</mi></msub><mo stretchy="false">)</mo><mo fence="true">}</mo></mrow><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\sigma(\mathcal M)\coloneqq\left\{\bigsqcup_{e\in A}B_e\,\middle|\,A\in\sigma(E),\,B_e\in\sigma(M_e)\right\},</annotation></semantics></math></span></span></span> and the measure is defined by <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>μ</mi><mo stretchy="false">(</mo><mi>A</mi><mo stretchy="false">)</mo><mo><mi mathvariant="normal">≔</mi></mo><munder><mo>∬</mo><mrow><mo stretchy="false">(</mo><mi>e</mi><mo separator="true">,</mo><mi>m</mi><mo stretchy="false">)</mo><mo>∈</mo><mi>A</mi></mrow></munder><mi mathvariant="normal">d</mi><msub><mi>μ</mi><mi>e</mi></msub><mo stretchy="false">(</mo><mi>m</mi><mo stretchy="false">)</mo><mtext> </mtext><mi mathvariant="normal">d</mi><mi>λ</mi><mo stretchy="false">(</mo><mi>e</mi><mo stretchy="false">)</mo><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\mu(A)\coloneqq\iint\limits_{(e,m)\in A}\mathrm d\mu_e(m)\,\mathrm d\lambda(e).</annotation></semantics></math></span></span></span> The uniqueness 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">\mu</annotation></semantics></math></span></span> is guaranteed by the σ-finiteness 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">\lambda</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>μ</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">\mu_e</annotation></semantics></math></span></span>. The expression <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>μ</mi><mo stretchy="false">(</mo><mi>A</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\mu(A)</annotation></semantics></math></span></span> is called the <dfn>number of microstates</dfn> in <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>
<h2 data-label="0.4" id="states-and-the-entropy">States and the entropy</h2>
<p>Here is a central idea in statistical ensembles: a <dfn>state</dfn> is a probability distribution on the microstates of a thermal system. It is among the ideas upon which the whole theory of statistical ensembles is built. I will take this idea, too.</p>
<p>As said before, I have taken the probability density approach of defining a probability distribution. Therefore, a state is just a probability density function.</p>
<p class="no-indent">
<strong>Definition.</strong> A <dfn>state</dfn> of a thermal system <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi mathvariant="script">E</mi><mo separator="true">,</mo><mi mathvariant="script">M</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(\mathcal E,\mathcal M)</annotation></semantics></math></span></span> is a function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>p</mi><mo>:</mo><mi mathvariant="script">M</mi><mo>→</mo><mrow><mo fence="true">[</mo><mn>0</mn><mo separator="true">,</mo><mo>+</mo><mi mathvariant="normal">∞</mi><mo fence="true">]</mo></mrow></mrow><annotation encoding="application/x-tex">p:\mathcal M\to\left[0,+\infty\right]</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><mo stretchy="false">(</mo><mi mathvariant="script">M</mi><mo separator="true">,</mo><mi>σ</mi><mo stretchy="false">(</mo><mi mathvariant="script">M</mi><mo stretchy="false">)</mo><mo separator="true">,</mo><mi>P</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(\mathcal M,\sigma(\mathcal M),P)</annotation></semantics></math></span></span> is a probability space, where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>P</mi><mo>:</mo><mi>σ</mi><mo stretchy="false">(</mo><mi mathvariant="script">M</mi><mo stretchy="false">)</mo><mo>→</mo><mrow><mo fence="true">[</mo><mn>0</mn><mo separator="true">,</mo><mn>1</mn><mo fence="true">]</mo></mrow></mrow><annotation encoding="application/x-tex">P:\sigma(\mathcal M)\to\left[0,1\right]</annotation></semantics></math></span></span> is defined by <span id="eq:eq-probability-measure" 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><mi>P</mi><mo stretchy="false">(</mo><mi>A</mi><mo stretchy="false">)</mo><mo><mi mathvariant="normal">≔</mi></mo><msub><mo>∫</mo><mi>A</mi></msub><mi>p</mi><mtext> </mtext><mi mathvariant="normal">d</mi><mi>μ</mi><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">P(A)\coloneqq\int_Ap\,\mathrm d\mu.</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> Two states are the same if they are equal <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">\mu</annotation></semantics></math></span></span>-almost everywhere.
</p>
<p>A probability space is just a measure space with a normalized measure, and here the physical meaning of <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> is the probability density 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">\mathcal M</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>P</mi><mo stretchy="false">(</mo><mi>A</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">P(A)</annotation></semantics></math></span></span> is the probability of finding a microstate in <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>Note that a state is not necessarily an equilibrium state (thermal state). We will introduce the concept of equilibrium states later.</p>
<hr/>
<p>Now we may introduce the concept of <dfn>entropy</dfn>.</p>
<p>I need to clarify that the entropy that we are talking about here is just the entropy in statistical mechanics. The reason I add this clarification is that we may also formally define an entropy in the language of measure theory, which is defined for any probability space and does not depend on any so-called probability density function or a “volume” measure (which is the number of microstates in our case). The definition of this entropy is (if anyone is interested) <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>S</mi><mrow><mi mathvariant="normal">i</mi><mi mathvariant="normal">n</mi><mi mathvariant="normal">f</mi><mi mathvariant="normal">o</mi></mrow></msup><mo><mi mathvariant="normal">≔</mi></mo><munder><mrow><mi>sup</mi><mo>⁡</mo></mrow><mi mathvariant="normal">Π</mi></munder><munder><mo>∑</mo><mrow><mi>A</mi><mo>∈</mo><mi mathvariant="normal">Π</mi></mrow></munder><mo>−</mo><mi>P</mi><mo stretchy="false">(</mo><mi>A</mi><mo stretchy="false">)</mo><mi>ln</mi><mo>⁡</mo><mi>P</mi><mo stretchy="false">(</mo><mi>A</mi><mo stretchy="false">)</mo><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">S^{\mathrm{info}}\coloneqq\sup_\Pi\sum_{A\in\Pi}-P(A)\ln P(A),</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>P</mi></mrow><annotation encoding="application/x-tex">P</annotation></semantics></math></span></span> is the probability measure on the probability space, and the supremum is taken over all <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>-almost partition <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">\Pi</annotation></semantics></math></span></span> of the probability space (<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">\Pi</annotation></semantics></math></span></span> is a subset of the σ-algebra so that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>P</mi><mo stretchy="false">(</mo><msub><mo>⋃</mo><mrow><mi>A</mi><mo>∈</mo><mi mathvariant="normal">Π</mi></mrow></msub><mi>A</mi><mo stretchy="false">)</mo><mo>=</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">P(\bigcup_{A\in\Pi}A)=1</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>P</mi><mo stretchy="false">(</mo><mi>A</mi><mo>∩</mo><mi>B</mi><mo stretchy="false">)</mo><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">P(A\cap B)=0</annotation></semantics></math></span></span> for
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>A</mi><mo separator="true">,</mo><mi>B</mi><mo>∈</mo><mi mathvariant="normal">Π</mi></mrow><annotation encoding="application/x-tex">A,B\in\Pi</annotation></semantics></math></span></span>). This definition looks intuitive and nice, and not surprisingly it is… not consistent with the entropy in statistical mechanics. The discrepancy happens when we are doing classical statistical mechanics because the entropy defined above will diverge to infinity for those “continuous” probability distributions. A quick check is that the entropy of the uniform distribution over <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">[</mo><mn>0</mn><mo separator="true">,</mo><mn>1</mn><mo stretchy="false">]</mo></mrow><annotation encoding="application/x-tex">[0,1]</annotation></semantics></math></span></span> is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo>+</mo><mi mathvariant="normal">∞</mi></mrow><annotation encoding="application/x-tex">+\infty</annotation></semantics></math></span></span>.</p>
<p class="no-indent">
<strong>Definition.</strong> The <dfn>entropy</dfn> of a state <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> is defined by <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>S</mi><mo stretchy="false">[</mo><mi>p</mi><mo stretchy="false">]</mo><mo><mi mathvariant="normal">≔</mi></mo><msub><mo>∫</mo><mi mathvariant="script">M</mi></msub><mo>−</mo><mi>p</mi><mi>ln</mi><mo>⁡</mo><mi>p</mi><mtext> </mtext><mi mathvariant="normal">d</mi><mi>μ</mi><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">S[p]\coloneqq\int_\mathcal M-p\ln p\,\mathrm d\mu.</annotation></semantics></math></span></span></span>
</p>
<p>Different from extensive quantities, the entropy is a functional of <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>. The entropy here is consistent with the entropy in thermodynamics or statistical mechanics.</p>
<p>This definition of entropy is called the Gibbs entropy formula. It agrees with the entropy defined in thermodynamics, but we are unable to show that at this stage because we have not defined temperature or heat yet.</p>
<p>Note that the base of the logarithm is not important, and it is just a matter of unit system. In SI units, the base would be <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>exp</mi><mo>⁡</mo><msubsup><mi>k</mi><mi mathvariant="normal">B</mi><mrow><mo>−</mo><mn>1</mn></mrow></msubsup></mrow><annotation encoding="application/x-tex">\exp k_\mathrm B^{-1}</annotation></semantics></math></span></span>, where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>k</mi><mi mathvariant="normal">B</mi></msub></mrow><annotation encoding="application/x-tex">k_\mathrm B</annotation></semantics></math></span></span> is the Boltzmann constant.</p>
<hr/>
<p>Physically, the extensive quantities may be measured macroscopically. The actual values that we get when we measure them are postulated to be the ensemble average. Therefore, for a given state <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>, we can define the measured values of extensive quantities by taking the <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>-expectation of the extensive quantities.</p>
<p class="no-indent">
<strong>Definition.</strong> For a thermal system <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi mathvariant="script">E</mi><mo separator="true">,</mo><mi mathvariant="script">M</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(\mathcal E,\mathcal M)</annotation></semantics></math></span></span> and a state <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> of it, the <dfn>measured value of extensive quantities</dfn> of the state <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> is the <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>-expectation 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>-valued random variable <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi>e</mi><mo separator="true">,</mo><mi>m</mi><mo stretchy="false">)</mo><mo>↦</mo><mi>e</mi></mrow><annotation encoding="application/x-tex">(e,m)\mapsto e</annotation></semantics></math></span></span>. Explicitly, the definition 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><mi>ε</mi><mo stretchy="false">[</mo><mi>p</mi><mo stretchy="false">]</mo><mo><mi mathvariant="normal">≔</mi></mo><msub><mi mathvariant="normal">E</mi><mi>P</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">[</mo><mrow><mo fence="true">(</mo><mi>e</mi><mo separator="true">,</mo><mi>m</mi><mo fence="true">)</mo></mrow><mo>↦</mo><mi>e</mi><mo fence="true">]</mo></mrow><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\varepsilon[p]\coloneqq\mathrm E_P\!\left[\left(e,m\right)\mapsto e\right],</annotation></semantics></math></span></span></span> where the probability measure <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">\mathcal M</annotation></semantics></math></span></span> is defined in Equation <a href="#eq:eq-probability-measure">2</a>.
</p>
<p>In the definition, it involves taking the <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>-expectation of a <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>-valued function. This involves doing a Pettis integral, which I claim to exist. It exists because the map <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi>e</mi><mo separator="true">,</mo><mi>m</mi><mo stretchy="false">)</mo><mo>↦</mo><mi>e</mi><mo>−</mo><msub><mi>e</mi><mn>0</mn></msub></mrow><annotation encoding="application/x-tex">(e,m)\mapsto e-e_0</annotation></semantics></math></span></span> must be weakly <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>-measurable, and such a function must be Pettis-integrable on a reflexive space.</p>
<p>Note that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>ε</mi><mo stretchy="false">[</mo><mi>p</mi><mo stretchy="false">]</mo><mo>∈</mo><mi>W</mi></mrow><annotation encoding="application/x-tex">\varepsilon[p]\in W</annotation></semantics></math></span></span>, and it is not necessarily in <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>The usage of the measured value of extensive quantities is that we can use it to get the <dfn>fundamental equation</dfn> of a thermal system, which describes the relationship between the extensive quantities and the entropy at any equilibrium state. Suppose that we postulate a family of states <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>p</mi><mi>t</mi><mo>∘</mo></msubsup></mrow><annotation encoding="application/x-tex">p_t^\circ</annotation></semantics></math></span></span> of the thermal system (or its slices, which will be introduced below), labeled by different <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>t</mi></mrow><annotation encoding="application/x-tex">t</annotation></semantics></math></span></span>’s, and call them the possible equilibrium states. Then, we can have the following two equations: <span id="eq:eq-fundamental-equation-before" data-label="(3)"><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><mo fence="true">{</mo><mtable rowspacing="0.36em" columnalign="left left" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msup><mi>S</mi><mo>∘</mo></msup><mo>=</mo><mi>S</mi><mtext> ⁣</mtext><mrow><mo fence="true">[</mo><msubsup><mi>p</mi><mi>t</mi><mo>∘</mo></msubsup><mo fence="true">]</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msup><mi>ε</mi><mo>∘</mo></msup><mo>=</mo><mi>ε</mi><mtext> ⁣</mtext><mrow><mo fence="true">[</mo><msubsup><mi>p</mi><mi>t</mi><mo>∘</mo></msubsup><mo fence="true">]</mo></mrow><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable></mrow><annotation encoding="application/x-tex">\begin{cases}
S^\circ=S\!\left[p_t^\circ\right],\\
\varepsilon^\circ=\varepsilon\!\left[p_t^\circ\right].
\end{cases}</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>3</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(3)</annotation></semantics></math></span></span></span></span> </span></span> By cancelling out the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>t</mi></mrow><annotation encoding="application/x-tex">t</annotation></semantics></math></span></span> in the two equations (which may be impossible but assumed to be possible), we can get the fundamental equation in this form: <span id="eq:eq-fundamental-equation" data-label="(4)"><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><msup><mi>S</mi><mo>∘</mo></msup><mo>=</mo><msup><mi>S</mi><mo>∘</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>ε</mi><mo>∘</mo></msup><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">S^\circ=S^\circ\!\left(\varepsilon^\circ\right).</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>4</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(4)</annotation></semantics></math></span></span></span></span> </span></span> Then, here we get the function
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>S</mi><mo>∘</mo></msup><mo>:</mo><msup><mi>E</mi><mo>∘</mo></msup><mo>→</mo><mi mathvariant="double-struck">R</mi></mrow><annotation encoding="application/x-tex">S^\circ:E^\circ\to\mathbb R</annotation></semantics></math></span></span>, where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>E</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">E^\circ</annotation></semantics></math></span></span> is a subset of <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> consisting of all possible measured values of extensive quantities among equilibrium states. If we can possibly define some differential structure on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>E</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">E^\circ</annotation></semantics></math></span></span> so that we can possibly take the differential of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>S</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">S^\circ</annotation></semantics></math></span></span> and write something sensible like <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">d</mi><msup><mi>S</mi><mo>∘</mo></msup><mo>=</mo><mi>i</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>ε</mi><mo>∘</mo></msup><mo fence="true">)</mo></mrow><mo stretchy="false">(</mo><mi mathvariant="normal">d</mi><msup><mi>ε</mi><mo>∘</mo></msup><mo stretchy="false">)</mo><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\mathrm dS^\circ=i\!\left(\varepsilon^\circ\right)(\mathrm d\varepsilon^\circ),</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><msup><mi>i</mi><mo>∘</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>ε</mi><mo>∘</mo></msup><mo fence="true">)</mo></mrow><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup></mrow><annotation encoding="application/x-tex">i^\circ\!\left(\varepsilon^\circ\right)\in\vec W'</annotation></semantics></math></span></span> is a continuous linear functional, then we can define <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>i</mi><mo>∘</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>ε</mi><mo>∘</mo></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">i^\circ\!\left(\varepsilon^\circ\right)</annotation></semantics></math></span></span> to be the <dfn>intensive quantities</dfn> at <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>ε</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">\varepsilon^\circ</annotation></semantics></math></span></span>. A proper comparison with differential geometry is that we may analogly call <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>i</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">i^\circ</annotation></semantics></math></span></span> be a covector field on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>E</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">E^\circ</annotation></semantics></math></span></span> defined as the differential of the scalar field <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>S</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">S^\circ</annotation></semantics></math></span></span>.</p>
<p>However, as I have said before, I did not postulate there to be any differential structure on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>E</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">E^\circ</annotation></semantics></math></span></span>, so the intensive quantities should not be generally defined in this way.</p>
<h2 data-label="0.5" id="slicing">Slicing</h2>
<p>A good notion about thermal systems is that we can get new thermal systems from existing ones (although they are physically essentially the same system, they have different mathematical structure and contain different amount of information about them). There are two ways of constructing new thermal systems from existing ones:</p>
<ul>
<li>By fixing some extensive quantities. I call this way <dfn>slicing</dfn>.</li>
<li>By allowing some extensive quantities to change freely. I call this way <dfn>contracting</dfn>.</li>
</ul>
<p class="no-indent">
I chose the words “slicing” and “contracting”. They are not present in actual physics textbooks, but I found the notion of them necesesary.
</p>
<p>Slicing fixes extensive quantities. How we do it is to pick out a subset 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 make it our new accessible values of extensive quantities. I find a special way of picking out such a subset is especially useful: picking it from an affine subspace of <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>. In this way, we can use a smaller affine space as the underlying space of our new thermal system. Then we see why I chose the word “slicing”: we are slicing the original affine space into parallel pieces, and picking one piece as our new affine space, and picking the corresponding accessible values of extensive quantities and possible microstates within that piece to form our new thermal system.</p>
<p class="no-indent">
<strong>Definition.</strong> A <dfn>slicing</dfn> of a space of extensive quantities <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi>W</mi><mo separator="true">,</mo><mi>E</mi><mo separator="true">,</mo><mi>λ</mi><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(W,E,\lambda\right)</annotation></semantics></math></span></span> is a pair <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi>W</mi><mo>∥</mo></msup><mo separator="true">,</mo><msup><mi>λ</mi><mo>∥</mo></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(W^\parallel,\lambda^\parallel\right)</annotation></semantics></math></span></span>, where
</p>
<ul>
<li><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mo>∥</mo></msup><mo>⊆</mo><mi>W</mi></mrow><annotation encoding="application/x-tex">W^\parallel\subseteq W</annotation></semantics></math></span></span> is an affine subspace of <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>;</li>
<li><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>E</mi><mo>∥</mo></msup><mo><mi mathvariant="normal">≔</mi></mo><mi>E</mi><mo>∩</mo><msup><mi>W</mi><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">E^\parallel\coloneqq E\cap W^\parallel</annotation></semantics></math></span></span> is non-empty, and it is Polish as a topological subspace 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</li>
<li><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>λ</mi><mo>∥</mo></msup><mo>:</mo><mi>σ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>E</mi><mo>∥</mo></msup><mo fence="true">)</mo></mrow><mo>→</mo><mrow><mo fence="true">[</mo><mn>0</mn><mo separator="true">,</mo><mo>+</mo><mi mathvariant="normal">∞</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\lambda^\parallel:\sigma\!\left(E^\parallel\right)\to\left[0,+\infty\right)</annotation></semantics></math></span></span> is a non-trivial σ-finite Borel measure on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>E</mi><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">E^\parallel</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>σ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>E</mi><mo>∥</mo></msup><mo fence="true">)</mo></mrow><mo>⊆</mo><mi mathvariant="fraktur">B</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>E</mi><mo>∥</mo></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\sigma\!\left(E^\parallel\right)\subseteq\mathfrak B\!\left(E^\parallel\right)</annotation></semantics></math></span></span> is a σ-algebra on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>E</mi><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">E^\parallel</annotation></semantics></math></span></span> that contains the Borel σ-algebra on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>E</mi><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">E^\parallel</annotation></semantics></math></span></span>.</li>
</ul>
<p class="no-indent">
This constructs a new space of extensive quantities <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi>W</mi><mo>∥</mo></msup><mo separator="true">,</mo><msup><mi>E</mi><mo>∥</mo></msup><mo separator="true">,</mo><msup><mi>λ</mi><mo>∥</mo></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(W^\parallel,E^\parallel,\lambda^\parallel\right)</annotation></semantics></math></span></span>, called a <dfn>slice</dfn> of the original space of extensive quantities <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi>W</mi><mo separator="true">,</mo><mi>E</mi><mo separator="true">,</mo><mi>λ</mi><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(W,E,\lambda\right)</annotation></semantics></math></span></span>.
</p>
<p class="no-indent">
<strong>Definition.</strong> A <dfn>slice</dfn> of a thermal system <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi mathvariant="script">E</mi><mo separator="true">,</mo><mi mathvariant="script">M</mi><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E,\mathcal M\right)</annotation></semantics></math></span></span> defined by the slicing <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi>W</mi><mo>∥</mo></msup><mo separator="true">,</mo><msup><mi>λ</mi><mo>∥</mo></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(W^\parallel,\lambda^\parallel\right)</annotation></semantics></math></span></span> of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">E</mi></mrow><annotation encoding="application/x-tex">\mathcal E</annotation></semantics></math></span></span> is a new thermal system <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi mathvariant="script">E</mi><mo>∥</mo></msup><mo separator="true">,</mo><msup><mi mathvariant="script">M</mi><mo>∥</mo></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^\parallel,\mathcal M^\parallel\right)</annotation></semantics></math></span></span> constructed as such:
</p>
<ul>
<li><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="script">E</mi><mo>∥</mo></msup><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">(</mo><msup><mi>W</mi><mo>∥</mo></msup><mo separator="true">,</mo><msup><mi>E</mi><mo>∥</mo></msup><mo separator="true">,</mo><msup><mi>λ</mi><mo>∥</mo></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\mathcal E^\parallel\coloneqq\left(W^\parallel,E^\parallel,\lambda^\parallel\right)</annotation></semantics></math></span></span> is the slice of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">E</mi></mrow><annotation encoding="application/x-tex">\mathcal E</annotation></semantics></math></span></span> corrsponding to the given slicing; and</li>
<li><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="script">M</mi><mo>∥</mo></msup><mo><mi mathvariant="normal">≔</mi></mo><msub><mo>⨆</mo><mrow><mi>e</mi><mo>∈</mo><msup><mi>E</mi><mo>∥</mo></msup></mrow></msub><msub><mi>M</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">\mathcal M^\parallel\coloneqq\bigsqcup_{e\in E^\parallel}M_e</annotation></semantics></math></span></span>.</li>
</ul>
<p>The idea behind slicing is to make some extensive quantities become extrinsic parameters and not part of the system itself. It would physically mean fixing some extensive quantities. However, here is a problem: if we fix some extensive quantities, the dimension (“dimension” as in “dimensional analysis”) of the volume element in the space of extensive quantities would be changed. In other words, the dimension 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">\lambda</annotation></semantics></math></span></span> does not agree with <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>λ</mi><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\lambda^\parallel</annotation></semantics></math></span></span>. This is physically not desirable because we want to keep the number of microstates dimensionless so that its logarithm does not depend on the units we use. However, this is not a problem because here is an argument: in any physical construction of a thermal system, it is fine to have dimensionful number of microstates, the cost is that the model must not be valid under low temperature; in mathematical construction, dimension is never a thing, so we do not even need to worry about it. In low temperature, we must use quantum statistical mechanics, where all quantities are quantized so that the number of microstates is literally the number of microstates, which must be dimensionless. In high temperature, we do not need the third law of thermodynamics, which is the only law that restricts how we should choose the zero (ground level) of the entropy, and in this case we may freely change our units because it only affects the entropy by an additive constant.</p>
<p><em>Example.</em> In the example of a system of ideal gas, we may slice the space of extensive quantities to the slice <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>V</mi><mo>=</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">V=1</annotation></semantics></math></span></span> to fix the volume.</p>
<h2 data-label="0.6" id="isolations-and-the-microcanonical-ensemble">Isolations and the microcanonical ensemble</h2>
<p>Here is a special type of slicing. Because a single point is an (zero-dimensional) affine subspace, it may form a slicing. Such a slicing fixes all of the extensive quantities. We may call it an <dfn>isolating</dfn>.</p>
<p>A thermal system with a zero-dimensional space of extensive quantities is called an <dfn>isolated system</dfn>. The physical meaning of such a system is that it is isolated from the outside so that it cannot exchange any extensive quantities with the outside. We may construct an isolated system out of an existing thermal system by the process of isolating.</p>
<p class="no-indent">
<strong>Definition.</strong> An <dfn>isolating</dfn> (at <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>e</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">e^\circ</annotation></semantics></math></span></span>) of a space of extensive quantities <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi>W</mi><mo separator="true">,</mo><mi>E</mi><mo separator="true">,</mo><mi>λ</mi><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(W,E,\lambda\right)</annotation></semantics></math></span></span> is a slicing <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi>W</mi><mo>∥</mo></msup><mo separator="true">,</mo><msup><mi>λ</mi><mo>∥</mo></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(W^\parallel,\lambda^\parallel\right)</annotation></semantics></math></span></span> of it, constructed as <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"><msup><mi>W</mi><mo>∥</mo></msup></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">{</mo><msup><mi>e</mi><mo>∘</mo></msup><mo fence="true">}</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><msup><mi>λ</mi><mo>∥</mo></msup><mo stretchy="false">(</mo><mi>A</mi><mo stretchy="false">)</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">{</mo><mtable rowspacing="0.36em" columnalign="left left" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>1</mn><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>A</mi><mo>=</mo><mrow><mo fence="true">{</mo><msup><mi>e</mi><mo>∘</mo></msup><mo fence="true">}</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>0</mn><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>A</mi><mo>=</mo><mi mathvariant="normal">∅</mi><mo separator="true">,</mo></mrow></mstyle></mtd></mtr></mtable></mrow></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
W^\parallel&amp;\coloneqq\left\{e^\circ\right\},\\
\lambda^\parallel(A)&amp;\coloneqq\begin{cases}1,&amp;A=\left\{e^\circ\right\},\\0,&amp;A=\varnothing,\end{cases}
\end{align*}</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><msup><mi>e</mi><mo>∘</mo></msup><mo>∈</mo><mi>E</mi></mrow><annotation encoding="application/x-tex">e^\circ\in E</annotation></semantics></math></span></span>.
</p>
<p class="no-indent">
<strong>Definition.</strong> An <dfn>isolated system</dfn> is a thermal system whose underlying affine space of its space of extensive quantities is a single-element set.
</p>
<p class="no-indent">
<strong>Definition.</strong> An <dfn>isolation</dfn> (at <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>e</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">e^\circ</annotation></semantics></math></span></span>) of a thermal system <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi mathvariant="script">E</mi><mo separator="true">,</mo><mi mathvariant="script">M</mi><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E,\mathcal M\right)</annotation></semantics></math></span></span> is the slice of it corresponding to the isolating at <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>e</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">e^\circ</annotation></semantics></math></span></span> of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">E</mi></mrow><annotation encoding="application/x-tex">\mathcal E</annotation></semantics></math></span></span>. An isolation is an isolated system.
</p>
<p>Here is an obvious property of isolated systems: the measured value of extensive quantities of any state of an isolated system is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>e</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">e^\circ</annotation></semantics></math></span></span>, the only possible value of the extensive quantities.</p>
<hr/>
<p>After introducing isolated systems, we can now introduce the <dfn>equal <em>a priori</em> probability postulate</dfn>. Although we may alternatively use other set of axioms to develop the theory of statistical ensembles, using the equal <em>a priori</em> probability postulate is a simple and traditional way to do it. Most importantly, this is a way that does not require us to define concepts like the temperature beforehand, which is a good thing for a mathematical formulation because it would require less mathematical structures or objects that are hard to well define at this stage.</p>
<p class="no-indent">
<strong>Axiom</strong> (the equal <em>a priori</em> probability postulate)<strong>.</strong> The equilibrium state of an isolated system is the uniform distribution.
</p>
<p>Actually, instead of saying that this is an axiom, we may say that formally this is a definition of equilibrium states. However, I still prefer to call it an axiom because it only defines the equilibrium state of isolated systems rather than any thermal systems.</p>
<p>The equilibrium state of an isolated system <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi mathvariant="script">E</mi><mo separator="true">,</mo><mi mathvariant="script">M</mi><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E,\mathcal M\right)</annotation></semantics></math></span></span> may be written mathematically as <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>p</mi><mo>∘</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mo>⋅</mo><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><mfrac><mn>1</mn><mrow><mi>μ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi mathvariant="script">M</mi><mo fence="true">)</mo></mrow></mrow></mfrac></mrow><annotation encoding="application/x-tex">p^\circ\!\left(\cdot\right)\coloneqq\frac1{\mu\!\left(\mathcal M\right)}</annotation></semantics></math></span></span></span> (the circle in the superscript denotes equilibrium state). After writing this out, we have successfully derived the <dfn>microcanonical ensemble</dfn>. We can then calculate the entropy of the state, which is <span id="eq:eq-microcanonical-entropy" data-label="(5)"><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><msup><mi>S</mi><mo>∘</mo></msup><mo><mi mathvariant="normal">≔</mi></mo><mi>S</mi><mtext> ⁣</mtext><mrow><mo fence="true">[</mo><msup><mi>p</mi><mo>∘</mo></msup><mo fence="true">]</mo></mrow><mo>=</mo><mi>ln</mi><mo>⁡</mo><mi>μ</mi><mo stretchy="false">(</mo><mi mathvariant="script">M</mi><mo stretchy="false">)</mo><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">S^\circ\coloneqq S\!\left[p^\circ\right]=\ln\mu(\mathcal M).</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>5</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(5)</annotation></semantics></math></span></span></span></span> </span></span> Mentioning the entropy, a notable feature about the equilibrium state of an isolated system is that it is the state of the system that has the maximum entropy, and any state different from it has a lower entropy.</p>
<p class="no-indent">
<strong>Theorem.</strong> For an isolated system, for any state <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> of it, <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>S</mi><mo stretchy="false">[</mo><mi>p</mi><mo stretchy="false">]</mo><mo>≤</mo><msup><mi>S</mi><mo>∘</mo></msup><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">S[p]\le S^\circ,</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><msup><mi>S</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">S^\circ</annotation></semantics></math></span></span> is the entropy of the equilibrium state of it. The equality holds iff <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> is the same state as the equilibrium state.
</p>
<details>
<summary>
Proof
</summary>
<p class="no-indent">
<em>Proof.</em> Define a probability measure <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>P</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">P^\circ</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">\mathcal M</annotation></semantics></math></span></span> by <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>P</mi><mo>∘</mo></msup><mo stretchy="false">(</mo><mi>A</mi><mo stretchy="false">)</mo><mo><mi mathvariant="normal">≔</mi></mo><mfrac><mrow><mi>μ</mi><mo stretchy="false">(</mo><mi>A</mi><mo stretchy="false">)</mo></mrow><mrow><mi>μ</mi><mo stretchy="false">(</mo><mi mathvariant="script">M</mi><mo stretchy="false">)</mo></mrow></mfrac><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">P^\circ(A)\coloneqq\frac{\mu(A)}{\mu(\mathcal 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><mo fence="true">(</mo><mi mathvariant="script">M</mi><mo separator="true">,</mo><mi>σ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi mathvariant="script">M</mi><mo fence="true">)</mo></mrow><mo separator="true">,</mo><msup><mi>P</mi><mo>∘</mo></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal M,\sigma\!\left(\mathcal M\right),P^\circ\right)</annotation></semantics></math></span></span> is a probability space. Any state <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>, as a function 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">\mathcal M</annotation></semantics></math></span></span>, can be regarded as a random variable in the probability space <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi mathvariant="script">M</mi><mo separator="true">,</mo><mi>σ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi mathvariant="script">M</mi><mo fence="true">)</mo></mrow><mo separator="true">,</mo><msup><mi>P</mi><mo>∘</mo></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal M,\sigma\!\left(\mathcal M\right),P^\circ\right)</annotation></semantics></math></span></span>.
</p>
<p>Define the real 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>φ</mi><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">{</mo><mtable rowspacing="0.36em" columnalign="left left" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>x</mi><mi>ln</mi><mo>⁡</mo><mi>x</mi><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>x</mi><mo>∈</mo><mrow><mo fence="true">(</mo><mn>0</mn><mo separator="true">,</mo><mo>+</mo><mi mathvariant="normal">∞</mi><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>0</mn><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>x</mi><mo>=</mo><mn>0.</mn></mrow></mstyle></mtd></mtr></mtable></mrow></mrow><annotation encoding="application/x-tex">\varphi(x)\coloneqq\begin{cases}
x\ln x,&amp;x\in\left(0,+\infty\right),\\
0,&amp;x=0.
\end{cases}</annotation></semantics></math></span></span></span> It is a convex function, so according to the probabilistic form of Jensen’s inequality, <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>φ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi mathvariant="normal">E</mi><msup><mi>P</mi><mo>∘</mo></msup></msub><mtext> ⁣</mtext><mrow><mo fence="true">[</mo><mi>p</mi><mo fence="true">]</mo></mrow><mo fence="true">)</mo></mrow><mo>≤</mo><msub><mi mathvariant="normal">E</mi><msup><mi>P</mi><mo>∘</mo></msup></msub><mtext> ⁣</mtext><mrow><mo fence="true">[</mo><mi>φ</mi><mo>∘</mo><mi>p</mi><mo fence="true">]</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\varphi\!\left(\mathrm E_{P^\circ}\!\left[p\right]\right)
\le\mathrm E_{P^\circ}\!\left[\varphi\circ p\right].</annotation></semantics></math></span></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><mfrac><mn>1</mn><mrow><mi>μ</mi><mo stretchy="false">(</mo><mi mathvariant="script">M</mi><mo stretchy="false">)</mo></mrow></mfrac><mi>ln</mi><mo>⁡</mo><mfrac><mn>1</mn><mrow><mi>μ</mi><mo stretchy="false">(</mo><mi mathvariant="script">M</mi><mo stretchy="false">)</mo></mrow></mfrac><mo>≤</mo><msub><mo>∫</mo><mrow><mi>m</mi><mo>∈</mo><mi mathvariant="script">M</mi></mrow></msub><mi>p</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>m</mi><mo fence="true">)</mo></mrow><mi>ln</mi><mo>⁡</mo><mi>p</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>m</mi><mo fence="true">)</mo></mrow><mtext> </mtext><mfrac><mrow><mi mathvariant="normal">d</mi><mi>μ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>m</mi><mo fence="true">)</mo></mrow></mrow><mrow><mi>μ</mi><mo stretchy="false">(</mo><mi mathvariant="script">M</mi><mo stretchy="false">)</mo></mrow></mfrac><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\frac1{\mu(\mathcal M)}\ln\frac1{\mu(\mathcal M)}
\le\int_{m\in\mathcal M}p\!\left(m\right)\ln p\!\left(m\right)
\,\frac{\mathrm d\mu\!\left(m\right)}{\mu(\mathcal M)}.</annotation></semantics></math></span></span></span> Then, it follows immediately that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>S</mi><mo stretchy="false">[</mo><mi>p</mi><mo stretchy="false">]</mo><mo>≤</mo><msup><mi>S</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">S[p]\le S^\circ</annotation></semantics></math></span></span>. The equality holds iff <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">\varphi</annotation></semantics></math></span></span> is linear on a convex set <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>A</mi><mo>⊆</mo><mrow><mo fence="true">[</mo><mn>0</mn><mo separator="true">,</mo><mo>+</mo><mi mathvariant="normal">∞</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">A\subseteq\left[0,+\infty\right)</annotation></semantics></math></span></span> such that the value of the random variable <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> is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>P</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">P^\circ</annotation></semantics></math></span></span>-almost surely in
<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>. However, 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">\varphi</annotation></semantics></math></span></span> non-linear on any set with more than two points, the only possibility is that the value of <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> is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>P</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">P^\circ</annotation></semantics></math></span></span>-almost surely a constant, which means that the probability distribution defined by the 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> is equal to the uniform distribution <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">\mu</annotation></semantics></math></span></span>-almost everywhere. Therefore, the equality holds iff <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> is the same state as the equilibrium state. <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>
</details>
<p>This theorem is the well-known relation between the entropy and the equilibrium state: for an isolated system, the equilibrium state is the state with the maximum entropy.</p>
<hr/>
<p>By Equation <a href="#eq:eq-microcanonical-entropy">5</a>, we can now derive the relationship between the entropy and the extensive quantities at equilibrium states by the process of isolating. Define a family of states <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mrow><mo fence="true">{</mo><msubsup><mi>p</mi><mi>e</mi><mo>∘</mo></msubsup><mo fence="true">}</mo></mrow><mrow><mi>e</mi><mo>∈</mo><mi>E</mi></mrow></msub></mrow><annotation encoding="application/x-tex">\left\{p^\circ_e\right\}_{e\in E}</annotation></semantics></math></span></span>, where each state <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>p</mi><mi>e</mi><mo>∘</mo></msubsup></mrow><annotation encoding="application/x-tex">p^\circ_e</annotation></semantics></math></span></span> is the equilibrium state of the system isolated at <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>. Then, we have the fundamental equation <span id="eq:eq-mce-fundamental-eq" data-label="(6)"><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><msup><mi>S</mi><mo>∘</mo></msup><mo stretchy="false">(</mo><mi>e</mi><mo stretchy="false">)</mo><mo>=</mo><mi>ln</mi><mo>⁡</mo><mi mathvariant="normal">Ω</mi><mo stretchy="false">(</mo><mi>e</mi><mo stretchy="false">)</mo><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">S^\circ(e)=\ln\Omega(e),</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>6</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(6)</annotation></semantics></math></span></span></span></span> </span></span> where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">Ω</mi><mo stretchy="false">(</mo><mi>e</mi><mo stretchy="false">)</mo><mo><mi mathvariant="normal">≔</mi></mo><msub><mi>μ</mi><mi>e</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>M</mi><mi>e</mi></msub><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\Omega(e)\coloneqq\mu_e\!\left(M_e\right)</annotation></semantics></math></span></span> is called the <dfn>counting function</dfn> (I invented the phrase), which is the <dfn>microscopic characteristic function</dfn> of microcanonical ensembles. This defines a function
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>S</mi><mo>∘</mo></msup><mo>:</mo><mi>E</mi><mo>→</mo><mi mathvariant="double-struck">R</mi></mrow><annotation encoding="application/x-tex">S^\circ:E\to\mathbb R</annotation></semantics></math></span></span>, which may be used to give a fundamental equation in the form of Equation <a href="#eq:eq-fundamental-equation">4</a>, and it is the <dfn>macroscopic characteristic function</dfn> of microcanonical ensembles.</p>
<p>We will encounter microscopic or macroscopic characteristic functions for other ensembles later.</p>
<p><em>Example.</em> In the example of a system of a tank of ideal atomic gas, we have the fundamental 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><msup><mi>S</mi><mo>∘</mo></msup><mo>=</mo><mi>ln</mi><mo>⁡</mo><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mfrac><mn>1</mn><mrow><msup><mi>h</mi><mrow><mn>3</mn><mi>N</mi></mrow></msup><mi>N</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mi>V</mi><mi>N</mi></msup><msub><mi>S</mi><mrow><mn>3</mn><mi>N</mi><mo>−</mo><mn>1</mn></mrow></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msqrt><mrow><mn>2</mn><mi>m</mi><mi>U</mi></mrow></msqrt><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">S^\circ=\ln\!\left(\frac1{h^{3N}N!}V^NS_{3N-1}\!\left(\sqrt{2mU}\right)\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><msub><mi>S</mi><mi>n</mi></msub><mo stretchy="false">(</mo><mi>r</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">S_n(r)</annotation></semantics></math></span></span> is the surface area of an <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>-sphere with radius <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>, which is proportional to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>r</mi><mi>n</mi></msup></mrow><annotation encoding="application/x-tex">r^n</annotation></semantics></math></span></span>. Taking its derivative w.r.t. <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>U</mi><mo separator="true">,</mo><mi>V</mi><mo separator="true">,</mo><mi>N</mi></mrow><annotation encoding="application/x-tex">U,V,N</annotation></semantics></math></span></span> and taking the thermodynamic limit will recover familiar results.</p>
<h2 data-label="0.7" id="contracting">Contracting</h2>
<p>I have previously mentioned that the other way of deriving a new system out of an existing one is called contracting. Now we should introduce this concept because it is very useful later when we need to define the contact between subsystems of a composite system (whose definition will be given later).</p>
<p>The idea behind contracting is also to reduce the dimension of the space of extensive quantities. However, rather than making some of the extensive quantities extrinsic parameters, it makes them “intrinsic” within the space of microstates. A vivid analogy is this: imagine a thermal system as many boxes of microstates with each box labeled by specific values of extensive quantities, then we partition those boxes to classify them, and put all the boxes in each partition into one larger box. The new set of larger boxes are labeled by a specific values of fewer extensive quantities, and it is the so-called contraction of the origional set of boxes.</p>
<p>I call it contracting because it is like contracting the affine space of extensive quantities into a flat sheet of its subspace. The way we do this should be described by a projection. A projection in affine space maps the whole space into one of its affine subspace, and the preimage of each point in the subspace is another affine subspace of the original space. The preimages forms a family of parallel affine subspaces labeled by their image under the projection. The family of affine subspaces may be used to define a family of slices of the space of extensive quantities or the thermal system, which are useful when defining the contraction of the space of extensive quantities or the system.</p>
<p class="no-indent">
<strong>Definition.</strong> A <dfn>contracting</dfn> of a space of extensive quantities <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi>W</mi><mo separator="true">,</mo><mi>E</mi><mo separator="true">,</mo><mi>λ</mi><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(W,E,\lambda\right)</annotation></semantics></math></span></span> is given by a tuple <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi>π</mi><mo separator="true">,</mo><msup><mi>λ</mi><mo>⊥</mo></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\pi,\lambda^\perp\right)</annotation></semantics></math></span></span>, where
</p>
<ul>
<li><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>π</mi><mo>:</mo><mi>W</mi><mo>→</mo><msup><mi>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">\pi:W\to W^\perp</annotation></semantics></math></span></span> is a projection map from <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> to an affine subspace <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">W^\perp</annotation></semantics></math></span></span> of <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>;</li>
<li><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>E</mi><mo>⊥</mo></msup><mo><mi mathvariant="normal">≔</mi></mo><mi>π</mi><mo stretchy="false">(</mo><mi>E</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">E^\perp\coloneqq\pi(E)</annotation></semantics></math></span></span>, the image 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> under <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">\pi</annotation></semantics></math></span></span>, is equipped with the minimal topology <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>τ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>E</mi><mo>⊥</mo></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\tau\!\left(E^\perp\right)</annotation></semantics></math></span></span> so that <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">\pi</annotation></semantics></math></span></span> is continuous, and the topology makes <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>E</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">E^\perp</annotation></semantics></math></span></span> Polish;</li>
<li><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>λ</mi><mo>⊥</mo></msup><mo>:</mo><mi>σ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>E</mi><mo>⊥</mo></msup><mo fence="true">)</mo></mrow><mo>→</mo><mrow><mo fence="true">[</mo><mn>0</mn><mo separator="true">,</mo><mo>+</mo><mi mathvariant="normal">∞</mi><mo fence="true">]</mo></mrow></mrow><annotation encoding="application/x-tex">\lambda^\perp:\sigma\!\left(E^\perp\right)\to\left[0,+\infty\right]</annotation></semantics></math></span></span> is a non-trivial σ-finite Borel measure on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>E</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">E^\perp</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>σ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>E</mi><mo>⊥</mo></msup><mo fence="true">)</mo></mrow><mo>⊇</mo><mi mathvariant="fraktur">B</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>E</mi><mo>⊥</mo></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\sigma\!\left(E^\perp\right)\supseteq\mathfrak B\!\left(E^\perp\right)</annotation></semantics></math></span></span> is a σ-algebra of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>E</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">E^\perp</annotation></semantics></math></span></span> that contains the Borel σ-algebra of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>E</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">E^\perp</annotation></semantics></math></span></span>; and</li>
<li>For any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>A</mi><mo>∈</mo><mi>σ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>E</mi><mo>⊥</mo></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">A\in\sigma\!\left(E^\perp\right)</annotation></semantics></math></span></span>, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>λ</mi><mo lspace="0em" rspace="0em">⊥</mo></msup><mo stretchy="false">(</mo><mi>A</mi><mo stretchy="false">)</mo><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">\lambda^{\perp}(A)=0</annotation></semantics></math></span></span> iff <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>λ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>π</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo stretchy="false">(</mo><mi>A</mi><mo stretchy="false">)</mo><mo fence="true">)</mo></mrow><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">\lambda\!\left(\pi^{-1}(A)\right)=0</annotation></semantics></math></span></span>.</li>
</ul>
<p class="no-indent">
This contracting defines a new space of extensive quantities <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi>W</mi><mo>⊥</mo></msup><mo separator="true">,</mo><msup><mi>E</mi><mo>⊥</mo></msup><mo separator="true">,</mo><msup><mi>λ</mi><mo>⊥</mo></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(W^\perp,E^\perp,\lambda^\perp\right)</annotation></semantics></math></span></span>, called a <dfn>contraction</dfn> of the original space of extensive quantities <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi>W</mi><mo separator="true">,</mo><mi>E</mi><mo separator="true">,</mo><mi>λ</mi><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(W,E,\lambda\right)</annotation></semantics></math></span></span>.
</p>
<p class="no-indent">
<strong>Definition.</strong> The <dfn>contractive slicings</dfn> of a space of extensive quantities <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi>W</mi><mo separator="true">,</mo><mi>E</mi><mo separator="true">,</mo><mi>λ</mi><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(W,E,\lambda\right)</annotation></semantics></math></span></span> defined by a contracting <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi>π</mi><mo separator="true">,</mo><msup><mi>λ</mi><mo>⊥</mo></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\pi,\lambda^\perp\right)</annotation></semantics></math></span></span> of it is a family of slicings <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mo>⨆</mo><mrow><mi>e</mi><mo>∈</mo><msup><mi>W</mi><mo>⊥</mo></msup></mrow></msub><mrow><mo fence="true">(</mo><msubsup><mi>W</mi><mi>e</mi><mo>∥</mo></msubsup><mo separator="true">,</mo><msubsup><mi>λ</mi><mi>e</mi><mo>∥</mo></msubsup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\bigsqcup_{e\in W^\perp}\left(W^\parallel_e,\lambda^\parallel_e\right)</annotation></semantics></math></span></span>, where
</p>
<ul>
<li><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mo>∥</mo></msubsup><mo><mi mathvariant="normal">≔</mi></mo><msup><mi>π</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo stretchy="false">(</mo><mi>e</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">W^\parallel_e\coloneqq\pi^{-1}(e)</annotation></semantics></math></span></span> is the preimage of <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">\left\{e\right\}</annotation></semantics></math></span></span> under <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">\pi</annotation></semantics></math></span></span>, an affine subspace of <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>; and</li>
<li><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>λ</mi><mi>e</mi><mo>∥</mo></msubsup><mo>:</mo><mi>σ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msubsup><mi>E</mi><mi>e</mi><mo>∥</mo></msubsup><mo fence="true">)</mo></mrow><mo>→</mo><mrow><mo fence="true">[</mo><mn>0</mn><mo separator="true">,</mo><mo>+</mo><mi mathvariant="normal">∞</mi><mo fence="true">]</mo></mrow></mrow><annotation encoding="application/x-tex">\lambda_e^\parallel:\sigma\!\left(E_e^\parallel\right)\to\left[0,+\infty\right]</annotation></semantics></math></span></span> is a Borel measure; the family of measures is the disintegration 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">\lambda</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>π</mi></mrow><annotation encoding="application/x-tex">\pi</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>λ</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">\lambda^\perp</annotation></semantics></math></span></span>.</li>
</ul>
<p class="no-indent">
<strong>Definition.</strong> A <dfn>contraction</dfn> of a thermal system <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi mathvariant="script">E</mi><mo separator="true">,</mo><mi mathvariant="script">M</mi><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E,\mathcal M\right)</annotation></semantics></math></span></span> defined by the contracting <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi>π</mi><mo separator="true">,</mo><msup><mi>λ</mi><mo>⊥</mo></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\pi,\lambda^\perp\right)</annotation></semantics></math></span></span> of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">E</mi></mrow><annotation encoding="application/x-tex">\mathcal E</annotation></semantics></math></span></span> is a new thermal system <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi mathvariant="script">E</mi><mo>⊥</mo></msup><mo separator="true">,</mo><msup><mi mathvariant="script">M</mi><mo>⊥</mo></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^\perp,\mathcal M^\perp\right)</annotation></semantics></math></span></span> constructed as such:
</p>
<ul>
<li><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="script">E</mi><mo>⊥</mo></msup><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">(</mo><msup><mi>W</mi><mo>⊥</mo></msup><mo separator="true">,</mo><msup><mi>E</mi><mo>⊥</mo></msup><mo separator="true">,</mo><msup><mi>λ</mi><mo>⊥</mo></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\mathcal E^\perp\coloneqq\left(W^\perp,E^\perp,\lambda^\perp\right)</annotation></semantics></math></span></span> is the contraction of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">E</mi></mrow><annotation encoding="application/x-tex">\mathcal E</annotation></semantics></math></span></span> corresponding to the given contracting;</li>
<li><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="script">M</mi><mo>⊥</mo></msup><mo><mi mathvariant="normal">≔</mi></mo><msub><mo>⨆</mo><mrow><mi>e</mi><mo>∈</mo><msup><mi>E</mi><mo>⊥</mo></msup></mrow></msub><msubsup><mi>M</mi><mi>e</mi><mo>⊥</mo></msubsup></mrow><annotation encoding="application/x-tex">\mathcal M^\perp\coloneqq\bigsqcup_{e\in E^\perp}M_e^\perp</annotation></semantics></math></span></span>, where for each <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>E</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">e\in E^\perp</annotation></semantics></math></span></span>, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>M</mi><mi>e</mi><mo>⊥</mo></msubsup><mo><mi mathvariant="normal">≔</mi></mo><msubsup><mi mathvariant="script">M</mi><mi>e</mi><mo>∥</mo></msubsup></mrow><annotation encoding="application/x-tex">M_e^\perp\coloneqq\mathcal M_e^\parallel</annotation></semantics></math></span></span>; the family of systems <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msubsup><mi mathvariant="script">E</mi><mi>e</mi><mo>∥</mo></msubsup><mo separator="true">,</mo><msubsup><mi mathvariant="script">M</mi><mi>e</mi><mo>∥</mo></msubsup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E_e^\parallel,\mathcal M_e^\parallel\right)</annotation></semantics></math></span></span> (labeled by
<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>E</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">e\in E^\perp</annotation></semantics></math></span></span>) are slices of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi mathvariant="script">E</mi><mo separator="true">,</mo><mi mathvariant="script">M</mi><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E,\mathcal M\right)</annotation></semantics></math></span></span> corresponding to the contractive slicings of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">E</mi></mrow><annotation encoding="application/x-tex">\mathcal E</annotation></semantics></math></span></span> defined by the contracting <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi>π</mi><mo separator="true">,</mo><msup><mi>λ</mi><mo>⊥</mo></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\pi,\lambda^\perp\right)</annotation></semantics></math></span></span>; the measure equipped on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi mathvariant="script">M</mi><mi>e</mi><mo>∥</mo></msubsup></mrow><annotation encoding="application/x-tex">\mathcal M_e^\parallel</annotation></semantics></math></span></span> is the measure of number of microstates of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msubsup><mi mathvariant="script">E</mi><mi>e</mi><mo>∥</mo></msubsup><mo separator="true">,</mo><msubsup><mi mathvariant="script">M</mi><mi>e</mi><mo>∥</mo></msubsup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E_e^\parallel,\mathcal M_e^\parallel\right)</annotation></semantics></math></span></span>.</li>
</ul>
<p class="no-indent">
In some cases, the total number of microstates in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi mathvariant="script">M</mi><mi>e</mi><mo>∥</mo></msubsup></mrow><annotation encoding="application/x-tex">\mathcal M^\parallel_e</annotation></semantics></math></span></span> is not finite for some <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>, then the contraction is not defined in this case.
</p>
<p><em>Example.</em> For the thermal system of a solid consisting of spin-<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mfrac><mn>1</mn><mn>2</mn></mfrac></mrow><annotation encoding="application/x-tex">\frac12</annotation></semantics></math></span></span> particles, define a constracting <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi>π</mi><mo separator="true">,</mo><msup><mi>λ</mi><mo>⊥</mo></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\pi,\lambda^\perp\right)</annotation></semantics></math></span></span> by <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><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>U</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><mi mathvariant="normal">≔</mi></mo><mi>N</mi><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><msup><mi>λ</mi><mo>⊥</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>A</mi><mo fence="true">)</mo></mrow></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><mi mathvariant="normal">card</mi><mo>⁡</mo><mi>A</mi><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
\pi\!\left(U,N\right)&amp;\coloneqq N,\\
\lambda^\perp\!\left(A\right)&amp;\coloneqq\operatorname{card}A.
\end{align*}</annotation></semantics></math></span></span></span> Then the corresponding contraction of the thermal system may be written as a thermal system <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mrow><mo fence="true">(</mo><mi>W</mi><mo separator="true">,</mo><mi>E</mi><mo separator="true">,</mo><mi>λ</mi><mo fence="true">)</mo></mrow><mo separator="true">,</mo><msub><mo>⨆</mo><mrow><mi>e</mi><mo>∈</mo><mi>E</mi></mrow></msub><msub><mi>M</mi><mi>e</mi></msub><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\left(W,E,\lambda\right),\bigsqcup_{e\in E}M_e\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><mtable rowspacing="0.25em" columnalign="right left" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mi>W</mi></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><mi mathvariant="double-struck">R</mi><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mi>E</mi></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><msup><mi mathvariant="double-struck">Z</mi><mo>+</mo></msup><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mi>λ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>A</mi><mo fence="true">)</mo></mrow></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><mi mathvariant="normal">card</mi><mo>⁡</mo><mi>A</mi><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><msub><mi>M</mi><mi>N</mi></msub></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><msup><mrow><mo fence="true">{</mo><mn>0</mn><mo separator="true">,</mo><mn>1</mn><mo fence="true">}</mo></mrow><mi>N</mi></msup><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><msub><mi>μ</mi><mi>N</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>A</mi><mo fence="true">)</mo></mrow></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><mi mathvariant="normal">card</mi><mo>⁡</mo><mi>A</mi><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
W&amp;\coloneqq\mathbb R,\\
E&amp;\coloneqq\mathbb Z^+,\\
\lambda\!\left(A\right)&amp;\coloneqq\operatorname{card}A,\\
M_N&amp;\coloneqq\left\{0,1\right\}^N,\\
\mu_N\!\left(A\right)&amp;\coloneqq\operatorname{card}A.
\end{align*}</annotation></semantics></math></span></span></span></p>
<hr/>
<p>Different from a slice of a system, a contraction of a system does not have the problem about the dimension (“dimension” as in “dimensional analysis”) of the measure on the space of extensive quantities. Although the dimension of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>λ</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">\lambda^\perp</annotation></semantics></math></span></span> is different from <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">\lambda</annotation></semantics></math></span></span>, the dimension of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>μ</mi><mi>e</mi><mo>⊥</mo></msubsup></mrow><annotation encoding="application/x-tex">\mu^\perp_e</annotation></semantics></math></span></span> (the measure on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>M</mi><mi>e</mi><mo>⊥</mo></msubsup></mrow><annotation encoding="application/x-tex">M^\perp_e</annotation></semantics></math></span></span>) is also different from <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">\mu</annotation></semantics></math></span></span>, and they change together in such a way that the resultant <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>μ</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">\mu^\perp</annotation></semantics></math></span></span> (the measure of number of microstates on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="script">M</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">\mathcal M^\perp</annotation></semantics></math></span></span>) has the same dimension as <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">\mu</annotation></semantics></math></span></span>.</p>
<p>This fact actually hints us that a contraction of a thermal system is essentially the same as the original thermal system in such a sense that the microstates in the two systems are naturally one-to-one connected. Indeed, the natural bijection from <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">\mathcal M</annotation></semantics></math></span></span> to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="script">M</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">\mathcal M^\perp</annotation></semantics></math></span></span> is given by <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 separator="true">,</mo><mi>m</mi><mo fence="true">)</mo></mrow><mo>↦</mo><mrow><mo fence="true">(</mo><mi>π</mi><mo stretchy="false">(</mo><mi>e</mi><mo stretchy="false">)</mo><mo separator="true">,</mo><mrow><mo fence="true">(</mo><mi>e</mi><mo separator="true">,</mo><mi>m</mi><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\left(e,m\right)\mapsto\left(\pi(e),\left(e,m\right)\right)</annotation></semantics></math></span></span>. It is obvious that for any measurable function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi></mrow><annotation encoding="application/x-tex">f</annotation></semantics></math></span></span> on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="script">M</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">\mathcal M^\perp</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><mo>∫</mo><mrow><mrow><mo fence="true">(</mo><mi>e</mi><mo separator="true">,</mo><mi>m</mi><mo fence="true">)</mo></mrow><mo>∈</mo><mi mathvariant="script">M</mi></mrow></msub><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>π</mi><mo stretchy="false">(</mo><mi>e</mi><mo stretchy="false">)</mo><mo separator="true">,</mo><mo stretchy="false">(</mo><mi>e</mi><mo separator="true">,</mo><mi>m</mi><mo stretchy="false">)</mo><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>μ</mi><mo stretchy="false">(</mo><mi>e</mi><mo separator="true">,</mo><mi>m</mi><mo stretchy="false">)</mo><mo>=</mo><msub><mo>∫</mo><mrow><mrow><mo fence="true">(</mo><mi>e</mi><mo separator="true">,</mo><mi>m</mi><mo fence="true">)</mo></mrow><mo>∈</mo><msup><mi mathvariant="script">M</mi><mo>⊥</mo></msup></mrow></msub><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo separator="true">,</mo><mi>m</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msup><mi>μ</mi><mo>⊥</mo></msup><mo stretchy="false">(</mo><mi>e</mi><mo separator="true">,</mo><mi>m</mi><mo stretchy="false">)</mo><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\int_{\left(e,m\right)\in\mathcal M}f\!\left(\pi(e),(e,m)\right)\mathrm d\mu(e,m)
=\int_{\left(e,m\right)\in\mathcal M^\perp}f\!\left(e,m\right)\mathrm d\mu^\perp(e,m).</annotation></semantics></math></span></span></span> Using this map, we can pull back any function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>f</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">f^\perp</annotation></semantics></math></span></span> on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="script">M</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">\mathcal M^\perp</annotation></semantics></math></span></span> to become a function 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">\mathcal M</annotation></semantics></math></span></span> by
<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>e</mi><mo separator="true">,</mo><mi>m</mi><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><msup><mi>f</mi><mo>⊥</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>π</mi><mo stretchy="false">(</mo><mi>e</mi><mo stretchy="false">)</mo><mo separator="true">,</mo><mrow><mo fence="true">(</mo><mi>e</mi><mo separator="true">,</mo><mi>m</mi><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">f\!\left(e,m\right)\coloneqq f^\perp\!\left(\pi(e),\left(e,m\right)\right)</annotation></semantics></math></span></span></span> and the other way around. I want to call <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi></mrow><annotation encoding="application/x-tex">f</annotation></semantics></math></span></span> the <dfn>contractional pullback</dfn> of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>f</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">f^\perp</annotation></semantics></math></span></span> under <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">\pi</annotation></semantics></math></span></span> and call <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>f</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">f^\perp</annotation></semantics></math></span></span> the <dfn>contractional pushforward</dfn> of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi></mrow><annotation encoding="application/x-tex">f</annotation></semantics></math></span></span> under <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">\pi</annotation></semantics></math></span></span>. Specially, we may pull back any state <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>p</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">p^\perp</annotation></semantics></math></span></span> of a contraction to become a state <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 the original thermal system. We will see that pullbacks of states are rather useful.</p>
<hr/>
<p>Obviously, the family of affine subspaces <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mrow><mo fence="true">{</mo><msubsup><mi>W</mi><mi>e</mi><mo>∥</mo></msubsup><mo fence="true">}</mo></mrow><mrow><mi>e</mi><mo>∈</mo><msup><mi>W</mi><mo>⊥</mo></msup></mrow></msub></mrow><annotation encoding="application/x-tex">\left\{W^\parallel_e\right\}_{e\in W^\perp}</annotation></semantics></math></span></span> are parallel to each other. Therefore, their associated vector subspaces are the same vector subspace <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span> of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>W</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec W</annotation></semantics></math></span></span>, which is a complement of the vector subspace <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\perp</annotation></semantics></math></span></span>, the vector space that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">W^\perp</annotation></semantics></math></span></span> is associated with. We can write <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>W</mi><mo>⃗</mo></mover><mo>=</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>⊥</mo></msup><mo>+</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup><mo separator="true">,</mo><mspace width="1em"/><mi>W</mi><mo>=</mo><msup><mi>W</mi><mo>⊥</mo></msup><mo>+</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\vec W=\vec W^\perp+\vec W^\parallel,\quad W=W^\perp+\vec W^\parallel.</annotation></semantics></math></span></span></span> Each point in <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> can be written in the form of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>e</mi><mo>+</mo><mi>s</mi></mrow><annotation encoding="application/x-tex">e+s</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>e</mi><mo>∈</mo><msup><mi>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">e\in W^\perp</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>s</mi><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">s\in\vec W^\parallel</annotation></semantics></math></span></span>. Furthermore, for any <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>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">e\in W^\perp</annotation></semantics></math></span></span>, the map <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>s</mi><mo>↦</mo><mi>e</mi><mo>+</mo><mi>s</mi></mrow><annotation encoding="application/x-tex">s\mapsto e+s</annotation></semantics></math></span></span> is a bijection from <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span> to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mo>∥</mo></msubsup></mrow><annotation encoding="application/x-tex">W^\parallel_e</annotation></semantics></math></span></span>. This bijection can then push forward linear operations from <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span> to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mo>∥</mo></msubsup></mrow><annotation encoding="application/x-tex">W^\parallel_e</annotation></semantics></math></span></span>. For example, we can define the action of some continuous linear functional <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>i</mi><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo mathvariant="normal">′</mo></mrow></msup></mrow><annotation encoding="application/x-tex">i\in\vec W^{\parallel\prime}</annotation></semantics></math></span></span> on a point <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>e</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>∈</mo><msubsup><mi>W</mi><mi>e</mi><mo>∥</mo></msubsup></mrow><annotation encoding="application/x-tex">e'\in W^\parallel_e</annotation></semantics></math></span></span> as <span id="eq:eq-linear-op-on-affine" data-label="(7)"><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>i</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>e</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><mi>i</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>e</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>−</mo><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>e</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">i\!\left(e'\right)\coloneqq i\!\left(e'-\pi\!\left(e'\right)\right),</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>7</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(7)</annotation></semantics></math></span></span></span></span> </span></span> where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>e</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\pi\!\left(e'\right)</annotation></semantics></math></span></span> is just <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>However, we need to remember that there is no generally physically meaningful linear structure on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mo>∥</mo></msubsup></mrow><annotation encoding="application/x-tex">W^\parallel_e</annotation></semantics></math></span></span>. The linear structure that we have constructed is just for convenience in notations.</p>
<hr/>
<p>An interesting fact about slicing, isolating, and contracting is that: an isolation of a contraction is a contraction of a slice.</p>
<p>Suppose we have a thermal system <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi mathvariant="script">E</mi><mo separator="true">,</mo><mi mathvariant="script">M</mi><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E,\mathcal M\right)</annotation></semantics></math></span></span>, and by a contracting <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi>π</mi><mo separator="true">,</mo><msup><mi>λ</mi><mo>⊥</mo></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\pi,\lambda^\perp\right)</annotation></semantics></math></span></span> we derive its contraction <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi mathvariant="script">E</mi><mo>⊥</mo></msup><mo separator="true">,</mo><msup><mi mathvariant="script">M</mi><mo>⊥</mo></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^\perp,\mathcal M^\perp\right)</annotation></semantics></math></span></span>.</p>
<p>Now, consider one of its contractive slices <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msubsup><mi mathvariant="script">E</mi><msup><mi>e</mi><mo>∘</mo></msup><mo>∥</mo></msubsup><mo separator="true">,</mo><msubsup><mi mathvariant="script">M</mi><msup><mi>e</mi><mo>∘</mo></msup><mo>∥</mo></msubsup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^\parallel_{e^\circ},\mathcal M^\parallel_{e^\circ}\right)</annotation></semantics></math></span></span>, where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>e</mi><mo>∘</mo></msup><mo>∈</mo><msup><mi>E</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">e^\circ\in E^\perp</annotation></semantics></math></span></span>. Then, we contract this slice by the contracting <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi>π</mi><mo separator="true">,</mo><msup><mi>λ</mi><mrow><mo>⊥</mo><mo mathvariant="normal">′</mo></mrow></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\pi,\lambda^{\perp\prime}\right)</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>π</mi></mrow><annotation encoding="application/x-tex">\pi</annotation></semantics></math></span></span> is the same <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">\pi</annotation></semantics></math></span></span> as used above but whose domain is restricted to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><msup><mi>e</mi><mo>∘</mo></msup><mo>∥</mo></msubsup></mrow><annotation encoding="application/x-tex">W^\parallel_{e^\circ}</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>λ</mi><mrow><mo>⊥</mo><mo mathvariant="normal">′</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\lambda^{\perp\prime}</annotation></semantics></math></span></span> is the counting measure. Because the whole
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><msup><mi>e</mi><mo>∘</mo></msup><mo>∥</mo></msubsup></mrow><annotation encoding="application/x-tex">W^\parallel_{e^\circ}</annotation></semantics></math></span></span> is mapped to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>e</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">e^\circ</annotation></semantics></math></span></span> under <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">\pi</annotation></semantics></math></span></span>, the contraction becomes an isolated system whose only possible value of extensive quantities is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>e</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">e^\circ</annotation></semantics></math></span></span>. Its spaces of microstates consist of only one measure space, which is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi mathvariant="script">M</mi><msup><mi>e</mi><mo>∘</mo></msup><mo>∥</mo></msubsup></mrow><annotation encoding="application/x-tex">\mathcal M^\parallel_{e^\circ}</annotation></semantics></math></span></span>.</p>
<p>On the other hand, consider isolating <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi mathvariant="script">E</mi><mo>⊥</mo></msup><mo separator="true">,</mo><msup><mi mathvariant="script">M</mi><mo>⊥</mo></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^\perp,\mathcal M^\perp\right)</annotation></semantics></math></span></span> at <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>e</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">e^\circ</annotation></semantics></math></span></span>. Its isolation at <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>e</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">e^\circ</annotation></semantics></math></span></span> is an isolated system whose only possible value of extensive quantities is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>e</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">e^\circ</annotation></semantics></math></span></span>. Its spaces of microstates consist of only one measure space, which is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>M</mi><msup><mi>e</mi><mo>∘</mo></msup><mo>⊥</mo></msubsup></mrow><annotation encoding="application/x-tex">M^\perp_{e^\circ}</annotation></semantics></math></span></span>, which is the same as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi mathvariant="script">M</mi><msup><mi>e</mi><mo>∘</mo></msup><mo>∥</mo></msubsup></mrow><annotation encoding="application/x-tex">\mathcal M^\parallel_{e^\circ}</annotation></semantics></math></span></span>.</p>
<p>Therefore, an isolation of a contraction is a contraction of a slice.</p>
<p>This fact is useful because it enables us to find the equilibrium state of a slice. Using microcanonical ensemble, we can already find the equilibrium state of any isolated system, so we can find the equilibrium state of an isolation of a contraction. Then, it is the equilibrium state of a contraction of a slice. Then, by the contractional pullback, it is the equilibrium state of a slice.</p>
<h2 data-label="0.8" id="thermal-contact">Thermal contact</h2>
<p>Composite systems are systems that are composed of other systems. This is a useful concept because it allows us to treat multiple systems as a whole. The motivation of develop this concept is that we should use it to derive the canonical ensemble and the grand canonical ensemble. In those ensembles, the system is not isolated but in contact with a bath. To consider them as a whole system, we need to define composite systems.</p>
<p>The simplest case of a composite system is where the subsystems are independent of each other. Physically, this means that the subsystems do not have any thermodynamic contact between each other. I would like to call the simplest case a <dfn>product thermal system</dfn> just as how mathematicians name their product spaces constructed out of existing spaces.</p>
<p class="no-indent">
<strong>Definition.</strong> The <dfn>product space of extensive quantities</dfn> of two spaces of extensive quantities <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi>E</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi>λ</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(W^{(1)},E^{(1)},\lambda^{(1)}\right)</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><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi>E</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi>λ</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(W^{(2)},E^{(2)},\lambda^{(2)}\right)</annotation></semantics></math></span></span> is a space of extensive quantities <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi>W</mi><mo separator="true">,</mo><mi>E</mi><mo separator="true">,</mo><mi>λ</mi><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(W,E,\lambda\right)</annotation></semantics></math></span></span> constructed as such:
</p>
<ul>
<li><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>W</mi><mo><mi mathvariant="normal">≔</mi></mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>×</mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W\coloneqq W^{(1)}\times W^{(2)}</annotation></semantics></math></span></span> is the product affine space of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{(1)}</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>W</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{(2)}</annotation></semantics></math></span></span>;</li>
<li><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>E</mi><mo><mi mathvariant="normal">≔</mi></mo><msup><mi>E</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>×</mo><msup><mi>E</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">E\coloneqq E^{(1)}\times E^{(2)}</annotation></semantics></math></span></span> is the product topological space as well as the product measure space of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>E</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">E^{(1)}</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>E</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">E^{(2)}</annotation></semantics></math></span></span>; and</li>
<li><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">\lambda</annotation></semantics></math></span></span> is the product measure of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>λ</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\lambda^{(1)}</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>λ</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\lambda^{(2)}</annotation></semantics></math></span></span>, whose uniqueness is guaranteed by the σ-finiteness of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>λ</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\lambda^{(1)}</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>λ</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\lambda^{(2)}</annotation></semantics></math></span></span>.</li>
</ul>
<p class="no-indent">
<strong>Definition.</strong> The <dfn>product thermal system</dfn> of two thermal systems <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi mathvariant="script">E</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^{(1)},\mathcal M^{(1)}\right)</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><msup><mi mathvariant="script">E</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^{(2)},\mathcal M^{(2)}\right)</annotation></semantics></math></span></span> is a thermal system <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi mathvariant="script">E</mi><mo separator="true">,</mo><mi mathvariant="script">M</mi><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E,\mathcal M\right)</annotation></semantics></math></span></span> constructed as such:
</p>
<ul>
<li><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">E</mi><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">(</mo><mi>W</mi><mo separator="true">,</mo><mi>E</mi><mo separator="true">,</mo><mi>λ</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\mathcal E\coloneqq\left(W,E,\lambda\right)</annotation></semantics></math></span></span> is the product space of extensive quantities of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="script">E</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\mathcal E^{(1)}</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 mathvariant="script">E</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\mathcal E^{(2)}</annotation></semantics></math></span></span>; and</li>
<li><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">M</mi><mo><mi mathvariant="normal">≔</mi></mo><msub><mo>⨆</mo><mrow><mo stretchy="false">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo stretchy="false">)</mo><mo>∈</mo><mi>E</mi></mrow></msub><msub><mi>M</mi><mrow><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub></mrow></msub></mrow><annotation encoding="application/x-tex">\mathcal M\coloneqq\bigsqcup_{(e_1,e_2)\in E}M_{e_1,e_2}</annotation></semantics></math></span></span>, where
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>M</mi><mrow><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub></mrow></msub><mo><mi mathvariant="normal">≔</mi></mo><msubsup><mi>M</mi><msub><mi>e</mi><mn>1</mn></msub><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo>×</mo><msubsup><mi>M</mi><msub><mi>e</mi><mn>2</mn></msub><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">M_{e_1,e_2}\coloneqq M^{(1)}_{e_1}\times M^{(2)}_{e_2}</annotation></semantics></math></span></span> is the product measure space of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>M</mi><msub><mi>e</mi><mn>1</mn></msub><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">M^{(1)}_{e_1}</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>M</mi><msub><mi>e</mi><mn>2</mn></msub><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">M^{(2)}_{e_2}</annotation></semantics></math></span></span>, equipped with measure <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>μ</mi><mrow><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub></mrow></msub></mrow><annotation encoding="application/x-tex">\mu_{e_1,e_2}</annotation></semantics></math></span></span>, the product measure of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>μ</mi><msub><mi>e</mi><mn>1</mn></msub><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">\mu^{(1)}_{e_1}</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>μ</mi><msub><mi>e</mi><mn>2</mn></msub><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">\mu^{(2)}_{e_2}</annotation></semantics></math></span></span>.</li>
</ul>
<p>By this definition, <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">\mathcal M</annotation></semantics></math></span></span> is naturally identified with <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>×</mo><msup><mi mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\mathcal M^{(1)}\times\mathcal M^{(2)}</annotation></semantics></math></span></span>, and the measure of number of microstates <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">\mu</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">\mathcal M</annotation></semantics></math></span></span> is in this sense the same as the product measure of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>μ</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\mu^{(1)}</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>μ</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\mu^{(2)}</annotation></semantics></math></span></span> (the measures of number of microstates on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\mathcal M^{(1)}</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 mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\mathcal M^{(2)}</annotation></semantics></math></span></span>). We can project elements in <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">\mathcal M</annotation></semantics></math></span></span> back into <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\mathcal M^{(1)}</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 mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\mathcal M^{(2)}</annotation></semantics></math></span></span> by the map
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo separator="true">,</mo><msub><mi>m</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>m</mi><mn>2</mn></msub><mo stretchy="false">)</mo><mo>↦</mo><mo stretchy="false">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>m</mi><mn>1</mn></msub><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(e_1,e_2,m_1,m_2)\mapsto(e_1,m_1)</annotation></semantics></math></span></span> and the map <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo separator="true">,</mo><msub><mi>m</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>m</mi><mn>2</mn></msub><mo stretchy="false">)</mo><mo>↦</mo><mo stretchy="false">(</mo><msub><mi>e</mi><mn>2</mn></msub><mo separator="true">,</mo><msub><mi>m</mi><mn>2</mn></msub><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(e_1,e_2,m_1,m_2)\mapsto(e_2,m_2)</annotation></semantics></math></span></span>.</p>
<p>This hints us that a probability distribution 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">\mathcal M</annotation></semantics></math></span></span> (which may be given by a state <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> of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi mathvariant="script">E</mi><mo separator="true">,</mo><mi mathvariant="script">M</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(\mathcal E,\mathcal M)</annotation></semantics></math></span></span>) can be viewed as a joint probability distribution of the two random variables 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">\mathcal M</annotation></semantics></math></span></span>: <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo separator="true">,</mo><msub><mi>m</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>m</mi><mn>2</mn></msub><mo stretchy="false">)</mo><mo>↦</mo><mo stretchy="false">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>m</mi><mn>1</mn></msub><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(e_1,e_2,m_1,m_2)\mapsto(e_1,m_1)</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 stretchy="false">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo separator="true">,</mo><msub><mi>m</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>m</mi><mn>2</mn></msub><mo stretchy="false">)</mo><mo>↦</mo><mo stretchy="false">(</mo><msub><mi>e</mi><mn>2</mn></msub><mo separator="true">,</mo><msub><mi>m</mi><mn>2</mn></msub><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(e_1,e_2,m_1,m_2)\mapsto(e_2,m_2)</annotation></semantics></math></span></span>. As we all know, a joint distribution encodes conditional distributions and marginal distributions. Therefore, given any state of a product thermal system, we can define its <dfn>conditional states</dfn> and <dfn>marginal states</dfn> of the subsystems. Conditional states are not very useful because they are not physically observed states of subsystems. The physically observed states of subsystems are marginal states, so marginal states are of special interest.</p>
<p class="no-indent">
<strong>Definition.</strong> Given a state <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> of the product thermal system <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi mathvariant="script">E</mi><mo separator="true">,</mo><mi mathvariant="script">M</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(\mathcal E,\mathcal M)</annotation></semantics></math></span></span> of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi mathvariant="script">E</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^{(1)},\mathcal M^{(1)}\right)</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><msup><mi mathvariant="script">E</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^{(2)},\mathcal M^{(2)}\right)</annotation></semantics></math></span></span>, its <dfn>marginal state</dfn> of the subsystem <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi mathvariant="script">E</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^{(1)},\mathcal M^{(1)}\right)</annotation></semantics></math></span></span> is a state <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>p</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">p^{(1)}</annotation></semantics></math></span></span> of the system
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi mathvariant="script">E</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^{(1)},\mathcal M^{(1)}\right)</annotation></semantics></math></span></span> defined by <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>p</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>m</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><msub><mo>∫</mo><mrow><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>2</mn></msub><mo separator="true">,</mo><msub><mi>m</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>∈</mo><msup><mi mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow></msub><mi>p</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo separator="true">,</mo><msub><mi>m</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>m</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msup><mi>μ</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>2</mn></msub><mo separator="true">,</mo><msub><mi>m</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">p^{(1)}\!\left(e_1,m_1\right)\coloneqq\int_{\left(e_2,m_2\right)\in\mathcal M^{(2)}}
p\!\left(e_1,e_2,m_1,m_2\right)\mathrm d\mu^{(2)}\!\left(e_2,m_2\right).</annotation></semantics></math></span></span></span>
</p>
<p>Physically, if a product thermal system is in equilibrium, then each of its subsystems is in equilibrium as well. Therefore, if <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>p</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">p^\circ</annotation></semantics></math></span></span> is an equilibrium state of the product thermal system, then the marginal states of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>p</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">p^\circ</annotation></semantics></math></span></span> are equilibrium states of the subsystems.</p>
<hr/>
<p>Now, we need to consider how to describe the thermodynamic contact between subsystems. In the simplest case, where there is no thermodynamic contact between subsystems, the composite system is just the product thermal system of the subsystems, and the dimension of its space of extensive quantities is the sum of the that of the subsystems’. If there is some thermal contact between subsystems, then the dimension of the space of extensive quantities of the composite system will be less than that of the product thermal system. For example, if the subsystems are allowed to exchange energy, then two original extensive quantities (the energy of the first subsystem and that of the second subsystem) will be replaced by a single extensive quantity (the total energy of the composite system). Such a reduction in the dimension of the space of extensive quantities is the same as contracting that we defined above. Therefore, we can define a thermally composite system as a contraction of the product thermal system. Denote the projection map of the contracting as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>π</mi><mo>:</mo><mi>W</mi><mo>→</mo><msup><mi>W</mi><mo>⊥</mo></msup><mo>:</mo><mo stretchy="false">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo stretchy="false">)</mo><mo>↦</mo><mi>e</mi></mrow><annotation encoding="application/x-tex">\pi:W\to W^\perp:(e_1,e_2)\mapsto e</annotation></semantics></math></span></span>. (From now on in this section, composite systems refer to thermally composite system. I will introduce non-thermally composite systems later (in <a href="/physics/2023/05/01/measure-ensemble-2.html">part 2</a>), which describe non-thermal contacts between subsystems and are more complicated.)</p>
<p>Besides being the contraction of the product thermal system, there is an additional requirement. Given the extensive quantities of the composite system and those of one of the subsystems, we should be able to deduce those of the other subsystem. For example, if the subsystems are allowed to exchange energy, then the total energy of the composite system minus the energy of one of the subsystems should be the energy of the other subsystem, which is uniquely determined (if this is an allowed energy). Mathematically, thie means that for any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>e</mi><mn>1</mn></msub><mo>∈</mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">e_1\in W^{(1)}</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>e</mi><mn>2</mn></msub><mo>∈</mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">e_2\in W^{(2)}</annotation></semantics></math></span></span>, the two maps <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><mo>⋅</mo><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\pi\!\left(e_1,\cdot\right)</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>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mo>⋅</mo><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\pi\!\left(\cdot,e_2\right)</annotation></semantics></math></span></span> are both injections.</p>
<p class="no-indent">
<strong>Definition.</strong> A <dfn>(thermally) composite thermal system</dfn> of two thermal systems is the contraction of their product thermal system corresponding to a contracting <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi>π</mi><mo separator="true">,</mo><msup><mi>λ</mi><mo>⊥</mo></msup><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(\pi,\lambda^\perp)</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>π</mi><mo>:</mo><mi>W</mi><mo>→</mo><msup><mi>W</mi><mo>⊥</mo></msup><mo>:</mo><mo stretchy="false">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo stretchy="false">)</mo><mo>↦</mo><mi>e</mi></mrow><annotation encoding="application/x-tex">\pi:W\to W^\perp:(e_1,e_2)\mapsto e</annotation></semantics></math></span></span> satisfies that for any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>e</mi><mn>1</mn></msub><mo>∈</mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">e_1\in W^{(1)}</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>e</mi><mn>2</mn></msub><mo>∈</mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">e_2\in W^{(2)}</annotation></semantics></math></span></span>, the two maps <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><mo>⋅</mo><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\pi\!\left(e_1,\cdot\right)</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>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mo>⋅</mo><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\pi\!\left(\cdot,e_2\right)</annotation></semantics></math></span></span> are both injections.
</p>
<p>We may define projection maps to get the extensive quantities of the subsystems from those of the composite system: <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>c</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>:</mo><mi>W</mi><mo>→</mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>:</mo><mo stretchy="false">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo stretchy="false">)</mo><mo>↦</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><mspace width="1em"/><msup><mi>c</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo>:</mo><mi>W</mi><mo>→</mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo>:</mo><mo stretchy="false">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo stretchy="false">)</mo><mo>↦</mo><msub><mi>e</mi><mn>2</mn></msub><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">c^{(1)}:W\to W^{(1)}:(e_1,e_2)\mapsto e_1,\quad
c^{(2)}:W\to W^{(2)}:(e_1,e_2)\mapsto e_2.</annotation></semantics></math></span></span></span> Then, for each <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>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">e\in W^\perp</annotation></semantics></math></span></span>, the two spaces
<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>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo><mi mathvariant="normal">≔</mi></mo><msup><mi>c</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msubsup><mi>W</mi><mi>e</mi><mo>∥</mo></msubsup><mo fence="true">)</mo></mrow><mo separator="true">,</mo><mspace width="1em"/><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup><mo><mi mathvariant="normal">≔</mi></mo><msup><mi>c</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msubsup><mi>W</mi><mi>e</mi><mo>∥</mo></msubsup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">W^{\parallel(1)}_e\coloneqq c^{(1)}\!\left(W_e^\parallel\right),\quad
W^{\parallel(2)}_e\coloneqq c^{(2)}\!\left(W_e^\parallel\right)</annotation></semantics></math></span></span></span> are respectively affine subspaces of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{(1)}</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>W</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{(2)}</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><mi>W</mi><mi>e</mi><mo>∥</mo></msubsup><mo><mi mathvariant="normal">≔</mi></mo><msup><mi>π</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">W_e^\parallel\coloneqq\pi^{-1}\!\left(e\right)</annotation></semantics></math></span></span>. The two affine subspaces are actually isomorphic to each other because of our additional requirement on the projection map <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">\pi</annotation></semantics></math></span></span>. Because <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><mo>⋅</mo><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\pi\!\left(e_1,\cdot\right)</annotation></semantics></math></span></span> is an injection, for any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>e</mi><mn>1</mn></msub><mo>∈</mo><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">e_1\in W^{\parallel(1)}_e</annotation></semantics></math></span></span> there is a unique <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>e</mi><mn>2</mn></msub><mo>∈</mo><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">e_2\in W^{\parallel(2)}_e</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><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>=</mo><mi>e</mi></mrow><annotation encoding="application/x-tex">\pi\!\left(e_1,e_2\right)=e</annotation></semantics></math></span></span>, and vice versa. This gives a correspondence between the two affine subspaces. In other words, for each <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>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">e\in W^\perp</annotation></semantics></math></span></span>, there is a unique bijection <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>ρ</mi><mi>e</mi></msub><mo>:</mo><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo>→</mo><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">\rho_e:W^{\parallel(1)}_e\to W^{\parallel(2)}_e</annotation></semantics></math></span></span> such that <span id="eq:eq-pi-and-rho-e" data-label="(8)"><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 mathvariant="normal">∀</mi><msub><mi>e</mi><mn>1</mn></msub><mo>∈</mo><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo>:</mo><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>=</mo><mi>e</mi><mo>⇔</mo><msub><mi>e</mi><mn>2</mn></msub><mo>=</mo><msub><mi>ρ</mi><mi>e</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\forall e_1\in W^{\parallel(1)}_e:
\pi\!\left(e_1,e_2\right)=e\Leftrightarrow e_2=\rho_e\!\left(e_1\right).</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>8</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(8)</annotation></semantics></math></span></span></span></span> </span></span> The bijection <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>ρ</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">\rho_e</annotation></semantics></math></span></span> is an affine isomorphism from <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(1)}_e</annotation></semantics></math></span></span> to
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(2)}_e</annotation></semantics></math></span></span>.</p>
<p>What is more, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>c</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">c^{(1)}</annotation></semantics></math></span></span> is an affine isomorphism from <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mo lspace="0em" rspace="0em">∥</mo></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel}_e</annotation></semantics></math></span></span> to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(1)}_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><msup><mi>c</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">c^{(2)}</annotation></semantics></math></span></span> is an affine isomorphism from <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mo lspace="0em" rspace="0em">∥</mo></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel}_e</annotation></semantics></math></span></span> to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(2)}_e</annotation></semantics></math></span></span>. The three affine spaces
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mo lspace="0em" rspace="0em">∥</mo></msubsup><mo separator="true">,</mo><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo separator="true">,</mo><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel}_e,W^{\parallel(1)}_e,W^{\parallel(2)}_e</annotation></semantics></math></span></span> are then mutually isomorphic.</p>
<p><em>Example.</em> Suppose we have two thermal systems, each of them have two extensive quantities called the energy and the number of particles. We write them as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msub><mi>U</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(U_1,N_1\right)</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><msub><mi>U</mi><mn>2</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(U_2,N_2\right)</annotation></semantics></math></span></span>. They are in thermal contact so that they can exchange energy but not particles. Then, the extensive quantities of the composite system may be written as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><mi>U</mi><mi mathvariant="normal">/</mi><mn>2</mn><mo separator="true">,</mo><mi>U</mi><mi mathvariant="normal">/</mi><mn>2</mn><mo separator="true">,</mo><msub><mi>N</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(U/2,U/2,N_1,N_2\right)</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>:</mo><mrow><mo fence="true">(</mo><msub><mi>U</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>U</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>↦</mo><mrow><mo fence="true">(</mo><mi>U</mi><mi mathvariant="normal">/</mi><mn>2</mn><mo separator="true">,</mo><mi>U</mi><mi mathvariant="normal">/</mi><mn>2</mn><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\pi:\left(U_1,U_2\right)\mapsto\left(U/2,U/2\right)</annotation></semantics></math></span></span> defined as
<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>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>U</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>U</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">(</mo><mfrac><mrow><msub><mi>U</mi><mn>1</mn></msub><mo>+</mo><msub><mi>U</mi><mn>2</mn></msub></mrow><mn>2</mn></mfrac><mo separator="true">,</mo><mfrac><mrow><msub><mi>U</mi><mn>1</mn></msub><mo>+</mo><msub><mi>U</mi><mn>2</mn></msub></mrow><mn>2</mn></mfrac><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\pi\!\left(U_1,U_2\right)\coloneqq\left(\frac{U_1+U_2}2,\frac{U_1+U_2}2\right).</annotation></semantics></math></span></span></span> The isomorphism
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>ρ</mi><mrow><mi>U</mi><mi mathvariant="normal">/</mi><mn>2</mn><mo separator="true">,</mo><mi>U</mi><mi mathvariant="normal">/</mi><mn>2</mn><mo separator="true">,</mo><msub><mi>N</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>2</mn></msub></mrow></msub></mrow><annotation encoding="application/x-tex">\rho_{U/2,U/2,N_1,N_2}</annotation></semantics></math></span></span> is 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><msub><mi>ρ</mi><mrow><mi>U</mi><mi mathvariant="normal">/</mi><mn>2</mn><mo separator="true">,</mo><mi>U</mi><mi mathvariant="normal">/</mi><mn>2</mn><mo separator="true">,</mo><msub><mi>N</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>2</mn></msub></mrow></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>U</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo>=</mo><mrow><mo fence="true">(</mo><mi>U</mi><mo>−</mo><msub><mi>U</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\rho_{U/2,U/2,N_1,N_2}\!\left(U_1,N_1\right)=\left(U-U_1,N_2\right).</annotation></semantics></math></span></span></span> The contracting is not unique. For example,
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mrow><mo fence="true">(</mo><msub><mi>U</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>U</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>↦</mo><mrow><mo fence="true">(</mo><mn>3</mn><mi>U</mi><mi mathvariant="normal">/</mi><mn>4</mn><mo separator="true">,</mo><mi>U</mi><mi mathvariant="normal">/</mi><mn>4</mn><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\left(U_1,U_2\right)\mapsto\left(3U/4,U/4\right)</annotation></semantics></math></span></span> is another valid projection for constructing the composite thermal system, and it has exactly the same physical meaning as the one I constructed above.</p>
<hr/>
<p>The isomorphism from <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mo lspace="0em" rspace="0em">∥</mo></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel}_e</annotation></semantics></math></span></span> can push forward the measure <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>λ</mi><mi>e</mi><mo>∥</mo></msubsup></mrow><annotation encoding="application/x-tex">\lambda^\parallel_e</annotation></semantics></math></span></span> on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>E</mi><mi>e</mi><mo>∥</mo></msubsup></mrow><annotation encoding="application/x-tex">E^\parallel_e</annotation></semantics></math></span></span> to a new measure <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>λ</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">\lambda^{\parallel(1)}_e</annotation></semantics></math></span></span> on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>E</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">E^{\parallel(1)}_e</annotation></semantics></math></span></span>. Then, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo separator="true">,</mo><msubsup><mi>λ</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(W^{\parallel(1)}_e,\lambda^{\parallel(1)}_e\right)</annotation></semantics></math></span></span> is a slicing of
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi>E</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi>λ</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(W^{(1)},E^{(1)},\lambda^{(1)}\right)</annotation></semantics></math></span></span>, and we can get a slice <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msubsup><mi mathvariant="script">E</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo separator="true">,</mo><msubsup><mi mathvariant="script">M</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^{\parallel(1)}_e,\mathcal M^{\parallel(1)}_e\right)</annotation></semantics></math></span></span> of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi mathvariant="script">E</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^{(1)},\mathcal M^{(1)}\right)</annotation></semantics></math></span></span> out of this slicing. I would like to call this slice the <dfn>compositing slice</dfn> of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi mathvariant="script">E</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^{(1)},\mathcal M^{(1)}\right)</annotation></semantics></math></span></span> at
<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>. Similarly, we define compositing slices of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi mathvariant="script">E</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^{(2)},\mathcal M^{(2)}\right)</annotation></semantics></math></span></span>, 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 mathvariant="script">E</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup><mo separator="true">,</mo><msubsup><mi mathvariant="script">M</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^{\parallel(2)}_e,\mathcal M^{\parallel(2)}_e\right)</annotation></semantics></math></span></span>.</p>
<p>Similarly to how we can define marginal states of subsystems of a product thermal system, we can define marginal states of the compositing slices given a state of a contractive slice of the composite system. However, this time, there is a key difference: the subsystems (compositing slices) have isomorphic and completely dependent (deterministic) extensive quantities instead of having completely independent extensive quantities. Taken this into account, we can define marginal states of compositing slices as follows: <span id="eq:eq-slice-marginal-state" data-label="(9)"><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><msup><mi>p</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>m</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><msub><mo>∫</mo><mrow><msub><mi>m</mi><mn>2</mn></msub><mo>∈</mo><msubsup><mi>M</mi><mrow><msub><mi>ρ</mi><mi>e</mi></msub><mo stretchy="false">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo stretchy="false">)</mo></mrow><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow></msub><msup><mi>p</mi><mo>∥</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>ρ</mi><mi>e</mi></msub><mo stretchy="false">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo stretchy="false">)</mo><mo separator="true">,</mo><msub><mi>m</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>m</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msubsup><mi>μ</mi><mrow><msub><mi>ρ</mi><mi>e</mi></msub><mo stretchy="false">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo stretchy="false">)</mo></mrow><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>m</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">p^{\parallel(1)}\!\left(e_1,m_1\right)
\coloneqq\int_{m_2\in M^{(2)}_{\rho_e(e_1)}}p^\parallel\!\left(e_1,\rho_e(e_1),m_1,m_2\right)
\mathrm d\mu^{(2)}_{\rho_e(e_1)}\!\left(m_2\right),</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>9</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(9)</annotation></semantics></math></span></span></span></span> </span></span> where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>p</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">p^{\parallel(1)}</annotation></semantics></math></span></span> is a state of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msubsup><mi mathvariant="script">E</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo separator="true">,</mo><msubsup><mi mathvariant="script">M</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^{\parallel(1)}_e,\mathcal M^{\parallel(1)}_e\right)</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>p</mi><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">p^\parallel</annotation></semantics></math></span></span> is a state of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msubsup><mi mathvariant="script">E</mi><mi>e</mi><mo lspace="0em" rspace="0em">∥</mo></msubsup><mo separator="true">,</mo><msubsup><mi mathvariant="script">M</mi><mi>e</mi><mo lspace="0em" rspace="0em">∥</mo></msubsup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^{\parallel}_e,\mathcal M^{\parallel}_e\right)</annotation></semantics></math></span></span> (a contractive slice of the composite system).</p>
<hr/>
<p>There is an additional property that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>ρ</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">\rho_e</annotation></semantics></math></span></span> has.</p>
<p>As we all know, an affine map is a linear map combined with a translation: <span id="eq:eq-rho-e-and-vec-rho" data-label="(10)"><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>ρ</mi><mi>e</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo>=</mo><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo>−</mo><msub><mi>e</mi><mn>0</mn></msub><mo fence="true">)</mo></mrow><mo>+</mo><msub><mi>ρ</mi><mi>e</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>0</mn></msub><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\rho_e\!\left(e_1\right)=\vec\rho\!\left(e_1-e_0\right)+\rho_e\!\left(e_0\right),</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>10</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(10)</annotation></semantics></math></span></span></span></span> </span></span> where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>e</mi><mn>0</mn></msub></mrow><annotation encoding="application/x-tex">e_0</annotation></semantics></math></span></span> is a fixed point in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(1)}_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><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mo>:</mo><msubsup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo>→</mo><msubsup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">\vec\rho:\vec W^{\parallel(1)}_e\to \vec W^{\parallel(2)}_e</annotation></semantics></math></span></span> is a linear map that is independent of the choice of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>e</mi><mn>0</mn></msub></mrow><annotation encoding="application/x-tex">e_0</annotation></semantics></math></span></span>. Because <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>ρ</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">\rho_e</annotation></semantics></math></span></span> is a bijection, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec\rho</annotation></semantics></math></span></span> is also a bijection, and is thus a linear isomorphism from <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(1)}_e</annotation></semantics></math></span></span> to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(2)}_e</annotation></semantics></math></span></span>.</p>
<p>Because different slices <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(1)}_e</annotation></semantics></math></span></span> with different <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> are parallel to each other, actually <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(1)}_e</annotation></semantics></math></span></span> is the same vector subspace of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{(1)}</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>e</mi><mo>∈</mo><msup><mi>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">e\in W^\perp</annotation></semantics></math></span></span>. We can write it as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(1)}</annotation></semantics></math></span></span>. Similarly, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(2)}_e</annotation></semantics></math></span></span> is the same vector subspace <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(2)}</annotation></semantics></math></span></span> of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{(2)}</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>e</mi><mo>∈</mo><msup><mi>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">e\in W^\perp</annotation></semantics></math></span></span>. Therefore, we can say <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec\rho</annotation></semantics></math></span></span> is a linear isomorphism from <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(1)}</annotation></semantics></math></span></span> to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(2)}</annotation></semantics></math></span></span>.</p>
<p>Then, here is the interesting claim:</p>
<p class="no-indent">
<strong>Theorem.</strong> The linear map <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec\rho</annotation></semantics></math></span></span> defined above is independent of the choice 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>.
</p>
<details>
<summary>
Proof
</summary>
<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><mi>π</mi></mrow><annotation encoding="application/x-tex">\pi</annotation></semantics></math></span></span> is an affine map, 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>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>=</mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo>−</mo><msub><mi>e</mi><mn>0</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo>−</mo><msub><mi>ρ</mi><mi>e</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>0</mn></msub><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo>+</mo><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>0</mn></msub><mo separator="true">,</mo><msub><mi>ρ</mi><mi>e</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>0</mn></msub><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\pi\!\left(e_1,e_2\right)
=\vec\pi\!\left(e_1-e_0,e_2-\rho_e\!\left(e_0\right)\right)+\pi\!\left(e_0,\rho_e\!\left(e_0\right)\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>e</mi><mo>∈</mo><msup><mi>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">e\in W^\perp</annotation></semantics></math></span></span> is fixed, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>e</mi><mn>0</mn></msub><mo>∈</mo><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">e_0\in W^{\parallel(1)}_e</annotation></semantics></math></span></span> is also fixed, and
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mo>:</mo><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>→</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">\vec\pi:\vec W\to\vec W^\perp</annotation></semantics></math></span></span> is a linear map that is independent of the choice 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><msub><mi>e</mi><mn>0</mn></msub></mrow><annotation encoding="application/x-tex">e_0</annotation></semantics></math></span></span>.
</p>
<p>Let <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>e</mi><mn>2</mn></msub><mo><mi mathvariant="normal">≔</mi></mo><msub><mi>ρ</mi><mi>e</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">e_2\coloneqq\rho_e\!\left(e_1\right)</annotation></semantics></math></span></span> in the equation above, 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>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>ρ</mi><mi>e</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo>=</mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo>−</mo><msub><mi>e</mi><mn>0</mn></msub><mo separator="true">,</mo><msub><mi>ρ</mi><mi>e</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo>−</mo><msub><mi>ρ</mi><mi>e</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>0</mn></msub><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo>+</mo><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>0</mn></msub><mo separator="true">,</mo><msub><mi>ρ</mi><mi>e</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>0</mn></msub><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\pi\!\left(e_1,\rho_e\!\left(e_1\right)\right)
=\vec\pi\!\left(e_1-e_0,\rho_e\!\left(e_1\right)-\rho_e\!\left(e_0\right)\right)
+\pi\!\left(e_0,\rho_e\!\left(e_0\right)\right).</annotation></semantics></math></span></span></span> According to Equation <a href="#eq:eq-pi-and-rho-e">8</a> and <a href="#eq:eq-rho-e-and-vec-rho">10</a>, 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>e</mi><mo>=</mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo>−</mo><msub><mi>e</mi><mn>0</mn></msub><mo separator="true">,</mo><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo>−</mo><msub><mi>e</mi><mn>0</mn></msub><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo>+</mo><mi>e</mi><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">e=\vec\pi\!\left(e_1-e_0,\vec\rho\!\left(e_1-e_0\right)\right)+e.</annotation></semantics></math></span></span></span> In other words, <span id="eq:eq-pi-s1-rho-s1-0" data-label="(11)"><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><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>s</mi><mn>1</mn></msub><mo separator="true">,</mo><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>s</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo>=</mo><mn>0</mn><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\vec\pi\!\left(s_1,\vec\rho\!\left(s_1\right)\right)=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>11</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(11)</annotation></semantics></math></span></span></span></span> </span></span> where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>s</mi><mn>1</mn></msub><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">s_1\in\vec W^{\parallel(1)}</annotation></semantics></math></span></span> is an arbitrary vector.</p>
<p>Prove by contradition. Assume that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec\rho</annotation></semantics></math></span></span> is dependent on the choice 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>, then there exists two choices 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> such that we have two different <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec\rho</annotation></semantics></math></span></span>’s, denoted as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec\rho</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><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup></mrow><annotation encoding="application/x-tex">\vec\rho'</annotation></semantics></math></span></span>. Because they are different maps, there exists an <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>s</mi><mn>1</mn></msub><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">s_1\in\vec W^{\parallel(1)}</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><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mo stretchy="false">(</mo><msub><mi>s</mi><mn>1</mn></msub><mo stretchy="false">)</mo><mo mathvariant="normal">≠</mo><msup><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo stretchy="false">(</mo><msub><mi>s</mi><mn>1</mn></msub><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\vec\rho(s_1)\ne\vec\rho'(s_1)</annotation></semantics></math></span></span>.</p>
<p>On the other hand, 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>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>s</mi><mn>1</mn></msub><mo separator="true">,</mo><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>s</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo>=</mo><mn>0</mn><mo separator="true">,</mo><mspace width="1em"/><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>s</mi><mn>1</mn></msub><mo separator="true">,</mo><msup><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>s</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo>=</mo><mn>0.</mn></mrow><annotation encoding="application/x-tex">\vec\pi\!\left(s_1,\vec\rho\!\left(s_1\right)\right)=0,\quad
\vec\pi\!\left(s_1,\vec\rho'\!\left(s_1\right)\right)=0.</annotation></semantics></math></span></span></span> Subtract the two equations, and because of the linearity of <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>, 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>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mn>0</mn><mo separator="true">,</mo><mi>δ</mi><mo fence="true">)</mo></mrow><mo>=</mo><mn>0</mn><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\vec\pi\!\left(0,\delta\right)=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><mi>δ</mi><mo><mi mathvariant="normal">≔</mi></mo><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mo stretchy="false">(</mo><msub><mi>s</mi><mn>1</mn></msub><mo stretchy="false">)</mo><mo>−</mo><msup><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo stretchy="false">(</mo><msub><mi>s</mi><mn>1</mn></msub><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\delta\coloneqq\vec\rho(s_1)-\vec\rho'(s_1)</annotation></semantics></math></span></span> is a nonzero vector. 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><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo>+</mo><mi>δ</mi><mo fence="true">)</mo></mrow><mo>−</mo><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>=</mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mo stretchy="false">(</mo><mn>0</mn><mo separator="true">,</mo><mi>δ</mi><mo stretchy="false">)</mo><mo>=</mo><mn>0</mn><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\pi\!\left(e_1,e_2+\delta\right)-\pi\!\left(e_1,e_2\right)=\vec\pi(0,\delta)=0,</annotation></semantics></math></span></span></span> which contradicts with the requirement that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><mo>⋅</mo><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\pi\!\left(e_1,\cdot\right)</annotation></semantics></math></span></span> is injective. <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>
</details>
<p>Besides, because <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec\rho</annotation></semantics></math></span></span> is a linear isomorphism from <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(1)}</annotation></semantics></math></span></span> to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(2)}</annotation></semantics></math></span></span>, the map <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>i</mi><mn>1</mn></msub><mo>↦</mo><msub><mi>i</mi><mn>1</mn></msub><mo>∘</mo><msup><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mrow><mo>−</mo><mn>1</mn></mrow></msup></mrow><annotation encoding="application/x-tex">i_1\mapsto i_1\circ\vec\rho^{-1}</annotation></semantics></math></span></span> is a linear isomorphism from <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo><mo mathvariant="normal">′</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(1)\prime}</annotation></semantics></math></span></span> to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo><mo mathvariant="normal">′</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(2)\prime}</annotation></semantics></math></span></span>. The inverse of this isomorphism is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>i</mi><mn>2</mn></msub><mo>↦</mo><msub><mi>i</mi><mn>2</mn></msub><mo>∘</mo><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">i_2\mapsto i_2\circ\vec\rho</annotation></semantics></math></span></span>.</p>
<p>As we know, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>i</mi><mn>1</mn></msub></mrow><annotation encoding="application/x-tex">i_1</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>i</mi><mn>2</mn></msub></mrow><annotation encoding="application/x-tex">i_2</annotation></semantics></math></span></span> are actually intensive quantities. The physical meaning of them being each other’s image/preimage under this isomorphism is that, if the two subsystems in thermal contact have intensive quantities <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo>−</mo><msub><mi>i</mi><mn>1</mn></msub></mrow><annotation encoding="application/x-tex">-i_1</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>i</mi><mn>2</mn></msub></mrow><annotation encoding="application/x-tex">i_2</annotation></semantics></math></span></span> respectively, then they are in equilibrium with each other. Therefore, I would like to call this pair of intensive quantities to be <dfn>anticonsistent</dfn>.</p>
<hr/>
<p>Since we have a family of slices called the compositing slices of a subsystem, can we make them the contractive slices of some contracting of the subsystem? Well, it depends. The first difficulty is that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(1)}_e</annotation></semantics></math></span></span> may be the same subspace of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{(1)}</annotation></semantics></math></span></span> for different <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>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">e\in W^\perp</annotation></semantics></math></span></span> and thus make <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>E</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">E^{\parallel(1)}_e</annotation></semantics></math></span></span> equipped with possibly different measures.</p>
<p>Anyway, ignore this at this stage. Let me first construct a subspace <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\perp(1)}</annotation></semantics></math></span></span> and a projection <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>π</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>:</mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>→</mo><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\pi^{(1)}:W^{(1)}\to W^{\perp(1)}</annotation></semantics></math></span></span> so that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(1)}_e</annotation></semantics></math></span></span> are preimages of points in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\perp(1)}</annotation></semantics></math></span></span>, and then see what will happen.</p>
<p>Since any vector subspace has a complement, we can pick a subspace of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{(1)}</annotation></semantics></math></span></span> that is a complement of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(1)}</annotation></semantics></math></span></span> and call it <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\perp(1)}</annotation></semantics></math></span></span>. Any vector in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{(1)}</annotation></semantics></math></span></span> can be uniquely decomposed into the sum of a vector in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\perp(1)}</annotation></semantics></math></span></span> and a vector in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(1)}</annotation></semantics></math></span></span>.</p>
<p>Then, we pick some fixed <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>e</mi><mn>1</mn></msub><mo>∈</mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">e_1\in W^{(1)}</annotation></semantics></math></span></span>, and it can be used to generate an affine subspace <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo><mi mathvariant="normal">≔</mi></mo><msub><mi>e</mi><mn>1</mn></msub><mo>+</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\perp(1)}\coloneqq e_1+\vec W^{\perp(1)}</annotation></semantics></math></span></span> of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{(1)}</annotation></semantics></math></span></span>. Then, each point in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{(1)}</annotation></semantics></math></span></span> can be uniquely decomposed into the sum of a point in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\perp(1)}</annotation></semantics></math></span></span> and a vector in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(1)}</annotation></semantics></math></span></span>. Such unique decompositions can be encoded into a projection map <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>π</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>:</mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>→</mo><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\pi^{(1)}:W^{(1)}\to W^{\perp(1)}</annotation></semantics></math></span></span>.</p>
<p>It seems that we are now halfway to the construction of our contracting. However, before we proceed, I would like to prove a property of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\perp(1)}</annotation></semantics></math></span></span> we construct:</p>
<p class="no-indent">
<strong>Theorem.</strong> The map <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">\pi</annotation></semantics></math></span></span> is an affine isomorphism from the product affine space <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>×</mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\perp(1)}\times W^{(2)}</annotation></semantics></math></span></span> to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">W^\perp</annotation></semantics></math></span></span>.
</p>
<details>
<summary>
Proof
</summary>
<p class="no-indent">
<em>Proof.</em> The map <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">\pi</annotation></semantics></math></span></span> is itself affine, so we just need to prove that it is injective and surjective.
</p>
<p>To prove it is injective, suppose that we have two points <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(e_1,e_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><mo stretchy="false">(</mo><msubsup><mi>e</mi><mn>1</mn><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mo separator="true">,</mo><msubsup><mi>e</mi><mn>2</mn><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(e_1',e_2')</annotation></semantics></math></span></span> in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>×</mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\perp(1)}\times W^{(2)}</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><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>=</mo><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msubsup><mi>e</mi><mn>1</mn><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mo separator="true">,</mo><msubsup><mi>e</mi><mn>2</mn><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mo fence="true">)</mo></mrow><mo>=</mo><mo>:</mo><mi>e</mi><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\pi\!\left(e_1,e_2\right)=\pi\!\left(e_1',e_2'\right)=:e.</annotation></semantics></math></span></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><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo separator="true">,</mo><mrow><mo fence="true">(</mo><msubsup><mi>e</mi><mn>1</mn><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mo separator="true">,</mo><msubsup><mi>e</mi><mn>2</mn><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mo fence="true">)</mo></mrow><mo>∈</mo><msubsup><mi>W</mi><mi>e</mi><mo>∥</mo></msubsup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\left(e_1,e_2\right),\left(e_1',e_2'\right)\in W^\parallel_e.</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><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msubsup><mi>e</mi><mn>1</mn><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mo>∈</mo><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">e_1,e_1'\in W^{\parallel(1)}_e</annotation></semantics></math></span></span>, so
<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>e</mi><mn>1</mn></msub><mo>−</mo><msubsup><mi>e</mi><mn>1</mn><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">e_1-e_1'\in\vec W^{\parallel(1)}.</annotation></semantics></math></span></span></span> On the other hand, because <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msubsup><mi>e</mi><mn>1</mn><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mo>∈</mo><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">e_1,e_1'\in W^{\perp(1)}</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>e</mi><mn>1</mn></msub><mo>−</mo><msubsup><mi>e</mi><mn>1</mn><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">e_1-e_1'\in\vec W^{\perp(1)}.</annotation></semantics></math></span></span></span> Because <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\perp(1)}</annotation></semantics></math></span></span> is a complement of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(1)}</annotation></semantics></math></span></span>, the only possible case is that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>e</mi><mn>1</mn></msub><mo>=</mo><msubsup><mi>e</mi><mn>1</mn><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup></mrow><annotation encoding="application/x-tex">e_1=e_1'</annotation></semantics></math></span></span>. Then, due to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><mo>⋅</mo><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\pi\!\left(e_1,\cdot\right)</annotation></semantics></math></span></span> being injective, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>e</mi><mn>2</mn></msub><mo>=</mo><msubsup><mi>e</mi><mn>2</mn><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup></mrow><annotation encoding="application/x-tex">e_2=e_2'</annotation></semantics></math></span></span>. Therefore,
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>=</mo><mrow><mo fence="true">(</mo><msubsup><mi>e</mi><mn>1</mn><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mo separator="true">,</mo><msubsup><mi>e</mi><mn>2</mn><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\left(e_1,e_2\right)=\left(e_1',e_2'\right)</annotation></semantics></math></span></span>. Therefore, <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">\pi</annotation></semantics></math></span></span> is injective if its domain is restricted to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>×</mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\perp(1)}\times W^{(2)}</annotation></semantics></math></span></span>.</p>
<p>To prove it is surjective, suppose <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>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">e\in W^\perp</annotation></semantics></math></span></span>. 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">\pi</annotation></semantics></math></span></span> is surjective from <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> to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">W^\perp</annotation></semantics></math></span></span>, there exists some <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mrow><mo fence="true">(</mo><msubsup><mi>e</mi><mn>1</mn><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mo separator="true">,</mo><msubsup><mi>e</mi><mn>2</mn><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mo fence="true">)</mo></mrow><mo>∈</mo><mi>W</mi></mrow><annotation encoding="application/x-tex">\left(e_1',e_2'\right)\in W</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><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msubsup><mi>e</mi><mn>1</mn><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mo separator="true">,</mo><msubsup><mi>e</mi><mn>2</mn><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mo fence="true">)</mo></mrow><mo>=</mo><mi>e</mi><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\pi\!\left(e_1',e_2'\right)=e.</annotation></semantics></math></span></span></span> According to Equation <a href="#eq:eq-pi-and-rho-e">8</a>, this is equivalently
<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>e</mi><mn>2</mn><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mo>=</mo><msub><mi>ρ</mi><mi>e</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msubsup><mi>e</mi><mn>1</mn><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">e_2'=\rho_e\!\left(e_1'\right).</annotation></semantics></math></span></span></span> We can uniquely decompose <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>e</mi><mn>1</mn><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mo>∈</mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">e_1'\in W^{(1)}</annotation></semantics></math></span></span> into the sum of a point <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>e</mi><mn>1</mn></msub><mo>∈</mo><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">e_1\in W^{\perp(1)}</annotation></semantics></math></span></span> and a vector <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>δ</mi><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\delta\in\vec W^{\parallel(1)}</annotation></semantics></math></span></span>. Then, according to Equation <a href="#eq:eq-rho-e-and-vec-rho">10</a>, 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><mi>e</mi><mn>2</mn><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mo>=</mo><msub><mi>ρ</mi><mi>e</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo>+</mo><mi>δ</mi><mo fence="true">)</mo></mrow><mo>=</mo><msub><mi>ρ</mi><mi>e</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo>+</mo><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>δ</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">e_2'=\rho_e\!\left(e_1+\delta\right)=\rho_e\!\left(e_1\right)+\vec\rho\!\left(\delta\right).</annotation></semantics></math></span></span></span> Thus <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>e</mi><mn>2</mn></msub><mo><mi mathvariant="normal">≔</mi></mo><msubsup><mi>e</mi><mn>2</mn><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mo>−</mo><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>δ</mi><mo fence="true">)</mo></mrow><mo>=</mo><msub><mi>ρ</mi><mi>e</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">e_2\coloneqq e_2'-\vec\rho\!\left(\delta\right)=\rho_e\!\left(e_1\right)</annotation></semantics></math></span></span>. According to Equation <a href="#eq:eq-pi-and-rho-e">8</a>, this is equivalently <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>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>=</mo><mi>e</mi><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\pi\!\left(e_1,e_2\right)=e.</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><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>∈</mo><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>×</mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\left(e_1,e_2\right)\in W^{\perp(1)}\times W^{(2)}</annotation></semantics></math></span></span> is the desired point in
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>×</mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\perp(1)}\times W^{(2)}</annotation></semantics></math></span></span> that is mapped to <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> under <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">\pi</annotation></semantics></math></span></span>. Therefore, <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">\pi</annotation></semantics></math></span></span> is surjective if its domain is restricted to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>×</mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\perp(1)}\times W^{(2)}</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>
</details>
<p>Then, it seems that if we need a measure on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>E</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">E^{\perp(1)}</annotation></semantics></math></span></span> that is consistent with our theory, the product measure of it and that on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>E</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">E^{(2)}</annotation></semantics></math></span></span> should be equal to that on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>E</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">E^\perp</annotation></semantics></math></span></span>. However, it is not always possible to find such a measure. This is our second difficulty.</p>
<p>Therefore, in order to construct a contracting, we need to following assumptions:</p>
<ul>
<li>For different <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>E</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">e\in E^\perp</annotation></semantics></math></span></span>, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>λ</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">\lambda^{\parallel(1)}_e</annotation></semantics></math></span></span> is the same measure whenever <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(1)}_e</annotation></semantics></math></span></span> is the same subspace.</li>
<li>There exists a measure <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>λ</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\lambda^{\perp(1)}</annotation></semantics></math></span></span> on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>E</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">E^{\perp(1)}</annotation></semantics></math></span></span> so that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>λ</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">\lambda^\perp</annotation></semantics></math></span></span> is the pushforward of the product measure of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>λ</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\lambda^{\perp(1)}</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>λ</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\lambda^{(2)}</annotation></semantics></math></span></span> under <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">\pi</annotation></semantics></math></span></span>.</li>
</ul>
<p>Given those assumptions, if we define <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>λ</mi><msub><mi>e</mi><mn>1</mn></msub><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo><mo mathvariant="normal">′</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">\lambda^{\parallel(1)\prime}_{e_1}</annotation></semantics></math></span></span> to be the measures from the disintegration of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>λ</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\lambda^{(1)}</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><msup><mi>π</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\pi^{(1)}</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>λ</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\lambda^{\perp(1)}</annotation></semantics></math></span></span> (just the way we constructed the measures in constructive slicings), then we can verify that they are actually the same as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>λ</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">\lambda^{\parallel(1)}_e</annotation></semantics></math></span></span> defined before, for any <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> in the image of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><mo>⋅</mo><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\pi\!\left(e_1,\cdot\right)</annotation></semantics></math></span></span>. You can verify this easily by the following check (not a rigorous proof), where <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">\otimes</annotation></semantics></math></span></span> denotes product measures or integration: <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>λ</mi><mo>=</mo><msup><mi>λ</mi><mo lspace="0em" rspace="0em">⊥</mo></msup><mo>⊗</mo><mrow><mo fence="true">{</mo><msubsup><mi>λ</mi><mi>e</mi><mo>∥</mo></msubsup><mo fence="true">}</mo></mrow><mo>=</mo><msup><mi>λ</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>⊗</mo><msup><mi>λ</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo>⊗</mo><mrow><mo fence="true">{</mo><msubsup><mi>λ</mi><mi>e</mi><mo>∥</mo></msubsup><mo fence="true">}</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\lambda=\lambda^{\perp}\otimes\left\{\lambda^\parallel_e\right\}
=\lambda^{\perp(1)}\otimes\lambda^{(2)}\otimes\left\{\lambda^\parallel_e\right\}.</annotation></semantics></math></span></span></span> On the other hand, <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>λ</mi><mo>=</mo><msup><mi>λ</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>⊗</mo><msup><mi>λ</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo>=</mo><msup><mi>λ</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>⊗</mo><mrow><mo fence="true">{</mo><msubsup><mi>λ</mi><msub><mi>e</mi><mn>1</mn></msub><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo><mo mathvariant="normal">′</mo></mrow></msubsup><mo fence="true">}</mo></mrow><mo>⊗</mo><msup><mi>λ</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\lambda=\lambda^{(1)}\otimes\lambda^{(2)}
=\lambda^{\perp(1)}\otimes\left\{\lambda^{\parallel(1)\prime}_{e_1}\right\}\otimes\lambda^{(2)}.</annotation></semantics></math></span></span></span> Comparing them, 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><mrow><mo fence="true">{</mo><msubsup><mi>λ</mi><msub><mi>e</mi><mn>1</mn></msub><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo><mo mathvariant="normal">′</mo></mrow></msubsup><mo fence="true">}</mo></mrow><mo>=</mo><mrow><mo fence="true">{</mo><msubsup><mi>λ</mi><mi>e</mi><mo>∥</mo></msubsup><mo fence="true">}</mo></mrow><mo>=</mo><mrow><mo fence="true">{</mo><msubsup><mi>λ</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo fence="true">}</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\left\{\lambda^{\parallel(1)\prime}_{e_1}\right\}=\left\{\lambda^\parallel_e\right\}
=\left\{\lambda^{\parallel(1)}_e\right\}.</annotation></semantics></math></span></span></span> An explicit verification is more tedious and is omitted here.</p>
<p>Those assumptions are very strong, so we do not want to assume them. Without those assumptions, we still have a well-constructed <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\perp(1)}</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>π</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\pi^{(1)}</annotation></semantics></math></span></span> so that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(1)}_e</annotation></semantics></math></span></span> are preimages of points in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\perp(1)}</annotation></semantics></math></span></span> under <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">\pi</annotation></semantics></math></span></span>. Then, we can use similar tricks as Equation <a href="#eq:eq-linear-op-on-affine">7</a> to define the action of any continuous linear functional <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>i</mi><mn>1</mn></msub><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo><mo mathvariant="normal">′</mo></mrow></msup></mrow><annotation encoding="application/x-tex">i_1\in\vec W^{\parallel(1)\prime}</annotation></semantics></math></span></span> on a point <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>e</mi><mn>1</mn></msub><mo>∈</mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">e_1\in W^{(1)}</annotation></semantics></math></span></span> as <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>i</mi><mn>1</mn></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><msub><mi>i</mi><mn>1</mn></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo>−</mo><msup><mi>π</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">i_1\!\left(e_1\right)\coloneqq i_1\!\left(e_1-\pi^{(1)}\!\left(e_1\right)\right).</annotation></semantics></math></span></span></span></p>
<p>We can also do the same thing on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{(2)}</annotation></semantics></math></span></span>. Then, an interesting thing to notice is that if we have <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>e</mi><mn>1</mn></msub><mo>∈</mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">e_1\in W^{(1)}</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>e</mi><mn>2</mn></msub><mo>∈</mo><msup><mi>W</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">e_2\in W^{(2)}</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><mi>e</mi><mo><mi mathvariant="normal">≔</mi></mo><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>=</mo><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>π</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo separator="true">,</mo><msup><mi>π</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">e\coloneqq\pi\!\left(e_1,e_2\right)
=\pi\!\left(\pi^{(1)}\!\left(e_1\right),\pi^{(2)}\!\left(e_2\right)\right),</annotation></semantics></math></span></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><msub><mi>i</mi><mn>1</mn></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo>=</mo><msub><mi>i</mi><mn>2</mn></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">i_1\!\left(e_1\right)=i_2\!\left(e_2\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><msub><mi>i</mi><mn>1</mn></msub><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo><mo mathvariant="normal">′</mo></mrow></msup></mrow><annotation encoding="application/x-tex">i_1\in\vec W^{\parallel(1)\prime}</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>i</mi><mn>2</mn></msub><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo><mo mathvariant="normal">′</mo></mrow></msup></mrow><annotation encoding="application/x-tex">i_2\in\vec W^{\parallel(2)\prime}</annotation></semantics></math></span></span> are anticonsistent to each other.</p>
<p><em>Example.</em> In the example of two thermal systems that can exchange energy but not number of particles, we may choose <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>π</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>U</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">(</mo><mn>0</mn><mo separator="true">,</mo><msub><mi>N</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo separator="true">,</mo><mspace width="1em"/><msup><mi>π</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>U</mi><mn>2</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">(</mo><mn>0</mn><mo separator="true">,</mo><msub><mi>N</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\pi^{(1)}\!\left(U_1,N_1\right)\coloneqq\left(0,N_1\right),\quad
\pi^{(2)}\!\left(U_2,N_2\right)\coloneqq\left(0,N_2\right).</annotation></semantics></math></span></span></span> Such projections are not unique, but this is the simplest one and also the most natural one considering their physical meanings.</p>
<hr/>
<p>We have newly defined some vector spaces. There are interesting relations between them:</p>
<p class="no-indent">
<strong>Theorem.</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><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⊥</mo><mo>∥</mo></mrow></msup><mo><mi mathvariant="normal">≔</mi></mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>+</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><mo>=</mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><mo>=</mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\vec W^{\perp\parallel}\coloneqq\vec\pi\!\left(\vec W^{\parallel(1)}+\vec W^{\parallel(2)}\right)
=\vec\pi\!\left(\vec W^{\parallel(1)}\right)=\vec\pi\!\left(\vec W^{\parallel(2)}\right).</annotation></semantics></math></span></span></span>
</p>
<details>
<summary>
Proof
</summary>
<p class="no-indent">
<em>Proof.</em> Obviously <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><mo>⊆</mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>×</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\vec\pi\!\left(\vec W^{\parallel(2)}\right)\subseteq
\vec\pi\!\left(\vec W^{\parallel(1)}\times\vec W^{\parallel(2)}\right)</annotation></semantics></math></span></span>, so we just need to prove that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>×</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><mo>⊆</mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\vec\pi\!\left(\vec W^{\parallel(1)}\times\vec W^{\parallel(2)}\right)
\subseteq\vec\pi\!\left(\vec W^{\parallel(2)}\right)</annotation></semantics></math></span></span>. To prove this, we just need to prove that for any <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>s</mi><mo><mi mathvariant="normal">≔</mi></mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>s</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>s</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>∈</mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>×</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">s\coloneqq\vec\pi\!\left(s_1,s_2\right)\in\vec\pi\!\left(\vec W^{\parallel(1)}\times\vec W^{\parallel(2)}\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><msub><mi>s</mi><mn>1</mn></msub><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">s_1\in\vec W^{\parallel(1)}</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>s</mi><mn>2</mn></msub><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">s_2\in\vec W^{\parallel(2)}</annotation></semantics></math></span></span>, we have <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>s</mi><mo>∈</mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">s\in\vec\pi\!\left(\vec W^{\parallel(2)}\right)</annotation></semantics></math></span></span>. To prove this, subtract Equation <a href="#eq:eq-pi-s1-rho-s1-0">11</a> from the definition of <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>, 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>s</mi><mo>=</mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mn>0</mn><mo separator="true">,</mo><msub><mi>s</mi><mn>2</mn></msub><mo>−</mo><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>s</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo>∈</mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">s=\vec\pi\!\left(0,s_2-\vec\rho\!\left(s_1\right)\right)\in\vec\pi\!\left(\vec W^{\parallel(2)}\right).</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><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>×</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><mo>⊆</mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\vec\pi\!\left(\vec W^{\parallel(1)}\times\vec W^{\parallel(2)}\right)
\subseteq\vec\pi\!\left(\vec W^{\parallel(2)}\right)</annotation></semantics></math></span></span>. Similarly, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>×</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><mo>⊆</mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\vec\pi\!\left(\vec W^{\parallel(1)}\times\vec W^{\parallel(2)}\right)
\subseteq\vec\pi\!\left(\vec W^{\parallel(1)}\right)</annotation></semantics></math></span></span>. Therefore, we proved the theorem. <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>
</details>
<p>Here we defined a new vector space <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⊥</mo><mo>∥</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\perp\parallel}</annotation></semantics></math></span></span>. Obviously it is a subspace of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\perp</annotation></semantics></math></span></span>. Because <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mo stretchy="false">(</mo><msub><mi>s</mi><mn>1</mn></msub><mo separator="true">,</mo><mo>⋅</mo><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\vec\pi(s_1,\cdot)</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>π</mi><mo>⃗</mo></mover><mo stretchy="false">(</mo><mo>⋅</mo><mo separator="true">,</mo><msub><mi>s</mi><mn>2</mn></msub><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\vec\pi(\cdot,s_2)</annotation></semantics></math></span></span> are injective, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>π</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec\pi</annotation></semantics></math></span></span> is a linear isomorphism from <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(1)}</annotation></semantics></math></span></span> to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⊥</mo><mo>∥</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\perp\parallel}</annotation></semantics></math></span></span> and a linear isomorphism from <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(2)}</annotation></semantics></math></span></span> to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⊥</mo><mo>∥</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\perp\parallel}</annotation></semantics></math></span></span>.</p>
<p>Here is another interesting thing about this vector space:</p>
<p class="no-indent">
<strong>Theorem.</strong> Suppose <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>e</mi><mo separator="true">,</mo><msup><mi>e</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>∈</mo><msup><mi>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">e,e'\in W^\perp</annotation></semantics></math></span></span>. Iff <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo>=</mo><msubsup><mi>W</mi><msup><mi>e</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(1)}_e=W^{\parallel(1)}_{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><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup><mo>=</mo><msubsup><mi>W</mi><msup><mi>e</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(2)}_e=W^{\parallel(2)}_{e'}</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>e</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>−</mo><mi>e</mi><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⊥</mo><mo>∥</mo></mrow></msup></mrow><annotation encoding="application/x-tex">e'-e\in\vec W^{\perp\parallel}</annotation></semantics></math></span></span>.
</p>
<details>
<summary>
Proof
</summary>
<p class="no-indent">
<em>Proof.</em> First, prove the “if” direction.
</p>
<p>Because <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo>=</mo><msubsup><mi>W</mi><msup><mi>e</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(1)}_e=W^{\parallel(1)}_{e'}</annotation></semantics></math></span></span>, we have <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>c</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>π</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo>=</mo><msup><mi>c</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>π</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>e</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">c^{(1)}\!\left(\pi^{-1}\!\left(e\right)\right)=c^{(1)}\!\left(\pi^{-1}\!\left(e'\right)\right)</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 mathvariant="normal">∀</mi><mi>x</mi><mo>∈</mo><msup><mi>π</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo stretchy="false">(</mo><mi>e</mi><mo stretchy="false">)</mo><mo>:</mo><mi mathvariant="normal">∃</mi><msub><mi>s</mi><mn>2</mn></msub><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo>:</mo><mi>x</mi><mo>+</mo><mrow><mo fence="true">(</mo><mn>0</mn><mo separator="true">,</mo><msub><mi>s</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>∈</mo><msup><mi>π</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo stretchy="false">(</mo><msup><mi>e</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo stretchy="false">)</mo><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\forall x\in\pi^{-1}(e):\exists s_2\in\vec W^{(2)}:x+\left(0,s_2\right)\in\pi^{-1}(e').</annotation></semantics></math></span></span></span> Equivalently, this means <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>π</mi><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><mo>=</mo><mi>e</mi><mo>⇒</mo><mi mathvariant="normal">∃</mi><msub><mi>s</mi><mn>2</mn></msub><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo>:</mo><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo>+</mo><mrow><mo fence="true">(</mo><mn>0</mn><mo separator="true">,</mo><msub><mi>s</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo>=</mo><msup><mi>e</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\pi(x)=e\Rightarrow\exists s_2\in\vec W^{(2)}:\pi\!\left(x+\left(0,s_2\right)\right)=e'.</annotation></semantics></math></span></span></span> Note that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo>+</mo><mrow><mo fence="true">(</mo><mn>0</mn><mo separator="true">,</mo><msub><mi>s</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo>=</mo><mi>π</mi><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><mo>+</mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mn>0</mn><mo separator="true">,</mo><msub><mi>s</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\pi\!\left(x+\left(0,s_2\right)\right)=\pi(x)+\vec\pi\!\left(0,s_2\right)</annotation></semantics></math></span></span>, which is just <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>e</mi><mo>+</mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mn>0</mn><mo separator="true">,</mo><msub><mi>s</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">e+\vec\pi\!\left(0,s_2\right)</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><mi mathvariant="normal">∃</mi><msub><mi>s</mi><mn>2</mn></msub><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo>:</mo><msup><mi>e</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>−</mo><mi>e</mi><mo>=</mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mn>0</mn><mo separator="true">,</mo><msub><mi>s</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\exists s_2\in\vec W^{(2)}:e'-e=\vec\pi\!\left(0,s_2\right).</annotation></semantics></math></span></span></span> Similarly, <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><msub><mi>s</mi><mn>1</mn></msub><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>:</mo><msup><mi>e</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>−</mo><mi>e</mi><mo>=</mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>s</mi><mn>1</mn></msub><mo separator="true">,</mo><mn>0</mn><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\exists s_1\in\vec W^{(1)}:e'-e=\vec\pi\!\left(s_1,0\right).</annotation></semantics></math></span></span></span> Subtract the two equations, 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><mn>0</mn><mo>=</mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>s</mi><mn>1</mn></msub><mo separator="true">,</mo><mo>−</mo><msub><mi>s</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">0=\vec\pi\!\left(s_1,-s_2\right),</annotation></semantics></math></span></span></span> which means <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><msub><mi>s</mi><mn>1</mn></msub><mo separator="true">,</mo><mo>−</mo><msub><mi>s</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>∈</mo><msup><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo stretchy="false">(</mo><mn>0</mn><mo stretchy="false">)</mo><mo>=</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\left(s_1,-s_2\right)\in\vec\pi^{-1}(0)=\vec W^\parallel.</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><msub><mi>s</mi><mn>1</mn></msub><mo>∈</mo><msup><mi>c</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup><mo fence="true">)</mo></mrow><mo>=</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">s_1\in c^{(1)}\!\left(\vec W^\parallel\right)=\vec W^{\parallel(1)}.</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><msup><mi>e</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>−</mo><mi>e</mi><mo>=</mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>s</mi><mn>1</mn></msub><mo separator="true">,</mo><mn>0</mn><mo fence="true">)</mo></mrow><mo>∈</mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><mo>=</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⊥</mo><mo>∥</mo></mrow></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">e'-e=\vec\pi\!\left(s_1,0\right)\in\vec\pi\!\left(\vec W^{\parallel(1)}\right)
=\vec W^{\perp\parallel}.</annotation></semantics></math></span></span></span></p>
<p>Now, prove the “only if” direction.</p>
<p>Because <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>e</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>−</mo><mi>e</mi><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⊥</mo><mo>∥</mo></mrow></msup><mo>=</mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">e'-e\in\vec W^{\perp\parallel}=\vec\pi\!\left(\vec W^{\parallel(2)}\right)</annotation></semantics></math></span></span>, there exists <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>s</mi><mn>2</mn></msub><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">s_2\in\vec W^{\parallel(2)}</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><msup><mi>e</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>=</mo><mi>e</mi><mo>+</mo><mover accent="true"><mi>π</mi><mo>⃗</mo></mover><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mn>0</mn><mo separator="true">,</mo><msub><mi>s</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">e'=e+\vec\pi\!\left(0,s_2\right).</annotation></semantics></math></span></span></span> Therefore, obviously we have <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>c</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>π</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo>=</mo><msup><mi>c</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>π</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>e</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">c^{(1)}\!\left(\pi^{-1}\!\left(e\right)\right)=c^{(1)}\!\left(\pi^{-1}\!\left(e'\right)\right)</annotation></semantics></math></span></span>, and thus <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo>=</mo><msubsup><mi>W</mi><msup><mi>e</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(1)}_e=W^{\parallel(1)}_{e'}</annotation></semantics></math></span></span>.</p>
<p>Similarly, we can prove that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup><mo>=</mo><msubsup><mi>W</mi><msup><mi>e</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(2)}_e=W^{\parallel(2)}_{e'}</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>
</details>
<p>This means that, given both <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(1)}_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><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(2)}_e</annotation></semantics></math></span></span>, we can determine <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> upto a vector in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⊥</mo><mo>∥</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\perp\parallel}</annotation></semantics></math></span></span>.</p>
<p>Because we already have <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⊥</mo><mo>∥</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\perp\parallel}</annotation></semantics></math></span></span>, we can define a new affine subspace <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⊥</mo><mo>⊥</mo></mrow></msup><mo><mi mathvariant="normal">≔</mi></mo><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>×</mo><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">W^{\perp\perp}\coloneqq\pi\!\left(W^{\perp(1)}\times W^{\perp(2)}\right)</annotation></semantics></math></span></span> so that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mo>⊥</mo></msup><mo>=</mo><msup><mi>W</mi><mrow><mo>⊥</mo><mo>⊥</mo></mrow></msup><mo>+</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⊥</mo><mo>∥</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^\perp=W^{\perp\perp}+\vec W^{\perp\parallel}</annotation></semantics></math></span></span>, and each point in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">W^\perp</annotation></semantics></math></span></span> can be uniquely decomposed as a sum of a point in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⊥</mo><mo>⊥</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\perp\perp}</annotation></semantics></math></span></span> and a vector in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⊥</mo><mo>∥</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\perp\parallel}</annotation></semantics></math></span></span>. We can prove this easily. Such decomposition can be encoded into a projection <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>π</mi><mo>⊥</mo></msup><mo>:</mo><msup><mi>W</mi><mo>⊥</mo></msup><mo>→</mo><msup><mi>W</mi><mrow><mo>⊥</mo><mo>⊥</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\pi^\perp:W^\perp\to W^{\perp\perp}</annotation></semantics></math></span></span> so that for any <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>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">e\in W^\perp</annotation></semantics></math></span></span>, we 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>π</mi><mo>⊥</mo></msup><mo stretchy="false">(</mo><mi>e</mi><mo stretchy="false">)</mo><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⊥</mo><mo>∥</mo></mrow></msup></mrow><annotation encoding="application/x-tex">e-\pi^\perp(e)\in\vec W^{\perp\parallel}</annotation></semantics></math></span></span>. Also, we can easily prove that <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">\pi</annotation></semantics></math></span></span> is an affine isomorphism from <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>×</mo><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\perp(1)}\times W^{\perp(2)}</annotation></semantics></math></span></span> to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⊥</mo><mo>⊥</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\perp\perp}</annotation></semantics></math></span></span>.</p>
<p>Now that we have defined many affine spaces and vector spaces, here is a diagram of the relation between (some of) them (powered by <a href="https://q.uiver.app" target="_blank" rel="external">quiver</a>):</p>
<details>
<summary>
Diagrarm
</summary>
<!-- markdownlint-disable-next-line no-inline-html line-length -->
<iframe class="quiver-embed dark-adaptive" src="https://q.uiver.app/?q=WzAsMTEsWzIsMCwiVyJdLFswLDIsIldeeygxKX0iXSxbNCwyLCJXXnsoMil9Il0sWzAsNCwiV157XFxwZXJwKDEpfSJdLFs0LDQsIldee1xccGVycCgyKX0iXSxbMCw2LCJcXHZlYyBXXntcXHBhcmFsbGVsKDEpfSJdLFs0LDYsIlxcdmVjIFdee1xccGFyYWxsZWwoMil9Il0sWzIsOCwiXFx2ZWMgV15cXHBhcmFsbGVsIl0sWzIsMTAsIldeXFxwZXJwIl0sWzEsMTEsIlxcdmVjIFdee1xccGVycFxccGFyYWxsZWx9Il0sWzMsMTEsIldee1xccGVycFxccGVycH0iXSxbMSwyLCJcXHRpbWVzIiwyLHsiY3VydmUiOi00LCJzdHlsZSI6eyJoZWFkIjp7Im5hbWUiOiJub25lIn19fV0sWzEsNCwiXFx0aW1lcyIsMCx7ImN1cnZlIjo1LCJzdHlsZSI6eyJoZWFkIjp7Im5hbWUiOiJub25lIn19fV0sWzMsMiwiXFx0aW1lcyIsMCx7ImN1cnZlIjo1LCJzdHlsZSI6eyJoZWFkIjp7Im5hbWUiOiJub25lIn19fV0sWzMsNCwiXFx0aW1lcyIsMCx7ImN1cnZlIjo1LCJzdHlsZSI6eyJoZWFkIjp7Im5hbWUiOiJub25lIn19fV0sWzksMTAsIisiLDIseyJjdXJ2ZSI6LTEsInN0eWxlIjp7ImhlYWQiOnsibmFtZSI6Im5vbmUifX19XSxbNSw2LCJcXHZlY1xccmhvIiwyLHsiY3VydmUiOjMsInN0eWxlIjp7ImJvZHkiOnsibmFtZSI6ImJhcnJlZCJ9fX1dLFs3LDUsIlxcdmVjIGNeeygxKX0iLDAseyJjdXJ2ZSI6LTEsInN0eWxlIjp7ImJvZHkiOnsibmFtZSI6ImJhcnJlZCJ9fX1dLFs3LDYsIlxcdmVjIGNeeygyKX0iLDIseyJjdXJ2ZSI6MSwic3R5bGUiOnsiYm9keSI6eyJuYW1lIjoiYmFycmVkIn19fV0sWzcsOCwiKyIsMCx7ImN1cnZlIjo0LCJzdHlsZSI6eyJoZWFkIjp7Im5hbWUiOiJub25lIn19fV0sWzQsNiwiKyIsMix7ImN1cnZlIjotMiwic3R5bGUiOnsiaGVhZCI6eyJuYW1lIjoibm9uZSJ9fX1dLFszLDUsIisiLDAseyJjdXJ2ZSI6Miwic3R5bGUiOnsiaGVhZCI6eyJuYW1lIjoibm9uZSJ9fX1dLFs1LDYsIlxcdGltZXMvKyIsMCx7InN0eWxlIjp7ImhlYWQiOnsibmFtZSI6Im5vbmUifX19XSxbMCw4LCJcXHBpIiwwLHsiY3VydmUiOi01fV0sWzUsOSwiXFx2ZWNcXHBpIiwyLHsiY3VydmUiOjMsInN0eWxlIjp7ImJvZHkiOnsibmFtZSI6ImJhcnJlZCJ9fX1dLFs2LDksIlxcdmVjXFxwaSIsMCx7ImN1cnZlIjotNSwic3R5bGUiOnsiYm9keSI6eyJuYW1lIjoiYmFycmVkIn19fV0sWzEsMywiXFxwaV57KDEpfSJdLFsyLDQsIlxccGleeygyKX0iXSxbMTEsMCwiIiwwLHsibGV2ZWwiOjF9XSxbMTIsOCwiXFxwaSIsMCx7ImN1cnZlIjoxLCJsZXZlbCI6MSwic3R5bGUiOnsiYm9keSI6eyJuYW1lIjoiYmFycmVkIn19fV0sWzEzLDgsIlxccGkiLDAseyJjdXJ2ZSI6LTEsImxldmVsIjoxLCJzdHlsZSI6eyJib2R5Ijp7Im5hbWUiOiJiYXJyZWQifX19XSxbMTQsMTAsIlxccGkiLDIseyJjdXJ2ZSI6LTMsImxldmVsIjoxLCJzdHlsZSI6eyJib2R5Ijp7Im5hbWUiOiJiYXJyZWQifX19XSxbMTUsOCwiIiwyLHsibGV2ZWwiOjF9XSxbMTksMCwiIiwwLHsiY3VydmUiOi0zLCJsZXZlbCI6MX1dLFsyMCwyLCIiLDIseyJjdXJ2ZSI6MywibGV2ZWwiOjF9XSxbMjEsMSwiIiwyLHsiY3VydmUiOi0zLCJsZXZlbCI6MX1dLFsyMiw5LCJcXHZlY1xccGkiLDIseyJjdXJ2ZSI6NCwibGV2ZWwiOjF9XV0=&amp;embed" style="border-radius: 8px; border: none; width: 100%; aspect-ratio: 1/2">
</iframe>
</details>
<p><em>Example.</em> In the example of two thermal systems that can exchange energy but not number of particles, we may 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><msup><mi>π</mi><mo>⊥</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mfrac><mi>U</mi><mn>2</mn></mfrac><mo separator="true">,</mo><mfrac><mi>U</mi><mn>2</mn></mfrac><mo separator="true">,</mo><msub><mi>N</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>=</mo><mrow><mo fence="true">(</mo><mn>0</mn><mo separator="true">,</mo><mn>0</mn><mo separator="true">,</mo><msub><mi>N</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>N</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\pi^\perp\!\left(\frac U2,\frac U2,N_1,N_2\right)=\left(0,0,N_1,N_2\right).</annotation></semantics></math></span></span></span></p>
<h2 data-label="0.9" id="baths">Baths</h2>
<p><dfn>Bath</dfn>s are a special class of thermal systems. They are systems that have some of their intensive quantities well-defined and constant.</p>
<p>According to Equation <a href="#eq:eq-mce-fundamental-eq">6</a>, to make the intensive quantities constant, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>ln</mi><mo>⁡</mo><mi mathvariant="normal">Ω</mi><mo stretchy="false">(</mo><mi>e</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\ln\Omega(e)</annotation></semantics></math></span></span> should be linear in <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>. If we just require some of the intensive quantities to be constant, we need to make it be linear when <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> moves in directions in some certain vector subspace.</p>
<p>The requirement above is required by the microcanonical ensemble, which does not involve change in extensive quantities. An intuitive requirement is that <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">\lambda</annotation></semantics></math></span></span> is also translationally invariant in such directions.</p>
<p>Then, here comes the definition of a bath:</p>
<p class="no-indent">
<strong>Definition.</strong> A thermal system <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi mathvariant="script">E</mi><mo separator="true">,</mo><mi mathvariant="script">M</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(\mathcal E,\mathcal M)</annotation></semantics></math></span></span> is called a <dfn><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup><mo separator="true">,</mo><mi>i</mi><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\vec W^\parallel,i\right)</annotation></semantics></math></span></span>-bath</dfn>, where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">E</mi><mo>=</mo><mo stretchy="false">(</mo><mi>W</mi><mo separator="true">,</mo><mi>E</mi><mo separator="true">,</mo><mi>λ</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\mathcal E=(W,E,\lambda)</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 mathvariant="script">M</mi><mo>=</mo><msub><mo>⨆</mo><mrow><mi>e</mi><mo>∈</mo><mi>W</mi></mrow></msub><msub><mi>M</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">\mathcal M=\bigsqcup_{e\in W}M_e</annotation></semantics></math></span></span>, if
</p>
<ul>
<li><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span> is a vector subspace of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>W</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec W</annotation></semantics></math></span></span> and is a Polish reflexive space;</li>
<li>For any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>e</mi><mo>∈</mo><mi>E</mi></mrow><annotation encoding="application/x-tex">e\in 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>s</mi><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">s\in\vec W^\parallel</annotation></semantics></math></span></span>, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>e</mi><mo>+</mo><mi>s</mi><mo>∈</mo><mi>E</mi></mrow><annotation encoding="application/x-tex">e+s\in E</annotation></semantics></math></span></span>.</li>
<li><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">\lambda</annotation></semantics></math></span></span> is invariant under translations in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span>; in other words, for any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>s</mi><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">s\in\vec W^\parallel</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>A</mi><mo>∈</mo><mi>σ</mi><mo stretchy="false">(</mo><mi>E</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">A\in\sigma(E)</annotation></semantics></math></span></span>, we have <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>λ</mi><mo stretchy="false">(</mo><mi>A</mi><mo>+</mo><mi>s</mi><mo stretchy="false">)</mo><mo>=</mo><mi>λ</mi><mo stretchy="false">(</mo><mi>A</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\lambda(A+s)=\lambda(A)</annotation></semantics></math></span></span>;</li>
<li><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>i</mi><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo mathvariant="normal">′</mo></mrow></msup></mrow><annotation encoding="application/x-tex">i\in\vec W^{\parallel\prime}</annotation></semantics></math></span></span> is a continuous linear functional on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span>, called the <dfn>constant intensive quantities</dfn> of the bath; and</li>
<li>For any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>e</mi><mo>∈</mo><mi>E</mi></mrow><annotation encoding="application/x-tex">e\in 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>s</mi><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">s\in\vec W^\parallel</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>ln</mi><mo>⁡</mo><msub><mi>μ</mi><mrow><mi>e</mi><mo>+</mo><mi>s</mi></mrow></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>M</mi><mrow><mi>e</mi><mo>+</mo><mi>s</mi></mrow></msub><mo fence="true">)</mo></mrow><mo>=</mo><mi>i</mi><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo><mo>+</mo><mi>ln</mi><mo>⁡</mo><msub><mi>μ</mi><mi>e</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>M</mi><mi>e</mi></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\ln\mu_{e+s}\!\left(M_{e+s}\right)=i(s)+\ln\mu_e\!\left(M_e\right).</annotation></semantics></math></span></span></span></li>
</ul>
<hr/>
<p>An important notice is that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span> must be finite-dimensional because a metrizable TVS with a non-trivial σ-finite translationally quasi-invariant Borel measure must be finite-dimensional (<a href="https://doi.org/10.2307/2035076" target="_blank" rel="external">Feldman, 1966</a>).</p>
<p>We can then define the non-trivial σ-finite translationally invariant Borel measure on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span>, denoted as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>λ</mi><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\lambda^\parallel</annotation></semantics></math></span></span>. It is unique up to a positive constant factor.</p>
<hr/>
<p>We may construct an affine subspace <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">W^\perp</annotation></semantics></math></span></span> for the bath so that every point in <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> can be uniquely decomposed into the sum of a point in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">W^\perp</annotation></semantics></math></span></span> and a vector in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span>. Then, we have a projection map <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>π</mi><mo>:</mo><mi>W</mi><mo>→</mo><msup><mi>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">\pi:W\to W^\perp</annotation></semantics></math></span></span> so that for any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>e</mi><mo>∈</mo><mi>W</mi></mrow><annotation encoding="application/x-tex">e\in W</annotation></semantics></math></span></span> we have <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>e</mi><mo>−</mo><mi>π</mi><mo stretchy="false">(</mo><mi>e</mi><mo stretchy="false">)</mo><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">e-\pi(e)\in\vec W^\parallel</annotation></semantics></math></span></span>. Then, obviously, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>μ</mi><mi>e</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>M</mi><mi>e</mi></msub><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\mu_e\!\left(M_e\right)</annotation></semantics></math></span></span> must be in the form <span id="eq:eq-Omega-of-bath" data-label="(12)"><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>μ</mi><mi>e</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>M</mi><mi>e</mi></msub><mo fence="true">)</mo></mrow><mo>=</mo><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>π</mi><mo stretchy="false">(</mo><mi>e</mi><mo stretchy="false">)</mo><mo fence="true">)</mo></mrow><msup><mi mathvariant="normal">e</mi><mrow><mi>i</mi><mo stretchy="false">(</mo><mi>e</mi><mo>−</mo><mi>π</mi><mo stretchy="false">(</mo><mi>e</mi><mo stretchy="false">)</mo><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\mu_e\!\left(M_e\right)=f\!\left(\pi(e)\right)\mathrm e^{i(e-\pi(e))},</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>12</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(12)</annotation></semantics></math></span></span></span></span> </span></span> where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mo>:</mo><msup><mi>W</mi><mo>⊥</mo></msup><mo>→</mo><msup><mi mathvariant="double-struck">R</mi><mo>+</mo></msup></mrow><annotation encoding="application/x-tex">f:W^\perp\to\mathbb R^+</annotation></semantics></math></span></span> is some function. The eplicit formula of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi></mrow><annotation encoding="application/x-tex">f</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>f</mi><mo stretchy="false">(</mo><mi>e</mi><mo stretchy="false">)</mo><mo><mi mathvariant="normal">≔</mi></mo><msub><mi>μ</mi><mi>e</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>M</mi><mi>e</mi></msub><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">f(e)\coloneqq\mu_e\!\left(M_e\right)</annotation></semantics></math></span></span>.</p>
<p>Further, we may require that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">W^\perp</annotation></semantics></math></span></span> is associated with a topological complement of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span> (this is because <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover accent="true"><mi>W</mi><mo>⃗</mo></mover></mrow><annotation encoding="application/x-tex">\vec W</annotation></semantics></math></span></span> is locally convex and Hausdorff and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span> is finite-dimensional). Then, by the mathematical tools that were introduced in the beginning, we can disintegrate the measure <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">\lambda</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><msup><mi>λ</mi><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\lambda^\parallel</annotation></semantics></math></span></span> to get a measure <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>λ</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">\lambda^\perp</annotation></semantics></math></span></span> on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">W^\perp</annotation></semantics></math></span></span> (it is the same for any element in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span> 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">\lambda</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><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span>-translationally invariant). Then, <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">\lambda</annotation></semantics></math></span></span> is the product measure of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>λ</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">\lambda^\perp</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>λ</mi><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\lambda^\parallel</annotation></semantics></math></span></span>. In other words, for any measurable function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mo>:</mo><mi>E</mi><mo>→</mo><mi mathvariant="double-struck">R</mi></mrow><annotation encoding="application/x-tex">f:E\to\mathbb R</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><mo>∫</mo><mi>E</mi></msub><mi>f</mi><mtext> </mtext><mi mathvariant="normal">d</mi><mi>λ</mi><mo>=</mo><msub><mo>∫</mo><mrow><mi>e</mi><mo>∈</mo><msup><mi>E</mi><mo>⊥</mo></msup></mrow></msub><msub><mo>∫</mo><mrow><mi>s</mi><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow></msub><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo>+</mo><mi>s</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msup><mi>λ</mi><mo>⊥</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msup><mi>λ</mi><mo>∥</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>s</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\int_Ef\,\mathrm d\lambda=
\int_{e\in E^\perp}\int_{s\in\vec W^\parallel}f\!\left(e+s\right)
\mathrm d\lambda^\perp\!\left(e\right)\mathrm d\lambda^\parallel\!\left(s\right).</annotation></semantics></math></span></span></span></p>
<h2 data-label="0.10" id="thermal-ensembles">Thermal ensembles</h2>
<p>Different from microcanonical ensembles, <dfn>thermal ensemble</dfn>s are ensembles where the system we study is in thermal contact with a bath. For example, canonical ensembles and grand canonical ensembles are thermal ensembles. There are also non-thermal ensembles, which will be introduced later after we introduce non-thermal contacts (in <a href="/physics/2023/05/01/measure-ensemble-2.html">part 2</a>).</p>
<p>The thermal ensemble of a thermal system is the ensemble of the composite system of the system in question (subsystem 1) and a <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><mo>−</mo><mi>i</mi><mo>∘</mo><msup><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\vec W^{\parallel(2)},-i\circ\vec\rho^{-1}\right)</annotation></semantics></math></span></span>-bath (subsystem 2), where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>i</mi><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo><mo mathvariant="normal">′</mo></mrow></msup></mrow><annotation encoding="application/x-tex">i\in\vec W^{\parallel(1)\prime}</annotation></semantics></math></span></span> is a parameter, with an extra requirement: <span id="eq:eq-W2-translationally-invariant" data-label="(13)"><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 mathvariant="normal">∀</mi><msub><mi>s</mi><mn>2</mn></msub><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><mi>A</mi><mo>∈</mo><mi>σ</mi><mo stretchy="false">(</mo><mi>E</mi><mo stretchy="false">)</mo><mo>:</mo><msup><mi>λ</mi><mo>⊥</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>A</mi><mo>+</mo><msub><mi>s</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo>=</mo><msup><mi>λ</mi><mo>⊥</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>A</mi><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\forall s_2\in\vec W^{\parallel(2)},A\in\sigma(E):
\lambda^\perp\!\left(\pi\!\left(A+s_2\right)\right)=\lambda^\perp\!\left(\pi\!\left(A\right)\right).</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>13</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(13)</annotation></semantics></math></span></span></span></span> </span></span> The physical meaning of <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 intensive variables that the system is fixed at by contacting the bath.</p>
<p>This composite system is called the <dfn>composite system for the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(1)}</annotation></semantics></math></span></span>-ensemble</dfn>. It is called that because we will see that the only important thing that distinguishes different thermal ensembles is the choice of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(1)}</annotation></semantics></math></span></span>, and the choices of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>π</mi><mo separator="true">,</mo><msup><mi>λ</mi><mo>⊥</mo></msup><mo separator="true">,</mo><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\pi,\lambda^\perp,W^{\perp(1)},W^{\perp(2)}</annotation></semantics></math></span></span> are not important.</p>
<p class="no-indent">
<strong>Definition.</strong> The <dfn>composite system for the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(1)}</annotation></semantics></math></span></span>-ensemble</dfn> of the system <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi mathvariant="script">E</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^{(1)},\mathcal M^{(1)}\right)</annotation></semantics></math></span></span> is the composite system of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi mathvariant="script">E</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^{(1)},\mathcal M^{(1)}\right)</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><msup><mi mathvariant="script">E</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^{(2)},\mathcal M^{(2)}\right)</annotation></semantics></math></span></span>, where
</p>
<ul>
<li><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">(</mo><msup><mi mathvariant="script">E</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><msup><mi mathvariant="script">M</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^{(2)},\mathcal M^{(2)}\right)</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><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo separator="true">,</mo><mo>−</mo><mi>i</mi><mo>∘</mo><msup><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\vec W^{\parallel(2)},-i\circ\vec\rho^{-1}\right)</annotation></semantics></math></span></span>-bath, where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>i</mi><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo><mo mathvariant="normal">′</mo></mrow></msup></mrow><annotation encoding="application/x-tex">i\in\vec W^{\parallel(1)\prime}</annotation></semantics></math></span></span> is a parameter called the <dfn>fixed intensive quantities</dfn>;</li>
<li>Equation <a href="#eq:eq-W2-translationally-invariant">13</a> holds.</li>
</ul>
<hr/>
<p>From the properties of a bath, we can derive a useful property of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>λ</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">\lambda^{\parallel(1)}_e</annotation></semantics></math></span></span>.</p>
<!--
*Theorem.*
In the composite system for the $\vec W^{\parallel(1)}$-ensemble,
for $e,e'\in E^\perp$, if $e'-e\in\vec W^{\perp\parallel}$,
then for any $A\in\sigma\!\left(W^{\parallel(1)}_e\right)$, we have

$$f\!\left(e'\right)\lambda^{\parallel(1)}_{e'}(A)=f\!\left(e\right)\lambda^{\parallel(1)}_e(A),$$

where $f:E^\perp\to\mathbb R^+$ is some function.

<details markdown="1">
<summary>Proof</summary>

*Proof.*
Because $\vec\pi$ is a linear isomorphism from $\vec W^{\parallel(2)}$ to $\vec W^{\perp\parallel}$,
there is a unique $s_2\in\vec W^{\parallel(2)}$ such that

$$e'=e+\vec\pi\!\left(0,s_2\right).$$

Obviously, for any $A\in\sigma\!\left(E\right)$, $A+\left(0,s_2\right)\in\sigma\!\left(E\right)$.
Also,

$$\begin{align*}
\lambda\!\left(A+\left(0,s_2\right)\right)
&=\int_{e_1\in E^{(1)}}\lambda^{(2)}\!\left(
  \left(A+\left(0,s_2\right)\right)\cap{c^{(1)}}^{-1}\!\left(e_1\right)
\right)\mathrm d\lambda^{(1)}\!\left(e_1\right)\\
&=\int_{e_1\in E^{(1)}}\lambda^{(2)}\!\left(
  \left(A\cap{c^{(1)}}^{-1}\!\left(e_1\right)\right)+\left(0,s_2\right)
\right)\mathrm d\lambda^{(1)}\!\left(e_1\right)\\
&=\int_{e_1\in E^{(1)}}\lambda^{(2)}\!\left(
   A\cap{c^{(1)}}^{-1}\!\left(e_1\right)
\right)\mathrm d\lambda^{(1)}\!\left(e_1\right)\\
&=\lambda(A).
\end{align*}$$

Because $\pi$ is an affine map, for any $e\in W$, we have

$$\pi\!\left(e+\left(0,s_2\right)\right)=\pi(e)+\vec\pi\!\left(0,s_2\right),$$

so for any $A\in\sigma\!\left(W^\perp\right)$, we have

$$\pi^{-1}(A+\vec\pi\!\left(0,s_2\right))=\pi^{-1}(A)+\left(0,s_2\right),$$

and thus

$$\lambda\!\left(\pi^{-1}(A+\vec\pi\!\left(0,s_2\right))\right)=\lambda\!\left(\pi^{-1}(A)\right).$$

A requirement of contracting states that
$\lambda^\perp(A)=0\Leftrightarrow\lambda\!\left(\pi^{-1}(A)\right)=0$, so by the equation above,
we have

$$\lambda^\perp\!\left(A+\vec\pi\!\left(0,s_2\right)\right)=0\Leftrightarrow\lambda^\perp(A)=0.$$

Therefore, if we define a new measure

$$\lambda^\perp_{s_2}(A)\coloneqq\lambda^\perp\!\left(A+\vec\pi\!\left(0,s_2\right)\right),$$

then $\lambda^\perp_{s_2}$ is absolutely continuous with respect to $\lambda^\perp$.
We can then define their Radon--Nikodym derivative

$$\varphi_{s_2}(e)\coloneqq\frac{\mathrm d\lambda^\perp_{s_2}(e)}{\mathrm d\lambda^\perp(e)},$$

and $\varphi_{s_2}(e)>0$ for $\lambda^\perp$-almost all $e\in E^\perp$.

Now, for any $A\in\sigma(E)$, we have

$$\begin{align*}
\lambda\!\left(A+\left(0,s_2\right)\right)
&=\int_{e\in E^\perp}\lambda^\parallel_e\!\left(
  \left(A+\left(0,s_2\right)\right)\cap W^\parallel_e
\right)\mathrm d\lambda^\perp(e)\\
&=\int_{e\in E^\perp}\lambda^\parallel_{e+\vec\pi(0,s_2)}\!\left(
  \left(A+\left(0,s_2\right)\right)\cap W^\parallel_{e+\vec\pi(0,s_2)}
\right)\mathrm d\lambda^\perp\!\left(e+\vec\pi(0,s_2)\right)\\
&=\int_{e\in E^\perp}\lambda^\parallel_{e+\vec\pi(0,s_2)}\!\left(
  \left(A+\left(0,s_2\right)\right)\cap W^\parallel_{e+\vec\pi(0,s_2)}
\right)\varphi_{s_2}\!\left(e\right)\mathrm d\lambda^\perp\!\left(e\right).
\end{align*}$$

On the other hand,

$$\lambda\!\left(A+\left(0,s_2\right)\right)
=\lambda(A)
=\int_{e\in E^\perp}\lambda^\parallel_e\!\left(
  A\cap W^\parallel_e
\right)\mathrm d\lambda^\perp(e).$$

Compare the two equations, and because everything is arbitrary, we have

$$\lambda^\parallel_{e+\vec\pi(0,s_2)}\!\left(
  \left(A+\left(0,s_2\right)\right)\cap W^\parallel_{e+\vec\pi(0,s_2)}
\right)\varphi_{s_2}\!\left(e\right)=
\lambda^\parallel_e\!\left(A\cap W^\parallel_e\right).$$

Notice that

$$\begin{align*}
&x\in\left(A+\left(0,s_2\right)\right)\cap W^\parallel_{e+\vec\pi(0,s_2)}\\
\Leftrightarrow{}&x\in A+\left(0,s_2\right)\land x\in\pi^{-1}\!\left(e+\vec\pi\!\left(0,s_2\right)\right)\\
\Leftrightarrow{}&x\in A+\left(0,s_2\right)\land x\in\pi^{-1}\!\left(e\right)+\left(0,s_2\right)\\
\Leftrightarrow{}&x\in\left(A\cap\pi^{-1}\!\left(e\right)\right)+\left(0,s_2\right),
\end{align*}$$

so

$$\left(A+\left(0,s_2\right)\right)\cap W^\parallel_{e+\vec\pi(0,s_2)}
=\left(A\cap\pi^{-1}\!\left(e\right)\right)+\left(0,s_2\right).$$

Now, for any $A\in\sigma\!\left(E^\parallel_e\right)$, we have

$$\lambda^\parallel_{e+\vec\pi(0,s_2)}\!\left(A+\left(0,s_2\right)\right)\varphi_{s_2}\!\left(e\right)=
\lambda^\parallel_e\!\left(A\right).$$

Because $\lambda^{\parallel(1)}_e$ is the pushforward of $\lambda^\parallel_e$ under $c^{(1)}$,
we have

$$\lambda^{\parallel(1)}_{e+\vec\pi(0,s_2)}\!\left(
  c^{(1)}\!\left(A+\left(0,s_2\right)\right)
\right)\varphi_{s_2}\!\left(e\right)=\lambda^{\parallel(1)}_e\!\left(c^{(1)}\!\left(A\right)\right).$$

Notice that $c^{(1)}\!\left(A+\left(0,s_2\right)\right)=c^{(1)}\!\left(A\right)$.
Now, for any $A\in\sigma\!\left(E^{\parallel(1)}_e\right)$, we have

$$\lambda^{\parallel(1)}_{e+\vec\pi(0,s_2)}(A)\varphi_{s_2}(e)=\lambda^{\parallel(1)}_e(A).$$

Now, let

$$e'\coloneqq e+\vec\pi(0,s_2),\quad g\!\left(e,e'\right)=\frac1{\varphi_{s_2}(e)},$$

and we have

$$\lambda^{\parallel(1)}_{e'}(A)=g\!\left(e,e'\right)\lambda^{\parallel(1)}_e(A).$$

Now we just need to prove that $g$ can be written as a quotient.
To see this, we first need to notice that for any $s_2,s_2'\in\vec W^{\parallel(2)}$, we have

$$\begin{align*}
\frac1{\varphi_{s_2}(e)}&=\frac{\mathrm d\lambda^\perp\!\left(e\right)}
{\mathrm d\lambda^\perp\!\left(e+\vec\pi\!\left(0,s_2\right)\right)}\\
&=\frac{\mathrm d\lambda^\perp\!\left(e\right)}
{\mathrm d\lambda^\perp\!\left(e+\vec\pi\!\left(0,s_2'\right)\right)}
\frac{\mathrm d\lambda^\perp\!\left(e+\vec\pi\!\left(0,s_2'\right)\right)}
{\mathrm d\lambda^\perp\!\left(e+\vec\pi\!\left(0,s_2\right)\right)}\\
&=\frac1{\varphi_{s_2'}(e)}
\varphi_{s_2'-s_2}\!\left(e+\vec\pi\!\left(0,s_2\right)\right).
\end{align*}$$

This means that, for any $e,e',e'\'\in E^\perp$
such that the difference of any two of them is in $\vec W^{\perp\parallel}$, we have

$$g\!\left(e,e'\right)=\frac{g\!\left(e,e''\right)}{g\!\left(e',e''\right)}.$$

Let $e'\'\coloneqq\pi^\perp(e)=\pi^\perp\!\left(e'\right)$ in the equation above.
Then, we have

$$g\!\left(e,e'\right)=\frac{f\!\left(e\right)}{f\!\left(e'\right)},$$

where $f(e)\coloneqq g\!\left(e,\pi^\perp(e)\right)$.
This then proves the conclusion we want. <span class="qed-wrapper qed-normal"><span class="qed qed-normal">$\square$</span></span>

</details>

This means that,
whenever $W^{\parallel(1)}_e=W^{\parallel(1)}_{e'}$ and $W^{\parallel(2)}_e=W^{\parallel(2)}_{e'}$,
the two measures $\lambda^{\parallel(1)}_e$ and $\lambda^{\parallel(1)}_{e'}$
are the same measure up to a constant factor.
This is important because it ensures a consistency:
if two states on the same compositing slice are the same up to a constant factor,
then they are the same probability distribution.

Also, note that the value of the function $f(e)$ here is not uniquely determined.
It can be multiplied by an arbitrary function that is only related to $\pi^\perp(e)$.
Also, it can be modified arbitrarily on any set of points in $E^\perp$
that has zero $\lambda^\perp$ measure.
-->
<p>Because <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>λ</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">\lambda^{\parallel(1)}_e</annotation></semantics></math></span></span> is the pullback of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>λ</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">\lambda^{\parallel(2)}_e</annotation></semantics></math></span></span> under <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>ρ</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">\rho_e</annotation></semantics></math></span></span>, but <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>λ</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">\lambda^{\parallel(2)}_e</annotation></semantics></math></span></span> is just the same <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>λ</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\lambda^{\parallel(2)}</annotation></semantics></math></span></span> for all <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> (although <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>λ</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">\lambda^{\parallel(2)}_e</annotation></semantics></math></span></span> is defined on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(2)}_e</annotation></semantics></math></span></span> but
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>λ</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\lambda^{\parallel(2)}</annotation></semantics></math></span></span> is defined on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel(2)}</annotation></semantics></math></span></span>), we have <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>λ</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">\lambda^{\parallel(1)}_e</annotation></semantics></math></span></span> is the same as long as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(1)}_e</annotation></semantics></math></span></span> is the same. This means that we are able to be consistent with different compositing slices of our subsystem.</p>
<hr/>
<p>As we have claimed before, the isolation of a contraction is the same as the full contraction of a contractive slice. Therefore, we can use the microcanonical ensemble to find the equilibrium state of any contractive slice. Then, we can use the marginal state of each contractive slice to get the equilibrium state of each compositing slice in the subsystem.</p>
<p>Because the equal <em>a priori</em> probability postulate, the equilibrium state <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>p</mi><mi>e</mi><mrow><mo>∥</mo><mo>∘</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">p^{\parallel\circ}_e</annotation></semantics></math></span></span> on the contractive slice <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 fence="true">(</mo><msubsup><mi mathvariant="script">E</mi><mi>e</mi><mo>∥</mo></msubsup><mo separator="true">,</mo><msubsup><mi mathvariant="script">M</mi><mi>e</mi><mo>∥</mo></msubsup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^\parallel_e,\mathcal M^\parallel_e\right)</annotation></semantics></math></span></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><msubsup><mi>p</mi><mi>e</mi><mrow><mo>∥</mo><mo>∘</mo></mrow></msubsup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>e</mi><mn>2</mn></msub><mo separator="true">,</mo><msub><mi>m</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>m</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>=</mo><mfrac><mn>1</mn><mrow><msubsup><mi>μ</mi><mi>e</mi><mo>∥</mo></msubsup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msubsup><mi mathvariant="script">M</mi><mi>e</mi><mo>∥</mo></msubsup><mo fence="true">)</mo></mrow></mrow></mfrac><mo>∝</mo><mn>1</mn><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">p^{\parallel\circ}_e\!\left(e_1,e_2,m_1,m_2\right)
=\frac1{\mu^\parallel_e\!\left(\mathcal M^\parallel_e\right)}\propto1,</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>μ</mi><mi>e</mi><mo>∥</mo></msubsup></mrow><annotation encoding="application/x-tex">\mu^\parallel_e</annotation></semantics></math></span></span> is the measure of the number of microstates on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi mathvariant="script">M</mi><mi>e</mi><mo>∥</mo></msubsup></mrow><annotation encoding="application/x-tex">\mathcal M^\parallel_e</annotation></semantics></math></span></span>. Here <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">\propto</annotation></semantics></math></span></span> means that the factor is only related to
<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>. We just need “<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">\propto</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><mo>=</mo></mrow><annotation encoding="application/x-tex">=</annotation></semantics></math></span></span>” because we can always normalize a probability density function.</p>
<p>Substitute this into Equation <a href="#eq:eq-slice-marginal-state">9</a>, and we get that the equilibrium state <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>p</mi><mi>e</mi><mrow><mo>∥</mo><mo>∘</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">p^{\parallel\circ(1)}_e</annotation></semantics></math></span></span> on the compositing slice <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 fence="true">(</mo><msubsup><mi mathvariant="script">E</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo separator="true">,</mo><msubsup><mi mathvariant="script">M</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\mathcal E^{\parallel(1)}_e,\mathcal M^{\parallel(1)}_e\right)</annotation></semantics></math></span></span></span> is <span id="eq:eq-p-1-propto-e-i-e1" data-label="(14)"><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><mtable rowspacing="0.25em" columnalign="right left" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><msubsup><mi>p</mi><mi>e</mi><mrow><mo>∥</mo><mo>∘</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>m</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>∝</mo><msubsup><mi>μ</mi><mrow><msub><mi>ρ</mi><mi>e</mi></msub><mo stretchy="false">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo stretchy="false">)</mo></mrow><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msubsup><mi>M</mi><mrow><msub><mi>ρ</mi><mi>e</mi></msub><mo stretchy="false">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo stretchy="false">)</mo></mrow><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></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><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>π</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>ρ</mi><mi>e</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><msup><mi mathvariant="normal">e</mi><mrow><mrow><mo fence="true">(</mo><mo>−</mo><mi>i</mi><mo>∘</mo><msup><mover accent="true"><mi>ρ</mi><mo>⃗</mo></mover><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mrow><mo fence="true">(</mo><msub><mi>ρ</mi><mi>e</mi></msub><mo stretchy="false">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo stretchy="false">)</mo><mo>−</mo><msup><mi>π</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mo stretchy="false">(</mo><msub><mi>ρ</mi><mi>e</mi></msub><mo stretchy="false">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo stretchy="false">)</mo><mo stretchy="false">)</mo><mo fence="true">)</mo></mrow></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><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>i</mi><mo stretchy="false">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo stretchy="false">)</mo></mrow></msup><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
p^{\parallel\circ(1)}_e\!\left(e_1,m_1\right)
&amp;\propto\mu^{(2)}_{\rho_e(e_1)}\!\left(M^{(2)}_{\rho_e(e_1)}\right)
\nonumber\\
&amp;=f\!\left(\pi^{(2)}\!\left(\rho_e\!\left(e_1\right)\right)\right)
\mathrm e^{\left(-i\circ\vec\rho^{-1}\right)\left(\rho_e(e_1)-\pi^{(2)}(\rho_e(e_1))\right)}
\nonumber\\
&amp;\propto\mathrm e^{-i(e_1)}.
\end{align*}</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>14</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(14)</annotation></semantics></math></span></span></span></span> </span></span> Here we utilized Equation <a href="#eq:eq-Omega-of-bath">12</a> and the fact that for any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>e</mi><mn>1</mn></msub><mo>∈</mo><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">e_1\in W^{\parallel(1)}_e</annotation></semantics></math></span></span>,
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>π</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>ρ</mi><mi>e</mi></msub><mo stretchy="false">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo stretchy="false">)</mo><mo fence="true">)</mo></mrow><mo>=</mo><msup><mi>π</mi><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\pi^{(2)}\!\left(\rho_e(e_1)\right)=\pi^{(2)}\!\left(W^{\parallel(2)}_e\right)</annotation></semantics></math></span></span> is the same and is only related to <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>. Note that we have already illustrated that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>λ</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">\lambda^{\parallel(1)}_e</annotation></semantics></math></span></span> is the same as long as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(1)}_e</annotation></semantics></math></span></span> is the same, so we can normalize <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>p</mi><mi>e</mi><mrow><mo>∥</mo><mo>∘</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">p^{\parallel\circ(1)}_e</annotation></semantics></math></span></span> to get the same state as long as
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(1)}_e</annotation></semantics></math></span></span> is the same, avoiding any inconsistency.</p>
<p>Before we proceed to normalize <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>p</mi><mi>e</mi><mrow><mo>∥</mo><mo>∘</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">p^{\parallel\circ(1)}_e</annotation></semantics></math></span></span>, I would like to talk about what is just enough information to determine <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>λ</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">\lambda^{\parallel(1)}_e</annotation></semantics></math></span></span>. First, we need to know how different <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> can still make <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(1)}_e</annotation></semantics></math></span></span> the same. We already know that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">W^\perp</annotation></semantics></math></span></span> is just <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⊥</mo><mo>⊥</mo></mrow></msup><mo>+</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⊥</mo><mo>∥</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\perp\perp}+\vec W^{\perp\parallel}</annotation></semantics></math></span></span>, and the component in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>⊥</mo><mo>∥</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\perp\parallel}</annotation></semantics></math></span></span> does not affect <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(1)}_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><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(2)}_e</annotation></semantics></math></span></span>, so we only need to know no more than <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>π</mi><mo>⊥</mo></msup><mo stretchy="false">(</mo><mi>e</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\pi^\perp(e)</annotation></semantics></math></span></span>. Then, because <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⊥</mo><mo>⊥</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\perp\perp}</annotation></semantics></math></span></span> is isomorphic to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>×</mo><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\perp(1)}\times W^{\perp(2)}</annotation></semantics></math></span></span> but the corresponding change in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">W^{\perp(2)}</annotation></semantics></math></span></span> does not affect <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(1)}_e</annotation></semantics></math></span></span>, we only need to know the component
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>π</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo>=</mo><msup><mi>π</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>π</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo stretchy="false">(</mo><mi>e</mi><mo stretchy="false">)</mo><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\pi^{(1)}\!\left(e_1\right)=\pi^{(1)}\!\left(\pi^{-1}(e)\right)</annotation></semantics></math></span></span>, where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>e</mi><mn>1</mn></msub></mrow><annotation encoding="application/x-tex">e_1</annotation></semantics></math></span></span> is just the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>e</mi><mn>1</mn></msub></mrow><annotation encoding="application/x-tex">e_1</annotation></semantics></math></span></span> in Equation <a href="#eq:eq-p-1-propto-e-i-e1">14</a>. The space <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(1)}_e</annotation></semantics></math></span></span> is just <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>π</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\pi^{(1)-1}\!\left(e_1\right)</annotation></semantics></math></span></span>.</p>
<p>Besides these information (components 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>) is useless, there is other useless information. I have previously mentioned that the choices of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>λ</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">\lambda^\perp</annotation></semantics></math></span></span>, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>λ</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\lambda^{\perp(2)}</annotation></semantics></math></span></span> etc. are also irrelevant. We can see this by noting that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>λ</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\lambda^{\parallel(1)}</annotation></semantics></math></span></span> is always the non-trivial translationally invariant σ-finite Borel measure on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>W</mi><mi>e</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">W^{\parallel(1)}_e</annotation></semantics></math></span></span>, which is unique up to a constant postive factor (and exists because it is finite-dimensional). This is not related to the choices of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>λ</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">\lambda^\perp</annotation></semantics></math></span></span>, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>λ</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\lambda^{\perp(2)}</annotation></semantics></math></span></span> etc. By this, we reduced the only thing that we need to care about into three ones <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>λ</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\lambda^{(1)}</annotation></semantics></math></span></span>, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>λ</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\lambda^{\perp(1)}</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>λ</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\lambda^{\parallel(1)}</annotation></semantics></math></span></span>, and their relation is given by the following:
<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><mo>∫</mo><msup><mi>E</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></msub><mi>f</mi><mtext> </mtext><mi mathvariant="normal">d</mi><msup><mi>λ</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>=</mo><msub><mo>∫</mo><mrow><msub><mi>e</mi><mn>1</mn></msub><mo>∈</mo><msup><mi>E</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow></msub><mi mathvariant="normal">d</mi><msup><mi>λ</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><msub><mo>∫</mo><mrow><msub><mi>s</mi><mn>1</mn></msub><mo>∈</mo><msubsup><mover accent="true"><mi>E</mi><mo>⃗</mo></mover><msub><mi>e</mi><mn>1</mn></msub><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow></msub><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo>+</mo><msub><mi>s</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msup><mi>λ</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>s</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\int_{E^{(1)}}f\,\mathrm d\lambda^{(1)}=
\int_{e_1\in E^{\perp(1)}}\mathrm d\lambda^{\perp(1)}\!\left(e_1\right)
\int_{s_1\in\vec E^{\parallel(1)}_{e_1}}
f\!\left(e_1+s_1\right)\mathrm d\lambda^{\parallel(1)}\!\left(s_1\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><msup><mi>E</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo><mi mathvariant="normal">≔</mi></mo><msup><mi>π</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>E</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">E^{\perp(1)}\coloneqq\pi^{(1)}\!\left(E^{(1)}\right)</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"><mi>E</mi><mo>⃗</mo></mover><msub><mi>e</mi><mn>1</mn></msub><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">(</mo><msup><mi>E</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mo>−</mo><msub><mi>e</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo>∩</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec E^{\parallel(1)}_{e_1}\coloneqq\left(E^{(1)}-e_1\right)\cap\vec W^{\parallel(1)}</annotation></semantics></math></span></span> is the region of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>s</mi><mn>1</mn></msub><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">s_1\in\vec W^{\parallel(1)}</annotation></semantics></math></span></span> in which <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>e</mi><mn>1</mn></msub><mo>+</mo><msub><mi>s</mi><mn>1</mn></msub></mrow><annotation encoding="application/x-tex">e_1+s_1</annotation></semantics></math></span></span> is in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>E</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">E^{(1)}</annotation></semantics></math></span></span>.</p>
<p>Next, what we need to do is to normalize Equation <a href="#eq:eq-p-1-propto-e-i-e1">14</a>. The denominator in the normalization factor, which we could call the <dfn>partition function</dfn> <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>Z</mi><mo>:</mo><msub><mo>⨆</mo><mrow><msub><mi>e</mi><mn>1</mn></msub><mo>∈</mo><msup><mi>E</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow></msub><msubsup><mi>I</mi><msub><mi>e</mi><mn>1</mn></msub><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo>→</mo><mi mathvariant="double-struck">R</mi></mrow><annotation encoding="application/x-tex">Z:\bigsqcup_{e_1\in E^{\perp(1)}}I^{(1)}_{e_1}\to\mathbb R</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><mtable rowspacing="0.25em" columnalign="right left" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo separator="true">,</mo><mi>i</mi><mo fence="true">)</mo></mrow></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><msub><mo>∫</mo><mrow><msub><mi>s</mi><mn>1</mn></msub><mo>∈</mo><msubsup><mover accent="true"><mi>E</mi><mo>⃗</mo></mover><msub><mi>e</mi><mn>1</mn></msub><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow></msub><msub><mo>∫</mo><mrow><msub><mi>m</mi><mn>1</mn></msub><mo>∈</mo><msubsup><mi>M</mi><mrow><msub><mi>e</mi><mn>1</mn></msub><mo>+</mo><msub><mi>s</mi><mn>1</mn></msub></mrow><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow></msub><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>i</mi><mrow><mo fence="true">(</mo><msub><mi>s</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow></mrow></msup><mtext> </mtext><mi mathvariant="normal">d</mi><msup><mi>λ</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>s</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msubsup><mi>μ</mi><mrow><msub><mi>e</mi><mn>1</mn></msub><mo>+</mo><msub><mi>s</mi><mn>1</mn></msub></mrow><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>m</mi><mn>1</mn></msub><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><mo>∫</mo><mrow><msub><mi>s</mi><mn>1</mn></msub><mo>∈</mo><msubsup><mover accent="true"><mi>E</mi><mo>⃗</mo></mover><msub><mi>e</mi><mn>1</mn></msub><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup></mrow></msub><msup><mi mathvariant="normal">Ω</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>e</mi><mn>1</mn></msub><mo>+</mo><msub><mi>s</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>i</mi><mrow><mo fence="true">(</mo><msub><mi>s</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow></mrow></msup><mtext> </mtext><mi mathvariant="normal">d</mi><msup><mi>λ</mi><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>s</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
Z\!\left(e_1,i\right)&amp;\coloneqq\int_{s_1\in\vec E^{\parallel(1)}_{e_1}}
\int_{m_1\in M^{(1)}_{e_1+s_1}}
\mathrm e^{-i\left(s_1\right)}\,\mathrm d\lambda^{\parallel(1)}\!\left(s_1\right)
\mathrm d\mu^{(1)}_{e_1+s_1}\!\left(m_1\right)\\
&amp;=\int_{s_1\in\vec E^{\parallel(1)}_{e_1}}
\Omega^{(1)}\!\left(e_1+s_1\right)
\mathrm e^{-i\left(s_1\right)}\,\mathrm d\lambda^{\parallel(1)}\!\left(s_1\right),
\end{align*}</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><msub><mi>I</mi><msub><mi>e</mi><mn>1</mn></msub></msub><mo>⊆</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo><mo mathvariant="normal">′</mo></mrow></msup></mrow><annotation encoding="application/x-tex">I_{e_1}\subseteq\vec W^{\parallel(1)\prime}</annotation></semantics></math></span></span> is the region of <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> in which the integral converges. It is possible that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>I</mi><msub><mi>e</mi><mn>1</mn></msub></msub><mo>=</mo><mi mathvariant="normal">∅</mi></mrow><annotation encoding="application/x-tex">I_{e_1}=\varnothing</annotation></semantics></math></span></span> for all <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>e</mi><mn>1</mn></msub><mo>∈</mo><msup><mi>E</mi><mrow><mo>⊥</mo><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">e_1\in E^{\perp(1)}</annotation></semantics></math></span></span>, and in this case the thermal ensemble is not defined.</p>
<hr/>
<p>Because we have got rid of arguments about the bath and the composite system, we can now define the partition function without the “<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><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>” superscript: <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>e</mi><mo separator="true">,</mo><mi>i</mi><mo fence="true">)</mo></mrow><mo>=</mo><msub><mo>∫</mo><mrow><mi>s</mi><mo>∈</mo><msubsup><mover accent="true"><mi>E</mi><mo>⃗</mo></mover><mi>e</mi><mo lspace="0em" rspace="0em">∥</mo></msubsup></mrow></msub><mi mathvariant="normal">Ω</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo>+</mo><mi>s</mi><mo fence="true">)</mo></mrow><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>i</mi><mrow><mo fence="true">(</mo><mi>s</mi><mo fence="true">)</mo></mrow></mrow></msup><mtext> </mtext><mi mathvariant="normal">d</mi><msup><mi>λ</mi><mo lspace="0em" rspace="0em">∥</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>s</mi><mo fence="true">)</mo></mrow><mo separator="true">,</mo><mspace width="1em"/><mi>e</mi><mo>∈</mo><msup><mi>E</mi><mo>⊥</mo></msup><mo separator="true">,</mo><mspace width="1em"/><mi>i</mi><mo>∈</mo><msub><mi>I</mi><mi>e</mi></msub><mo>⊆</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo mathvariant="normal">′</mo></mrow></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">Z\!\left(e,i\right)=\int_{s\in\vec E^{\parallel}_e}
\Omega\!\left(e+s\right)
\mathrm e^{-i\left(s\right)}\,\mathrm d\lambda^{\parallel}\!\left(s\right),\quad
e\in E^\perp,\quad i\in I_e\subseteq\vec W^{\parallel\prime}.</annotation></semantics></math></span></span></span> By looking at the definition, we may see that the partition function is just the partial 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></mrow><annotation encoding="application/x-tex">\Omega</annotation></semantics></math></span></span>.</p>
<p>Note that the partition function is unique only up to a positive constant factor because we can choose another <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>λ</mi><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\lambda^\parallel</annotation></semantics></math></span></span> by multiplying a positive constant factor.</p>
<p>The partition function has very good properties.</p>
<p class="no-indent">
<strong>Theorem.</strong> For any <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>E</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">e\in E^\perp</annotation></semantics></math></span></span>, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>I</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">I_e</annotation></semantics></math></span></span> is convex.
</p>
<details>
<summary>
Proof
</summary>
<p class="no-indent">
<em>Proof.</em> Suppose <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>i</mi><mo separator="true">,</mo><msup><mi>i</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>∈</mo><msub><mi>I</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">i,i'\in I_e</annotation></semantics></math></span></span>. The functional <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>i</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>−</mo><mi>i</mi></mrow><annotation encoding="application/x-tex">i'-i</annotation></semantics></math></span></span> defines a hyperplane <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>H</mi><mo><mi mathvariant="normal">≔</mi></mo><mi mathvariant="normal">Ker</mi><mo>⁡</mo><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>i</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>−</mo><mi>i</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">H\coloneqq\operatorname{Ker}\!\left(i'-i\right)</annotation></semantics></math></span></span>. The hyperplane separate <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span> into two half-spaces <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>H</mi><mo>+</mo></msup></mrow><annotation encoding="application/x-tex">H^+</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>H</mi><mo>−</mo></msup></mrow><annotation encoding="application/x-tex">H^-</annotation></semantics></math></span></span> defined as <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>H</mi><mo>±</mo></msup><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">{</mo><mi>s</mi><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup><mtext> </mtext><mo fence="true" lspace="0.05em" rspace="0.05em">|</mo><mtext> </mtext><msup><mi>i</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>s</mi><mo fence="true">)</mo></mrow><mo>−</mo><mi>i</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>s</mi><mo fence="true">)</mo></mrow><mo>≷</mo><mn>0</mn><mo fence="true">}</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">H^\pm\coloneqq\left\{s\in\vec W^\parallel\,\middle|\,i'\!\left(s\right)-i\!\left(s\right)\gtrless0\right\}.</annotation></semantics></math></span></span></span> By definition, <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>e</mi><mo separator="true">,</mo><mi>i</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">Z\!\left(e,i\right)</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>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">[</mo><mi>e</mi><mo separator="true">,</mo><msup><mi>i</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo fence="true">]</mo></mrow></mrow><annotation encoding="application/x-tex">Z\!\left[e,i'\right]</annotation></semantics></math></span></span> both converge. Let <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>t</mi><mo>∈</mo><mrow><mo fence="true">[</mo><mn>0</mn><mo separator="true">,</mo><mn>1</mn><mo fence="true">]</mo></mrow></mrow><annotation encoding="application/x-tex">t\in\left[0,1\right]</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><mtable rowspacing="0.25em" columnalign="right left" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo separator="true">,</mo><mi>i</mi><mo>+</mo><mi>t</mi><mrow><mo fence="true">(</mo><msup><mi>i</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>−</mo><mi>i</mi><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mrow><mo fence="true">(</mo><msub><mo>∫</mo><mrow><mi>s</mi><mo>∈</mo><msubsup><mover accent="true"><mi>E</mi><mo>⃗</mo></mover><mi>e</mi><mo lspace="0em" rspace="0em">∥</mo></msubsup><mo>∩</mo><msup><mi>H</mi><mo>+</mo></msup></mrow></msub><mo>+</mo><msub><mo>∫</mo><mrow><mi>s</mi><mo>∈</mo><msubsup><mover accent="true"><mi>E</mi><mo>⃗</mo></mover><mi>e</mi><mo lspace="0em" rspace="0em">∥</mo></msubsup><mo>∩</mo><msup><mi>H</mi><mo>−</mo></msup></mrow></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">Ω</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo>+</mo><mi>s</mi><mo fence="true">)</mo></mrow><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>i</mi><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo><mo>−</mo><mi>t</mi><mo stretchy="false">(</mo><msup><mi>i</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo><mo>−</mo><mi>i</mi><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo><mo stretchy="false">)</mo></mrow></msup><mtext> </mtext><mi mathvariant="normal">d</mi><msup><mi>λ</mi><mo lspace="0em" rspace="0em">∥</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>s</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><msub><mo>∫</mo><mrow><mi>s</mi><mo>∈</mo><msubsup><mover accent="true"><mi>E</mi><mo>⃗</mo></mover><mi>e</mi><mo lspace="0em" rspace="0em">∥</mo></msubsup><mo>∩</mo><msup><mi>H</mi><mo>+</mo></msup></mrow></msub><mi mathvariant="normal">Ω</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo>+</mo><mi>s</mi><mo fence="true">)</mo></mrow><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>i</mi><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo></mrow></msup><mtext> </mtext><mi mathvariant="normal">d</mi><msup><mi>λ</mi><mo lspace="0em" rspace="0em">∥</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>s</mi><mo fence="true">)</mo></mrow><mo>+</mo><msub><mo>∫</mo><mrow><mi>s</mi><mo>∈</mo><msubsup><mover accent="true"><mi>E</mi><mo>⃗</mo></mover><mi>e</mi><mo lspace="0em" rspace="0em">∥</mo></msubsup><mo>∩</mo><msup><mi>H</mi><mo>−</mo></msup></mrow></msub><mi mathvariant="normal">Ω</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo>+</mo><mi>s</mi><mo fence="true">)</mo></mrow><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><msup><mi>i</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo></mrow></msup><mtext> </mtext><mi mathvariant="normal">d</mi><msup><mi>λ</mi><mo lspace="0em" rspace="0em">∥</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>s</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>&lt;</mo><mi mathvariant="normal">∞</mi><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
Z\!\left(e,i+t\left(i'-i\right)\right)
&amp;=\left(\int_{s\in\vec E^{\parallel}_e\cap H^+}+\int_{s\in\vec E^{\parallel}_e\cap H^-}\right)
\Omega\!\left(e+s\right)
\mathrm e^{-i(s)-t(i'(s)-i(s))}\,\mathrm d\lambda^{\parallel}\!\left(s\right)\\
&amp;\le\int_{s\in\vec E^{\parallel}_e\cap H^+}\Omega\!\left(e+s\right)
\mathrm e^{-i(s)}\,\mathrm d\lambda^{\parallel}\!\left(s\right)
+\int_{s\in\vec E^{\parallel}_e\cap H^-}\Omega\!\left(e+s\right)
\mathrm e^{-i'(s)}\,\mathrm d\lambda^{\parallel}\!\left(s\right)\\
&amp;&lt;\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>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">[</mo><mi>e</mi><mo separator="true">,</mo><mi>i</mi><mo>+</mo><mi>t</mi><mrow><mo fence="true">(</mo><msup><mi>i</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>−</mo><mi>i</mi><mo fence="true">)</mo></mrow><mo fence="true">]</mo></mrow></mrow><annotation encoding="application/x-tex">Z\!\left[e,i+t\left(i'-i\right)\right]</annotation></semantics></math></span></span> converges. <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>
</details>
<p>Being convex is good because it means that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>I</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">I_e</annotation></semantics></math></span></span> is not too shattered. It is connected, and its interior <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">Int</mi><mo>⁡</mo><msub><mi>I</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">\operatorname{Int}I_e</annotation></semantics></math></span></span> and closure <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">Cl</mi><mo>⁡</mo><msub><mi>I</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">\operatorname{Cl}I_e</annotation></semantics></math></span></span> look very much like <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>I</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">I_e</annotation></semantics></math></span></span> itself. Also, every point in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>I</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">I_e</annotation></semantics></math></span></span> is a limit point of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>I</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">I_e</annotation></semantics></math></span></span>. This makes it possible to talk about the limits and derivatives of <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>e</mi><mo separator="true">,</mo><mi>i</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">Z\!\left(e,i\right)</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>i</mi></mrow><annotation encoding="application/x-tex">i</annotation></semantics></math></span></span>.</p>
<p>Since <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>I</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">I_e</annotation></semantics></math></span></span> is a region in a finite-dimensional space <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo mathvariant="normal">′</mo></mrow></msup></mrow><annotation encoding="application/x-tex">\vec W^{\parallel\prime}</annotation></semantics></math></span></span>, we may define the derivatives w.r.t. <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> in terms of partial derivatives to components of <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>. To define the components of <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>, we need first a basis on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span>, which sets a coordinate system although actually we should finally derive coordinate-independent conclusions.</p>
<p>Suppose we have a basis on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span>. Then, for any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>s</mi><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">s\in\vec W^\parallel</annotation></semantics></math></span></span>, we can write its components as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>s</mi><mo>∙</mo></msub></mrow><annotation encoding="application/x-tex">s_\bullet</annotation></semantics></math></span></span>, and for any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>i</mi><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo mathvariant="normal">′</mo></mrow></msup></mrow><annotation encoding="application/x-tex">i\in\vec W^{\parallel\prime}</annotation></semantics></math></span></span>, we can write its components as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>i</mi><mo>∙</mo></msub></mrow><annotation encoding="application/x-tex">i_\bullet</annotation></semantics></math></span></span>. The subscript “<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">\bullet</annotation></semantics></math></span></span>” here can act as dummy indices (for multi-index notation). For example, we can write <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>i</mi><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo><mo>=</mo><msub><mi>i</mi><mo>∙</mo></msub><msub><mi>s</mi><mo>∙</mo></msub></mrow><annotation encoding="application/x-tex">i(s)=i_\bullet s_\bullet</annotation></semantics></math></span></span>. I do not use superscript and subscript to distinguish vectors and linear functionals because it is just for multi-index notation and because I am going to use them to label multi-index objects that are neither vectors nor linear functionals.</p>
<p class="no-indent">
<strong>Theorem.</strong> For any <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>E</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">e\in E^\perp</annotation></semantics></math></span></span>, <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>e</mi><mo separator="true">,</mo><mi>i</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">Z\!\left(e,i\right)</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>C</mi><mi mathvariant="normal">∞</mi></msup></mrow><annotation encoding="application/x-tex">C^\infty</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>i</mi></mrow><annotation encoding="application/x-tex">i</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="normal">Int</mi><mo>⁡</mo><msub><mi>I</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">\operatorname{Int}I_e</annotation></semantics></math></span></span>.
</p>
<details>
<summary>
Proof
</summary>
<p class="no-indent">
<em>Proof.</em> By the definition of the interior of a region, for any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>i</mi><mo>∈</mo><mi mathvariant="normal">Int</mi><mo>⁡</mo><msub><mi>I</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">i\in\operatorname{Int}I_e</annotation></semantics></math></span></span> and any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>p</mi><mo>∈</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mrow><mo>∥</mo><mo mathvariant="normal">′</mo></mrow></msup></mrow><annotation encoding="application/x-tex">p\in\vec W^{\parallel\prime}</annotation></semantics></math></span></span>, there exists <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>δ</mi><mrow><mi>i</mi><mo separator="true">,</mo><mi>p</mi></mrow></msub><mo>&gt;</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">\delta_{i,p}&gt;0</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><mi>i</mi><mo>+</mo><msub><mi>δ</mi><mrow><mi>i</mi><mo separator="true">,</mo><mi>p</mi></mrow></msub><mi>p</mi><mo>∈</mo><msub><mi>I</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">i+\delta_{i,p}p\in I_e</annotation></semantics></math></span></span>.
</p>
<p>By Leibniz’s integral rule, the partial derivatives of <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>e</mi><mo separator="true">,</mo><mi>i</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">Z\!\left(e,i\right)</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>i</mi></mrow><annotation encoding="application/x-tex">i</annotation></semantics></math></span></span> (if existing) are given by <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"><mfrac><mrow><msup><mi mathvariant="normal">∂</mi><mrow><mi mathvariant="normal">Σ</mi><msub><mi>α</mi><mo>∙</mo></msub></mrow></msup><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo separator="true">,</mo><mi>i</mi><mo fence="true">)</mo></mrow></mrow><mrow><msup><mi mathvariant="normal">∂</mi><msub><mi>α</mi><mo>∙</mo></msub></msup><msub><mi>i</mi><mo>∙</mo></msub></mrow></mfrac></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msub><mo>∫</mo><mrow><mi>s</mi><mo>∈</mo><msubsup><mover accent="true"><mi>E</mi><mo>⃗</mo></mover><mi>e</mi><mo lspace="0em" rspace="0em">∥</mo></msubsup></mrow></msub><mi mathvariant="normal">Ω</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo>+</mo><mi>s</mi><mo fence="true">)</mo></mrow><msup><mrow><mo fence="true">(</mo><mo>−</mo><msub><mi>s</mi><mo>∙</mo></msub><mo fence="true">)</mo></mrow><msub><mi>α</mi><mo>∙</mo></msub></msup><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>i</mi><mrow><mo fence="true">(</mo><mi>s</mi><mo fence="true">)</mo></mrow></mrow></msup><mtext> </mtext><mi mathvariant="normal">d</mi><msup><mi>λ</mi><mo lspace="0em" rspace="0em">∥</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>s</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><msub><mo>∫</mo><mrow><mi>s</mi><mo>∈</mo><msubsup><mover accent="true"><mi>E</mi><mo>⃗</mo></mover><mi>e</mi><mo lspace="0em" rspace="0em">∥</mo></msubsup></mrow></msub><mi mathvariant="normal">Ω</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo>+</mo><mi>s</mi><mo fence="true">)</mo></mrow><msup><mrow><mo fence="true">∣</mo><msub><mi>s</mi><mo>∙</mo></msub><mo fence="true">∣</mo></mrow><msub><mi>α</mi><mo>∙</mo></msub></msup><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>i</mi><mrow><mo fence="true">(</mo><mi>s</mi><mo fence="true">)</mo></mrow></mrow></msup><mtext> </mtext><mi mathvariant="normal">d</mi><msup><mi>λ</mi><mo lspace="0em" rspace="0em">∥</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>s</mi><mo fence="true">)</mo></mrow></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
\frac{\partial^{\Sigma\alpha_\bullet}Z\!\left(e,i\right)}{\partial^{\alpha_\bullet}i_\bullet}
&amp;=\int_{s\in\vec E^{\parallel}_e}
\Omega\!\left(e+s\right)\left(-s_\bullet\right)^{\alpha_\bullet}
\mathrm e^{-i\left(s\right)}\,\mathrm d\lambda^{\parallel}\!\left(s\right)\\
&amp;\le\int_{s\in\vec E^{\parallel}_e}
\Omega\!\left(e+s\right)\left|s_\bullet\right|^{\alpha_\bullet}
\mathrm e^{-i\left(s\right)}\,\mathrm d\lambda^{\parallel}\!\left(s\right)
\end{align*}</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><msub><mi>α</mi><mo>∙</mo></msub></mrow><annotation encoding="application/x-tex">\alpha_\bullet</annotation></semantics></math></span></span> is some natural numbers indexed by <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">\bullet</annotation></semantics></math></span></span>. Now we just need to prove that this integral converges for any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>i</mi><mo>∈</mo><mi mathvariant="normal">Int</mi><mo>⁡</mo><msub><mi>I</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">i\in\operatorname{Int}I_e</annotation></semantics></math></span></span>.</p>
<p>Because of the inequality <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>a</mi><mi>ln</mi><mo>⁡</mo><mi>x</mi><mo>−</mo><mi>b</mi><mi>x</mi><mo>≤</mo><mi>a</mi><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mfrac><mi>a</mi><mi>b</mi></mfrac><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo separator="true">,</mo><mspace width="1em"/><mi>a</mi><mo separator="true">,</mo><mi>b</mi><mo separator="true">,</mo><mi>x</mi><mo>&gt;</mo><mn>0</mn><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">a\ln x-bx\le a\left(\ln\frac ab-1\right),\quad a,b,x&gt;0,</annotation></semantics></math></span></span></span> where the equality holds when <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>x</mi><mo>=</mo><mi>a</mi><mi mathvariant="normal">/</mi><mi>b</mi></mrow><annotation encoding="application/x-tex">x=a/b</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><msup><mrow><mo fence="true">∣</mo><msub><mi>s</mi><mo>∙</mo></msub><mo fence="true">∣</mo></mrow><msub><mi>α</mi><mo>∙</mo></msub></msup><mo>≤</mo><msup><mrow><mo fence="true">(</mo><mfrac><msub><mi>α</mi><mo>∙</mo></msub><mrow><mi mathvariant="normal">e</mi><mi>b</mi></mrow></mfrac><mo fence="true">)</mo></mrow><msub><mi>α</mi><mo>∙</mo></msub></msup><msup><mi mathvariant="normal">e</mi><mrow><mi>b</mi><mi mathvariant="normal">Σ</mi><mrow><mo fence="true">∣</mo><msub><mi>s</mi><mo>∙</mo></msub><mo fence="true">∣</mo></mrow></mrow></msup><mo separator="true">,</mo><mspace width="1em"/><mi>b</mi><mo>&gt;</mo><mn>0.</mn></mrow><annotation encoding="application/x-tex">\left|s_\bullet\right|^{\alpha_\bullet}
\le\left(\frac{\alpha_\bullet}{\mathrm eb}\right)^{\alpha_\bullet}\mathrm e^{b\Sigma\left|s_\bullet\right|},
\quad b&gt;0.</annotation></semantics></math></span></span></span></p>
<p>There are <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mn>2</mn><mrow><mi>dim</mi><mo>⁡</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow></msup></mrow><annotation encoding="application/x-tex">2^{\dim\vec W^\parallel}</annotation></semantics></math></span></span> orthants in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span>. We can label each of them by a string <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>σ</mi><mo>∙</mo></msub></mrow><annotation encoding="application/x-tex">\sigma_\bullet</annotation></semantics></math></span></span> of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo>±</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">\pm1</annotation></semantics></math></span></span> of length <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>dim</mi><mo>⁡</mo><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\dim\vec W^\parallel</annotation></semantics></math></span></span>. Then, each orthant can be denoted as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>O</mi><mi>σ</mi></msub></mrow><annotation encoding="application/x-tex">O_\sigma</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><mi mathvariant="normal">∀</mi><mi>s</mi><mo>∈</mo><msub><mi>O</mi><mi>σ</mi></msub><mo>:</mo><msub><mi>σ</mi><mo>∙</mo></msub><msub><mi>s</mi><mo>∙</mo></msub><mo>=</mo><mi mathvariant="normal">Σ</mi><mrow><mo fence="true">∣</mo><msub><mi>s</mi><mo>∙</mo></msub><mo fence="true">∣</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\forall s\in O_\sigma:\sigma_\bullet s_\bullet=\Sigma\left|s_\bullet\right|.</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><mi mathvariant="normal">∀</mi><mi>s</mi><mo>∈</mo><msub><mi>O</mi><mi>σ</mi></msub><mo>:</mo><msup><mrow><mo fence="true">∣</mo><msub><mi>s</mi><mo>∙</mo></msub><mo fence="true">∣</mo></mrow><msub><mi>α</mi><mo>∙</mo></msub></msup><mo>≤</mo><msup><mrow><mo fence="true">(</mo><mfrac><msub><mi>α</mi><mo>∙</mo></msub><mrow><mi mathvariant="normal">e</mi><mi>b</mi></mrow></mfrac><mo fence="true">)</mo></mrow><msub><mi>α</mi><mo>∙</mo></msub></msup><msup><mi mathvariant="normal">e</mi><mrow><mi>b</mi><msub><mi>σ</mi><mo>∙</mo></msub><msub><mi>s</mi><mo>∙</mo></msub></mrow></msup><mo separator="true">,</mo><mspace width="1em"/><mi>b</mi><mo>&gt;</mo><mn>0.</mn></mrow><annotation encoding="application/x-tex">\forall s\in O_\sigma:\left|s_\bullet\right|^{\alpha_\bullet}
\le\left(\frac{\alpha_\bullet}{\mathrm eb}\right)^{\alpha_\bullet}\mathrm e^{b\sigma_\bullet s_\bullet},
\quad b&gt;0.</annotation></semantics></math></span></span></span></p>
<p>Let <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>b</mi><mo><mi mathvariant="normal">≔</mi></mo><msub><mi>δ</mi><mrow><mi>i</mi><mo separator="true">,</mo><mo>−</mo><mi>σ</mi></mrow></msub></mrow><annotation encoding="application/x-tex">b\coloneqq\delta_{i,-\sigma}</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>σ</mi><mo>:</mo><mi>s</mi><mo>↦</mo><msub><mi>σ</mi><mo>∙</mo></msub><msub><mi>s</mi><mo>∙</mo></msub></mrow><annotation encoding="application/x-tex">\sigma:s\mapsto\sigma_\bullet s_\bullet</annotation></semantics></math></span></span> is a linear functional. 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><mi mathvariant="normal">∀</mi><mi>s</mi><mo>∈</mo><msub><mi>O</mi><mi>σ</mi></msub><mo>:</mo><msup><mrow><mo fence="true">∣</mo><msub><mi>s</mi><mo>∙</mo></msub><mo fence="true">∣</mo></mrow><msub><mi>α</mi><mo>∙</mo></msub></msup><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>i</mi><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo></mrow></msup><mo>≤</mo><msup><mrow><mo fence="true">(</mo><mfrac><msub><mi>α</mi><mo>∙</mo></msub><mrow><mi mathvariant="normal">e</mi><msub><mi>δ</mi><mrow><mi>i</mi><mo separator="true">,</mo><mo>−</mo><mi>σ</mi></mrow></msub></mrow></mfrac><mo fence="true">)</mo></mrow><msub><mi>α</mi><mo>∙</mo></msub></msup><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mrow><mo fence="true">(</mo><mi>i</mi><mo>−</mo><msub><mi>δ</mi><mrow><mi>i</mi><mo separator="true">,</mo><mo>−</mo><mi>σ</mi></mrow></msub><mi>σ</mi><mo fence="true">)</mo></mrow><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo></mrow></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\forall s\in O_\sigma:\left|s_\bullet\right|^{\alpha_\bullet}\mathrm e^{-i(s)}
\le\left(\frac{\alpha_\bullet}{\mathrm e\delta_{i,-\sigma}}\right)^{\alpha_\bullet}
\mathrm e^{-\left(i-\delta_{i,-\sigma}\sigma\right)(s)}.</annotation></semantics></math></span></span></span> Because
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>i</mi><mo>−</mo><msub><mi>δ</mi><mrow><mi>i</mi><mo separator="true">,</mo><mo>−</mo><mi>σ</mi></mrow></msub><mi>σ</mi><mo>∈</mo><msub><mi>I</mi><mi>e</mi></msub></mrow><annotation encoding="application/x-tex">i-\delta_{i,-\sigma}\sigma\in I_e</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><mfrac><mrow><msup><mi mathvariant="normal">∂</mi><mrow><mi mathvariant="normal">Σ</mi><msub><mi>α</mi><mo>∙</mo></msub></mrow></msup><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo separator="true">,</mo><mi>i</mi><mo fence="true">)</mo></mrow></mrow><mrow><msup><mi mathvariant="normal">∂</mi><msub><mi>α</mi><mo>∙</mo></msub></msup><msub><mi>i</mi><mo>∙</mo></msub></mrow></mfrac><mo>≤</mo><munder><mo>∑</mo><mi>σ</mi></munder><msup><mrow><mo fence="true">(</mo><mfrac><msub><mi>α</mi><mo>∙</mo></msub><mrow><mi mathvariant="normal">e</mi><msub><mi>δ</mi><mrow><mi>i</mi><mo separator="true">,</mo><mo>−</mo><mi>σ</mi></mrow></msub></mrow></mfrac><mo fence="true">)</mo></mrow><msub><mi>α</mi><mo>∙</mo></msub></msup><msub><mo>∫</mo><mrow><mi>s</mi><mo>∈</mo><msubsup><mover accent="true"><mi>E</mi><mo>⃗</mo></mover><mi>e</mi><mo lspace="0em" rspace="0em">∥</mo></msubsup><mo>∩</mo><msub><mi>O</mi><mi>σ</mi></msub></mrow></msub><mi mathvariant="normal">Ω</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo>+</mo><mi>s</mi><mo fence="true">)</mo></mrow><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mrow><mo fence="true">(</mo><mi>i</mi><mo>−</mo><msub><mi>δ</mi><mrow><mi>i</mi><mo separator="true">,</mo><mo>−</mo><mi>σ</mi></mrow></msub><mi>σ</mi><mo fence="true">)</mo></mrow><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo></mrow></msup><mtext> </mtext><mi mathvariant="normal">d</mi><msup><mi>λ</mi><mo lspace="0em" rspace="0em">∥</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>s</mi><mo fence="true">)</mo></mrow><mo>&lt;</mo><mi mathvariant="normal">∞</mi><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\frac{\partial^{\Sigma\alpha_\bullet}Z\!\left(e,i\right)}{\partial^{\alpha_\bullet}i_\bullet}
\le\sum_\sigma\left(\frac{\alpha_\bullet}{\mathrm e\delta_{i,-\sigma}}\right)^{\alpha_\bullet}
\int_{s\in\vec E^{\parallel}_e\cap O_\sigma}\Omega\!\left(e+s\right)
\mathrm e^{-\left(i-\delta_{i,-\sigma}\sigma\right)(s)}\,
\mathrm d\lambda^{\parallel}\!\left(s\right)&lt;\infty.</annotation></semantics></math></span></span></span> Therefore, the partial derivatives exist. <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>
</details>
<hr/>
<p>The next step is to find the macroscopic quantities. The equilibrium states are <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>p</mi><mi>e</mi><mrow><mo>∥</mo><mo>∘</mo></mrow></msubsup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo separator="true">,</mo><mi>m</mi><mo fence="true">)</mo></mrow><mo>=</mo><mfrac><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>i</mi><mrow><mo fence="true">(</mo><mi>e</mi><mo fence="true">)</mo></mrow></mrow></msup><mrow><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>π</mi><mo stretchy="false">(</mo><mi>e</mi><mo stretchy="false">)</mo><mo separator="true">,</mo><mi>i</mi><mo fence="true">)</mo></mrow></mrow></mfrac><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">p_e^{\parallel\circ}\!\left(e,m\right)
=\frac{\mathrm e^{-i\left(e\right)}}{Z\!\left(\pi(e),i\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>Z</mi></mrow><annotation encoding="application/x-tex">Z</annotation></semantics></math></span></span> is the partition function. Here the role 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> becomes the label parameter in Equation <a href="#eq:eq-fundamental-equation-before">3</a>. The measured value of extensive quantities under equilibrium is then <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"><msup><mi>ε</mi><mo>∘</mo></msup></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mfrac><mn>1</mn><mrow><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo separator="true">,</mo><mi>i</mi><mo fence="true">)</mo></mrow></mrow></mfrac><msub><mo>∫</mo><mrow><mi>s</mi><mo>∈</mo><msubsup><mover accent="true"><mi>E</mi><mo>⃗</mo></mover><mi>e</mi><mo lspace="0em" rspace="0em">∥</mo></msubsup></mrow></msub><mrow><mo fence="true">(</mo><mi>e</mi><mo>+</mo><mi>s</mi><mo fence="true">)</mo></mrow><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>i</mi><mrow><mo fence="true">(</mo><mi>s</mi><mo fence="true">)</mo></mrow></mrow></msup><mi mathvariant="normal">Ω</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo>+</mo><mi>s</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msup><mi>λ</mi><mo lspace="0em" rspace="0em">∥</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>s</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>e</mi><mo>+</mo><mfrac><mn>1</mn><mrow><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo separator="true">,</mo><mi>i</mi><mo fence="true">)</mo></mrow></mrow></mfrac><msub><mo>∫</mo><mrow><mi>s</mi><mo>∈</mo><msubsup><mover accent="true"><mi>E</mi><mo>⃗</mo></mover><mi>e</mi><mo lspace="0em" rspace="0em">∥</mo></msubsup></mrow></msub><mi>s</mi><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>i</mi><mrow><mo fence="true">(</mo><mi>s</mi><mo fence="true">)</mo></mrow></mrow></msup><mi mathvariant="normal">Ω</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo>+</mo><mi>s</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msup><mi>λ</mi><mo lspace="0em" rspace="0em">∥</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>s</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>e</mi><mo>+</mo><mfrac><mrow><mi mathvariant="normal">∂</mi><mi>ln</mi><mo>⁡</mo><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo separator="true">,</mo><mi>i</mi><mo fence="true">)</mo></mrow></mrow><mrow><mi mathvariant="normal">∂</mi><mi>i</mi></mrow></mfrac><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
\varepsilon^\circ
&amp;=\frac1{Z\!\left(e,i\right)}\int_{s\in\vec E^{\parallel}_e}
\left(e+s\right)\mathrm e^{-i\left(s\right)}
\Omega\!\left(e+s\right)\mathrm d\lambda^{\parallel}\!\left(s\right)\\
&amp;=e+\frac1{Z\!\left(e,i\right)}\int_{s\in\vec E^{\parallel}_e}
s\mathrm e^{-i\left(s\right)}
\Omega\!\left(e+s\right)\mathrm d\lambda^{\parallel}\!\left(s\right)\\
&amp;=e+\frac{\partial\ln Z\!\left(e,i\right)}{\partial i}.
\end{align*}</annotation></semantics></math></span></span></span> The entropy under equilibrium is then <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"><msup><mi>S</mi><mo>∘</mo></msup></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msub><mo>∫</mo><mrow><mi>s</mi><mo>∈</mo><msubsup><mover accent="true"><mi>E</mi><mo>⃗</mo></mover><mi>e</mi><mo lspace="0em" rspace="0em">∥</mo></msubsup></mrow></msub><mfrac><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>i</mi><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo></mrow></msup><mrow><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo separator="true">,</mo><mi>i</mi><mo fence="true">)</mo></mrow></mrow></mfrac><mi>ln</mi><mo>⁡</mo><mfrac><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>i</mi><mo stretchy="false">(</mo><mi>s</mi><mo stretchy="false">)</mo></mrow></msup><mrow><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo separator="true">,</mo><mi>i</mi><mo fence="true">)</mo></mrow></mrow></mfrac><mi mathvariant="normal">Ω</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo>+</mo><mi>s</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msup><mi>λ</mi><mo lspace="0em" rspace="0em">∥</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>s</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><mo>−</mo><mfrac><mn>1</mn><mrow><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo separator="true">,</mo><mi>i</mi><mo fence="true">)</mo></mrow></mrow></mfrac><msub><mo>∫</mo><mrow><mi>s</mi><mo>∈</mo><msubsup><mover accent="true"><mi>E</mi><mo>⃗</mo></mover><mi>e</mi><mo lspace="0em" rspace="0em">∥</mo></msubsup></mrow></msub><mi>i</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>s</mi><mo fence="true">)</mo></mrow><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>i</mi><mrow><mo fence="true">(</mo><mi>s</mi><mo fence="true">)</mo></mrow></mrow></msup><mi mathvariant="normal">Ω</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo>+</mo><mi>s</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msup><mi>λ</mi><mo lspace="0em" rspace="0em">∥</mo></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>s</mi><mo fence="true">)</mo></mrow><mo>+</mo><mi>ln</mi><mo>⁡</mo><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo separator="true">,</mo><mi>i</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><mo>−</mo><mi>i</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mfrac><mrow><mi mathvariant="normal">∂</mi><mi>ln</mi><mo>⁡</mo><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo separator="true">,</mo><mi>i</mi><mo fence="true">)</mo></mrow></mrow><mrow><mi mathvariant="normal">∂</mi><mi>i</mi></mrow></mfrac><mo fence="true">)</mo></mrow><mo>+</mo><mi>ln</mi><mo>⁡</mo><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>e</mi><mo separator="true">,</mo><mi>i</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
S^\circ
&amp;=\int_{s\in\vec E^{\parallel}_e}
\frac{\mathrm e^{-i(s)}}{Z\!\left(e,i\right)}\ln\frac{\mathrm e^{-i(s)}}{Z\!\left(e,i\right)}
\Omega\!\left(e+s\right)\mathrm d\lambda^{\parallel}\!\left(s\right)\\
&amp;=-\frac1{Z\!\left(e,i\right)}\int_{s\in\vec E^{\parallel}_e}
i\!\left(s\right)\mathrm e^{-i\left(s\right)}
\Omega\!\left(e+s\right)\mathrm d\lambda^{\parallel}\!\left(s\right)
+\ln Z\!\left(e,i\right)\\
&amp;=-i\!\left(\frac{\partial\ln Z\!\left(e,i\right)}{\partial i}\right)+\ln Z\!\left(e,i\right).
\end{align*}</annotation></semantics></math></span></span></span> By this two equations, we can eliminate the parameter <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 get the fundamental equation in the form of Equation <a href="#eq:eq-fundamental-equation">4</a>:
<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>S</mi><mo>∘</mo></msup><mo>=</mo><mi>i</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>ε</mi><mo>∘</mo></msup><mo fence="true">)</mo></mrow><mo>+</mo><mi>ln</mi><mo>⁡</mo><mi>Z</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>π</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>ε</mi><mo>∘</mo></msup><mo fence="true">)</mo></mrow><mo separator="true">,</mo><mi>i</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">S^\circ=i\!\left(\varepsilon^\circ\right)+\ln Z\!\left(\pi\!\left(\varepsilon^\circ\right),i\right).</annotation></semantics></math></span></span></span> We can see that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>S</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">S^\circ</annotation></semantics></math></span></span> decouples into two terms, one of which is only related to the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span> component of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>ε</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">\varepsilon^\circ</annotation></semantics></math></span></span>, and the other of which is only related to the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>W</mi><mo>⊥</mo></msup></mrow><annotation encoding="application/x-tex">W^\perp</annotation></semantics></math></span></span> component of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>ε</mi><mo>∘</mo></msup></mrow><annotation encoding="application/x-tex">\varepsilon^\circ</annotation></semantics></math></span></span>. What is good is that we have a good notion of derivative w.r.t. the first term, and it 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>. Therefore, the intensive quantities corresponding to change of extensive quantities in the subspace <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mover accent="true"><mi>W</mi><mo>⃗</mo></mover><mo>∥</mo></msup></mrow><annotation encoding="application/x-tex">\vec W^\parallel</annotation></semantics></math></span></span> is well defined and is constant <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>, which is just what we have been calling the fixed intensive quantities. The other components of the intensive quantities are not guaranteed to be well-defined because <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><mo>⋅</mo><mo separator="true">,</mo><mi>i</mi><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">Z\!\left(\cdot,i\right)</annotation></semantics></math></span></span> is not guaranteed to have good enough properties.</p>
<hr/>
<p>
  <em>This articled is continued in <a href="/physics/2023/05/01/measure-ensemble-2.html">part 2</a>.</em>
</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="functional analysis" /><category term="measure theory" /><category term="probability" /><category term="long paper" /><summary type="html"><![CDATA[For sake of rigor and generalizability, I feel it necessary to try to have a mathematical formulation for statistical ensembles. I chose measure spaces as the underlying mathematical structure of thermal systems and tried to justify the method of statistical ensembles by deducing them from some axioms.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://ulysseszh.github.io/assets/images/covers/2023-03-30-measure-ensemble.png" /><media:content medium="image" url="https://ulysseszh.github.io/assets/images/covers/2023-03-30-measure-ensemble.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html"><![CDATA[Relationship between the Gini coefficient and the variance]]></title><link href="https://ulysseszh.github.io/economics/2023/02/06/gini-variance.html" rel="alternate" type="text/html" title="Relationship between the Gini coefficient and the variance" /><published>2023-02-06T16:38:25-08:00</published><updated>2023-02-06T16:38:25-08:00</updated><id>https://ulysseszh.github.io/economics/2023/02/06/gini-variance</id><content type="html" xml:base="https://ulysseszh.github.io/economics/2023/02/06/gini-variance.html"><![CDATA[<p>
  <em>This article is translated from a Chinese <a href="https://zhuanlan.zhihu.com/p/367530273" target="_blank" rel="external">article</a> on my Zhihu account. The original article was posted at 2021-04-25 10:06 +0800.</em>
</p>
<hr/>
<p>First, define the Lorenz curve: it is the curve that consists of all points <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi>u</mi><mo separator="true">,</mo><mi>v</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(u,v)</annotation></semantics></math></span></span> such that the poorest <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>u</mi></mrow><annotation encoding="application/x-tex">u</annotation></semantics></math></span></span> portion of population in the country owns <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> portion of the total wealth.</p>
<p>The Gini coefficient <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>G</mi><mi mathvariant="normal">/</mi><mi>μ</mi></mrow><annotation encoding="application/x-tex">G/\mu</annotation></semantics></math></span></span> is defined as the area between the Lorenz curve and the line <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>u</mi><mo>=</mo><mi>v</mi></mrow><annotation encoding="application/x-tex">u=v</annotation></semantics></math></span></span> divided by the area enclosed by the three lines <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>u</mi><mo>=</mo><mi>v</mi></mrow><annotation encoding="application/x-tex">u=v</annotation></semantics></math></span></span>, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>v</mi><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">v=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><mi>u</mi><mo>=</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">u=1</annotation></semantics></math></span></span>.</p>
<p>Now, suppose the wealth distribution in the country is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>p</mi><mo stretchy="false">(</mo><mi>X</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">p(X)</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>p</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>x</mi></mrow><annotation encoding="application/x-tex">p\!\left(x\right)\mathrm dx</annotation></semantics></math></span></span> is the portion of population that has wealth in the range <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">[</mo><mi>x</mi><mo separator="true">,</mo><mi>x</mi><mo>+</mo><mi mathvariant="normal">d</mi><mi>x</mi><mo stretchy="false">]</mo></mrow><annotation encoding="application/x-tex">[x,x+\mathrm dx]</annotation></semantics></math></span></span>.</p>
<p>Then, the Lorenz curve is the graph of the function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>g</mi></mrow><annotation encoding="application/x-tex">g</annotation></semantics></math></span></span> defined as <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><mo stretchy="false">(</mo><mi>F</mi><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><mo stretchy="false">)</mo><mo>=</mo><mfrac><mn>1</mn><mi>μ</mi></mfrac><msubsup><mo>∫</mo><mrow><mo>−</mo><mi mathvariant="normal">∞</mi></mrow><mi>x</mi></msubsup><mi>t</mi><mi>p</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>t</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>t</mi><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">g(F(x))=\frac1\mu\int_{-\infty}^xtp\!\left(t\right)\mathrm dt,</annotation></semantics></math></span></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><mi>F</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>x</mi><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><msubsup><mo>∫</mo><mrow><mo>−</mo><mi mathvariant="normal">∞</mi></mrow><mi>x</mi></msubsup><mi>p</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>t</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>t</mi></mrow><annotation encoding="application/x-tex">F\!\left(x\right)\coloneqq\int_{-\infty}^xp\!\left(t\right)\mathrm dt</annotation></semantics></math></span></span></span> is the cumulative distribution function of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>p</mi><mo stretchy="false">(</mo><mi>X</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">p(X)</annotation></semantics></math></span></span>, and <span id="eq:eq-def-mu" 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>μ</mi><mo><mi mathvariant="normal">≔</mi></mo><msubsup><mo>∫</mo><mrow><mo>−</mo><mi mathvariant="normal">∞</mi></mrow><mrow><mo>+</mo><mi mathvariant="normal">∞</mi></mrow></msubsup><mi>t</mi><mi>p</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>t</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>t</mi></mrow><annotation encoding="application/x-tex">\mu\coloneqq\int_{-\infty}^{+\infty}tp\!\left(t\right)\mathrm dt</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 the average wealth of the population, which is just <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">E</mi><mo stretchy="false">[</mo><mi mathvariant="normal">X</mi><mo stretchy="false">]</mo></mrow><annotation encoding="application/x-tex">\mathrm E[\mathrm X]</annotation></semantics></math></span></span> (<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> is a random variable such that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>X</mi><mo>∼</mo><mi>p</mi><mo stretchy="false">(</mo><mi>X</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">X\sim p(X)</annotation></semantics></math></span></span>).</p>
<p>Then, the Lorenz curve 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><mi>v</mi><mo>=</mo><mi>g</mi><mo stretchy="false">(</mo><mi>u</mi><mo stretchy="false">)</mo><mo><mi mathvariant="normal">≔</mi></mo><mfrac><mn>1</mn><mi>μ</mi></mfrac><msubsup><mo>∫</mo><mrow><mo>−</mo><mi mathvariant="normal">∞</mi></mrow><mrow><msup><mi>F</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo stretchy="false">(</mo><mi>u</mi><mo stretchy="false">)</mo></mrow></msubsup><mi>t</mi><mi>p</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>t</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>t</mi><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">v=g(u)\coloneqq\frac1\mu\int_{-\infty}^{F^{-1}(u)}tp\!\left(t\right)\mathrm dt.</annotation></semantics></math></span></span></span></p>
<p>According to the definition of the Gini coefficient, <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"><mi>G</mi></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><mn>2</mn><mi>μ</mi><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><mrow><mo fence="true">(</mo><mi>u</mi><mo>−</mo><mi>g</mi><mo stretchy="false">(</mo><mi>u</mi><mo stretchy="false">)</mo><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>u</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><mi>μ</mi><mo>−</mo><mn>2</mn><mi>μ</mi><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><mi>g</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>u</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>u</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><mi>μ</mi><mo>−</mo><mn>2</mn><msubsup><mo>∫</mo><mrow><mi>u</mi><mo>=</mo><mn>0</mn></mrow><mn>1</mn></msubsup><msubsup><mo>∫</mo><mrow><mi>t</mi><mo>=</mo><mo>−</mo><mi mathvariant="normal">∞</mi></mrow><mrow><msup><mi>F</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo stretchy="false">(</mo><mi>u</mi><mo stretchy="false">)</mo></mrow></msubsup><mi>t</mi><mi>p</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>t</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>t</mi><mtext> </mtext><mi mathvariant="normal">d</mi><mi>u</mi><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
G&amp;\coloneqq2\mu\int_0^1\left(u-g(u)\right)\mathrm du\\
&amp;=\mu-2\mu\int_0^1g\!\left(u\right)\mathrm du\\
&amp;=\mu-2\int_{u=0}^1\int_{t=-\infty}^{F^{-1}(u)}tp\!\left(t\right)\mathrm dt\,\mathrm du.
\end{align*}</annotation></semantics></math></span></span></span> Interchange the order of integration, 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" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mi>G</mi></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mi>μ</mi><mo>−</mo><mn>2</mn><msubsup><mo>∫</mo><mrow><mi>t</mi><mo>=</mo><mo>−</mo><mi mathvariant="normal">∞</mi></mrow><mrow><mo>+</mo><mi mathvariant="normal">∞</mi></mrow></msubsup><msubsup><mo>∫</mo><mrow><mi>u</mi><mo>=</mo><mi>F</mi><mo stretchy="false">(</mo><mi>t</mi><mo stretchy="false">)</mo></mrow><mn>1</mn></msubsup><mi>t</mi><mi>p</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>t</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>t</mi><mtext> </mtext><mi mathvariant="normal">d</mi><mi>u</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><mi>μ</mi><mo>−</mo><mn>2</mn><msubsup><mo>∫</mo><mrow><mo>−</mo><mi mathvariant="normal">∞</mi></mrow><mrow><mo>+</mo><mi mathvariant="normal">∞</mi></mrow></msubsup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>F</mi><mo stretchy="false">(</mo><mi>t</mi><mo stretchy="false">)</mo><mo fence="true">)</mo></mrow><mi>t</mi><mi>p</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>t</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>t</mi><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
G&amp;=\mu-2\int_{t=-\infty}^{+\infty}\int_{u=F(t)}^1tp\!\left(t\right)\mathrm dt\,\mathrm du\\
&amp;=\mu-2\int_{-\infty}^{+\infty}\left(1-F(t)\right)tp\!\left(t\right)\mathrm dt.
\end{align*}</annotation></semantics></math></span></span></span> Substitute Equation <a href="#eq:eq-def-mu">1</a> into the above 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" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mi>G</mi></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msubsup><mo>∫</mo><mrow><mo>−</mo><mi mathvariant="normal">∞</mi></mrow><mrow><mo>+</mo><mi mathvariant="normal">∞</mi></mrow></msubsup><mn>2</mn><mi>t</mi><mi>F</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>t</mi><mo fence="true">)</mo></mrow><mi>p</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>t</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>t</mi><mo>−</mo><mi>μ</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><msubsup><mo>∫</mo><mrow><mo>−</mo><mi mathvariant="normal">∞</mi></mrow><mrow><mo>+</mo><mi mathvariant="normal">∞</mi></mrow></msubsup><mrow><mo fence="true">(</mo><mn>2</mn><mi>t</mi><mi>F</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>t</mi><mo fence="true">)</mo></mrow><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>t</mi><mi>p</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>t</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>t</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><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><mrow><mo fence="true">(</mo><mn>2</mn><mi>u</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><msup><mi>F</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>u</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>u</mi><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
G&amp;=\int_{-\infty}^{+\infty}2tF\!\left(t\right)p\!\left(t\right)\mathrm dt-\mu\\
&amp;=\int_{-\infty}^{+\infty}\left(2tF\!\left(t\right)-1\right)tp\!\left(t\right)\mathrm dt\\
&amp;=\int_0^1\left(2u-1\right)F^{-1}\!\left(u\right)\mathrm du.
\end{align*}</annotation></semantics></math></span></span></span> Now here is the neat part. Separate it into two parts, and write them in double integrals:
<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"><mi>G</mi></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><mi>u</mi><msup><mi>F</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>u</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>u</mi><mo>−</mo><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>u</mi><mo fence="true">)</mo></mrow><msup><mi>F</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>u</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>u</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><msubsup><mo>∫</mo><mrow><msub><mi>u</mi><mn>2</mn></msub><mo>=</mo><mn>0</mn></mrow><mn>1</mn></msubsup><msubsup><mo>∫</mo><mrow><msub><mi>u</mi><mn>1</mn></msub><mo>=</mo><mn>0</mn></mrow><msub><mi>u</mi><mn>2</mn></msub></msubsup><msup><mi>F</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>u</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msub><mi>u</mi><mn>1</mn></msub><mtext> </mtext><mi mathvariant="normal">d</mi><msub><mi>u</mi><mn>2</mn></msub><mo>−</mo><msubsup><mo>∫</mo><mrow><msub><mi>u</mi><mn>1</mn></msub><mo>=</mo><mn>0</mn></mrow><mn>1</mn></msubsup><msubsup><mo>∫</mo><mrow><msub><mi>u</mi><mn>2</mn></msub><mo>=</mo><msub><mi>u</mi><mn>1</mn></msub></mrow><mn>1</mn></msubsup><msup><mi>F</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>u</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msub><mi>u</mi><mn>1</mn></msub><mtext> </mtext><mi mathvariant="normal">d</mi><msub><mi>u</mi><mn>2</mn></msub><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
G&amp;=\int_0^1uF^{-1}\!\left(u\right)\mathrm du-\int_0^1\left(1-u\right)F^{-1}\!\left(u\right)\mathrm du\\
&amp;=\int_{u_2=0}^1\int_{u_1=0}^{u_2}F^{-1}\!\left(u_2\right)\mathrm du_1\,\mathrm du_2
-\int_{u_1=0}^1\int_{u_2=u_1}^1F^{-1}\!\left(u_1\right)\mathrm du_1\,\mathrm du_2.
\end{align*}</annotation></semantics></math></span></span></span>
Interchange the order of integration of the second term, 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" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mi>G</mi></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msubsup><mo>∫</mo><mrow><msub><mi>u</mi><mn>2</mn></msub><mo>=</mo><mn>0</mn></mrow><mn>1</mn></msubsup><msubsup><mo>∫</mo><mrow><msub><mi>u</mi><mn>1</mn></msub><mo>=</mo><mn>0</mn></mrow><msub><mi>u</mi><mn>2</mn></msub></msubsup><mrow><mo fence="true">(</mo><msup><mi>F</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>u</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>−</mo><msup><mi>F</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>u</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msub><mi>u</mi><mn>1</mn></msub><mtext> </mtext><mi mathvariant="normal">d</mi><msub><mi>u</mi><mn>2</mn></msub></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><mn>1</mn><mn>2</mn></mfrac><msubsup><mo>∫</mo><mrow><msub><mi>u</mi><mn>2</mn></msub><mo>=</mo><mn>0</mn></mrow><mn>1</mn></msubsup><msubsup><mo>∫</mo><mrow><msub><mi>u</mi><mn>1</mn></msub><mo>=</mo><mn>0</mn></mrow><mn>1</mn></msubsup><mrow><mo fence="true">∣</mo><msup><mi>F</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>u</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>−</mo><msup><mi>F</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>u</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mo fence="true">∣</mo></mrow><mi mathvariant="normal">d</mi><msub><mi>u</mi><mn>1</mn></msub><mtext> </mtext><mi mathvariant="normal">d</mi><msub><mi>u</mi><mn>2</mn></msub></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><mn>1</mn><mn>2</mn></mfrac><msubsup><mo>∫</mo><mrow><mo>−</mo><mi mathvariant="normal">∞</mi></mrow><mrow><mo>+</mo><mi mathvariant="normal">∞</mi></mrow></msubsup><msubsup><mo>∫</mo><mrow><mo>−</mo><mi mathvariant="normal">∞</mi></mrow><mrow><mo>+</mo><mi mathvariant="normal">∞</mi></mrow></msubsup><mrow><mo fence="true">∣</mo><msub><mi>x</mi><mn>2</mn></msub><mo>−</mo><msub><mi>x</mi><mn>1</mn></msub><mo fence="true">∣</mo></mrow><mi>p</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>x</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mi>p</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>x</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msub><mi>x</mi><mn>1</mn></msub><mtext> </mtext><mi mathvariant="normal">d</mi><msub><mi>x</mi><mn>2</mn></msub></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><mn>1</mn><mn>2</mn></mfrac><mi mathvariant="normal">E</mi><mtext> ⁣</mtext><mrow><mo fence="true">[</mo><mrow><mo fence="true">∣</mo><msub><mi>X</mi><mn>2</mn></msub><mo>−</mo><msub><mi>X</mi><mn>1</mn></msub><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*}
G&amp;=\int_{u_2=0}^1\int_{u_1=0}^{u_2}\left(F^{-1}\!\left(u_2\right)-F^{-1}\!\left(u_1\right)\right)\mathrm du_1\,\mathrm du_2\\
&amp;=\frac12\int_{u_2=0}^1\int_{u_1=0}^1\left|F^{-1}\!\left(u_2\right)-F^{-1}\!\left(u_1\right)\right|\mathrm du_1\,\mathrm du_2\\
&amp;=\frac12\int_{-\infty}^{+\infty}\int_{-\infty}^{+\infty}\left|x_2-x_1\right|p\!\left(x_1\right)p\!\left(x_2\right)\mathrm dx_1\,\mathrm dx_2\\
&amp;=\frac12\mathrm E\!\left[\left|X_2-X_1\right|\right],
\end{align*}</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><msub><mi>X</mi><mn>1</mn></msub></mrow><annotation encoding="application/x-tex">X_1</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>X</mi><mn>2</mn></msub></mrow><annotation encoding="application/x-tex">X_2</annotation></semantics></math></span></span> are two independent random variables with <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> being their respective distribution functions: <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mrow><mo fence="true">(</mo><msub><mi>X</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>X</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>∼</mo><mi>p</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>X</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mi>p</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>X</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\left(X_1,X_2\right)\sim p\!\left(X_1\right)p\!\left(X_2\right)</annotation></semantics></math></span></span>.</p>
<p>By this result, we can easily see how the Gini coefficient represents the statistical dispersion.</p>
<p>We can apply similar tricks to the variance <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>σ</mi><mi>X</mi><mn>2</mn></msubsup></mrow><annotation encoding="application/x-tex">\sigma_X^2</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" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><msubsup><mi>σ</mi><mi>X</mi><mn>2</mn></msubsup></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mi mathvariant="normal">E</mi><mtext> ⁣</mtext><mrow><mo fence="true">[</mo><msup><mi>X</mi><mn>2</mn></msup><mo fence="true">]</mo></mrow><mo>−</mo><mi mathvariant="normal">E</mi><mtext> ⁣</mtext><msup><mrow><mo fence="true">[</mo><mi>X</mi><mo fence="true">]</mo></mrow><mn>2</mn></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><msubsup><mo>∫</mo><mrow><mo>−</mo><mi mathvariant="normal">∞</mi></mrow><mrow><mo>+</mo><mi mathvariant="normal">∞</mi></mrow></msubsup><msup><mi>t</mi><mn>2</mn></msup><mi>p</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>t</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>t</mi><mo>−</mo><msup><mrow><mo fence="true">(</mo><msubsup><mo>∫</mo><mrow><mo>−</mo><mi mathvariant="normal">∞</mi></mrow><mrow><mo>+</mo><mi mathvariant="normal">∞</mi></mrow></msubsup><mi>t</mi><mi>p</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>t</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>t</mi><mo fence="true">)</mo></mrow><mn>2</mn></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><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><msup><mi>F</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><msup><mrow><mo fence="true">(</mo><mi>u</mi><mo fence="true">)</mo></mrow><mn>2</mn></msup><mtext> </mtext><mi mathvariant="normal">d</mi><mi>u</mi><mo>−</mo><msup><mrow><mo fence="true">(</mo><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><msup><mi>F</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>u</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>u</mi><mo fence="true">)</mo></mrow><mn>2</mn></msup><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
\sigma_X^2&amp;=\mathrm E\!\left[X^2\right]-\mathrm E\!\left[X\right]^2\\
&amp;=\int_{-\infty}^{+\infty}t^2p\!\left(t\right)\mathrm dt
-\left(\int_{-\infty}^{+\infty}tp\!\left(t\right)\mathrm dt\right)^2\\
&amp;=\int_0^1F^{-1}\!\left(u\right)^2\,\mathrm du
-\left(\int_0^1F^{-1}\!\left(u\right)\mathrm du\right)^2.
\end{align*}</annotation></semantics></math></span></span></span>
Separate the first into two halves, and write the altogether three terms in double integrals: <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"><msubsup><mi>σ</mi><mi>X</mi><mn>2</mn></msubsup></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mfrac><mn>1</mn><mn>2</mn></mfrac><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><msup><mi>F</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><msup><mrow><mo fence="true">(</mo><msub><mi>u</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mn>2</mn></msup><mtext> </mtext><mi mathvariant="normal">d</mi><msub><mi>u</mi><mn>2</mn></msub><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><mi mathvariant="normal">d</mi><msub><mi>u</mi><mn>1</mn></msub></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mphantom><mo>=</mo><mtext> </mtext></mphantom><mrow/><mo>−</mo><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><msup><mi>F</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>u</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msub><mi>u</mi><mn>1</mn></msub><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><msup><mi>F</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>u</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msub><mi>u</mi><mn>2</mn></msub></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mphantom><mo>=</mo><mtext> </mtext></mphantom><mrow/><mo>+</mo><mfrac><mn>1</mn><mn>2</mn></mfrac><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><msup><mi>F</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><msup><mrow><mo fence="true">(</mo><msub><mi>u</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mn>2</mn></msup><mtext> </mtext><mi mathvariant="normal">d</mi><msub><mi>u</mi><mn>1</mn></msub><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><mi mathvariant="normal">d</mi><msub><mi>u</mi><mn>2</mn></msub></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><mn>1</mn><mn>2</mn></mfrac><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><mrow><mo fence="true">(</mo><msup><mi>F</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><msup><mrow><mo fence="true">(</mo><msub><mi>u</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mn>2</mn></msup><mo>−</mo><mn>2</mn><msup><mi>F</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>u</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><msup><mi>F</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>u</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mo>+</mo><msup><mi>F</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mtext> ⁣</mtext><msup><mrow><mo fence="true">(</mo><msub><mi>u</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mn>2</mn></msup><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msub><mi>u</mi><mn>1</mn></msub><mtext> </mtext><mi mathvariant="normal">d</mi><msub><mi>u</mi><mn>2</mn></msub></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><mn>1</mn><mn>2</mn></mfrac><msubsup><mo>∫</mo><mrow><mo>−</mo><mi mathvariant="normal">∞</mi></mrow><mrow><mo>+</mo><mi mathvariant="normal">∞</mi></mrow></msubsup><msubsup><mo>∫</mo><mrow><mo>−</mo><mi mathvariant="normal">∞</mi></mrow><mrow><mo>+</mo><mi mathvariant="normal">∞</mi></mrow></msubsup><msup><mrow><mo fence="true">(</mo><msub><mi>x</mi><mn>2</mn></msub><mo>−</mo><msub><mi>x</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mn>2</mn></msup><mi>p</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>x</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mi>p</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>x</mi><mn>2</mn></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><msub><mi>x</mi><mn>1</mn></msub><mtext> </mtext><mi mathvariant="normal">d</mi><msub><mi>x</mi><mn>2</mn></msub></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><mn>1</mn><mn>2</mn></mfrac><mi mathvariant="normal">E</mi><mtext> ⁣</mtext><mrow><mo fence="true">[</mo><msup><mrow><mo fence="true">(</mo><msub><mi>X</mi><mn>2</mn></msub><mo>−</mo><msub><mi>X</mi><mn>1</mn></msub><mo fence="true">)</mo></mrow><mn>2</mn></msup><mo fence="true">]</mo></mrow><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
\sigma_X^2&amp;=\frac12\int_0^1F^{-1}\!\left(u_2\right)^2\,\mathrm du_2\int_0^1\mathrm du_1\\
&amp;\phantom{=~}{}-\int_0^1F^{-1}\!\left(u_1\right)\mathrm du_1\int_0^1F^{-1}\!\left(u_2\right)\mathrm du_2\\
&amp;\phantom{=~}{}+\frac12\int_0^1F^{-1}\!\left(u_1\right)^2\,\mathrm du_1\int_0^1\mathrm du_2\\
&amp;=\frac12\int_0^1\int_0^1
\left(F^{-1}\!\left(u_2\right)^2-2F^{-1}\!\left(u_1\right)F^{-1}\!\left(u_2\right)+F^{-1}\!\left(u_1\right)^2\right)
\mathrm du_1\,\mathrm du_2\\
&amp;=\frac12\int_{-\infty}^{+\infty}\int_{-\infty}^{+\infty}
\left(x_2-x_1\right)^2p\!\left(x_1\right)p\!\left(x_2\right)\mathrm dx_1\,\mathrm dx_2\\
&amp;=\frac12\mathrm E\!\left[\left(X_2-X_1\right)^2\right].
\end{align*}</annotation></semantics></math></span></span></span>
Then we can derive the relationship between the Gini coefficient and the variance: <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mn>2</mn><msubsup><mi>σ</mi><mi>X</mi><mn>2</mn></msubsup><mo>−</mo><mn>4</mn><msup><mi>G</mi><mn>2</mn></msup><mo>=</mo><msubsup><mi>σ</mi><mrow><mo fence="true">∣</mo><msub><mi>X</mi><mn>2</mn></msub><mo>−</mo><msub><mi>X</mi><mn>2</mn></msub><mo fence="true">∣</mo></mrow><mn>2</mn></msubsup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">2\sigma_X^2-4G^2=\sigma_{\left|X_2-X_2\right|}^2.</annotation></semantics></math></span></span></span></p>]]></content><author><name>UlyssesZhan</name><email>ulysseszhan@gmail.com</email></author><category term="economics" /><category term="from zhihu" /><category term="calculus" /><category term="probability" /><summary type="html"><![CDATA[Both the Gini coefficient and the variance are measures of statistical dispersion. We are then motivated to find the relationship between them. It turns out that there is a neat mathematical relationship between them.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://ulysseszh.github.io/assets/images/covers/2023-02-06-gini-variance.png" /><media:content medium="image" url="https://ulysseszh.github.io/assets/images/covers/2023-02-06-gini-variance.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html"><![CDATA[This is what will happen after you get a haircut]]></title><link href="https://ulysseszh.github.io/math/2023/01/18/hair-growth.html" rel="alternate" type="text/html" title="This is what will happen after you get a haircut" /><published>2023-01-18T12:11:41-08:00</published><updated>2023-01-18T12:11:41-08:00</updated><id>https://ulysseszh.github.io/math/2023/01/18/hair-growth</id><content type="html" xml:base="https://ulysseszh.github.io/math/2023/01/18/hair-growth.html"><![CDATA[<p>Denote the length distribution of one’s hair to be <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mo stretchy="false">(</mo><mi>l</mi><mo separator="true">,</mo><mi>t</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">f(l,t)</annotation></semantics></math></span></span>. This means that, at time <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>t</mi></mrow><annotation encoding="application/x-tex">t</annotation></semantics></math></span></span>, the number of hairs within the length range from <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 <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>l</mi><mo>+</mo><mi mathvariant="normal">d</mi><mi>l</mi></mrow><annotation encoding="application/x-tex">l+\mathrm dl</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>N</mi><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>l</mi><mo separator="true">,</mo><mi>t</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>l</mi></mrow><annotation encoding="application/x-tex">Nf\!\left(l,t\right)\mathrm dl</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>N</mi></mrow><annotation encoding="application/x-tex">N</annotation></semantics></math></span></span> is the total number of hairs.</p>
<p>Each hair grows at constant speed <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>. However, they cannot grow indefinitely because there is a probability 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">\lambda</annotation></semantics></math></span></span> per unit time for a hair to be lost naturally (this is the same assumption as the exponential decay). After a hair is lost, it restarts growing from zero length.</p>
<p>Suppose that at <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>t</mi><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">t=0</annotation></semantics></math></span></span> you have got a haircut so that the hair length distribution becomes <span id="eq:eq-initial-condition" 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>f</mi><mo stretchy="false">(</mo><mi>l</mi><mo separator="true">,</mo><mn>0</mn><mo stretchy="false">)</mo><mo>=</mo><msub><mi>f</mi><mn>0</mn></msub><mo stretchy="false">(</mo><mi>l</mi><mo stretchy="false">)</mo><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">f(l,0)=f_0(l).</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> Then, how does the distribution evolve with time?</p>
<hr/>
<p>Because <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi></mrow><annotation encoding="application/x-tex">f</annotation></semantics></math></span></span> is a distribution function, There is a normalization restriction on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi></mrow><annotation encoding="application/x-tex">f</annotation></semantics></math></span></span>: <span id="eq:eq-normalization" 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><msubsup><mo>∫</mo><mn>0</mn><mi mathvariant="normal">∞</mi></msubsup><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>l</mi><mo separator="true">,</mo><mi>t</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>l</mi><mo>=</mo><mn>1</mn><mo separator="true">,</mo><mspace width="1em"/><mi>t</mi><mo>≥</mo><mn>0.</mn></mrow><annotation encoding="application/x-tex">\int_0^\infty f\!\left(l,t\right)\mathrm dl=1,\quad t\ge0.</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> This normalization condition also applies to the initial condition (<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>t</mi><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">t=0</annotation></semantics></math></span></span>). This means that the function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>f</mi><mn>0</mn></msub></mrow><annotation encoding="application/x-tex">f_0</annotation></semantics></math></span></span> also satisfies the normalization restriction (Equation <a href="#eq:eq-normalization">2</a>) <span id="eq:eq-normalization-f0" data-label="(3)"><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><msubsup><mo>∫</mo><mn>0</mn><mi mathvariant="normal">∞</mi></msubsup><msub><mi>f</mi><mn>0</mn></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>l</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>l</mi><mo>=</mo><mn>1.</mn></mrow><annotation encoding="application/x-tex">\int_0^\infty f_0\!\left(l\right)\mathrm dl=1.</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>3</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(3)</annotation></semantics></math></span></span></span></span> </span></span> Because of the natural loss of hair, only a <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>1</mn><mo>−</mo><mi>λ</mi><mtext> </mtext><mi mathvariant="normal">d</mi><mi>t</mi></mrow><annotation encoding="application/x-tex">1-\lambda\,\mathrm dt</annotation></semantics></math></span></span> portion of hair will survive <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">d</mi><mi>t</mi></mrow><annotation encoding="application/x-tex">\mathrm dt</annotation></semantics></math></span></span>. According to this, we can construct the following 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><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>l</mi><mo>+</mo><mi>v</mi><mtext> </mtext><mi mathvariant="normal">d</mi><mi>t</mi><mo separator="true">,</mo><mi>t</mi><mo>+</mo><mi mathvariant="normal">d</mi><mi>t</mi><mo fence="true">)</mo></mrow><mo>=</mo><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>λ</mi><mtext> </mtext><mi mathvariant="normal">d</mi><mi>t</mi><mo fence="true">)</mo></mrow><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>l</mi><mo separator="true">,</mo><mi>t</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">f\!\left(l+v\,\mathrm dt,t+\mathrm dt\right)=
\left(1-\lambda\,\mathrm dt\right)f\!\left(l,t\right).</annotation></semantics></math></span></span></span> This equation can be reduced to a first-order linear PDE: <span id="eq:eq-pde" data-label="(4)"><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>v</mi><mfrac><mrow><mi mathvariant="normal">∂</mi><mi>f</mi></mrow><mrow><mi mathvariant="normal">∂</mi><mi>l</mi></mrow></mfrac><mo>+</mo><mfrac><mrow><mi mathvariant="normal">∂</mi><mi>f</mi></mrow><mrow><mi mathvariant="normal">∂</mi><mi>t</mi></mrow></mfrac><mo>+</mo><mi>λ</mi><mi>f</mi><mo>=</mo><mn>0.</mn></mrow><annotation encoding="application/x-tex">v\frac{\partial f}{\partial l}+\frac{\partial f}{\partial t}+\lambda f=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>4</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(4)</annotation></semantics></math></span></span></span></span> </span></span></p>
<p>Define <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>l</mi><mo>−</mo><mi>v</mi><mi>t</mi></mrow><annotation encoding="application/x-tex">\theta\coloneqq l-vt</annotation></semantics></math></span></span>, and define a new 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>θ</mi><mo separator="true">,</mo><mi>t</mi><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>θ</mi><mo>+</mo><mi>v</mi><mi>t</mi><mo separator="true">,</mo><mi>t</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">g\!\left(\theta,t\right)\coloneqq f\!\left(\theta+vt,t\right).</annotation></semantics></math></span></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><mfrac><mrow><mi mathvariant="normal">∂</mi><mi>g</mi></mrow><mrow><mi mathvariant="normal">∂</mi><mi>t</mi></mrow></mfrac><mo>=</mo><mi>v</mi><mfrac><mrow><mi mathvariant="normal">∂</mi><mi>f</mi></mrow><mrow><mi mathvariant="normal">∂</mi><mi>l</mi></mrow></mfrac><mo>+</mo><mfrac><mrow><mi mathvariant="normal">∂</mi><mi>f</mi></mrow><mrow><mi mathvariant="normal">∂</mi><mi>t</mi></mrow></mfrac><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\frac{\partial g}{\partial t}=v\frac{\partial f}{\partial l}+\frac{\partial f}{\partial t}.</annotation></semantics></math></span></span></span> Then, Equation <a href="#eq:eq-pde">4</a> can be reduced to
<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><mi mathvariant="normal">∂</mi><mi>g</mi></mrow><mrow><mi mathvariant="normal">∂</mi><mi>t</mi></mrow></mfrac><mo>+</mo><mi>λ</mi><mi>g</mi><mo>=</mo><mn>0.</mn></mrow><annotation encoding="application/x-tex">\frac{\partial g}{\partial t}+\lambda g=0.</annotation></semantics></math></span></span></span> The solution 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><mi>g</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>θ</mi><mo separator="true">,</mo><mi>t</mi><mo fence="true">)</mo></mrow><mo>=</mo><mi mathvariant="normal">Φ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>θ</mi><mo fence="true">)</mo></mrow><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>λ</mi><mi>t</mi></mrow></msup><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">g\!\left(\theta,t\right)=\Phi\!\left(\theta\right)\mathrm e^{-\lambda t},</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 mathvariant="normal">Φ</mi></mrow><annotation encoding="application/x-tex">\Phi</annotation></semantics></math></span></span> is an arbitrary function defined on <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">\mathbb R</annotation></semantics></math></span></span>. Therefore, the general solution to Equation <a href="#eq:eq-pde">4</a> is <span id="eq:eq-general-solution" data-label="(5)"><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>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>l</mi><mo separator="true">,</mo><mi>t</mi><mo fence="true">)</mo></mrow><mo>=</mo><mi mathvariant="normal">Φ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>l</mi><mo>−</mo><mi>v</mi><mi>t</mi><mo fence="true">)</mo></mrow><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>λ</mi><mi>t</mi></mrow></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">f\!\left(l,t\right)=\Phi\!\left(l-vt\right)\mathrm e^{-\lambda t}.</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>5</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(5)</annotation></semantics></math></span></span></span></span> </span></span></p>
<p>By utilizing Equation <a href="#eq:eq-initial-condition">1</a>, we can find <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">Φ</mi><mo stretchy="false">(</mo><mi>θ</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\Phi(\theta)</annotation></semantics></math></span></span> for <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>θ</mi><mo>&gt;</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">\theta&gt;0</annotation></semantics></math></span></span>. Substitute <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>t</mi><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">t=0</annotation></semantics></math></span></span> into Equation <a href="#eq:eq-general-solution">5</a> and compare with Equation <a href="#eq:eq-initial-condition">1</a>, and we have <span id="eq:eq-Phi-theta-0" data-label="(6)"><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 mathvariant="normal">Φ</mi><mo stretchy="false">(</mo><mi>θ</mi><mo>&gt;</mo><mn>0</mn><mo stretchy="false">)</mo><mo>=</mo><msub><mi>f</mi><mn>0</mn></msub><mo stretchy="false">(</mo><mi>θ</mi><mo stretchy="false">)</mo><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\Phi(\theta&gt;0)=f_0(\theta).</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>6</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(6)</annotation></semantics></math></span></span></span></span> </span></span> This only gives <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">Φ</mi><mo stretchy="false">(</mo><mi>θ</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\Phi(\theta)</annotation></semantics></math></span></span> for <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>θ</mi><mo>&gt;</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">\theta&gt;0</annotation></semantics></math></span></span> because <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>f</mi><mn>0</mn></msub></mrow><annotation encoding="application/x-tex">f_0</annotation></semantics></math></span></span> is not defined on negative numbers. The rest of <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">\Phi</annotation></semantics></math></span></span>, however, may be deduced from Equation <a href="#eq:eq-normalization">2</a>.</p>
<p>Substitute Equation <a href="#eq:eq-general-solution">5</a> into Equation <a href="#eq:eq-normalization">2</a>, 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" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mn>1</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msubsup><mo>∫</mo><mn>0</mn><mi mathvariant="normal">∞</mi></msubsup><mi mathvariant="normal">Φ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>l</mi><mo>−</mo><mi>v</mi><mi>t</mi><mo fence="true">)</mo></mrow><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>λ</mi><mi>t</mi></mrow></msup><mtext> </mtext><mi mathvariant="normal">d</mi><mi>l</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><mi>λ</mi><mi>t</mi></mrow></msup><mrow><mo fence="true">(</mo><msubsup><mo>∫</mo><mn>0</mn><mrow><mi>v</mi><mi>t</mi></mrow></msubsup><mi mathvariant="normal">Φ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>l</mi><mo>−</mo><mi>v</mi><mi>t</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>l</mi><mo>+</mo><msubsup><mo>∫</mo><mrow><mi>v</mi><mi>t</mi></mrow><mi mathvariant="normal">∞</mi></msubsup><mi mathvariant="normal">Φ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>l</mi><mo>−</mo><mi>v</mi><mi>t</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>l</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><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>λ</mi><mi>t</mi></mrow></msup><mrow><mo fence="true">(</mo><msubsup><mo>∫</mo><mrow><mo>−</mo><mi>v</mi><mi>t</mi></mrow><mn>0</mn></msubsup><mi mathvariant="normal">Φ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>θ</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>θ</mi><mo>+</mo><msubsup><mo>∫</mo><mn>0</mn><mi mathvariant="normal">∞</mi></msubsup><msub><mi>f</mi><mn>0</mn></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>θ</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>θ</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><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>λ</mi><mi>t</mi></mrow></msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><msubsup><mo>∫</mo><mn>0</mn><mrow><mo>−</mo><mi>v</mi><mi>t</mi></mrow></msubsup><mi mathvariant="normal">Φ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>θ</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>θ</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
1&amp;=\int_0^\infty\Phi\!\left(l-vt\right)\mathrm e^{-\lambda t}\,\mathrm dl\\
&amp;=\mathrm e^{-\lambda t}\left(
  \int_0^{vt}\Phi\!\left(l-vt\right)\mathrm dl
  +\int_{vt}^\infty\Phi\!\left(l-vt\right)\mathrm dl
\right)\\
&amp;=\mathrm e^{-\lambda t}\left(
  \int_{-vt}^0\Phi\!\left(\theta\right)\mathrm d\theta
  +\int_0^\infty f_0\!\left(\theta\right)\mathrm d\theta
\right)\\
&amp;=\mathrm e^{-\lambda t}\left(1-\int_0^{-vt}\Phi\!\left(\theta\right)\mathrm d\theta\right).
\end{align*}</annotation></semantics></math></span></span></span>
Therefore, we have the integral of <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">\Phi</annotation></semantics></math></span></span> on negative intervals: <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><mo>∫</mo><mn>0</mn><mrow><mo>−</mo><mi>v</mi><mi>t</mi></mrow></msubsup><mi mathvariant="normal">Φ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>θ</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>θ</mi><mo>=</mo><mn>1</mn><mo>−</mo><msup><mi mathvariant="normal">e</mi><mrow><mi>λ</mi><mi>t</mi></mrow></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\int_0^{-vt}\Phi\!\left(\theta\right)\mathrm d\theta
=1-\mathrm e^{\lambda t}.</annotation></semantics></math></span></span></span> Find the derivative of both sides of the equation w.r.t. <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>t</mi></mrow><annotation encoding="application/x-tex">t</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><mo>−</mo><mi>v</mi><mi mathvariant="normal">Φ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mo>−</mo><mi>v</mi><mi>t</mi><mo fence="true">)</mo></mrow><mo>=</mo><mo>−</mo><mi>λ</mi><msup><mi mathvariant="normal">e</mi><mrow><mi>λ</mi><mi>t</mi></mrow></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">-v\Phi\!\left(-vt\right)=-\lambda\mathrm e^{\lambda t}.</annotation></semantics></math></span></span></span> In other words, <span id="eq:eq-Phi-theta-lt-0" data-label="(7)"><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 mathvariant="normal">Φ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>θ</mi><mo>&lt;</mo><mn>0</mn><mo fence="true">)</mo></mrow><mo>=</mo><mfrac><mi>λ</mi><mi>v</mi></mfrac><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mfrac><mi>λ</mi><mi>v</mi></mfrac><mi>θ</mi></mrow></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\Phi\!\left(\theta&lt;0\right)=\frac\lambda v\mathrm e^{-\frac\lambda v\theta}.</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>7</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(7)</annotation></semantics></math></span></span></span></span> </span></span></p>
<p>Combining Equation <a href="#eq:eq-Phi-theta-0">6</a> and <a href="#eq:eq-Phi-theta-lt-0">7</a> and substituting back to Equation <a href="#eq:eq-general-solution">5</a>, we can find the special solution to Equation <a href="#eq:eq-pde">4</a> subject to restrictions Equation <a href="#eq:eq-normalization">2</a> and <a href="#eq:eq-initial-condition">1</a>: <span id="eq:eq-solution" data-label="(8)"><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>f</mi><mo stretchy="false">(</mo><mi>l</mi><mo separator="true">,</mo><mi>t</mi><mo stretchy="false">)</mo><mo>=</mo><mrow><mo fence="true">{</mo><mtable rowspacing="0.36em" columnalign="left left" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mfrac><mi>λ</mi><mi>v</mi></mfrac><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mfrac><mi>λ</mi><mi>v</mi></mfrac><mi>l</mi></mrow></msup><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>0</mn><mo>&lt;</mo><mi>l</mi><mo>&lt;</mo><mi>v</mi><mi>t</mi><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>λ</mi><mi>t</mi></mrow></msup><msub><mi>f</mi><mn>0</mn></msub><mo stretchy="false">(</mo><mi>l</mi><mo>−</mo><mi>v</mi><mi>t</mi><mo stretchy="false">)</mo><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>l</mi><mo>&gt;</mo><mi>v</mi><mi>t</mi><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable></mrow></mrow><annotation encoding="application/x-tex">f(l,t)=\begin{cases}
\frac\lambda v\mathrm e^{-\frac\lambda vl},&amp;0&lt;l&lt;vt,\\
\mathrm e^{-\lambda t}f_0(l-vt),&amp;l&gt;vt.
\end{cases}</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>8</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(8)</annotation></semantics></math></span></span></span></span> </span></span></p>
<p>This is our final answer.</p>
<hr/>
<p>This result is interesting in that any distribution will finally evolve into an exponential distribution with the rate parameter being <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mfrac><mi>λ</mi><mi>v</mi></mfrac></mrow><annotation encoding="application/x-tex">\frac\lambda v</annotation></semantics></math></span></span> as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>t</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow><annotation encoding="application/x-tex">t\to\infty</annotation></semantics></math></span></span> no matter what the initial distribution 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><mi>f</mi><mo stretchy="false">(</mo><mi>l</mi><mo separator="true">,</mo><mi mathvariant="normal">∞</mi><mo stretchy="false">)</mo><mo>=</mo><mfrac><mi>λ</mi><mi>v</mi></mfrac><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mfrac><mi>λ</mi><mi>v</mi></mfrac><mi>l</mi></mrow></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">f(l,\infty)=\frac\lambda v\mathrm e^{-\frac\lambda vl}.</annotation></semantics></math></span></span></span> This distribution is the stationary solution to Equation <a href="#eq:eq-pde">4</a>. This is actually a normal behavior for first-order PDEs. For example, the thermal equilibrium state is the stationary solution to the heat equation, and any other solution approaches to the stationary solution over time.</p>
<p>This behavior can explain why human body hair tends to grow to only a certain length instead of being indefinitely long. You may try shaving your leg hair and wait for some weeks. You can observe that they grow to approximately the original length but not any longer. It is similar for your hair (on top of your head), but <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">\lambda</annotation></semantics></math></span></span> of hair is so small that it can hardly reach its terminal length if you get haircuts regularly.</p>
<p>Another thing to note is that this may explain a phenomenon that we may observe: the longer your hair is, the more slowly it grows, and your hair no longer seems to grow when it reaches a certain length. If the length of hair that we observe is actually the mean length of the hair, then it 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><mi>μ</mi><mo stretchy="false">(</mo><mi>t</mi><mo stretchy="false">)</mo><mo>=</mo><msubsup><mo>∫</mo><mn>0</mn><mi mathvariant="normal">∞</mi></msubsup><mi>l</mi><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>l</mi><mo separator="true">,</mo><mi>t</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>l</mi><mo>=</mo><mrow><mo fence="true">(</mo><msub><mi>μ</mi><mn>0</mn></msub><mo>−</mo><mfrac><mi>v</mi><mi>λ</mi></mfrac><mo fence="true">)</mo></mrow><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>λ</mi><mi>t</mi></mrow></msup><mo>+</mo><mfrac><mi>v</mi><mi>λ</mi></mfrac><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\mu(t)=\int_0^\infty lf\!\left(l,t\right)\mathrm dl
=\left(\mu_0-\frac v\lambda\right)\mathrm e^{-\lambda t}+\frac v\lambda,</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><msub><mi>μ</mi><mn>0</mn></msub></mrow><annotation encoding="application/x-tex">\mu_0</annotation></semantics></math></span></span> is the mean of the distribution <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>f</mi><mn>0</mn></msub></mrow><annotation encoding="application/x-tex">f_0</annotation></semantics></math></span></span>. It can be seen that the growth rate of the mean length of hair varies exponentially.</p>]]></content><author><name>UlyssesZhan</name><email>ulysseszhan@gmail.com</email></author><category term="math" /><category term="calculus" /><category term="probability" /><category term="pde" /><summary type="html"><![CDATA[Denote the length distribution of one’s hair to be <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mo stretchy="false">(</mo><mi>l</mi><mo separator="true">,</mo><mi>t</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">f(l,t)</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>l</mi></mrow><annotation encoding="application/x-tex">l</annotation></semantics></math></span></span> is hair length, and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>t</mi></mrow><annotation encoding="application/x-tex">t</annotation></semantics></math></span></span> is time. Considering that each hair may be lost naturally from time to time (there is a probability of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>λ</mi><mtext> </mtext><mi mathvariant="normal">d</mi><mi>t</mi></mrow><annotation encoding="application/x-tex">\lambda\,\mathrm dt</annotation></semantics></math></span></span> for each hair to be lost within time range from <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>t</mi></mrow><annotation encoding="application/x-tex">t</annotation></semantics></math></span></span> to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>t</mi><mo>+</mo><mi mathvariant="normal">d</mi><mi>t</mi></mrow><annotation encoding="application/x-tex">t+\mathrm dt</annotation></semantics></math></span></span>) and then restart growing from zero length, how will the length distribution of hair evolve with time? It turns out that we may model it with a first-order PDE.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://ulysseszh.github.io/assets/images/covers/2023-01-18-hair-growth.png" /><media:content medium="image" url="https://ulysseszh.github.io/assets/images/covers/2023-01-18-hair-growth.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html"><![CDATA[The longest all-<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> substring of a random bit string]]></title><link href="https://ulysseszh.github.io/math/2022/12/25/combo-probability.html" rel="alternate" type="text/html" title="The longest all-1 substring of a random bit string" /><published>2022-12-25T12:00:00-08:00</published><updated>2022-12-25T12:00:00-08:00</updated><id>https://ulysseszh.github.io/math/2022/12/25/combo-probability</id><content type="html" xml:base="https://ulysseszh.github.io/math/2022/12/25/combo-probability.html"><![CDATA[<h2 data-label="0.1" id="introduction">Introduction</h2>
<p>As a rhythm game player, I often wonder what my max combo will be in my next play. This is a rather unpredictable outcome, and what I can do is to try to conclude a probability distribution of my max combo.</p>
<p>For those who are not familiar with rhythm games and also to make the question clearer, I state the problem in a more mathematical setting.</p>
<p>Consider a random bit string of length <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="double-struck">N</mi></mrow><annotation encoding="application/x-tex">n\in\mathbb N</annotation></semantics></math></span></span>, where each bit is independent and has probability <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>Y</mi><mo>∈</mo><mo stretchy="false">[</mo><mn>0</mn><mo separator="true">,</mo><mn>1</mn><mo stretchy="false">]</mo></mrow><annotation encoding="application/x-tex">Y\in[0,1]</annotation></semantics></math></span></span> of being <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>. Let <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo stretchy="false">(</mo><mi>Y</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">P_{n,k}(Y)</annotation></semantics></math></span></span> be the probability that the length of the longest all-<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> substring of the bit string is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi><mo>∈</mo><mi mathvariant="double-struck">N</mi></mrow><annotation encoding="application/x-tex">k\in\mathbb N</annotation></semantics></math></span></span> (where obviously <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo stretchy="false">(</mo><mi>Y</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">P_{n,k}(Y)</annotation></semantics></math></span></span> is nonzero only when <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi><mo>≤</mo><mi>n</mi></mrow><annotation encoding="application/x-tex">k\le n</annotation></semantics></math></span></span>). What is the expression of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo stretchy="false">(</mo><mi>Y</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">P_{n,k}(Y)</annotation></semantics></math></span></span>?</p>
<p>A more interesting problem to consider is what the probability distribution tends to be when <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>. Define the random variable <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">\kappa\coloneqq k/n</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>k</mi></mrow><annotation encoding="application/x-tex">k</annotation></semantics></math></span></span> is the length of the longest all-<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> substring. Define a parameter <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>y</mi><mo><mi mathvariant="normal">≔</mi></mo><msup><mi>Y</mi><mi>n</mi></msup></mrow><annotation encoding="application/x-tex">y\coloneqq Y^n</annotation></semantics></math></span></span> (this parameter is held constant while <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>). Define the probability distribution function 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">\kappa</annotation></semantics></math></span></span> as <span id="eq:eq-f-def" 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>f</mi><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo><mi mathvariant="normal">≔</mi></mo><munder><mrow><mi>lim</mi><mo>⁡</mo></mrow><mrow><mi>n</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow></munder><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>κ</mi><mi>n</mi></mrow></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mn>1</mn><mi>n</mi></mfrac></msup><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">f(y,\kappa)\coloneqq\lim_{n\to\infty}\left(n+1\right)P_{n,\kappa n}\!\left(y^{\frac1n}\right).</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> What is the expression of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">f(y,\kappa)</annotation></semantics></math></span></span>?</p>
<h2 data-label="0.2" id="notation">Notation</h2>
<p>Notation for integer range: <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>a</mi><mo>…</mo><mi>b</mi></mrow><annotation encoding="application/x-tex">a\ldots b</annotation></semantics></math></span></span> denotes the integer range defined by the ends <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> (inclusive) and <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>b</mi></mrow><annotation encoding="application/x-tex">b</annotation></semantics></math></span></span> (exclusive), or in other words <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">{</mo><mi>a</mi><mo separator="true">,</mo><mi>a</mi><mo>+</mo><mn>1</mn><mo separator="true">,</mo><mo>…</mo><mo separator="true">,</mo><mi>b</mi><mo>−</mo><mn>1</mn><mo fence="true">}</mo></mrow><annotation encoding="application/x-tex">\left\{a,a+1,\ldots,b-1\right\}</annotation></semantics></math></span></span>. It is defined to be empty if <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>a</mi><mo>≥</mo><mi>b</mi></mrow><annotation encoding="application/x-tex">a\ge b</annotation></semantics></math></span></span>. The operator <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">\ldots</annotation></semantics></math></span></span> has a lower precedence than <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> and <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> but a higher precedence than <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">\in</annotation></semantics></math></span></span>.</p>
<p>The notation <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>a</mi><mtext> </mtext><mi mathvariant="normal">.</mi><mi mathvariant="normal">.</mi><mi>b</mi></mrow><annotation encoding="application/x-tex">a\,..b</annotation></semantics></math></span></span> denotes the inclusive integer range <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">{</mo><mi>a</mi><mo separator="true">,</mo><mi>a</mi><mo>+</mo><mn>1</mn><mo separator="true">,</mo><mo>…</mo><mo separator="true">,</mo><mi>b</mi><mo fence="true">}</mo></mrow><annotation encoding="application/x-tex">\left\{a,a+1,\ldots,b\right\}</annotation></semantics></math></span></span>. It is defined to be empty if <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>a</mi><mo>&gt;</mo><mi>b</mi></mrow><annotation encoding="application/x-tex">a&gt;b</annotation></semantics></math></span></span>.</p>
<h2 data-label="0.3" id="the-case-for-finite-n">The case for finite <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></h2>
<p>A natural approach to find <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub></mrow><annotation encoding="application/x-tex">P_{n,k}</annotation></semantics></math></span></span> is to try to find a recurrence relation of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub></mrow><annotation encoding="application/x-tex">P_{n,k}</annotation></semantics></math></span></span> for different <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> 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>, and then use a dynamic programming (DP) algorithm to compute <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub></mrow><annotation encoding="application/x-tex">P_{n,k}</annotation></semantics></math></span></span> for any given <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> 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>.</p>
<h3 data-label="0.3.1" id="the-first-dp-approach">The first DP approach</h3>
<p>For a rhythm game player, the most straightforward way of finding <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> for a given bit string is to track the <em>current combo</em>, and update the max combo when the current combo is greater than the previous max combo.</p>
<p>To give the current combo a formal definition, denote each bit in the bit string as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>b</mi><mi>i</mi></msub></mrow><annotation encoding="application/x-tex">b_i</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>i</mi><mo>∈</mo><mn>0</mn><mo>…</mo><mi>n</mi></mrow><annotation encoding="application/x-tex">i\in0\ldots n</annotation></semantics></math></span></span>. Define the current combo <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>r</mi><mi>i</mi></msub></mrow><annotation encoding="application/x-tex">r_i</annotation></semantics></math></span></span> as the length of the longest all-<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> substring of the bit string ending <strong>before</strong> (exclusive) <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> (so <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>r</mi><mi>i</mi></msub><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">r_i=0</annotation></semantics></math></span></span> if <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>b</mi><mrow><mi>i</mi><mo>−</mo><mn>1</mn></mrow></msub><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">b_{i-1}=0</annotation></semantics></math></span></span>, which is callled a <em>combo break</em>):
<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>r</mi><mi>i</mi></msub><mo><mi mathvariant="normal">≔</mi></mo><mi>max</mi><mo>⁡</mo><mrow><mo fence="true">{</mo><mi>r</mi><mo>∈</mo><mn>0</mn><mtext> </mtext><mi mathvariant="normal">.</mi><mi mathvariant="normal">.</mi><mi>i</mi><mtext> </mtext><mo fence="true" lspace="0.05em" rspace="0.05em">|</mo><mtext> </mtext><mi mathvariant="normal">∀</mi><mi>j</mi><mo>∈</mo><mi>i</mi><mo>−</mo><mi>r</mi><mo>…</mo><mi>i</mi><mo>:</mo><msub><mi>b</mi><mi>j</mi></msub><mo>=</mo><mn>1</mn><mo fence="true">}</mo></mrow><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">r_i\coloneqq\max\left\{r\in0\,..i\,\middle|\,\forall j\in i-r\ldots i:b_j=1\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>i</mi><mo>∈</mo><mn>0</mn><mtext> </mtext><mi mathvariant="normal">.</mi><mi mathvariant="normal">.</mi><mi>n</mi></mrow><annotation encoding="application/x-tex">i\in0\,..n</annotation></semantics></math></span></span>.</p>
<p>Now, use three numbers <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>r</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(n,k,r)</annotation></semantics></math></span></span> to define a DP state. Denote <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>r</mi></mrow></msub></mrow><annotation encoding="application/x-tex">P_{n,k,r}</annotation></semantics></math></span></span> to be the probability that the max combo is <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> <strong>and</strong> the final combo (<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>r</mi><mi>n</mi></msub></mrow><annotation encoding="application/x-tex">r_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><mi>r</mi></mrow><annotation encoding="application/x-tex">r</annotation></semantics></math></span></span>. Then, consider a transition from state <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>r</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(n,k,r)</annotation></semantics></math></span></span> to state <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi>n</mi><mo>+</mo><mn>1</mn><mo separator="true">,</mo><msup><mi>k</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo separator="true">,</mo><msup><mi>r</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(n+1,k',r')</annotation></semantics></math></span></span> by adding a new bit <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>b</mi><mi>n</mi></msub></mrow><annotation encoding="application/x-tex">b_n</annotation></semantics></math></span></span> to the bit string. There are two cases:</p>
<ul>
<li>If <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>b</mi><mi>n</mi></msub><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">b_n=0</annotation></semantics></math></span></span> (has <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>1</mn><mo>−</mo><mi>Y</mi></mrow><annotation encoding="application/x-tex">1-Y</annotation></semantics></math></span></span> probability), then this means a combo break, so we have <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>r</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">r'=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><msup><mi>k</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>=</mo><mi>k</mi></mrow><annotation encoding="application/x-tex">k'=k</annotation></semantics></math></span></span>.</li>
<li>If <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>b</mi><mi>n</mi></msub><mo>=</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">b_n=1</annotation></semantics></math></span></span> (has <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> probability), then the combo continues, so we have <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>r</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>=</mo><mi>r</mi><mo>+</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">r'=r+1</annotation></semantics></math></span></span>. The max combo needs to be updated if needed, so we have <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>k</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>=</mo><mi>max</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>k</mi><mo separator="true">,</mo><msup><mi>r</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">k'=\max(k,r')</annotation></semantics></math></span></span>.</li>
</ul>
<p>However, in actual implementation of the DP algorithm, we need to reverse this transition by considering what state can lead to the current state <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>r</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(n,k,r)</annotation></semantics></math></span></span> (to use the bottom-up approach).</p>
<p>First, obviously in any possible case <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>r</mi><mo>∈</mo><mn>0</mn><mtext> </mtext><mi mathvariant="normal">.</mi><mi mathvariant="normal">.</mi><mi>k</mi></mrow><annotation encoding="application/x-tex">r\in0\,..k</annotation></semantics></math></span></span> (currently we only consider the cases where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>&gt;</mo><mi>k</mi><mo>&gt;</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">n&gt;k&gt;0</annotation></semantics></math></span></span>). Divide all those cases into three groups:</p>
<ol type="1">
<li>If <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>r</mi><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">r=0</annotation></semantics></math></span></span>, this is means a combo break, so the last bit is <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 the previous state can have any possible final combo <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>r</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup></mrow><annotation encoding="application/x-tex">r'</annotation></semantics></math></span></span>. Therefore, it can be transitioned from any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><msup><mi>r</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(n-1,k,r')</annotation></semantics></math></span></span> where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>r</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>∈</mo><mn>0</mn><mtext> </mtext><mi mathvariant="normal">.</mi><mi mathvariant="normal">.</mi><mi>k</mi></mrow><annotation encoding="application/x-tex">r'\in0\,..k</annotation></semantics></math></span></span>. For each possible previous state, the probability of the transition to this new state is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>1</mn><mo>−</mo><mi>Y</mi></mrow><annotation encoding="application/x-tex">1-Y</annotation></semantics></math></span></span>.</li>
<li>If <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>r</mi><mo>∈</mo><mn>1</mn><mtext> </mtext><mi mathvariant="normal">.</mi><mi mathvariant="normal">.</mi><mi>k</mi><mo>−</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">r\in1\,..k-1</annotation></semantics></math></span></span>, this means the last bit is <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 previous final combo is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>r</mi><mo>−</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">r-1</annotation></semantics></math></span></span>, and the previous max combo is already <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>. Therefore, the previous state is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>r</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(n-1,k,r-1)</annotation></semantics></math></span></span>, and the probability of the transition is <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>.</li>
<li>If <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>r</mi><mo>=</mo><mi>k</mi></mrow><annotation encoding="application/x-tex">r=k</annotation></semantics></math></span></span>, this means the max combo may (or may not) have been updated. In either case, the previous final combo is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>r</mi><mo>−</mo><mn>1</mn><mo>=</mo><mi>k</mi><mo>−</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">r-1=k-1</annotation></semantics></math></span></span>.</li>
</ol>
<ul>
<li>If the max combo is updated, the previous max combo must be <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi><mo>−</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">k-1</annotation></semantics></math></span></span> because it must not be less than the previous final combo <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi><mo>−</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">k-1</annotation></semantics></math></span></span> and must be less than the new max combo <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>. Therefore, the previous state is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(n-1,k-1,k-1)</annotation></semantics></math></span></span>, and the probability of the transition is <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>.</li>
<li>If the max combo is not updated, the previous max combo is the same as the new one, which is <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>. Therefore, the previous state is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(n-1,k,k-1)</annotation></semantics></math></span></span>, and the probability of the transition is <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>.</li>
</ul>
<p class="no-indent">
Therefore, we can write a recurrence relation that is valid when <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>&gt;</mo><mi>k</mi><mo>&gt;</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">n&gt;k&gt;0</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><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>r</mi></mrow></msub><mo>=</mo><mrow><mo fence="true">{</mo><mtable rowspacing="0.36em" columnalign="left left" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>Y</mi><mo fence="true">)</mo></mrow><msubsup><mo>∑</mo><mrow><msup><mi>r</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>=</mo><mn>0</mn></mrow><mi>k</mi></msubsup><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><msup><mi>r</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup></mrow></msub><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>r</mi><mo>=</mo><mn>0</mn></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>Y</mi><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>r</mi><mo>−</mo><mn>1</mn></mrow></msub><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>r</mi><mo>∈</mo><mn>1</mn><mtext> </mtext><mi mathvariant="normal">.</mi><mi mathvariant="normal">.</mi><mi>k</mi><mo>−</mo><mn>1</mn></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>Y</mi><mrow><mo fence="true">(</mo><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo>−</mo><mn>1</mn></mrow></msub><mo>+</mo><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>k</mi><mo>−</mo><mn>1</mn></mrow></msub><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>r</mi><mo>=</mo><mi>k</mi><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable></mrow></mrow><annotation encoding="application/x-tex">P_{n,k,r}=\begin{cases}
\left(1-Y\right)\sum_{r'=0}^kP_{n-1,k,r'},&amp;r=0\\
YP_{n-1,k,r-1},&amp;r\in1\,..k-1\\
Y\left(P_{n-1,k-1,k-1}+P_{n-1,k,k-1}\right),&amp;r=k.
\end{cases}</annotation></semantics></math></span></span></span>
</p>
<p>However, there are also other cases (mostly edge cases) because we assumed <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>&gt;</mo><mi>k</mi><mo>&gt;</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">n&gt;k&gt;0</annotation></semantics></math></span></span>. Actually, in the meaningfulness condition <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><mi>r</mi><mo>≥</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">n\ge k\ge r\ge0</annotation></semantics></math></span></span> (necessary condition for <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>r</mi></mrow></msub></mrow><annotation encoding="application/x-tex">P_{n,k,r}</annotation></semantics></math></span></span> to be nonzero), there are three inequality that can be altered between a less-than sign or an equal sign, so there are totally <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mn>2</mn><mn>3</mn></msup><mo>=</mo><mn>8</mn></mrow><annotation encoding="application/x-tex">2^3=8</annotation></semantics></math></span></span> cases. Considering all those cases (omitted in this article because of the triviality), we can write a recurrence relation that is valid for all <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 separator="true">,</mo><mi>r</mi></mrow><annotation encoding="application/x-tex">n,k,r</annotation></semantics></math></span></span>, covering all the edge cases: <span id="eq:eq-dp1" 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>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>r</mi></mrow></msub><mo>=</mo><mrow><mo fence="true">{</mo><mtable rowspacing="0.36em" columnalign="left left" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>1</mn><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>n</mi><mo>=</mo><mi>k</mi><mo>=</mo><mi>r</mi><mo>=</mo><mn>0</mn><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>Y</mi><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>n</mi><mo>−</mo><mn>1</mn></mrow></msub><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>n</mi><mo>=</mo><mi>k</mi><mo>=</mo><mi>r</mi><mo>&gt;</mo><mn>0</mn><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>0</mn><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>n</mi><mo>=</mo><mi>k</mi><mo>&gt;</mo><mi>r</mi><mo>&gt;</mo><mn>0</mn><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>0</mn><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>n</mi><mo>=</mo><mi>k</mi><mo>&gt;</mo><mi>r</mi><mo>=</mo><mn>0</mn><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>Y</mi><mrow><mo fence="true">(</mo><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo>−</mo><mn>1</mn></mrow></msub><mo>+</mo><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>k</mi><mo>−</mo><mn>1</mn></mrow></msub><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>n</mi><mo>&gt;</mo><mi>k</mi><mo>=</mo><mi>r</mi><mo>&gt;</mo><mn>0</mn><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>Y</mi><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>r</mi><mo>−</mo><mn>1</mn></mrow></msub><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>n</mi><mo>&gt;</mo><mi>k</mi><mo>&gt;</mo><mi>r</mi><mo>&gt;</mo><mn>0</mn><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>Y</mi><mo fence="true">)</mo></mrow><msubsup><mo>∑</mo><mrow><msup><mi>r</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>=</mo><mn>0</mn></mrow><mi>k</mi></msubsup><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><msup><mi>r</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup></mrow></msub><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>n</mi><mo>&gt;</mo><mi>k</mi><mo>&gt;</mo><mi>r</mi><mo>=</mo><mn>0</mn><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>Y</mi><mo fence="true">)</mo></mrow><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mn>0</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>n</mi><mo>&gt;</mo><mi>k</mi><mo>=</mo><mi>r</mi><mo>=</mo><mn>0.</mn></mrow></mstyle></mtd></mtr></mtable></mrow></mrow><annotation encoding="application/x-tex">P_{n,k,r}=\begin{cases}
1,&amp; n=k=r=0,\\
YP_{n-1,n-1,n-1},&amp; n=k=r&gt;0,\\
0,&amp; n=k&gt;r&gt;0,\\
0,&amp; n=k&gt;r=0,\\
Y\left(P_{n-1,k-1,k-1}+P_{n-1,k,k-1}\right),&amp; n&gt;k=r&gt;0,\\
YP_{n-1,k,r-1},&amp; n&gt;k&gt;r&gt;0,\\
\left(1-Y\right)\sum_{r'=0}^kP_{n-1,k,r'},&amp; n&gt;k&gt;r=0,\\
\left(1-Y\right)P_{n-1,0,0},&amp; n&gt;k=r=0.
\end{cases}</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></p>
<p>Note that the probabilities related to note count <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> only depend on those related to note count <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> and that the probabilities related to max combo <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> and final combo <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> only depend on those related to either less max combo than <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> or less final combo than <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> (except for the case <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>&gt;</mo><mi>k</mi><mo>&gt;</mo><mi>r</mi><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">n&gt;k&gt;r=0</annotation></semantics></math></span></span>, which can be specially treated before the current iteration of <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> actually starts), so for the bottom-up DP we can reduce the spatial complexity from <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>O</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>n</mi><mn>3</mn></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">O\!\left(n^3\right)</annotation></semantics></math></span></span> to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>O</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>n</mi><mn>2</mn></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">O\!\left(n^2\right)</annotation></semantics></math></span></span> by reducing the 3-dimensional DP to a 2-dimensional one. What needs to be taken care of is that the DP table needs to be updated from larger <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> 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> to smaller <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> 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> instead of the other way so that the numbers in the last iteration 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> are left untouched while we need to use them in the current iteration.</p>
<p>After the final iteration 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> finishes, we need to sum over the index <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> to get the final answer: <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>=</mo><munderover><mo>∑</mo><mrow><mi>r</mi><mo>=</mo><mn>0</mn></mrow><mi>k</mi></munderover><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>r</mi></mrow></msub><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">P_{n,k}=\sum_{r=0}^kP_{n,k,r}.</annotation></semantics></math></span></span></span></p>
<p>Writing the code for the DP algorithm is then straightforward. Here is an implementation in Ruby. In the code, <code>dp[k][r]</code> means <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>r</mi></mrow></msub></mrow><annotation encoding="application/x-tex">P_{n,k,r}</annotation></semantics></math></span></span> in 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 iteration.</p>
<table class="rouge-table">
  <tbody>
    <tr>
      <td class="highlight language-ruby">
        <pre>
          <code>
            <span class="line line-1"><span class="c1">## Returns an array of size m+1,</span>
</span>
            <span class="line line-2"><span class="c1">## with the k-th element being the probability P_{m,k}.</span>
</span>
            <span class="line line-3"><span class="k">def</span> <span class="nf">combo</span> <span class="n">m</span>
</span>
            <span class="line line-4">	<span class="p">(</span><span class="mi">1</span><span class="o">..</span><span class="n">m</span><span class="p">).</span><span class="nf">each_with_object</span> <span class="p">[[</span><span class="mi">1</span><span class="p">]]</span> <span class="k">do</span> <span class="o">|</span><span class="n">n</span><span class="p">,</span> <span class="n">dp</span><span class="o">|</span>
</span>
            <span class="line line-5">		<span class="n">dp</span><span class="p">[</span><span class="n">n</span><span class="p">]</span> <span class="o">=</span> <span class="p">[</span><span class="mi">0</span><span class="p">]</span><span class="o">*</span><span class="n">n</span> <span class="o">+</span> <span class="p">[</span><span class="no">Y</span> <span class="o">*</span> <span class="n">dp</span><span class="p">[</span><span class="n">n</span><span class="o">-</span><span class="mi">1</span><span class="p">][</span><span class="n">n</span><span class="o">-</span><span class="mi">1</span><span class="p">]]</span> <span class="c1"># n = k &gt; 0</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="nf">downto</span> <span class="mi">1</span> <span class="k">do</span> <span class="o">|</span><span class="n">k</span><span class="o">|</span> <span class="c1"># n &gt; k &gt; 0</span>
</span>
            <span class="line line-7">			<span class="n">dpk0</span> <span class="o">=</span> <span class="p">(</span><span class="mi">1</span><span class="o">-</span><span class="no">Y</span><span class="p">)</span> <span class="o">*</span> <span class="n">dp</span><span class="p">[</span><span class="n">k</span><span class="p">].</span><span class="nf">sum</span>
</span>
            <span class="line line-8">			<span class="n">dp</span><span class="p">[</span><span class="n">k</span><span class="p">][</span><span class="n">k</span><span class="p">]</span> <span class="o">=</span> <span class="no">Y</span> <span class="o">*</span> <span class="p">(</span><span class="n">dp</span><span class="p">[</span><span class="n">k</span><span class="o">-</span><span class="mi">1</span><span class="p">][</span><span class="n">k</span><span class="o">-</span><span class="mi">1</span><span class="p">]</span> <span class="o">+</span> <span class="n">dp</span><span class="p">[</span><span class="n">k</span><span class="p">][</span><span class="n">k</span><span class="o">-</span><span class="mi">1</span><span class="p">])</span>        <span class="c1"># n &gt; k = r &gt; 0</span>
</span>
            <span class="line line-9">			<span class="p">(</span><span class="n">k</span><span class="o">-</span><span class="mi">1</span><span class="p">).</span><span class="nf">downto</span><span class="p">(</span><span class="mi">1</span><span class="p">)</span> <span class="p">{</span> <span class="o">|</span><span class="n">r</span><span class="o">|</span> <span class="n">dp</span><span class="p">[</span><span class="n">k</span><span class="p">][</span><span class="n">r</span><span class="p">]</span> <span class="o">=</span> <span class="no">Y</span> <span class="o">*</span> <span class="n">dp</span><span class="p">[</span><span class="n">k</span><span class="p">][</span><span class="n">r</span><span class="o">-</span><span class="mi">1</span><span class="p">]</span> <span class="p">}</span> <span class="c1"># n &gt; k &gt; r &gt; 0</span>
</span>
            <span class="line line-10">			<span class="n">dp</span><span class="p">[</span><span class="n">k</span><span class="p">][</span><span class="mi">0</span><span class="p">]</span> <span class="o">=</span> <span class="n">dpk0</span>                                   <span class="c1"># n &gt; k &gt; r = 0</span>
</span>
            <span class="line line-11">		<span class="k">end</span>
</span>
            <span class="line line-12">		<span class="n">dp</span><span class="p">[</span><span class="mi">0</span><span class="p">][</span><span class="mi">0</span><span class="p">]</span> <span class="o">*=</span> <span class="mi">1</span><span class="o">-</span><span class="no">Y</span> <span class="c1"># n &gt; k = r = 0</span>
</span>
            <span class="line line-13">	<span class="k">end</span><span class="p">.</span><span class="nf">map</span> <span class="o">&amp;</span><span class="ss">:sum</span>
</span>
            <span class="line line-14"><span class="k">end</span>
</span>
          </code>
        </pre>
      </td>
    </tr>
  </tbody>
</table>
<p>Because of the three nested loops, the time complexity of the DP algorithm is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>O</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>n</mi><mn>3</mn></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">O\!\left(n^3\right)</annotation></semantics></math></span></span>.</p>
<h3 data-label="0.3.2" id="the-second-dp-approach">The second DP approach</h3>
<p>Here is an alternative way to use DP to solve the problem. Instead of building a DP table with the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi><mo separator="true">,</mo><mi>r</mi></mrow><annotation encoding="application/x-tex">k,r</annotation></semantics></math></span></span> indices, we can build a DP table with the <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></mrow><annotation encoding="application/x-tex">n,k</annotation></semantics></math></span></span> indices.</p>
<p>First, we need to rewrite the recurrence relation of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub></mrow><annotation encoding="application/x-tex">P_{n,k}</annotation></semantics></math></span></span> instead of that of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>r</mi></mrow></msub></mrow><annotation encoding="application/x-tex">P_{n,k,r}</annotation></semantics></math></span></span>. We then need to try to express <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>r</mi></mrow></msub></mrow><annotation encoding="application/x-tex">P_{n,k,r}</annotation></semantics></math></span></span> in terms of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub></mrow><annotation encoding="application/x-tex">P_{n,k}</annotation></semantics></math></span></span> terms. The easiest part is the case where <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><mi>r</mi><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">n\ge k=r=0</annotation></semantics></math></span></span>. By recursively applying Equation <a href="#eq:eq-dp1">2</a> to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mn>0</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub></mrow><annotation encoding="application/x-tex">P_{n,0,0}</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><mtable rowspacing="0.25em" columnalign="right left" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mn>0</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>Y</mi><mo fence="true">)</mo></mrow><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mn>0</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub></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><mn>1</mn><mo>−</mo><mi>Y</mi><mo fence="true">)</mo></mrow><mn>2</mn></msup><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mn>2</mn><mo separator="true">,</mo><mn>0</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mo>⋯</mo></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><mn>1</mn><mo>−</mo><mi>Y</mi><mo fence="true">)</mo></mrow><mi>n</mi></msup><msub><mi>P</mi><mrow><mn>0</mn><mo separator="true">,</mo><mn>0</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
P_{n,0,0}&amp;=\left(1-Y\right)P_{n-1,0,0}\\
&amp;=\left(1-Y\right)^2P_{n-2,0,0}\\
&amp;=\cdots\\
&amp;=\left(1-Y\right)^nP_{0,0,0}.
\end{align*}</annotation></semantics></math></span></span></span> Because <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mn>0</mn><mo separator="true">,</mo><mn>0</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo>=</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">P_{0,0,0}=1</annotation></semantics></math></span></span>, we have <span id="eq:eq-dp2-n-ge-k-r-0" data-label="(3)"><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>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mn>0</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo>=</mo><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>Y</mi><mo fence="true">)</mo></mrow><mi>n</mi></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">P_{n,0,0}=\left(1-Y\right)^n.</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>3</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(3)</annotation></semantics></math></span></span></span></span> </span></span></p>
<hr/>
<p>For <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>&gt;</mo><mi>k</mi><mo>&gt;</mo><mi>r</mi><mo>&gt;</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">n&gt;k&gt;r&gt;0</annotation></semantics></math></span></span>, we can recursively apply Equation <a href="#eq:eq-dp1">2</a> to get <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"><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>r</mi></mrow></msub></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mi>Y</mi><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>r</mi><mo>−</mo><mn>1</mn></mrow></msub></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>Y</mi><mn>2</mn></msup><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mn>2</mn><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>r</mi><mo>−</mo><mn>2</mn></mrow></msub></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mo>⋯</mo></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
P_{n,k,r}&amp;=YP_{n-1,k,r-1}\\
&amp;=Y^2P_{n-2,k,r-2}\\
&amp;=\cdots
\end{align*}</annotation></semantics></math></span></span></span> This will finally either decend the note count to <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> or decend the final combo to <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>, determined by which comes first.</p>
<ul>
<li>If <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>−</mo><mi>r</mi><mo>≤</mo><mi>k</mi></mrow><annotation encoding="application/x-tex">n-r\le k</annotation></semantics></math></span></span>, we will decend to the term <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>k</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>r</mi><mo>−</mo><mo stretchy="false">(</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo stretchy="false">)</mo></mrow></msub></mrow><annotation encoding="application/x-tex">P_{k,k,r-(n-k)}</annotation></semantics></math></span></span>, which must be zero according to the case <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>&gt;</mo><mi>r</mi><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">n=k&gt;r=0</annotation></semantics></math></span></span> and the case <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>&gt;</mo><mi>r</mi><mo>&gt;</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">n=k&gt;r&gt;0</annotation></semantics></math></span></span> in Equation <a href="#eq:eq-dp1">2</a>, so <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>r</mi></mrow></msub><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">P_{n,k,r}=0</annotation></semantics></math></span></span>.</li>
<li>If <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>−</mo><mi>r</mi><mo>&gt;</mo><mi>k</mi></mrow><annotation encoding="application/x-tex">n-r&gt;k</annotation></semantics></math></span></span>, then we will decend to the term <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mi>r</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mn>0</mn></mrow></msub></mrow><annotation encoding="application/x-tex">P_{n-r,k,0}</annotation></semantics></math></span></span>, which is equal to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>Y</mi><mo fence="true">)</mo></mrow><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mi>r</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi></mrow></msub></mrow><annotation encoding="application/x-tex">\left(1-Y\right)P_{n-r-1,k}</annotation></semantics></math></span></span> according to the case <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>&gt;</mo><mi>k</mi><mo>&gt;</mo><mi>r</mi><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">n&gt;k&gt;r=0</annotation></semantics></math></span></span> in Equation <a href="#eq:eq-dp1">2</a>.</li>
</ul>
<p>Therefore, for <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>&gt;</mo><mi>k</mi><mo>&gt;</mo><mi>r</mi><mo>&gt;</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">n&gt;k&gt;r&gt;0</annotation></semantics></math></span></span>, we have <span id="eq:eq-dp2-n-g-k-r-0" data-label="(4)"><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>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>r</mi></mrow></msub><mo>=</mo><mrow><mo fence="true">{</mo><mtable rowspacing="0.36em" columnalign="left left" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>0</mn><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>n</mi><mo>−</mo><mi>r</mi><mo>≤</mo><mi>k</mi><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msup><mi>Y</mi><mi>r</mi></msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>Y</mi><mo fence="true">)</mo></mrow><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mi>r</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>n</mi><mo>−</mo><mi>r</mi><mo>&gt;</mo><mi>k</mi><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable></mrow></mrow><annotation encoding="application/x-tex">P_{n,k,r}=\begin{cases}
0,&amp;n-r\le k,\\
Y^r\left(1-Y\right)P_{n-r-1,k},&amp;n-r&gt;k.
\end{cases}</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>4</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(4)</annotation></semantics></math></span></span></span></span> </span></span></p>
<hr/>
<p>For the case <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>&gt;</mo><mi>k</mi><mo>=</mo><mi>r</mi><mo>&gt;</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">n&gt;k=r&gt;0</annotation></semantics></math></span></span>, we can also recursively apply Equation <a href="#eq:eq-dp1">2</a> to get <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"><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mi>Y</mi><mrow><mo fence="true">(</mo><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo>−</mo><mn>1</mn></mrow></msub><mo>+</mo><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>k</mi><mo>−</mo><mn>1</mn></mrow></msub><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>Y</mi><mrow><mo fence="true">(</mo><mi>Y</mi><mrow><mo fence="true">(</mo><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mn>2</mn><mo separator="true">,</mo><mi>k</mi><mo>−</mo><mn>2</mn><mo separator="true">,</mo><mi>k</mi><mo>−</mo><mn>2</mn></mrow></msub><mo>+</mo><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mn>2</mn><mo separator="true">,</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo>−</mo><mn>2</mn></mrow></msub><mo fence="true">)</mo></mrow><mo>+</mo><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>k</mi><mo>−</mo><mn>1</mn></mrow></msub><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><mo>⋯</mo></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>Y</mi><mrow><mo fence="true">(</mo><mi>Y</mi><mrow><mo fence="true">(</mo><mo>⋯</mo><mi>Y</mi><mrow><mo fence="true">(</mo><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mi>k</mi><mo separator="true">,</mo><mn>0</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo>+</mo><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mi>k</mi><mo separator="true">,</mo><mn>1</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo fence="true">)</mo></mrow><mo>+</mo><mo>⋯</mo><mtext> </mtext><mo fence="true">)</mo></mrow><mo>+</mo><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>k</mi><mo>−</mo><mn>1</mn></mrow></msub><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><msup><mi>Y</mi><mi>k</mi></msup><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mi>k</mi><mo separator="true">,</mo><mn>0</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo>+</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>1</mn></mrow><mi>k</mi></munderover><msup><mi>Y</mi><mi>j</mi></msup><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mi>j</mi><mo separator="true">,</mo><mi>k</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo>−</mo><mi>j</mi></mrow></msub><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
P_{n,k,k}&amp;=Y\left(P_{n-1,k-1,k-1}+P_{n-1,k,k-1}\right)\\
&amp;=Y\left(Y\left(P_{n-2,k-2,k-2}+P_{n-2,k-1,k-2}\right)+P_{n-1,k,k-1}\right)\\
&amp;=\cdots\\
&amp;=Y\left(Y\left(\cdots Y\left(P_{n-k,0,0}+P_{n-k,1,0}\right)+\cdots\right)+P_{n-1,k,k-1}\right)\\
&amp;=Y^kP_{n-k,0,0}+\sum_{j=1}^kY^jP_{n-j,k-j+1,k-j}.
\end{align*}</annotation></semantics></math></span></span></span>
We can then substitute Equation <a href="#eq:eq-dp2-n-ge-k-r-0">3</a> and <a href="#eq:eq-dp2-n-g-k-r-0">4</a> into the above equation. The substitution of Equation <a href="#eq:eq-dp2-n-ge-k-r-0">3</a> can be done without a problem, but the substitution of Equation <a href="#eq:eq-dp2-n-g-k-r-0">4</a> requires some care because of the different cases.</p>
<ul>
<li>If <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>&gt;</mo><mi>k</mi></mrow><annotation encoding="application/x-tex">n-k&gt;k</annotation></semantics></math></span></span>, then only the case <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>−</mo><mi>r</mi><mo>&gt;</mo><mi>k</mi></mrow><annotation encoding="application/x-tex">n-r&gt;k</annotation></semantics></math></span></span> in Equation <a href="#eq:eq-dp2-n-g-k-r-0">4</a> will be involved in the summation.</li>
<li>If <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><mi>k</mi></mrow><annotation encoding="application/x-tex">n-k\le k</annotation></semantics></math></span></span>, then both cases in Equation <a href="#eq:eq-dp2-n-g-k-r-0">4</a> will be involved in the summation. To be specific, for <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>j</mi><mo>∈</mo><mn>1</mn><mtext> </mtext><mi mathvariant="normal">.</mi><mi mathvariant="normal">.</mi><mtext> </mtext><mn>2</mn><mi>k</mi><mo>−</mo><mi>n</mi><mo>+</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">j\in1\,..\,2k-n+1</annotation></semantics></math></span></span>, we need the case <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>−</mo><mi>r</mi><mo>≤</mo><mi>k</mi></mrow><annotation encoding="application/x-tex">n-r\le k</annotation></semantics></math></span></span> in Equation <a href="#eq:eq-dp2-n-g-k-r-0">4</a> (where the summed terms are just zero and can be omitted); for other terms in the summation, we need the other case.</li>
</ul>
<p class="no-indent">
Considering both cases, we may realize that we can just modify the range of the summation to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>j</mi><mo>∈</mo><mi>max</mi><mo>⁡</mo><mo stretchy="false">(</mo><mn>1</mn><mo separator="true">,</mo><mn>2</mn><mi>k</mi><mo>−</mo><mi>n</mi><mo>+</mo><mn>1</mn><mo stretchy="false">)</mo><mtext> </mtext><mi mathvariant="normal">.</mi><mi mathvariant="normal">.</mi><mi>k</mi></mrow><annotation encoding="application/x-tex">j\in\max(1,2k-n+1)\,..k</annotation></semantics></math></span></span> and adopt the case <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>−</mo><mi>r</mi><mo>&gt;</mo><mi>k</mi></mrow><annotation encoding="application/x-tex">n-r&gt;k</annotation></semantics></math></span></span> in Equation <a href="#eq:eq-dp2-n-g-k-r-0">4</a> for all terms in the summation. 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"><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msup><mi>Y</mi><mi>k</mi></msup><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>Y</mi><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>−</mo><mi>k</mi></mrow></msup><mo>+</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mi>max</mi><mo>⁡</mo><mo stretchy="false">(</mo><mn>1</mn><mo separator="true">,</mo><mn>2</mn><mi>k</mi><mo>−</mo><mi>n</mi><mo>+</mo><mn>1</mn><mo stretchy="false">)</mo></mrow><mi>k</mi></munderover><msup><mi>Y</mi><mi>j</mi></msup><msup><mi>Y</mi><mrow><mi>k</mi><mo>−</mo><mi>j</mi></mrow></msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>Y</mi><mo fence="true">)</mo></mrow><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mi>j</mi><mo>−</mo><mo stretchy="false">(</mo><mi>k</mi><mo>−</mo><mi>j</mi><mo stretchy="false">)</mo><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>1</mn></mrow></msub></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>Y</mi><mi>k</mi></msup><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>Y</mi><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>−</mo><mi>k</mi></mrow></msup><mo>+</mo><msup><mi>Y</mi><mi>k</mi></msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>Y</mi><mo fence="true">)</mo></mrow><munderover><mo>∑</mo><mrow><msup><mi>k</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>=</mo><mn>1</mn></mrow><mrow><mi>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>k</mi><mo separator="true">,</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></munderover><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><msup><mi>k</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup></mrow></msub><mo separator="true">,</mo></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
P_{n,k,k}&amp;=Y^k\left(1-Y\right)^{n-k}+\sum_{j=\max(1,2k-n+1)}^{k}Y^jY^{k-j}\left(1-Y\right)P_{n-j-(k-j)-1,k-j+1}\\
&amp;=Y^k\left(1-Y\right)^{n-k}+Y^k\left(1-Y\right)\sum_{k'=1}^{\min(k,n-k-1)}P_{n-k-1,k'},
\end{align*}</annotation></semantics></math></span></span></span>
where in the last line we changed the summation index to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>k</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo><mi mathvariant="normal">≔</mi></mo><mi>k</mi><mo>−</mo><mi>j</mi><mo>+</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">k'\coloneqq k-j+1</annotation></semantics></math></span></span> to simplify it. Because <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo>=</mo><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mn>0</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo>=</mo><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>Y</mi><mo fence="true">)</mo></mrow><mrow><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn></mrow></msup></mrow><annotation encoding="application/x-tex">P_{n-k-1,0}=P_{n-k-1,0,0}=\left(1-Y\right)^{n-k-1}</annotation></semantics></math></span></span> according to Equation <a href="#eq:eq-dp2-n-ge-k-r-0">3</a>, we can combine the two terms into one summation to get the final result for <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>&gt;</mo><mi>k</mi><mo>=</mo><mi>r</mi><mo>&gt;</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">n&gt;k=r&gt;0</annotation></semantics></math></span></span>: <span id="eq:eq-dp2-n-k-r-0" data-label="(5)"><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>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo>=</mo><msup><mi>Y</mi><mi>k</mi></msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>Y</mi><mo fence="true">)</mo></mrow><munderover><mo>∑</mo><mrow><msup><mi>k</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>=</mo><mn>0</mn></mrow><mrow><mi>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>k</mi><mo separator="true">,</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></munderover><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><msup><mi>k</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup></mrow></msub><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">P_{n,k,k}=Y^k\left(1-Y\right)\sum_{k'=0}^{\min(k,n-k-1)}P_{n-k-1,k'}.</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>5</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(5)</annotation></semantics></math></span></span></span></span> </span></span> Noticing the obvious fact that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mi>n</mi></msubsup><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo>=</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">\sum_{k=0}^nP_{n,k}=1</annotation></semantics></math></span></span>, the above equation can be simplified, when
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi><mo>≥</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">k\ge n-k-1</annotation></semantics></math></span></span>, to <span id="eq:eq-dp2-n-k-r-0-simplified" data-label="(6)"><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>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo>=</mo><msup><mi>Y</mi><mi>k</mi></msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>Y</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">P_{n,k,k}=Y^k\left(1-Y\right).</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>6</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(6)</annotation></semantics></math></span></span></span></span> </span></span> This simplification is not specially useful, but it can be used to simplify the calculation in the program.
</p>
<hr/>
<p>Then, for <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><mo>&gt;</mo><mi>k</mi><mo>&gt;</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">n&gt;k&gt;0</annotation></semantics></math></span></span>, express <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub></mrow><annotation encoding="application/x-tex">P_{n,k}</annotation></semantics></math></span></span> in terms of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>r</mi></mrow></msub></mrow><annotation encoding="application/x-tex">P_{n,k,r}</annotation></semantics></math></span></span> by summing over <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>, and substitute previous results: <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"><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>r</mi><mo>=</mo><mn>0</mn></mrow><mi>k</mi></munderover><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>r</mi></mrow></msub></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>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo>+</mo><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo>+</mo><munderover><mo>∑</mo><mrow><mi>r</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>k</mi><mo>−</mo><mn>1</mn></mrow></munderover><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi><mo separator="true">,</mo><mi>r</mi></mrow></msub></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><mn>1</mn><mo>−</mo><mi>Y</mi><mo fence="true">)</mo></mrow><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo>+</mo><msup><mi>Y</mi><mi>k</mi></msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>Y</mi><mo fence="true">)</mo></mrow><munderover><mo>∑</mo><mrow><msup><mi>k</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>=</mo><mn>0</mn></mrow><mrow><mi>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>k</mi><mo separator="true">,</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></munderover><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><msup><mi>k</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup></mrow></msub></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mphantom><mo>=</mo><mtext> </mtext></mphantom><mrow/><mo>+</mo><munderover><mo>∑</mo><mrow><mi>r</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></munderover><msup><mi>Y</mi><mi>r</mi></msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>Y</mi><mo fence="true">)</mo></mrow><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mi>r</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi></mrow></msub></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><mn>1</mn><mo>−</mo><mi>Y</mi><mo fence="true">)</mo></mrow><mrow><mo fence="true">(</mo><msup><mi>Y</mi><mi>k</mi></msup><munderover><mo>∑</mo><mrow><msup><mi>k</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>=</mo><mn>0</mn></mrow><mrow><mi>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>k</mi><mo separator="true">,</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></munderover><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><msup><mi>k</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup></mrow></msub><mo>+</mo><munderover><mo>∑</mo><mrow><mi>r</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></munderover><msup><mi>Y</mi><mi>r</mi></msup><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mi>r</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo fence="true">)</mo></mrow></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
P_{n,k}&amp;=\sum_{r=0}^kP_{n,k,r}\\
&amp;=P_{n,k,0}+P_{n,k,k}+\sum_{r=1}^{k-1}P_{n,k,r}\\
&amp;=\left(1-Y\right)P_{n-1,k}+Y^k\left(1-Y\right)\sum_{k'=0}^{\min(k,n-k-1)}P_{n-k-1,k'}\\
&amp;\phantom{=~}{}+\sum_{r=1}^{\min(k-1,n-k-1)}Y^r\left(1-Y\right)P_{n-r-1,k}\\
&amp;=\left(1-Y\right)\left(
  Y^k\sum_{k'=0}^{\min(k,n-k-1)}P_{n-k-1,k'}
  +\sum_{r=0}^{\min(k-1,n-k-1)}Y^rP_{n-r-1,k}
\right)
\end{align*}</annotation></semantics></math></span></span></span> where in the last term <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 summed to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\min(k-1,n-k-1)</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>k</mi><mo>−</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">k-1</annotation></semantics></math></span></span> because of the different cases in Equation <a href="#eq:eq-dp2-n-g-k-r-0">4</a>.</p>
<p>Finally, consider the edge cases where <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>0</mn></mrow><annotation encoding="application/x-tex">n=k\ge0</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><mo>≥</mo><mi>k</mi><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">n\ge k=0</annotation></semantics></math></span></span> (trivial), we have the complete resursive relation for <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub></mrow><annotation encoding="application/x-tex">P_{n,k}</annotation></semantics></math></span></span>: <span id="eq:eq-dp2" data-label="(7)"><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>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo>=</mo><mrow><mo fence="true">{</mo><mtable rowspacing="0.36em" columnalign="left left" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msup><mi>Y</mi><mi>n</mi></msup><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>n</mi><mo>=</mo><mi>k</mi><mo>≥</mo><mn>0</mn><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>Y</mi><mo fence="true">)</mo></mrow><mi>n</mi></msup><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>n</mi><mo>≥</mo><mi>k</mi><mo>=</mo><mn>0</mn><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mstyle scriptlevel="0" displaystyle="true"><mtable rowspacing="0.25em" columnalign="right left" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>Y</mi><mo fence="true">)</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mtext> </mtext><mrow><mo fence="true">(</mo><msup><mi>Y</mi><mi>k</mi></msup><munderover><mo>∑</mo><mrow><msup><mi>k</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>=</mo><mn>0</mn></mrow><mrow><mi>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>k</mi><mo separator="true">,</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></munderover><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><msup><mi>k</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup></mrow></msub></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mrow><mo>+</mo><munderover><mo>∑</mo><mrow><mi>r</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></munderover><msup><mi>Y</mi><mi>r</mi></msup><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mi>r</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd></mtr></mtable></mstyle></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>n</mi><mo>&gt;</mo><mi>k</mi><mo>&gt;</mo><mn>0.</mn></mrow></mstyle></mtd></mtr></mtable></mrow></mrow><annotation encoding="application/x-tex">P_{n,k}=\begin{cases}
Y^n,&amp;n=k\ge0,\\
\left(1-Y\right)^n,&amp;n\ge k=0,\\
\displaystyle{\begin{split}
  \left(1-Y\right)&amp;\,\left(
    Y^k\sum_{k'=0}^{\min(k,n-k-1)}P_{n-k-1,k'}
  \right.\\&amp;\left.
    +\sum_{r=0}^{\min(k-1,n-k-1)}Y^rP_{n-r-1,k}
  \right),
\end{split}}&amp;n&gt;k&gt;0.
\end{cases}</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>7</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(7)</annotation></semantics></math></span></span></span></span> </span></span></p>
<p>Then, we can write the program to calculate <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub></mrow><annotation encoding="application/x-tex">P_{n,k}</annotation></semantics></math></span></span>:</p>
<table class="rouge-table">
  <tbody>
    <tr>
      <td class="highlight language-ruby">
        <pre>
          <code>
            <span class="line line-1"><span class="c1">## Returns an array of size m+1,</span>
</span>
            <span class="line line-2"><span class="c1">## with the k-th element being the probability P_{m,k}.</span>
</span>
            <span class="line line-3"><span class="k">def</span> <span class="nf">combo</span> <span class="n">m</span>
</span>
            <span class="line line-4">	<span class="p">(</span><span class="mi">1</span><span class="o">..</span><span class="n">m</span><span class="p">).</span><span class="nf">each_with_object</span> <span class="p">[[</span><span class="mi">1</span><span class="p">]]</span> <span class="k">do</span> <span class="o">|</span><span class="n">n</span><span class="p">,</span> <span class="n">dp</span><span class="o">|</span>
</span>
            <span class="line line-5">		<span class="n">dp</span><span class="p">[</span><span class="n">n</span><span class="p">]</span> <span class="o">=</span> <span class="p">(</span><span class="mi">1</span><span class="o">..</span><span class="n">n</span><span class="o">-</span><span class="mi">1</span><span class="p">).</span><span class="nf">each_with_object</span> <span class="p">[(</span><span class="mi">1</span><span class="o">-</span><span class="no">Y</span><span class="p">)</span><span class="o">**</span><span class="n">n</span><span class="p">]</span> <span class="k">do</span> <span class="o">|</span><span class="n">k</span><span class="p">,</span> <span class="n">dpn</span><span class="o">|</span>
</span>
            <span class="line line-6">			<span class="n">dpn</span><span class="p">[</span><span class="n">k</span><span class="p">]</span> <span class="o">=</span> <span class="p">(</span><span class="mi">1</span><span class="o">-</span><span class="no">Y</span><span class="p">)</span> <span class="o">*</span> <span class="p">(</span><span class="no">Y</span><span class="o">**</span><span class="n">k</span> <span class="o">*</span> <span class="p">(</span><span class="mi">0</span><span class="o">..</span><span class="p">[</span><span class="n">k</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="mi">1</span><span class="p">].</span><span class="nf">min</span><span class="p">).</span><span class="nf">sum</span> <span class="p">{</span> <span class="n">dp</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="mi">1</span><span class="p">][</span><span class="n">_1</span><span class="p">]</span> <span class="p">}</span> <span class="o">+</span> <span class="p">(</span><span class="mi">0</span><span class="o">..</span><span class="p">[</span><span class="n">k</span><span class="o">-</span><span class="mi">1</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="mi">1</span><span class="p">].</span><span class="nf">min</span><span class="p">).</span><span class="nf">sum</span> <span class="p">{</span> <span class="no">Y</span><span class="o">**</span><span class="n">_1</span> <span class="o">*</span> <span class="n">dp</span><span class="p">[</span><span class="n">n</span><span class="o">-</span><span class="n">_1</span><span class="o">-</span><span class="mi">1</span><span class="p">][</span><span class="n">k</span><span class="p">]</span> <span class="p">})</span>
</span>
            <span class="line line-7">		<span class="k">end</span>
</span>
            <span class="line line-8">		<span class="n">dp</span><span class="p">[</span><span class="n">n</span><span class="p">][</span><span class="n">n</span><span class="p">]</span> <span class="o">=</span> <span class="no">Y</span><span class="o">**</span><span class="n">n</span>
</span>
            <span class="line line-9">	<span class="k">end</span><span class="p">.</span><span class="nf">last</span>
</span>
            <span class="line line-10"><span class="k">end</span>
</span>
          </code>
        </pre>
      </td>
    </tr>
  </tbody>
</table>
<p>This algorithm has the same (asymptotic) space and time complexity as the previous one.</p>
<h3 data-label="0.3.3" id="polynomial-coefficients">Polynomial coefficients</h3>
<p>We have wrote programmes to calculate probabilities <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo stretchy="false">(</mo><mi>Y</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">P_{n,k}(Y)</annotation></semantics></math></span></span> based on given <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>, which we assumed to be a float number. However, float numbers have limited precision, and the calculation may be inaccurate. Actually, the calculation can be done symbolically.</p>
<p>The probability <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub></mrow><annotation encoding="application/x-tex">P_{n,k}</annotation></semantics></math></span></span> is a polynomial of degree (at most) <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>Y</mi></mrow><annotation encoding="application/x-tex">Y</annotation></semantics></math></span></span>, and the coefficients of the polynomial are integers. This can be easily proven by using mathematical induction and utilizing Equation <a href="#eq:eq-dp2">7</a>. Therefore, we can calculate the coefficients of the polynomial <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo stretchy="false">(</mo><mi>Y</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">P_{n,k}(Y)</annotation></semantics></math></span></span> instead of calculate the value directly so that we get a symbolic but accurate result.</p>
<p>Both the two DP algorithms above can be modified to calculate the coefficients of the polynomial. Actually, we can define <code>Y</code> to be a polynomial object that can do arithmetic operations with other polynomials or numbers, and then the programmes can run without any modification. Here, I will modify the second DP algorithm to calculate the coefficients of the polynomial.</p>
<p>We can also utilize Equation <a href="#eq:eq-dp2-n-k-r-0-simplified">6</a> to simplify the calculation. Considering the edge cases involved in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>k</mi><mo separator="true">,</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\min(k,n-k-1)</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>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\min(k-1,n-k-1)</annotation></semantics></math></span></span>, there are three cases we need to consider:</p>
<ol type="1">
<li>Case <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi><mo>&gt;</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">k&gt;n-k-1</annotation></semantics></math></span></span>: Equation <a href="#eq:eq-dp2-n-k-r-0-simplified">6</a> can be applied, 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 summed to <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>.</li>
<li>Case <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi><mo>=</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">k=n-k-1</annotation></semantics></math></span></span> (can only happen when <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 odd): Equation <a href="#eq:eq-dp2-n-k-r-0-simplified">6</a> can be applied, 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 summed to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi><mo>−</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">k-1</annotation></semantics></math></span></span>.</li>
<li>Case <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi><mo>&lt;</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">k&lt;n-k-1</annotation></semantics></math></span></span>: Equation <a href="#eq:eq-dp2-n-k-r-0-simplified">6</a> cannot be applied, 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 summed to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi><mo>−</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">k-1</annotation></semantics></math></span></span>.</li>
</ol>
<p>Then, use arrays to store the coefficients of the polynomial <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo stretchy="false">(</mo><mi>Y</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">P_{n,k}(Y)</annotation></semantics></math></span></span>, and we can write the program to calculate the coefficients:</p>
<table class="rouge-table">
  <tbody>
    <tr>
      <td class="highlight language-ruby">
        <pre>
          <code>
            <span class="line line-1"><span class="c1">## Returns a nested array of size m+1 times m+1,</span>
</span>
            <span class="line line-2"><span class="c1">## with the j-th element of the k-th element being the coefficient of Y^j in P_{m,k}(Y).</span>
</span>
            <span class="line line-3"><span class="k">def</span> <span class="nf">combo_pc</span> <span class="n">m</span>
</span>
            <span class="line line-4">	<span class="p">(</span><span class="mi">1</span><span class="o">..</span><span class="n">m</span><span class="p">).</span><span class="nf">each_with_object</span> <span class="p">[[[</span><span class="mi">1</span><span class="p">]]]</span> <span class="k">do</span> <span class="o">|</span><span class="n">n</span><span class="p">,</span> <span class="n">dp</span><span class="o">|</span>
</span>
            <span class="line line-5">		<span class="n">dp</span><span class="p">[</span><span class="n">n</span><span class="p">]</span> <span class="o">=</span> <span class="no">Array</span><span class="p">.</span><span class="nf">new</span><span class="p">(</span><span class="n">n</span><span class="o">+</span><span class="mi">1</span><span class="p">)</span> <span class="p">{</span> <span class="no">Array</span><span class="p">.</span><span class="nf">new</span> <span class="n">n</span><span class="o">+</span><span class="mi">1</span><span class="p">,</span> <span class="mi">0</span> <span class="p">}</span>
</span>
            <span class="line line-6">
</span>
            <span class="line line-7">		<span class="c1"># dp[n][0] = (1-Y)**n</span>
</span>
            <span class="line line-8">		<span class="mi">0</span><span class="p">.</span><span class="nf">upto</span><span class="p">(</span><span class="n">n</span><span class="o">-</span><span class="mi">1</span><span class="p">)</span> <span class="p">{</span> <span class="n">dp</span><span class="p">[</span><span class="n">n</span><span class="p">][</span><span class="mi">0</span><span class="p">][</span><span class="n">_1</span><span class="p">]</span> <span class="o">=</span> <span class="n">dp</span><span class="p">[</span><span class="n">n</span><span class="o">-</span><span class="mi">1</span><span class="p">][</span><span class="mi">0</span><span class="p">][</span><span class="n">_1</span><span class="p">]</span> <span class="p">}</span> <span class="c1"># will be multiplied by 1-Y later</span>
</span>
            <span class="line line-9">
</span>
            <span class="line line-10">		<span class="mi">1</span><span class="p">.</span><span class="nf">upto</span> <span class="n">n</span><span class="o">/</span><span class="mi">2</span><span class="o">-</span><span class="mi">1</span> <span class="k">do</span> <span class="o">|</span><span class="n">k</span><span class="o">|</span>
</span>
            <span class="line line-11">			<span class="c1"># dp[n][k] = (1-Y) * (Y**k * (0..k).sum { |j| dp[n-k-1][j] } + (0..k-1).sum { |r| Y**r * dp[n-r-1][k] })</span>
</span>
            <span class="line line-12">			<span class="mi">0</span><span class="p">.</span><span class="nf">upto</span><span class="p">(</span><span class="n">k</span><span class="p">)</span> <span class="p">{</span> <span class="o">|</span><span class="n">j</span><span class="o">|</span> <span class="mi">0</span><span class="p">.</span><span class="nf">upto</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="mi">1</span><span class="p">)</span> <span class="p">{</span> <span class="n">dp</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">_1</span><span class="o">+</span><span class="n">k</span><span class="p">]</span> <span class="o">+=</span> <span class="n">dp</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="mi">1</span><span class="p">][</span><span class="n">j</span><span class="p">][</span><span class="n">_1</span><span class="p">]</span> <span class="p">}</span> <span class="p">}</span>
</span>
            <span class="line line-13">			<span class="mi">0</span><span class="p">.</span><span class="nf">upto</span><span class="p">(</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">r</span><span class="o">|</span> <span class="mi">0</span><span class="p">.</span><span class="nf">upto</span><span class="p">(</span><span class="n">n</span><span class="o">-</span><span class="n">r</span><span class="o">-</span><span class="mi">1</span><span class="p">)</span> <span class="p">{</span> <span class="n">dp</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">_1</span><span class="o">+</span><span class="n">r</span><span class="p">]</span> <span class="o">+=</span> <span class="n">dp</span><span class="p">[</span><span class="n">n</span><span class="o">-</span><span class="n">r</span><span class="o">-</span><span class="mi">1</span><span class="p">][</span><span class="n">k</span><span class="p">][</span><span class="n">_1</span><span class="p">]</span> <span class="p">}</span> <span class="p">}</span>
</span>
            <span class="line line-14">		<span class="k">end</span>
</span>
            <span class="line line-15">
</span>
            <span class="line line-16">		<span class="k">if</span> <span class="n">n</span> <span class="o">%</span> <span class="mi">2</span> <span class="o">==</span> <span class="mi">1</span>
</span>
            <span class="line line-17">			<span class="n">k</span> <span class="o">=</span> <span class="n">n</span><span class="o">/</span><span class="mi">2</span>
</span>
            <span class="line line-18">			<span class="c1"># dp[n][k] = (1-Y) * (Y**k + (0..k-1).sum { |r| Y**r * dp[n-r-1][k] })</span>
</span>
            <span class="line line-19">			<span class="n">dp</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">k</span><span class="p">]</span> <span class="o">=</span> <span class="mi">1</span>
</span>
            <span class="line line-20">			<span class="mi">0</span><span class="p">.</span><span class="nf">upto</span><span class="p">(</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">r</span><span class="o">|</span> <span class="mi">0</span><span class="p">.</span><span class="nf">upto</span><span class="p">(</span><span class="n">n</span><span class="o">-</span><span class="n">r</span><span class="o">-</span><span class="mi">1</span><span class="p">)</span> <span class="p">{</span> <span class="n">dp</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">_1</span><span class="o">+</span><span class="n">r</span><span class="p">]</span> <span class="o">+=</span> <span class="n">dp</span><span class="p">[</span><span class="n">n</span><span class="o">-</span><span class="n">r</span><span class="o">-</span><span class="mi">1</span><span class="p">][</span><span class="n">k</span><span class="p">][</span><span class="n">_1</span><span class="p">]</span> <span class="p">}</span> <span class="p">}</span>
</span>
            <span class="line line-21">		<span class="k">end</span>
</span>
            <span class="line line-22">
</span>
            <span class="line line-23">		<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="mi">2</span><span class="p">).</span><span class="nf">upto</span> <span class="n">n</span><span class="o">-</span><span class="mi">1</span> <span class="k">do</span> <span class="o">|</span><span class="n">k</span><span class="o">|</span>
</span>
            <span class="line line-24">			<span class="c1"># dp[n][k] = (1-Y) * (Y**k + (0..n-k-1).sum { |r| Y**r * dp[n-r-1][k] })</span>
</span>
            <span class="line line-25">			<span class="n">dp</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">k</span><span class="p">]</span> <span class="o">=</span> <span class="mi">1</span>
</span>
            <span class="line line-26">			<span class="mi">0</span><span class="p">.</span><span class="nf">upto</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="mi">1</span><span class="p">)</span> <span class="p">{</span> <span class="o">|</span><span class="n">r</span><span class="o">|</span> <span class="mi">0</span><span class="p">.</span><span class="nf">upto</span><span class="p">(</span><span class="n">n</span><span class="o">-</span><span class="n">r</span><span class="o">-</span><span class="mi">1</span><span class="p">)</span> <span class="p">{</span> <span class="n">dp</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">_1</span><span class="o">+</span><span class="n">r</span><span class="p">]</span> <span class="o">+=</span> <span class="n">dp</span><span class="p">[</span><span class="n">n</span><span class="o">-</span><span class="n">r</span><span class="o">-</span><span class="mi">1</span><span class="p">][</span><span class="n">k</span><span class="p">][</span><span class="n">_1</span><span class="p">]</span> <span class="p">}</span> <span class="p">}</span>
</span>
            <span class="line line-27">		<span class="k">end</span>
</span>
            <span class="line line-28">
</span>
            <span class="line line-29">		<span class="mi">0</span><span class="p">.</span><span class="nf">upto</span><span class="p">(</span><span class="n">n</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">k</span><span class="o">|</span> <span class="n">n</span><span class="p">.</span><span class="nf">downto</span><span class="p">(</span><span class="mi">1</span><span class="p">)</span> <span class="p">{</span> <span class="n">dp</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">_1</span><span class="p">]</span> <span class="o">-=</span> <span class="n">dp</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">_1</span><span class="o">-</span><span class="mi">1</span><span class="p">]</span> <span class="p">}</span> <span class="p">}</span> <span class="c1"># multiply by 1-Y</span>
</span>
            <span class="line line-30">
</span>
            <span class="line line-31">		<span class="c1"># dp[n][n] = Y**n</span>
</span>
            <span class="line line-32">		<span class="n">dp</span><span class="p">[</span><span class="n">n</span><span class="p">][</span><span class="n">n</span><span class="p">][</span><span class="n">n</span><span class="p">]</span> <span class="o">=</span> <span class="mi">1</span>
</span>
            <span class="line line-33">	<span class="k">end</span><span class="p">.</span><span class="nf">last</span>
</span>
            <span class="line line-34"><span class="k">end</span>
</span>
          </code>
        </pre>
      </td>
    </tr>
  </tbody>
</table>
<p>Here I list first few polynomials <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo stretchy="false">(</mo><mi>Y</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">P_{n,k}(Y)</annotation></semantics></math></span></span> calculated by the above program: <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.16em" columnalign="right left left left left center" columnlines="solid none none none none" columnspacing="1em" rowlines="solid none none none none"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>1</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>2</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>3</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mo lspace="0em" rspace="0em">⋯</mo></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>1</mn></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>1</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>1</mn><mo>−</mo><mi>Y</mi></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>Y</mi></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>2</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>1</mn><mo>−</mo><mn>2</mn><mi>Y</mi><mo>+</mo><msup><mi>Y</mi><mn>2</mn></msup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>2</mn><mi>Y</mi><mo>−</mo><mn>2</mn><msup><mi>Y</mi><mn>2</mn></msup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><msup><mi>Y</mi><mn>2</mn></msup></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>3</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>1</mn><mo>−</mo><mn>3</mn><mi>Y</mi><mo>+</mo><mn>3</mn><msup><mi>Y</mi><mn>2</mn></msup><mo>−</mo><msup><mi>Y</mi><mn>3</mn></msup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>3</mn><mi>Y</mi><mo>−</mo><mn>5</mn><msup><mi>Y</mi><mn>2</mn></msup><mo>+</mo><mn>2</mn><msup><mi>Y</mi><mn>3</mn></msup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>2</mn><msup><mi>Y</mi><mn>2</mn></msup><mo>−</mo><mn>2</mn><msup><mi>Y</mi><mn>3</mn></msup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><msup><mi>Y</mi><mn>3</mn></msup></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></mtr></mtable><annotation encoding="application/x-tex">\begin{array}{r|llllc}
&amp; k=0 &amp; 1 &amp; 2 &amp; 3 &amp; \cdots\\
\hline
n=0 &amp; 1\\
1 &amp; 1-Y &amp; Y\\
2 &amp; 1-2Y+Y^2 &amp; 2Y-2Y^2 &amp; Y^2\\
3 &amp; 1-3Y+3Y^2-Y^3 &amp; 3Y-5Y^2+2Y^3 &amp; 2Y^2-2Y^3 &amp; Y^3\\
\vdots
\end{array}</annotation></semantics></math></span></span></span></p>
<p>When evaluating the polynomials for large <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>, the result is inaccurate for <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> that is not close to <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> because of the limited precision of floating numbers. 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 closer 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>, we can first find the coefficients of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo stretchy="false">(</mo><mn>1</mn><mo>−</mo><mi>X</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">P_{n,k}(1-X)</annotation></semantics></math></span></span> and then substitute <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>X</mi><mo><mi mathvariant="normal">≔</mi></mo><mn>1</mn><mo>−</mo><mi>Y</mi></mrow><annotation encoding="application/x-tex">X\coloneqq1-Y</annotation></semantics></math></span></span>.</p>
<h3 data-label="0.3.4" id="plots-of-the-probability-distributions">Plots of the probability distributions</h3>
<p>Here are some plots of the probability distribution of max combo <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> 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>50</mn></mrow><annotation encoding="application/x-tex">n=50</annotation></semantics></math></span></span>:</p>
<figure>
<img src="/assets/images/figures/2022-12-25-combo-probability/finite_distribution_50.png" class="dark-adaptive" alt="Probability distribution of  when  for different "/>

</figure>
<p>The plots are intuitive as they show that one has higher probability to get a higher max combo when they have a higher success rate.</p>
<p>There is a suspicious jump in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo stretchy="false">(</mo><mi>Y</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">P_{n,k}(Y)</annotation></semantics></math></span></span> near <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi><mo>=</mo><mi>n</mi><mi mathvariant="normal">/</mi><mn>2</mn></mrow><annotation encoding="application/x-tex">k=n/2</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>Y</mi></mrow><annotation encoding="application/x-tex">Y</annotation></semantics></math></span></span> is close 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>. We can look at it closer:</p>
<figure>
<img src="/assets/images/figures/2022-12-25-combo-probability/finite_distribution_50_2.png" class="dark-adaptive" alt="Probability distribution of  when  for different "/>

</figure>
<p>In the zoomed-in plot, we can also see a jump in first derivative (w.r.t. <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>) of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>P</mi><mrow><mi>n</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo stretchy="false">(</mo><mi>Y</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">P_{n,k}(Y)</annotation></semantics></math></span></span> near <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi><mo>=</mo><mi>n</mi><mi mathvariant="normal">/</mi><mn>3</mn></mrow><annotation encoding="application/x-tex">k=n/3</annotation></semantics></math></span></span>. Actually, the jumps can be modeled in later sections when we talk about the case when <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>.</p>
<h2 data-label="0.4" id="the-case-when-ntoinfty">The case when <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></h2>
<p>A natural approach is to try substituting Equation <a href="#eq:eq-dp2">7</a> into Equation <a href="#eq:eq-f-def">1</a> to get a function w.r.t. the unknown function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">f(y,\kappa)</annotation></semantics></math></span></span>. First, we can easily write the case when <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>y</mi><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">y=0</annotation></semantics></math></span></span> because it means zero success rate, and the only possible max combo is zero: <span id="eq:eq-f-y-0" data-label="(8)"><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>f</mi><mo stretchy="false">(</mo><mi>y</mi><mo>=</mo><mn>0</mn><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo>=</mo><mi>δ</mi><mo stretchy="false">(</mo><mi>κ</mi><mo stretchy="false">)</mo><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">f(y=0,\kappa)=\delta(\kappa).</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>8</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(8)</annotation></semantics></math></span></span></span></span> </span></span> Similarly, we can easily write the case when <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>y</mi><mo>=</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">y=1</annotation></semantics></math></span></span>: <span id="eq:eq-f-y-1" data-label="(9)"><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>f</mi><mo stretchy="false">(</mo><mi>y</mi><mo>=</mo><mn>1</mn><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo>=</mo><mi>δ</mi><mo stretchy="false">(</mo><mi>κ</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">f(y=1,\kappa)=\delta(\kappa-1).</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>9</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(9)</annotation></semantics></math></span></span></span></span> </span></span></p>
<p>From now on, we only consider the case when <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>0</mn><mo>&lt;</mo><mi>y</mi><mo>&lt;</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">0&lt;y&lt;1</annotation></semantics></math></span></span>. First, for the case <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">\kappa=0</annotation></semantics></math></span></span>, according to Equation <a href="#eq:eq-dp2">7</a>, <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><mi>f</mi><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo>=</mo><mn>0</mn><mo stretchy="false">)</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munder><mrow><mi>lim</mi><mo>⁡</mo></mrow><mrow><mi>n</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow></munder><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><msup><mi>y</mi><mfrac><mn>1</mn><mi>n</mi></mfrac></msup><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><mtable rowspacing="0.36em" columnalign="left left" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>0</mn><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>0</mn><mo>&lt;</mo><mi>y</mi><mo>≤</mo><mn>1</mn><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi mathvariant="normal">∞</mi><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>y</mi><mo>=</mo><mn>0.</mn></mrow></mstyle></mtd></mtr></mtable></mrow></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
f(y,\kappa=0)&amp;=\lim_{n\to\infty}\left(n+1\right)\left(1-y^{\frac1n}\right)^n\\
&amp;=\begin{cases}0,&amp;0&lt;y\le1,\\\infty,&amp;y=0.\end{cases}
\end{align*}</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><mi mathvariant="normal">∞</mi></mrow><annotation encoding="application/x-tex">\infty</annotation></semantics></math></span></span> means that there is a Dirac <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">\delta</annotation></semantics></math></span></span> function (shown in Equation <a href="#eq:eq-f-y-0">8</a>).</p>
<p>Then, for the case <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>=</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">\kappa=1</annotation></semantics></math></span></span>, according to Equation <a href="#eq:eq-dp2">7</a>, <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><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo>=</mo><mn>1</mn><mo stretchy="false">)</mo><mo>=</mo><munder><mrow><mi>lim</mi><mo>⁡</mo></mrow><mrow><mi>n</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow></munder><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>y</mi><mo>=</mo><mi mathvariant="normal">∞</mi><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">f(y,\kappa=1)=\lim_{n\to\infty}\left(n+1\right)y=\infty.</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><mi mathvariant="normal">∞</mi></mrow><annotation encoding="application/x-tex">\infty</annotation></semantics></math></span></span> means that there is a Dirac <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">\delta</annotation></semantics></math></span></span> function. Actually, it is easy to see that there must be a <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>y</mi><mi>δ</mi><mo stretchy="false">(</mo><mi>κ</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">y\delta(\kappa-1)</annotation></semantics></math></span></span> term in the expression of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">f(y,\kappa)</annotation></semantics></math></span></span> because the probability of getting a max combo (<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>=</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">\kappa=1</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>y</mi></mrow><annotation encoding="application/x-tex">y</annotation></semantics></math></span></span>.</p>
<p>Define <span id="eq:eq-h-def" data-label="(10)"><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>h</mi><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo><mi mathvariant="normal">≔</mi></mo><mi>f</mi><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo>−</mo><mi>y</mi><mi>δ</mi><mo stretchy="false">(</mo><mi>κ</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">h(y,\kappa)\coloneqq f(y,\kappa)-y\delta(\kappa-1),</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>10</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(10)</annotation></semantics></math></span></span></span></span> </span></span> and then we can get rid of the infinity here.</p>
<p>From now on, we only consider the case when <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>0</mn><mo>&lt;</mo><mi>y</mi><mo>&lt;</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">0&lt;y&lt;1</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>0</mn><mo>&lt;</mo><mi>κ</mi><mo>&lt;</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">0&lt;\kappa&lt;1</annotation></semantics></math></span></span>. According to Equation <a href="#eq:eq-dp2">7</a>,
<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><mtext> </mtext></mphantom><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo>∈</mo><mrow><mo fence="true">(</mo><mn>0</mn><mo separator="true">,</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo separator="true">,</mo><mi>κ</mi><mo>∈</mo><mrow><mo fence="true">(</mo><mn>0</mn><mo separator="true">,</mo><mn>1</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><munder><mrow><mi>lim</mi><mo>⁡</mo></mrow><mrow><mi>n</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow></munder><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><msup><mi>y</mi><mfrac><mn>1</mn><mi>n</mi></mfrac></msup><mo fence="true">)</mo></mrow><mrow><mo fence="true">(</mo><msup><mi>y</mi><mi>κ</mi></msup><munderover><mo>∑</mo><mrow><msup><mi>k</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup><mo>=</mo><mn>0</mn></mrow><mrow><mi>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>κ</mi><mi>n</mi><mo separator="true">,</mo><mi>n</mi><mo>−</mo><mi>κ</mi><mi>n</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></munderover><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mi>κ</mi><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><msup><mi>k</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup></mrow></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mn>1</mn><mi>n</mi></mfrac></msup><mo fence="true">)</mo></mrow></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mphantom><mo>=</mo><munder><mrow><mi>lim</mi><mo>⁡</mo></mrow><mrow><mi>n</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow></munder><mrow><mo fence="true">(</mo><mi>n</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><msup><mi>y</mi><mfrac><mn>1</mn><mi>n</mi></mfrac></msup><mo fence="true">)</mo></mrow></mphantom><mrow><mo>+</mo><munderover><mo>∑</mo><mrow><mi>r</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>κ</mi><mi>n</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>n</mi><mo>−</mo><mi>κ</mi><mi>n</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></munderover><msup><mi>y</mi><mfrac><mi>r</mi><mi>n</mi></mfrac></msup><msub><mi>P</mi><mrow><mi>n</mi><mo>−</mo><mi>r</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>κ</mi><mi>n</mi></mrow></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mn>1</mn><mi>n</mi></mfrac></msup><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><munder><mrow><mi>lim</mi><mo>⁡</mo></mrow><mrow><mi>n</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow></munder><mi>n</mi><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><msup><mi>y</mi><mfrac><mn>1</mn><mi>n</mi></mfrac></msup><mo fence="true">)</mo></mrow><mo>⋅</mo><munder><mrow><mi>lim</mi><mo>⁡</mo></mrow><mrow><mi>n</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow></munder><mrow><mo fence="true">(</mo><msup><mi>y</mi><mi>κ</mi></msup><munderover><mo>∑</mo><mrow><mi>t</mi><mo>=</mo><mn>0</mn><mo separator="true">,</mo><mi mathvariant="normal">Δ</mi><mi>t</mi><mo>=</mo><mfrac><mn>1</mn><mi>n</mi></mfrac></mrow><mrow><mi>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>κ</mi><mo separator="true">,</mo><mn>1</mn><mo>−</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow></munderover><msub><mi>P</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo>−</mo><mi>κ</mi><mo stretchy="false">)</mo><mi>n</mi><mo separator="true">,</mo><mi>t</mi><mi>n</mi></mrow></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mn>1</mn><mi>n</mi></mfrac></msup><mo fence="true">)</mo></mrow><mo>+</mo><munderover><mo>∑</mo><mrow><mi>t</mi><mo>=</mo><mn>0</mn><mo separator="true">,</mo><mi mathvariant="normal">Δ</mi><mi>t</mi><mo>=</mo><mfrac><mn>1</mn><mi>n</mi></mfrac></mrow><mrow><mi>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>κ</mi><mo separator="true">,</mo><mn>1</mn><mo>−</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow></munderover><msup><mi>y</mi><mi>t</mi></msup><msub><mi>P</mi><mrow><mo stretchy="false">(</mo><mn>1</mn><mo>−</mo><mi>t</mi><mo stretchy="false">)</mo><mi>n</mi><mo separator="true">,</mo><mi>κ</mi><mi>n</mi></mrow></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mn>1</mn><mi>n</mi></mfrac></msup><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><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><munder><mrow><mi>lim</mi><mo>⁡</mo></mrow><mrow><mi>n</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow></munder><mrow><mo fence="true">(</mo><msup><mi>y</mi><mi>κ</mi></msup><munderover><mo>∑</mo><mrow><mi>t</mi><mo>=</mo><mn>0</mn><mo separator="true">,</mo><mi mathvariant="normal">Δ</mi><mi>t</mi><mo>=</mo><mfrac><mn>1</mn><mi>n</mi></mfrac></mrow><mrow><mi>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>κ</mi><mo separator="true">,</mo><mn>1</mn><mo>−</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow></munderover><mfrac><mn>1</mn><mrow><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>κ</mi><mo fence="true">)</mo></mrow><mi>n</mi></mrow></mfrac><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></msup><mo separator="true">,</mo><mfrac><mi>t</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mo fence="true">)</mo></mrow></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mphantom><mo>=</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><munder><mrow><mi>lim</mi><mo>⁡</mo></mrow><mrow><mi>n</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow></munder></mphantom><mrow><mo>+</mo><munderover><mo>∑</mo><mrow><mi>t</mi><mo>=</mo><mn>0</mn><mo separator="true">,</mo><mi mathvariant="normal">Δ</mi><mi>t</mi><mo>=</mo><mfrac><mn>1</mn><mi>n</mi></mfrac></mrow><mrow><mi>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>κ</mi><mo separator="true">,</mo><mn>1</mn><mo>−</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow></munderover><msup><mi>y</mi><mi>t</mi></msup><mfrac><mn>1</mn><mrow><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>t</mi><mo fence="true">)</mo></mrow><mi>n</mi></mrow></mfrac><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>t</mi></mrow></msup><mo separator="true">,</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>t</mi></mrow></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><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><munder><mrow><mi>lim</mi><mo>⁡</mo></mrow><mrow><mi>n</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow></munder><munderover><mo>∑</mo><mrow><mi>t</mi><mo>=</mo><mn>0</mn><mo separator="true">,</mo><mi mathvariant="normal">Δ</mi><mi>t</mi><mo>=</mo><mfrac><mn>1</mn><mi>n</mi></mfrac></mrow><mrow><mi>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>κ</mi><mo separator="true">,</mo><mn>1</mn><mo>−</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow></munderover><mrow><mo fence="true">(</mo><mfrac><msup><mi>y</mi><mi>κ</mi></msup><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></msup><mo separator="true">,</mo><mfrac><mi>t</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mo fence="true">)</mo></mrow><mo>+</mo><mfrac><msup><mi>y</mi><mi>t</mi></msup><mrow><mn>1</mn><mo>−</mo><mi>t</mi></mrow></mfrac><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>t</mi></mrow></msup><mo separator="true">,</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>t</mi></mrow></mfrac><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mi mathvariant="normal">Δ</mi><mi>t</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><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><msubsup><mo>∫</mo><mrow><mi>t</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>κ</mi><mo separator="true">,</mo><mn>1</mn><mo>−</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow></msubsup><mrow><mo fence="true">(</mo><mfrac><msup><mi>y</mi><mi>κ</mi></msup><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></msup><mo separator="true">,</mo><mfrac><mi>t</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mo fence="true">)</mo></mrow><mo>+</mo><mfrac><msup><mi>y</mi><mi>t</mi></msup><mrow><mn>1</mn><mo>−</mo><mi>t</mi></mrow></mfrac><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>t</mi></mrow></msup><mo separator="true">,</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>t</mi></mrow></mfrac><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>t</mi><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
&amp;\phantom{=~}f\!\left(y\in\left(0,1\right),\kappa\in\left(0,1\right)\right)\\
&amp;=\lim_{n\to\infty}\left(n+1\right)\left(1-y^{\frac1n}\right)\left(
  y^\kappa\sum_{k'=0}^{\min(\kappa n,n-\kappa n-1)}P_{n-\kappa n-1,k'}\!\left(y^{\frac1n}\right)
\right.\\&amp;\phantom{=\lim_{n\to\infty}\left(n+1\right)\left(1-y^{\frac1n}\right)}\left.
  +\sum_{r=0}^{\min(\kappa n-1,n-\kappa n-1)}y^{\frac rn}P_{n-r-1,\kappa n}\!\left(y^{\frac1n}\right)
\right)\\
&amp;=\lim_{n\to\infty}n\left(1-y^{\frac1n}\right)\cdot\lim_{n\to\infty}\left(
  y^\kappa\sum_{t=0,\Delta t=\frac1n}^{\min(\kappa,1-\kappa)}P_{(1-\kappa)n,tn}\!\left(y^{\frac1n}\right)
  +\sum_{t=0,\Delta t=\frac1n}^{\min(\kappa,1-\kappa)}y^tP_{(1-t)n,\kappa n}\!\left(y^{\frac1n}\right)
\right)\\
&amp;=-\ln y\lim_{n\to\infty}\left(
  y^\kappa\sum_{t=0,\Delta t=\frac1n}^{\min(\kappa,1-\kappa)}
    \frac1{\left(1-\kappa\right)n}f\!\left(y^{1-\kappa},\frac t{1-\kappa}\right)
\right.\\&amp;\phantom{=-\ln y\lim_{n\to\infty}}\left.
  +\sum_{t=0,\Delta t=\frac1n}^{\min(\kappa,1-\kappa)}y^t
    \frac1{\left(1-t\right)n}f\!\left(y^{1-t},\frac{\kappa}{1-t}\right)
\right)\\
&amp;=-\ln y\lim_{n\to\infty}\sum_{t=0,\Delta t=\frac 1n}^{\min(\kappa,1-\kappa)}\left(
  \frac{y^\kappa}{1-\kappa}f\!\left(y^{1-\kappa},\frac t{1-\kappa}\right)
  +\frac{y^t}{1-t}f\!\left(y^{1-t},\frac\kappa{1-t}\right)
\right)\Delta t\\
&amp;=-\ln y\int_{t=0}^{\min(\kappa,1-\kappa)}\left(
  \frac{y^\kappa}{1-\kappa}f\!\left(y^{1-\kappa},\frac t{1-\kappa}\right)
  +\frac{y^t}{1-t}f\!\left(y^{1-t},\frac\kappa{1-t}\right)
\right)\mathrm dt.
\end{align*}</annotation></semantics></math></span></span></span>
Add back the delta function at <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>=</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">\kappa=1</annotation></semantics></math></span></span>, and we have the integral 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" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo>∈</mo><mrow><mo fence="true">(</mo><mn>0</mn><mo separator="true">,</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo separator="true">,</mo><mi>κ</mi><mo fence="true">)</mo></mrow><mo>=</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><msubsup><mo>∫</mo><mrow><mi>t</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>κ</mi><mo separator="true">,</mo><mn>1</mn><mo>−</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow></msubsup></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mtext> </mtext><mrow><mo fence="true">(</mo><mfrac><msup><mi>y</mi><mi>κ</mi></msup><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></msup><mo separator="true">,</mo><mfrac><mi>t</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mo fence="true">)</mo></mrow></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mrow><mo>+</mo><mfrac><msup><mi>y</mi><mi>t</mi></msup><mrow><mn>1</mn><mo>−</mo><mi>t</mi></mrow></mfrac><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>t</mi></mrow></msup><mo separator="true">,</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>t</mi></mrow></mfrac><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>t</mi><mo>+</mo><mi>y</mi><mi>δ</mi><mo stretchy="false">(</mo><mi>κ</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{split}
f\!\left(y\in\left(0,1\right),\kappa\right)=-\ln y\int_{t=0}^{\min(\kappa,1-\kappa)}&amp;\,\left(
  \frac{y^\kappa}{1-\kappa}f\!\left(y^{1-\kappa},\frac t{1-\kappa}\right)
\right.\\&amp;\left.
  +\frac{y^t}{1-t}f\!\left(y^{1-t},\frac\kappa{1-t}\right)
\right)\mathrm dt+y\delta(\kappa-1).
\end{split}</annotation></semantics></math></span></span></span></p>
<p>There are two terms in the integral. Substitute <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>u</mi><mo><mi mathvariant="normal">≔</mi></mo><mfrac><mi>t</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac></mrow><annotation encoding="application/x-tex">u\coloneqq\frac t{1-\kappa}</annotation></semantics></math></span></span> in the first term, 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" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><msubsup><mo>∫</mo><mrow><mi>t</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>min</mi><mo>⁡</mo><mrow><mo fence="true">(</mo><mi>κ</mi><mo separator="true">,</mo><mn>1</mn><mo>−</mo><mi>κ</mi><mo fence="true">)</mo></mrow></mrow></msubsup><mfrac><msup><mi>y</mi><mi>κ</mi></msup><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></msup><mo separator="true">,</mo><mfrac><mi>t</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>t</mi></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msubsup><mo>∫</mo><mn>0</mn><mrow><mi>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mo separator="true">,</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><msup><mi>y</mi><mi>κ</mi></msup><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></msup><mo separator="true">,</mo><mi>u</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>u</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><msubsup><mo>∫</mo><mn>0</mn><mrow><mi>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mo separator="true">,</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mrow><mo fence="true">(</mo><msup><mi>y</mi><mi>κ</mi></msup><mi>h</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></msup><mo separator="true">,</mo><mi>u</mi><mo fence="true">)</mo></mrow><mo>+</mo><mi>y</mi><mi>δ</mi><mo stretchy="false">(</mo><mi>u</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>u</mi><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
\int_{t=0}^{\min\left(\kappa,1-\kappa\right)}\frac{y^\kappa}{1-\kappa}f\!\left(y^{1-\kappa},\frac t{1-\kappa}\right)\mathrm dt
&amp;=\int_0^{\min(\frac\kappa{1-\kappa},1)}y^\kappa f\!\left(y^{1-\kappa},u\right)\mathrm du\\
&amp;=\int_0^{\min(\frac\kappa{1-\kappa},1)}\left(y^\kappa h\!\left(y^{1-\kappa},u\right)+y\delta(u-1)\right)\mathrm du.
\end{align*}</annotation></semantics></math></span></span></span>
Substitute <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>v</mi><mo><mi mathvariant="normal">≔</mi></mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>t</mi></mrow></mfrac></mrow><annotation encoding="application/x-tex">v\coloneqq\frac\kappa{1-t}</annotation></semantics></math></span></span> in the second term, 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" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><msubsup><mo>∫</mo><mrow><mi>t</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>κ</mi><mo separator="true">,</mo><mn>1</mn><mo>−</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow></msubsup><mfrac><msup><mi>y</mi><mi>t</mi></msup><mrow><mn>1</mn><mo>−</mo><mi>t</mi></mrow></mfrac><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>t</mi></mrow></msup><mo separator="true">,</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>t</mi></mrow></mfrac><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>t</mi></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><msubsup><mo>∫</mo><mi>κ</mi><mrow><mi>min</mi><mo>⁡</mo><mrow><mo fence="true">(</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mo separator="true">,</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow></msubsup><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mfrac><mi>κ</mi><mi>v</mi></mfrac></mrow></msup><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mi>κ</mi><mi>v</mi></mfrac></msup><mo separator="true">,</mo><mi>v</mi><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">d</mi><mi>v</mi></mrow><mi>v</mi></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><mo>∫</mo><mi>κ</mi><mrow><mi>min</mi><mo>⁡</mo><mrow><mo fence="true">(</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mo separator="true">,</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow></msubsup><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mfrac><mi>κ</mi><mi>v</mi></mfrac></mrow></msup><mi>h</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mi>κ</mi><mi>v</mi></mfrac></msup><mo separator="true">,</mo><mi>v</mi><mo fence="true">)</mo></mrow><mo>+</mo><mi>y</mi><mi>δ</mi><mo stretchy="false">(</mo><mi>v</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">d</mi><mi>v</mi></mrow><mi>v</mi></mfrac><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
\int_{t=0}^{\min(\kappa,1-\kappa)}\frac{y^t}{1-t}f\!\left(y^{1-t},\frac\kappa{1-t}\right)\mathrm dt
&amp;=\int_\kappa^{\min\left(\frac\kappa{1-\kappa},1\right)}y^{1-\frac\kappa v}f\!\left(y^{\frac\kappa v},v\right)\frac{\mathrm dv}v\\
&amp;=\int_\kappa^{\min\left(\frac\kappa{1-\kappa},1\right)}\left(y^{1-\frac\kappa v}h\!\left(y^{\frac\kappa v},v\right)+y\delta(v-1)\right)\frac{\mathrm dv}v.
\end{align*}</annotation></semantics></math></span></span></span></p>
<p>Further, let (we only consider <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>y</mi><mo>∈</mo><mrow><mo fence="true">(</mo><mn>0</mn><mo separator="true">,</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">y\in\left(0,1\right)</annotation></semantics></math></span></span> from now on) <span id="eq:eq-g-def" data-label="(11)"><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>g</mi><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo><mi mathvariant="normal">≔</mi></mo><mfrac><mrow><mi>h</mi><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow><mi>y</mi></mfrac><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">g(y,\kappa)\coloneqq\frac{h(y,\kappa)}{y},</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>11</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(11)</annotation></semantics></math></span></span></span></span> </span></span> then the integral equation becomes <span id="eq:eq-main" data-label="(12)"><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><mtable rowspacing="0.25em" columnalign="right left" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mi>g</mi><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo>=</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mtext> </mtext><mrow><mo fence="true">(</mo><msubsup><mo>∫</mo><mn>0</mn><mrow><mi>min</mi><mo>⁡</mo><mrow><mo fence="true">(</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mo separator="true">,</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow></msubsup><mrow><mo fence="true">(</mo><mi>g</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></msup><mo separator="true">,</mo><mi>u</mi><mo fence="true">)</mo></mrow><mo>+</mo><mi>δ</mi><mo stretchy="false">(</mo><mi>u</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>u</mi></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mrow><mo>+</mo><msubsup><mo>∫</mo><mi>κ</mi><mrow><mi>min</mi><mo>⁡</mo><mrow><mo fence="true">(</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mo separator="true">,</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow></msubsup><mrow><mo fence="true">(</mo><mi>g</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mi>κ</mi><mi>v</mi></mfrac></msup><mo separator="true">,</mo><mi>v</mi><mo fence="true">)</mo></mrow><mo>+</mo><mi>δ</mi><mo stretchy="false">(</mo><mi>v</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">d</mi><mi>v</mi></mrow><mi>v</mi></mfrac><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{split}
g(y,\kappa)=-\ln y&amp;\,\left(
  \int_0^{\min\left(\frac\kappa{1-\kappa},1\right)}\left(g\!\left(y^{1-\kappa},u\right)+\delta(u-1)\right)\mathrm du
\right.\\&amp;\left.
  +\int_\kappa^{\min\left(\frac\kappa{1-\kappa},1\right)}\left(g\!\left(y^{\frac\kappa v},v\right)+\delta(v-1)\right)\frac{\mathrm dv}v
\right).
\end{split}</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>12</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(12)</annotation></semantics></math></span></span></span></span> </span></span></p>
<p>There is another integral equation for <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>g</mi></mrow><annotation encoding="application/x-tex">g</annotation></semantics></math></span></span>. Because <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>κ</mi><mo>=</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">\int_0^1f\!\left(y,\kappa\right)\mathrm d\kappa=1</annotation></semantics></math></span></span>, we have <span id="eq:eq-normalization" data-label="(13)"><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><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><mi>g</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>κ</mi><mo>=</mo><mfrac><mn>1</mn><mi>y</mi></mfrac><mo>−</mo><mn>1.</mn></mrow><annotation encoding="application/x-tex">\int_0^1g\!\left(y,\kappa\right)\mathrm d\kappa=\frac1y-1.</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>13</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(13)</annotation></semantics></math></span></span></span></span> </span></span></p>
<p>Equation <a href="#eq:eq-main">12</a> and <a href="#eq:eq-normalization">13</a> are the equations that we are going to utilize to get the expression for <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>g</mi><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">g(y,\kappa)</annotation></semantics></math></span></span>.</p>
<h3 data-label="0.4.1" id="the-case-kappainleftfrac121right">The case <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>∈</mo><mrow><mo fence="true">(</mo><mfrac><mn>1</mn><mn>2</mn></mfrac><mo separator="true">,</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\kappa\in\left(\frac12,1\right)</annotation></semantics></math></span></span></h3>
<p>In this case, 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>min</mi><mo>⁡</mo><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mo separator="true">,</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo>=</mo><mn>1</mn><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\min\!\left(\frac\kappa{1-\kappa},1\right)=1,</annotation></semantics></math></span></span></span> so the Dirac delta functions in Equation <a href="#eq:eq-main">12</a> should be considered. In this case, it simplifies to <span id="eq:eq-main-1-2-kappa-1" data-label="(14)"><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>g</mi><mn>1</mn></msub><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo><mi mathvariant="normal">≔</mi></mo><mi>g</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo>∈</mo><mrow><mo fence="true">(</mo><mfrac><mn>1</mn><mn>2</mn></mfrac><mo separator="true">,</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo>=</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><msubsup><mo>∫</mo><mi>κ</mi><mn>1</mn></msubsup><mi>g</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mi>κ</mi><mi>v</mi></mfrac></msup><mo separator="true">,</mo><mi>v</mi><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">d</mi><mi>v</mi></mrow><mi>v</mi></mfrac><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">g_1(y,\kappa)\coloneqq g\!\left(y,\kappa\in\left(\frac12,1\right)\right)=
-\ln y\left(y^{\kappa-1}+\int_\kappa^1g\!\left(y^{\frac\kappa v},v\right)\frac{\mathrm dv}v+1\right),</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>14</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(14)</annotation></semantics></math></span></span></span></span> </span></span> where Equation <a href="#eq:eq-normalization">13</a> is utilized when finding the first term.</p>
<p>We can try to solve Equation <a href="#eq:eq-main-1-2-kappa-1">14</a> by using <a href="https://en.wikipedia.org/wiki/Adomian_decomposition_method" target="_blank" rel="external">Adomian decomposition method (ADM)</a>. Suppose <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>g</mi><mn>1</mn></msub></mrow><annotation encoding="application/x-tex">g_1</annotation></semantics></math></span></span> can be written in a series <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>g</mi><mn>1</mn></msub><mo>=</mo><msubsup><mi>g</mi><mn>1</mn><mrow><mo stretchy="false">(</mo><mn>0</mn><mo stretchy="false">)</mo></mrow></msubsup><mo>+</mo><msubsup><mi>g</mi><mn>1</mn><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo>+</mo><mo>⋯</mo><mtext> </mtext><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">g_1=g_1^{(0)}+g_1^{(1)}+\cdots,</annotation></semantics></math></span></span></span> and substitute it into Equation <a href="#eq:eq-main-1-2-kappa-1">14</a>, 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><mi>g</mi><mn>1</mn><mrow><mo stretchy="false">(</mo><mn>0</mn><mo stretchy="false">)</mo></mrow></msubsup><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo>+</mo><mo>⋯</mo><mo>=</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><mn>1</mn><mo>+</mo><msubsup><mo>∫</mo><mi>κ</mi><mn>1</mn></msubsup><mrow><mo fence="true">(</mo><msup><mi>g</mi><mrow><mo stretchy="false">(</mo><mn>0</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mi>κ</mi><mi>v</mi></mfrac></msup><mo separator="true">,</mo><mi>v</mi><mo fence="true">)</mo></mrow><mo>+</mo><mo>⋯</mo><mtext> </mtext><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">d</mi><mi>v</mi></mrow><mi>v</mi></mfrac><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">g_1^{(0)}(y,\kappa)+\cdots
=-\ln y\left(y^{\kappa-1}+1+\int_\kappa^1\left(
  g^{(0)}\!\left(y^{\frac\kappa v},v\right)+\cdots
\right)\frac{\mathrm dv}v\right).</annotation></semantics></math></span></span></span> Assume we may interchange integration and summation (which is OK here because we can verify the solution after we find it using ADM). Then,
<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><mtext> </mtext></mphantom><msubsup><mi>g</mi><mn>1</mn><mrow><mo stretchy="false">(</mo><mn>0</mn><mo stretchy="false">)</mo></mrow></msubsup><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo>+</mo><msubsup><mi>g</mi><mn>1</mn><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo>+</mo><mo>⋯</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><msubsup><mo>∫</mo><mi>κ</mi><mn>1</mn></msubsup><msup><mi>g</mi><mrow><mo stretchy="false">(</mo><mn>0</mn><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mi>κ</mi><mi>v</mi></mfrac></msup><mo separator="true">,</mo><mi>v</mi><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">d</mi><mi>v</mi></mrow><mi>v</mi></mfrac><mo>−</mo><mo>⋯</mo><mtext> </mtext><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
&amp;\phantom{=~}g_1^{(0)}(y,\kappa)+g_1^{(1)}(y,\kappa)+\cdots\\
&amp;=-\ln y\left(y^{\kappa-1}+1\right)
-\ln y\int_\kappa^1g^{(0)}\!\left(y^{\frac\kappa v},v\right)\frac{\mathrm dv}v-\cdots.
\end{align*}</annotation></semantics></math></span></span></span>
If we let <span id="eq:eq-adm-1-2-kappa-1" data-label="(15)"><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><mtable rowspacing="0.25em" columnalign="right left" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><msubsup><mi>g</mi><mn>1</mn><mrow><mo stretchy="false">(</mo><mn>0</mn><mo stretchy="false">)</mo></mrow></msubsup><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><msubsup><mi>g</mi><mn>1</mn><mrow><mo stretchy="false">(</mo><mi>i</mi><mo>+</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><msubsup><mo>∫</mo><mi>κ</mi><mn>1</mn></msubsup><msup><mi>g</mi><mrow><mo stretchy="false">(</mo><mi>i</mi><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mi>κ</mi><mi>v</mi></mfrac></msup><mo separator="true">,</mo><mi>v</mi><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">d</mi><mi>v</mi></mrow><mi>v</mi></mfrac><mo separator="true">,</mo><mspace width="1em"/><mi>i</mi><mo>∈</mo><mi mathvariant="double-struck">N</mi><mo separator="true">,</mo></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{split}
g_1^{(0)}(y,\kappa)&amp;\coloneqq-\ln y\left(y^{\kappa-1}+1\right),\\
g_1^{(i+1)}(y,\kappa)&amp;\coloneqq-\ln y\int_\kappa^1g^{(i)}\!\left(y^{\frac\kappa v},v\right)\frac{\mathrm dv}v,\quad i\in\mathbb N,
\end{split}</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>15</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(15)</annotation></semantics></math></span></span></span></span> </span></span> then we can equate each term in the two series. If the sum <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>g</mi><mn>1</mn></msub><mo>=</mo><msubsup><mo>∑</mo><mrow><mi>i</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><msubsup><mi>g</mi><mn>1</mn><mrow><mo stretchy="false">(</mo><mi>i</mi><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">g_1=\sum_{i=0}^\infty g_1^{(i)}</annotation></semantics></math></span></span> converges, then this is a guess of the solution to Equation <a href="#eq:eq-main-1-2-kappa-1">14</a>, which we can verify whether it is correct or not.</p>
<p>Using Equation <a href="#eq:eq-adm-1-2-kappa-1">15</a>, we can find first few terms in the series by directly integrating. The first few terms are <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><msubsup><mi>g</mi><mn>1</mn><mrow><mo stretchy="false">(</mo><mn>0</mn><mo stretchy="false">)</mo></mrow></msubsup><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><msubsup><mi>g</mi><mn>1</mn><mrow><mo stretchy="false">(</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>−</mo><mn>1</mn><mo>+</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><msubsup><mi>g</mi><mn>1</mn><mrow><mo stretchy="false">(</mo><mn>2</mn><mo stretchy="false">)</mo></mrow></msubsup><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>−</mo><mn>1</mn><mo>−</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><mfrac><mn>1</mn><mn>2</mn></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mn>2</mn></msup><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><msubsup><mi>g</mi><mn>1</mn><mrow><mo stretchy="false">(</mo><mn>3</mn><mo stretchy="false">)</mo></mrow></msubsup><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>−</mo><mn>1</mn><mo>−</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>−</mo><mfrac><mn>1</mn><mn>2</mn></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mn>2</mn></msup><mo>+</mo><mfrac><mn>1</mn><mn>6</mn></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mn>3</mn></msup><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><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="true"><mrow/></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{split}
g_1^{(0)}(y,\kappa)&amp;=-\ln y\left(y^{\kappa-1}+1\right),\\
g_1^{(1)}(y,\kappa)&amp;=-\ln y\left(y^{\kappa-1}-1+\ln y^{\kappa-1}\right),\\
g_1^{(2)}(y,\kappa)&amp;=-\ln y\left(y^{\kappa-1}-1-\ln y^{\kappa-1}+\frac12\left(\ln y^{\kappa-1}\right)^2\right),\\
g_1^{(3)}(y,\kappa)&amp;=-\ln y\left(y^{\kappa-1}-1-\ln y^{\kappa-1}-\frac12\left(\ln y^{\kappa-1}\right)^2+\frac16\left(\ln y^{\kappa-1}\right)^3\right),\\
\vdots&amp;
\end{split}</annotation></semantics></math></span></span></span>
We may then guess that the terms have general formula <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>g</mi><mn>1</mn><mrow><mo stretchy="false">(</mo><mi>i</mi><mo stretchy="false">)</mo></mrow></msubsup><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo>=</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><mfrac><mn>1</mn><mrow><mi>i</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>i</mi></msup><mo>−</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>i</mi><mo>−</mo><mn>1</mn></mrow></munderover><mfrac><mn>1</mn><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>j</mi></msup><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">g_1^{(i)}(y,\kappa)=-\ln y\left(y^{\kappa-1}+\frac1{i!}\left(\ln y^{\kappa-1}\right)^i
-\sum_{j=0}^{i-1}\frac1{j!}\left(\ln y^{\kappa-1}\right)^j\right).</annotation></semantics></math></span></span></span> Sum up the terms, 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" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><msub><mi>g</mi><mn>1</mn></msub><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>i</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></munderover><msubsup><mi>g</mi><mn>1</mn><mrow><mo stretchy="false">(</mo><mi>i</mi><mo stretchy="false">)</mo></mrow></msubsup><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munder><mrow><mi>lim</mi><mo>⁡</mo></mrow><mrow><mi>q</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow></munder><munderover><mo>∑</mo><mrow><mi>i</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></munderover><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><mfrac><mn>1</mn><mrow><mi>i</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>i</mi></msup><mo>−</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>i</mi><mo>−</mo><mn>1</mn></mrow></munderover><mfrac><mn>1</mn><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>j</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><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><mi>exp</mi><mo>⁡</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><munder><mrow><mi>lim</mi><mo>⁡</mo></mrow><mrow><mi>q</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow></munder><mrow><mo fence="true">(</mo><mrow><mo fence="true">(</mo><mi>q</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>−</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></munderover><munderover><mo>∑</mo><mrow><mi>i</mi><mo>=</mo><mi>j</mi><mo>+</mo><mn>1</mn></mrow><mi>q</mi></munderover><mfrac><mn>1</mn><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>j</mi></msup><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><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><munder><mrow><mi>lim</mi><mo>⁡</mo></mrow><mrow><mi>q</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow></munder><mrow><mo fence="true">(</mo><mrow><mo fence="true">(</mo><mi>q</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>−</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></munderover><mfrac><mrow><mi>q</mi><mo>−</mo><mi>j</mi></mrow><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>j</mi></msup><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><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><munder><mrow><mi>lim</mi><mo>⁡</mo></mrow><mrow><mi>q</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow></munder><mrow><mo fence="true">(</mo><mi>q</mi><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>−</mo><mi>q</mi><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></munderover><mfrac><mn>1</mn><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>j</mi></msup><mo fence="true">)</mo></mrow></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mphantom><mo>=</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi></mphantom><mrow><mpadded width="0px"><mphantom><munderover><mo>∑</mo><mi>j</mi><mi>q</mi></munderover></mphantom></mpadded><mo>+</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mi>exp</mi><mo>⁡</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></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><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><mn>2</mn><mo>+</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
g_1(y,\kappa)&amp;=\sum_{i=0}^\infty g_1^{(i)}(y,\kappa)\\
&amp;=\lim_{q\to\infty}\sum_{i=0}^q-\ln y\left(
  y^{\kappa-1}+\frac1{i!}\left(\ln y^{\kappa-1}\right)^i
  -\sum_{j=0}^{i-1}\frac1{j!}\left(\ln y^{\kappa-1}\right)^j
\right)\\
&amp;=-\ln y\left(\exp\ln y^{\kappa-1}+\lim_{q\to\infty}\left(
  \left(q+1\right)y^{\kappa-1}
  -\sum_{j=0}^q\sum_{i=j+1}^q\frac1{j!}\left(\ln y^{\kappa-1}\right)^j
\right)\right)\\
&amp;=-\ln y\left(y^{\kappa-1}+\lim_{q\to\infty}\left(
  \left(q+1\right)y^{\kappa-1}
  -\sum_{j=0}^q\frac{q-j}{j!}\left(\ln y^{\kappa-1}\right)^j
\right)\right)\\
&amp;=-\ln y\left(
  y^{\kappa-1}+\lim_{q\to\infty}\left(
    qy^{\kappa-1}-q\sum_{j=0}^q\frac1{j!}\left(\ln y^{\kappa-1}\right)^j
  \right)
\right.\\&amp;\phantom{=-\ln y}\left.\vphantom{\sum_j^q}
  +y^{\kappa-1}
  +\ln y^{\kappa-1}\exp\ln y^{\kappa-1}
\right)\\
&amp;=-\ln y\left(2+\ln y^{\kappa-1}\right)y^{\kappa-1}.
\end{align*}</annotation></semantics></math></span></span></span></p>
<p>Therefore, we have the final guess of solution <span id="eq:eq-g1" data-label="(16)"><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>g</mi><mn>1</mn></msub><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo>=</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><mn>2</mn><mo>+</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">g_1(y,\kappa)=-\ln y\left(2+\ln y^{\kappa-1}\right)y^{\kappa-1}.</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>16</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(16)</annotation></semantics></math></span></span></span></span> </span></span> We can substitute it into Equation <a href="#eq:eq-main-1-2-kappa-1">14</a> to verify that it is indeed the solution.</p>
<h3 data-label="0.4.2" id="the-case-kappainleftfrac13frac12right">The case <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>∈</mo><mrow><mo fence="true">(</mo><mfrac><mn>1</mn><mn>3</mn></mfrac><mo separator="true">,</mo><mfrac><mn>1</mn><mn>2</mn></mfrac><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\kappa\in\left(\frac13,\frac12\right)</annotation></semantics></math></span></span></h3>
<p>In this case, 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>min</mi><mo>⁡</mo><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mo separator="true">,</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo>=</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mo>∈</mo><mrow><mo fence="true">(</mo><mfrac><mn>1</mn><mn>2</mn></mfrac><mo separator="true">,</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\min\!\left(\frac\kappa{1-\kappa},1\right)=\frac\kappa{1-\kappa}\in\left(\frac12,1\right).</annotation></semantics></math></span></span></span> We can then use the same method as in the previous case to find the solution.</p>
<p>First, by Equation <a href="#eq:eq-main-1-2-kappa-1">14</a>, <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>g</mi><mn>2</mn></msub><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><mi>g</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo>∈</mo><mrow><mo fence="true">(</mo><mfrac><mn>1</mn><mn>3</mn></mfrac><mo separator="true">,</mo><mfrac><mn>1</mn><mn>2</mn></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><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><msubsup><mo>∫</mo><mn>0</mn><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac></msubsup><mi>g</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></msup><mo separator="true">,</mo><mi>u</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>u</mi><mo>+</mo><msubsup><mo>∫</mo><mi>κ</mi><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac></msubsup><mi>g</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mi>κ</mi><mi>v</mi></mfrac></msup><mo separator="true">,</mo><mi>v</mi><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">d</mi><mi>v</mi></mrow><mi>v</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><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><mi>g</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></msup><mo separator="true">,</mo><mi>u</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>u</mi><mo>−</mo><msubsup><mo>∫</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mn>1</mn></msubsup><msub><mi>g</mi><mn>1</mn></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></msup><mo separator="true">,</mo><mi>u</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>u</mi></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mphantom><mo>=</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi></mphantom><mrow><mo>+</mo><msubsup><mo>∫</mo><mi>κ</mi><mfrac><mn>1</mn><mn>2</mn></mfrac></msubsup><msub><mi>g</mi><mn>2</mn></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mi>κ</mi><mi>v</mi></mfrac></msup><mo separator="true">,</mo><mi>v</mi><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">d</mi><mi>v</mi></mrow><mi>v</mi></mfrac><mo>+</mo><msubsup><mo>∫</mo><mfrac><mn>1</mn><mn>2</mn></mfrac><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac></msubsup><msub><mi>g</mi><mn>1</mn></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mi>κ</mi><mi>v</mi></mfrac></msup><mo separator="true">,</mo><mi>v</mi><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">d</mi><mi>v</mi></mrow><mi>v</mi></mfrac><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
g_2(y,\kappa)&amp;\coloneqq g\!\left(y,\kappa\in\left(\frac13,\frac12\right)\right)\\
&amp;=-\ln y\left(
  \int_0^{\frac\kappa{1-\kappa}}g\!\left(y^{1-\kappa},u\right)\mathrm du
  +\int_\kappa^{\frac\kappa{1-\kappa}}g\!\left(y^{\frac\kappa v},v\right)\frac{\mathrm dv}v
\right)\\
&amp;=-\ln y\left(
  \int_0^1g\!\left(y^{1-\kappa},u\right)\mathrm du
  -\int_{\frac\kappa{1-\kappa}}^1g_1\!\left(y^{1-\kappa},u\right)\mathrm du
\right.\\&amp;\phantom{=-\ln y}\left.
  +\int_\kappa^{\frac12}g_2\!\left(y^{\frac\kappa v},v\right)\frac{\mathrm dv}v
  +\int_{\frac12}^{\frac\kappa{1-\kappa}}g_1\!\left(y^{\frac\kappa v},v\right)\frac{\mathrm dv}v
\right).
\end{align*}</annotation></semantics></math></span></span></span>
Substitute Equation <a href="#eq:eq-normalization">13</a> and <a href="#eq:eq-g1">16</a> into the above equation, and we have <span id="eq:eq-main-1-3-kappa-1-2" data-label="(17)"><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><mtable rowspacing="0.25em" columnalign="right left" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><msub><mi>g</mi><mn>2</mn></msub><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><msup><mi>y</mi><mrow><mo>−</mo><mi>κ</mi></mrow></msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>+</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mo>−</mo><mi>κ</mi></mrow></msup><mo fence="true">)</mo></mrow><mo>−</mo><mn>2</mn><msup><mi>y</mi><mrow><mn>2</mn><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>+</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mn>2</mn><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mpadded width="0px"><mphantom><msubsup><mo>∫</mo><mi>κ</mi><mfrac><mn>1</mn><mn>2</mn></mfrac></msubsup></mphantom></mpadded></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mphantom><mo>=</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi></mphantom><mrow><mo>+</mo><msubsup><mo>∫</mo><mi>κ</mi><mfrac><mn>1</mn><mn>2</mn></mfrac></msubsup><msub><mi>g</mi><mn>2</mn></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mi>κ</mi><mi>v</mi></mfrac></msup><mo separator="true">,</mo><mi>v</mi><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">d</mi><mi>v</mi></mrow><mi>v</mi></mfrac><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{split}
g_2(y,\kappa)&amp;=-\ln y\left(
  y^{\kappa-1}
  +y^{-\kappa}\left(1+\ln y^{-\kappa}\right)
  -2y^{2\kappa-1}\left(1+\ln y^{2\kappa-1}\right)
\vphantom{\int_\kappa^{\frac12}}\right.\\&amp;\phantom{=-\ln y}\left.
  +\int_\kappa^{\frac12}g_2\!\left(y^{\frac\kappa v},v\right)\frac{\mathrm dv}v
\right).
\end{split}</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>17</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(17)</annotation></semantics></math></span></span></span></span> </span></span></p>
<p>Equation <a href="#eq:eq-main-1-3-kappa-1-2">17</a> can again be solved by ADM though the calculation is much more complicated than the previous case. We may guess <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>g</mi><mn>2</mn></msub><mo>=</mo><msubsup><mo>∑</mo><mrow><mi>i</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><msubsup><mi>g</mi><mn>2</mn><mrow><mo stretchy="false">(</mo><mi>i</mi><mo stretchy="false">)</mo></mrow></msubsup></mrow><annotation encoding="application/x-tex">g_2=\sum_{i=0}^\infty g_2^{(i)}</annotation></semantics></math></span></span> is the solution if the series converges, where <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><msubsup><mi>g</mi><mn>2</mn><mrow><mo stretchy="false">(</mo><mn>0</mn><mo stretchy="false">)</mo></mrow></msubsup><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><msup><mi>y</mi><mrow><mo>−</mo><mi>κ</mi></mrow></msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>+</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mo>−</mo><mi>κ</mi></mrow></msup><mo fence="true">)</mo></mrow><mo>−</mo><mn>2</mn><msup><mi>y</mi><mrow><mn>2</mn><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>+</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mn>2</mn><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><msubsup><mi>g</mi><mn>1</mn><mrow><mo stretchy="false">(</mo><mi>i</mi><mo>+</mo><mn>1</mn><mo stretchy="false">)</mo></mrow></msubsup><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><msubsup><mo>∫</mo><mi>κ</mi><mfrac><mn>1</mn><mn>2</mn></mfrac></msubsup><msup><mi>g</mi><mrow><mo stretchy="false">(</mo><mi>i</mi><mo stretchy="false">)</mo></mrow></msup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mi>κ</mi><mi>v</mi></mfrac></msup><mo separator="true">,</mo><mi>v</mi><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">d</mi><mi>v</mi></mrow><mi>v</mi></mfrac><mo separator="true">,</mo><mspace width="1em"/><mi>i</mi><mo>∈</mo><mi mathvariant="double-struck">N</mi><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{split}
g_2^{(0)}(y,\kappa)&amp;\coloneqq-\ln y\left(
  y^{\kappa-1}
  +y^{-\kappa}\left(1+\ln y^{-\kappa}\right)
  -2y^{2\kappa-1}\left(1+\ln y^{2\kappa-1}\right)
\right),\\
g_1^{(i+1)}(y,\kappa)&amp;\coloneqq-\ln y\int_\kappa^{\frac12}g^{(i)}\!\left(y^{\frac\kappa v},v\right)\frac{\mathrm dv}v,
\quad i\in\mathbb N.
\end{split}</annotation></semantics></math></span></span></span>
The first few terms go too long to be written here before one may find the pattern, so they are omitted here. If you want to see them, use a mathematical software to help you, and you should be able to find the pattern after calculating first six (or so) terms. After looking at first few terms, the guessed general term is <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><msubsup><mi>g</mi><mn>2</mn><mrow><mo stretchy="false">(</mo><mi>i</mi><mo stretchy="false">)</mo></mrow></msubsup><mo>=</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mtext> </mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><mn>2</mn><msup><mi>y</mi><mrow><mn>2</mn><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mi>i</mi><mo>−</mo><mn>1</mn><mo>−</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mn>2</mn><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mo>−</mo><mn>2</mn><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>i</mi><mo>−</mo><mn>1</mn></mrow></munderover><mfrac><mrow><mi>i</mi><mo>−</mo><mi>j</mi><mo>−</mo><mn>1</mn></mrow><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mn>2</mn><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>j</mi></msup></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mrow><mrow/><mo>−</mo><msup><mi>y</mi><mrow><mo>−</mo><mi>κ</mi></mrow></msup><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>i</mi><mo>−</mo><mn>1</mn></mrow></munderover><mfrac><mn>1</mn><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mn>2</mn><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>j</mi></msup><mo>+</mo><mfrac><mn>1</mn><mrow><mi>i</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mi>y</mi><mrow><mo>−</mo><mi>κ</mi></mrow></msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>+</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mo>−</mo><mi>κ</mi></mrow></msup><mo fence="true">)</mo></mrow><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mn>2</mn><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>i</mi></msup><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
g_2^{(i)}=-\ln y&amp;\,\left(
  y^{\kappa-1}+2y^{2\kappa-1}\left(i-1-\ln y^{2\kappa-1}\right)
  -2\sum_{j=0}^{i-1}\frac{i-j-1}{j!}\left(\ln y^{2\kappa-1}\right)^j
\right.\\&amp;\left.
  {}-y^{-\kappa}\sum_{j=0}^{i-1}\frac1{j!}\left(\ln y^{2\kappa-1}\right)^j
  +\frac1{i!}y^{-\kappa}\left(1+\ln y^{-\kappa}\right)\left(\ln y^{2\kappa-1}\right)^i
\right).
\end{align*}</annotation></semantics></math></span></span></span>
Then we can sum it to get a guess of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>g</mi><mn>2</mn></msub></mrow><annotation encoding="application/x-tex">g_2</annotation></semantics></math></span></span>.</p>
<p>After some tedious calculation, we have <span id="eq:eq-g2" data-label="(18)"><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>g</mi><mn>2</mn></msub><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo>=</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><mrow><mo fence="true">(</mo><mn>2</mn><mo>+</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>−</mo><mrow><mo fence="true">(</mo><mn>2</mn><mo>+</mo><mn>4</mn><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mn>2</mn><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mn>2</mn><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mn>2</mn></msup><mo fence="true">)</mo></mrow><msup><mi>y</mi><mrow><mn>2</mn><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">g_2(y,\kappa)=-\ln y\left(
  \left(2+\ln y^{\kappa-1}\right)y^{\kappa-1}
  -\left(2+4\ln y^{2\kappa-1}+\left(\ln y^{2\kappa-1}\right)^2\right)y^{2\kappa-1}
\right).</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>18</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(18)</annotation></semantics></math></span></span></span></span> </span></span> On may verify that this is indeed the solution by substituting it into Equation <a href="#eq:eq-main-1-3-kappa-1-2">17</a>.</p>
<h3 data-label="0.4.3" id="the-case-kappainleftfrac14frac13right">The case <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>∈</mo><mrow><mo fence="true">(</mo><mfrac><mn>1</mn><mn>4</mn></mfrac><mo separator="true">,</mo><mfrac><mn>1</mn><mn>3</mn></mfrac><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\kappa\in\left(\frac14,\frac13\right)</annotation></semantics></math></span></span></h3>
<p>By using very similar methods but after very tedious calculation, the solution is <span id="eq:eq-g3" data-label="(19)"><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><mtable rowspacing="0.25em" columnalign="right left" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><msub><mi>g</mi><mn>3</mn></msub><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><mi>g</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo>∈</mo><mrow><mo fence="true">(</mo><mfrac><mn>1</mn><mn>4</mn></mfrac><mo separator="true">,</mo><mfrac><mn>1</mn><mn>3</mn></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><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><mrow><mo fence="true">(</mo><mn>2</mn><mo>+</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>−</mo><mrow><mo fence="true">(</mo><mn>2</mn><mo>+</mo><mn>4</mn><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mn>2</mn><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mn>2</mn><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mn>2</mn></msup><mo fence="true">)</mo></mrow><msup><mi>y</mi><mrow><mn>2</mn><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mpadded width="0px"><mphantom><mfrac><mn>1</mn><mn>2</mn></mfrac></mphantom></mpadded></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mphantom><mo>=</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi></mphantom><mrow><mrow/><mo>+</mo><mrow><mo fence="true">(</mo><mn>3</mn><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mn>3</mn><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><mn>3</mn><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mn>3</mn><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mn>2</mn></msup><mo>+</mo><mfrac><mn>1</mn><mn>2</mn></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mn>3</mn><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mn>3</mn></msup><mo fence="true">)</mo></mrow><msup><mi>y</mi><mrow><mn>3</mn><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{split}
g_3(y,\kappa)&amp;\coloneqq g\!\left(y,\kappa\in\left(\frac14,\frac13\right)\right)\\
&amp;=-\ln y\left(
  \left(2+\ln y^{\kappa-1}\right)y^{\kappa-1}
  -\left(2+4\ln y^{2\kappa-1}+\left(\ln y^{2\kappa-1}\right)^2\right)y^{2\kappa-1}\vphantom{\frac12}
\right.\\&amp;\phantom{=-\ln y}\left.
  {}+\left(3\ln y^{3\kappa-1}+3\left(\ln y^{3\kappa-1}\right)^2+\frac12\left(\ln y^{3\kappa-1}\right)^3\right)y^{3\kappa-1}
\right).
\end{split}</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>19</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(19)</annotation></semantics></math></span></span></span></span> </span></span></p>
<h3 data-label="0.4.4" id="other-cases">Other cases</h3>
<p>After seeing Equation <a href="#eq:eq-g1">16</a>, <a href="#eq:eq-g2">18</a>, and <a href="#eq:eq-g3">19</a>, one may guess the form of solution for other cases.</p>
<p>Guess the form of solution for <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>∈</mo><mrow><mo fence="true">(</mo><mfrac><mn>1</mn><mrow><mi>q</mi><mo>+</mo><mn>1</mn></mrow></mfrac><mo separator="true">,</mo><mfrac><mn>1</mn><mi>q</mi></mfrac><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\kappa\in\left(\frac1{q+1},\frac1q\right)</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>q</mi><mo>∈</mo><mn>1</mn><mo>…</mo><mi mathvariant="normal">∞</mi></mrow><annotation encoding="application/x-tex">q\in1\ldots\infty</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>g</mi><mi>q</mi></msub><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo><mi mathvariant="normal">≔</mi></mo><mi>g</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo>∈</mo><mrow><mo fence="true">(</mo><mfrac><mn>1</mn><mi>q</mi></mfrac><mo separator="true">,</mo><mfrac><mn>1</mn><mrow><mi>q</mi><mo>+</mo><mn>1</mn></mrow></mfrac><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo>=</mo><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mi>q</mi></munderover><mi mathvariant="normal">Δ</mi><msub><mi>g</mi><mi>s</mi></msub><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">g_q(y,\kappa)\coloneqq g\!\left(y,\kappa\in\left(\frac1q,\frac1{q+1}\right)\right)=\sum_{s=1}^q\Delta g_s(y,\kappa),</annotation></semantics></math></span></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><mi mathvariant="normal">Δ</mi><msub><mi>g</mi><mi>s</mi></msub><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo><mi mathvariant="normal">≔</mi></mo><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mi>ln</mi><mo>⁡</mo><mi>y</mi><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><mfrac><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>j</mi></msup><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\Delta g_s(y,\kappa)\coloneqq\left(-1\right)^sy^{s\kappa-1}\ln y\sum_{j=0}^s\frac{A_{s,j}}{j!}\left(\ln y^{s\kappa-1}\right)^j,</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><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub></mrow><annotation encoding="application/x-tex">A_{s,j}</annotation></semantics></math></span></span> are coefficients to be determined.</p>
<p>Now, consider the cases <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>q</mi><mo>∈</mo><mn>2</mn><mo>…</mo><mi mathvariant="normal">∞</mi></mrow><annotation encoding="application/x-tex">q\in2\ldots\infty</annotation></semantics></math></span></span>. Because <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>∈</mo><mrow><mo fence="true">(</mo><mfrac><mn>1</mn><mrow><mi>q</mi><mo>+</mo><mn>1</mn></mrow></mfrac><mo separator="true">,</mo><mfrac><mn>1</mn><mi>q</mi></mfrac><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\kappa\in\left(\frac1{q+1},\frac1q\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>min</mi><mo>⁡</mo><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mo separator="true">,</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo>=</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mo>∈</mo><mrow><mo fence="true">(</mo><mfrac><mn>1</mn><mi>q</mi></mfrac><mo separator="true">,</mo><mfrac><mn>1</mn><mrow><mi>q</mi><mo>−</mo><mn>1</mn></mrow></mfrac><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\min\!\left(\frac\kappa{1-\kappa},1\right)=\frac\kappa{1-\kappa}\in\left(\frac1q,\frac1{q-1}\right).</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><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><mtext> </mtext></mphantom><msubsup><mo>∫</mo><mn>0</mn><mrow><mi>min</mi><mo>⁡</mo><mrow><mo fence="true">(</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mo separator="true">,</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow></msubsup><mrow><mo fence="true">(</mo><mi>g</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></msup><mo separator="true">,</mo><mi>u</mi><mo fence="true">)</mo></mrow><mo>+</mo><mi>δ</mi><mo stretchy="false">(</mo><mi>u</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>u</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><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><mi>g</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></msup><mo separator="true">,</mo><mi>u</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>u</mi><mo>−</mo><munderover><mo>∑</mo><mrow><mi>p</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>q</mi><mo>−</mo><mn>2</mn></mrow></munderover><msubsup><mo>∫</mo><mfrac><mn>1</mn><mrow><mi>p</mi><mo>+</mo><mn>1</mn></mrow></mfrac><mfrac><mn>1</mn><mi>p</mi></mfrac></msubsup><msub><mi>g</mi><mi>p</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></msup><mo separator="true">,</mo><mi>u</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>u</mi><mo>−</mo><msubsup><mo>∫</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mfrac><mn>1</mn><mrow><mi>q</mi><mo>−</mo><mn>1</mn></mrow></mfrac></msubsup><msub><mi>g</mi><mrow><mi>q</mi><mo>−</mo><mn>1</mn></mrow></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></msup><mo separator="true">,</mo><mi>u</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>u</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>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>−</mo><mn>1</mn><mo>−</mo><munderover><mo>∑</mo><mrow><mi>p</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>q</mi><mo>−</mo><mn>2</mn></mrow></munderover><msubsup><mo>∫</mo><mfrac><mn>1</mn><mrow><mi>p</mi><mo>+</mo><mn>1</mn></mrow></mfrac><mfrac><mn>1</mn><mi>p</mi></mfrac></msubsup><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mi>p</mi></munderover><mi mathvariant="normal">Δ</mi><msub><mi>g</mi><mi>s</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></msup><mo separator="true">,</mo><mi>u</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>u</mi><mo>−</mo><msubsup><mo>∫</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mfrac><mn>1</mn><mrow><mi>q</mi><mo>−</mo><mn>1</mn></mrow></mfrac></msubsup><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>q</mi><mo>−</mo><mn>1</mn></mrow></munderover><mi mathvariant="normal">Δ</mi><msub><mi>g</mi><mi>s</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></msup><mo separator="true">,</mo><mi>u</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>u</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>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>−</mo><mn>1</mn><mo>−</mo><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>q</mi><mo>−</mo><mn>1</mn></mrow></munderover><mrow><mo fence="true">(</mo><munderover><mo>∑</mo><mrow><mi>p</mi><mo>=</mo><mi>s</mi></mrow><mrow><mi>q</mi><mo>−</mo><mn>2</mn></mrow></munderover><msubsup><mo>∫</mo><mfrac><mn>1</mn><mrow><mi>p</mi><mo>+</mo><mn>1</mn></mrow></mfrac><mfrac><mn>1</mn><mi>p</mi></mfrac></msubsup><mo>+</mo><msubsup><mo>∫</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mfrac><mn>1</mn><mrow><mi>q</mi><mo>−</mo><mn>1</mn></mrow></mfrac></msubsup><mo fence="true">)</mo></mrow><mi mathvariant="normal">Δ</mi><msub><mi>g</mi><mi>s</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></msup><mo separator="true">,</mo><mi>u</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>u</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>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>−</mo><mn>1</mn><mo>−</mo><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>q</mi><mo>−</mo><mn>1</mn></mrow></munderover><msubsup><mo>∫</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mfrac><mn>1</mn><mi>s</mi></mfrac></msubsup><mi mathvariant="normal">Δ</mi><msub><mi>g</mi><mi>s</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></msup><mo separator="true">,</mo><mi>u</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>u</mi><mo separator="true">,</mo></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
&amp;\phantom{=~}\int_0^{\min\left(\frac\kappa{1-\kappa},1\right)}\left(g\!\left(y^{1-\kappa},u\right)+\delta(u-1)\right)\mathrm du\\
&amp;=\int_0^1g\!\left(y^{1-\kappa},u\right)\mathrm du
-\sum_{p=1}^{q-2}\int_{\frac1{p+1}}^{\frac1p}g_p\!\left(y^{1-\kappa},u\right)\mathrm du
-\int_{\frac\kappa{1-\kappa}}^\frac1{q-1}g_{q-1}\!\left(y^{1-\kappa},u\right)\mathrm du\\
&amp;=y^{\kappa-1}-1
-\sum_{p=1}^{q-2}\int_{\frac1{p+1}}^{\frac1p}\sum_{s=1}^p\Delta g_s\!\left(y^{1-\kappa},u\right)\mathrm du
-\int_{\frac\kappa{1-\kappa}}^\frac1{q-1}\sum_{s=1}^{q-1}\Delta g_s\!\left(y^{1-\kappa},u\right)\mathrm du\\
&amp;=y^{\kappa-1}-1
-\sum_{s=1}^{q-1}\left(
  \sum_{p=s}^{q-2}\int_{\frac1{p+1}}^{\frac1p}+\int_{\frac\kappa{1-\kappa}}^\frac1{q-1}
\right)\Delta g_s\!\left(y^{1-\kappa},u\right)\mathrm du\\
&amp;=y^{\kappa-1}-1
-\sum_{s=1}^{q-1}\int_{\frac\kappa{1-\kappa}}^{\frac1s}\Delta g_s\!\left(y^{1-\kappa},u\right)\mathrm du,
\end{align*}</annotation></semantics></math></span></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><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><mtext> </mtext></mphantom><msubsup><mo>∫</mo><mi>κ</mi><mrow><mi>min</mi><mo>⁡</mo><mrow><mo fence="true">(</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mo separator="true">,</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow></msubsup><mrow><mo fence="true">(</mo><mi>g</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mi>κ</mi><mi>v</mi></mfrac></msup><mo separator="true">,</mo><mi>v</mi><mo fence="true">)</mo></mrow><mo>+</mo><mi>δ</mi><mo stretchy="false">(</mo><mi>v</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">d</mi><mi>v</mi></mrow><mi>v</mi></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><mo>∫</mo><mi>κ</mi><mfrac><mn>1</mn><mi>q</mi></mfrac></msubsup><msub><mi>g</mi><mi>q</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mi>κ</mi><mi>v</mi></mfrac></msup><mo separator="true">,</mo><mi>v</mi><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">d</mi><mi>v</mi></mrow><mi>v</mi></mfrac><mo>+</mo><msubsup><mo>∫</mo><mfrac><mn>1</mn><mi>q</mi></mfrac><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac></msubsup><msub><mi>g</mi><mrow><mi>q</mi><mo>−</mo><mn>1</mn></mrow></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mi>κ</mi><mi>v</mi></mfrac></msup><mo separator="true">,</mo><mi>v</mi><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">d</mi><mi>v</mi></mrow><mi>v</mi></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><mo>∫</mo><mi>κ</mi><mfrac><mn>1</mn><mi>q</mi></mfrac></msubsup><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mi>q</mi></munderover><mi mathvariant="normal">Δ</mi><msub><mi>g</mi><mi>s</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mi>κ</mi><mi>v</mi></mfrac></msup><mo separator="true">,</mo><mi>v</mi><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">d</mi><mi>v</mi></mrow><mi>v</mi></mfrac><mo>+</mo><msubsup><mo>∫</mo><mfrac><mn>1</mn><mi>q</mi></mfrac><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac></msubsup><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>q</mi><mo>−</mo><mn>1</mn></mrow></munderover><mi mathvariant="normal">Δ</mi><msub><mi>g</mi><mi>s</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mi>κ</mi><mi>v</mi></mfrac></msup><mo separator="true">,</mo><mi>v</mi><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">d</mi><mi>v</mi></mrow><mi>v</mi></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>s</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>q</mi><mo>−</mo><mn>1</mn></mrow></munderover><msubsup><mo>∫</mo><mi>κ</mi><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac></msubsup><mi mathvariant="normal">Δ</mi><msub><mi>g</mi><mi>s</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mi>κ</mi><mi>v</mi></mfrac></msup><mo separator="true">,</mo><mi>v</mi><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">d</mi><mi>v</mi></mrow><mi>v</mi></mfrac><mo>+</mo><msubsup><mo>∫</mo><mi>κ</mi><mfrac><mn>1</mn><mi>q</mi></mfrac></msubsup><mi mathvariant="normal">Δ</mi><msub><mi>g</mi><mi>q</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mi>κ</mi><mi>v</mi></mfrac></msup><mo separator="true">,</mo><mi>v</mi><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">d</mi><mi>v</mi></mrow><mi>v</mi></mfrac><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
&amp;\phantom{=~}\int_\kappa^{\min\left(\frac\kappa{1-\kappa},1\right)}\left(g\!\left(y^{\frac\kappa v},v\right)+\delta(v-1)\right)\frac{\mathrm dv}v\\
&amp;=\int_\kappa^{\frac1q}g_q\!\left(y^{\frac\kappa v},v\right)\frac{\mathrm dv}v
+\int_{\frac1q}^{\frac\kappa{1-\kappa}}g_{q-1}\!\left(y^{\frac\kappa v},v\right)\frac{\mathrm dv}v\\
&amp;=\int_\kappa^{\frac1q}\sum_{s=1}^q\Delta g_s\!\left(y^{\frac\kappa v},v\right)\frac{\mathrm dv}v
+\int_{\frac1q}^{\frac\kappa{1-\kappa}}\sum_{s=1}^{q-1}\Delta g_s\!\left(y^{\frac\kappa v},v\right)\frac{\mathrm dv}v\\
&amp;=\sum_{s=1}^{q-1}\int_\kappa^{\frac\kappa{1-\kappa}}\Delta g_s\!\left(y^{\frac\kappa v},v\right)\frac{\mathrm dv}v
+\int_\kappa^{\frac1q}\Delta g_q\!\left(y^{\frac\kappa v},v\right)\frac{\mathrm dv}v.
\end{align*}</annotation></semantics></math></span></span></span>
Substitute into Equation <a href="#eq:eq-main">12</a>, and we have <span id="eq:eq-main-Delta-gs" data-label="(20)"><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><mtable rowspacing="0.25em" columnalign="right left" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mi>q</mi></munderover><mi mathvariant="normal">Δ</mi><msub><mi>g</mi><mi>s</mi></msub><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo>=</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mtext> </mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>−</mo><mn>1</mn><mo>−</mo><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>q</mi><mo>−</mo><mn>1</mn></mrow></munderover><msubsup><mo>∫</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mfrac><mn>1</mn><mi>s</mi></mfrac></msubsup><mi mathvariant="normal">Δ</mi><msub><mi>g</mi><mi>s</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></msup><mo separator="true">,</mo><mi>u</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>u</mi></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mrow><mrow/><mo>+</mo><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>q</mi><mo>−</mo><mn>1</mn></mrow></munderover><msubsup><mo>∫</mo><mi>κ</mi><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac></msubsup><mi mathvariant="normal">Δ</mi><msub><mi>g</mi><mi>s</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mi>κ</mi><mi>v</mi></mfrac></msup><mo separator="true">,</mo><mi>v</mi><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">d</mi><mi>v</mi></mrow><mi>v</mi></mfrac><mo>+</mo><msubsup><mo>∫</mo><mi>κ</mi><mfrac><mn>1</mn><mi>q</mi></mfrac></msubsup><mi mathvariant="normal">Δ</mi><msub><mi>g</mi><mi>q</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mi>κ</mi><mi>v</mi></mfrac></msup><mo separator="true">,</mo><mi>v</mi><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">d</mi><mi>v</mi></mrow><mi>v</mi></mfrac><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{split}
\sum_{s=1}^q\Delta g_s(y,\kappa)=-\ln y&amp;\,\left(
  y^{\kappa-1}-1
  -\sum_{s=1}^{q-1}\int_{\frac\kappa{1-\kappa}}^{\frac1s}\Delta g_s\!\left(y^{1-\kappa},u\right)\mathrm du
\right.\\&amp;\left.
  {}+\sum_{s=1}^{q-1}\int_\kappa^{\frac\kappa{1-\kappa}}\Delta g_s\!\left(y^{\frac\kappa v},v\right)\frac{\mathrm dv}v
  +\int_\kappa^{\frac1q}\Delta g_q\!\left(y^{\frac\kappa v},v\right)\frac{\mathrm dv}v
\right).
\end{split}</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>20</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(20)</annotation></semantics></math></span></span></span></span> </span></span> To simplify later expressions, define <span id="eq:eq-B-def" data-label="(21)"><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>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub><mo><mi mathvariant="normal">≔</mi></mo><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>l</mi></msup><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mi>l</mi></mrow><mi>s</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">B_{s,l}\coloneqq\left(-1\right)^l\sum_{j=l}^s\left(-1\right)^jA_{s,j}.</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>21</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(21)</annotation></semantics></math></span></span></span></span> </span></span></p>
<p>Now, calculate the integrals in Equation <a href="#eq:eq-main-Delta-gs">20</a>. Before that, first we introduce a handy integral formula: <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>∫</mo><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>w</mi><mo fence="true">)</mo></mrow><mi>j</mi></msup><mtext> </mtext><mi mathvariant="normal">d</mi><mi>w</mi><mo>=</mo><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup><mi>j</mi><mo stretchy="false">!</mo><mtext> </mtext><mi>w</mi><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mi>j</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>l</mi></msup><mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>w</mi><mo fence="true">)</mo></mrow><mi>l</mi></msup><mrow><mi>l</mi><mo stretchy="false">!</mo></mrow></mfrac><mo>+</mo><mi>C</mi><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\int\left(\ln w\right)^j\,\mathrm dw
=\left(-1\right)^jj!\,w\sum_{l=0}^j\left(-1\right)^l\frac{\left(\ln w\right)^l}{l!}+C.</annotation></semantics></math></span></span></span> This formula can be proved by mathematical induction and integration by parts.</p>
<p>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><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><mtext> </mtext></mphantom><msubsup><mo>∫</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mfrac><mn>1</mn><mi>s</mi></mfrac></msubsup><mi mathvariant="normal">Δ</mi><msub><mi>g</mi><mi>s</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></msup><mo separator="true">,</mo><mi>u</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>u</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><msubsup><mo>∫</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mfrac><mn>1</mn><mi>s</mi></mfrac></msubsup><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><msup><mi>y</mi><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mi>u</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>κ</mi><mo fence="true">)</mo></mrow></mrow></msup><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></msup><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><mfrac><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mi>u</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>κ</mi><mo fence="true">)</mo></mrow></mrow></msup><mo fence="true">)</mo></mrow><mi>j</mi></msup><mtext> </mtext><mi mathvariant="normal">d</mi><mi>u</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><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><mi>s</mi></mfrac><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><mfrac><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><msubsup><mo>∫</mo><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac><mfrac><mn>1</mn><mi>s</mi></mfrac></msubsup><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mi>u</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>κ</mi><mo fence="true">)</mo></mrow></mrow></msup><mo fence="true">)</mo></mrow><mi>j</mi></msup><mtext> </mtext><mi mathvariant="normal">d</mi><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mi>u</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>κ</mi><mo fence="true">)</mo></mrow></mrow></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><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><mi>s</mi></mfrac><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><mfrac><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><msubsup><mo>∫</mo><msup><mi>y</mi><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mn>1</mn></msubsup><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>w</mi><mo fence="true">)</mo></mrow><mi>j</mi></msup><mtext> </mtext><mi mathvariant="normal">d</mi><mi>w</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><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><mi>s</mi></mfrac><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><mfrac><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup><mi>j</mi><mo stretchy="false">!</mo><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><msup><mi>y</mi><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mi>j</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>l</mi></msup><mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>l</mi></msup><mrow><mi>l</mi><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><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><mi>s</mi></mfrac><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub><mo>−</mo><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><mi>s</mi></mfrac><msup><mi>y</mi><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>l</mi></msup><mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>l</mi></msup><mrow><mi>l</mi><mo stretchy="false">!</mo></mrow></mfrac><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mi>l</mi></mrow><mi>s</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub></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><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><mrow><mo fence="true">(</mo><mfrac><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mn>0</mn></mrow></msub><mi>s</mi></mfrac><mo>−</mo><mfrac><mn>1</mn><mi>s</mi></mfrac><msup><mi>y</mi><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><mfrac><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub><mrow><mi>l</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>l</mi></msup><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
&amp;\phantom{=~}\int_{\frac\kappa{1-\kappa}}^{\frac1s}\Delta g_s\!\left(y^{1-\kappa},u\right)\mathrm du\\
&amp;=\int_{\frac\kappa{1-\kappa}}^{\frac1s}\left(-1\right)^s
y^{\left(su-1\right)\left(1-\kappa\right)}\ln y^{1-\kappa}
\sum_{j=0}^s\frac{A_{s,j}}{j!}\left(\ln y^{\left(su-1\right)\left(1-\kappa\right)}\right)^j\,\mathrm du\\
&amp;=\frac{\left(-1\right)^s}s\sum_{j=0}^s\frac{A_{s,j}}{j!}
\int_{\frac\kappa{1-\kappa}}^{\frac1s}\left(\ln y^{\left(su-1\right)\left(1-\kappa\right)}\right)^j\,
\mathrm d\left(y^{\left(su-1\right)\left(1-\kappa\right)}\right)\\
&amp;=\frac{\left(-1\right)^s}s\sum_{j=0}^s\frac{A_{s,j}}{j!}
\int_{y^{\left(s+1\right)\kappa-1}}^1\left(\ln w\right)^j\,\mathrm dw\\
&amp;=\frac{\left(-1\right)^s}s\sum_{j=0}^s\frac{A_{s,j}}{j!}
\left(-1\right)^jj!\left(
  1
  -y^{\left(s+1\right)\kappa-1}
  \sum_{l=0}^j\left(-1\right)^l\frac{\left(\ln y^{\left(s+1\right)\kappa-1}\right)^l}{l!}
\right)\\
&amp;=\frac{\left(-1\right)^s}s\sum_{j=0}^s\left(-1\right)^jA_{s,j}
-\frac{\left(-1\right)^s}sy^{\left(s+1\right)\kappa-1}
\sum_{l=0}^s\left(-1\right)^l\frac{\left(\ln y^{\left(s+1\right)\kappa-1}\right)^l}{l!}
\sum_{j=l}^s\left(-1\right)^jA_{s,j}\\
&amp;=\left(-1\right)^s\left(
  \frac{B_{s,0}}s
  -\frac1sy^{\left(s+1\right)\kappa-1}
  \sum_{l=0}^s\frac{B_{s,l}}{l!}
  \left(\ln y^{\left(s+1\right)\kappa-1}\right)^l
\right).
\end{align*}</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><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><mtext> </mtext></mphantom><msubsup><mo>∫</mo><mi>κ</mi><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac></msubsup><mi mathvariant="normal">Δ</mi><msub><mi>g</mi><mi>s</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mi>κ</mi><mi>v</mi></mfrac></msup><mo separator="true">,</mo><mi>v</mi><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">d</mi><mi>v</mi></mrow><mi>v</mi></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><mo>∫</mo><mi>κ</mi><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac></msubsup><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><msup><mi>y</mi><mrow><mfrac><mi>κ</mi><mi>v</mi></mfrac><mrow><mo fence="true">(</mo><mi>s</mi><mi>v</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow></msup><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mfrac><mi>κ</mi><mi>v</mi></mfrac></msup><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><mfrac><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mfrac><mi>κ</mi><mi>v</mi></mfrac><mrow><mo fence="true">(</mo><mi>s</mi><mi>v</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow></msup><mo fence="true">)</mo></mrow><mi>j</mi></msup><mfrac><mrow><mi mathvariant="normal">d</mi><mi>v</mi></mrow><mi>v</mi></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><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><mfrac><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><msubsup><mo>∫</mo><mi>κ</mi><mfrac><mi>κ</mi><mrow><mn>1</mn><mo>−</mo><mi>κ</mi></mrow></mfrac></msubsup><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mfrac><mi>κ</mi><mi>v</mi></mfrac><mrow><mo fence="true">(</mo><mi>s</mi><mi>v</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow></msup><mo fence="true">)</mo></mrow><mi>j</mi></msup><mtext> </mtext><mi mathvariant="normal">d</mi><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mfrac><mi>κ</mi><mi>v</mi></mfrac><mrow><mo fence="true">(</mo><mi>s</mi><mi>v</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow></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><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><mfrac><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><msubsup><mo>∫</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><msup><mi>y</mi><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup></msubsup><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>w</mi><mo fence="true">)</mo></mrow><mi>j</mi></msup><mtext> </mtext><mi mathvariant="normal">d</mi><mi>w</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><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><mfrac><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup><mi>j</mi><mo stretchy="false">!</mo><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mi>j</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>l</mi></msup><mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>l</mi></msup><mrow><mi>l</mi><mo stretchy="false">!</mo></mrow></mfrac></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mphantom><mo>=</mo><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><mfrac><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup><mi>j</mi><mo stretchy="false">!</mo></mphantom><mrow><mrow/><mo>−</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mi>j</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>l</mi></msup><mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>l</mi></msup><mrow><mi>l</mi><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><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><mfrac><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub><mrow><mi>l</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>l</mi></msup><mo>−</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><mfrac><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub><mrow><mi>l</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>l</mi></msup><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
&amp;\phantom{=~}\int_\kappa^{\frac\kappa{1-\kappa}}\Delta g_s\!\left(y^{\frac\kappa v},v\right)\frac{\mathrm dv}v\\
&amp;=\int_\kappa^{\frac\kappa{1-\kappa}}\left(-1\right)^s
y^{\frac\kappa v\left(sv-1\right)}\ln y^{\frac\kappa v}
\sum_{j=0}^s\frac{A_{s,j}}{j!}\left(\ln y^{\frac\kappa v\left(sv-1\right)}\right)^j\frac{\mathrm dv}v\\
&amp;=\left(-1\right)^s\sum_{j=0}^s\frac{A_{s,j}}{j!}
\int_\kappa^{\frac\kappa{1-\kappa}}\left(\ln y^{\frac\kappa v\left(sv-1\right)}\right)^j\,
\mathrm d\left(y^{\frac\kappa v\left(sv-1\right)}\right)\\
&amp;=\left(-1\right)^s\sum_{j=0}^s\frac{A_{s,j}}{j!}
\int_{y^{s\kappa-1}}^{y^{\left(s+1\right)\kappa-1}}\left(\ln w\right)^j\,\mathrm dw\\
&amp;=\left(-1\right)^s\sum_{j=0}^s\frac{A_{s,j}}{j!}\left(-1\right)^jj!\left(
  y^{\left(s+1\right)\kappa-1}\sum_{l=0}^j\left(-1\right)^l\frac{\left(\ln y^{\left(s+1\right)\kappa-1}\right)^l}{l!}
\right.\\&amp;\phantom{=\left(-1\right)^s\sum_{j=0}^s\frac{A_{s,j}}{j!}\left(-1\right)^jj!}\left.
  {}-y^{s\kappa-1}\sum_{l=0}^j\left(-1\right)^l\frac{\left(\ln y^{s\kappa-1}\right)^l}{l!}
\right)\\
&amp;=\left(-1\right)^s\left(
  y^{\left(s+1\right)\kappa-1}\sum_{l=0}^s\frac{B_{s,l}}{l!}
  \left(\ln y^{\left(s+1\right)\kappa-1}\right)^l
  -y^{s\kappa-1}\sum_{l=0}^s\frac{B_{s,l}}{l!}
  \left(\ln y^{s\kappa-1}\right)^l
\right).
\end{align*}</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><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><mtext> </mtext></mphantom><msubsup><mo>∫</mo><mi>κ</mi><mfrac><mn>1</mn><mi>q</mi></mfrac></msubsup><mi mathvariant="normal">Δ</mi><msub><mi>g</mi><mi>q</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msup><mi>y</mi><mfrac><mi>κ</mi><mi>v</mi></mfrac></msup><mo separator="true">,</mo><mi>v</mi><mo fence="true">)</mo></mrow><mfrac><mrow><mi mathvariant="normal">d</mi><mi>v</mi></mrow><mi>v</mi></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><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>q</mi></msup><mrow><mo fence="true">(</mo><msub><mi>B</mi><mrow><mi>q</mi><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo>−</mo><msup><mi>y</mi><mrow><mi>q</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></munderover><mfrac><msub><mi>B</mi><mrow><mi>q</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub><mrow><mi>l</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>q</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>l</mi></msup><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
&amp;\phantom{=~}\int_\kappa^{\frac1q}\Delta g_q\!\left(y^{\frac\kappa v},v\right)\frac{\mathrm dv}v\\
&amp;=\left(-1\right)^q\left(
  B_{q,0}
  -y^{q\kappa-1}\sum_{l=0}^q\frac{B_{q,l}}{l!}\left(\ln y^{q\kappa-1}\right)^l
\right).
\end{align*}</annotation></semantics></math></span></span></span>
Substitute these results into Equation <a href="#eq:eq-main-Delta-gs">20</a>, 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" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mphantom><mo>=</mo><mtext> </mtext></mphantom><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mi>q</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mi>ln</mi><mo>⁡</mo><mi>y</mi><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><mfrac><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>j</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><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><mpadded width="0px"><mphantom><munderover><mo>∑</mo><mi>l</mi><mi>s</mi></munderover></mphantom></mpadded><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>−</mo><mn>1</mn></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mphantom><mo>=</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi></mphantom><mrow><mrow/><mo>−</mo><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>q</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>s</mi></msup><mrow><mo fence="true">(</mo><mfrac><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mn>0</mn></mrow></msub><mi>s</mi></mfrac><mo>−</mo><mfrac><mn>1</mn><mi>s</mi></mfrac><msup><mi>y</mi><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><mfrac><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub><mrow><mi>l</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>l</mi></msup><mo fence="true">)</mo></mrow></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mphantom><mo>=</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi></mphantom><mrow><mrow/><mo>+</mo><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>q</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>s</mi></msup><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><mfrac><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub><mrow><mi>l</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>l</mi></msup><mo>−</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><mfrac><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub><mrow><mi>l</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>l</mi></msup><mo fence="true">)</mo></mrow></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mphantom><mo>=</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi></mphantom><mrow><mrow/><mo>+</mo><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>q</mi></msup><mrow><mo fence="true">(</mo><msub><mi>B</mi><mrow><mi>q</mi><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo>−</mo><msup><mi>y</mi><mrow><mi>q</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></munderover><mfrac><msub><mi>B</mi><mrow><mi>q</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub><mrow><mi>l</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>q</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>l</mi></msup><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{split}
&amp;\phantom{=~}\sum_{s=1}^q
\left(-1\right)^sy^{s\kappa-1}\ln y\sum_{j=0}^s\frac{A_{s,j}}{j!}\left(\ln y^{s\kappa-1}\right)^j\\
&amp;=-\ln y\left(\vphantom{\sum_l^s}
  y^{\kappa-1}-1
\right.\\&amp;\phantom{=-\ln y}\left.
  {}-\sum_{s=1}^{q-1}\left(-1\right)^s\left(
    \frac{B_{s,0}}s
    -\frac1sy^{\left(s+1\right)\kappa-1}
    \sum_{l=0}^s\frac{B_{s,l}}{l!}
    \left(\ln y^{\left(s+1\right)\kappa-1}\right)^l
  \right)
\right.\\&amp;\phantom{=-\ln y}\left.
  {}+\sum_{s=1}^{q-1}\left(-1\right)^s\left(
    y^{\left(s+1\right)\kappa-1}\sum_{l=0}^s\frac{B_{s,l}}{l!}
    \left(\ln y^{\left(s+1\right)\kappa-1}\right)^l
    -y^{s\kappa-1}\sum_{l=0}^s\frac{B_{s,l}}{l!}
    \left(\ln y^{s\kappa-1}\right)^l
  \right)
\right.\\&amp;\phantom{=-\ln y}\left.
  {}+\left(-1\right)^q\left(
    B_{q,0}
    -y^{q\kappa-1}\sum_{l=0}^q\frac{B_{q,l}}{l!}\left(\ln y^{q\kappa-1}\right)^l
  \right)
\right).
\end{split}</annotation></semantics></math></span></span></span>
Cancel factor <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>ln</mi><mo>⁡</mo><mi>y</mi></mrow><annotation encoding="application/x-tex">\ln y</annotation></semantics></math></span></span> on both sides, 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/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mphantom><mo>=</mo><mtext> </mtext></mphantom><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mi>q</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><mfrac><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>j</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><mo>−</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><mn>1</mn></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mphantom><mo>=</mo></mphantom><mrow/><mo>+</mo><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>q</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>s</mi></msup><mfrac><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mn>0</mn></mrow></msub><mi>s</mi></mfrac><mo>−</mo><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>2</mn></mrow><mi>q</mi></munderover><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>s</mi><mo>−</mo><mn>1</mn></mrow></msup><mrow><mi>s</mi><mo>−</mo><mn>1</mn></mrow></mfrac><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>s</mi><mo>−</mo><mn>1</mn></mrow></munderover><msub><mi>B</mi><mrow><mi>s</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>l</mi></mrow></msub><mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>l</mi></msup><mrow><mi>l</mi><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/><mphantom><mo>=</mo></mphantom><mrow/><mo>−</mo><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>2</mn></mrow><mi>q</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>s</mi><mo>−</mo><mn>1</mn></mrow></msup><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>s</mi><mo>−</mo><mn>1</mn></mrow></munderover><msub><mi>B</mi><mrow><mi>s</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>l</mi></mrow></msub><mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>l</mi></msup><mrow><mi>l</mi><mo stretchy="false">!</mo></mrow></mfrac><mo>+</mo><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>q</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>s</mi></msup><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub><mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>l</mi></msup><mrow><mi>l</mi><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/><mphantom><mo>=</mo></mphantom><mrow/><mo>−</mo><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>q</mi></msup><msub><mi>B</mi><mrow><mi>q</mi><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo>+</mo><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>q</mi></msup><msup><mi>y</mi><mrow><mi>q</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mi>q</mi></munderover><msub><mi>B</mi><mrow><mi>q</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub><mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>q</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>l</mi></msup><mrow><mi>l</mi><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><mn>1</mn><mo>+</mo><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>q</mi><mo>−</mo><mn>1</mn></mrow></munderover><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><mi>s</mi></mfrac><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo>−</mo><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>q</mi></msup><msub><mi>B</mi><mrow><mi>q</mi><mo separator="true">,</mo><mn>0</mn></mrow></msub></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mo stretchy="false">(</mo><mo>∗</mo><mo stretchy="false">)</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mphantom><mo>=</mo></mphantom><mo>−</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>+</mo><msub><mi>B</mi><mrow><mn>1</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo>−</mo><msub><mi>B</mi><mrow><mn>1</mn><mo separator="true">,</mo><mn>1</mn></mrow></msub><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mo stretchy="false">(</mo><mo>∗</mo><mo>∗</mo><mo stretchy="false">)</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mphantom><mo>=</mo></mphantom><mrow/><mo>+</mo><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>2</mn></mrow><mi>q</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>s</mi><mo>−</mo><mn>1</mn></mrow></munderover><mrow><mo fence="true">(</mo><mfrac><mi>s</mi><mrow><mi>s</mi><mo>−</mo><mn>1</mn></mrow></mfrac><msub><mi>B</mi><mrow><mi>s</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>l</mi></mrow></msub><mo>+</mo><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub><mo fence="true">)</mo></mrow><mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>l</mi></msup><mrow><mi>l</mi><mo stretchy="false">!</mo></mrow></mfrac><mo>+</mo><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>s</mi></mrow></msub><mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>s</mi></msup><mrow><mi>s</mi><mo stretchy="false">!</mo></mrow></mfrac><mo fence="true">)</mo></mrow></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mo stretchy="false">(</mo><mo>∗</mo><mo>∗</mo><mo>∗</mo><mo stretchy="false">)</mo></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
&amp;\phantom{=~}\sum_{s=1}^q
\left(-1\right)^sy^{s\kappa-1}\sum_{j=0}^s\frac{A_{s,j}}{j!}\left(\ln y^{s\kappa-1}\right)^j\\
&amp;=-y^{\kappa-1}+1\\
&amp;\phantom{=}{}+\sum_{s=1}^{q-1}\left(-1\right)^s\frac{B_{s,0}}s
-\sum_{s=2}^q\frac{\left(-1\right)^{s-1}}{s-1}y^{s\kappa-1}\sum_{l=0}^{s-1}B_{s-1,l}\frac{\left(\ln y^{s\kappa-1}\right)^l}{l!}\\
&amp;\phantom{=}{}-\sum_{s=2}^q\left(-1\right)^{s-1}y^{s\kappa-1}\sum_{l=0}^{s-1}B_{s-1,l}\frac{\left(\ln y^{s\kappa-1}\right)^l}{l!}
+\sum_{s=1}^{q-1}\left(-1\right)^sy^{s\kappa-1}\sum_{l=0}^sB_{s,l}\frac{\left(\ln y^{s\kappa-1}\right)^l}{l!}\\
&amp;\phantom{=}{}-\left(-1\right)^qB_{q,0}+\left(-1\right)^qy^{q\kappa-1}\sum_{l=0}^qB_{q,l}\frac{\left(\ln y^{q\kappa-1}\right)^l}{l!}\\
&amp;=1+\sum_{s=1}^{q-1}\frac{\left(-1\right)^s}sB_{s,0}-\left(-1\right)^qB_{q,0}&amp;(*)\\
&amp;\phantom{=}-y^{\kappa-1}\left(1+B_{1,0}-B_{1,1}\ln y^{\kappa-1}\right)&amp;(**)\\
&amp;\phantom{=}{}+\sum_{s=2}^q\left(-1\right)^sy^{s\kappa-1}\left(
  \sum_{l=0}^{s-1}\left(\frac s{s-1}B_{s-1,l}+B_{s,l}\right)\frac{\left(\ln y^{s\kappa-1}\right)^l}{l!}
  +B_{s,s}\frac{\left(\ln y^{s\kappa-1}\right)^s}{s!}
\right)&amp;(***)
\end{align*}</annotation></semantics></math></span></span></span></p>
<p>Equate the coefficients in Line (*) with the corresponding ones on the LHS, 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><mn>0</mn><mo>=</mo><mn>1</mn><mo>+</mo><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>q</mi><mo>−</mo><mn>1</mn></mrow></munderover><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><mi>s</mi></mfrac><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo>−</mo><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>q</mi></msup><msub><mi>B</mi><mrow><mi>q</mi><mo separator="true">,</mo><mn>0</mn></mrow></msub><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">0=1+\sum_{s=1}^{q-1}\frac{\left(-1\right)^s}sB_{s,0}-\left(-1\right)^qB_{q,0}.</annotation></semantics></math></span></span></span> This equation holds for any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>q</mi><mo>∈</mo><mn>2</mn><mo>…</mo><mi mathvariant="normal">∞</mi></mrow><annotation encoding="application/x-tex">q\in 2\ldots\infty</annotation></semantics></math></span></span>, so <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><mtable rowspacing="0.36em" columnalign="left left" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>q</mi></msup><msub><mi>B</mi><mrow><mi>q</mi><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo>=</mo><mn>1</mn><mo>+</mo><msubsup><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>q</mi><mo>−</mo><mn>1</mn></mrow></msubsup><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><mi>s</mi></mfrac><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>q</mi><mo>+</mo><mn>1</mn></mrow></msup><msub><mi>B</mi><mrow><mi>q</mi><mo>+</mo><mn>1</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo>=</mo><mn>1</mn><mo>+</mo><msubsup><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mi>q</mi></msubsup><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><mi>s</mi></mfrac><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo separator="true">,</mo></mrow></mstyle></mtd></mtr></mtable></mrow><mspace width="1em"/><mi>q</mi><mo>∈</mo><mn>2</mn><mo>…</mo><mi mathvariant="normal">∞</mi><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\begin{cases}
\left(-1\right)^qB_{q,0}=1+\sum_{s=1}^{q-1}\frac{\left(-1\right)^s}sB_{s,0},\\
\left(-1\right)^{q+1}B_{q+1,0}=1+\sum_{s=1}^{q}\frac{\left(-1\right)^s}sB_{s,0},
\end{cases}\quad q\in 2\ldots\infty.</annotation></semantics></math></span></span></span>
Subtract the two equations, and we have <span id="eq:eq-B-recurrence-1" data-label="(22)"><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>B</mi><mrow><mi>q</mi><mo>+</mo><mn>1</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo>=</mo><mo>−</mo><mfrac><mrow><mi>q</mi><mo>+</mo><mn>1</mn></mrow><mi>q</mi></mfrac><msub><mi>B</mi><mrow><mi>q</mi><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo separator="true">,</mo><mspace width="1em"/><mi>q</mi><mo>∈</mo><mn>2</mn><mo>…</mo><mi mathvariant="normal">∞</mi><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">B_{q+1,0}=-\frac{q+1}qB_{q,0},\quad q\in 2\ldots\infty.</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>22</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(22)</annotation></semantics></math></span></span></span></span> </span></span> Equation <a href="#eq:eq-B-recurrence-1">22</a> can determine <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>B</mi><mrow><mi>q</mi><mo separator="true">,</mo><mn>0</mn></mrow></msub></mrow><annotation encoding="application/x-tex">B_{q,0}</annotation></semantics></math></span></span> for all <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>q</mi><mo>∈</mo><mn>2</mn><mo>…</mo><mi mathvariant="normal">∞</mi></mrow><annotation encoding="application/x-tex">q\in 2\ldots\infty</annotation></semantics></math></span></span> once <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>B</mi><mrow><mn>2</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub></mrow><annotation encoding="application/x-tex">B_{2,0}</annotation></semantics></math></span></span> is determined. The relationship between <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>B</mi><mrow><mn>1</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub></mrow><annotation encoding="application/x-tex">B_{1,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>B</mi><mrow><mn>2</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub></mrow><annotation encoding="application/x-tex">B_{2,0}</annotation></semantics></math></span></span> cannot be described by Equation <a href="#eq:eq-B-recurrence-1">22</a>, but is given by <span id="eq:eq-B-recurrence-2" data-label="(23)"><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>B</mi><mrow><mn>2</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo>=</mo><mn>1</mn><mo>−</mo><msub><mi>B</mi><mrow><mn>1</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">B_{2,0}=1-B_{1,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>23</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(23)</annotation></semantics></math></span></span></span></span> </span></span></p>
<p>Equate the coefficients in Line (**) with the corresponding ones on the LHS, 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><msub><mi>A</mi><mrow><mn>1</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo>=</mo><mn>1</mn><mo>+</mo><msub><mi>B</mi><mrow><mn>1</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo separator="true">,</mo><mspace width="1em"/><msub><mi>A</mi><mrow><mn>1</mn><mo separator="true">,</mo><mn>1</mn></mrow></msub><mo>=</mo><msub><mi>B</mi><mrow><mn>1</mn><mo separator="true">,</mo><mn>1</mn></mrow></msub><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">A_{1,0}=1+B_{1,0},\quad A_{1,1}=B_{1,1}.</annotation></semantics></math></span></span></span> By Equation <a href="#eq:eq-B-def">21</a>, this is equivalent to
<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><mn>1</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo>=</mo><mn>1</mn><mo>+</mo><msub><mi>A</mi><mrow><mn>1</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo>−</mo><msub><mi>A</mi><mrow><mn>1</mn><mo separator="true">,</mo><mn>1</mn></mrow></msub><mo separator="true">,</mo><mspace width="1em"/><msub><mi>A</mi><mrow><mn>1</mn><mo separator="true">,</mo><mn>1</mn></mrow></msub><mo>=</mo><msub><mi>A</mi><mrow><mn>1</mn><mo separator="true">,</mo><mn>1</mn></mrow></msub><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">A_{1,0}=1+A_{1,0}-A_{1,1},\quad A_{1,1}=A_{1,1}.</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><msub><mi>A</mi><mrow><mn>1</mn><mo separator="true">,</mo><mn>1</mn></mrow></msub><mo>=</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">A_{1,1}=1</annotation></semantics></math></span></span>, and thus <span id="eq:eq-B-recurrence-3" data-label="(24)"><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>B</mi><mrow><mn>1</mn><mo separator="true">,</mo><mn>1</mn></mrow></msub><mo>=</mo><mn>1.</mn></mrow><annotation encoding="application/x-tex">B_{1,1}=1.</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>24</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(24)</annotation></semantics></math></span></span></span></span> </span></span></p>
<p>Equate the coefficients in Line (***) with the corresponding ones on the LHS, 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><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub><mo>=</mo><mfrac><mi>s</mi><mrow><mi>s</mi><mo>−</mo><mn>1</mn></mrow></mfrac><msub><mi>B</mi><mrow><mi>s</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>l</mi></mrow></msub><mo>+</mo><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub><mo separator="true">,</mo><mspace width="1em"/><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>s</mi></mrow></msub><mo>=</mo><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>s</mi></mrow></msub><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">A_{s,l}=\frac s{s-1}B_{s-1,l}+B_{s,l},\quad A_{s,s}=B_{s,s}.</annotation></semantics></math></span></span></span> By Equation <a href="#eq:eq-B-def">21</a>,
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub><mo>=</mo><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub><mo>−</mo><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>l</mi><mo>+</mo><mn>1</mn></mrow></msub></mrow><annotation encoding="application/x-tex">B_{s,l}=A_{s,l}-B_{s,l+1}</annotation></semantics></math></span></span> for <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>l</mi><mo>∈</mo><mn>0</mn><mo>…</mo><mi>s</mi></mrow><annotation encoding="application/x-tex">l\in 0\ldots 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><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>s</mi></mrow></msub><mo>=</mo><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>s</mi></mrow></msub></mrow><annotation encoding="application/x-tex">A_{s,s}=B_{s,s}</annotation></semantics></math></span></span> is always true. 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><mn>0</mn><mo>=</mo><mfrac><mi>s</mi><mrow><mi>s</mi><mo>−</mo><mn>1</mn></mrow></mfrac><msub><mi>B</mi><mrow><mi>s</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>l</mi></mrow></msub><mo>−</mo><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>l</mi><mo>+</mo><mn>1</mn></mrow></msub><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">0=\frac s{s-1}B_{s-1,l}-B_{s,l+1}.</annotation></semantics></math></span></span></span> This equation is true for any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>s</mi><mo>∈</mo><mn>2</mn><mtext> </mtext><mi mathvariant="normal">.</mi><mi mathvariant="normal">.</mi><mi>q</mi></mrow><annotation encoding="application/x-tex">s\in 2\,..q</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>l</mi><mo>∈</mo><mn>0</mn><mo>…</mo><mi>s</mi></mrow><annotation encoding="application/x-tex">l\in0\ldots s</annotation></semantics></math></span></span>. Because <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>q</mi></mrow><annotation encoding="application/x-tex">q</annotation></semantics></math></span></span> is arbitrary, we can change the variable <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> to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>q</mi></mrow><annotation encoding="application/x-tex">q</annotation></semantics></math></span></span> and the equation tells us exactly the same information. Therefore, <span id="eq:eq-B-recurrence-4" data-label="(25)"><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>B</mi><mrow><mi>q</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub><mo>=</mo><mfrac><mi>q</mi><mrow><mi>q</mi><mo>−</mo><mn>1</mn></mrow></mfrac><msub><mi>B</mi><mrow><mi>q</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>l</mi><mo>−</mo><mn>1</mn></mrow></msub><mo separator="true">,</mo><mspace width="1em"/><mi>q</mi><mo>∈</mo><mn>2</mn><mo>…</mo><mi mathvariant="normal">∞</mi><mo separator="true">,</mo><mspace width="1em"/><mi>l</mi><mo>∈</mo><mn>1</mn><mtext> </mtext><mi mathvariant="normal">.</mi><mi mathvariant="normal">.</mi><mi>q</mi><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">B_{q,l}=\frac q{q-1}B_{q-1,l-1},\quad q\in 2\ldots\infty,\quad l\in 1\,..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>25</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(25)</annotation></semantics></math></span></span></span></span> </span></span></p>
<p>Equation <a href="#eq:eq-B-recurrence-1">22</a>, <a href="#eq:eq-B-recurrence-2">23</a>, <a href="#eq:eq-B-recurrence-3">24</a>, and <a href="#eq:eq-B-recurrence-4">25</a> are sufficient to determine <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>B</mi><mrow><mi>q</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub></mrow><annotation encoding="application/x-tex">B_{q,l}</annotation></semantics></math></span></span> for all <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>q</mi><mo>∈</mo><mn>1</mn><mo>…</mo><mi mathvariant="normal">∞</mi></mrow><annotation encoding="application/x-tex">q\in 1\ldots\infty</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>l</mi><mo>∈</mo><mn>0</mn><mtext> </mtext><mi mathvariant="normal">.</mi><mi mathvariant="normal">.</mi><mi>q</mi></mrow><annotation encoding="application/x-tex">l\in 0\,..q</annotation></semantics></math></span></span> up to one arbitrary parameter. Define the arbitrary parameter <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>b</mi><mo><mi mathvariant="normal">≔</mi></mo><mn>1</mn><mo>−</mo><msub><mi>B</mi><mrow><mn>1</mn><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">b\coloneqq1-B_{1,0},</annotation></semantics></math></span></span></span> then the first few <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>B</mi><mrow><mi>q</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub></mrow><annotation encoding="application/x-tex">B_{q,l}</annotation></semantics></math></span></span> are <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.16em" columnalign="right center center center center center" columnlines="solid none none none none" columnspacing="1em" rowlines="solid none none none none"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>1</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>2</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>3</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>4</mn></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>q</mi><mo>=</mo><mn>1</mn></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>1</mn><mo>−</mo><mi>b</mi></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>1</mn></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>2</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>2</mn><mi>b</mi></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>2</mn><mo>−</mo><mn>2</mn><mi>b</mi></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>2</mn></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>3</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mo>−</mo><mn>3</mn><mi>b</mi></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>3</mn><mi>b</mi></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>3</mn><mo>−</mo><mn>3</mn><mi>b</mi></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>3</mn></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>4</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>4</mn><mi>b</mi></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mo>−</mo><mn>4</mn><mi>b</mi></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>4</mn><mi>b</mi></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>4</mn><mo>−</mo><mn>4</mn><mi>b</mi></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>4</mn></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"><mo lspace="0em" rspace="0em">⋱</mo></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{array}{r|ccccc}
&amp;l=0&amp;1&amp;2&amp;3&amp;4\\
\hline
q=1&amp;1-b&amp;1\\
2&amp;2b&amp;2-2b&amp;2\\
3&amp;-3b&amp;3b&amp;3-3b&amp;3\\
4&amp;4b&amp;-4b&amp;4b&amp;4-4b&amp;4\\
\vdots&amp;\ddots
\end{array}</annotation></semantics></math></span></span></span> The general formula for <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>B</mi><mrow><mi>q</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub></mrow><annotation encoding="application/x-tex">B_{q,l}</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>B</mi><mrow><mi>q</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub><mo>=</mo><mrow><mo fence="true">{</mo><mtable rowspacing="0.36em" columnalign="left left" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>q</mi><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>l</mi><mo>=</mo><mi>q</mi><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>q</mi><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>b</mi><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>l</mi><mo>=</mo><mi>q</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>q</mi><mo>+</mo><mi>l</mi></mrow></msup><mi>q</mi><mi>b</mi><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>l</mi><mo>∈</mo><mn>0</mn><mtext> </mtext><mi mathvariant="normal">.</mi><mi mathvariant="normal">.</mi><mi>q</mi><mo>−</mo><mn>2</mn><mo separator="true">,</mo></mrow></mstyle></mtd></mtr></mtable></mrow></mrow><annotation encoding="application/x-tex">B_{q,l}=\begin{cases}
q,&amp;l=q,\\
q\left(1-b\right),&amp;l=q-1,\\
\left(-1\right)^{q+l}qb,&amp;l\in 0\,..q-2,
\end{cases}</annotation></semantics></math></span></span></span> which may be proved by mathematical induction.</p>
<p>Actually, one may find <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>b</mi><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">b=0</annotation></semantics></math></span></span> by simply comparing with the results in Equation <a href="#eq:eq-g1">16</a>, <a href="#eq:eq-g2">18</a>, or <a href="#eq:eq-g3">19</a>. Another way to find <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>b</mi></mrow><annotation encoding="application/x-tex">b</annotation></semantics></math></span></span> is comparing with Eqution <a href="#eq:eq-normalization">13</a>. Here I wil show the latter approach.
<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><mtext> </mtext></mphantom><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><mi>g</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>κ</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><munderover><mo>∑</mo><mrow><mi>q</mi><mo>=</mo><mn>1</mn></mrow><mi mathvariant="normal">∞</mi></munderover><msubsup><mo>∫</mo><mfrac><mn>1</mn><mrow><mi>q</mi><mo>+</mo><mn>1</mn></mrow></mfrac><mfrac><mn>1</mn><mi>q</mi></mfrac></msubsup><msub><mi>g</mi><mi>q</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>κ</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><munderover><mo>∑</mo><mrow><mi>q</mi><mo>=</mo><mn>1</mn></mrow><mi mathvariant="normal">∞</mi></munderover><msubsup><mo>∫</mo><mfrac><mn>1</mn><mrow><mi>q</mi><mo>+</mo><mn>1</mn></mrow></mfrac><mfrac><mn>1</mn><mi>q</mi></mfrac></msubsup><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mi>q</mi></munderover><mi mathvariant="normal">Δ</mi><msub><mi>g</mi><mi>s</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>κ</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><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mi mathvariant="normal">∞</mi></munderover><munderover><mo>∑</mo><mrow><mi>q</mi><mo>=</mo><mi>s</mi></mrow><mi mathvariant="normal">∞</mi></munderover><msubsup><mo>∫</mo><mfrac><mn>1</mn><mrow><mi>q</mi><mo>+</mo><mn>1</mn></mrow></mfrac><mfrac><mn>1</mn><mi>q</mi></mfrac></msubsup><mi mathvariant="normal">Δ</mi><msub><mi>g</mi><mi>s</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>κ</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><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mi mathvariant="normal">∞</mi></munderover><msubsup><mo>∫</mo><mn>0</mn><mfrac><mn>1</mn><mi>s</mi></mfrac></msubsup><mi mathvariant="normal">Δ</mi><msub><mi>g</mi><mi>s</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>κ</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><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mi mathvariant="normal">∞</mi></munderover><msubsup><mo>∫</mo><mn>0</mn><mfrac><mn>1</mn><mi>s</mi></mfrac></msubsup><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mi>ln</mi><mo>⁡</mo><mi>y</mi><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><mfrac><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>j</mi></msup><mtext> </mtext><mi mathvariant="normal">d</mi><mi>κ</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><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mi mathvariant="normal">∞</mi></munderover><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><mi>s</mi></mfrac><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><mfrac><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><msubsup><mo>∫</mo><mn>0</mn><mfrac><mn>1</mn><mi>s</mi></mfrac></msubsup><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>j</mi></msup><mtext> </mtext><mi mathvariant="normal">d</mi><mrow><mo fence="true">(</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></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>s</mi><mo>=</mo><mn>1</mn></mrow><mi mathvariant="normal">∞</mi></munderover><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><mi>s</mi></mfrac><mrow><mo fence="true">(</mo><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo>−</mo><msup><mi>y</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub><mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi>l</mi></msup><mrow><mi>l</mi><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><mo>−</mo><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>b</mi><mo fence="true">)</mo></mrow><mo>+</mo><msup><mi>y</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>b</mi><mo fence="true">)</mo></mrow><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</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/><mphantom><mo>=</mo></mphantom><mrow/><mo>+</mo><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>2</mn></mrow><mi mathvariant="normal">∞</mi></munderover><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><mi>s</mi></mfrac><mrow><mo fence="true">(</mo><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><mi>s</mi><mi>b</mi><mo>−</mo><msup><mi>y</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>s</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>s</mi><mo>+</mo><mi>l</mi></mrow></msup><mi>s</mi><mi>b</mi><mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi>l</mi></msup><mrow><mi>l</mi><mo stretchy="false">!</mo></mrow></mfrac></mrow></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mphantom><mo>=</mo><mrow/><mo>+</mo><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>2</mn></mrow><mi mathvariant="normal">∞</mi></munderover><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><mi>s</mi></mfrac><mtext> </mtext><mrow><mo fence="true">(</mo><mpadded width="0px"><mphantom><munderover><mo>∑</mo><mi>s</mi><mi mathvariant="normal">∞</mi></munderover></mphantom></mpadded></mrow><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><mi>s</mi><mi>b</mi><mo>−</mo><msup><mi>y</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup></mphantom><mrow><mrow><mrow/><mo>+</mo><mi>s</mi><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>b</mi><mo fence="true">)</mo></mrow><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mrow><mi>s</mi><mo>−</mo><mn>1</mn></mrow></msup><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mo>+</mo><mi>s</mi><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi>s</mi></msup><mrow><mi>s</mi><mo stretchy="false">!</mo></mrow></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><mi>b</mi><mo>−</mo><mn>1</mn><mo>+</mo><msup><mi>y</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>b</mi><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mo>+</mo><msup><mi>y</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>2</mn></mrow><mi mathvariant="normal">∞</mi></munderover><mrow><mo fence="true">(</mo><mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mrow><mi>s</mi><mo>−</mo><mn>1</mn></mrow></msup><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mo>−</mo><mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi>s</mi></msup><mrow><mi>s</mi><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/><mphantom><mo>=</mo></mphantom><mrow/><mo>+</mo><mi>b</mi><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>2</mn></mrow><mi mathvariant="normal">∞</mi></munderover><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><msup><mi>y</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>s</mi><mo>−</mo><mn>1</mn></mrow></munderover><mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi>l</mi></msup><mrow><mi>l</mi><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><mi>b</mi><mo>−</mo><mn>1</mn><mo>+</mo><msup><mi>y</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>b</mi><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mo>+</mo><msup><mi>y</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mrow><mo fence="true">(</mo><mi>exp</mi><mo>⁡</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo>−</mo><mrow><mo fence="true">(</mo><mi>exp</mi><mo>⁡</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo>−</mo><mn>1</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/><mphantom><mo>=</mo></mphantom><mrow/><mo>+</mo><mi>b</mi><munder><mrow><mi>lim</mi><mo>⁡</mo></mrow><mrow><mi>q</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow></munder><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>2</mn></mrow><mi>q</mi></munderover><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><msup><mi>y</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>s</mi><mo>−</mo><mn>1</mn></mrow></munderover><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi>l</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>b</mi><mo>−</mo><mn>1</mn><mo>+</mo><msup><mi>y</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>b</mi><mo fence="true">)</mo></mrow><mo>+</mo><mi>b</mi><munder><mrow><mi>lim</mi><mo>⁡</mo></mrow><mrow><mi>q</mi><mo>→</mo><mi mathvariant="normal">∞</mi></mrow></munder><mrow><mo fence="true">(</mo><mi>q</mi><mo>−</mo><mn>1</mn><mo>−</mo><msup><mi>y</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mi>q</mi><mo>−</mo><mn>1</mn><mo>+</mo><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>q</mi><mo>−</mo><mn>1</mn></mrow></munderover><mfrac><mrow><mi>q</mi><mo>−</mo><mi>l</mi></mrow><mrow><mi>l</mi><mo stretchy="false">!</mo></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi>l</mi></msup><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>b</mi><mo>−</mo><mn>1</mn><mo>+</mo><msup><mi>y</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>b</mi><mo fence="true">)</mo></mrow><mo>+</mo><mi>b</mi><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo>+</mo><msup><mi>y</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><mi>ln</mi><mo>⁡</mo><mi>y</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><msup><mi>y</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo>−</mo><mn>1</mn><mo>+</mo><mi>b</mi><mi>ln</mi><mo>⁡</mo><mi>y</mi><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
&amp;\phantom{=~}\int_0^1g\!\left(y,\kappa\right)\mathrm d\kappa\\
&amp;=\sum_{q=1}^\infty\int_{\frac1{q+1}}^{\frac1q}g_q\!\left(y,\kappa\right)\mathrm d\kappa\\
&amp;=\sum_{q=1}^\infty\int_{\frac1{q+1}}^{\frac1q}\sum_{s=1}^q\Delta g_s\!\left(y,\kappa\right)\mathrm d\kappa\\
&amp;=\sum_{s=1}^\infty\sum_{q=s}^\infty\int_{\frac1{q+1}}^{\frac1q}\Delta g_s\!\left(y,\kappa\right)\mathrm d\kappa\\
&amp;=\sum_{s=1}^\infty\int_0^{\frac1s}\Delta g_s\!\left(y,\kappa\right)\mathrm d\kappa\\
&amp;=\sum_{s=1}^\infty\int_0^{\frac1s}\left(-1\right)^sy^{s\kappa-1}\ln y
\sum_{j=0}^s\frac{A_{s,j}}{j!}\left(\ln y^{s\kappa-1}\right)^j\,\mathrm d\kappa\\
&amp;=\sum_{s=1}^\infty\frac{\left(-1\right)^s}s\sum_{j=0}^s\frac{A_{s,j}}{j!}
\int_0^{\frac1s}\left(\ln y^{s\kappa-1}\right)^j\,\mathrm d\left(y^{s\kappa-1}\right)\\
&amp;=\sum_{s=1}^\infty\frac{\left(-1\right)^s}s\left(
  B_{s,0}-y^{-1}\sum_{l=0}^sB_{s,l}\frac{\left(\ln y\right)^l}{l!}
\right)\\
&amp;=-\left(1-b\right)+y^{-1}\left(\left(1-b\right)-\ln y\right)\\
&amp;\phantom{=}{}+\sum_{s=2}^\infty\frac{\left(-1\right)^s}s\left(
  \left(-1\right)^ssb-y^{-1}\left(
    \sum_{l=0}^{s-2}\left(-1\right)^{s+l}sb\frac{\left(\ln y\right)^l}{l!}
\right.\right.\\&amp;\phantom{
  ={}+\sum_{s=2}^\infty\frac{\left(-1\right)^s}s~\left(\vphantom{\sum_s^\infty}\right.\left(-1\right)^ssb-y^{-1}
}\left.\left.
    {}+s\left(1-b\right)\frac{\left(-\ln y\right)^{s-1}}{\left(s-1\right)!}
    +s\frac{\left(-\ln y\right)^s}{s!}
  \right)
\right)\\
&amp;=b-1+y^{-1}\left(1-b-\ln y\right)
+y^{-1}\sum_{s=2}^\infty\left(\frac{\left(\ln y\right)^{s-1}}{\left(s-1\right)!}-\frac{\left(\ln y\right)^s}{s!}\right)\\
&amp;\phantom{=}{}+b\sum_{s=2}^\infty\left(1-y^{-1}\sum_{l=0}^{s-1}\frac{\left(\ln y\right)^l}{l!}\right)\\
&amp;=b-1+y^{-1}\left(1-b-\ln y\right)+y^{-1}\left(\left(\exp\ln y-1\right)-\left(\exp\ln y-\ln y-1\right)\right)\\
&amp;\phantom{=}{}+b\lim_{q\to\infty}\sum_{s=2}^q\left(1-y^{-1}\sum_{l=0}^{s-1}\left(\ln y\right)^l\right)\\
&amp;=b-1+y^{-1}\left(1-b\right)
+b\lim_{q\to\infty}\left(q-1-y^{-1}\left(q-1+\sum_{l=1}^{q-1}\frac{q-l}{l!}\left(\ln y\right)^l\right)\right)\\
&amp;=b-1+y^{-1}\left(1-b\right)+b\left(-1+y^{-1}+\ln y\right)\\
&amp;=y^{-1}-1+b\ln y.
\end{align*}</annotation></semantics></math></span></span></span>
Compare the result with Equation <a href="#eq:eq-normalization">13</a>, 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>b</mi><mo>=</mo><mn>0.</mn></mrow><annotation encoding="application/x-tex">b=0.</annotation></semantics></math></span></span></span></p>
<p>The table of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>B</mi><mrow><mi>q</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub></mrow><annotation encoding="application/x-tex">B_{q,l}</annotation></semantics></math></span></span> is now <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.16em" columnalign="right center center center center center" columnlines="solid none none none none" columnspacing="1em" rowlines="solid none none none none"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>1</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>2</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>3</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>4</mn></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>q</mi><mo>=</mo><mn>1</mn></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>1</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>1</mn></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>2</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>0</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>2</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>2</mn></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>3</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>0</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>0</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>3</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>3</mn></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>4</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>0</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>0</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>0</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>4</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>4</mn></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"><mo lspace="0em" rspace="0em">⋱</mo></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{array}{r|ccccc}
&amp;k=0&amp;1&amp;2&amp;3&amp;4\\
\hline
q=1&amp;1&amp;1\\
2&amp;0&amp;2&amp;2\\
3&amp;0&amp;0&amp;3&amp;3\\
4&amp;0&amp;0&amp;0&amp;4&amp;4\\
\vdots&amp;\ddots
\end{array}</annotation></semantics></math></span></span></span> The table of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub></mrow><annotation encoding="application/x-tex">A_{s,j}</annotation></semantics></math></span></span> is then
<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.16em" columnalign="right center center center center center" columnlines="solid none none none none" columnspacing="1em" rowlines="solid none none none none"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>1</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>2</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>3</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>4</mn></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>2</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>1</mn></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>2</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>2</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>4</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>2</mn></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>3</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>0</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>3</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>6</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>3</mn></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>4</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>0</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>0</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>4</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>8</mn></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mn>4</mn></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"><mo lspace="0em" rspace="0em">⋱</mo></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{array}{r|ccccc}
&amp;j=0&amp;1&amp;2&amp;3&amp;4\\
\hline
s=1&amp;2&amp;1\\
2&amp;2&amp;4&amp;2\\
3&amp;0&amp;3&amp;6&amp;3\\
4&amp;0&amp;0&amp;4&amp;8&amp;4\\
\vdots&amp;\ddots
\end{array}</annotation></semantics></math></span></span></span> The general formula for <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub></mrow><annotation encoding="application/x-tex">A_{s,j}</annotation></semantics></math></span></span> is <span id="eq:eq-A" data-label="(26)"><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><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub><mo>=</mo><mrow><mo fence="true">{</mo><mtable rowspacing="0.36em" columnalign="left left" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>s</mi><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>j</mi><mo>∈</mo><mrow><mo fence="true">{</mo><mi>s</mi><mo separator="true">,</mo><mi>s</mi><mo>−</mo><mn>2</mn><mo fence="true">}</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>2</mn><mi>s</mi><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>j</mi><mo>=</mo><mi>s</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>0</mn><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>j</mi><mo>∈</mo><mn>0</mn><mtext> </mtext><mi mathvariant="normal">.</mi><mi mathvariant="normal">.</mi><mi>s</mi><mo>−</mo><mn>3.</mn></mrow></mstyle></mtd></mtr></mtable></mrow></mrow><annotation encoding="application/x-tex">A_{s,j}=\begin{cases}
s,&amp;j\in\left\{s,s-2\right\},\\
2s,&amp;j=s-1,\\
0,&amp;j\in0\,..s-3.
\end{cases}</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>26</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(26)</annotation></semantics></math></span></span></span></span> </span></span></p>
<p>Therefore, the functions <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">Δ</mi><msub><mi>g</mi><mi>s</mi></msub></mrow><annotation encoding="application/x-tex">\Delta g_s</annotation></semantics></math></span></span> are <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><msub><mi>g</mi><mi>s</mi></msub><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo>=</mo><mrow><mo fence="true">{</mo><mtable rowspacing="0.36em" columnalign="left left" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mo>−</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><mn>2</mn><mo>+</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><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/><mstyle scriptlevel="0" displaystyle="false"><mrow><mfrac><mrow><mi>s</mi><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup></mrow><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>−</mo><mn>2</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mi>ln</mi><mo>⁡</mo><mi>y</mi><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mrow><mi>s</mi><mo>−</mo><mn>2</mn></mrow></msup><mrow><mo fence="true">(</mo><mn>1</mn><mpadded width="0px"><mphantom><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mn>2</mn></msup></mphantom></mpadded></mrow></mrow></mstyle></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mstyle scriptlevel="0" displaystyle="false"><mrow><mrow><mspace width="1em"/><mrow/><mo>+</mo><mfrac><mn>2</mn><mrow><mi>s</mi><mo>−</mo><mn>1</mn></mrow></mfrac><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><mfrac><mn>1</mn><mrow><mi>s</mi><mrow><mo fence="true">(</mo><mi>s</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mn>2</mn></msup><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mrow></mstyle></mtd></mtr></mtable></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>s</mi><mo>∈</mo><mn>2</mn><mo>…</mo><mi mathvariant="normal">∞</mi><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable></mrow></mrow><annotation encoding="application/x-tex">\Delta g_s(y,\kappa)=\begin{cases}
  -y^{\kappa-1}\ln y\left(2+\ln y^{\kappa-1}\right),&amp;s=1\\
  \begin{split}
    &amp;\textstyle{\frac{s\left(-1\right)^s}{\left(s-2\right)!}y^{s\kappa-1}\ln y\left(\ln y^{s\kappa-1}\right)^{s-2}
    \left(1\vphantom{\left(\ln y^{s\kappa-1}\right)^2}\right.}\\
    &amp;\textstyle{\left.\quad{}+\frac2{s-1}\ln y^{s\kappa-1}+\frac1{s\left(s-1\right)}\left(\ln y^{s\kappa-1}\right)^2\right),}
  \end{split}&amp;s\in2\ldots\infty.
\end{cases}</annotation></semantics></math></span></span></span>
Therefore, the functions <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>g</mi><mi>q</mi></msub></mrow><annotation encoding="application/x-tex">g_q</annotation></semantics></math></span></span> are <span id="eq:eq-gq" data-label="(27)"><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><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/><msub><mi>g</mi><mi>q</mi></msub><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo>=</mo><mo>−</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><mn>2</mn><mo>+</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mo>+</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>2</mn></mrow><mi>q</mi></munderover><mfrac><mrow><mi>s</mi><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup></mrow><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>−</mo><mn>2</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mrow><mi>s</mi><mo>−</mo><mn>2</mn></mrow></msup><mrow><mo fence="true">(</mo><mn>1</mn><mpadded width="0px"><mphantom><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><mrow><mi>s</mi><mo stretchy="false">!</mo></mrow></mfrac></mphantom></mpadded></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mphantom><msub><mi>g</mi><mi>q</mi></msub><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo>=</mo><mspace width="1em"/></mphantom><mrow><mrow/><mo>+</mo><mfrac><mn>2</mn><mrow><mi>s</mi><mo>−</mo><mn>1</mn></mrow></mfrac><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><mfrac><mn>1</mn><mrow><mi>s</mi><mrow><mo fence="true">(</mo><mi>s</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mn>2</mn></msup><mo fence="true">)</mo></mrow></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{split}
&amp;g_q(y,\kappa)=-y^{\kappa-1}\ln y\left(2+\ln y^{\kappa-1}\right)
+\ln y\sum_{s=2}^q\frac{s\left(-1\right)^s}{\left(s-2\right)!}y^{s\kappa-1}\left(\ln y^{s\kappa-1}\right)^{s-2}
\left(1\vphantom{\frac{\left(-1\right)^s}{s!}}\right.\\
&amp;\phantom{g_q(y,\kappa)=\quad}\left.{}+\frac2{s-1}\ln y^{s\kappa-1}+\frac1{s\left(s-1\right)}\left(\ln y^{s\kappa-1}\right)^2\right)
\end{split}</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>27</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(27)</annotation></semantics></math></span></span></span></span> </span></span> (the formula is also applicable to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>q</mi><mo>=</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">q=1</annotation></semantics></math></span></span>).</p>
<h3 data-label="0.4.5" id="edge-cases">Edge cases</h3>
<p>Now we have covered almost all cases. The only cases that we have not covered are the cases when <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>=</mo><mfrac><mn>1</mn><mi>q</mi></mfrac></mrow><annotation encoding="application/x-tex">\kappa=\frac1q</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>q</mi><mo>∈</mo><mn>2</mn><mo>…</mo><mi mathvariant="normal">∞</mi></mrow><annotation encoding="application/x-tex">q\in2\ldots\infty</annotation></semantics></math></span></span>. The discontinuity in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>g</mi></mrow><annotation encoding="application/x-tex">g</annotation></semantics></math></span></span> at <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>=</mo><mfrac><mn>1</mn><mi>q</mi></mfrac></mrow><annotation encoding="application/x-tex">\kappa=\frac1q</annotation></semantics></math></span></span> is <span id="eq:eq-discontinuity" data-label="(28)"><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><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><mtext> </mtext></mphantom><mi>g</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo separator="true">,</mo><msup><mfrac><mn>1</mn><mi>q</mi></mfrac><mo>+</mo></msup><mo fence="true">)</mo></mrow><mo>−</mo><mi>g</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo separator="true">,</mo><msup><mfrac><mn>1</mn><mi>q</mi></mfrac><mo>−</mo></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><mo>−</mo><mi mathvariant="normal">Δ</mi><msub><mi>g</mi><mi>q</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo separator="true">,</mo><mfrac><mn>1</mn><mi>q</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><mrow><mo fence="true">{</mo><mtable rowspacing="0.36em" columnalign="left left" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mo>−</mo><mn>2</mn><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>q</mi><mo>=</mo><mn>2</mn><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>0</mn><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>q</mi><mo>∈</mo><mn>3</mn><mo>…</mo><mi mathvariant="normal">∞</mi><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable></mrow></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{split}
&amp;\phantom{=~}g\!\left(y,\frac1q^+\right)-g\!\left(y,\frac1q^-\right)\\
&amp;=-\Delta g_q\!\left(y,\frac1q\right)\\
&amp;=\begin{cases}
  -2\ln y,&amp;q=2,\\
  0,&amp;q\in3\ldots\infty.
\end{cases}
\end{split}</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>28</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(28)</annotation></semantics></math></span></span></span></span> </span></span> Therefore, for <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>q</mi><mo>∈</mo><mn>3</mn><mo>…</mo><mi mathvariant="normal">∞</mi></mrow><annotation encoding="application/x-tex">q\in3\ldots\infty</annotation></semantics></math></span></span>, the function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>g</mi></mrow><annotation encoding="application/x-tex">g</annotation></semantics></math></span></span> has defined limit at <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>=</mo><mfrac><mn>1</mn><mi>q</mi></mfrac></mrow><annotation encoding="application/x-tex">\kappa=\frac1q</annotation></semantics></math></span></span>, and the value of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>g</mi></mrow><annotation encoding="application/x-tex">g</annotation></semantics></math></span></span> here should just be the limit value. Now, the only problem is at <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>=</mo><mfrac><mn>1</mn><mn>2</mn></mfrac></mrow><annotation encoding="application/x-tex">\kappa=\frac12</annotation></semantics></math></span></span>. We should determine whether the value of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>g</mi></mrow><annotation encoding="application/x-tex">g</annotation></semantics></math></span></span> at <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>=</mo><mfrac><mn>1</mn><mn>2</mn></mfrac></mrow><annotation encoding="application/x-tex">\kappa=\frac12</annotation></semantics></math></span></span> is its left limit or right limit.</p>
<p>Looking at Equation <a href="#eq:eq-main">12</a>, one may see that the discontinuity at <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>=</mo><mfrac><mn>1</mn><mn>2</mn></mfrac></mrow><annotation encoding="application/x-tex">\kappa=\frac12</annotation></semantics></math></span></span> is due to the Dirac <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">\delta</annotation></semantics></math></span></span> function in the integrand. Therefore, whether <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>g</mi></mrow><annotation encoding="application/x-tex">g</annotation></semantics></math></span></span> at <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>=</mo><mfrac><mn>1</mn><mn>2</mn></mfrac></mrow><annotation encoding="application/x-tex">\kappa=\frac12</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><mi>g</mi><mn>1</mn></msub></mrow><annotation encoding="application/x-tex">g_1</annotation></semantics></math></span></span> or <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>g</mi><mn>2</mn></msub></mrow><annotation encoding="application/x-tex">g_2</annotation></semantics></math></span></span> depends on whether the Dirac <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">\delta</annotation></semantics></math></span></span> function is within the integrated interval. If it is, then <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>g</mi></mrow><annotation encoding="application/x-tex">g</annotation></semantics></math></span></span> at <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>=</mo><mfrac><mn>1</mn><mn>2</mn></mfrac></mrow><annotation encoding="application/x-tex">\kappa=\frac12</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><mi>g</mi><mn>1</mn></msub></mrow><annotation encoding="application/x-tex">g_1</annotation></semantics></math></span></span>; otherwise, it is
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>g</mi><mn>2</mn></msub></mrow><annotation encoding="application/x-tex">g_2</annotation></semantics></math></span></span>.</p>
<p>The inclusion of the Dirac <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">\delta</annotation></semantics></math></span></span> function in the integrated interval corresponds to the inclusion of the highest term in the summation in Equation <a href="#eq:eq-dp2">7</a>. Because both <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>k</mi><mo separator="true">,</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\min(k,n-k-1)</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>min</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo><mi>n</mi><mo>−</mo><mi>k</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\min(k-1,n-k-1)</annotation></semantics></math></span></span> equal <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> 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>2</mn><mi>k</mi></mrow><annotation encoding="application/x-tex">n=2k</annotation></semantics></math></span></span>, the highest term in the summation can be reached, so the Dirac <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">\delta</annotation></semantics></math></span></span> function is within the integrated interval. Therefore, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>g</mi></mrow><annotation encoding="application/x-tex">g</annotation></semantics></math></span></span> at <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>=</mo><mfrac><mn>1</mn><mn>2</mn></mfrac></mrow><annotation encoding="application/x-tex">\kappa=\frac12</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><mi>g</mi><mn>1</mn></msub></mrow><annotation encoding="application/x-tex">g_1</annotation></semantics></math></span></span>.</p>
<p>Therefore, we may conclude that for any <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>∈</mo><mrow><mo fence="true">(</mo><mn>0</mn><mo separator="true">,</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">\kappa\in\left(0,1\right)</annotation></semantics></math></span></span>, <span id="eq:eq-select-q" data-label="(29)"><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>g</mi><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo>=</mo><msub><mi>g</mi><mrow><mo stretchy="false">⌈</mo><mfrac><mn>1</mn><mi>κ</mi></mfrac><mo stretchy="false">⌉</mo><mo>−</mo><mn>1</mn></mrow></msub><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">g(y,\kappa)=g_{\lceil\frac1\kappa\rceil-1}(y,\kappa).</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>29</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(29)</annotation></semantics></math></span></span></span></span> </span></span></p>
<hr/>
<p>Another edge case that is interesting to consider is when <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>→</mo><msup><mn>0</mn><mo>+</mo></msup></mrow><annotation encoding="application/x-tex">\kappa\to0^+</annotation></semantics></math></span></span>. However, because the domain of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>g</mi></mrow><annotation encoding="application/x-tex">g</annotation></semantics></math></span></span> does not include <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">\kappa=0</annotation></semantics></math></span></span> by definition, so we do not need to consider this case. By some mathematical analysis techniques, one may prove that the limit of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>g</mi></mrow><annotation encoding="application/x-tex">g</annotation></semantics></math></span></span> as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>→</mo><msup><mn>0</mn><mo>+</mo></msup></mrow><annotation encoding="application/x-tex">\kappa\to0^+</annotation></semantics></math></span></span> is <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>
<h3 data-label="0.4.6" id="the-solution">The solution</h3>
<p>Substitute Equation <a href="#eq:eq-gq">27</a> into Equation <a href="#eq:eq-select-q">29</a>, 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" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mi>g</mi><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo>=</mo><mo>−</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><mn>2</mn><mo>+</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mo>+</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>2</mn></mrow><mrow><mo stretchy="false">⌈</mo><mfrac><mn>1</mn><mi>κ</mi></mfrac><mo stretchy="false">⌉</mo><mo>−</mo><mn>1</mn></mrow></munderover><mfrac><mrow><mi>s</mi><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup></mrow><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>−</mo><mn>2</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mrow><mi>s</mi><mo>−</mo><mn>2</mn></mrow></msup><mrow><mo fence="true">(</mo><mn>1</mn><mpadded width="0px"><mphantom><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><mrow><mi>s</mi><mo stretchy="false">!</mo></mrow></mfrac></mphantom></mpadded></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mphantom><mi>g</mi><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo>=</mo><mspace width="1em"/></mphantom><mrow><mrow/><mo>+</mo><mfrac><mn>2</mn><mrow><mi>s</mi><mo>−</mo><mn>1</mn></mrow></mfrac><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><mfrac><mn>1</mn><mrow><mi>s</mi><mrow><mo fence="true">(</mo><mi>s</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mn>2</mn></msup><mo fence="true">)</mo></mrow></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{split}
&amp;g(y,\kappa)=-y^{\kappa-1}\ln y\left(2+\ln y^{\kappa-1}\right)
+\ln y\sum_{s=2}^{\lceil\frac1\kappa\rceil-1}\frac{s\left(-1\right)^s}{\left(s-2\right)!}y^{s\kappa-1}\left(\ln y^{s\kappa-1}\right)^{s-2}
\left(1\vphantom{\frac{\left(-1\right)^s}{s!}}\right.\\
&amp;\phantom{g(y,\kappa)=\quad}\left.{}+\frac2{s-1}\ln y^{s\kappa-1}+\frac1{s\left(s-1\right)}\left(\ln y^{s\kappa-1}\right)^2\right)
\end{split}</annotation></semantics></math></span></span></span>
Substitute the result into Equation <a href="#eq:eq-g-def">11</a> and then Equation <a href="#eq:eq-h-def">10</a>, and also consider Equation <a href="#eq:eq-f-y-0">8</a> and <a href="#eq:eq-f-y-1">9</a>, and we have <span id="eq:eq-f" data-label="(30)"><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>f</mi><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo>=</mo><mrow><mo fence="true">{</mo><mtable rowspacing="0.36em" columnalign="left left" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>δ</mi><mo stretchy="false">(</mo><mi>κ</mi><mo stretchy="false">)</mo><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>y</mi><mo>=</mo><mn>0</mn><mo separator="true">,</mo><mi>κ</mi><mo>∈</mo><mo stretchy="false">[</mo><mn>0</mn><mo separator="true">,</mo><mn>1</mn><mo stretchy="false">]</mo><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>0</mn><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>y</mi><mo>∈</mo><mo stretchy="false">(</mo><mn>0</mn><mo separator="true">,</mo><mn>1</mn><mo stretchy="false">]</mo><mo separator="true">,</mo><mi>κ</mi><mo>=</mo><mn>0</mn><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><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/><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>y</mi><mi>δ</mi><mo stretchy="false">(</mo><mi>κ</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo><mo>−</mo><msup><mi>y</mi><mi>κ</mi></msup><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><mn>2</mn><mo>+</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow></mrow></mstyle></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mspace width="1em"/><mstyle scriptlevel="0" displaystyle="false"><mrow><mrow/><mo>+</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><msubsup><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>2</mn></mrow><mrow><mo stretchy="false">⌈</mo><mfrac><mn>1</mn><mi>κ</mi></mfrac><mo stretchy="false">⌉</mo><mo>−</mo><mn>1</mn></mrow></msubsup><mfrac><mrow><mi>s</mi><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup></mrow><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>−</mo><mn>2</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi></mrow></msup><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mrow><mi>s</mi><mo>−</mo><mn>2</mn></mrow></msup><mrow><mo fence="true">(</mo><mn>1</mn><mpadded width="0px"><mphantom><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mn>2</mn></msup></mphantom></mpadded></mrow></mrow></mstyle></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mspace width="2em"/><mstyle scriptlevel="0" displaystyle="false"><mrow><mrow/><mo>+</mo><mfrac><mn>2</mn><mrow><mi>s</mi><mo>−</mo><mn>1</mn></mrow></mfrac><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo>+</mo><mfrac><mn>1</mn><mrow><mi>s</mi><mrow><mo fence="true">(</mo><mi>s</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow></mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mn>2</mn></msup><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mstyle></mrow></mstyle></mtd></mtr></mtable></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>y</mi><mo>∈</mo><mo stretchy="false">(</mo><mn>0</mn><mo separator="true">,</mo><mn>1</mn><mo stretchy="false">]</mo><mo separator="true">,</mo><mi>κ</mi><mo>∈</mo><mo stretchy="false">(</mo><mn>0</mn><mo separator="true">,</mo><mn>1</mn><mo stretchy="false">]</mo><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable></mrow></mrow><annotation encoding="application/x-tex">f(y,\kappa)=\begin{cases}
\delta(\kappa),&amp;y=0,\kappa\in[0,1],\\
0,&amp;y\in(0,1],\kappa=0,\\
\begin{split}
&amp;\textstyle{y\delta(\kappa-1)-y^\kappa\ln y\left(2+\ln y^{\kappa-1}\right)}\\
&amp;\quad\textstyle{ {}+\ln y\sum_{s=2}^{\lceil\frac1\kappa\rceil-1}\frac{s\left(-1\right)^s}{\left(s-2\right)!}
y^{s\kappa}\left(\ln y^{s\kappa-1}\right)^{s-2}
\left(1\vphantom{\left(\ln y^{s\kappa-1}\right)^2}\right.}\\
&amp;\qquad\textstyle{\left.{}+\frac2{s-1}\ln y^{s\kappa-1}+\frac1{s\left(s-1\right)}\left(\ln y^{s\kappa-1}\right)^2\right)},
\end{split}&amp;y\in(0,1],\kappa\in(0,1].
\end{cases}</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>30</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(30)</annotation></semantics></math></span></span></span></span> </span></span></p>
<h3 data-label="0.4.7" id="plots-of-the-probability-density-functions">Plots of the probability density functions</h3>
<p>Here are plots of the function <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">f(y,\kappa)</annotation></semantics></math></span></span> whose expression is given by Equation <a href="#eq:eq-f">30</a>:</p>
<figure>
<img src="/assets/images/figures/2022-12-25-combo-probability/infinite_distribution.png" class="dark-adaptive" alt="Probability distribution of  when "/>

</figure>
<p>We can compare it with a plot of the distributions when <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 finite (say, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>100</mn></mrow><annotation encoding="application/x-tex">100</annotation></semantics></math></span></span>), and we may see that they are very close:</p>
<figure>
<img src="/assets/images/figures/2022-12-25-combo-probability/infinite_distribution_2.png" class="dark-adaptive" alt="Probability distribution of  when  and when  compared"/>

</figure>
<p>We have not investigated the asymptotic behavior of the error if we approximate the distribution with finite <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 the distribution with infinite <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>, but we may expect that the error is small enough for applicational uses when <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 usual note count in a rhythm game chart (usually at least <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>500</mn></mrow><annotation encoding="application/x-tex">500</annotation></semantics></math></span></span>).</p>
<h3 data-label="0.4.8" id="moments">Moments</h3>
<p>It may be interesting to calculate the <a href="https://en.wikipedia.org/wiki/Moment_(mathematics)" target="_blank" rel="external">moments</a> of the distribution.</p>
<p>We need to evaluate <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>μ</mi><mi>ν</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo fence="true">)</mo></mrow><mo><mi mathvariant="normal">≔</mi></mo><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><msup><mi>κ</mi><mi>ν</mi></msup><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>κ</mi><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\mu_\nu\!\left(y\right)\coloneqq\int_0^1\kappa^\nu f\!\left(y,\kappa\right)\mathrm d\kappa.</annotation></semantics></math></span></span></span> First, calculate <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><mtext> </mtext></mphantom><msubsup><mo>∫</mo><mn>0</mn><mfrac><mn>1</mn><mi>s</mi></mfrac></msubsup><msup><mi>κ</mi><mi>ν</mi></msup><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi>j</mi></msup><msup><mi>y</mi><mrow><mi>s</mi><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mi>ln</mi><mo>⁡</mo><mi>y</mi><mtext> </mtext><mi mathvariant="normal">d</mi><mi>κ</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><msubsup><mo>∫</mo><msup><mi>y</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mn>1</mn></msubsup><msup><mrow><mo fence="true">(</mo><mfrac><mrow><msub><mrow><mi>log</mi><mo>⁡</mo></mrow><mi>y</mi></msub><mi>w</mi><mo>+</mo><mn>1</mn></mrow><mi>s</mi></mfrac><mo fence="true">)</mo></mrow><mi>ν</mi></msup><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>w</mi><mo fence="true">)</mo></mrow><mi>j</mi></msup><mtext> </mtext><mi mathvariant="normal">d</mi><mi>w</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><mfrac><mn>1</mn><msup><mi>s</mi><mrow><mi>ν</mi><mo>+</mo><mn>1</mn></mrow></msup></mfrac><munderover><mo>∑</mo><mrow><mi>p</mi><mo>=</mo><mn>0</mn></mrow><mi>ν</mi></munderover><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>ν</mi><mi>p</mi></mfrac><mo fence="true">)</mo></mrow><mfrac><mn>1</mn><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi>p</mi></msup></mfrac><msubsup><mo>∫</mo><msup><mi>y</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mn>1</mn></msubsup><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>w</mi><mo fence="true">)</mo></mrow><mrow><mi>j</mi><mo>+</mo><mi>p</mi></mrow></msup><mtext> </mtext><mi mathvariant="normal">d</mi><mi>w</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><mfrac><mn>1</mn><msup><mi>s</mi><mrow><mi>ν</mi><mo>+</mo><mn>1</mn></mrow></msup></mfrac><munderover><mo>∑</mo><mrow><mi>p</mi><mo>=</mo><mn>0</mn></mrow><mi>ν</mi></munderover><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>ν</mi><mi>p</mi></mfrac><mo fence="true">)</mo></mrow><mfrac><mrow><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>j</mi><mo>+</mo><mi>p</mi></mrow></msup><mrow><mo fence="true">(</mo><mi>j</mi><mo>+</mo><mi>p</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi>p</mi></msup></mfrac><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><msup><mi>y</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>j</mi><mo>+</mo><mi>p</mi></mrow></munderover><mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi>l</mi></msup><mrow><mi>l</mi><mo stretchy="false">!</mo></mrow></mfrac><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
&amp;\phantom{=~}\int_0^{\frac1s}\kappa^\nu\left(\ln y^{s\kappa-1}\right)^jy^{s\kappa-1}\ln y\,\mathrm d\kappa\\
&amp;=\int_{y^{-1}}^1\left(\frac{\log_yw+1}{s}\right)^\nu\left(\ln w\right)^j\,\mathrm dw\\
&amp;=\frac1{s^{\nu+1}}\sum_{p=0}^\nu\binom\nu p\frac1{\left(\ln y\right)^p}
\int_{y^{-1}}^1\left(\ln w\right)^{j+p}\,\mathrm dw\\
&amp;=\frac{1}{s^{\nu+1}}\sum_{p=0}^\nu\binom\nu p\frac{\left(-1\right)^{j+p}\left(j+p\right)!}{\left(\ln y\right)^p}
\left(1-y^{-1}\sum_{l=0}^{j+p}\frac{\left(\ln y\right)^l}{l!}\right).
\end{align*}</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><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><mtext> </mtext></mphantom><msubsup><mo>∫</mo><mn>0</mn><mfrac><mn>1</mn><mi>s</mi></mfrac></msubsup><msup><mi>κ</mi><mi>ν</mi></msup><mi mathvariant="normal">Δ</mi><msub><mi>g</mi><mi>s</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>κ</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><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><mfrac><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><mfrac><mn>1</mn><msup><mi>s</mi><mrow><mi>ν</mi><mo>+</mo><mn>1</mn></mrow></msup></mfrac><munderover><mo>∑</mo><mrow><mi>p</mi><mo>=</mo><mn>0</mn></mrow><mi>ν</mi></munderover><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>ν</mi><mi>p</mi></mfrac><mo fence="true">)</mo></mrow><mfrac><mrow><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>j</mi><mo>+</mo><mi>p</mi></mrow></msup><mrow><mo fence="true">(</mo><mi>j</mi><mo>+</mo><mi>p</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi>p</mi></msup></mfrac><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><msup><mi>y</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>j</mi><mo>+</mo><mi>p</mi></mrow></munderover><mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi>l</mi></msup><mrow><mi>l</mi><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><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><msup><mi>s</mi><mrow><mi>ν</mi><mo>+</mo><mn>1</mn></mrow></msup></mfrac><munderover><mo>∑</mo><mrow><mi>p</mi><mo>=</mo><mn>0</mn></mrow><mi>ν</mi></munderover><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>ν</mi><mi>p</mi></mfrac><mo fence="true">)</mo></mrow><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>p</mi></msup><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi>p</mi></msup></mfrac><mrow><mo fence="true">(</mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><mfrac><mrow><mrow><mo fence="true">(</mo><mi>j</mi><mo>+</mo><mi>p</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup></mrow><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub></mrow></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mspace width="2em"/><mspace width="2em"/><mspace width="2em"/><mspace width="2em"/><mspace width="2em"/><mspace width="2em"/><mrow><mrow/><mo>−</mo><msup><mi>y</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mn>0</mn></mrow><mi>s</mi></munderover><mfrac><mrow><mrow><mo fence="true">(</mo><mi>j</mi><mo>+</mo><mi>p</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup></mrow><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>j</mi><mo>+</mo><mi>p</mi></mrow></munderover><mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi>l</mi></msup><mrow><mi>l</mi><mo stretchy="false">!</mo></mrow></mfrac><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
&amp;\phantom{=~}\int_0^{\frac1s}\kappa^\nu\Delta g_s\!\left(y,\kappa\right)\mathrm d\kappa\\
&amp;=\sum_{j=0}^s\left(-1\right)^s\frac{A_{s,j}}{j!}
\frac{1}{s^{\nu+1}}\sum_{p=0}^\nu\binom\nu p\frac{\left(-1\right)^{j+p}\left(j+p\right)!}{\left(\ln y\right)^p}
\left(1-y^{-1}\sum_{l=0}^{j+p}\frac{\left(\ln y\right)^l}{l!}\right)\\
&amp;=\frac{\left(-1\right)^s}{s^{\nu+1}}\sum_{p=0}^\nu\binom\nu p\frac{\left(-1\right)^p}{\left(\ln y\right)^p}
\left(
  \sum_{j=0}^s\frac{\left(j+p\right)!\left(-1\right)^j}{j!}A_{s,j}
\right.\\&amp;\qquad\qquad\qquad\qquad\qquad\qquad\left.{}
  -y^{-1}\sum_{j=0}^s\frac{\left(j+p\right)!\left(-1\right)^j}{j!}A_{s,j}\sum_{l=0}^{j+p}\frac{\left(\ln y\right)^l}{l!}
\right).
\end{align*}</annotation></semantics></math></span></span></span></p>
<p>Define <span id="eq:eq-B-def-2" data-label="(31)"><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>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>l</mi><mo separator="true">,</mo><mi>p</mi></mrow></msub><mo><mi mathvariant="normal">≔</mi></mo><munderover><mo>∑</mo><mrow><mi>j</mi><mo>=</mo><mi>max</mi><mo>⁡</mo><mo stretchy="false">(</mo><mn>0</mn><mo separator="true">,</mo><mi>l</mi><mo>−</mo><mi>p</mi><mo stretchy="false">)</mo></mrow><mi>s</mi></munderover><mfrac><mrow><mrow><mo fence="true">(</mo><mi>j</mi><mo>+</mo><mi>p</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>j</mi></msup></mrow><mrow><mi>j</mi><mo stretchy="false">!</mo></mrow></mfrac><msub><mi>A</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>j</mi></mrow></msub><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">B_{s,l,p}\coloneqq\sum_{j=\max(0,l-p)}^s\frac{\left(j+p\right)!\left(-1\right)^j}{j!}A_{s,j},</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>31</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(31)</annotation></semantics></math></span></span></span></span> </span></span> <span id="eq:eq-D-def" data-label="(32)"><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>D</mi><mrow><mi>ν</mi><mo separator="true">,</mo><mi>p</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub><mo><mi mathvariant="normal">≔</mi></mo><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mi>max</mi><mo>⁡</mo><mo stretchy="false">(</mo><mn>1</mn><mo separator="true">,</mo><mi>l</mi><mo>−</mo><mi>p</mi><mo stretchy="false">)</mo></mrow><mi mathvariant="normal">∞</mi></munderover><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><msup><mi>s</mi><mrow><mi>ν</mi><mo>+</mo><mn>1</mn></mrow></msup></mfrac><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>l</mi><mo separator="true">,</mo><mi>p</mi></mrow></msub><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">D_{\nu,p,l}\coloneqq\sum_{s=\max(1,l-p)}^\infty\frac{\left(-1\right)^s}{s^{\nu+1}}B_{s,l,p}.</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>32</mn><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(32)</annotation></semantics></math></span></span></span></span> </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><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><mtext> </mtext></mphantom><msubsup><mo>∫</mo><mn>0</mn><mfrac><mn>1</mn><mi>s</mi></mfrac></msubsup><msup><mi>κ</mi><mi>ν</mi></msup><mi mathvariant="normal">Δ</mi><msub><mi>g</mi><mi>s</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>κ</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><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><msup><mi>s</mi><mrow><mi>ν</mi><mo>+</mo><mn>1</mn></mrow></msup></mfrac><munderover><mo>∑</mo><mrow><mi>p</mi><mo>=</mo><mn>0</mn></mrow><mi>ν</mi></munderover><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>ν</mi><mi>p</mi></mfrac><mo fence="true">)</mo></mrow><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>p</mi></msup><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi>p</mi></msup></mfrac><mrow><mo fence="true">(</mo><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mn>0</mn><mo separator="true">,</mo><mi>p</mi></mrow></msub><mo>−</mo><msup><mi>y</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>s</mi><mo>+</mo><mi>p</mi></mrow></munderover><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>l</mi><mo separator="true">,</mo><mi>p</mi></mrow></msub><mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi>l</mi></msup><mrow><mi>l</mi><mo stretchy="false">!</mo></mrow></mfrac><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
&amp;\phantom{=~}\int_0^{\frac1s}\kappa^\nu\Delta g_s\!\left(y,\kappa\right)\mathrm d\kappa\\
&amp;=\frac{\left(-1\right)^s}{s^{\nu+1}}\sum_{p=0}^\nu\binom\nu p\frac{\left(-1\right)^p}{\left(\ln y\right)^p}
\left(B_{s,0,p}-y^{-1}\sum_{l=0}^{s+p}B_{s,l,p}\frac{\left(\ln y\right)^l}{l!}\right).
\end{align*}</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><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><mtext> </mtext></mphantom><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><msup><mi>κ</mi><mi>ν</mi></msup><mi>g</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>κ</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><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mi mathvariant="normal">∞</mi></munderover><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><msup><mi>s</mi><mrow><mi>ν</mi><mo>+</mo><mn>1</mn></mrow></msup></mfrac><munderover><mo>∑</mo><mrow><mi>p</mi><mo>=</mo><mn>0</mn></mrow><mi>ν</mi></munderover><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>ν</mi><mi>p</mi></mfrac><mo fence="true">)</mo></mrow><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>p</mi></msup><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi>p</mi></msup></mfrac><mrow><mo fence="true">(</mo><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mn>0</mn><mo separator="true">,</mo><mi>p</mi></mrow></msub><mo>−</mo><msup><mi>y</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>s</mi><mo>+</mo><mi>p</mi></mrow></munderover><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>l</mi><mo separator="true">,</mo><mi>p</mi></mrow></msub><mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi>l</mi></msup><mrow><mi>l</mi><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>p</mi><mo>=</mo><mn>0</mn></mrow><mi>ν</mi></munderover><mrow><mo fence="true">(</mo><mfrac linethickness="0px"><mi>ν</mi><mi>p</mi></mfrac><mo fence="true">)</mo></mrow><mfrac><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>p</mi></msup><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi>p</mi></msup></mfrac><mrow><mo fence="true">(</mo><msub><mi>D</mi><mrow><mi>ν</mi><mo separator="true">,</mo><mi>p</mi><mo separator="true">,</mo><mn>0</mn></mrow></msub><mo>−</mo><msup><mi>y</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><munderover><mo>∑</mo><mrow><mi>l</mi><mo>=</mo><mn>0</mn></mrow><mi mathvariant="normal">∞</mi></munderover><msub><mi>D</mi><mrow><mi>ν</mi><mo separator="true">,</mo><mi>p</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub><mfrac><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi>l</mi></msup><mrow><mi>l</mi><mo stretchy="false">!</mo></mrow></mfrac><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
&amp;\phantom{=~}\int_0^1\kappa^\nu g\!\left(y,\kappa\right)\mathrm d\kappa\\
&amp;=\sum_{s=1}^\infty
\frac{\left(-1\right)^s}{s^{\nu+1}}\sum_{p=0}^\nu\binom\nu p\frac{\left(-1\right)^p}{\left(\ln y\right)^p}
\left(B_{s,0,p}-y^{-1}\sum_{l=0}^{s+p}B_{s,l,p}\frac{\left(\ln y\right)^l}{l!}\right)\\
&amp;=\sum_{p=0}^\nu\binom\nu p\frac{\left(-1\right)^p}{\left(\ln y\right)^p}
\left(D_{\nu,p,0}-y^{-1}\sum_{l=0}^\infty D_{\nu,p,l}\frac{\left(\ln y\right)^l}{l!}\right).
\end{align*}</annotation></semantics></math></span></span></span></p>
<p>Now, the only problem is how to get <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>D</mi><mrow><mi>ν</mi><mo separator="true">,</mo><mi>p</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub></mrow><annotation encoding="application/x-tex">D_{\nu,p,l}</annotation></semantics></math></span></span>. Substitute Equation <a href="#eq:eq-A">26</a> into Equation <a href="#eq:eq-B-def-2">31</a>, and after some calculations, we can get the general formula of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>l</mi><mo separator="true">,</mo><mi>p</mi></mrow></msub></mrow><annotation encoding="application/x-tex">B_{s,l,p}</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>B</mi><mrow><mi>s</mi><mo separator="true">,</mo><mi>l</mi><mo separator="true">,</mo><mi>p</mi></mrow></msub><mo>=</mo><mfrac><mrow><msup><mrow><mo fence="true">(</mo><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>s</mi></msup><mi>max</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>l</mi><mo separator="true">,</mo><mi>s</mi><mo>+</mo><mi>p</mi><mo>−</mo><mn>2</mn><mo stretchy="false">)</mo><mo stretchy="false">!</mo></mrow><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mo>⋅</mo><mrow><mo fence="true">{</mo><mtable rowspacing="0.36em" columnalign="left left" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>p</mi><mrow><mo fence="true">(</mo><mi>p</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>l</mi><mo>∈</mo><mn>0</mn><mtext> </mtext><mi mathvariant="normal">.</mi><mi mathvariant="normal">.</mi><mi>s</mi><mo>+</mo><mi>p</mi><mo>−</mo><mn>2</mn><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>p</mi><mo>−</mo><mi>s</mi><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>l</mi><mo>=</mo><mi>s</mi><mo>+</mo><mi>p</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>1</mn><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>l</mi><mo>=</mo><mi>s</mi><mo>+</mo><mi>p</mi><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable></mrow></mrow><annotation encoding="application/x-tex">B_{s,l,p}=\frac{\left(-1\right)^s\max(l,s+p-2)!}{\left(s-1\right)!}\cdot\begin{cases}
p\left(p-1\right),&amp;l\in0\,..s+p-2,\\
p-s,&amp;l=s+p-1,\\
1,&amp;l=s+p.
\end{cases}</annotation></semantics></math></span></span></span> Substitute it into Equation <a href="#eq:eq-D-def">32</a>, and notice the edge cases, we can get
<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"><msub><mi>D</mi><mrow><mi>ν</mi><mo separator="true">,</mo><mi>p</mi><mo separator="true">,</mo><mi>l</mi></mrow></msub></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mrow><mo fence="true">{</mo><mtable rowspacing="0.36em" columnalign="left left" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>p</mi><mrow><mo fence="true">(</mo><mi>p</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><msubsup><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mfrac><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>+</mo><mi>p</mi><mo>−</mo><mn>2</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow><mrow><msup><mi>s</mi><mrow><mi>ν</mi><mo>+</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mi>s</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>l</mi><mo>∈</mo><mn>0</mn><mtext> </mtext><mi mathvariant="normal">.</mi><mi mathvariant="normal">.</mi><mi>p</mi><mo>−</mo><mn>1</mn><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>p</mi><mo stretchy="false">!</mo><mrow><mo fence="true">(</mo><mi>p</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo>+</mo><mi>p</mi><mrow><mo fence="true">(</mo><mi>p</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><msubsup><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>2</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mfrac><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>+</mo><mi>p</mi><mo>−</mo><mn>2</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow><mrow><msup><mi>s</mi><mrow><mi>ν</mi><mo>+</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mi>s</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>l</mi><mo>=</mo><mi>p</mi><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><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/><mstyle scriptlevel="0" displaystyle="false"><mrow><mfrac><mrow><mi>l</mi><mo stretchy="false">!</mo></mrow><mrow><msup><mrow><mo fence="true">(</mo><mi>l</mi><mo>−</mo><mi>p</mi><mo fence="true">)</mo></mrow><mrow><mi>ν</mi><mo>+</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mi>l</mi><mo>−</mo><mi>p</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mo>−</mo><mfrac><mrow><mi>l</mi><mo stretchy="false">!</mo><mrow><mo fence="true">(</mo><mn>2</mn><mi>p</mi><mo>−</mo><mi>l</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow><mrow><msup><mrow><mo fence="true">(</mo><mi>l</mi><mo>−</mo><mi>p</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>ν</mi><mo>+</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mi>l</mi><mo>−</mo><mi>p</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac></mrow></mstyle></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mspace width="2em"/><mstyle scriptlevel="0" displaystyle="false"><mrow><mrow/><mo>+</mo><mi>p</mi><mrow><mo fence="true">(</mo><mi>p</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><msubsup><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mi>l</mi><mo>−</mo><mi>p</mi><mo>+</mo><mn>2</mn></mrow><mi mathvariant="normal">∞</mi></msubsup><mfrac><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>+</mo><mi>p</mi><mo>−</mo><mn>2</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow><mrow><msup><mi>s</mi><mrow><mi>ν</mi><mo>+</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mi>s</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mo separator="true">,</mo></mrow></mstyle></mrow></mstyle></mtd></mtr></mtable></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>l</mi><mo>∈</mo><mi>p</mi><mo>+</mo><mn>1</mn><mo>…</mo><mi mathvariant="normal">∞</mi></mrow></mstyle></mtd></mtr></mtable></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><mtable rowspacing="0.36em" columnalign="left left" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>p</mi><mrow><mo fence="true">(</mo><mi>p</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mo fence="true">(</mo><mrow><mo fence="true">(</mo><mi>p</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo><mo>+</mo><msub><mi>S</mi><mrow><mi>ν</mi><mo separator="true">,</mo><mi>p</mi></mrow></msub><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>l</mi><mo>∈</mo><mn>0</mn><mtext> </mtext><mi mathvariant="normal">.</mi><mi mathvariant="normal">.</mi><mi>p</mi><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><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/><mstyle scriptlevel="0" displaystyle="false"><mrow><mfrac><mrow><mi>l</mi><mo stretchy="false">!</mo></mrow><mrow><msup><mrow><mo fence="true">(</mo><mi>l</mi><mo>−</mo><mi>p</mi><mo fence="true">)</mo></mrow><mrow><mi>ν</mi><mo>+</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mi>l</mi><mo>−</mo><mi>p</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mo>−</mo><mfrac><mrow><mi>l</mi><mo stretchy="false">!</mo><mrow><mo fence="true">(</mo><mn>2</mn><mi>p</mi><mo>−</mo><mi>l</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow><mrow><msup><mrow><mo fence="true">(</mo><mi>l</mi><mo>−</mo><mi>p</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mi>ν</mi><mo>+</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mi>l</mi><mo>−</mo><mi>p</mi><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac></mrow></mstyle></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mspace width="2em"/><mstyle scriptlevel="0" displaystyle="false"><mrow><mrow/><mo>+</mo><mi>p</mi><mrow><mo fence="true">(</mo><mi>p</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mrow><mo fence="true">(</mo><msub><mi>S</mi><mrow><mi>ν</mi><mo separator="true">,</mo><mi>p</mi></mrow></msub><mo>−</mo><msubsup><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>2</mn></mrow><mrow><mi>l</mi><mo>−</mo><mi>p</mi><mo>+</mo><mn>2</mn></mrow></msubsup><mfrac><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>+</mo><mi>p</mi><mo>−</mo><mn>2</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow><mrow><msup><mi>s</mi><mrow><mi>ν</mi><mo>+</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mi>s</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow></mfrac><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mrow></mstyle></mtd></mtr></mtable></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>l</mi><mo>∈</mo><mi>p</mi><mo>+</mo><mn>1</mn><mo>…</mo><mi mathvariant="normal">∞</mi><mo separator="true">,</mo></mrow></mstyle></mtd></mtr></mtable></mrow></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
D_{\nu,p,l}&amp;=\begin{cases}
p\left(p-1\right)\sum_{s=1}^\infty\frac{\left(s+p-2\right)!}{s^{\nu+1}\left(s-1\right)!},
&amp;l\in0\,..p-1,\\
p!\left(p-1\right)+p\left(p-1\right)
\sum_{s=2}^\infty\frac{\left(s+p-2\right)!}{s^{\nu+1}\left(s-1\right)!},
&amp;l=p,\\
\begin{split}
&amp;\textstyle{\frac{l!}{\left(l-p\right)^{\nu+1}\left(l-p-1\right)!}
-\frac{l!\left(2p-l-1\right)}{\left(l-p+1\right)^{\nu+1}\left(l-p\right)!}}\\
&amp;\qquad\textstyle{ {}+p\left(p-1\right)\sum_{s=l-p+2}^\infty\frac{\left(s+p-2\right)!}{s^{\nu+1}\left(s-1\right)!},}
\end{split}
&amp;l\in p+1\ldots\infty
\end{cases}\\
&amp;=\begin{cases}
p\left(p-1\right)\left(\left(p-1\right)!+S_{\nu,p}\right),&amp;
l\in0\,..p,\\
\begin{split}
&amp;\textstyle{\frac{l!}{\left(l-p\right)^{\nu+1}\left(l-p-1\right)!}
-\frac{l!\left(2p-l-1\right)}{\left(l-p+1\right)^{\nu+1}\left(l-p\right)!}}\\
&amp;\qquad\textstyle{ {}+p\left(p-1\right)\left(S_{\nu,p}-\sum_{s=2}^{l-p+2}\frac{\left(s+p-2\right)!}{s^{\nu+1}\left(s-1\right)!}\right),}
\end{split}
&amp;l\in p+1\ldots\infty,
\end{cases}
\end{align*}</annotation></semantics></math></span></span></span>
where the infinite sum <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><mrow><mi>ν</mi><mo separator="true">,</mo><mi>p</mi></mrow></msub><mo><mi mathvariant="normal">≔</mi></mo><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>2</mn></mrow><mi mathvariant="normal">∞</mi></munderover><mfrac><mrow><mrow><mo fence="true">(</mo><mi>s</mi><mo>+</mo><mi>p</mi><mo>−</mo><mn>2</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo></mrow><mrow><msup><mi>s</mi><mrow><mi>ν</mi><mo>+</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mi>s</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">S_{\nu,p}\coloneqq\sum_{s=2}^\infty\frac{\left(s+p-2\right)!}{s^{\nu+1}\left(s-1\right)!}.</annotation></semantics></math></span></span></span> There is no closed form for <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>S</mi><mrow><mi>ν</mi><mo separator="true">,</mo><mi>p</mi></mrow></msub></mrow><annotation encoding="application/x-tex">S_{\nu,p}</annotation></semantics></math></span></span>, but we may express it in terms of <a href="https://en.wikipedia.org/wiki/Stirling_numbers_of_the_first_kind" target="_blank" rel="external">Stirling numbers of the first kind</a> and the <a href="https://en.wikipedia.org/wiki/Riemann_zeta_function" target="_blank" rel="external">Riemann <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">\zeta</annotation></semantics></math></span></span> function</a>. For <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><mtext> </mtext><mi mathvariant="normal">.</mi><mi mathvariant="normal">.</mi><mi>ν</mi></mrow><annotation encoding="application/x-tex">p\in1\,..\nu</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><mtable rowspacing="0.25em" columnalign="right left" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><msub><mi>S</mi><mrow><mi>ν</mi><mo separator="true">,</mo><mi>p</mi></mrow></msub></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mo>−</mo><mrow><mo fence="true">(</mo><mi>p</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo><mo>+</mo><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mi mathvariant="normal">∞</mi></munderover><mfrac><mrow><mi>s</mi><mrow><mo fence="true">(</mo><mi>s</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo>⋯</mo><mrow><mo fence="true">(</mo><mi>s</mi><mo>+</mo><mi>p</mi><mo>−</mo><mn>2</mn><mo fence="true">)</mo></mrow></mrow><msup><mi>s</mi><mrow><mi>ν</mi><mo>+</mo><mn>1</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><mo>−</mo><mrow><mo fence="true">(</mo><mi>p</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo><mo>+</mo><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mi mathvariant="normal">∞</mi></munderover><mfrac><mn>1</mn><msup><mi>s</mi><mrow><mi>ν</mi><mo>+</mo><mn>1</mn></mrow></msup></mfrac><munderover><mo>∑</mo><mrow><mi>λ</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>p</mi><mo>−</mo><mn>1</mn></mrow></munderover><mrow><mo fence="true">[</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>p</mi><mo>−</mo><mn>1</mn></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>λ</mi></mstyle></mtd></mtr></mtable><mo fence="true">]</mo></mrow><msup><mi>s</mi><mi>λ</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><mo>−</mo><mrow><mo fence="true">(</mo><mi>p</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo stretchy="false">!</mo><mo>+</mo><munderover><mo>∑</mo><mrow><mi>λ</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>p</mi><mo>−</mo><mn>1</mn></mrow></munderover><mrow><mo fence="true">[</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>p</mi><mo>−</mo><mn>1</mn></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mi>λ</mi></mstyle></mtd></mtr></mtable><mo fence="true">]</mo></mrow><mi>ζ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>ν</mi><mo>−</mo><mi>λ</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
S_{\nu,p}&amp;=-\left(p-1\right)!+\sum_{s=1}^\infty\frac{s\left(s+1\right)\cdots\left(s+p-2\right)}{s^{\nu+1}}\\
&amp;=-\left(p-1\right)!+\sum_{s=1}^\infty\frac1{s^{\nu+1}}\sum_{\lambda=0}^{p-1}\begin{bmatrix}p-1\\\lambda\end{bmatrix}s^\lambda\\
&amp;=-\left(p-1\right)!+\sum_{\lambda=0}^{p-1}\begin{bmatrix}p-1\\\lambda\end{bmatrix}\zeta\!\left(\nu-\lambda+1\right),
\end{align*}</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><mo fence="true">[</mo><mtable rowspacing="0.16em" columnalign="center" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mo lspace="0em" rspace="0em">⋅</mo></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mo lspace="0em" rspace="0em">⋅</mo></mstyle></mtd></mtr></mtable><mo fence="true">]</mo></mrow><annotation encoding="application/x-tex">\begin{bmatrix}\cdot\\\cdot\end{bmatrix}</annotation></semantics></math></span></span> denotes (unsigned) Stirling numbers of the first kind. For <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>p</mi><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">p=0</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><mtable rowspacing="0.25em" columnalign="right left" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><msub><mi>S</mi><mrow><mi>ν</mi><mo separator="true">,</mo><mn>0</mn></mrow></msub></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>2</mn></mrow><mi mathvariant="normal">∞</mi></munderover><mfrac><mn>1</mn><mrow><msup><mi>s</mi><mrow><mi>ν</mi><mo>+</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mi>s</mi><mo>−</mo><mn>1</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>s</mi><mo>=</mo><mn>2</mn></mrow><mi mathvariant="normal">∞</mi></munderover><mfrac><mn>1</mn><mrow><msup><mi>s</mi><mrow><mi>ν</mi><mo>+</mo><mn>1</mn></mrow></msup><mrow><mo fence="true">(</mo><mi>s</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow></mfrac><mo>−</mo><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>2</mn></mrow><mi mathvariant="normal">∞</mi></munderover><mfrac><mn>1</mn><mrow><mi>s</mi><mrow><mo fence="true">(</mo><mi>s</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow></mfrac><mo>+</mo><mn>1</mn></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo>=</mo><mn>1</mn><mo>−</mo><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>2</mn></mrow><mi mathvariant="normal">∞</mi></munderover><mfrac><mn>1</mn><msup><mi>s</mi><mrow><mi>ν</mi><mo>+</mo><mn>1</mn></mrow></msup></mfrac><mfrac><mrow><msup><mi>s</mi><mi>ν</mi></msup><mo>−</mo><mn>1</mn></mrow><mrow><mi>s</mi><mo>−</mo><mn>1</mn></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><mi>ν</mi><mo>+</mo><mn>1</mn><mo>−</mo><munderover><mo>∑</mo><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow><mi mathvariant="normal">∞</mi></munderover><mfrac><mn>1</mn><msup><mi>s</mi><mrow><mi>ν</mi><mo>+</mo><mn>1</mn></mrow></msup></mfrac><munderover><mo>∑</mo><mrow><mi>λ</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>ν</mi><mo>−</mo><mn>1</mn></mrow></munderover><msup><mi>s</mi><mi>λ</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>ν</mi><mo>+</mo><mn>1</mn><mo>−</mo><munderover><mo>∑</mo><mrow><mi>λ</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>ν</mi><mo>−</mo><mn>1</mn></mrow></munderover><mi>ζ</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>ν</mi><mo>−</mo><mi>λ</mi><mo>+</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
S_{\nu,0}
&amp;=\sum_{s=2}^\infty\frac1{s^{\nu+1}\left(s-1\right)}\\
&amp;=\sum_{s=2}^\infty\frac1{s^{\nu+1}\left(s-1\right)}-\sum_{s=2}^\infty\frac1{s\left(s-1\right)}+1\\
&amp;=1-\sum_{s=2}^\infty\frac1{s^{\nu+1}}\frac{s^\nu-1}{s-1}\\
&amp;=\nu+1-\sum_{s=1}^\infty\frac1{s^{\nu+1}}\sum_{\lambda=0}^{\nu-1}s^\lambda\\
&amp;=\nu+1-\sum_{\lambda=0}^{\nu-1}\zeta\!\left(\nu-\lambda+1\right).
\end{align*}</annotation></semantics></math></span></span></span></p>
<p>Then, the following steps will be extremely tedious, and I doubt there will be a closed form for our final result, so I will not continue to find the general formula for the moments.</p>
<hr/>
<p>However, we may obtain the first moment (mean) analytically. 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>D</mi><mrow><mn>1</mn><mo separator="true">,</mo><mn>0</mn><mo separator="true">,</mo><mi>l</mi></mrow></msub><mo>=</mo><mrow><mo fence="true">{</mo><mtable rowspacing="0.36em" columnalign="left left" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mo>−</mo><mn>1</mn><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>l</mi><mo>=</mo><mn>0</mn><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mfrac><mn>1</mn><mi>l</mi></mfrac><mo>−</mo><mfrac><mn>1</mn><mrow><mi>l</mi><mo>+</mo><mn>1</mn></mrow></mfrac><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>l</mi><mo>∈</mo><mn>1</mn><mo>…</mo><mi mathvariant="normal">∞</mi><mo separator="true">,</mo></mrow></mstyle></mtd></mtr></mtable></mrow><mspace width="1em"/><msub><mi>D</mi><mrow><mn>1</mn><mo separator="true">,</mo><mn>1</mn><mo separator="true">,</mo><mi>l</mi></mrow></msub><mo>=</mo><mrow><mo fence="true">{</mo><mtable rowspacing="0.36em" columnalign="left left" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>0</mn><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>l</mi><mo>=</mo><mn>0</mn><mo separator="true">,</mo><mn>1</mn><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mfrac><mn>1</mn><mi>l</mi></mfrac><mo>+</mo><mfrac><mn>1</mn><mrow><mi>l</mi><mo>−</mo><mn>1</mn></mrow></mfrac><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>l</mi><mo>∈</mo><mn>2</mn><mo>…</mo><mi mathvariant="normal">∞</mi><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable></mrow></mrow><annotation encoding="application/x-tex">D_{1,0,l}=\begin{cases}-1,&amp;l=0,\\\frac1l-\frac1{l+1},&amp;l\in1\ldots\infty,\end{cases}
\quad D_{1,1,l}=\begin{cases}0,&amp;l=0,1,\\\frac1l+\frac1{l-1},&amp;l\in2\ldots\infty.\end{cases}</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><mtable rowspacing="0.25em" columnalign="right left" columnspacing="0em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><msub><mi>μ</mi><mn>1</mn></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo fence="true">)</mo></mrow></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mo><mi mathvariant="normal">≔</mi></mo><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><mi>κ</mi><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>κ</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><mi>y</mi><mo>+</mo><mi>y</mi><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><mi>κ</mi><mi>g</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>κ</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><mfrac><mrow><mi mathvariant="normal">li</mi><mo>⁡</mo><mi>y</mi><mo>−</mo><mi>ln</mi><mo>⁡</mo><mo stretchy="false">(</mo><mo>−</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo stretchy="false">)</mo><mo>−</mo><mi>γ</mi></mrow><mrow><mi>ln</mi><mo>⁡</mo><mi>y</mi></mrow></mfrac><mo separator="true">,</mo></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
\mu_1\!\left(y\right)
&amp;\coloneqq\int_0^1\kappa f\!\left(y,\kappa\right)\mathrm d\kappa\\
&amp;=y+y\int_0^1\kappa g\!\left(y,\kappa\right)\mathrm d\kappa\\
&amp;=\frac{\operatorname{li}y-\ln(-\ln y)-\gamma}{\ln y},
\end{align*}</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 mathvariant="normal">li</mi><mo>⁡</mo></mrow><annotation encoding="application/x-tex">\operatorname{li}</annotation></semantics></math></span></span> is the <a href="https://en.wikipedia.org/wiki/Logarithmic_integral_function" target="_blank" rel="external">logarithmic integral function</a>, and <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">\gamma</annotation></semantics></math></span></span> is the <a href="https://en.wikipedia.org/wiki/Euler%E2%80%93Mascheroni_constant" target="_blank" rel="external">Euler–Mascheroni constant</a>. The function seems undefined when
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>y</mi><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">y=0</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>y</mi><mo>=</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">y=1</annotation></semantics></math></span></span>, but it has limits at these points: <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>μ</mi><mn>1</mn></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo>→</mo><msup><mn>0</mn><mo>+</mo></msup><mo fence="true">)</mo></mrow><mo>=</mo><mn>0</mn><mo separator="true">,</mo><mspace width="1em"/><msub><mi>μ</mi><mn>1</mn></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo>→</mo><msup><mn>1</mn><mo>−</mo></msup><mo fence="true">)</mo></mrow><mo>=</mo><mn>1</mn><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\mu_1\!\left(y\to0^+\right)=0,\quad\mu_1\!\left(y\to1^-\right)=1,</annotation></semantics></math></span></span></span> which is intuitive. (This function tends to <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> very slowly when <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>y</mi><mo>→</mo><msup><mn>0</mn><mo>+</mo></msup></mrow><annotation encoding="application/x-tex">y\to0^+</annotation></semantics></math></span></span>, so slowly that I almost did not believe that when I did the numerical calculation first.)</p>
<p>The plot:</p>
<figure>
<img src="/assets/images/figures/2022-12-25-combo-probability/mean.png" class="dark-adaptive" alt="The mean value of  vs. "/>

</figure>
<p>We should also be able to find other statistical quantities like the median, the mode, the variance, etc., but they seem do not have closed forms.</p>
<h2 data-label="0.5" id="some-interesting-observations">Some interesting observations</h2>
<p>The probability distribution 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">\kappa</annotation></semantics></math></span></span> seems to tend to be a uniform distribution plus a Dirac <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">\delta</annotation></semantics></math></span></span> distribution when <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 very close 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>. This phenomenon is very visible if we look at the plot of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mo stretchy="false">(</mo><mi>y</mi><mo>=</mo><mn>0.9</mn><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">f(y=0.9,\kappa)</annotation></semantics></math></span></span>.</p>
<p>In other words, the distribution seems like <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><mo stretchy="false">(</mo><mi>y</mi><mo>≈</mo><mn>1</mn><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo>≈</mo><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi>U</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mfrac><mn>1</mn><mn>2</mn></mfrac><mo separator="true">,</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo>+</mo><mi>y</mi><mi>δ</mi><mo stretchy="false">(</mo><mi>κ</mi><mo>−</mo><mn>1</mn><mo stretchy="false">)</mo><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">f(y\approx1,\kappa)\approx \left(1-y\right)U\!\left(\frac12,1\right)+y\delta(\kappa-1),</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><mo stretchy="false">(</mo><mi>a</mi><mo separator="true">,</mo><mi>b</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">U(a,b)</annotation></semantics></math></span></span> denotes the uniform distribution on the interval <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">[</mo><mi>a</mi><mo separator="true">,</mo><mi>b</mi><mo stretchy="false">]</mo></mrow><annotation encoding="application/x-tex">[a,b]</annotation></semantics></math></span></span>.</p>
<p>This can be justified by expanding <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">f(y,\kappa)</annotation></semantics></math></span></span> in Taylor series of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>1</mn><mo>−</mo><mi>y</mi></mrow><annotation encoding="application/x-tex">1-y</annotation></semantics></math></span></span> and retaining the first-order terms only. Note 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><msup><mi>y</mi><mi>a</mi></msup><msup><mrow><mo fence="true">(</mo><mi>ln</mi><mo>⁡</mo><mi>y</mi><mo fence="true">)</mo></mrow><mi>b</mi></msup><mo>=</mo><msup><mrow><mo fence="true">(</mo><mi>y</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mi>b</mi></msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>+</mo><mrow><mo fence="true">(</mo><mfrac><mi>b</mi><mn>2</mn></mfrac><mo>−</mo><mi>a</mi><mo fence="true">)</mo></mrow><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>y</mi><mo fence="true">)</mo></mrow><mo>+</mo><mo>⋯</mo><mtext> </mtext><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">y^a\left(\ln y\right)^b=
\left(y-1\right)^b\left(1+\left(\frac b2-a\right)\left(1-y\right)+\cdots\right),</annotation></semantics></math></span></span></span> so the only case where the Taylor series has a non-zero first-order term is when <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>b</mi><mo>=</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">b=1</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>b</mi><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">b=0</annotation></semantics></math></span></span>. In Equation <a href="#eq:eq-f">30</a>, we can see that the power on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>ln</mi><mo>⁡</mo><mi>y</mi></mrow><annotation encoding="application/x-tex">\ln y</annotation></semantics></math></span></span> is at least one for each term (because of the general <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>ln</mi><mo>⁡</mo><mi>y</mi></mrow><annotation encoding="application/x-tex">\ln y</annotation></semantics></math></span></span> factor in front), so only the terms with no <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>ln</mi><mo>⁡</mo><mi>y</mi></mrow><annotation encoding="application/x-tex">\ln y</annotation></semantics></math></span></span> factors but the general one will have a first-order term. In this case, the first order term is proportional to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>y</mi><mo>−</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">y-1</annotation></semantics></math></span></span>, and the proportional coefficient is just the coefficient in the front of the term in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi></mrow><annotation encoding="application/x-tex">f</annotation></semantics></math></span></span>, which is independent 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">\kappa</annotation></semantics></math></span></span> 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">\kappa</annotation></semantics></math></span></span> only appears in the power index of <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>.</p>
<p>Therefore, we may see that only <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>q</mi><mo>=</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">q=1</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>q</mi><mo>=</mo><mn>2</mn></mrow><annotation encoding="application/x-tex">q=2</annotation></semantics></math></span></span> terms have a non-zero first-order term, and they are respectivey <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo>−</mo><mn>2</mn><mrow><mo fence="true">(</mo><mi>y</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">-2\left(y-1\right)</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>2</mn><mrow><mo fence="true">(</mo><mi>y</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">2\left(y-1\right)</annotation></semantics></math></span></span>. This means that when <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 very close 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>, <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><mo stretchy="false">(</mo><mi>y</mi><mo>≈</mo><mn>1</mn><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo>≈</mo><mrow><mo fence="true">{</mo><mtable rowspacing="0.36em" columnalign="left left" columnspacing="1em"><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>2</mn><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mi>y</mi><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>κ</mi><mo>∈</mo><mrow><mo fence="true">(</mo><mfrac><mn>1</mn><mn>2</mn></mfrac><mo separator="true">,</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo separator="true">,</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mn>0</mn><mo separator="true">,</mo></mrow></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="false"><mrow><mi>κ</mi><mo>∈</mo><mrow><mo fence="true">(</mo><mn>0</mn><mo separator="true">,</mo><mfrac><mn>1</mn><mn>2</mn></mfrac><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable></mrow></mrow><annotation encoding="application/x-tex">f(y\approx 1,\kappa)\approx\begin{cases}
2\left(1-y\right),&amp;\kappa\in\left(\frac12,1\right),\\
0,&amp;\kappa\in\left(0,\frac12\right).
\end{cases}</annotation></semantics></math></span></span></span> This is exactly the uniform distribution.</p>
<p>There is an intuitive way to explain the appearance of the uniform distribution. When <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 very close 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>, the probability of getting one combo break (<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>1</mn><mo>−</mo><mi>Y</mi></mrow><annotation encoding="application/x-tex">1-Y</annotation></semantics></math></span></span>) is already very small, so it is very unlikely that there are two or more combo breaks. Assuming there is only one combo break and it may appear anywhere with equal probability. The combo break will cut the string of notes into two pieces, and the length of the larger piece is the max combo, which is uniformly distributed between half note count and full note count.</p>
<hr/>
<p>Every rhythm game player knows: never celebrate too early. You never know whether you will miss near the end. It is then interesting to know what is the probability of getting almost a full combo, i.e. what is the probability of getting <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">\kappa</annotation></semantics></math></span></span> very close 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>.</p>
<p>If we find the limit of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">f(y,\kappa)</annotation></semantics></math></span></span> as <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>→</mo><msup><mn>1</mn><mo>−</mo></msup></mrow><annotation encoding="application/x-tex">\kappa\to1^-</annotation></semantics></math></span></span>, it 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><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo>→</mo><msup><mn>1</mn><mo>−</mo></msup><mo fence="true">)</mo></mrow><mo>=</mo><mo>−</mo><mn>2</mn><mi>y</mi><mi>ln</mi><mo>⁡</mo><mi>y</mi><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">f\!\left(y,\kappa\to1^-\right)=-2y\ln y.</annotation></semantics></math></span></span></span> There is a peak of this probability density at <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 mathvariant="normal">e</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup></mrow><annotation encoding="application/x-tex">y=\mathrm e^{-1}</annotation></semantics></math></span></span>. Therefore, when <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 mathvariant="normal">e</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup></mrow><annotation encoding="application/x-tex">y=\mathrm e^{-1}</annotation></semantics></math></span></span>, the probability of getting <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">\kappa</annotation></semantics></math></span></span> very close 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> is the largest.</p>
<p>When does <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 mathvariant="normal">e</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup></mrow><annotation encoding="application/x-tex">y=\mathrm e^{-1}</annotation></semantics></math></span></span>, then? 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><mi>y</mi><mo>=</mo><msup><mi>Y</mi><mi>n</mi></msup><mo>=</mo><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><mfrac><msub><mi>n</mi><mi mathvariant="normal">b</mi></msub><mi>n</mi></mfrac><mo fence="true">)</mo></mrow><mi>n</mi></msup><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">y=Y^n=\left(1-\frac{n_\mathrm b}n\right)^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><msub><mi>n</mi><mi mathvariant="normal">b</mi></msub></mrow><annotation encoding="application/x-tex">n_\mathrm b</annotation></semantics></math></span></span> is the average number of combo breaks, then it tends to <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><msub><mi>n</mi><mi mathvariant="normal">b</mi></msub></mrow></msup></mrow><annotation encoding="application/x-tex">\mathrm e^{-n_\mathrm b}</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>→</mo><mi mathvariant="normal">∞</mi></mrow><annotation encoding="application/x-tex">n\to\infty</annotation></semantics></math></span></span>. Therefore, the probability of getting almost a full combo is the highest when your average number of combo breaks is exactly one.</p>
<hr/>
<p>From the plot, it seems that the probability of getting <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">\kappa</annotation></semantics></math></span></span> a little bit higher than <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mfrac><mn>1</mn><mn>2</mn></mfrac></mrow><annotation encoding="application/x-tex">\frac12</annotation></semantics></math></span></span> is always higher than the probability of getting <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">\kappa</annotation></semantics></math></span></span> a little bit lower than <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mfrac><mn>1</mn><mn>2</mn></mfrac></mrow><annotation encoding="application/x-tex">\frac12</annotation></semantics></math></span></span>. According to Equation <a href="#eq:eq-discontinuity">28</a>, the jump in <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">f(y,\kappa)</annotation></semantics></math></span></span> at <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>=</mo><mfrac><mn>1</mn><mn>2</mn></mfrac></mrow><annotation encoding="application/x-tex">\kappa=\frac12</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><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo>→</mo><msup><mfrac><mn>1</mn><mn>2</mn></mfrac><mo>+</mo></msup><mo fence="true">)</mo></mrow><mo>−</mo><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo>→</mo><msup><mfrac><mn>1</mn><mn>2</mn></mfrac><mo>−</mo></msup><mo fence="true">)</mo></mrow><mo>=</mo><mo>−</mo><mn>2</mn><mi>y</mi><mi>ln</mi><mo>⁡</mo><mi>y</mi><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">f\!\left(y,\kappa\to\frac12^+\right)-f\!\left(y,\kappa\to\frac12^-\right)=-2y\ln y.</annotation></semantics></math></span></span></span> Interestingly, this coincides with <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>y</mi><mo separator="true">,</mo><mi>κ</mi><mo>→</mo><msup><mn>1</mn><mo>−</mo></msup><mo fence="true">)</mo></mrow></mrow><annotation encoding="application/x-tex">f\!\left(y,\kappa\to1^-\right)</annotation></semantics></math></span></span>.</p>
<hr/>
<p>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>y</mi><mn>0</mn></msub><mo stretchy="false">(</mo><mi>κ</mi><mo stretchy="false">)</mo><mo><mi mathvariant="normal">≔</mi></mo><msub><mo><mrow><mi mathvariant="normal">a</mi><mi mathvariant="normal">r</mi><mi mathvariant="normal">g</mi><mtext> </mtext><mi mathvariant="normal">m</mi><mi mathvariant="normal">a</mi><mi mathvariant="normal">x</mi></mrow></mo><mrow><mi>y</mi><mo>∈</mo><mo stretchy="false">[</mo><mn>0</mn><mo separator="true">,</mo><mn>1</mn><mo stretchy="false">]</mo></mrow></msub><mtext> </mtext><mi>f</mi><mo stretchy="false">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo stretchy="false">)</mo><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">y_0(\kappa)\coloneqq\mathop{\mathrm{arg\,max}}_{y\in[0,1]}\,f(y,\kappa),</annotation></semantics></math></span></span></span> and then it seems that <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>y</mi><mn>0</mn></msub><mo>:</mo><mo stretchy="false">[</mo><mn>0</mn><mo separator="true">,</mo><mn>1</mn><mo stretchy="false">]</mo><mo>→</mo><mo stretchy="false">[</mo><mn>0</mn><mo separator="true">,</mo><mn>1</mn><mo stretchy="false">]</mo></mrow><annotation encoding="application/x-tex">y_0:[0,1]\to[0,1]</annotation></semantics></math></span></span> is injective but not surjective. It is strictly increasing, and there is a jump at <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>=</mo><mfrac><mn>1</mn><mn>2</mn></mfrac></mrow><annotation encoding="application/x-tex">\kappa=\frac12</annotation></semantics></math></span></span> and at <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>κ</mi><mo>=</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">\kappa=1</annotation></semantics></math></span></span>.</p>
<p>It has an elementary expression on <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo fence="true">[</mo><mfrac><mn>1</mn><mn>2</mn></mfrac><mo separator="true">,</mo><mn>1</mn><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left[\frac12,1\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><msub><mi>y</mi><mn>0</mn></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>κ</mi><mo>∈</mo><mrow><mo fence="true">[</mo><mfrac><mn>1</mn><mn>2</mn></mfrac><mo separator="true">,</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo>=</mo><mi>exp</mi><mo>⁡</mo><mfrac><mrow><mo>−</mo><mn>2</mn><mi>κ</mi><mo>+</mo><mn>1</mn><mo>+</mo><msqrt><mrow><mn>2</mn><msup><mi>κ</mi><mn>2</mn></msup><mo>−</mo><mn>2</mn><mi>κ</mi><mo>+</mo><mn>1</mn></mrow></msqrt></mrow><mrow><mi>κ</mi><mrow><mo fence="true">(</mo><mi>κ</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow></mrow></mfrac><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">y_0\!\left(\kappa\in\left[\frac12,1\right)\right)
=\exp\frac{-2\kappa+1+\sqrt{2\kappa^2-2\kappa+1}}{\kappa\left(\kappa-1\right)}.</annotation></semantics></math></span></span></span></p>
<h2 data-label="0.6" id="some-applications">Some applications</h2>
<p>In <a href="https://pigeon-games.com" target="_blank" rel="external">Phigros</a>, one should combo at least <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>60</mn><mi mathvariant="normal">%</mi></mrow><annotation encoding="application/x-tex">60\%</annotation></semantics></math></span></span> of the notes to get a white V (<img src="https://static.wikia.nocookie.net/phigros/images/0/0a/White_v_icon_.png" width="16" alt="white V"/>) rank. If on average I have one combo break in a chart, which has <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>1300</mn></mrow><annotation encoding="application/x-tex">1300</annotation></semantics></math></span></span> notes, what is the probability of comboing at least <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>60</mn><mi mathvariant="normal">%</mi></mrow><annotation encoding="application/x-tex">60\%</annotation></semantics></math></span></span> of the notes in the chart?</p>
<p class="no-indent">
<em>Solution.</em> The success rate 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><mi>Y</mi><mo>=</mo><mfrac><mrow><mn>1300</mn><mo>−</mo><mn>1</mn></mrow><mn>1300</mn></mfrac><mo separator="true">,</mo><mspace width="1em"/><mi>y</mi><mo>=</mo><msup><mi>Y</mi><mn>1300</mn></msup><mo>≈</mo><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">Y=\frac{1300-1}{1300},\quad y=Y^{1300}\approx\mathrm e^{-1}.</annotation></semantics></math></span></span></span> The probability of comboing more than <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>60</mn><mspace linebreak="newline"/></mrow><annotation encoding="application/x-tex">60\\%</annotation></semantics></math></span></span> of the notes is <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><mtext> </mtext></mphantom><msubsup><mo>∫</mo><mrow><mn>60</mn><mi mathvariant="normal">%</mi></mrow><mn>1</mn></msubsup><mi>f</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>y</mi><mo separator="true">,</mo><mi>κ</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>κ</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><mi>y</mi><mo>+</mo><msubsup><mo>∫</mo><mn>0.6</mn><mn>1</mn></msubsup><mo>−</mo><msup><mi>y</mi><mi>κ</mi></msup><mi>ln</mi><mo>⁡</mo><mi>y</mi><mrow><mo fence="true">(</mo><mn>2</mn><mo>+</mo><mi>ln</mi><mo>⁡</mo><msup><mi>y</mi><mrow><mi>κ</mi><mo>−</mo><mn>1</mn></mrow></msup><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>κ</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><mn>1</mn></mrow></msup><mo>+</mo><msubsup><mo>∫</mo><mn>0.6</mn><mn>1</mn></msubsup><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mi>κ</mi></mrow></msup><mrow><mo fence="true">(</mo><mn>3</mn><mo>−</mo><mi>κ</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">d</mi><mi>κ</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><mfrac><mn>7</mn><mn>5</mn></mfrac><msup><mi mathvariant="normal">e</mi><mrow><mo>−</mo><mfrac><mn>3</mn><mn>5</mn></mfrac></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><mn>0.768.</mn></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
&amp;\phantom{=~}\int_{60\%}^1f\!\left(y,\kappa\right)\mathrm d\kappa\\
&amp;=y+\int_{0.6}^1-y^\kappa\ln y\left(2+\ln y^{\kappa-1}\right)\mathrm d\kappa\\
&amp;\approx\mathrm e^{-1}+\int_{0.6}^1\mathrm e^{-\kappa}\left(3-\kappa\right)\mathrm d\kappa\\
&amp;=\frac75\mathrm e^{-\frac35}\\
&amp;\approx0.768.
\end{align*}</annotation></semantics></math></span></span></span>
</p>
<hr/>
<p>Oh, my god! It is hard to come up with application problems. I hope readers find out the applications themselves.</p>]]></content><author><name>UlyssesZhan</name><email>ulysseszhan@gmail.com</email></author><category term="math" /><category term="long paper" /><category term="rhythm game" /><category term="algorithm" /><category term="probability" /><category term="stochastic process" /><summary type="html"><![CDATA[Given your probability of breaking the combo at each note, what is the probability distribution of your max combo in the rhythm game chart? I considered the problem seriously!]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://ulysseszh.github.io/assets/images/covers/2022-12-25-combo-probability.png" /><media:content medium="image" url="https://ulysseszh.github.io/assets/images/covers/2022-12-25-combo-probability.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry></feed>