In economics, the Gini index is a measure intended to represent income inequality. We will take a mathematical approach to the study of the Gini index.