The Lorenz curve can be represented by a function
, where
is the horizontal axis,
and
is the vertical axis.
For a population of size n, with a sequence of values
to
that are indexed in non-decreasing order
the Lorenz curve is the continuous piecewise linear function connecting the points (
), i = 0 to n, where
, and for i = 1 to n:
The amount of inequality in two societies, or in two scenarios can be compared based on their Lorenz curves. If the curve in one case is farther away from the line of perfect equality for every value along the horizontal axis, then that case is considered to have less equality than a case with a curve nearer to the equality line.
The line of perfect equality in the Lorenz curve is
and represents a uniform distribution, or equality.
In cases where the curve does not lie on the line of perfect equality, every point on the curve represents a
statement like: "the bottom 20% of households has 10% of the total income".
The Gini coefficient is defined as a ratio of the areas on the Lorenz curve diagram.
It is a measure of the inequality of a distribution. If the area between the line of
perfect equality and Lorenz curve is A, and the area under the Lorenz curve is B, then the
Gini coefficient is
. Since
, the Gini coefficient,
.
If the Lorenz curve is represented by the function
, the value of B can be found with integration and:
The higher the Gini coefficient, the greater the inequality.