The Lorenz curve is used in economics and ecology to describe inequality in wealth or size. The Lorenz curve is a function of the cumulative proportion of ordered individuals mapped onto the corresponding cumulative proportion of their size. Given a sample of ordered individuals with the size of individual and , then the sample Lorenz curve is the polygon joining the points , where , 1, 2, ..., , and . Alternatively, the Lorenz curve can be expressed as
where is the cumulative distribution function of ordered individuals and is the average size.
If all individuals are the same size, the Lorenz curve is a straight diagonal line, called the line of equality. If there is any inequality in size, then the Lorenz curve falls below the line of equality. The total amount of inequality can be summarized by the Gini coefficient (also called the Gini ratio), which is the ratio between the area enclosed by the line of equality and the Lorenz curve, and the total triangular area under the line of equality. The degree of asymmetry around the axis of symmetry is measured by the so-called Lorenz asymmetry coefficient.