1. Introduction
Econophysics brings together a set of theoretical and empirical achievements that come from applying well-known tools and physics, particularly from thermodynamics and statistical mechanics, to economics and financial markets. Its scope and applicability are still being discussed [
1]. On the one hand, there are strong criticisms about the veracity of ideal hypotheses inherited from physical systems. However, recent evidence shows that well-known concepts such as Solow’s economic growth, and economic inequality in the sense of Piketty’s work, may arise from kinetic exchange models [
2]. The truth is that this area has influenced financial economics studies for the last twenty years and can be considered a well-established current research branch [
3].
The kinetic exchange gas-like models are inspired by molecular models of gases formed by colliding particles [
4]. As the particles of a gas exchange energy during collisions, agents exchange a fraction of their capital under the hypothesis of the conservation of total money [
5]. With this approach, it has been possible to reproduce some patterns that are observed in capitalist economic systems, such as the Pareto rule of wealth distribution [
6]. These models’ main advantage, and the reason they have become attractive in various disciplines, is that their mathematical formulation and numerical implementation are very simple and straightforward [
7]. They are so versatile that a wide range of practical economic and social interest situations have been addressed with them [
8].
Through exchange models, some economic inequality indices have been explained and calculated from microscopic principles [
9,
10,
11]. When studying the distribution of income and wealth with these models, different trends have been verified, such as the formation of classes [
12,
13]. Indeed, it has been seen that in the presence of labor unions, government policies to reduce inequality, or other solidarity factors of social protection, the corresponding wealth distribution changes to a bimodal distribution [
14]. Although these distributions are rare and seem unrealistic, they have also been found when considering risky transactions and other stressful situations [
15], such as an epidemic outbreak [
16]. In order to simulate these theoretical models, it has been necessary to use different numerical and computational tools such as Monte Carlo methods for open systems [
17] or classification methods for market behavior [
18]. It has been shown how these exchange models could serve as optimization algorithms [
19], so it would be interesting to use other techniques to study them [
20,
21].
Among the situations that can be addressed with these models, two are of interest in the present work. The first is that agents can incur debt when requesting credit from the bank. Credit and debt are introduced through a new variable that is different from the money coming from income, in such a way that it could minimize negative values, indicating the acquired debt [
5]. The economic model, including credit and debt, was first studied by Viaggiu et al., using the tools of the statistical ensembles [
22]. There, they adopt the Boltzmann–Gibbs distribution where energy is replaced by total money, including income, credit, and debt. This method was extended to studying markets and exchange economies through complex networks [
23] and stock price formation processes from the order book [
24]. This last system has also been addressed with the Boltzmann equation in a non-equilibrium situation [
25]. The resulting aggregated economic variables could be related to macroeconomics in the same way that the gas particles’ microscopic energy gives rise to thermodynamics. It is worth noting that this idea of establishing a link between classical thermodynamics and economics is not new and was first suggested by Samuelson [
26].
Just as in thermodynamics, where different microscopic interactions lead to measurable macroscopic effects, in agent models, it is possible to consider different transactions between agents and see their effect in analogous thermodynamic quantities. One of the interactions that can be modeled in this way, and we are interested in, is agent savings. In this model, saving propensity is defined as the fraction of an agent’s money
that will not be spent during the transaction given by the corresponding exchange rule [
27]. It is well known that saving agents’ income distribution follows the so-called Gamma distribution when the system reaches equilibrium. If the agents do not save, the Boltzmann–Gibbs distribution, which usually models the lower-middle class, is recovered. Indeed, Pareto’s law can be recovered for random savings within these models [
28]. Furthermore, by considering that some agents have fixed savings and another sector has a random saving propensity, this leads to a distribution that has an exponential zone and another zone modeled by a power law, as observed in real economies [
29]. The system of agents with saving propensity has also been studied through other approaches. In [
30], López-Ruíz et al. introduce an analytical geometric model where agents’ money obeys an additive constraint that defines an
N-dimensional equiprobability surface. The corresponding analog of the Hamiltonian contains the saving propensity as an exponent of a geometrical variable that can be identified with the monetary variable.
In this thermodynamic-like approach, the aggregate variables can tell us about the economic system’s behavior. For instance, the temperature of an economic system can be used as an index that indicates, on average, how the total money available is distributed among agents. For systems where agents can only pay with their given income,
T turns out to be simply the average money per agent [
5]. However, when debt is introduced or alternative means of payment are considered, this changes correspondingly [
22]. On the other hand, by considering saving propensity, the economic temperature reduces by a factor that is a function of
, analogous to the equipartition theorem of energy [
30].
In this work, we study the thermostatistical properties of a kinetic exchange model that describes a simple closed economy with income, savings, credit, and debt. We analytically calculate the canonical partition function with the ensemble formalism, introducing the agents’ saving propensity through the geometric approach. From the partition function, we calculate the economic quantities that are analogous to the thermodynamic variables. In general, we observe an interaction between the fraction of money that agents can save and the debt that they can acquire. Specifically, we obtain the economic temperature and entropy. The economic temperature that we find can be read as the arithmetic means of two terms, the first is the average money per agent reduced by the saving propensity, and the second is related to the maximum overdraft. This second term reduces to d if no savings are present. Nevertheless, when , it turns out to be non-trivially coupled with average money and the saving propensity. For a fixed temperature, debt induces an upper bound for the percentage that agents can save, such that, as the value of debt increases, agents save less. For entropy, we find that it has an increases in both temperature and savings. However, a minimum temperature appears for which the model is valid, which depends on the savings. Furthermore, these minimum temperatures and the entropy values change depending on the maximum debt.
This paper is structured as follows. In
Section 2, we review the fundamental concepts of the geometric model for the distribution of the income for saving agents, and in
Section 3, we review the ensemble theory for money, credit, and debt. In
Section 4, we present the statistical ensemble for saving agents. We study the cases with and without debt and the corresponding limit for when the agents do not save money in their transactions, recovering the case studied by Viaggiu et al. [
22], and Patriarca et al. [
27], respectively. Finally, in the last section, we present a summary and discussion of the obtained results and possible future work routes.
2. Microscopic and Geometric Models for a System of Saving Agents
Let us consider a simple, discrete, closed economy model in which N agents can exchange money in pairs. In the beginning, each agent has the same amount of money, say , where M is the total money in the system, so the initial distribution of capital is uniform. Then, at each time step, a pair of agents randomly chosen begin to interact with each other, where , and .
During the exchange, the capital of each agent changes following the next exchange rule constrained to the fact that the total money is conserved.
where
and
is the money of agent
i before and after a transaction, respectively. The amount exchanged
is taken randomly and depends on the details of the transaction, for instance, for constant saving propensity
is
where
is a uniformly distributed random variable. In this case, during the transaction between agents
i and
j, the money that can be reallocated is reduced by
, corresponding to the fraction of the initial capital each agent has decided to use in the exchange. For this model, the agents’ equilibrium distribution has been studied both analytically and numerically, and it depends on the value of the saving propensity parameter. Specifically, simulations point to a Gamma distribution for the money [
27]
where
,
is the average money and
is the shape factor of the Gamma distribution, which, in this context, is a function of the saving propensity. For
, where there is no saving criterion, Equation (
3) reduces to the Boltzmann–Gibbs distribution [
5]. Distribution (
3) for increasing values of the saving propensity can be seen in
Figure 1.
The same distribution can be obtained from a geometric perspective [
30]. Let be a set of positive variables
satisfy the constraint
with
b a positive real constant and
M the total money. The equality in (
5) defines a symmetrical surface, it also defines a transaction between agents. Here,
x is an internal geometrical variable related to the capital per agent through the probability density [
30]. The probability
of finding an agent with generic coordinate
x is proportional to the volume
of all the points contained into the
—dimensional symmetrical region limited by the constraint
. A visualization of these surfaces for the case of three agents is shown in
Figure 2. Thus, by considering the normalization condition, the distribution function is
. By assuming that the volume is proportional to the radius of the region, and for large
N, it is possible to find the same Gamma distribution (
3) for the desired probability, with
. Thus, by comparing both expressions, we find
where
. Note that in the particular case when
, corresponding to no savings,
x is exactly the money of the agents. In this way, saving propensity appears in the constriction through the power of the geometric variables. This model will allow for a Hamiltonian formulation proposal that we will use when defining the saving agents’ ensemble.
3. Statistical Ensembles for Agents with Credit and Debt
As noted by Viaggiu et al. [
22], to build an ensemble, it is only necessary to have a conservation law. In their case, they introduce the total money in the system as a conserved quantity, which depends on two possible variables—
u the money of each agent coming from income and
v, which is a monetary variable whose positive values correspond to the credit obtained by the agent, and its negative values to the acquired debt. Therefore, in general
The canonical partition function is introduced as follows [
22]
where
T is the economic temperature related to the average money per agent but depends on agents’ interactions. With this definition of the partition function, it is possible to find the thermodynamic variables in the same way as in equilibrium statistical mechanics. In particular, entropy has the same interpretation, being proportional to the number of microscopic configurations of the system; therefore, the equilibrium state corresponds to the configuration that maximizes the entropy.
In order to interpret the meaning of economic temperature, let us briefly review three cases. Firstly, let us consider the simple case
, so the integral of the partition function (
8) is simply
where
is the integral over the
v-variable, which is constant and depends only on the domain of
v, and can be interpreted as the maximum credit accessible in the system. From the usual thermodynamic relationship for the internal energy, namely
we can obtain the system’s total capital and the economic temperature as the mean capital per agent
.
As mentioned above, in these gas-type models, debt can be modeled as negative money; this appears when an agent does not have enough capital and borrows a certain amount from a bank, which in this model will not charge interest, so the agent’s balance, in the end, becomes negative [
5,
22]. Let us now consider the function money for credit and debt as
, where
with
. Thus, if
is positive, the agent has available credit that he can use in the same way as
, while if
is negative, he has borrowed money previously, with maximum debt
d, that for simplicity, we consider the same for all agents. However, a more realistic situation would be for the bank to decide which limit to impose on each agent based on their income and credit score. The partition function and thermodynamic quantities can be calculated with the corresponding limits, and the result is as follows:
Let us explore a couple of features. In this case, the temperature is not simply the average money per agent, but it is distributed among the different payment alternatives, namely, the agent’s money and his approved credit.
Economic temperature T can be thought of as an index that relates the average money to an agent’s debt capacity. For instance, if then , which indicates that in such an economy, the agents could not cover a debt d on average. Indeed, this ratio is bounded when the average money is much lower than the amount of credit; then, tends to . In the case that , then , which is the limit of the debt that could be covered. Then, for an economy to have no problem with a credit amount d, we should look for at least , which implies that, on average, . Indeed, when we ask for , then , there will be enough liquidity to cover the debt in this regime.
On the other hand, recalling the standard interpretation of the partition function
Z as the number of accessible microstates of the system for a given temperature, according to the expression (
11), the number of accessible states grows exponentially with the ratio
. In fact, given those mentioned above, the more microscopic states are available for the system, the more difficulty the agents will have to pay the debt.
We can go further, removing the credit from the agents and leaving them with the debt
d, which can be done if
,
. In this case, the partition function and the thermodynamic quantities are as follows:
Although apparently in the limit
, the expressions of the previous case are recovered, this case is not valid in the corresponding regime, in addition to having the aforementioned problems. However, if the debt is small, an expansion of the exponential can be performed for
, which implies that
In this limit, economic temperature goes as
which is consistent with
. The temperature of the system increases a little as long as the debt is much less than twice the average capital.
5. Conclusions
In this work, we applied the statistical ensemble formalism to a geometric model of agents to study the effect of saving propensity on a system with money, credit, and debt. This formalism allowed us to obtain analogous thermodynamic variables. We studied the system’s economic temperature, which is an index that relates the average money with the agents’ debt capacity. The exact expression is given by the solution of Equation (
21). In the case
, which corresponds to a system where agents can pay their debt, it was possible to find an approximation for the economic temperature expressed as Equation (
27); that is, the arithmetic mean between the different payment methods, namely, cash from income and the requested credit with a specific debt limit. The savings propensity modifies each term. On the one hand, the term associated with the average money per agent follows an analogous equipartition theorem and is reduced by a factor
, while the term associated with the debt is coupled with the average money and the savings propensity in a non-trivial way, but reduces to
d when there is no saving. We show the behavior of Equation (
27) in
Figure 6, where we see that the ratio between
T and
d decreases as savings propensity grows to a maximum value that depends on
d. The entropy of the saver agent system when debt is present was also calculated. In general, we can say that entropy increases as savings increase, starting from a minimum temperature that depends on
b, for which the entropy is greater than zero. In the case of having debt, the entropy increases even more, and the variations in the minimum temperature when changing
b vary according to the different values of
d. Although these analogous thermodynamic variables are not in general use in economics, economic temperature or entropy could certainly serve as indicators of how agents’ decisions affect the collectivity and, therefore, suggest how economic systems behave.
As mentioned in the introduction, there are some criticisms of these models; for example, ideal hypotheses limit their scope. However, the models have the advantage that their mathematical formulation is easily generalizable. Indeed, this formalism of statistical ensembles can be extended to more complicated or realistic cases or with different kinds of microscopic interactions. For example, in a most realistic case in which the bank establishes the credit limit according to each agent, the integrals in Equation (
19) for calculating the partition function give a product of incomplete gamma functions with different arguments each, and the calculation becomes more involved. The difference between having an individual and a collective debt limit has recently been studied in the context of exchange agent models on a connected graph that simulates a social network, finding different distributions in each case [
34].
Interactions between agents can be directly included in the exchange rules. Besides saving, risk or various social protection factors can be introduced [
35]. With these interactions, one could model increasingly realistic systems and try to explain phenomena such as economic inequality based on the agents’ decisions and the policies that influence them. It would be interesting to study some economic processes defined with these generalized rules within the ensemble formalism to determine how their corresponding analogous thermodynamic variables change and eventually compare them with real economic systems. For instance, relate them to indices that characterize inequality such as the Gini or Kolkata [
9,
10,
11]. In future works, this kind of relations will be addressed.