<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Mathematical Model of Banking Firm as Tool for Analysis, Management and Learning</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Victor Selyutin</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Margarita Rudenko</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Economic Faculty of Southern Federal University 220/1, av. Stachki</institution>
          ,
          <addr-line>344090, Rostov-on-Don</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Research Institute of Mechanics and Applied Mathematics</institution>
        </aff>
      </contrib-group>
      <fpage>401</fpage>
      <lpage>408</lpage>
      <abstract>
        <p>An essential concern for banking firms is the problem of assets and liabilities managing (ALM). Over last years a lot of model tools were offered for solving this problem. We offer the novel approach to ALM based on transport equations for loan and deposit dynamics. Given the bank's initial state, and various deposit inflow scenarios the model allows provide simulations including stress-testing, and can be used for assessment of liquidity risk, for examine loan issue decisions to choose reasonable solution, and in the learning purposes.</p>
      </abstract>
      <kwd-group>
        <kwd />
        <kwd>Asset- liability management</kwd>
        <kwd>Differential equations</kwd>
        <kwd>Liquidity risk</kwd>
        <kwd>Duration</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>A banking firm is rather a complex system within the context of management
problem. It is caused by a considerable number of financial flows and the funds, having a
various origin and differing by dynamic and probabilistic characteristics, and at the
same time forming the unified system. Stable functioning of the system is provided
due to hierarchy, external (prudential supervision) and internal regulators and
restrictions, and feedbacks.</p>
      <p>Among the mathematical models of banking firms it is possible to separate two
basic groups. There are models of optimization of assets portfolio (static, single and
multi-period) using linear and dynamic programming mainly [1-2], and models of
assets and liability management (ALM), using methodology and the technique of the
stochastic differential equations [3-5].</p>
      <p>One of the problem solved by models ALM is management of various risks
(especially credit risk and interest-rate risk), including the problem of default probability
decrease.</p>
      <p>In connection with computer engineering development, from the middle of 70th
years of the last century the computer models of banks focused on problems of
planning and decision-making support systems began to appear. However such projects
had no further development [6-8].</p>
      <p>Then we will turn our attention to one of the possible approaches to bank
modelling as a dynamic system, which can be called hybrid. The main tasks which the
model developed must solve are the analysis and management of liquidity and
stresstesting of a bank. In addition, it can be used for optimization of assets profile.</p>
      <p>Aggregation of elements of balance sheet can be varied according to the objectives
of modelling and principles developing of state variables vector. We will use the
following simplified schematic (Tab. 1).</p>
      <p>Fixed assets of bank we will ignore, taking into account only financial flows.
Obviously, balance sheet equation takes place:</p>
      <p>
        A= S+B+Q+X=Y+C+M=L ,
(
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
where equity (capital) of a bank C is a balancing variable.
      </p>
      <p>For detailed modelling of credit risks, loans issued can be divided by categories of
the debtors having various reliabilities. Division of deposits on time and demand is
necessary for calculation of instant liquidity. It is ignored in considered below version
of the model for simplicity.</p>
      <p>Formally it is possible to mark three groups of operations in the balance-sheet
table:
 Reallocation of assets between separate items
 Reallocation of liabilities between separate items
 Identical change of assets and liabilities at one period</p>
      <p>Though the bank opens a position in liabilities with grant of a loan (opening of a
credit line) at one time, from the formal point of view this operation is resolved into
reallocation of asset`s items.</p>
      <p>Similarly, if the deposit remains unclaimed in maturity date it either is prolonged,
or is transferred in demand deposits (with no interest accruing or with the minimum
percentage) according to contact conditions. Actually, in this case there is a
reallocation of liability`s items.</p>
      <p>At last, when interest on loans (or other types of income or expenses) are received
(or repaid), at one time it is changed both assets, and liabilities, own capital of bank
increases or decreases.
2</p>
      <p>Model with Certain Terms of Loans and Attracted Funds
The main difficulty in modelling of assets and liabilities dynamics is concerned with
necessity taking into account terms of loans and deposits. Due to these the state
variables must depend on two parameters - current time (t) and current "age" () or the
remained term to maturity (T-). That is why dynamics of the issued loans can be
described by following transport equation:
x x</p>
      <p>
          u (t , ) (
        <xref ref-type="bibr" rid="ref2">2</xref>
        )
t 
      </p>
      <p>T
In addition X ( t )   x ( t , ) d  - total amount loans issued,</p>
      <p>0</p>
      <p>T
X * (t )   x (t , )e  d</p>
      <p>
        0
Movement of time deposits is described similarly:
 y   y  v (t , )
 t 
- present value of loans, Т – term of loans.
(
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
      </p>
      <p>T
Y (t )   y (t , ) d - total amount of time deposits,
0</p>
      <p>T
Y * (t )   y (t , )e  d - present value of time deposits, T – term of deposits.</p>
      <p>0</p>
      <p>Variables u(t,) and v(t,) denote the flows of issued loans (temporary outflow of
financial resources of bank) and deposits (temporary inflow) distributed by time
taking into account amortization (interest payment or installment credits). Accordingly,
total inputs of loans U(t) and deposits V(t) (or its present values U*(t) and V*(t)) is
described as:</p>
      <p>T T
U (t )   u (t , )d , U * (t )   u (t , )e  d
0 0</p>
      <p>T T
V (t )   v(t , )d , V * (t )   v (t , )e  d</p>
      <p>0 0</p>
      <p>
        Solution of the equations (
        <xref ref-type="bibr" rid="ref2 ref3">2-3</xref>
        ) can be represented in the closed form:
      </p>
      <p>t
x (t , )   u ( ,  t   )d   (  t )
0
t
y (t , )   v( ,  t   )d  (  t )</p>
      <p>0
where () and ()- initial distributions of loans and deposits by "age", or may be
obtained by use corresponding equations with finite differences.</p>
      <p>Dynamics of reserves (S) and equity (C) is described by the equations including
stochastic members which consider random nature of change in value of shares and
possible loans losses:
dS  U t   V t    X X  YY   B B   M M  Z t dt  Qdt
QdWt  xt dJt
dC   X X   Y Y   B B   M M  Z t dt   Qdt   QdW t
 xT dJ t
where dWt – increment of Wiener stochastic process, dJt – increment of compound
Poisson process with exponential distributed size of jumps (loan losses), Z(t) –
operation expenses and payment for dividends; xT(t) – repayment of a loans in maturity
date, X, Y, B, M – accordingly interest on loans, deposits, bonds income, cost of
credits;  - average portfolio return of trading securities, - volatility of securities
portfolio.</p>
      <p>Investments in liquid assets - shares Q(t) and bonds B(t) can be considered as some
parameters of management and to be calculated, proceeding from structure of assets
chosen or planned by bank taking into account loan demand. Similarly, the volume of
received loans M(t) can be select depending on bank`s requirement in financial
resources.</p>
      <p>It is necessary to add the equations of dynamics of duration to the equations of
movement of assets and liabilities to model liquidity risk taking into account change
of interest rates</p>
      <p>If r – the annual interest rate, so in this case Macaulay duration for an asset x(t,) is
defined by expression:</p>
      <p>D x t   T  X *1 t   T0  x t , e  d ,
where  = ln(1+r).</p>
      <p>Similarly duration of another financial flows y(t,), u(t,), v(t,) are calculated. It is
possible to show that dynamics of duration is described by any of presented below the
equations which is chosen according to liquidity research tasks.</p>
      <p>dD x   D u (t ) U * (t )  1   (t ) D x   D x</p>
      <p>dt  X * (t ) 
dD x  ( D u ( t )  D x ) U * ( t )  1  D x Xx T*((tt))    D x
dt X * ( t ) 
where  dXdt *  X1 *   ( t )</p>
      <p>
        Model (
        <xref ref-type="bibr" rid="ref2 ref3">2-3</xref>
        ) has been transformed to system of difference equations and realized as
computer program [9]. The user independently chooses one of two operating modes
of the program: calculation in case of predefined planning horizon, or calculation with
possible correction of parameters, setting physical speed of calculation.
      </p>
      <p>The program is interactive as the user can change values of some key parameters in
the process of calculation, without interrupting its work. As key parameters are
chosen: a fraction of cash invested in various kinds of assets, revenues (interest rates), a
duration of demand deposits, credit demand, inflow of deposits, crediting scenarios
(distribution of loans by time).</p>
      <p>Dynamics of inflows and outflows of cashes; diagram of change of durations of
assets and liabilities; distributions of loans and deposits, and also input flow by time are
displayed on the screen of computer.</p>
      <p>A stress-testing is provided in the program. The user can choose the period of
stress-testing and such stresses-scenarios as decrease in inflow of deposits, decrease
in duration of deposits (the scenario of outflow of deposits); decrease in accessible
volume of attracted funds on the interbank market.
3</p>
      <p>
        Model with Fixed Terms of Lending and Borrowing
Model (
        <xref ref-type="bibr" rid="ref2 ref3">2-3</xref>
        ) presented above is rather difficult in numerical realization and does not
allow to consider some important facts, for example, dependence on interest rates
from different terms of lending or borrowing. Therefore we will consider simplified
modification of previous model under supposing that terms of loans and deposits are
fixed.
      </p>
      <p>It is possible to fix the most typical terms according to the classification used in the
bank reporting, in spite of the fact that terms of loans (or deposits) can be arbitrary.
Both loans and time deposits are structured by terms as follows: till 30 days, from 31
till 90 days, from 91 till 180 days, from 181 days till 1 year, from 1 year till 3 years,
over 3 years.</p>
      <p>Accordingly, it is possible to establish several typical periods Tk for each of them
time transactions are described by the partial differential equation of the first order
x x</p>
      <p>
          a( , x) (
        <xref ref-type="bibr" rid="ref4">4</xref>
        )
t 
with a boundary condition x(t,0)=u(t) and the initial condition x(0,)=(). Initial and
boundary condition should be consistent, that is u(0)=(0).
      </p>
      <p>Here t - current time, 0t&lt;,  - elapsed time since the moment of settlement of
transaction ("age" of an loan or deposit), 0&lt;T, a(,x)- value of "amortization" of an
loan or deposit (inflation, installment credit etc.).</p>
      <p>
        Similarly (
        <xref ref-type="bibr" rid="ref2 ref3">2-3</xref>
        ), the variable x(t,) is the allocated variable characterizing some
credit tools, accounted in assets or in liabilities (loans for limited period, time
deposits, interbank lending or borrowing, coupon bonds or other assets and liabilities with
the fixed term of repayment).
      </p>
      <p>
        Further it will be assumed that
a( , x)  x
(
        <xref ref-type="bibr" rid="ref5">5</xref>
        )
i.e. repayment of credits occurs proportionally to their volume with coefficient ,
which is not dependent on age. It can be used and other schemes (when credit
repayment begins not at once and (or) occurs in advance established equal shares.
      </p>
      <p>
        It is easy to verify that the solution of the equation (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) looks like a travelling wave
x(t, )  u(t  ) exp(x) (
        <xref ref-type="bibr" rid="ref6">6</xref>
        )
      </p>
      <p>For consistency an initial and boundary conditions at t&lt;T it is necessary to
predetermine u(t) on an interval t[-T,0).</p>
      <p>
        From (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) - (
        <xref ref-type="bibr" rid="ref6">6</xref>
        ) follows
      </p>
      <p>
        x(0, )  ( )  u( )exp( )
and after replacement  for -t,
u(t)   (t) exp(t) under -Tt&lt;0
(
        <xref ref-type="bibr" rid="ref8">8</xref>
        )
      </p>
      <p>The total value of the considered loan (or deposit) are obtained by integration on
age</p>
      <p>T
X (t )   x (t , ) d</p>
      <p>
        0
Substituting (
        <xref ref-type="bibr" rid="ref6">6</xref>
        ) in (
        <xref ref-type="bibr" rid="ref9">9</xref>
        ), we have
      </p>
      <p>T
X (t )   u (t   ) exp(  ) d</p>
      <p>
        0
Integrating (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ), we obtain the ordinal differential equation
(
        <xref ref-type="bibr" rid="ref7">7</xref>
        )
(
        <xref ref-type="bibr" rid="ref9">9</xref>
        )
(10)
dX  u(t) X  x(t,T )  u(t)  X  u(t  T ) exp(T ) (11)
dt
      </p>
      <p>As assets with different terms of repayment are in portfolio of assets or liabilities,
so it is possible to replace scalar variable X(t) in (11) with vector. Vector`s
components are financial tools with different terms of repayment
dXk  uk (t)  k Xk  xk (t,Tk )  uk (t)  k Xk  uk (t Tk ) exp( kTk ) (12)
dt</p>
      <p>For simplicity further we will suppose Tk=k, where k - the term, expressed in
months.</p>
      <p>Time tools (issued loans, bonds, interbank credits, time deposits) from the
mathematical point of view are similar, that is why we will consider them in the context of
one and only construction, giving the general designation: Xk - to time tools in assets
and Yk – in liabilities. Then the previous model can be presented as:
dXk  uk (t)  k Xk  xk (t, k)  uk (t)  k Xk  uk (t  k) exp( k k)
dt
dSt  Stdt StdWt  f (t)dt
(13)
(15)
(16)
(17)
where w(t) - inflow of on-demand deposits , vk(t) - inflow of time deposits and
borrowed funds; f(t) - purchase (+) or sale (-) trading securities (t/s); g(t) – operation
costs on carrying out of activities of bank;  - securities portfolio return;  - volatility
of securities portfolio; Wt- Wiener stochastic process; k - interest on the time deposits
and borrowed funds; k - interest on issued loans; Dz - duration (characteristic
turnover time) on-demand deposits.</p>
      <p>It is easily to obtain the equation of dynamics of equity by differentiation of
balance equality and corresponding substitutions (13) - (17). As follows,
dC
dt
   k X k   kYk  dSt  f (t)  g(t) (18)</p>
      <p>k k dt</p>
      <p>For simplicity it is supposed complete withdrawal of deposits after term in this
version of model. However it is easy to take into account possibility of prolongation of
the deposit or its transfer in category on-demand deposits. It is considered that
dividends are not paid.</p>
      <p>Besides, credit risks (default risk, or a delay of payments) are not considered, that
also it is possible to take into account by entering of corresponding adjustments.
It is considered that interests on the attracted funds and the received credits are paid
according to accrual. However it is easy to set and other scheme in which interests are
accumulated on depositary accounts and are paid after term of deposit.</p>
      <p>Let k  X k X and -  k  Yk Y - structure of time loans and deposits.</p>
      <p>Besides, for simplicity we will assume that there are no investments in trading
securities. Then dynamics of the capitals are described by the equation:
dC
(19)
dt
 X   k k  Y  k k  g(t) ,</p>
      <p>k k</p>
      <p>It is giving evident representation about sensitivity of dynamics of capital to
changes of main parameters of assets and liabilities.</p>
      <p>Main objective of shareholders and bank management is the increase in capital:
dC</p>
      <p> max (20)
dt
subject to restrictions on financial resources and risks (credit and market, loss of
liquidity, bankruptcy).</p>
      <p>Conclusions
The approach to mathematical modelling of cash flow moving in asset and liability
accounts of the commercial bank based on the partial differential equations is novel
and has no analogues in the literature. At the same time, the given approach is quite
logic as reflects process of change of actives simultaneously in time and on "age".
Depending on particular theoretical or practical problems the given approach can be
realized in the various modifications, two of which are presented in the article.</p>
      <p>
        As the preliminary testing has shown, the computer program created by use model
(
        <xref ref-type="bibr" rid="ref2 ref3">2-3</xref>
        ) allows provide various simulations, including stress-testing, and can be used in
the educational purposes to provide the best understanding of the dynamic processes
taking place in banking firm.
      </p>
      <p>It is necessary the further development of the offered modelling approach such as
improvement of program tool and also, as required, model detailed elaboration to use
these models as part of decision support system for asset and liability management in
commercial bank. The modified model (13-18) has been proposed for these goals.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Chi</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dong</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sun</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          :
          <article-title>Decision Making Model of Bank's Assets Portfolio Based on Multi-period Dynamic Optimization</article-title>
          .
          <source>Systems Engineering - Theory &amp; Practice</source>
          ,
          <volume>27</volume>
          (
          <issue>2</issue>
          ),
          <fpage>1</fpage>
          -
          <lpage>16</lpage>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Kruger</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>A Goal Programming Approach to Strategic Bank Balance Sheet Management</article-title>
          . Banking, Financial Services, and
          <article-title>Insurance</article-title>
          .
          <source>In: Proc. SAS Global Forum, Paper 024-2011</source>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Kosmidou</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zopounidis</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Asset Liability Management Techniques</article-title>
          .
          <source>Handbook of Financial Engineering</source>
          , pp.
          <fpage>281</fpage>
          -
          <lpage>300</lpage>
          , Springer Science+Business Media, LLC (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Mukuddem-Petersen</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Petersen</surname>
            ,
            <given-names>M.A.</given-names>
          </string-name>
          :
          <article-title>Bank Management via Stochastic Optimal Control</article-title>
          .
          <source>Automatica</source>
          <volume>42</volume>
          ,
          <fpage>1395</fpage>
          -
          <lpage>1406</lpage>
          (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Mulvey</surname>
            ,
            <given-names>J.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shetty</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Financial Planning via Multi-stage Stochastic Optimization</article-title>
          .
          <source>Computers &amp; Operations Research</source>
          <volume>31</volume>
          ,
          <fpage>1</fpage>
          -
          <lpage>20</lpage>
          (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Solyankin</surname>
            ,
            <given-names>A.A.</given-names>
          </string-name>
          :
          <article-title>Computerization of the Financial Analysis and Forecasting in Bank</article-title>
          . FinStatInform,
          <string-name>
            <surname>Мoscow</surname>
          </string-name>
          (
          <year>1998</year>
          )
          <article-title>(in Russian)</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Robinson</surname>
            ,
            <given-names>R.S.:</given-names>
          </string-name>
          <article-title>BANKMOD: an Interactive Simulation Aid for Bank Financial Planning</article-title>
          .
          <source>J. Bank Res</source>
          .
          <volume>4</volume>
          (
          <issue>3</issue>
          ),
          <fpage>212</fpage>
          -
          <lpage>224</lpage>
          (
          <year>1973</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Moynihan</surname>
            ,
            <given-names>G.P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Purushothaman</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McLeod</surname>
            ,
            <given-names>R.W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nichols</surname>
          </string-name>
          , W.G.:
          <article-title>DSSALM: a Decision Support System for Asset and Liability Management. Decision Support Syst</article-title>
          .
          <volume>33</volume>
          (
          <issue>1</issue>
          ),
          <fpage>23</fpage>
          -
          <lpage>38</lpage>
          (
          <year>2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Alekseev</surname>
            ,
            <given-names>I.V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Selyutin</surname>
            ,
            <given-names>V.V.</given-names>
          </string-name>
          :
          <article-title>Interactive Computer Model of Bank`s Asset and Liability Dynamics</article-title>
          .
          <source>Terra Economicus</source>
          <volume>9</volume>
          (
          <issue>4</issue>
          ),
          <source>Part</source>
          <volume>2</volume>
          ,
          <fpage>42</fpage>
          -
          <lpage>47</lpage>
          (
          <year>2011</year>
          )
          <article-title>(in Russian)</article-title>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>