Academia.eduAcademia.edu

Statistical ensembles for money and debt

2012

We build a statistical ensemble representation of two economic models describing respectively, in simplified terms, a payment system and a credit market. To this purpose we adopt the Boltzmann-Gibbs distribution where the role of the Hamiltonian is taken by the total money supply (i.e. including money created from debt) of a set of interacting economic agents. As a result, we can read the main thermodynamic quantities in terms of monetary ones. In particular, we define for the credit market model a work term which is related to the impact of monetary policy on credit creation. Furthermore, with our formalism we recover and extend some results concerning the temperature of an economic system, previously presented in the literature by considering only the monetary base as conserved quantity. Finally, we study the statistical ensemble for the Pareto distribution.

arXiv:1109.0891v3 [q-fin.GN] 5 Jul 2012 Statistical ensembles for money and debt Stefano Viaggiu∗ Dipartimento di Matematica, Universitá ’Tor Vergata’, Via della Ricerca Scientifica, 1 Rome, Italy 00133, [email protected], Andrea Lionetto Dipartimento di Fisica, Universitá ’Tor Vergata’, Via della Ricerca Scientifica, 1 Rome, Italy 00133, [email protected], Leonardo Bargigli Dipartimento di Scienze Economiche e Sociali, Universitá Politecnica delle Marche, Piazzale Martelli, 8 Ancona, Italy 60121, [email protected], Michele Longo Facoltá di Economia, Universitá Cattolica ’Sacro Cuore’ Largo Gemelli, 1 Milano, Italy 20123 [email protected] July 6, 2012 Abstract We build a statistical ensemble representation of two economic models describing respectively, in simplified terms, a payment system and a credit market. To this purpose we adopt the Boltzmann-Gibbs distribution where the role of the Hamiltonian is taken by the total money supply (i.e. including money created from debt) of a set of ∗ Corresponding author 1 interacting economic agents. As a result, we can read the main thermodynamic quantities in terms of monetary ones. In particular, we define for the credit market model a work term which is related to the impact of monetary policy on credit creation. Furthermore, with our formalism we recover and extend some results concerning the temperature of an economic system, previously presented in the literature by considering only the monetary base as conserved quantity. Finally, we study the statistical ensemble for the Pareto distribution. PACS Numbers: 89.65 Gh, 89.75 Da, 87.23 Ge Keywords: Money, Debt, Thermodynamics, Economic equilibrium. 1 Introduction Historically, the first attempt to establish a link between classical thermodynamics and economics is due to Samuelson [1], who remained nevertheless quite skeptical about the possibility to introduce concepts borrowed from statistical mechanics, like entropy, into economics1 . This is not surprising, since the neoclassical notion of economic equilibrium, in analogy with classical mechanics, refers to a single point in the phase space, which is the solution of a maximization problem, and not to an equilibrium probability distribution like in the case of statistical mechanics. When heterodox economists criticize mainstream economic theory by underlining that the economy is not a system in equilibrium, they refer mainly to the first, static, notion of equilibrium. In fact, the general idea of employing statistical equilibrium as a key tool for economics is advocated by some leading heterodox economists (see e. g. [6]), while models borrowed from statistical physics have been successfully applied to microeconomic models where agents are not perfect optimizers and/or not perfectly informed, like for instance in [7] or [8]. On the other hand, unconventional economists are rightly worried about the risk in substitute the unrealistic neoclassical paradigm with an equally unrealistic paradigm derived from statistical physics [9]. In fact, it is quite unreasonable to think of long run economic evolution, which is the outcome of a complex out-of-equilibrium dynamics, as being explained by conservation laws, although we easily admit that such an economic world, described by stable probability distributions, would be indeed one in which our daily life would be much easier. 1 A mapping between classical thermodynamics and economics can be found in [2], without reference to the underlying statistical structure (see also [3, 4, 5]). 2 Some authors [10] argue that if we accept the possibility that ’over a limited period of time, an economic system might behave as though it were quasi equilibrate’ in a statistical sense, the knowledge of equilibrium states for economic systems would then explain their possible ’thermodynamical’ evolution. Unfortunately, from the perspective of economists this otherwise attractive bargain is based on a claim which is still overreaching, since a national economy is still too complex to behave conservatively even in the very short run. We should be much more modest since, as explained by [9], the only conservative process in the economic sphere is exchange which, apart from being a short run phenomenon, delivers an inherently partial representation of the economic reality. In particular, equilibrium distributions are conceivable only by separating temporally production and exchange, in such a way that supply is kept fixed over the time span considered in the model. Even taking into account this limitation, we can think of many economic contexts in which the application of the conservation principle could turn out to be useful. In general, conservation may be assumed to hold in all those markets where supply may be taken to change slowly, while exchange takes place at a relatively fast rate, enabling a relaxation of the system towards statistical equilibrium. These markets are quite common in the economic reality. A first simple example is provided by the daily functioning of fish markets, since fishermen cannot expand or shrink their supply of fresh fish once the market is open. A second, perhaps more relevant, example is provided by the real estate market, since the supply of new houses comes necessarily with a significant time lag with respect to positive variations of demand, and a negative adjustment of supply is generally impossible under normal conditions. A third example is provided by financial markets, where the supply of financial assets (stocks, bonds, etc.) can be easily assumed to be fixed on a daily basis. A fourth, less obvious, example is the credit market, since the supply of currency, customary referred to as the monetary base, is controlled by the central bank, and can be assumed to be fixed over a short time span, whereas money supply is determined endogenously by agents interactions through lending and borrowing. Recently some authors have followed a more ambitious path, by tackling a macroeconomic problem, namely the determination of the most likely data generating process for the empirical distribution of income and wealth at the national level [11, 12, 13], with the tools of equilibrium statistical mechanics. In these papers it is argued that the main ingredient for the derivation of the Boltzmann-Gibbs law is the existence of a conserved quantity [14]. In this context, the probability distribution for an energy value ǫ is P (ǫ) ∼ e−ǫ/T , where T is the temperature. The authors of [11, 12, 13] argue that money, 3 and not material wealth, could act as a conserved quantity in a closed economic system. In fact, material wealth as goods and properties can be consumed and destroyed, while an agent (also a firm) cannot print money, but only exchange it with other agents. This assumption has been criticized by other authors [15], who have underlined that money is not a conserved quantity since, as underlined above, the endogenous lending process generally changes the amount of money in the system. From this perspective, the introduction of debt under the form of negative cash [11] clashes with economic realism since cash by definition cannot be negative. In order to be more realistic, we need our definition of money to be consistent with the well established standard notions of monetary base and money supply. In order to keep terminology as simple as possible, in this paper we choose to define money (cash), unless otherwise specified, as synonym of the monetary base, while the sum of currency and of highly liquid credit assets, like demand deposits (which we will indicate simply as ’credit’), will be labeled as total money supply. Furthermore, in [11] a Boltzmann-Gibbs equilibrium distribution for money is obtained as a result of numerical agent-based simulations. A similar study, with an attempt to introduce an ensemble for the conservation of money, is given in [16]. In fact, the introduction of a Boltzmann-Gibbs distribution, in order to build a statistical mechanics for money, should also be justified by introducing an ensemble starting from the microscopic economic variables from which total money supply is composed, similarly to the introduction of the coordinates for a given ensemble. In this way, the introduction of aggregate economic variables is obtained after an integration over the microscopic variables which describe the total money supply of a given economic system. This approach is the starting point of our paper. We will see that this representation adapts naturally to economic interpretation. In particular, with this formalism it is possible to introduce credit as a further variable with respect to the conserved monetary base, providing results which are consistent with the endogeneity of total money supply required for a sound economic interpretation. The plan of the paper is the following: in the next section we introduce our formalism together with its economic interpretation, in section 3,4,5 we introduce the statistical ensembles for money, in section 6 we analyze some macroeconomic relations suggested by the thermodynamics analogy while in section 7 we track some conclusions and final remarks. The appendix is devoted to the application of our method to the Pareto law. 4 2 Preliminaries In this paper we want to introduce sound statistical ensembles for economical systems with money (cash) and credit-debt. First of all, in our model the N particles of the standard physical approach are substituted by N interacting economical agents. In this context, we use the coordinate xi to label the cash (money) possessed by the ith agent, while yi represents its credit-debt variable. In our context, we have no need to employ the complete Hamiltonian formalism of the ordinary statistical mechanics. In particular, the variables {xi , yi } we use are not conjugated in the sense of the Hamiltonian mechanics. To build an ensemble we have only need of a conservation law. We take as a conserved quantity the total money supply function M , which can be considered constant over a suitable time interval. Moreover, the function M will be a function of the chosen coordinates, i.e. M = M (xi , yi ). At this point the ergodic hypothesis comes into action which permits us, given a function f (xi , yi ), to express its average with respect to the time in terms of an average over the ensemble at fixed M : Z f (x, y)ρ(x, y)dx dy, (1) f= M =const where ρ(x, y) denotes the probability distribution of the ensemble. Taking into account these considerations, our fundamental aim in this paper is to show that ensembles can be introduced in a consistent way for an economic system. To this purpose, we study simple money functions reproducing known results present in the literature, such as the following: M= N X (xi + yi ) (2) i=1 In expression (2) both xi and yi can be expressed in monetary units. We stress that the expression (2) is the simplest choice we can consider. More sophisticated models can be introduced by means of an interacting term I(x, y) in the money supply function M . Once the ensembles have been defined, we can introduce in a consistent way all the thermodynamic functions in terms of N and of economic variables, and finally we can study economic (thermodynamical) transformations. 5 3 Microcanonical ensemble In order to introduce the microcanonical ensemble we consider an isolated economic system with N agents, where money M is fixed. As in the usual microcanonical ensemble in statistical mechanics, if we integrate over all the available volume of the configuration space spanned by the variables {x, y} with M = m = constant (the overline denotes the average over the whole R configuration space), then we have Ω = M =m dN x dN y = 0 (see [17] and references therein). As usual in statistical mechanics, we introduce a thick shell ∆ where ∆ << m and define Z dN x dN y , (3) Γ(m) = k2N m<M <m+∆ where k is a normalization factor such that Γ is dimensionless. In the following we set k = 1. The average of a given quantity f is given by R f dΓ . (4) f= Γ To calculate Γ(m) it is convenient to introduce the following integral: Z dN x dN y, Σ(m) = (5) M ≤m where ∂Σ(m) ∆. (6) ∂m The functional Γ(m) measures the number of microscopic realizations of a given economic system. The entropy S can be defined in the usual way: Γ(m) = Σ(m + ∆) − Σ(m) ≃ S = ln Γ(m) = ln Σ(m), (7) where the last equality in (7) follows for N >> 1 (see [17]). In our description of an economic system, entropy keeps its ordinary statistical meaning, i.e. it is proportional to the number of micro configurations of the system, which is consistent with a given distribution of the N agents with respect to x and y. Then, by analogy with ordinary statistical systems, the equilibrium configuration is the one that maximizes the entropy. This condition, together with the conservation of money (energy) leads to the ensemble distribution. 6 R After writing S = S(m, V ), where Vy = dy, we can define the analogues in our context of temperature T and pressure P : ∂S ∂S dm + dV, dS = ∂V  ∂m  ∂S ∂S P 1 = , = . ∂V m,N T ∂m V,N T (8) (9) Furthermore, we define the analogue of the free Helmholtz energy F : F = m − T S, (10) dF = dm − T dS − SdT. (11) From (8) and (9) we get: T dS = dm + P dV. (12) Equation (12) is the analogue of the first thermodynamic principle. From (11) and (12) we have: dF = −P dV − SdT,     ∂F ∂F = −P, = −S. ∂V T,N ∂T V,N (13) (14) In the following section we give an economic interpretation of the quantities P and T , while Vy is naturally interpreted as the maximal amount of credit/debt per agent allowed in the system. As a first warm-up example, we want to reproduce known result in the literature [11], N X xi (15) M= i=1 In the expression (15) we have supposed one component for any pair of coordinates (x, y), with x ∈ [0, ∞). This is the simplest assumption we can make. Integration of (5) is easy and it gives: Σ(m) = mN N V , N! y (16) By using (7) and (9) we have: S = N (ln m + ln Vy ) − ln N !, T = 7 m NT m , P = = . N Vy Vy (17) The expression for T of (17) is the same as that of the model of Dragulescu and Yakovenko [11]. In the form (17), T measures the mean money per agent. In the following section we obtain different models in terms of the more usual canonical ensemble. 4 Canonical ensemble As the usual canonical ensemble, we have an economic system with N1 agents with money m1 interacting with another system with N2 agents (with N2 >> N1 ) with money m2 . Under the assumptions that total money m = m1 + m2 is conserved and that: Γ(m) ≃ Γ1 (m1 )Γ2 (m2 = m − m1 ), (18) we can calculate the probability distribution at equilibrium of the subsystem 1 independently of the behavior of reservoir 2. As a consequence, for an economic system with N agents, the money function M and economic temperature T are given by M dN x dN y e− T , dP = Z Z M Z = dN x dN y e− T , (19) (20) Moreover, by a simple algebra we obtain F Z = e− T , (21) with F given by (10). It is natural to introduce the analogue of the MaxwellBoltzmann distribution for a single agent. Actually the infinitesimal probability dPi that the ith agent is in a point of its configurational space {x, y} independently of the behavior of the other agents can be written as dPi (xi , yi ) = ce− mi T dxi dyi , (22) where c is a normalization constant. Note that also in [11, 12, 13] a distribution similar to (22) is considered, but integrated in a different space. In fact, in [11, 12, 13] the exponential in (22) is integrated with respect to dmi , while in (22) according to the definition of the Boltzmann-Maxwell distribution for a classical ideal gas, it is integrated with respect to {xi , yi }. 8 4.1 Model of a payment system with only cash We first derive the model (15) in terms of the usual Lagrange multipliers (LM) by a discretization of the system and after we translate the model in terms of ensembles. The model describes the following economic situation. The generic agent j with initial cash xIj pays a certain amount of money ∆x to another agent k with initial cash xIk . In the final configuration we I have the agent j with cash xII j = xj − ∆x and the agent k with final cash I xII k = xk + ∆x with the sum conserved. This situation, as underlined by [18], describes a payment system, which is related to a unobservable flow of goods and services across agents. The number of configurations Γ of nk agents with money mk is   N! . (23) Γ({nk }) = n1 !n2 ! · · · nk ! The entropy S = ln Γ({nk }) must be maximized with the LM α and β and with the constraints X X n(p) = N, n(x)x = m = hM i , (24) p x by taking S = S −α X n(x) − β x X n(x)x. (25) x The maximization of (25) gives n(x) = e−α−βx . By introducing P this expression in (24) and changing summation with integration, i.e. n(x) → R n(x)dx dy, we obtain 1/β = T = m/N . Within the canonical ensemble we have Z= Z N P N N − i=1 T d x d ye xi . (26) We easily obtain, by a factorization of (26), Z = VyN T N . By means of (21) we have F = −T ln Z. By means of (14) and (10) we obtain for T the expression T = m/N . This case is similar to the perfect gas one of the usual statistical mechanics. The gas is in a box of volume Vy . As stated above, in the economic system, Vy can be interpreted as the maximal credit level allowed in the system, although in this case the function M does not contain explicitly credit-debt terms. Any thermodynamical economical transformation which increases Vy simply increases the allowed credit level. 9 4.2 Models of a payment system with debt In the model [11] debt is introduced by allowing for negative money. In our approach money is always positive, and as a consequence our analogue N P of [11] is given by M = yi , where yi ∈ [−d, ∞), d ≥ 0. The economic i=1 dynamics of this model is the same as that of the previous subsection above, but y here represents a current account balance with maximal overdraft −d. Then, if yi > 0 agent i has a credit claim towards a bank, supposed to be external to the system, which he can use to pay for goods and services, while if yi < 0 the same agent is borrowing from the same bank in order P to fulfill the same payments. In terms of the LM technique we have n(y) = N P and n(y)y = Q = hM i. By the same technique as that of the previous R P 0 section , with n(y) → n(y)dy dx and y ∈ [−d, ∞) we obtain T = Q0 + d. N (27) In terms of our formalism we have Z= Z N P − i=1 T dN x dN y e yi . (28) By performing the same calculations as that of the previous subsection we Nd get Z = VxN T N e T . As a result we obtain for T the expression (27). In this case Vx represents the maximal amount of cash allowed in the system. Note that we can also have Q0 < 0, with the obvious condition T ≥ 0, i.e. d ≥ −Q0 /N . Moreover, we can build a model with d ≤ 0 and the formula (23) is again valid. The model (28) can be generalized further. In fact, suppose that each agent i has ri different current accounts {yi1 , yi2 . . . yiri } with maximal overdrafts {di1 , di2 . . . diri }. Then we have T = N,ri 1 X Q0 dij = hyi + hdi + R R (29) i,j=1 PN where R = i=1 ri . We now consider the more general money function given by (2), which represents a system where agents make payments either by cash or through a single current account (e.g. by using bank checks or credit cards). It should be noticed that in this case the constraint is on mi = xi + yi , since we suppose that agents can freely convert xP i into yi and P vice versa. As a result, no constraints are imposed on yi or xi . 10 In the first place, we can build a P model where both P credit and debt are allowed. In terms of LM we have n(m) = N, n(m)m = hM i where yi ∈ [−d, ∞), d ≥ 0. By means of the same technique we previously used R P (remember that in this case n(m) → n(m)dx dy with (23) again valid) we obtain  1 m T = +d . (30) 2 N In order to translate the model in terms of the ensemble formalism, we proceed exactly as in subsections 4.1 and 4.2. As a result of the integration of (20) and thanks to (21), (10) and (14) we obtain F = −2N T ln(T ) − N d S = 2N ln(T ) + 2N  1 m T = +d . 2 N (31) (32) (33) We remark that the temperature we get is one half the one obtained in [11], This factor is related to the two alternative payment means for each agent we have in our model. In fact, it’s easy to see that (33) is a special case of (29) with yi1 = xi , yi2 = yi , ri = const = 2, dx = 0 and dy = const = d. Thus, the introduction of alternative payments means for a fixed m makes the tail of the Boltzmann distribution for money thinner, by decreasing the value of T . We now analyze a model, defined by the same money function (2), where credit is not allowed, i.e. yi ∈ [−d, 0] . This model is consistent, although not necessarily realistic, if we allow total cash to be increased by debt creation. To this purpose, consider an initial condition in which a generic agent ’1’ has x01 = x1 , y10 = 0 and another labeled ’2’ has x02 = x2 , y20 = 0. In a first phase ’I’ the agent ’2’ borrows money from ’1’. We have xI1 = y1 − ∆x, y1I = ∆x = ∆y and xI2 = x2 + ∆x, y2I = −∆y. Moreover, the agent ’1’ can, by means of a central bank, change credit with respect to the agent ’2’ with money cash. II Hence, in the final state ’II’ we have xII 1 = x1 − ∆x + ∆x = x1 , y1 = 0 and II I I II x2 = x2 , y2 = y2 . In this way, the total amount of cash is increased, since II xII 1 + x2 = x1 + x2 + ∆x, with a net creation of debt −∆x = ∆y. This result can be interpreted as a debt of the agent with a central bank. This model can be solved by integrating with yi ∈ [−d, 0]. By integrating equation (26) for Z and with the help of (21), (10) and (14) 11 we get:  d  F = −2N T ln(T ) − N T ln e T − 1 ,   S = 2N ln(T ) + 2N + N ln e − 1 − d T d (34) d Nd eT  d , T eT − 1 Nd eT . m = 2N T −  d eT − 1 (35) (36) Note that the expression m in (36) is much more involved than the one of [11]. However, for T >> d expression (36) for the temperature T becomes T = m d + + o(d), N 2 (37) which is a result which differs, at the given approximation order, from that in [11] only in the coefficient 1/2 (instead of 1) of the linear term d. 4.3 Model of a credit market A credit market differs from a payment system in that it is constrained to respect the basic accounting identity over interactions between pairs of agents. If the accounting of a credit relationship is correctly reproduced, when agent 1 lends to agent 2 we have M1 = (x1 − ∆m) + (d1 + ∆m) = const1 (38) M2 = (x2 + ∆m) + (d2 − ∆m) = const2 (39) In this case, di stands for net debt, i.e. di = assetsi − liabilitiesi . In our case, we have a single class of assets (credit) and of liabilities (debt) respectively. Furthermore, the following additional constraints must hold: P xi = M0 (40) P P assetsi − liabilitiesi = Q0 (41) The first constraint means that the monetary base M0 is fixed, i.e. that agents, by exchanging credit, can increase or decrease only the overall money supply (i. e. the sum of money (cash) and credit), while M0 remains fixed. The second constraint means that the system is closed, i.e. any credit claim of some agent i in the system represents a debt for some other agent j in 12 the system and vice versa. In the following, we suppose without loss of generality that Q0 = 0, so that credit and debtP distributions are identical. The money function for this model is given by yi = m, where yi stands for credit, i.e. yi ∈ [0, +∞]. In fact, since M0 is fixed, the only source P of fluctuations for M in the canonical ensemble is given by credit/debt N i yi . This fact allows us to obtain a well defined temperature for the system. In terms of the ensemble formalism we have the following: Z= Z −M T dN x dN y e = Z N P − i=1 T dN x dN y e yi = M0N T N , (42) where in (42) we have posed M0 = Vx . This assumption can P be understood in the following way. Since M0 is fixed, we have xi = M0 , and R that changing summation with integration we have P xi ≤M0 dx = Vx = M0 . Furthermore, it is easy to see that the expression (17) for P still holds, with V = Vx = M0 . By following the same steps as the previous section we obtain again m (43) T = , N Of course, we could obtain the same expression by integrating only over the yi ∈ [0, +∞]. Nevertheless, we maintain the usual representation in terms of xi and yi in order to reproduce correctly the main P thermodynamical equations. In fact, as we will see, the variations of xi = M0 as determined by monetary policy are needed in order to introduce a “work” term in the variation of credit. In this context, the variations of m reflect instead a change of attitude on the part of the agents, which may become more or less oriented towards credit creation. Finally, we introduce a generalization of the money function (2) of the following kind: N X I X yij (44) M= i=1 j=1 where the index i runs over the agents while j runs over the different asset classes allowed in the model. This generalization turns out to be useful to describe a full fledged financial market with different kinds of assets and liabilities. In this case we obtain the following F = −T N I ln T (45) S = N I ln T + N I m T = NI (46) 13 (47) Thus, if one allows more kinds of assets/liabilities into the system, the likelihood of observing large values of mi , as well as large deviations from m, will be lower, since T is lower for the same m with respect to the one-dimensional case with temperature (43). In other words, diversification makes the system more stable, a result which is consistent with standard economic theory. For a further discussion on debt the reader can refer also to [18, 19]. In particular, in the model present in [19] a constraint on debt is introduced by adopting the fractional reserve system of banking. Even this model could be reproduced with our formalism in terms of a statistical ensemble. 5 Grand Canonical Ensemble This kind of ensemble is aimed at describing the probability distribution of a system in which the agent number is not conserved. The probability distribution with N agents is given by µN M PV dPrN = e(− T + T − T ) dN x dN y, (48) where µ is the analogue of the chemical potential and: µ dm P + dV − dN, T T T dF (T, V, N ) = −P dV − SdT + µdN,     ∂F ∂m =µ= . ∂N T,V ∂N S,V dS = (49) (50) (51) The last equality in (51) follows from the Maxwell relations [14]. From (49) we have: T dS = dm + P dV − µdN. (52) The analogue of the Gibbs-Duhem relation gives SdT = V dP − N dµ. (53) In this context, the ’potential’ term µ takes into account the contribution to m caused by a variation of the number of the agents. For an interpretation of µ in terms of immigration see [20]. 6 Thermodynamics of Money: Some Relations The starting point for a thermodynamics of money is provided by equation (52). In the following, we will refer to the credit market model as a 14 benchmark to provide a sound economic interpretation of thermodynamical relationships. We should remember that in this model V = Vx , i.e. V is related to the cash variable x and thus to the monetary base. First of all, thanks to (51) and by taking (S, V ) = constant we get   ∂m dm = dN. (54) ∂N S,V Hence, the analogue of the thermodynamic chemical potential in our context has to be identified with the variation of credit induced by a variation of the agent number. In complete analogy with thermodynamics we set T dS = dC in (52), where dC represents the increase (or decrease) of credit, which is caused respectively by a change in the attitude of agents (dm), by a change of the monetary base induced by the central bank(P dV ), or by a change in the number of agents (µdN ). In fact, further pursuing the analogy with thermodynamics we can compute the quantity Z P dV, (55) Li→f = i→f where i, f refer to an initial and a final economic state characterized by (T, P, V, N ). The integral (55) depends in general on the path from i to R f . Moreover, as underlined, V = dx is a measure of the monetary base present in the system. Then a change in V represents a change of monetary policy by the central bank, and it can be naturally interpreted as the work done on the system by the central bank itself. Summarizing, for quasi-static economic transformations, we can write dC = dm + dL − µdN, In this way, equation (54) can be rewritten as:   ∂m dN. dm = ∂N L,C (56) (57) Furthermore, if the economic transformations can be considered as quasistatic, then we can insert in (55) the expression (17) for P which is valid for a ’free’ agent. In our case, P = Vmx , i.e. P in our context captures the relationship between credit and money, by describing the magnitude of credit for a given value of the monetary base. We remark that, if we followed  1 −1 V, the fractional reserve system model of [19], we should write m = r 15 where r is again controlled by the central bank. In this case, credit would be completely determined by the central bank itself. If we consider more general transformations than quasi-static ones, equation (56) becomes: δC = dm + δL − µdN, (58) where the non exact differential δ takes the place of the exact one d. In this way we can consider economic transformation that are not ’quasi-static’. As an example we can study the analogue of an irreversible transformation in the usual thermodynamics by considering an isolated economic system evolving ’spontaneously’. In this case, as the system is isolated, (C, L, N ) are left unchanged. Hence also dm = 0, and the economic temperature remains unchanged (as it happens for a free expansion of an isolated gas), provided that the money function M contains only ’free’ terms yi . We can also calculate the entropy S as: Z δC , (59) Sf − Si = i→f T where the integral (59) must be calculated over any quasi-static transformation connecting the initial and the final economic states. Note that the formula (58), for a change with fixed C and agent number N , yields: dm + δL = 0, (60) Adiabatic transformations are then naturally interpreted as those where the central bank counteracts the endogenous increase (decrease) of credit with an opposite variation of the monetary base in such a way that the overall credit remains fixed. We have seen that in the credit market model it is possible to define a ’work term’, contrary to what happens in the payment system models, as underlined in [20]. In order to show that the introduction of this term is consistent in this model, we define the monetary analogue of a Carnot heat engine, and show that the derived cycle has a consistent interpretation in terms of monetary policy. The monetary Carnot engine is ideal since isothermal transformations require that the central bank is able to expand the monetary base without minimally affecting agents attitude regarding credit creation. For this reason, the monetary Carnot engine, as in thermodynamics, provides an upper bound for the effectiveness of monetary policy. This argument becomes apparent in the fractional reserve model where, taking into account (43), for 16 isothermal transformations we have:   1 V T = −1 r N V′−V = =  ′ 1 V −1 ′ r N V′ V − r′ r  (61) (62) The r.h.s. of the last equation represents the variation of money supply, which is set to be equal to the variation of the monetary base. As underlined above, in adiabatic expansions an increase (decrease) of credit is associated with a decrease (increase) of the monetary base. In the case of real world monetary policy, this is a reasonable outcome. In fact, monetary easing is usually associated to a contraction of credit and vice versa, since the former is a reaction to the latter. In the monetary Carnot engine we obtain for L, with temperatures Tc , Th , Th > Tc , the following expression for L L = (Th − Tc )(S ′ − S). (63) In thermodynamics the performance parameter η of an engine working between two sources with temperatures Tc , Th , Th > Tc is defined as η= L , |Qh | (64) where L is the work made by the engine and |Qh | is the heat absorbed from the source at temperature Th . For a Carnot engine we have 1− |Qc | Tc ≤1− = η, |Qh | Th (65) where the equality holds for quasi-statical transformations. The Carnot theorem states that the performance η of a given heat engine working between two temperatures Th , Tc can never exceed the one given by a Carnot engine working with only reversible transformations. In our credit market model, Th , Tc define two levels of average credit, with the policy performance factor η given by L , (66) η= |Ch | where L is the work done by the central bank through monetary policy and |Ch | is the overall credit variation. The policy performance factor can be interpreted as as measure of the effectiveness of monetary policy. By 17 maximizing η, in other words, we maximize the impact of monetary policy over credit creation. As explained above, this impact is maximal if the central bank is able to follow the monetary Carnot cycle. Hence, instead of (65) we have: |Cc | Tc |Cc | Tc 1− ≤1− → ≥ . (67) |Ch | Th |Ch | Th For a constant number of agents we get: mc |Cc | ≥ |Ch | mh (68) Equation (68) is an inequality relating measurable economic quantities. In particular, it states that the evolution of market attitudes, as given by the r.h.s. ratio, provides an upper bound for the effectiveness of monetary policy. 7 Results and final remarks In this paper we built ab initio the statistical ensemble representation of two simple economic models. The starting point was the assumption of the conservation of money, defined as equivalent to the monetary base, for a system composed by a given number of agents [11, 12, 13]. By using standard statistical techniques, we wrote the economic analogue of all the main formulas of statistical mechanics where the role of the Hamiltonian was played by the money supply function M . In our context, the complete Hamiltonian formalism of the ordinary statistical mechanics is not necessary. We only need the fact that there exists a function (the money supply function) which can be considered constant over a suitable time interval. In fact, the coordinates we use, i.e (x, y), are not conjugate. The analogy between the thermodynamics of a physical system and that of a credit market is based on a sound economic principle, i.e. the agents cannot ’print’ but only exchange money. Only a central bank can print money. Once the identification between thermodynamical quantities and economic ones is performed, we can take into account ’economic’ transformations in which money can be exchanged between different economic systems or work can be performed under the form of a credit expansion induced by monetary policy. Although real economic systems are typically not at equilibrium, this approach can be used in principle whenever we can introduce a given economic conserved quantity. In particular, the study of equilibrium configurations can be useful to investigate the spontaneous evolution of those economic subsystems in which the conservation principle may be reasonably assumed 18 M N P N P i=1 N P credit m N 0 0 +d d ∞  +d d ∞ m 2N 0 ∞ d 2 d 0 Q0 N yi 1 2 (xi + yi ) i=1 N P (xi + yi ) (xi + yi ) i=1 debt xi i=1 i=1 N P T m N + m N + o(d) Table 1: Temperature T of the economic systems described by the money function M and by the allowed credit and debt. as valid. These are particular examples of markets in which, with some approximation, supply can be taken as fixed. As we have argued in the introduction, the credit market is an instance of this category inasmuch as the monetary base is determined exogenously by the central bank. In the context of our formalism we recovered the result of Dragulescu et al. [11, 12, 13] for a system described by the money function (15). In this case we obtain the same result for the economic temperature present in [11], with and without the presence of debt (see formula (27). We stress that this result is obtained as a computation performed by employing the well-known mechanical statistic approach for the microcanonical ensemble, while the result of [11] is obtained by fitting with an exponential Boltzmann distribution the result of a numerical simulation. Moreover we believe it is worth noticing the linear dependence on the variables xi of the money function. This is the most striking difference from the thermodynamics of a physical system which involves a kinetic term with depends quadratically on xi . We extended our analysis by considering generalization of the money function given by (2) by introducing the variables yi whose aim is to describe agents with different classes of assets and P Pliabilities. We considered different models, without constraint on xi or yi , whose results are conveniently summarized in table (1) where we report M and T , which have different interpretations in the different models presented, and the presence of debt and/or credit. As a final application of our formalism, we explicitly show in the appendix which money function M is needed in order to recover a power 19 law Pareto distribution. For a discussion on this issue see also [21]. We leave for future work the application of our approach to other models from which different probability distributions are derived (see [22] for a review). Acknowledgements A L acknowledges V. M. Yakovenko for having clarified some details of [11]. L B acknowledges the financial support from the European Community Seventh Framework Programme (FP7/2007-2013) under Socio-economic Sciences and Humanities, grant agreement no. 255987 (FOC-II). Appendix In [10] it has been shown how if the following law holds dIi = αi Ii , dt (69) for an agent i with income or wealth Ii , under the hypothesis that αi is randomly distributed around zero, then there exists a conserved quantity N X ln(Ii ). As a consequence, the Pareto power law [23] arises. Thus Y = i=1 we can use the formalism developed in this paper to study the statistical mechanics and thermodynamics which reproduces the Pareto law for the income. To this aim we used the canonical ensemble to describe the microscopic states of the system. The calculations are similar to the ones of the previous sections but now the conserved quantity is Y . In this case instead of (20) we get  Tmax Z N N Y T d xd y Tmax Z= , (70) 2N i k N! Ii where T is the economic temperature relative to the conserved quantity Y and Tmax is interpreted, as we see below, as the maximum for the temperature allowed by the system. The integral (70) is adimensional. As a result, we have a relation involving T, N and Y , i.e. the mean value of Y . As an example, we consider again a ’free’ income agent function where Ii = xi . F Similarly to (21), we have Z = e− T , F = Y − T S (S is the entropy function) and (∂F/∂T )V,N = −S. Furthermore, Pareto law is no more valid for small incomes Ii (for an empirical evidence see [10] and references therein) and as a consequence the integral in (70) must be calculated with a lower 20 bound, i.e. xi ≥ J > 0. In this model we do not consider the variable yi in I. Finally, under the condition T < Tmax ensuring the convergence of the integral, we get: NT S = N ln(JV T ) + N − N ln(Tmax − T ) + , Tmax − T   Y J T2 = T + Tmax ln . + N Tmax Tmax − T For T << Tmax , expression (72) becomes:   J Y − Tmax ln + o(T ). T = N Tmax (71) (72) (73) Note that in this case, conversely to the analogous free case with M (xi ), the temperature is not merely Y /N . Note that in general J < Tmax . As a consequence the second terms in the right hand side of (73) gives a positive contribution to the temperature. Furthermore, as pointed in [16], the study of quantities such as T ∂S/∂T can give suitable information on possible phase transitions of an economic system. In our case, the calculation T ∂S/∂T indicates an economic transition phase when T = Tmax . In fact for T = Tmax the expressions for Y , S, F, Z diverge. This implies that the system can be in equilibrium only for T < Tmax . This simple example shows how our formalism can give some predictions concerning the possible macroeconomic changes of a given economic systems representing a country. References [1] P. Samuelson, Economics (McGraw-Hill, New York, 1970 8th ed.). [2] W.M. Saslow, Am. J. Phys. 67(12) (1999) 1239. [3] J.L. McCauley, Physica A 329 (2003) 199. [4] E. Smith, D.K. Foley, Journal of Economic dynamics and Control 32 (2008) 7. [5] A.H. Dorooneh, Entropy 8(1) (2006) 18. [6] M. Aoki, H. Yoshikawa, Reconstructing Macroeconomics, Cambridge University Press (2006). 21 [7] W. Brock, S.N. Durlauf, ”Discrete Choice with Social Interactions”, Review of Economic Studies, vol. 68(2) (2001) pages 235-60. [8] F. Vega-Redondo, Complex Social Networks, Cambridge: Cambridge University Press (2007). [9] M. Gallegati, S. Keen, T. Lux, P. Ormerod, Physica A 370 (2006) 1. [10] P.K. Rawlings, D. Reguera, H. Reiss, Physica A 343 (2004) 643. [11] A.A. Dragulescu, V.M. Yakovenko, Eur. Phys. J. B 17 (2000) 723. [12] A.A. Dragulescu, V.M. Yakovenko, Physica A 299(2001) 213. [13] A.A. Dragulescu, V.M. Yakovenko, Eur. Phys. J. B 20 (2001) 585. [14] G.H. Wannier, Statistical physics (Dover, New York, 1987). [15] J.L. McCauley, Physica A 371 (2006) 601. [16] H. Quevedo, M.N. Quevedo, arXiv:0903.4216 (2009) [17] K. Huang, Statistical Mechanics (2Ed , Wiley, 1987). [18] V.M. Yakovenko, ”‘Statistical mechanics approach to the probability distribution of money”, invited chapter to the book New Approaches to Monetary Theoty: Interdisciplinary Perspectives, edited by Heiner Ganssmann (2011) 104-123. [19] N. Xi, N. Ding, Y. Wang, Physica A 357 (2005) 543. [20] A. Banerjee, V.M. Yakovenko, New Journal of Physics 12 (2010) 075032. [21] V.M. Yakovenko, J.B. Rosser, Rev. Mod. Phys. 81 (2009) 1703. [22] A.S. Chakrabarti, B.K. Chakrabarti, Statistical Theories of Income and Wealth Distribution, Economics, 4 (2010). [23] V. Pareto, Le Cours d’Economique Politique, Macmillan, Lausanne, Paris, (1897). 22