<?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/economics.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/economics.xml</id><title type="html"><![CDATA[Ulysses’ trip | Economics]]></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[Free trade (single good case)]]></title><link href="https://ulysseszh.github.io/economics/2023/05/01/free-trade.html" rel="alternate" type="text/html" title="Free trade (single good case)" /><published>2023-05-01T17:10:11-07:00</published><updated>2023-05-01T17:10:11-07:00</updated><id>https://ulysseszh.github.io/economics/2023/05/01/free-trade</id><content type="html" xml:base="https://ulysseszh.github.io/economics/2023/05/01/free-trade.html"><![CDATA[<p>
  <em>This article is translated from a Chinese <a href="https://zhuanlan.zhihu.com/p/424773907" target="_blank" rel="external">article</a> on my Zhihu account. The original article was posted at 2021-04-26 14:27 +0800.</em>
</p>
<hr/>
<h2 data-label="0.1" id="the-general-model">The general model</h2>
<p>The model is as follows. 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> agents (nations), they can trade some type of good, and they use the same currency. Every agent may produce or consume the good. The benefit function of the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>j</mi></mrow><annotation encoding="application/x-tex">j</annotation></semantics></math></span></span>th agent is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>B</mi><mi>j</mi></msub></mrow><annotation encoding="application/x-tex">B_j</annotation></semantics></math></span></span>, and the cost function is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>C</mi><mi>j</mi></msub></mrow><annotation encoding="application/x-tex">C_j</annotation></semantics></math></span></span>. The amount of export from the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>j</mi></mrow><annotation encoding="application/x-tex">j</annotation></semantics></math></span></span>th agent to 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>th agent is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>T</mi><mrow><mi>j</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub></mrow><annotation encoding="application/x-tex">T_{j,k}</annotation></semantics></math></span></span>. The amount of trade cost by the <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>j</mi></mrow><annotation encoding="application/x-tex">j</annotation></semantics></math></span></span>th agent is <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>S</mi><mi>j</mi></msub></mrow><annotation encoding="application/x-tex">S_j</annotation></semantics></math></span></span>. Now, we want to find the amount <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>Q</mi><mi>j</mi></msub></mrow><annotation encoding="application/x-tex">Q_j</annotation></semantics></math></span></span> that every agent produce and the amount <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>T</mi><mrow><mi>j</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub></mrow><annotation encoding="application/x-tex">T_{j,k}</annotation></semantics></math></span></span> that every agent import from other agents. Assume 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 only related to <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 does not depend on
<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>. Also, assume that there is no externality (i.e. whenever <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>j</mi><mo mathvariant="normal">≠</mo><mi>k</mi></mrow><annotation encoding="application/x-tex">j\ne k</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 mathvariant="normal">∂</mi><mi>k</mi></msub><msub><mi>B</mi><mi>j</mi></msub><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">\partial_kB_j=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><mi>k</mi></msub><msub><mi>C</mi><mi>j</mi></msub><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">\partial_kC_j=0</annotation></semantics></math></span></span>). Also, assume that every agent is rational and with perfect information.</p>
<p>Now, consider the profit <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi mathvariant="normal">Π</mi><mi>j</mi></msub></mrow><annotation encoding="application/x-tex">\Pi_j</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>j</mi></mrow><annotation encoding="application/x-tex">j</annotation></semantics></math></span></span>th agent. Subtract the cost from the benefit, 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><mstyle scriptlevel="0" displaystyle="false"><msub><mi mathvariant="normal">Π</mi><mi>j</mi></msub><mo>=</mo><msub><mi>B</mi><mi>j</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>Q</mi><mi>j</mi></msub><mo>+</mo><msub><mo>∑</mo><mi>k</mi></msub><msub><mi>T</mi><mrow><mi>j</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo fence="true">)</mo></mrow><mo>−</mo><msub><mi>C</mi><mi>j</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>Q</mi><mi>j</mi></msub><mo fence="true">)</mo></mrow><mo>−</mo><msub><mi>S</mi><mi>j</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>T</mi><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mstyle></mrow><annotation encoding="application/x-tex">\textstyle
\Pi_j=B_j\!\left(Q_j+\sum_kT_{j,k}\right)-C_j\!\left(Q_j\right)-S_j\!\left(T\right).</annotation></semantics></math></span></span></span> According to the fundamental theorem of welfare economics, <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 <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 Pareto optimal under market equilibrium. We assume that this case happens at the stationary point of the social benefit, and the social benefit is the sum of the profit of every agent. We can then get the equations
<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/><mn>0</mn><mo>=</mo><mfrac><mi mathvariant="normal">∂</mi><mrow><mi mathvariant="normal">∂</mi><msub><mi>Q</mi><mi>l</mi></msub></mrow></mfrac><munder><mo>∑</mo><mi>j</mi></munder><msub><mi mathvariant="normal">Π</mi><mi>j</mi></msub><mo>=</mo><msubsup><mi>B</mi><mi>l</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>Q</mi><mi>l</mi></msub><mo>+</mo><munder><mo>∑</mo><mi>k</mi></munder><msub><mi>T</mi><mrow><mi>l</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo fence="true">)</mo></mrow><mo>−</mo><msubsup><mi>C</mi><mi>l</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>Q</mi><mi>l</mi></msub><mo fence="true">)</mo></mrow><mo separator="true">,</mo><mspace width="1em"/><mi mathvariant="normal">∀</mi><mi>l</mi><mo separator="true">;</mo></mrow></mstyle></mtd></mtr><mtr><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow/></mstyle></mtd><mtd><mstyle scriptlevel="0" displaystyle="true"><mrow><mrow/><mn>0</mn><mo>=</mo><mfrac><mi mathvariant="normal">∂</mi><mrow><mi mathvariant="normal">∂</mi><msub><mi>T</mi><mrow><mi>l</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub></mrow></mfrac><munder><mo>∑</mo><mi>j</mi></munder><msub><mi mathvariant="normal">Π</mi><mi>j</mi></msub><mo>=</mo><msubsup><mi>B</mi><mi>l</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>Q</mi><mi>l</mi></msub><mo>+</mo><munder><mo>∑</mo><mi>k</mi></munder><msub><mi>T</mi><mrow><mi>l</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo fence="true">)</mo></mrow><mo>−</mo><msubsup><mi>B</mi><mi>m</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msubsup><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>Q</mi><mi>m</mi></msub><mo>+</mo><munder><mo>∑</mo><mi>k</mi></munder><msub><mi>T</mi><mrow><mi>m</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo fence="true">)</mo></mrow><mo>−</mo><munder><mo>∑</mo><mi>j</mi></munder><mfrac><mrow><mi mathvariant="normal">∂</mi><msub><mi>S</mi><mi>j</mi></msub></mrow><mrow><mi mathvariant="normal">∂</mi><msub><mi>T</mi><mrow><mi>l</mi><mo separator="true">,</mo><mi>m</mi></mrow></msub></mrow></mfrac><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>T</mi><mo fence="true">)</mo></mrow><mo separator="true">,</mo><mspace width="1em"/><mi mathvariant="normal">∀</mi><mi>l</mi><mo>&lt;</mo><mi>m</mi><mi mathvariant="normal">.</mi></mrow></mstyle></mtd></mtr></mtable><annotation encoding="application/x-tex">\begin{align*}
&amp;0=\frac{\partial}{\partial Q_l}\sum_j\Pi_j
=B_l'\!\left(Q_l+\sum_kT_{l,k}\right)-C_l'\!\left(Q_l\right),\quad\forall l;\\
&amp;0=\frac{\partial}{\partial T_{l,k}}\sum_j\Pi_j
=B_l'\!\left(Q_l+\sum_kT_{l,k}\right)-B_m'\!\left(Q_m+\sum_kT_{m,k}\right)
-\sum_j\frac{\partial S_j}{\partial T_{l,m}}\!\left(T\right),\quad\forall l&lt;m.
\end{align*}</annotation></semantics></math></span></span></span>
Here are <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><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><mn>2</mn></mfrac></mrow><annotation encoding="application/x-tex">n+\frac{n\left(n-1\right)}2</annotation></semantics></math></span></span> equations, and exactly <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 <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> have <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>n</mi><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><mn>2</mn></mfrac></mrow><annotation encoding="application/x-tex">n+\frac{n\left(n-1\right)}2</annotation></semantics></math></span></span> degrees of freedom in total (note that <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 anti-symmetric). In principle, we are able to solve <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 <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>.</p>
<h2 data-label="0.2" id="zero-trade-cost">Zero trade cost</h2>
<p>For the case where there is no trade cost, we can see that the domestic prices are all equal, and the price may be called the world price.</p>
<p>However, given <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>S</mi><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">S=0</annotation></semantics></math></span></span>, the equations above are not independent. Actually, there are only <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>2</mn><mi>n</mi><mo>−</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">2n-1</annotation></semantics></math></span></span> independent equations (all <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>2</mn><mi>n</mi></mrow><annotation encoding="application/x-tex">2n</annotation></semantics></math></span></span> components of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>B</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup></mrow><annotation encoding="application/x-tex">B'</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><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup></mrow><annotation encoding="application/x-tex">C'</annotation></semantics></math></span></span> are equal). This means that, 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><mn>2</mn></mrow><annotation encoding="application/x-tex">n&gt;2</annotation></semantics></math></span></span>, the free trade with zero trade cost is an <strong>indeterminate system</strong>.</p>
<p>This phenomenon looks counter-intuitive, but it is actually understandable: under zero trade cost, every two agents may trade arbitrary amount of goods under the same world price, this provides extra degrees of freedom to the model. To be specific, if <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi>Q</mi><mo separator="true">,</mo><mi>T</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(Q,T)</annotation></semantics></math></span></span> is a solution to the model, then <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi>Q</mi><mo separator="true">,</mo><mi>T</mi><mo>+</mo><mi mathvariant="normal">Δ</mi><mi>T</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(Q,T+\Delta T)</annotation></semantics></math></span></span> is also a solution, where the anti-symmetric matrix <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">Δ</mi><mi>T</mi></mrow><annotation encoding="application/x-tex">\Delta T</annotation></semantics></math></span></span> satisfies <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><munder><mo>∑</mo><mi>k</mi></munder><mi mathvariant="normal">Δ</mi><msub><mi>T</mi><mrow><mi>j</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub><mo>=</mo><mn>0</mn><mo separator="true">,</mo><mspace width="1em"/><mi mathvariant="normal">∀</mi><mi>j</mi><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\sum_k\Delta T_{j,k}=0,\quad\forall j,</annotation></semantics></math></span></span></span> where 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> independent equations 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> equations. Therefore, the total number of degrees of freedom in the solution of the model 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>n</mi><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><mn>2</mn></mfrac><mo>−</mo><mrow><mo fence="true">(</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><mn>2</mn></mfrac><mo>−</mo><mrow><mo fence="true">(</mo><mi>n</mi><mo>−</mo><mn>1</mn><mo fence="true">)</mo></mrow><mo fence="true">)</mo></mrow><mo>=</mo><mn>2</mn><mi>n</mi><mo>−</mo><mn>1.</mn></mrow><annotation encoding="application/x-tex">n+\frac{n\left(n-1\right)}2-\left(\frac{n\left(n-1\right)}2-\left(n-1\right)\right)=2n-1.</annotation></semantics></math></span></span></span> Now, the useful quantities that we can solve is the production and the net-import <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>T</mi><mi>j</mi></msub><mo><mi mathvariant="normal">≔</mi></mo><msub><mo>∑</mo><mi>k</mi></msub><msub><mi>T</mi><mrow><mi>j</mi><mo separator="true">,</mo><mi>k</mi></mrow></msub></mrow><annotation encoding="application/x-tex">T_j\coloneqq\sum_kT_{j,k}</annotation></semantics></math></span></span> of every agent. Note that the net-import actually has only <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> degrees of freedom because of the restriction
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mo>∑</mo><mi>j</mi></msub><msub><mi>T</mi><mi>j</mi></msub><mo>=</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">\sum_jT_j=0</annotation></semantics></math></span></span>.</p>
<h2 data-label="0.3" id="the-middleman-re-exportation">The middleman (re-exportation)</h2>
<p>It is worth pointing out that the existence of the middleman or re-exportation is completely due to the presence of trade cost. Here we consider a simplified problem: there are three agents playing respectively as the producer, the retailer, and the customer. The producer does not consume (the benefit 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>); the customer does not produce (the cost and the marginal cost is infinity); and the retailer does not produce or consume. Assume that the trade between any two of them does not bring cost to the third one. Then, the social benefit 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">Π</mi><mo>=</mo><mi>B</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>T</mi><mrow><mi mathvariant="normal">c</mi><mo separator="true">,</mo><mi mathvariant="normal">r</mi></mrow></msub><mo>+</mo><msub><mi>T</mi><mrow><mi mathvariant="normal">c</mi><mo separator="true">,</mo><mi mathvariant="normal">p</mi></mrow></msub><mo fence="true">)</mo></mrow><mo>−</mo><mi>C</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>T</mi><mrow><mi mathvariant="normal">c</mi><mo separator="true">,</mo><mi mathvariant="normal">p</mi></mrow></msub><mo>+</mo><msub><mi>T</mi><mrow><mi mathvariant="normal">r</mi><mo separator="true">,</mo><mi mathvariant="normal">p</mi></mrow></msub><mo fence="true">)</mo></mrow><mo>−</mo><msub><mi>S</mi><mi mathvariant="normal">c</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>T</mi><mrow><mi mathvariant="normal">c</mi><mo separator="true">,</mo><mi mathvariant="normal">r</mi></mrow></msub><mo separator="true">,</mo><msub><mi>T</mi><mrow><mi mathvariant="normal">c</mi><mo separator="true">,</mo><mi mathvariant="normal">p</mi></mrow></msub><mo fence="true">)</mo></mrow><mo>−</mo><msub><mi>S</mi><mi mathvariant="normal">r</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>T</mi><mrow><mi mathvariant="normal">c</mi><mo separator="true">,</mo><mi mathvariant="normal">r</mi></mrow></msub><mo separator="true">,</mo><msub><mi>T</mi><mrow><mi mathvariant="normal">r</mi><mo separator="true">,</mo><mi mathvariant="normal">p</mi></mrow></msub><mo fence="true">)</mo></mrow><mo>−</mo><msub><mi>S</mi><mi mathvariant="normal">p</mi></msub><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><msub><mi>T</mi><mrow><mi mathvariant="normal">c</mi><mo separator="true">,</mo><mi mathvariant="normal">p</mi></mrow></msub><mo separator="true">,</mo><msub><mi>T</mi><mrow><mi mathvariant="normal">r</mi><mo separator="true">,</mo><mi mathvariant="normal">p</mi></mrow></msub><mo fence="true">)</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\Pi=B\!\left(T_{\mathrm c,\mathrm r}+T_{\mathrm c,\mathrm p}\right)
-C\!\left(T_{\mathrm c,\mathrm p}+T_{\mathrm r,\mathrm p}\right)
-S_\mathrm c\!\left(T_{\mathrm c,\mathrm r},T_{\mathrm c,\mathrm p}\right)
-S_\mathrm r\!\left(T_{\mathrm c,\mathrm r},T_{\mathrm r,\mathrm p}\right)
-S_\mathrm p\!\left(T_{\mathrm c,\mathrm p},T_{\mathrm r,\mathrm p}\right).</annotation></semantics></math></span></span></span></p>]]></content><author><name>UlyssesZhan</name><email>ulysseszhan@gmail.com</email></author><category term="economics" /><category term="global economy" /><category term="from zhihu" /><summary type="html"><![CDATA[I set up a simple model to determine the production and consumption in free trade between nations.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://ulysseszh.github.io/assets/images/covers/2023-05-01-free-trade.png" /><media:content medium="image" url="https://ulysseszh.github.io/assets/images/covers/2023-05-01-free-trade.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html"><![CDATA[The core of a voting system is the intersection of Pareto sets]]></title><link href="https://ulysseszh.github.io/economics/2023/03/25/voting-pareto.html" rel="alternate" type="text/html" title="The core of a voting system is the intersection of Pareto sets" /><published>2023-03-25T23:28:53-07:00</published><updated>2023-03-25T23:28:53-07:00</updated><id>https://ulysseszh.github.io/economics/2023/03/25/voting-pareto</id><content type="html" xml:base="https://ulysseszh.github.io/economics/2023/03/25/voting-pareto.html"><![CDATA[<p>Voting system is a concept in political science. Here I give the mathematical definition of a voting system.</p>
<p>A <dfn>(binary) voting system</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>P</mi><mo separator="true">,</mo><mi>V</mi><mo separator="true">,</mo><mi>q</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(P,V,q)</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></mrow><annotation encoding="application/x-tex">P</annotation></semantics></math></span></span> is any set, called the set of <dfn>proposals</dfn>, 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> is a finite set of preference relations on <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>, called the set of <dfn>voters</dfn>, and <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 an integer between (inclusive) <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><mo fence="true">∣</mo><mi>V</mi><mo fence="true">∣</mo></mrow><annotation encoding="application/x-tex">\left|V\right|</annotation></semantics></math></span></span>, called the <dfn>quota</dfn>.</p>
<p>For each voter <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>v</mi><mo>∈</mo><mi>V</mi></mrow><annotation encoding="application/x-tex">v\in V</annotation></semantics></math></span></span> and two proposals <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><mo>∈</mo><mi>P</mi></mrow><annotation encoding="application/x-tex">x,y\in P</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>v</mi></mrow><annotation encoding="application/x-tex">v</annotation></semantics></math></span></span> prefers <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> to <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 <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>x</mi><msub><mo>⪰</mo><mi>v</mi></msub><mi>y</mi><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">x\succeq_vy.</annotation></semantics></math></span></span></span> A proposal <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></mrow><annotation encoding="application/x-tex">x\in P</annotation></semantics></math></span></span> is a <dfn>defeat</dfn> of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>y</mi><mo>∈</mo><mi>P</mi></mrow><annotation encoding="application/x-tex">y\in P</annotation></semantics></math></span></span> if <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><mrow><mo fence="true">{</mo><mi>v</mi><mo>∈</mo><mi>V</mi><mtext> </mtext><mo fence="true" lspace="0.05em" rspace="0.05em">|</mo><mtext> </mtext><mi>x</mi><msub><mo>⪰</mo><mi>v</mi></msub><mi>y</mi><mo fence="true">}</mo></mrow><mo fence="true">∣</mo></mrow><mo>≥</mo><mi>q</mi><mo separator="true">,</mo></mrow><annotation encoding="application/x-tex">\left|\left\{v\in V\,\middle|\,x\succeq_vy\right\}\right|\geq q,</annotation></semantics></math></span></span></span> denoted as
<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>x</mi><msub><mo>≿</mo><mrow><mi>V</mi><mo separator="true">,</mo><mi>q</mi></mrow></msub><mi>y</mi></mrow><annotation encoding="application/x-tex">x\succsim_{V,q}y</annotation></semantics></math></span></span> (despite this notation, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mo>≿</mo><mrow><mi>V</mi><mo separator="true">,</mo><mi>q</mi></mrow></msub></mrow><annotation encoding="application/x-tex">\succsim_{V,q}</annotation></semantics></math></span></span> is <em>not</em> necessarily a preference relation on <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> because it is not transitive generally, which is actually a well-known example of irrationality).</p>
<p>The <dfn>core</dfn> <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">C</mi><mo stretchy="false">(</mo><mi>P</mi><mo separator="true">,</mo><mi>V</mi><mo separator="true">,</mo><mi>q</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\mathcal C(P,V,q)</annotation></semantics></math></span></span> of the voting system is the set of such element <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></mrow><annotation encoding="application/x-tex">x\in P</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> does not have any defeat other than <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> itself (non-trivial defeat).</p>
<hr/>
<p>Pareto sets are common concepts in economics. To clarify, I also give the mathematical definition of them here.</p>
<p>Let <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> be a set and <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> be a family of preference relations on <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>. Then, <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></mrow><annotation encoding="application/x-tex">x\in P</annotation></semantics></math></span></span> is called a (weak) <dfn><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>-Pareto improvement</dfn> of <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>y</mi><mo>∈</mo><mi>P</mi></mrow><annotation encoding="application/x-tex">y\in P</annotation></semantics></math></span></span> if <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">∀</mi><mi>v</mi><mo>∈</mo><mi>V</mi><mo>:</mo><mi>x</mi><msub><mo>⪰</mo><mi>v</mi></msub><mi>y</mi></mrow><annotation encoding="application/x-tex">\forall v\in V:x\succeq_vy</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><mi>x</mi><msub><mo>≿</mo><mi>Q</mi></msub><mi>y</mi></mrow><annotation encoding="application/x-tex">x\succsim_Qy</annotation></semantics></math></span></span> (despite the notation, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mo>≿</mo><mi>Q</mi></msub></mrow><annotation encoding="application/x-tex">\succsim_Q</annotation></semantics></math></span></span> is <em>not</em> necessarily a preference relation on <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>).</p>
<p>The <dfn>Pareto set</dfn> <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="script">P</mi><mo stretchy="false">(</mo><mi>P</mi><mo separator="true">,</mo><mi>Q</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\mathcal P(P,Q)</annotation></semantics></math></span></span> is the set of all such element <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></mrow><annotation encoding="application/x-tex">x\in P</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> does not have any <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>-Pareto improvement other than <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> itself (non-trivial <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>-Pareto improvement).</p>
<hr/>
<p>Here is the main result. For a voting system <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi>P</mi><mo separator="true">,</mo><mi>V</mi><mo separator="true">,</mo><mi>q</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(P,V,q)</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 mathvariant="script">C</mi><mo stretchy="false">(</mo><mi>P</mi><mo separator="true">,</mo><mi>V</mi><mo separator="true">,</mo><mi>q</mi><mo stretchy="false">)</mo><mo>=</mo><munder><mo>⋂</mo><mrow><mi>Q</mi><mo>⊆</mo><mi>V</mi><mo separator="true">,</mo><mrow><mo fence="true">∣</mo><mi>Q</mi><mo fence="true">∣</mo></mrow><mo>=</mo><mi>q</mi></mrow></munder><mi mathvariant="script">P</mi><mo stretchy="false">(</mo><mi>P</mi><mo separator="true">,</mo><mi>Q</mi><mo stretchy="false">)</mo><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\mathcal C(P,V,q)=\bigcap_{Q\subseteq V,\left|Q\right|=q}\mathcal P(P,Q).</annotation></semantics></math></span></span></span></p>
<p class="no-indent">
<em>Proof.</em> To prove this, we need to show 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></mrow><annotation encoding="application/x-tex">x\in P</annotation></semantics></math></span></span> does not have any non-trivial Pareto improvement for any <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> voters iff <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> does not have any non-trivial defeat.
</p>
<p>To prove the forward direction, suppose 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></mrow><annotation encoding="application/x-tex">x\in P</annotation></semantics></math></span></span> does not have any non-trivial Pareto improvement for any <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> voters. Let <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>y</mi><mo>∈</mo><mi>P</mi></mrow><annotation encoding="application/x-tex">y\in P</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>y</mi><mo mathvariant="normal">≠</mo><mi>x</mi></mrow><annotation encoding="application/x-tex">y\ne x</annotation></semantics></math></span></span>, and the goal is to prove that <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 not a defeat of <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>.</p>
<p>Let <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi>Y</mi><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">{</mo><mi>v</mi><mo>∈</mo><mi>V</mi><mtext> </mtext><mo fence="true" lspace="0.05em" rspace="0.05em">|</mo><mtext> </mtext><mi>y</mi><msub><mo>⪰</mo><mi>v</mi></msub><mi>x</mi><mo fence="true">}</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">Y\coloneqq\left\{v\in V\,\middle|\,y\succeq_vx\right\}.</annotation></semantics></math></span></span></span> Then, <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>y</mi></mrow><annotation encoding="application/x-tex">y</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><mi>Y</mi></mrow><annotation encoding="application/x-tex">Y</annotation></semantics></math></span></span>-Pareto improvement of <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>, so we have <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mrow><mo fence="true">∣</mo><mi>Y</mi><mo fence="true">∣</mo></mrow><mo>&lt;</mo><mi>q</mi></mrow><annotation encoding="application/x-tex">\left|Y\right|&lt;q</annotation></semantics></math></span></span> (because otherwise there is a subset 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> with <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> voters for which <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 Pareto improvement of <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>). Therefore, <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 not a defeat of <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>.</p>
<p>To prove the backward direction, suppose 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></mrow><annotation encoding="application/x-tex">x\in P</annotation></semantics></math></span></span> has a non-trivial <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>-Pareto improvement, where <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>Q</mi><mo>⊆</mo><mi>V</mi></mrow><annotation encoding="application/x-tex">Q\subseteq 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><mrow><mo fence="true">∣</mo><mi>Q</mi><mo fence="true">∣</mo></mrow><mo>=</mo><mi>q</mi></mrow><annotation encoding="application/x-tex">\left|Q\right|=q</annotation></semantics></math></span></span>. Denote the improvement as <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>. Let <span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi>Y</mi><mo><mi mathvariant="normal">≔</mi></mo><mrow><mo fence="true">{</mo><mi>v</mi><mo>∈</mo><mi>V</mi><mtext> </mtext><mo fence="true" lspace="0.05em" rspace="0.05em">|</mo><mtext> </mtext><mi>y</mi><msub><mo>⪰</mo><mi>v</mi></msub><mi>x</mi><mo fence="true">}</mo></mrow><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">Y\coloneqq\left\{v\in V\,\middle|\,y\succeq_vx\right\}.</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>y</mi></mrow><annotation encoding="application/x-tex">y</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><mi>Q</mi></mrow><annotation encoding="application/x-tex">Q</annotation></semantics></math></span></span>-Pareto improvement of <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>, we have <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>Q</mi><mo>⊆</mo><mi>Y</mi></mrow><annotation encoding="application/x-tex">Q\subseteq Y</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><mi>Y</mi><mo fence="true">∣</mo></mrow><mo>≥</mo><mrow><mo fence="true">∣</mo><mi>Q</mi><mo fence="true">∣</mo></mrow><mo>=</mo><mi>q</mi></mrow><annotation encoding="application/x-tex">\left|Y\right|\geq\left|Q\right|=q</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>y</mi></mrow><annotation encoding="application/x-tex">y</annotation></semantics></math></span></span> is a defeat of <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>. <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>
<hr/>
<p>Specially, 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="script">C</mi><mtext> ⁣</mtext><mrow><mo fence="true">(</mo><mi>P</mi><mo separator="true">,</mo><mi>V</mi><mo separator="true">,</mo><mrow><mo fence="true">∣</mo><mi>V</mi><mo fence="true">∣</mo></mrow><mo fence="true">)</mo></mrow><mo>=</mo><mi mathvariant="script">P</mi><mo stretchy="false">(</mo><mi>P</mi><mo separator="true">,</mo><mi>V</mi><mo stretchy="false">)</mo><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">\mathcal C\!\left(P,V,\left|V\right|\right)=\mathcal P(P,V).</annotation></semantics></math></span></span></span></p>
<hr/>
<p>Here is an example. Suppose we have 5 voters, and the set of proposals is <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">\mathbb R^2</annotation></semantics></math></span></span>. Each voter has an ideal point and prefers points nearer to the ideal point. The 5 ideal points form a convex pentagon. Then we can find the core easily by the conclusion above:</p>
<!--
\documentclass{standalone}
\usepackage{tikz}

\tikzset{c/.style={every coordinate/.try}}

\begin{document}

\begin{tikzpicture}
	\coordinate (a) at (0,0);
	\coordinate (b) at (0.5,0.5);
	\coordinate (c) at (1,0.3);
	\coordinate (d) at (1,-0.3);
	\coordinate (e) at (0.5,-0.5);
	\coordinate (cap) at (1.5,0);
	\newcommand{\vect}{(a),(b),(c),(d),(e),(a),(b),(c),(d)}
	\foreach \i in {0,...,4} {
		\foreach [count=\j] \coord in \vect {
			\def\k{\number\numexpr\j-\i\relax}
			\coordinate[at=\coord,name=v\k];
		}
		\begin{scope}[every coordinate/.style={shift={(2*\i,0)}}]
			\fill[gray] ([c]v1) -- ([c]v2) -- ([c]v3) -- ([c]v4) -- cycle;
			\draw[thick] ([c]a) -- ([c]b) -- ([c]c) -- ([c]d) -- ([c]e) -- cycle;
			\draw[dashed] ([c]v1) -- ([c]v4);
			\ifnum\i=4
				\node at ([c]cap) {$=$};
			\else
				\node at ([c]cap) {$\cap$};
			\fi
		\end{scope}
	}
	\begin{scope}[every coordinate/.style={shift={(2*5,0)}}]
		\begin{scope}
			\foreach \i in {0,...,4} {
				\foreach [count=\j] \coord in \vect {
					\def\k{\number\numexpr\j-\i\relax}
					\coordinate[at=\coord,name=v\k];
				}
				\clip ([c]v1) -- ([c]v2) -- ([c]v3) -- ([c]v4) -- cycle;
			}
			\fill[gray] ([c]a) -- ([c]b) -- ([c]c) -- ([c]d) -- ([c]e) -- cycle;
		\end{scope}
		\draw[thick] ([c]a) -- ([c]b) -- ([c]c) -- ([c]d) -- ([c]e) -- cycle;
		\draw[dashed] ([c]a) -- ([c]c);
		\draw[dashed] ([c]b) -- ([c]d);
		\draw[dashed] ([c]c) -- ([c]e);
		\draw[dashed] ([c]d) -- ([c]a);
		\draw[dashed] ([c]e) -- ([c]b);
	\end{scope}
\end{tikzpicture}

\end{document}
-->
<figure>
<img src="/assets/images/figures/2023-03-25-voting-pareto/five_voting_core.svg" class="dark-adaptive" alt="The core of the example"/>

</figure>]]></content><author><name>UlyssesZhan</name><email>ulysseszhan@gmail.com</email></author><category term="economics" /><category term="voting system" /><category term="preference relation" /><category term="pareto efficiency" /><summary type="html"><![CDATA[There is a very neat relation between the core (the set of proposals that defeats every proposal) of a voting system and the Pareto sets of the voters. Suppose there is a voting system of quota <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>, then the core is the intersection of all such sets: the Pareto set of <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> of the voters.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://ulysseszh.github.io/assets/images/covers/2023-03-25-voting-pareto.png" /><media:content medium="image" url="https://ulysseszh.github.io/assets/images/covers/2023-03-25-voting-pareto.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></feed>