WorksPhysics and Astronomy
The Gompertz-Zipf city size distribution and urban allometry
Abstract
This dissertation discusses the distribution of city sizes using censuses of the Brazilian Institute for Geography and Statistics (IBGE) spanning 150 years, from 1872 to 2022, as well as the allometric scaling relation with the 2022 census data. The Gompertz distribution is fitted to the population size of less populated cities, while the Zipf power law is used to represent the cities having larger populations, with threshold varying between 20,216 and 102,857 inhabitants. The data analysis shows that the Gompertz-Zipf distribution can describe the data across all censuses, with the Gompertz parameter oscillating between and , indicating periods with faster decreases and periods with slower decreases in the number of cities within the less populated segment as population increases, while the Zipf exponent ranges from in 1872 to in 2022. The Gini coefficient and the Zanardi index are used to quantify the inequality in the city population distribution, whose obtained values are and for the 1872 census and and for the 2022 dataset, while the Pietra index and the Kolkata index , associated with the most populated cities, are and for 1872, and and for 2022. These results reveal a high concentration of population in larger cities, with increasing from 1872 to 2022 and becoming positive after 1900, indicating a greater concentration of population in the group of more populated cities than in the group of less populated cities. Finally, urban allometry is also examined, generating an exponent for the 2022 data, showing that the scaling relation between area and population holds for urbanized area but not for total administrative area, indicating that scaling is associated with spatial occupation.
Graduate dissertation submitted to the Physics Institute, Center for Natural and Mathematical Sciences, Universidade Federal do Rio de Janeiro (UFRJ), in partial fulfillment of the requirements for the degree of Master in Applied Physics
Dr. Marcelo Byrro Ribeiro
Orcid: 0000-0002-6919-2624
1st Adviser
Dr. Amanda Reis Lopes
Orcid: 0000-0002-6164-5051
2nd Adviser
Acknowledgments
This dissertation benefited greatly from the guidance, discussions, corrections, and careful reading provided by my advisers, Professor Marcelo Byrro Ribeiro and Dr. Amanda Reis Lopes. I thank Professor Marcelo Byrro Ribeiro for teaching me the theoretical content explored throughout this work, for encouraging precise explanations, and for providing detailed recommendations that strengthened the rigor of the dissertation. I thank Dr. Amanda Reis Lopes for contributing to the organization of the text and for suggestions related to the data analysis that helped clarify the interpretation of the results. Their many helpful contributions shared in meetings during my master’s years were fundamental to the advancement of this project. I also thank my family for their support throughout this period and for everything they did to help make the completion of this dissertation possible. Finally, I thank Universidade Federal do Rio de Janeiro and Coordenação de Aperfeiçoamento de Pessoal de Nível Superior (CAPES) for the financial support through a master’s scholarship.
Agradecimentos
Esta dissertação se beneficiou enormemente da orientação, das discussões, das correções e da leitura cuidadosa realizadas por meus orientadores, Professor Marcelo Byrro Ribeiro e Dra. Amanda Reis Lopes. Agradeço ao Professor Marcelo Byrro Ribeiro por ter me ensinado o conteúdo teórico explorado ao longo deste trabalho, por incentivar explicações precisas e por fornecer recomendações detalhadas que fortaleceram o rigor da dissertação. Agradeço à Dra. Amanda Reis Lopes por contribuir para a organização do texto e pelas sugestões relacionadas à análise de dados que ajudaram a esclarecer a interpretação dos resultados. As muitas contribuições compartilhadas por ambos em reuniões durante meu mestrado foram fundamentais para o desenvolvimento deste projeto. Agradeço também à minha família pelo apoio ao longo deste período e por tudo o que fizeram para ajudar a tornar possível a conclusão desta dissertação. Por fim, agradeço à Universidade Federal do Rio de Janeiro e à Coordenação de Aperfeiçoamento de Pessoal de Nível Superior (CAPES) pelo apoio financeiro por meio de uma bolsa de mestrado.
Resumo
Introduction
Many scientific measurements are centered-peaked, this is, for instance, the case of human body temperature with a value of , the adult resting heart rate bpm, as well as many other quantities. However, not all distributions are concentrated around the mean; for instance, the number of people in each city of a country varies over a broad range. The largest city in Brazil is São Paulo in the state of São Paulo, which has 11,451,999 inhabitants, while the smallest is Serra da Saudade in the state of Minas Gerais, populated by only 833 people, according to the 2022 census [1]. This disparity illustrates that population distributions span several orders of magnitude and cannot be adequately characterized by traditional statistical measures such as the mean and standard deviation. In other words, there are distributions weakly described by their mean and standard deviation, as exemplified by city populations and income, which are better represented by power laws [2].
Felix Auerbach (1856-1933) was the first to observe that the way urban aggregates are distributed follows a power-law distribution [3]. However, George Kingsley Zipf (1902-1950) is frequently credited with this observation due to his extensive population data study of various countries and the corresponding empirical systematization demonstrating that cities are demographically distributed as a power law with an exponent close to one. This empirical evidence became known as the Zipf law [4]. The importance of this result lies in its apparent universality, as similar scaling patterns have been identified across different countries and historical periods, suggesting that common underlying mechanisms may drive the formation and evolution of city size distributions regardless of geographical or cultural context [2, 5]. Moreover, Vilfredo Pareto (1848-1923) found a power law in the income distribution tails which encompasses the wealthiest segment of the population, known as Pareto law [6]. Zipf also studied income distribution besides city population, but from a terminological point of view, a power law with any exponent value is referred to as Pareto law, whereas the name Zipf law is restricted to the power law found in city populations. Some authors even refer to the Zipf law only when the exponent is approximately equal to one, that is, when the so-called pure Zipf law occurs. While other authors use the term Zipf law more broadly to denote any power law observed in city size distribution regardless of the exponent value, a convention adopted in this dissertation. In addition, there are those who define the Zipf law using the probability density function (PDF) and those who do so using a cumulative distribution function (CDF), or even the complementary cumulative distribution function (CCDF). Furthermore, there are those who utilize instead of as the power law exponent. These mathematical differences will be detailed in § 5.1.
In a general rank-size formulation of a power-law distribution, size is a measurable quantity such as the number of times a letter appears in a text, the income of certain groups, and in this case it is the number of people in a city, while rank is the position of that quantity in a descending ordering. The expression describes how the size depends on the rank , where the value corresponds to the pure Zipf law and suggests a specific kind of hierarchical structure where the demographic size of the largest city is twice the demographic size of the second city , three times the size of the third city , and so on. A higher exponent suggests a more equally distributed city population system, which might demonstrate a different pattern of population dynamics compared to a system with a smaller exponent that signals a more uneven distribution where a few large cities concentrate most of the population [7].
The Zipf law suggests that the frequency of an event is inversely proportional to its rank, where rank denotes the position of a city in a descending ordering by population size, that is, a categorical index such that the largest city has rank 1, the second largest rank 2, and so on. In this context, its general interpretation is that the th largest city has a population that is approximately of the population of the largest city [5]. However, many empirical studies examining the Zipf law select cities above a particular population size threshold chosen differently depending on the study’s authors because the initial value of the distribution, i.e., less populous cities, does not fit well the power-law behavior [7]. In order to avoid such arbitrariness, one could approach this problem differently by fitting the smaller cities with the Gompertz distribution, which has the same axes as the Zipf law, just on another scale. While the Zipf law involves a plot of log-log transformed variables, the Gompertz distribution, which is a double exponential, is represented using a double natural logarithm on one variable and a linear scale on the other, allowing then for a more comprehensive and continuous description of the full range of city sizes.
A city population histogram that forms an approximate straight line when both population size and rank are log-transformed suggests a power-law distribution, as seen on the right of Figure 1. This means that the probability of a city having a population greater than a certain value follows a power-law decay, indicating that large cities are statistically more frequent than would be expected under exponential or Gaussian distributions [2]. This feature is characteristic of systems exhibiting scale invariance where no single scale dominates the behavior of the system, and similar patterns can be observed across different levels of aggregation [2]. In this context, the distribution of city sizes can be interpreted as a manifestation of a complex, self-organizing system driven by the interactions of many individual components with finite resources [5].

Figure 1. Data from the 2000 US Census. Left: histogram of the populations of all US cities with population of 10,000 or more. Right: another histogram of the same data, but plotted on logarithmic scales. The approximate straight line form of the histogram on the right panel suggests that the distribution can be represented by a power law. Figure 2 of Ref. [2].
A collective behavior is defined as emergent in a complex system when the interaction of many parts results in behavior greater than the sum of the individual ones. From this perspective, the dynamics of city creation and growth can be thought of as being an emergent phenomenon of human cooperation and collective action. In this way, the demographic distribution of human beings on Earth’s surface has peaks of population concentration, namely the cities, alternating with large areas where the population density is much lower. These peaks follow a power law typical of the non-linear dynamics of a complex system [2, 5]. Changes in a country’s city population distribution over time can be connected to economic transformations. For example, Ref. [7] notes that the Pareto exponent in China showed a turning point in 1996, illustrating the country’s transition from a planned economy to a more market-oriented economy. Another example is the study in Ref. [8] that discusses how the Zipf law holds approximately for the distribution of city size in each European country but fails for the aggregated European Union data, which suggests that the level of economic integration is a factor in shaping city population distributions. These examples highlight that city size distributions are not static but evolve in response to institutional, economic and technological changes. Consequently, understanding the city population distribution might indicate information on the economic and social properties of a country or region under study.
In this context, this dissertation will discuss Brazil’s city population through the Gompertz-Zipf law, which combines the Zipf law with the Gompertz distribution for the smaller cities. The analysis will be based on data collected by the Brazilian Institute for Geography and Statistics (IBGE) over a 150-year span, from the 1872 census to the 2022 one. This long timescale is particularly fitting, as over time, Brazil has experienced shifts in population distribution associated with internal migration flows and the consolidation of large metropolitan regions, all of which have contributed to shaping Brazil’s current distribution of city sizes [9].
A second objective of this study is to examine possible allometry, specifically the scaling relation between urban area and population in Brazil. In many complex systems, allometric laws describe how one quantitative measure grows proportionately to another, often following power-law patterns [2]. Originally developed in biology, allometry was used to study how morphological, physiological and ecological traits vary with organism size, such as the relationship between brain size and body size, metabolic rate and body mass or wing size and flight performance [10]. More generally, allometry investigates how characteristics or processes change proportionally with size and how these scaling relations are associated with functional organization and evolution [10]. In the urban context, this type of analysis helps determine whether larger cities expand in area at the same rate as they grow in population. This allometric assessment provides complementary insight into how Brazilian cities organize in terms of infrastructure and land use efficiency. If larger cities grow more slowly in area relative to population, this suggests increasing population density and more compact land use, whereas faster spatial expansion indicates more dispersed urban development [11]. Therefore, the allometric analysis alongside the study of population distributions can provide a more comprehensive understanding of Brazilian cities, both in terms of their demographic structure and their spatial organization.
This dissertation is organized as follows: Chapter 1 presents the theoretical foundation of the Zipf power law, the Gompertz distribution, inequality indices and hierarchy in urban systems. Chapter 2 describes the Brazilian city population datasets from the censuses between 1872 and 2022, focusing on the 2022 census to analyze different choices of logarithmic binning in order to improve the statistics by generating more data points. Chapter 3 presents the results of the Gompertz-Zipf fit for the Brazilian city size distribution, as well as the results of the allometric analysis relating urban area to population restricted to the 2022 data census.
Scaling laws and inequality measures
This chapter presents the theoretical concepts and main mathematical formulations used throughout this work, including the Zipf law, the Gompertz distribution, inequality measures such as the Gini and Zanardi coefficients, and hierarchy in urban systems.
The Zipf power law
The study of rank-size relations has a long history in statistics, linguistics, economics and physics. One of the earliest descriptions was given by Auerbach in 1913, who observed that the population of cities in the German Empire approximately followed an inverse relationship between rank and size [3]. Later, Zipf studied the frequency of words in several languages and reported a similar regularity in his book Human Behavior and the Principle of Least Effort where he analyzed a vast range of languages and dialects including English, Latin, Attic Greek, Gothic, Sanskrit, Chinese, Palestinian Hebrew, Japanese, Icelandic, Dutch, Russian, Italian, Spanish, Portuguese, French and others [4]. Zipf observed that when words are classified by frequency in a text, the most frequent word appears approximately twice as often as the second most frequent word, three times as often as the third, and so on. This relation can be written as
where denotes the frequency of the element with rank . This empirical pattern is known as the Zipf law. In the context of word frequencies, Zipf proposed that the distribution of words reflects a balance between the efforts of speakers and listeners, with language evolving to minimize the total effort required for communication [4].
Although originally formulated in linguistics, similar rank–size relations were later documented in other systems. Examples include the distribution of city populations, wealth of the richest people, intensity of solar flares, earthquake magnitudes and diameter of moon craters [2]. In these cases, the probability of observing a value follows a power-law decay, implying that small values are common and large values are rare but still occur with non-negligible probability [2]. In other words, those power-law distributions were said to have long tails because large values have small, but still significant proportions or probabilities. Due to this realization, the empirical study of power laws gained attention in several disciplines during the second half of the twentieth century. Particularly in city size distributions, it was shown that the largest cities in a country approximately follow the inverse rank-size rule, meaning that the size of an element is inversely proportional to its rank, so that higher-ranked cities have systematically smaller populations. This regularity has been observed in the United States, European countries, Japan and Brazil [7, 12].
Power-law behavior also appears in complex systems, extending the rank–size empirical regularities observed in city size distributions discussed above to interaction-based structures. Unlike static random graph models, real-world networks such as the Internet, social networks and citation networks expand through the constant addition of new vertices. Preferential attachment dictates that these new vertices are more likely to link to existing elements that already possess a high number of connections. This “rich-gets-richer” phenomenon ensures that initial differences in connectivity are amplified over time, as older or more visible vertices acquire new connections at a higher rate. As a result, in these systems a small number of elements have many connections while most elements have only a few. This self-organizing process serves as a mechanism for the development of heavy-tailed distributions, meaning that the number of connections per element follows a distribution where most values are small while a few are extremely large, consistent with a power-law form. Thus, it directly gives rise to unequal connectivity patterns, consistent with the disparities often measured in competitive systems. These are systems governed by two fundamental mechanisms: continuous growth and preferential attachment, where new elements connect preferentially to already highly connected ones, leading to cumulative advantage and unequal connectivity [13].
Despite the large number of empirical studies reporting power-law behavior, several authors have noted that estimating power-law exponents is statistically challenging. These methodological issues are particularly relevant in the analysis of city size distributions. Empirical studies often restrict the sample to cities above a population threshold in order to reduce deviations from the power-law form. However, this truncation introduces uncertainty regarding the range over which the power law actually holds [14]. Cristelli, Batty and Pietronero [5] showed that the rank–size relation depends on the size of the dataset and the coherence of the distribution. Their analysis suggests that the simple Zipf relation may not fully capture the statistical structure of city systems. Therefore, since the early formulations of the Zipf law a recurrent methodological choice in the literature has been the adoption of an arbitrary cutoff defining the lower bound from which the power-law behavior is assumed to hold. This cutoff is often chosen arbitrarily, typically based on population thresholds or rank truncation, rather than on a systematic data driven procedure. As a result, the estimated Zipf exponent becomes conditional on the researcher’s subjective choice of threshold. In this sense, much of the empirical literature reports Zipf exponents that are not strictly comparable, as they are derived from different truncation criteria. Table 1 summarizes some examples of the Zipf power law exponents and the cutoffs adopted in the literature [2, 12, 15]. In an attempt to bypass such arbitrariness for the lower threshold, in this work the Zipf law is used to model the tail of the city population distribution, while the Gompertz distribution is used for smaller cities [5].
| The Zipf exponent | Location and date | Reference | |
| 2.22 0.34 | 30,000 | Brazilian cities: 1970-1980 | [12] |
| 2.36 | 30,000 | Brazilian cities: 1980–2000 | [12] |
| 2.26 0.11 | 30,000 | Brazilian cities: 1991-2000 | [12] |
| 2.0 0.1 | 1,000 | Swiss municipalities | [15] |
| 2.1 0.1 | 10,000 | USA cities | [15] |
| 2.03 0.05 | 100,000 | World cities | [15] |
| 2.30 0.05 | 40,000 | USA cities: 2000 | [2] |
Table 1. The Zipf power law exponents for city population distributions reported in Refs. [2], [12] and [15], where is the population cutoff defining the lower bound from which the power-law behavior is assumed to hold.
The Zipf law as used to describe the distribution of city population sizes is a special case of the Pareto distribution [7, 8]. Both distributions exemplify power laws, where the probability of a value is inversely proportional to a power of that value. As mentioned above, the power-law exponent is viewed differently depending on the choice of function, the three most common being the PDF, CDF and CCDF. Each function offers a distinct perspective on the distribution, affecting the exponent’s value and its interpretation [12, 14]. The PDF, denoted here as , describes the likelihood of a variable taking on a specific value. For a power-law distribution, the PDF is expressed as
where and are constants [12]. Applying the logarithm to both sides, we get:
This equation represents a linear relationship on a log-log scale, where the slope of the graph is . Thus, in this form, the exponent directly reflects the rate at which the probability decreases as increases, which corresponds to the slope of the PDF when plotted on logarithmic axes.
The CDF, expressed as here, represents the probability that the variable is less than or equal to a certain value. For a power-law distribution, such as the Zipf law, the CDF is,
Taking the logarithm of both sides, we get:
This equation also represents a linear relationship on a log-log scale, where the slope of the graph is , or . The CDF form is associated with the Zipf law or Pareto distribution [2, 12].
The CCDF, here denoted as , characterizes the probability that a variable is greater than or equal to a certain value. It may be written as follows,
and substituting from Eq. (4) we have:
Simplifying:
where . Taking the logarithm of both sides of Eq. (8), we get:
Here, the maximum probability is normalized to 100 rather than 1, and the PDF relates to the CDF and the CCDF through the following derivatives:
CCDF plots are more visually stable than PDF and CDF plots, particularly at the tail of the distribution, because the impact of statistical fluctuations from sample analyses is reduced [14]. Figure 2 illustrates the differences between the PDF, CDF and CCDF representations for the same distribution, highlighting how the CCDF representation provides a smoother and more stable description of the tail behavior when compared to the PDF and CDF representations. Similar to the CDF, the CCDF is also associated with a slope of when plotted on a log-log scale, since it follows the same power-law form. The Zipf frequency-rank plots typically show on the horizontal axis and on the vertical axis, and appear as straight lines on log-log plots [2, 14]. In summary, the functional choice, PDF, CDF, or CCDF, affects the exponent’s value and interpretation of the graph’s slope in data analysis. For the PDF, the slope is equal to the exponent , while for both CDF and CCDF, the slope is . In this study of Brazilian cities, the CCDF will be adopted.

Figure 2. Illustration of the PDF in panel (a), CDF in panel (b), and CCDF representations for the same probability distribution in panels (c) and (d). The CCDF representation expresses the probability of observing values greater than or equal to a given threshold, providing a smoother and more stable visualization of the tail behavior when compared to the PDF and CDF. Figure B.1 of Ref. [16, p. 111].
The Zipf law describes a notable pattern in the distribution of city sizes, in this case size refers to the number of people, suggesting that in a system, the largest city, ranked as one, is approximately twice the size of the second largest, ranked as two, three times the size of the third largest, ranked as three, and so on [7]. The Zipf law, also known as the rank-size rule, is a principle describing the relationship between the rank and size of cities, such as population. The CCDF for the Zipf law is represented through a log-log graph, where the axes show the population of cities and the cumulative percentage of cities with equal or greater population than a given population value [2]. At the minimum value of the probability that is greater than or equal to that minimum value is 100%. As increases, the probability of observing values greater than or equal to decreases, resulting in a decaying slope in a graph.
Figure 3 shows the same power-law distributed data under different graphical representations in Ref. [2]. Panel (a) presents the distribution in the form of a standard histogram of a synthetic dataset of 1 million random numbers generated to follow a power-law distribution. In panel (b), the same data plotted on logarithmic scales, making the power-law behavior more apparent through an approximately linear trend, although the tail becomes increasingly noisy due to the small number of observations in that region. Panel (c) shows the use of logarithmic binning, which reduces these fluctuations by grouping data into bins that grow geometrically, resulting in a smoother representation of the distribution. Finally, panel (d) presents the cumulative form of the distribution, where the data appear significantly more stable, since each point incorporates contributions from all larger values. In this representation, the power-law behavior is preserved, but with a different exponent reflecting the cumulative transformation. Together, these panels illustrate how the choice of representation affects the visualization of scaling behavior and why cumulative approaches such as the CCDF provide a more reliable description of the distribution, which is further supported by Ref. [17], where the CCDF representations are shown to improve the stability of empirical income distributions, particularly in the tail region.

Figure 3. Different graphical representations of a power-law distribution. Panel (a) shows the histogram in linear scale, while panel (b) presents the same data on logarithmic axes, where the scaling behavior becomes more evident but fluctuations increase in the tail. Panel (c) illustrates the use of logarithmic binning (see main text) to reduce statistical noise, and panel (d) shows the cumulative representation, which provides a smoother and more stable description of the distribution. Figure 3 of Ref. [2].
While the Zipf law holds in many instances, empirical results have been criticized due to sample selection biases regarding the choice of the lower bound from which the power-law behavior starts, as well as data limitations related to incomplete coverage of the full city size distribution [5, 7]. In this work, the data range is assessed as a whole, avoiding the introduction of arbitrary cutoffs that may affect the estimation of the scaling exponent. While the end of the distribution, with the most populated cities, is fitted into the Zipf law, the beginning, related to cities with smaller populations, is fitted into a Gompertz distribution. Ref. [5] supports combining distributions, such as Gompertz-Zipf, lessening the single power-law model limitations and achieving a better description for scaling systems.
The Gompertz distribution
The Gompertz distribution originates from demographic studies concerned with human mortality. In his original work, Benjamin Gompertz (1779-1865) introduced what is now known as the Gompertz law of mortality while analyzing the age dependence of death rates in adult populations. He observed that beyond early life stages, mortality increases approximately exponentially with age, a pattern that could be consistently identified across different datasets available at the time. This empirical regularity led to the formulation of the Gompertz function, which provided a mathematical representation of mortality dynamics and later became a tool in survival analysis with direct applications in life insurance price estimation based on survival probabilities, where the CCDF is referred to as the survival function in medical contexts and as the reliability function in engineering, both interpretations describing the probability that a patient survives or a device remains functional beyond a certain time [17]. Over time, the flexibility of this functional form enabled its application beyond its original demographic context, extending to multiple domains where growth and decay processes exhibit non-linear temporal behavior [18].
The Gompertz curve can be written in the form
corresponding to Eq. (2) in Ref. [19], which was originally expressed as whit . The expression above is obtained from that formulation through a redefinition of parameters, in which the inner exponential structure is preserved but written in a more compact form for convenience. In this representation, the parameter corresponds to the upper limiting value of the curve and is denoted by in the original formulation, while and are the parameters of Eq. (1.11) that control the displacement and the rate of growth of the curve, respectively. This functional form is characterized by an initial phase of slow growth, followed by a period of acceleration, and finally a saturation phase in which the variable approaches an upper bound asymptotically. Such asymmetric behavior distinguishes the Gompertz curve from other growth models, as the logistic curve, which exhibits a symmetric growth pattern around its inflection point. Due to these properties, the Gompertz function has been applied in fields such as biology, demography, epidemiology and economics, where systems evolve under limiting conditions [18, 19].
In the context of population dynamics, the Gompertz function has been employed to describe growth processes in which the rate of increase declines as the system evolves, reflecting the presence of limiting factors. Originally introduced to model age-dependent mortality, the function captures a progressively decreasing growth rate, which can be interpreted as the effect of constraints acting more strongly as the system size increases [18]. This characteristic makes the Gompertz curve suitable for representing situations in which initial growth is relatively rapid but gradually slows over time, producing a saturation behavior consistent with bounded systems. Such decelerating growth patterns are also consistent with observations in complex socioeconomic systems, where aggregate quantities do not grow indefinitely but instead approach limiting regimes. These resource limitations can play a central role in shaping macroscopic behavior [20]. The resulting dynamics differ from purely exponential growth because of this intrinsic slowdown in large-scale distributions evolving under constraints.
Another important application of the Gompertz distribution arises in the study of income distributions. Empirical evidence suggests that the majority of income data, corresponding to the lower and middle income classes, can often be approximated by a Gompertz function, while the upper tail follows a Pareto distribution. This two-regime structure reflects the coexistence of different underlying economic mechanisms. Detailed analyses of this phenomenon were provided by F. Chami Figueira et al. [6] and later by Marcelo Byrro Ribeiro in his book [21], who introduced and empirically validated the Gompertz-Pareto distribution as a model capable of capturing the full range of income data. The Gompertz function contains parameters that determine how rapidly the probability decreases with increasing values of the variable, making it suitable for describing distributions that decay progressively rather than following a scale-free power law. This behavior contrasts with power-law distributions, which are scale-invariant, meaning that no preferred scale exists and the same mathematical relation holds across different orders of magnitude. In empirical socioeconomic data, such as income distributions, the majority of the population typically does not follow a power law, and instead exhibits a faster decay that can be represented by alternative functions. In this context, the Gompertz function has been employed to model the lower and intermediate regions of distributions, where the majority of observations are concentrated [21] [6].
From a statistical perspective, the Gompertz distribution can be expressed through its cumulative distribution function as
where and are positive parameters controlling the shape of the distribution. This formulation produces a rapidly decaying tail, reflecting the decreasing probability of large values, and provides a representation capable of fitting empirical data in the region where deviations from power-law behavior are observed [19]. Applications of this approach can be found in the analysis of socioeconomic systems, where different mechanisms govern different parts of the distribution. In studies of income and wealth, it has been observed that the majority of the population follows a distribution that decays more rapidly than a power law, while the upper tail is better described by a power law associated with multiplicative processes and accumulation effects [20]. Similarly, empirical analyses of firm sizes and city populations show that large entities often follow power-law behavior, whereas smaller ones deviate from this pattern and require alternative descriptions [22]. To account for this heterogeneity, hybrid models combining Gompertz and Pareto components have been proposed. In such models, the Gompertz function describes the bulk of the distribution, while the Pareto tail captures the extreme values. This approach provides a unified structure for representing empirical distributions in their entire range, reflecting the coexistence of different underlying mechanisms and improving the overall fit to observed data [21] [6].
Hence, the Gompertz curve, known to be a good descriptor of population dynamics, mortality rate, and growth processes in biology [6], can also be applied to city size distributions. The Gompertz CCDF is suitable for modeling income distributions, particularly for lower-income populations, while the Pareto distribution models the income of the wealthiest individuals [21, 23] [6]. The Gompertz distribution will be used here to study less populated cities, instead of income. For this reason, a novel contribution to the literature is made in this work with the first use of the Gompertz CCDF to model city population sizes, following the expression:
where in the present approach represents the population size of a city, and are parameters that determine the shape of the curve. These parameters are constants fitted to the data.
When plotted on a linear scale for on the horizontal axis and a scale for in the vertical axis, the straight line will be with slope equal to the parameter and with , a value which determines the boundary conditions. Consequently, controls how rapidly the CCDF changes with population size. In this empirical study, the parameters and are estimated by fitting the Gompertz curve to the observed data using Python’s linear data fitting via the Least Squares Method, as described in the scipy.stats.linregress documentation [24]. By using the Gompertz distribution, city population size can be effectively modeled, providing information on the dynamics and structure of smaller cities in the context of population size. Finally, the two-component Gompertz-Zipf population distribution function can be written as in Eq. (14), similarly to the Gompertz-Pareto income distribution given by Eq. (2.36) in Ref. [21],
where stands for the limit between the Gompertz and Zipf segments of the distribution, as it will be detailed in Chapter § 6.
Measures of inequality
The measurement of inequality is a central topic in economics and statistics, where the goal is to quantify how a given resource, such as income, wealth or population is distributed in a set of units. Over time, several quantitative indicators have been developed to summarize the dispersion and concentration present in empirical distributions. Among these measures, the Gini coefficient stands out as one of the most used due to its intuitive geometric interpretation and its applicability in different domains [25].
The Gini coefficient was introduced by Corrado Gini (1884-1965) in 1912 as a measure of statistical dispersion based on the Lorenz curve representation of a distribution as proposed by Max Otto Lorenz (1876-1959) [26]. The Lorenz curve describes the cumulative share of a variable as a function of the cumulative share of the population, where individuals or units are ordered from the smallest to the largest value. This construction allows the visualization of how far a given distribution deviates from perfect equality, providing a graphical and analytical foundation for the study of inequality [26]. In the case of perfect equality, the Lorenz curve coincides with the diagonal line, commonly referred to as the line of equality. Any deviation from this diagonal indicates the presence of inequality, with the magnitude of the deviation reflecting the degree of concentration in the distribution.
The Gini coefficient is defined as the normalized area between the Lorenz curve and the line of equality, taking values in the range between zero and one or between zero and one hundred, depending on the adopted maximum percentage share, or probability, normalization. A value of zero corresponds to perfect equality, while a value of 1 or 100 corresponds to the extreme case in which all quantities are concentrated in a single unit [25]. Due to its general formulation, the Gini coefficient has been extensively applied not only to income and wealth distributions but also to a wide range of other empirical contexts. These include the analysis of concentration in land ownership, firm sizes, scientific citations and city population distributions [27].
Figure 4 and Figure 5 illustrate important aspects of the Lorenz curve representation and the interpretation of the Gini coefficient. Figure 4 shows the standard construction of the Lorenz curve in relation to the line of perfect equality, represented by the diagonal. The shaded area between these two curves corresponds to the measure used in the definition of the Gini coefficient, highlighting how deviations from equality translate into quantitative measures of inequality. As the distribution becomes more unequal, the Lorenz curve moves further away from the diagonal, increasing the relative internal shaded area and, consequently, the value of the Gini coefficient. In contrast, Figure 5 presents two distinct Lorenz curves that share the same Gini coefficient despite exhibiting different shapes. This result emphasizes that the Gini index captures only the overall level of inequality, without providing information about how this inequality is distributed across the population. In particular, different distributions may present concentration either among poorer or richer segments while having the same Gini value, indicating that additional measures may be required for a more detailed characterization of inequality structures. This limitation has motivated the development of complementary indices, such as the Kolkata index and the Zanardi coefficient, that provide additional information on concentration and the relative contribution of different segments of the population [21, 28, 29, 30, 31]. For more detailed information on the Kolkata index, see Ref. [21 p. 62]. A discussion of inequality measures, including the Gini and Zanardi coefficients, can be found in Section 2 of Ref. [31].

Figure 4. Lorenz curve and graphical representation of the Gini coefficient. The diagonal line represents perfect equality, while the Lorenz curve describes the cumulative distribution of the variable. The shaded area between the two curves corresponds to the measure used to compute the Gini coefficient. Diagram 2.3 from Ref. [27 p. 30].

Figure 5. Two Lorenz curves with identical Gini coefficients but different shapes. Although both distributions exhibit the same overall level of inequality, their internal structures differ, reflecting distinct patterns of concentration across the population. This illustrates a limitation of the Gini coefficient, which does not capture asymmetries in the distribution. Figure 2 from Ref. [28].
The Gini coefficient or Gini index, here denoted as , and the Kolkata index, also known as the -index, are both measures of inequality, often used to describe income distribution, although applicable to any unequally distributed quantity such as city population. The Gini coefficient is derived from the Lorenz curve, which quantifies statistical dispersion, reflecting the inequality of the distribution, such as that of income or wealth [21]. In the context of city demographic size, the Lorenz curve displays the cumulative proportion of the total population against the cumulative proportion of cities when the cities are ranked by population. The Gini index is then defined as the ratio of the area between the egalitarian line and the Lorenz curve to the total area , where is the area beneath the Lorenz curve. As seen in Figure 6, and . The defining equation is:
Figure 6. Hypothetical Lorenz curve for Gini and Zanardi indices where and . The partial Gini coefficients are defined as and .
In a scenario of perfect equality, the Lorenz curve aligns with the egalitarian line and , indicating that all cities have equally distributed populations among them, that is, for example, 30% of the cities hold 30% of the population, 70% of the cities hold 70% of the population, and so on. In contrast, under perfect inequality where , one city holds the entire population of the country or region being analyzed.
The -index is defined as the fraction of cities that account for percent of the total population. Graphically, corresponds to the -axis coordinate on the Lorenz curve where a diagonal orthogonal to the egalitarian line intersects the Lorenz curve, as shown in Figure 6. Unlike the Gini coefficient, the -index lacks a direct expression. Originally defined in the context of income, the -index was later found to suggest an empirical linear relationship with , given by , with , after suitable normalization [21 p. 62].
Another inequality measure associated with the Lorenz curve is the Pietra index, also known as the Robin Hood or Hoover index [30]. The Pietra index, here denoted by , is defined as the maximum vertical distance between the Lorenz curve and the equality line, as illustrated in Figure 7, and it quantifies the maximum deviation between the observed distribution and perfect equality. Perfect equality corresponds to a Lorenz curve coinciding with the equality line, where of the cities contain of the population for every value of , but the Pietra index does not define a redistribution process nor mathematically determine how the distribution would change after redistribution.

Figure 7. Lorenz curve representing the cumulative share of a quantity held by a fraction of elements ordered in ascending value, under the normalization adopted by the authors where the total quantity equals 1, not 100. The green curve represents the complementary Lorenz curve . The Pietra index is given by the maximum vertical distance between the Lorenz curve and the equality line. Figure 1 from Ref. [30].
Ref. [30] considered a quadratic approximation for the Lorenz curve, written as , satisfying the conditions and . Under this approximation, analytical relations between the inequality indices were obtained, namely and for variables normalized between 0 and 1, or equivalently and in the 0 to 100 scale. For convenience, the approximated quantities obtained from the Gini index are here denoted by and , respectively,
and
However, these relations remain approximations with an estimated error of about 5%, since they depend on the quadratic representation of the Lorenz curve. More accurate values of the Pietra index can instead be obtained numerically from the maximum distance between the Lorenz curve and the equality line using higher-order polynomial representations [30].
The Zanardi coefficient is an inequality index that, similarly to the Gini index, is based on the Lorenz curve [28]. However, instead of using the two regions and as in the Gini index, it divides the area below and above the Lorenz curve into four regions: , , and . The Zanardi index can then be expressed as
where and are the Gini coefficients associated with the upper and lower portions of the Lorenz curve shown in Figure 6, respectively, with , , while is the normalization factor used when the axes are expressed in percentages from 0 to 100 rather than proportions from 0 to 1.
If , then , indicating that the upper part of the distribution is more concentrated; if , then , indicating higher concentration in the lower part. Therefore, the Zanardi index captures the asymmetry of the Lorenz curve and indicates whether the asymmetry favors the upper or the lower part of the distribution. When used in conjunction with the Gini index, it provides a more complete description of inequality. When normalized to a 100 × 100 box, the area corresponds to the colored bottom triangle in Figure 6. With , and , the dimensionless Zanardi index takes values in the range .
and in terms of the areas , and under the Lorenz curve:
In the event of perfect equality, the Lorenz curve coincides with the equality line, so that and . In this case, and the Zanardi index is indeterminate, since , reflecting the absence of both concentration and asymmetry. In the opposite extreme, perfect inequality occurs when the Lorenz curve collapses onto the axes, implying and . Then , and , since there is maximum concentration but no asymmetry between the two parts. More generally, for any symmetric distribution, the two parts of the Lorenz curve exhibit the same degree of concentration, so that , which implies . In terms of areas, this corresponds to and , meaning that the two regions defined by the -point are balanced. When , it follows that , hence and therefore . This indicates that the segment corresponding to larger values of the variable is more concentrated (), even though the geometric area under the Lorenz curve is smaller in that region (). Conversely, when , then , hence and thus , indicating greater concentration in the lower part of the distribution.
While summarizes the overall level of concentration, the -index offers a more direct interpretation in terms of the fraction of cities accounting for the majority of the population and captures the asymmetry of this distribution. These complementary measures allow for a detailed understanding of the structure of city systems. As stated above, the Gini and Zanardi indices were originally developed to quantify income and wealth inequality but can be applied to any form of inequality. In this study, they are used to quantify the city population distribution using data from the demographic Brazilian censuses from the years of 1872 to 2022.
Hierarchy in urban areas
The concept of hierarchy in urban systems has been studied in geography and urban economics in relation to scaling laws and self-organization. Scaling approaches show that urban systems exhibit self-similar patterns in spatial and temporal scales [11]. In this context, the Zipf law can be interpreted as a representation of hierarchical organization, where cities are distributed across levels following scaling relations [32]. These patterns are associated with urban growth, spatial interaction and resource allocation, contributing to the emergence of power-law distributions in city sizes. Empirical studies show that the relation between population, urban area and number of cities can be described through scaling and allometric relations [11]. The Zipf law can be used to describe the distribution of city sizes within a region and this distribution reflects how urban area is filled based on a rank-size rule [32]. The hierarchical structure of cities can be mathematically described using exponential equations that relate urban area and rank [11], expressed as:
Where denotes the rank (ordinal number from bottom to top), , and represent the number of cities, the number of people and urban area of rank , respectively. , , and represent the number of cities, the number of people and urban area at the bottom order, respectively, with additional condition . The quantities , , and are defined as the following ratios:
is the class number ratio of cities,
is the population size ratio, and
is the urban area ratio. These equations model the cascade structure of urban hierarchies.
The relationship between urban area and the number of cities can be described by a power-law scaling relation of the form , or equivalently, , where can be interpreted as the fractal dimension associated with urban area. In double logarithmic plots this relation appears as a straight line, indicating a fractal scaling within urban hierarchies [11]. Thus, the Zipf law indicates hierarchical structures within urban systems. These structures can be modeled through exponential equations and power-law relationships, providing insight into the scaling and self-similarity observed in urban area distributions [32] [11]. In addition, the relationship between urban area and population can be mathematically expressed with:
where is the urban area, is the population, and and are constants [11].
Allometry refers to the study of how different quantities scale with each other [11]. In this context, the scaling exponent in Eq. (27) quantifies how urban land area grows in relation to population growth and reflects different types of urban land use, whether intensive or extensive, concentrated or dispersed. If , it indicates positive allometry, meaning urban land area grows at a faster rate than population. This suggests that per capita land area increases as a city becomes larger. If , it indicates negative allometry, meaning urban land area grows at a slower rate than population. This implies that per capita land area decreases as a city becomes larger. If , it indicates isometric scaling, meaning urban area and population grow at the same rate, and per capita land area remains constant. In summary, the allometric exponent in Eq. (27) characterizes how urban area scales with population, distinguishing between intensive land use (negative allometry), extensive land use (positive allometry) and proportional growth (isometric scaling) [32] [11].
Brazilian city data
The Brazilian Institute for Geography and Statistics (IBGE) conducts official censuses primarily through national field operations usually every ten years. In order to collect detailed data on demographics, education, employment, housing and migration, trained agents visit all households in Brazil, both urban and rural areas, including regions hard to reach. The information selected for the present analysis was the number of people per city based on census data from the years 1872, 1900, 1920, 1940, 1950, 1960, 1970, 1980, 1991, 2000, 2010 and 2022. The methodology used to process and analyze these data is described in this chapter, including the application of logarithmic binning and the identification of the Gompertz and Zipf segments. In addition, data on urbanized and total areas only available for the 2022 census were assessed to investigate scaling relations between population size and city area.
Population from the 2022 census
According to the 2022 census in Ref. [1], Brazil has 5,570 cities with 203,080,756 people in total. Figure 8 shows the population per city, ordered by its official IBGE city code. For analytical purposes, these data were grouped into bins whose sizes grow in accordance with the expression below [12], in order to lessen statistical fluctuations present at the tail of the CCDF distribution. This process was continued up to the 14th bin, corresponding to the point where only one city remains above the lower bound of the bin:
Figure 8. Each bar in the graph represents the population of one of the 5,570 cities in Brazil according to the 2022 census. The cities are ordered along the x-axis by their official IBGE city codes, which are unique numerical identifiers assigned to each municipality, while the y-axis shows the population, summing up to 203,080,756 people.
where represents the upper bound of the -th bin and is the minimum value of , namely the population of the city with the least people minus 1. The term makes the width of each bin double as increases. This method is called logarithmic binning, where the bin widths increase exponentially. Logarithmic binning is used to reduce statistical fluctuations that arise primarily at the tail of a distribution, because in many real-world data sets the number of observations decreases as the variable increases leading to noisy tails in histograms. Logarithmic binning addresses this problem by grouping data into increasingly larger intervals, thus smoothing out the fluctuations, as seen in Figure 3.
The 2022 Brazilian census has that refers to the city of Serra da Saudade in Minas Gerais, whose population was counted as being formed by only 833 people, the smallest in Brazil. Then, the bins are:
and so on. The logarithmic binning technique is particularly useful when analyzing power-law distributions or other data where the frequency of observations decreases rapidly with increasing values. The first bin refers to all 5,570 cities because every city has at least 832 inhabitants. The second bin expresses that 5,522 cities have at least 1,664 people each, and so on for the following bins.
In a log-log plot of city size distribution, where the axes represent versus , a straight line suggests that the distribution follows a power law, which is closely related to the Zipf law [7]. However, Figure 9, a plot of versus , shows that the initial part of the distribution is not exponential, since an exponential function would appear as a straight line on a – scale. Therefore, a double-exponential form was tested to fit the data, following the same approach used in Gompertz income analysis [6]. The Gompertz function captures a higher degree of inequality compared to a simple exponential function.
Figure 9. Plot of (percentage of cities) versus (number of inhabitants), both axes using transformed variables with a linear scale. A linear fit from onward characterizes the Zipf segment. The value represents the average city population, obtained by dividing the total population by the number of cities.
In order to determine the lower limit of the Zipf law, that is, the point from which a line can be fitted using the Least Squares Method, a separate evaluation was made using a plot of versus inhabitants number, as shown in Figure 10, where Python is used to determine the range over which the data produces the best linear fit, quantified by the maximum coefficient of determination , subject to the boundary condition that the y-intercept equals since the y-axis assumes values strictly above zero up to 100. The Least Squares Method minimizes the sum of squared residuals between the observed data and the fitted model. This method is used in the analysis of power-law and exponential distributions due to its simplicity [2]. The quality of the fit is evaluated through the coefficient of determination, which measures the proportion of variance of the model. Values of closer to 1 indicate a better agreement between the model and the empirical data.
Figure 10. Plot with a linear scale on the -axis and a double natural logarithm transformation on the -axis. The y-intercept boundary condition reveals the Gompertz segment to extend up to . The value represents the average city population, obtained by dividing the total population by the number of cities.
The results indicate that the best fit separates the data at bin number 6, corresponding to the cutoff people and . That means that every city with at least 26,624 inhabitants will be fitted into the Zipf law in the second segment, and every city with less than that will be fitted into a Gompertz distribution in the first segment as shown in Figure 9 and Figure 10. The value displayed in the figures corresponds to the average city population, obtained by dividing the total population by the number of cities, and differs from the cutoff , which marks the transition between the Gompertz and Zipf segments.
Logarithmic binning
As seen in § 6.1, Eq. (28) groups the 2022 census data into 14 bins, which may be viewed as a small number providing few data points. When the base in is too close to 1, the resulting lacunae regions add no new points to the CCDF, causing adjacent points to become indistinguishable. Conversely, a larger base produces fewer points. In this context, the objective is to identify a binning configuration that provides a sufficient number of data points for a reliable determination of the cutoff between the Gompertz and Zipf segments, and to indicate whether or not the cutoff value is actually independent of binning. Therefore, the base was varied within the interval 1.13 – 1.31, from which 10 equally spaced candidate values were selected. These 10 alternative bases were then tested to generate more CCDF points, according to the following set of equations:
and so forth, resulting in the amount of data points shown in Figure 11.
Figure 11. Number of points generated for the 10 logarithmic base options using the 2022 census data.
When the 2022 census data is grouped using a different logarithmic binning base, the cutoff that separates the Gompertz segment and the Zipf segment changes, as displayed in Figure 12. The base option closest to the mean in Figure 12 along with the number of points in Figure 11 justifies the use of the expression for all other censuses. The population and the number of cities below the cutoff for each option of base correspond to the Gompertz segment, whereas the population and the number of cities above the cutoff are related to the Zipf segment, as can be seen in Figure 13 and Figure 14.
Figure 12. Cutoff separates the Gompertz segment from the Zipf segment and the best is defined as the one closest to the mean.
Figure 13. Population below and above the cutoff , corresponding to the Gompertz segment and the Zipf segment, respectively, for each option of logarithmic binning base: 2022 census data.
Figure 14. Number of cities below and above the cutoff , corresponding to the Gompertz segment and the Zipf segment, respectively, for each option of logarithmic binning base: 2022 census data.
150 years of city population
The maps in Figure 15 and Figure 16 depict the difference in Brazil’s total city population in 1872 and 2010, as documented by the IBGE. These maps are part of a series demonstrating populational changes over time. A comparison between the two maps shows an increase in the number of cities with larger populations, as well as change in the overall area of the country with the acquisition of new territory in the west that formerly belonged to Bolivia. In the earlier period, population was concentrated in fewer locations, while in the later period the distribution becomes more dispersed, although still uneven. This visual evidence suggests an expansion in the number of cities and a change in the distribution profile, which motivates a quantitative analysis of how population is distributed among cities in different censuses.

Figure 15. Brazilian city size distribution map in 1872. The darker areas on the map represent a city population range of 100,001 to 274,972 people and the lighter areas symbolize a city population up to 5,000 people. Figure taken from Ref. [9, p. 33].

Figure 16. Brazilian city size distribution map in 2010. The darker areas on the map represent a city population range of 500,001 to 11,244,369 people and the lighter areas symbolize a city population up to 5,000 people. Figure taken from Ref. [9, p. 43].
The 2022 IBGE census can be downloaded from Ref. [1] as tabulated data, however, the 1872, 1900, 1920, 1940, 1950, 1960, 1970, 1980, 1991, 2000 and 2010 data in Ref. [9] needed a digital treatment before it could be analyzed with the Python computing language, since the data of these years are given in PDF files. Figure 17 illustrates an excerpt from the originally printed IBGE publication [9]. Since city population data for the first censuses were only available in book format, the numerical values were extracted using a PDF digitization process with the online tool Tabula available at tabula.technology, in which the tables were converted into a structured spreadsheet format, as shown in Figure 18. This procedure allowed the historical population data to be systematically organized and used in the statistical analyses presented in this work.

Figure 18. Extract from the digitalized IBGE data part of the book in Ref. [9].
| Código | Município | População em 1872 | População em 1872 | População em 1872 | População total 1900 | População total 1920 | População em 1940 | População em 1940 | População em 1940 | População em 1950 | População em 1950 | População em 1950 |
| Código | Município | Total | Livre | Escrava | População total 1900 | População total 1920 | Total | Urbana | Rural | Total | Urbana | Rural |
| 1301803 | Ipixuna | - | - | - | - | - | - | - | - | - | - | - |
| 1301852 | Iranduba | - | - | - | - | - | - | - | - | - | - | - |
| 1301902 | Itacoatiara | 2 569 | 2 487 | 82 | 5 341 | 17 842 | 23 924 | 4 741 | 19 183 | 30 102 | 5 867 | 24 235 |
| 1301951 | Itamarati | - | - | - | - | - | - | - | - | - | - | - |
| 1302009 | Itapiranga | - | - | - | - | - | 3 200 | 176 | 3 024 | 3 688 | 490 | 3 198 |
Table 17. Extract from the IBGE book [9] showing the data before digitalization.
150 YEARS OF CITY POPULATION
The same data analysis presented in § 6.1 was executed for the other Brazilian censuses. Figure 19 and Figure 20 show the population and the number of cities in each census, respectively. Figure 21 displays the population on the vertical axis versus the number of cities on the horizontal axis for each census. The growth rates of the population and of the number of cities do not increase at the same pace. There was a burst of growth in city numbers from 1950 to 2000, and another burst in population growth from 2000 to 2022 while the number of cities changed only slightly, as shown in Figure 21.
Figure 19. Brazilian population in every census for the span of 150 years.
Figure 20. Number of cities in Brazil for every census within a 150 years span.
Figure 21. Evolution of population versus number of cities in Brazil from 1872 to 2022. Numbers above each bullet refer to the census year.
In addition to the synthetic inequality indices discussed in § 5.3, an alternative way to describe concentration can be obtained through the population shares accumulated by the upper percentiles of the city hierarchy, following the approach popularized by Thomas Piketty in the analysis of income and wealth inequality [33]. This approach examines the top decile (10%), top centile (1%) and top thousandth centile (0.1%) separately in order to characterize the concentration structure of a society [21]. As discussed by Ribeiro in Ref. [21], Piketty preferred the use of distribution tables and percentile groups instead of relying exclusively on synthetic indices such as the Gini coefficient, because percentile shares provide a more intuitive description of how strongly income and wealth are concentrated at the top of the hierarchy.
In the present work, the same idea is adapted from the context of income distributions to the distribution of population among cities. Instead of measuring the share of total income appropriated by the richest individuals, the analysis measures the share of the Brazilian population concentrated in the top 10%, top 1% and top 0.1% most populous cities for each census. These quantities are obtained by ordering cities according to their population sizes and computing the cumulative population shares associated with the top percentiles of the city hierarchy, which are equivalent to the information represented by the Lorenz curve. They provide an alternative visualization of population concentration over time, as shown in Figure 22 and Table 2. The results indicate a strong historical increase in concentration within the Brazilian city system. The share of the total population living in the top 10% most populous cities increased from 32.06% in 1872 to 65.85% in 2022, while the share concentrated in the top 1% increased from 8.32% to 32.35%. Similarly, the top 0.1% most populous cities increased their population share from 2.77% to 13.61%. The strongest acceleration occurs mainly after 1950, reflecting the expansion of large cities during the process of urbanization and metropolitan growth in Brazil. This procedure allows the long-term evolution of concentration in the Brazilian city system to be examined in a manner analogous to the historical analyses of inequality performed by Piketty for income and wealth distributions.
Figure 22. Share of the Brazilian population concentrated in the top 10%, top 1% and top 0.1% most populous cities for each census between 1872 and 2022. The curves are analogous to the percentile concentration measures used by Piketty in the study of income and wealth inequality, but applied here to the distribution of population among cities.
| Year | Top 10% population share (%) | Top 1% population share (%) | Top 0.1% population share (%) |
| 1872 | 32.06 | 8.32 | 2.77 |
| 1900 | 36.62 | 11.62 | 6.41 |
| 1920 | 34.95 | 12.14 | 5.68 |
| 1940 | 35.72 | 14.09 | 7.51 |
| 1950 | 39.05 | 16.61 | 8.85 |
| 1960 | 45.69 | 21.55 | 11.24 |
| 1970 | 52.21 | 27.42 | 13.39 |
| 1980 | 57.69 | 30.85 | 14.17 |
| 1991 | 60.71 | 31.93 | 14.29 |
| 2000 | 64.09 | 33.55 | 14.82 |
| 2010 | 65.04 | 33.31 | 14.48 |
| 2022 | 65.85 | 32.35 | 13.61 |
Table 2. Share of the Brazilian population concentrated in the top 10%, top 1% and top 0.1% most populous cities for each census between 1872 and 2022.
Figure 23 reveals that each census has its own range of cutoff from which the Zipf power law begins to apply. For the 2022 data, the chosen expression for logarithmic binning is Eq. (33) because it generates a significant number of points and has cutoff closest to the mean. Therefore, to maintain consistency, each of the 12 censuses have their data organized according to Eq. (33) as well. The individual cutoffs are shown in Figure 24, with values ranging from 0.980 to 0.999 across all censuses, indicating an excellent fit for the selected thresholds in all periods. The censuses remain internally consistent with respect to binning, as can be seen in Figure 23 where each census exhibits a well defined range of variation for the cutoff . These variations may reflect changes over time in the way the IBGE conducts its data collection.
Figure 23. Cutoff for the 12 censuses studied with 10 options of logarithmic binning base, showing consistent results across binning choices, suggesting that the estimates are robust to the binning selection.
Figure 24. Cutoff shows the minimum population of a city in the Zipf segment for the 12 censuses studied with logarithmic binning base 1.15.
As displayed in Figure 25, the recorded minimum population differs across censuses, with most censuses showing consistent minimum values, except for 1920 and 1940, which present discrepancies. Figure 24, Figure 26, Figure 27, Figure 28 and Figure 29 are related to the logarithmic binning base 1.15 and show, for each census, respectively, the cutoff , the total number of points, the number of points per segment, the population and the number of cities in each segment Gompertz-Zipf. The numbers of points in Figure 26 range from 37 to 60, and the numbers of points per segment in Figure 27 range from 10 to 39, which are enough to perform a linear regression fit. Furthermore, Figure 28 exhibits a large population growth in the Zipf segment and a more moderate population growth in the Gompertz segment. In contrast, Figure 29 shows that the number of cities in the Gompertz segment increases more than the number of cities in the Zipf segment.
Figure 25. Evolution of the minimum population versus the number of cities registered in Brazil from 1872 to 2022.
Figure 26. Number of points when using the logarithmic binning base 1.15 to organize the data of each of the 12 censuses.
Figure 27. Number of points in the Gompertz and the Zipf segments when using the logarithmic binning base 1.15 to organize the data of each of the 12 censuses.
Figure 28. Total population in the Gompertz segment ( cutoff) and total population in the Zipf segment ( cutoff) for each census.
Figure 29. Number of cities in the Gompertz segment ( cutoff) and number of cities in the Zipf segment ( cutoff) for each census.
Urban area from the 2022 census
The data used to study urban areas were collected from 01 January 2019 to 20 July 2022 and can be found in Ref. [34]. Urbanized areas, as defined by the IBGE, were mapped using Sentinel-2 satellite images, classifying them as dense or low-density with subcategories like urban facilities and intra-urban voids. These urbanized areas include neighborhoods, streets, residential complexes, urban parks and vacant lots, while excluding rural zones, forests, rivers and agricultural areas [35, 36].
Following Ref. [11], Table 3 illustrates the hierarchical structure and scaling relationships within urban systems, where the class represents the hierarchical level of cities, indicates the number of cities belonging to the class , shows the average population size of cities in the class , displays the average urban area of cities in the class , and represents the average total area of cities in the class . The cities were grouped into classes following a top-down cascade structure, in which the largest city in terms of population, São Paulo, composes the first class , the next two largest cities, Rio de Janeiro and Brasília, form the second class , the following four cities, Fortaleza, Salvador, Belo Horizonte and Manaus, form the third class , and so on, in a non-cumulative manner, with the number of cities doubling at each level . The last class contains the remaining cities when the total number of cities is not an exact power of 2, as shown in the final row of the second column of Table 3. For each class, the average population , the average urban area , and the average total area were computed from the cities belonging to that class. The data from Table 3 are organized to describe the hierarchical structure of cities and the associated measures of population and urban area. The analysis of the scaling relations derived from these data will be presented in the next chapter.
| Class | Number of cities | Average population | Average urban area (km) | Average total area (km) |
| 1 | 1 | 914.564400 | 1521.202000 | |
| 2 | 2 | 615.276550 | 3480.556500 | |
| 3 | 4 | 250.268950 | 3184.560250 | |
| 4 | 8 | 213.865850 | 579.274500 | |
| 5 | 16 | 131.471506 | 1430.638438 | |
| 6 | 32 | 91.272734 | 2175.307375 | |
| 7 | 64 | 65.229417 | 1743.645422 | |
| 8 | 128 | 40.142064 | 2828.483086 | |
| 9 | 256 | 23.837535 | 3316.254426 | |
| 10 | 512 | 12.616479 | 3259.010869 | |
| 11 | 1024 | 6.344016 | 2268.322653 | |
| 12 | 2048 | 2.908502 | 1144.223381 | |
| 13 | 1475 | 1.176278 | 489.241612 |
Table 3. Hierarchy of the 5,570 cities in Brazil organized into classes following a cascade structure , where is the number of cities, is the average population, is the average urban area, and is the average total area in each class for 2022.
Modeling the Brazilian city size distribution
As previously discussed, this study aims to test the validity of the Gompertz and Zipf distributions in their ability to describe Brazilian cities. The code created for this analysis was developed by this author, and is available at github.com/s-teles. The 2022 census results presented in Sec. 3.1 serve as an introductory example, while Sec. 3.1.1 introduces alternative logarithmic binning bases to generate more points for the analysis. Subsequently, Sec. 3.2 contains the final research results for the censuses from 1872 to 2022 using this chosen logarithmic binning base.
Gompertz-Zipf population distribution: 2022 census
The city size distribution plot in Figure 9 shows the relationship between and revealing two distinct segments. For cities having fewer than 26,624 inhabitants (first segment), the distribution can be represented by a Gompertz function, capturing the gradual decline in the proportion of smaller cities. For cities having at least 26,624 inhabitants (second segment), the distribution can be described by the Zipf law, as indicated by the linear behavior of a power-law function.
The linear regression graph of the Gompertz CCDF, plotted with the number of inhabitants on the horizontal axis and on the vertical axis, resulted in a straight line with a negative slope equal to the estimated parameter . The fitted model confirms that as city size increases, the proportion of cities exceeding a given population declines at a rate governed by the magnitude of . Since , larger absolute values of correspond to a steeper decline, meaning fewer large cities, whereas smaller absolute values correspond to a more gradual decrease. The linear fit in Figure 30 supports the Gompertz distribution’s applicability in modeling city size distribution, particularly for smaller cities, in this case, cities with fewer than 26,624 people. To determine the power-law relationship in the Zipf segment of a city size distribution, linear regression using the least squares method was applied to a plot of versus [37] [7, 12]. As shown in Figure 31, a straight-line fit was performed for the second segment which encompasses cities with at least 26, 624 inhabitants and was found to follow the Zipf law. To reduce statistical fluctuations, particularly in the tail of the distribution, logarithmic binning was employed, grouping data into increasingly larger intervals as discussed in § 6.2 above [2, 12].
Figure 30. The first segment of the 2022 census data for cities having fewer than 26,624 people can be represented by a Gompertz distribution. The linear regression is where these five points make closest to and is the slope of the function. Since the fitted line has negative slope then .
Figure 31. The second segment of the 2022 census data for cities having 26,624 people or more can be represented by the Zipf law. The linear regression is where is the Y intercept. The estimated values are and the slope is so the Zipf exponent is .
The Gini, Pietra, Kolkata and Zanardi indices were used to analyze the city population distribution based on the 2022 Brazilian census data. Figure 32 shows that the Gini coefficient results in and the Zanardi index is , obtained using logarithmic binning base 2, as defined in Eq. (28), following the procedure adopted by Eq. (7) in Ref. [12]. These values indicate a high concentration of population in the entire distribution along with a small asymmetry between the upper and lower segments. Since , the asymmetry is oriented towards larger cities, indicating that inequality is slightly more concentrated in the upper tail. The combination of a high Gini coefficient and a positive Zanardi index portrays a highly concentrated system in which large cities account for a substantial share of the population.

Figure 32. Lorenz curve with Kolkata, Gini and Zanardi indices for the 2022 census dataset (see § 5.3). The estimated parameters are related to the logarithmic binning base 2 as in Eq. (28). These results are presented as an example, since the standard historical comparison throughout the dissertation uses another logarithmic binning base, as will be seen next in § 7.2.
While confirms the overall high level of concentration, reveals that the direction of this imbalance favors larger cities, providing a more complete description of the distribution.
The area under the Lorenz curve in Figure 32 was numerically calculated from a monotonic cubic spline interpolation of the empirical data using the trapezoidal rule applied to a dense grid of interpolated points. Because the Lorenz curve is not represented by a single global polynomial, the interpolation generates a sequence of local cubic polynomials defined over consecutive intervals of the empirical data. In the present case, the interpolation produced thirteen cubic polynomials, corresponding to the number of intervals between the fourteen empirical points of the Lorenz curve. Each polynomial describes only a restricted portion of the curve and is smoothly connected to neighboring segments, ensuring continuity and preserving the monotonic behavior expected for cumulative distributions. This piecewise construction provides a stable numerical representation of the Lorenz curve for calculating the Gini, Kolkata and Zanardi indices.
The empirical results can be compared with previous studies on city size distributions and inequality measures. For Brazil, Ref. [12] reports a Zipf exponent close to 2, whereas the estimated value in this study is , indicating a steeper decay in the tail. Deviations from a single power-law behavior are consistent with the findings of Ref. [5], which show that the distribution of city sizes cannot be fully described by a pure Zipf law. This supports the use of a combined Gompertz–Zipf distribution, in line with Ref. [6], where the majority and the tail of the distribution follow different functions. For inequality, Ref. [29] reports Gini coefficients typically in the range 0.5 to 0.7, whereas the result obtained here is , indicating a higher level of concentration. In terms of asymmetry, Ref. [28] reports Zanardi index values typically close to zero for income distribution, with most observations lying within , whereas the result obtained here is , indicating a comparatively low level of asymmetry, although this comparison should be interpreted with caution since the referenced study concerns income distributions, while the present result is based on city size distributions.
Gompertz-Zipf alternative logarithmic binning: 2022 census
To evaluate the sensitivity of the Gompertz–Zipf distribution to different logarithmic binning bases, this section compares the results obtained from 10 base values (1.13, 1.15, 1.17, 1.19, 1.21, 1.23, 1.25, 1.27, 1.29, 1.31) in for the 2022 census data, as described in § 6.2. The goal is to assess the robustness of the estimated parameters and the stability of the Gompertz and Zipf regimes with respect to the choice of logarithmic binning base. Figure 33 and Figure 34 show the linear fits of the Gompertz and Zipf segments, while Figure 35 displays the corresponding Lorenz curves.
Figure 33. The linear regression for the 10 logarithmic binning base options of the 2022 data is where this set of points makes closest to and is the slope of the function.
Figure 34. The linear regression for the 10 logarithmic binning options of the 2022 data is where is the Y intercept. The estimated values for the Zipf exponent are .
Figure 35. Lorenz curves for the 10 logarithmic binning options of the 2022 data. Despite small visual differences caused by the logarithmic binning choices, the corresponding inequality measures remain highly stable across all bases. The relative variations are only 0.006% for the Kolkata index , 0.012% for the total Gini index , and 0.46% for the Zanardi index .
The inequality measures derived from the Lorenz curves are summarized in Figure 36 and Figure 37, which present the Gini and Zanardi indices for each base. Throughout all logarithmic binning bases, the results remain consistent. The inequality measures in Figure 36 and Figure 37 further confirm that the overall shape of the Lorenz curves is robust to the choice of logarithmic binning base. Across all bases, the relative variation given by is only 0.012% for the Gini index and 0.46% for the Zanardi index, despite the apparent visual differences caused by the axis scales. Additionally, the estimated Gompertz intercepts and slopes are shown in Figure 38 and Figure 39, whereas the Zipf intercepts, slopes, and resulting Zipf power-law exponents are illustrated in Figure 40, Figure 41, and Figure 42. Figure 38 and Figure 39 show that the Gompertz parameters and exhibit only minor fluctuations across binning choices, indicating stable behavior in the small-city segment. Using the relative variation, the intercept changes by only 0.24% across all bases, while the slope varies by 5.50%. In the Zipf segment, the intercepts and slopes displayed in Figure 40 and Figure 41 also vary only slightly and the Zipf exponents in Figure 42 remain within a narrow range. The relative variation is 3.01% for the intercept , 3.04% for the slope , and 1.72% for the Zipf exponent . These findings demonstrate that the conclusions drawn from § 7.1 are independent of a particular binning choice, but instead reflect the properties of the Brazilian city size distribution for both small and big cities.
Figure 36. is the Gini index for the 2022 data options of logarithmic binning base. is the Gini index for the upper part of the Lorenz curve related to the bigger cities and is the Gini index for the lower part of the Lorenz curve related to the smaller cities. The relative variation across all logarithmic binning bases is 0.012% for , 0.021% for the small-city Gini index and 0.025% for the big-city Gini index , confirming the stability of the inequality measurements despite changes in the logarithmic binning procedure.
Figure 37. Zanardi index for the 2022 data options of logarithmic binning base. The relative variation across all logarithmic binning bases is 0.46%, indicating that the asymmetry between the big-city and small-city segments remains nearly unchanged for different logarithmic binning choices.
Figure 38. Gompertz segment y-intercepts for each option of logarithmic binning base: 2022. The relative variation of the Gompertz intercepts is only 0.24% across all logarithmic binning bases.
Figure 39. Gompertz segment slopes for each option of logarithmic binning base: 2022. The relative variation of the Gompertz slopes is 5.50% across all logarithmic binning bases.
Figure 40. Zipf segment y-intercepts for each option of logarithmic binning base: 2022. The relative variation of the Zipf intercepts is 3.01% across all logarithmic binning bases.
Figure 41. Zipf segment slopes for each option of logarithmic binning base: 2022. The relative variation of the Zipf slopes is 3.04% across all logarithmic binning bases.
Figure 42. Zipf exponents for each option of logarithmic binning base: 2022. The relative variation of the Zipf exponents is only 1.72% across all logarithmic binning bases.
Gompertz-Zipf population distribution: 1872-2022 censuses
Gompertz-Zipf population distribution: 1872-2022 censuses
The data from Refs. [1] and [9] include censuses for the years of 1872, 1900, 1920, 1940, 1950, 1960, 1970, 1980, 1991, 2000, 2010 and 2022, that is, a data window spanning 150 years. Using these twelve censuses, the long-term applicability of the Gompertz–Zipf distribution is assessed. The Gompertz linear regressions are shown in Figure 43 and the Zipf linear regressions appear in Figure 44 showing that the Gompertz–Zipf distribution can describe the Brazilian city-size distribution across all censuses analyzed, with cutoffs between the segments reported in Table 4.
| Census year | Cutoff |
| 1872 | 20,216 |
| 1900 | 28,793 |
| 1920 | 52,461 |
| 1940 | 82,035 |
| 1950 | 92,765 |
| 1960 | 102,857 |
| 1970 | 72,592 |
| 1980 | 73,612 |
| 1991 | 32,652 |
| 2000 | 30,059 |
| 2010 | 26,467 |
| 2022 | 20,710 |
Table 4. Cutoff values obtained for each of the twelve Brazilian censuses from 1872 to 2022, used to separate the Gompertz and Zipf segments.
Figure 43. The Gompertz linear regression for the 12 censuses is where this set of points makes closest to and is the slope of the function.
Figure 44. The Zipf linear regression for the 12 censuses is where is the Y intercept. The estimated values for the Zipf exponent are .
The Gompertz parameters and are documented in Figure 45 and Figure 46 for the small-city segment. As seen by the oscillations on the y-axis of Figure 46 and in Table 5, the values of the linear coefficient have relative variation of approximately 46%, indicating periods with faster decreases and periods with slower decreases in the number of cities within the less populated segment as population increases. For the intercept , the relative variation is approximately 7.5%. Excluding the 1940 census, this variation decreases to approximately 3.3%, reinforcing that the 1940 value is noticeably separated from the remaining censuses. In contrast to the oscillation of , the intercept shows a noticeable peak in 1940. This peak in 1940 may be related to the higher minimum population observed in that census, as shown in Figure 25, where 1940 presents the largest minimum value among all censuses, indicating a shift in the lower bound of city sizes that can affect the intercept estimation. Further investigation would be required to confirm this effect.
Figure 45. Gompertz segment y-intercepts in the expression from 1872 to 2022.
Figure 46. Gompertz segment slopes in the expression from 1872 to 2022.
| Year | A | B |
| 1872 | ||
| 1900 | ||
| 1920 | ||
| 1940 | ||
| 1950 | ||
| 1960 | ||
| 1970 | ||
| 1980 | ||
| 1991 | ||
| 2000 | ||
| 2010 | ||
| 2022 |
Table 5. Estimated Gompertz parameters and obtained from linear regressions for each Brazilian census from 1872 to 2022. The fits follow , where is the y-intercept and is the slope. Reported uncertainties correspond to the standard errors of the linear fits.
Correspondingly, the Zipf intercepts, slopes and power-law exponents are shown in Figure 47, Figure 48 and Figure 49, respectively. The Zipf exponent decreases from in 1872 to in 2022, indicating an increasing presence of very populous cities, while the parameters become stable after 1960. Using the values reported in Table 6, the relative variation across all censuses is approximately 53% for the intercept , 53% for the slope , and 39% for the Zipf exponent . However, after 1960 the values become much more stable, with the relative variation of the exponent remaining below 4%. The numerical values of the fitted parameters for both segments are summarized in Table 5 and Table 6. These tables allow a direct comparison of the temporal evolution of the Gompertz and Zipf parameters, highlighting the oscillations of the Gompertz parameter throughout the period and the stabilization of the Zipf parameters after the mid-20th century, when the Zipf exponent becomes nearly constant.
Figure 47. Zipf segment y-intercepts in the expression from 1872 to 2022.
Figure 48. Zipf segment slopes in the expression from 1872 to 2022.
Figure 49. Zipf power-law exponents in the expression from 1872 to 2022.
| Year | |||
| 1872 | |||
| 1900 | |||
| 1920 | |||
| 1940 | |||
| 1950 | |||
| 1960 | |||
| 1970 | |||
| 1980 | |||
| 1991 | |||
| 2000 | |||
| 2010 | |||
| 2022 |
Table 6. Estimated Zipf parameters obtained from linear regressions for each Brazilian census from 1872 to 2022. The fits follow , where is the slope and the y-intercept. The corresponding power-law exponent is . Reported uncertainties correspond to the standard errors of the linear fits.
GOMPERTZ-ZIPF POPULATION DISTRIBUTION: 1872-2022 CENSUSES
GOMPERTZ-ZIPF POPULATION DISTRIBUTION: 1872-2022 CENSUSES
The Lorenz curves are presented in Figure 50 and the inequality measures across censuses are summarized by the Gini indices in Figure 51 and by Zanardi indices in Figure 52, offering a century-and-a-half view on concentration and asymmetry in the Brazilian city system. The Gini indices in Figure 51 show increasing population distribution inequality after 1940, even within the less-populated-city segment , while the Zanardi index in Figure 52 is negative in 1872 and positive in all subsequent censuses, indicating that the asymmetry shifted from a slight predominance of inequality in the small-city segment in 1872 to a greater concentration of population in the group of more populated cities after 1900. The magnitude of decreases after 1970, declining from 0.030 in 1970 to 0.018 in 2022. This suggests that, although the asymmetry between the two segments remains predominantly positive in favor of the big-city segment after 1900, the rate at which this imbalance intensifies has become less pronounced over time, indicating a slower growth of population inequality, reflecting the fact that concentration remains higher in larger cities than in smaller ones within the city-size distribution. Table 7 complements these results by reporting the values of the inequality measures for each census year. It shows that the concentration, measured by , exhibits an overall increase over time, while the asymmetry measured by changes from a slightly negative value in 1872 to positive values afterward, while the Kolkata index shifts towards higher values, indicating that an increasingly smaller fraction of cities accounts for most of the population.
Figure 50. Lorenz curves for the Brazilian city size distribution across the censuses from 1872 to 2022. Each curve represents the cumulative share of population as a function of the cumulative share of cities, showing an increasing deviation of the interpolated Lorenz curves from the line of equality over time and thus the increase in concentration.
Figure 51. Temporal evolution of the Gini indices for the full distribution , for the big-city segment and for the small-city segment from 1872 to 2022, showing a sustained increase in overall concentration throughout the period.
Figure 52. Temporal evolution of the Zanardi index from 1872 to 2022, indicating that the asymmetry is slightly negative in 1872 and positive in all subsequent censuses, meaning that inequality becomes more concentrated in the big-city segment after 1900.
| Year | error | error | ||||||||
| 1872 | 0.439 | 0.437 | 0.441 | 31.893 | 32.925 | 3.23% | −0.002 | 65.894 | 66.463 | 0.86% |
| 1900 | 0.475 | 0.492 | 0.458 | 34.683 | 35.625 | 2.72% | 0.016 | 67.250 | 67.812 | 0.84% |
| 1920 | 0.448 | 0.465 | 0.430 | 32.167 | 33.600 | 4.46% | 0.018 | 66.020 | 66.800 | 1.18% |
| 1940 | 0.436 | 0.466 | 0.406 | 30.867 | 32.700 | 5.94% | 0.031 | 65.267 | 66.350 | 1.66% |
| 1950 | 0.480 | 0.510 | 0.451 | 34.070 | 36.000 | 5.67% | 0.027 | 66.894 | 68.000 | 1.65% |
| 1960 | 0.552 | 0.588 | 0.516 | 39.915 | 41.400 | 3.72% | 0.027 | 69.803 | 70.700 | 1.28% |
| 1970 | 0.610 | 0.656 | 0.564 | 45.213 | 45.750 | 1.19% | 0.030 | 72.281 | 72.875 | 0.82% |
| 1980 | 0.661 | 0.708 | 0.615 | 49.988 | 49.575 | 0.83% | 0.027 | 74.628 | 74.787 | 0.21% |
| 1991 | 0.684 | 0.733 | 0.635 | 52.472 | 51.300 | 2.23% | 0.026 | 75.770 | 75.650 | 0.16% |
| 2000 | 0.714 | 0.760 | 0.668 | 55.415 | 53.550 | 3.37% | 0.023 | 77.261 | 76.775 | 0.63% |
| 2010 | 0.725 | 0.768 | 0.683 | 56.508 | 54.375 | 3.77% | 0.020 | 77.850 | 77.188 | 0.85% |
| 2022 | 0.733 | 0.772 | 0.694 | 57.395 | 54.975 | 4.22% | 0.018 | 78.342 | 77.487 | 1.09% |
Table 7. Values of the Gini index , the big-city and small-city Gini indices and , the Pietra index , the approximate Pietra index obtained from Eq. 1.16, the absolute percentage error of relative to computed as , the Zanardi coefficient , the Kolkata index , the approximate Kolkata index obtained from Eq. 1.17, and the absolute percentage error of relative to computed as for all censuses from 1872 to 2022. The mean errors of the estimations are approximately 3.4% for and 0.9% for .
An additional measurement associated to inequality can be obtained by the maximum vertical distance between the Lorenz curve and the line of equality, defined as the Pietra index . The vertical dashed lines in Figure 50 illustrate this definition. This index quantifies the maximum deviation between the observed distribution and the equality line. Although this interpretation is mostly discussed in the context of income inequality, it is also meaningful for city size distributions, since excessive population concentration in large urban centers is associated with several social and infrastructural problems related to urban gigantism. In this sense, the Pietra index provides a complementary measure of concentration, indicating the largest vertical distance between the empirical Lorenz curve and the equality line. The values of the Pietra indices reported in Table 7 show that the distribution is far from a spatially balanced population arrangement, with ranging from approximately 31,9% in 1872 to 57,4% in 2022. These results were calculated using monotonic cubic spline interpolation in Python. As shown in Figure 26 and Figure 50, each Lorenz curve is represented by a finite set of empirical points, and the interpolation constructs a local cubic approximation between every pair of consecutive points. This procedure generates a continuous piecewise curve that preserves the monotonic increasing behavior expected for cumulative distributions without introducing artificial oscillations. The Pietra index is then obtained by determining the point of the complete interpolated Lorenz curve that is farthest from the equality line.
Moreover, a comparative Pietra index, here defined as , can be approximately estimated from the Gini coefficients with the expression given in Eq. (16), derived from the quadratic approximation proposed in [30]. This expression provides an analytical connection with the Gini coefficient, allowing an approximate estimation of the Pietra index without requiring the explicit interpolation of the Lorenz curve. Although the Gini and Zanardi coefficients already describe important aspects of concentration and asymmetry, the Pietra index adds an additional interpretation associated with redistribution and therefore complements these measures. Figure 53 compares the values of the Pietra indices and over time, showing that both measures follow similar trends throughout the analyzed period. The values of , and show an overall increasing trend over time, with fluctuations before 1950 and a more sustained increase afterward. This pattern indicates increasing concentration in city population sizes over time.
Figure 53. Comparison between the Pietra index obtained from a monotonic cubic spline interpolation of the Lorenz curve and the approximate Pietra index obtained from Eq. (16) estimated from the Gini coefficient for all Brazilian censuses from 1872 to 2022.
The Kolkata index obtained from the intersection of the Lorenz curve with the opposite diagonal increased systematically from approximately 66% in 1872 to 78% in 2022, as shown in Figure 54, indicating that the population has become progressively concentrated in a smaller fraction of cities. The index remained relatively stable between 1872 and 1950, but exhibited a sustained increase after 1950, reaching values above 70% in 1960 and continuing to rise subsequently, which suggests a connection with the accelerated industrialization process that began in Brazil around 1950. The value of in Table 7 approaching 80% in the most recent censuses is consistent with the Pareto principle, also known as the 80:20 rule, according to which approximately 80% of the population would be concentrated in 20% of the cities. This pattern was originally documented by the Italian economist Vilfredo Pareto (1848–1923) in his work Cours d’économie politique, where he observed that roughly 80% of the land in Italy was owned by 20% of the population.
Figure 54. Comparison between the Kolkata index obtained from the intersection of the Lorenz curve with the opposite diagonal and the approximate Kolkata index obtained from Eq. 1.17 estimated from the Gini coefficient for all Brazilian censuses from 1872 to 2022.
Allometry in urban areas: 2022 census data
The parameter , as defined in Eq. (27) and associated with Figure 55, is the allometric scaling exponent. It is important in this analysis because it characterizes how urban area scales with population size. Allometry refers to the study of how specific characteristics of a living organism change in relation to its overall size in terms of growth or other quantities, like metabolic ones. In urban systems, allometry describes how spatial quantities change as cities grow, allowing the assessment of land use patterns. The allometric scaling exponent is related to the fractal dimensions and by the following equation defined in Ref. [11, p. 4]:
Figure 55. The scaling patterns for the hierarchy of the 5570 cities in Brazil: 2022. Left panel: scaling relation between urban population and city number . Center panel: scaling relation between urban area and city number . Right panel: allometric relation between urban area and population .
Here, refers to the fractal dimension with respect to population and refers to the fractal dimension with respect to urban area. The comparison between and indicates whether urban land area grows faster or slower than population. The value can reflect whether urban land use is intensive or extensive. Values of imply that urban area increases at a slower rate than population, which is consistent with a more spatially compact configuration and increasing population density, as more people are accommodated per unit of urban area as cities grow [11].
Figure 55 displays the data from Table 3 (p. 43) through three scaling relations. The graph of versus illustrates the relationship between the number of cities and their average population size, following . The graph of versus shows the relationship between the number of cities and their average urban area, following . Finally, the graph of versus represents the allometric relationship between urban area and population, following the power-law relation .
From the data in Figure 55, the estimated values are , and , obtained for all Brazilian cities using the 2022 census data. These results were acquired from a Python function that tested which of several linear fits had a coefficient of determination closer to 1. The value is a statistical measure that represents the proportion of the variance in the dependent variable that can be predicted from the independent variables, and being close to 1 indicates a good fit of the model to the observed data. Ref. [11] reported the allometric scaling exponent for the USA (2000) and for China (2005), as shown in Table 8. The USA adopts the urbanized area definition, which includes high-density peripheral regions and cities with more than 50,000 people. China uses the built-up area definition, focusing on urban infrastructure but not population density and encompassing cities with more than 100,000 inhabitants. The value obtained in this study is , which lies in between these results. The Brazilian dataset includes all cities with populations greater than 833 inhabitants, which is substantially lower than the population thresholds adopted for the USA and China in Ref. [11].
| Country | Year | |||
| USA | 2000 | -0.974 | -1.213 | 0.793 |
| China | 2005 | -1.262 | -1.435 | 0.856 |
| Brazil | 2022 | -1.045 | -1.237 | 0.835 |
Table 8. Urban area results for the USA, China and Brazil. Results for the USA and China were reported in Ref. [11].
The result suggests that the Brazilian urban system in 2022 follows a sublinear allometric regime since , indicating that urban area grows more slowly than population. This behavior is consistent with increasingly dense urban configurations, where population growth is accommodated without a proportional expansion of land use. From the perspective of fractal scaling, the relation in Eq. (35) indicates that the spatial distribution of population is more concentrated than that of urban land, which is reflected in . This inequality implies that the hierarchical structure of urban areas decays faster than the hierarchical structure of population, suggesting that smaller cities occupy relatively larger areas compared to their population size, while larger cities concentrate population in smaller areas relative to their size. The comparison with the USA and China in Ref. [11] shows that all three cases in Table 8 exhibit , suggesting that sublinear scaling may be a robust property of large urban systems despite differences in definitions of urban area.
The same analysis was performed for city total area instead of city urban area . In this case, no clear scaling or allometric relation is observed between area and population, as indicated by the absence of a linear trend in the central and right plots of Figure 56 and by the values being much lower than 1. These results highlight the distinction between administrative boundaries and functional urban space. While urbanized area reflects the spatial extent of human occupation, total area includes large non-urban regions that introduce noise into the scaling behavior. This contrast indicates that in the 2022 Brazilian census data, the allometric behavior is observed only when the spatial occupation variable is considered.
Figure 56. The scaling patterns for the hierarchy of the 5570 cities in Brazil: 2022. Left panel: scaling relation between total population and city number . Center panel: lack of scaling relation between total area and city number . Right panel: lack of allometric relation between total area and population .
Conclusion
This dissertation explored the applicability of the Gompertz-Zipf distribution to describe Brazilian city size distributions in terms of population, utilizing data from the Brazilian Institute for Geography and Statistics censuses. Rather than focusing on a single dataset, this study analyzed twelve censuses spanning 150 years, from 1872 to 2022, providing a long-term perspective on the structure and evolution of the Brazilian city system. The study aimed at addressing the ongoing debate in the literature regarding the validity and robustness of the Zipf law and power-law distributions in the city size context. Our findings indicate that the Gompertz-Zipf distribution provides a statistically coherent and analytically simple representation of the city sizes, using Brazilian data as example. By dividing the distribution into two segments, a Gompertz distribution for less populated cities and a Zipf distribution for more populated cities, we were able to overcome some of the limitations associated with applying a single power-law model to the entire city size range, that requires assuming an arbitrary lower-limit population size, a practice which does not lead to a universal lower limit value and may cause sample bias. Furthermore, the application of inequality measures to city size distributions provides additional information beyond the functional forms of the distribution. The Lorenz curve and the Gini coefficient are standard in income distribution studies, while the Zanardi index and the Gompertz function have not been systematically applied to city population distributions in the literature. While the Gini coefficient quantifies the overall level of concentration, the Zanardi index captures the asymmetry of the distribution, indicating whether inequality is more pronounced in the lower or upper tail. The combined use of these measures allows a more complete characterization of the distribution.
A similar analysis made in Ref. [12] showed that the exponent of the Zipf law in Brazilian cities is for 1970 and 1980 and for 1991 and 2000. This is consistent with the present dissertation, which shows for the 2022 Brazilian cities data. The use of logarithmic binning with different bases demonstrated that the results are robust with respect to the binning choices for using a Gompertz-Zipf distribution to represent the Brazilian city system. Both the Gompertz parameters and the Zipf exponent remain stable at different binning configurations, reinforcing that the observed patterns are intrinsic properties of the Brazilian city size distribution rather than a product of the analytical methodology.
The same Gompertz-Zipf population distribution analysis was applied to 150 years of data from Refs. [1] and [9] for the Brazilian censuses of 1872, 1900, 1920, 1940, 1950, 1960, 1970, 1980, 1991, 2000, 2010 and 2022. The results show that the average Zipf exponent is , defined as the mean of all values, ranging from in 1872 to in 2022. This reduction indicates an increasing presence of very populous cities from 1872 to 2022. The relative variation of the Zipf exponent remains below 4% after 1960. These results show that the Zipf parameters become stable from 1960 onward. The parameter varies from to , which corresponds to a relative variation of approximately 46%. Since is negative, larger absolute values of indicate a faster reduction in the number of cities as population increases, whereas smaller absolute values indicate a slower reduction. The oscillations of indicate periods with faster decreases and periods with slower decreases in the number of cities within the less populated segment as population increases. With the chosen logarithmic binning base, the threshold separating these two segments exhibits good coefficients of determination ranging from to across all censuses, and varies between 20,216 and 102,857 people for the entire span of 150 years. These results reinforce the need to determine, for each census, where the Zipf law begins to hold rather than adopting an arbitrary population cutoff. Furthermore, the inequality analysis based on the Lorenz curve revealed a high level of concentration in the data. The Gini coefficient increases from in 1872 to in 2022, while the Kolkata index increases from to , indicating a long-term rise in population concentration. Similarly, the Zanardi index is slightly negative in 1872 and positive in all subsequent censuses, with its lowest value in 1872, the highest value in 1940 and in 2022, showing that the asymmetry is oriented towards more populated cities. Although the magnitude of remains relatively small, its positive sign after 1900 indicates a greater concentration of population in the group of more populated cities than in the group of less populated cities.
In addition, the analysis of urban allometry reinforces the broader relevance of scaling laws in the study of city growth. The allometric relation resulted in an exponent for the 2022 Brazilian data. Since , population grows more rapidly than urban area, indicating a sublinear allometric regime with increasing population density as cities grow. This sublinear regime means that urban area grows more slowly than population, leading to higher population density as cities grow. This finding aligns with previous results for the United States and China as reported in Ref. [11], and indicates that Brazilian cities follow similar spatial scaling patterns consistent with hierarchical and fractal urban structures. The absence of scaling relations when total area is considered instead of urban area indicates that the observed allometric behavior depends on spatial occupation.
In conclusion, this dissertation contributes to the literature by providing a comprehensive empirical analysis of the Brazilian city system over a long historical period. By combining theoretical models with extensive data, it suggests that the Gompertz-Zipf distribution offers a statistically coherent and analytically simple description of city size distributions. Moreover, the results for over 150 years make the Brazilian case a relevant example within the broader study of complex systems and scaling phenomena.
A possible future analysis is to apply the methodology presented here to other countries or regions, allowing comparative studies of city size distributions and inequality patterns, or, for a more socio-economic analysis, to connect the results presented here with Brazilian historical events.
Bibliography
References
- [21]Marcelo Byrro Ribeiro. Income Distribution Dynamics of Economic Systems: An Ecophysical Approach. Cambridge University Press, February 2020. ISBN 978-1107092532. doi: 10.1017/9781316136119.DOI
- [22]Robert L. Axtell. Zipf Distribution of U.S. Firm Sizes. Science, 293(5536):1818–1820, September 2001. ISSN 1095-9203. doi: 10.1126/science.1062081.DOI
- [23]Carla M.A. Pinto, A. Mendes Lopes, and J.A. Tenreiro Machado. A review of power laws in real life phenomena. Communications in Nonlinear Science and Numerical Simulation, 17(9):3558–3578, September 2012. ISSN 1007-5704. doi: 10.1016/j.cnsns.2012.01.013.DOI
- [24]SciPy Developers. scipy.stats.linregress. https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.linregress.html. Last accessed on 10 May 2026.
- [25]Corrado Gini. Measurement of inequality of incomes. The Economic Journal, 31(121):124, March 1921. ISSN 0013-0133. doi: 10.2307/2223319.DOI
- [26]M. O. Lorenz. Methods of measuring the concentration of wealth. Publications of the American Statistical Association, 9(70):209–219, June 1905. ISSN 1522-5437. doi: 10.1080/15225437.1905.10503443.DOI
- [27]Amartya Sen and James E. Foster. On Economic Inequality. Oxford University Press, Oxford, expanded edition edition, 1997. ISBN 0-19-828193-5.
- [28]Fabio Clementi, Mauro Gallegati, Lisa Giannmoena, Simone Landini, and Joseph E. Stiglitz. Mis-measurement of inequality: a critical reflection and new insights. Journal of Economic Interaction and Coordination, 14(4):891–921, July 2019. ISSN 1860-7128. doi: 10.1007/s11403-019-00257-2.DOI
- [29]Asim Ghosh, Nachiketa Chattopadhyay, and Bikas K. Chakrabarti. Inequality in societies, academic institutions and science journals: Gini and k-indices. Physica A: Statistical Mechanics and its Applications, 410:30–34, September 2014. ISSN 0378-4371. doi: 10.1016/j.physa.2014.05.026.DOI
- [30]Asim Ghosh and Bikas K. Chakrabarti. Relations between the inequality indices Gini, Pietra, and Kolkata: Theory and data analysis. Phys. Rev. E, 114:024302, Aug 2026. doi: 10.1103/wb7q-78gb.DOI
- [31]Fabio Clementi, Mauro Gallegati, Lisa Gianmoena, Giorgio Kaniadakis, and Simone Landini. The κ-Statistics Approach to Income Distribution Analysis. 04 2025. ISBN 9781009565592. doi: 10.1017/9781009446341.DOI
- [32]Yanguang Chen and Jiejing Wang. Recursive Subdivision of Urban Space and Zipf’s law. Physica A: Statistical Mechanics and its Applications, 2014, 395: 392-404, 2012. doi: 10.48550/arXiv.1209.5544.DOI
- [33]Thomas Piketty. Capital in the Twenty-First Century. Harvard University Press, Cambridge, MA, 2014. ISBN 978-0-674-43000-6. Translated by Arthur Goldhammer from the author’s original in French Le capital au XXIe siècle.
- [34]IBGE. Table 8418 - Municipality area, 2022. URL https://sidra.ibge.gov.br/tabela/8418. Last accessed on 10 February 2026.
- [35]IBGE. Urbanized areas, 2022. URL https://www.ibge.gov.br/geociencias/cartas-e-mapas/redes-geograficas/15789-areas-urbanizadas.html?=&t=o-que-e. Last accessed on 10 February 2026.
- [36]IBGE. Metadata - Statistical operations, 2022. URL https://metadados.ibge.gov.br/consulta/estatisticos/operacoes-estatisticas/D5. Last accessed on 10 February 2026.
- [37]Kazuya Hayata. Birth, annexation, and squeezing of cities in a prefecture: Can the ranking of competitive areas of municipalities obey the authentic power law? Frontiers in Physics, 9, February 2022. ISSN 2296-424X. doi: 10.3389/fphy.2021.789571.DOI







































