Define the Gini coefficient mathematically using the Lorenz curve. Explain why 0…
- User
Define the Gini coefficient mathematically using the Lorenz curve. Explain why 0 represents perfect equality and 1 represents perfect inequality where one person owns everything.
Assistant
This is a great question about the Gini coefficient, one of the most important measures of income or wealth inequality. Let me provide a comprehensive mathematical explanation.
Mathematical Definition using the Lorenz Curve
The Lorenz curve is a cumulative distribution function that shows:
- On the x-axis: the cumulative proportion of the population (0 to 1, or 0% to 100%)
- On the y-axis: the cumulative proportion of income or wealth (0 to 1, or 0% to 100%)
The Lorenz curve is denoted as L(p), where p is the cumulative proportion of population, and L(p) represents the cumulative proportion of income earned by that proportion.
The Gini Coefficient Definition
The Gini coefficient (G) can be mathematically defined as:
G = A / (A + B)
Or equivalently:
G = 1 - 2∫₀¹ L(p) dp
Where:
- A = the area between the line of perfect equality (the 45° line) and the Lorenz curve
- B = the area between the Lorenz curve and the x-axis
- The integration is from 0 to 1
Alternatively, it can be expressed as:
G = (2∑ᵢ₌₁ⁿ i·yᵢ) / (n·∑ᵢ₌₁ⁿ yᵢ) - (n+1)/n
Where:
- n = number of individuals
- yᵢ = income of individual i, ordered from lowest to highest
Or another common formula:
G = ∑ᵢ₌₁ⁿ (2i - n - 1)yᵢ / (n·∑ᵢ₌₁ⁿ yᵢ)
Why G = 0 Represents Perfect Equality
When income is distributed perfectly equally, every segment of the population earns a proportional share of total income—the top 20% earns 20%, the bottom 50% earns 50%, and so on. In this scenario, the Lorenz curve coincides with the diagonal line L(p) = p. Substituting this into the formula: G = 1 - 2∫₀¹ p dp = 1 - 2[p²/2]₀¹ = 1 - 1 = 0.
Why G = 1 Represents Perfect Inequality
Perfect inequality occurs when all wealth concentrates in a single person while everyone else has nothing. The Lorenz curve remains at L(p) = 0 across the entire population until the final individual, where it jumps to L(1) = 1. Since the integral of zero across the interval is zero, we get G = 1 - 2(0) = 1.
The geometric interpretation reinforces this: perfect equality leaves no area between the Lorenz curve and the diagonal (A = 0), yielding G = 0, while perfect inequality maximizes this gap, producing G = 1.
Why the Gini Coefficient Bounds Are [0,1]
The triangle formed between the line of equality and the axes has a maximum area of 1/2. Since A can never exceed this triangle and B can never fall below 1/2, the ratio A/(A+B) is constrained between 0 and 1. This geometric constraint ensures the Gini coefficient always falls within these bounds. The Gini coefficient can be expressed as G = 2A, where A represents the area between the line of perfect equality and the Lorenz curve. This is equivalent to G = 1 - 2∫₀¹ L(p) dp, since the area under the Lorenz curve equals ∫₀¹ L(p) dp and the total triangular area is 1/2. I can verify this formula holds for perfect equality: when L(p) = p, the integral equals 1/2, giving G = 1 - 2(1/2) = 0, which is correct.
For complete inequality, where L(p) = 0 except at p = 1, the integral is 0, yielding G = 1 - 2(0) = 1, confirming the formula works at both extremes.
The Gini Coefficient: Mathematical Definition
Mathematical Formulation
The Gini coefficient is defined using the Lorenz curve as:
Or geometrically:
Where:
- L(p) = cumulative share of income when p represents the cumulative population share (0 to 1)
- A = area between the line of perfect equality and the Lorenz curve
- B = area between the Lorenz curve and the x-axis
- Total area = ½ (the triangle under the equality line)
Why G = 0 Represents Perfect Equality
The condition: Everyone has equal income, so the bottom x% of people earn exactly x% of total income.
The Lorenz curve: Coincides with the 45° diagonal line: L(p) = p
The calculation:
Geometric interpretation: A = 0 (no gap between curves), so G = 0/(0 + ½) = 0
Why G = 1 Represents Perfect Inequality
The condition: One person owns everything; everyone else owns nothing.
The Lorenz curve:
- L(p) = 0 for all p < 1 (poorest 99.99% have 0% of income)
- L(1) = 1 (one person has 100%)
The calculation:
Geometric interpretation: A = ½ (maximum possible gap), so G = (½)/(½) = 1
Visual Summary
Scenario Lorenz Curve A G Perfect Equality 45° diagonal 0 0 Real World Bowed curve 0 < A < ½ 0 < G < 1 Perfect Inequality Along axes ½ 1 The Gini coefficient thus captures inequality as the proportion of maximum possible inequality, making it bounded and intuitive: 0 = equality, 1 = complete concentration.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.