If f and g are continuous and f(x) ≥ g(x) over the interval [a, b], then the area bounded by y = f(x) and y = g(x) for a ≤ x ≤ b is given exactly by:
A = ∫ab [f(x) - g(x)] dx
A Lorenz curve displays the distribution of income among a given population.
If y = f(x) is the equation of a Lorenz curve, then
Gini index = 2∫01 [x - f(x)] dx
The Gini index is always a number between 0 and 1.
The graph to the right shows the Gini index for households in the US, 1967 - 2016.