Chapter 4. Differential Equation
Chapter 4. Differential Equation
Differential Equation
1
4.1 DEFINITION AND TYPE OF DIFFERENTIAL EQUATION
Introduction
In the previous chapters much of the economic analysis
used has been comparative statics.
This entails the comparison of different (static) equilibrium
situations, with no regard on how variables adjust to their
new equilibrium values.
The study of the mechanism by which variables adjust
between equilibrium values is called ‘dynamics’. Or
The branch of economics that looks at how variables adjust
between equilibrium value is known as dynamics.
Many of the topics studied by economists can be
characterized as decisions taken in one period that have
consequences in some other periods.
2
CONT’D
In the continuous time, context, the pattern of change of
a variable y is embodied in the derivatives y’(t), y’’(t),etc.
The time change involved in these is infinitesimal in magnitude.
When the time is instead taken to be a discrete variable,
so that the concept of the derivative is no longer
appropriate.
Example:
Current savings finance future consumption
Investment this year increases the potential for production next
year.
Asset purchased today reward investors with payoff tomorrow.
5
TYPES OF DIFFERENTIAL EQUATION
Differential equation can be:
Linear Differential Equation (LDE) or
Non Linear Differential Equation (NLDE).
Differential Equation can also be classified as:
Homogeneous differential Equation. or
Non-homogeneous differential Equation.
In this part we will study LDE
which linearly relates the values of variables at a given point in time and the
changes in these values over time.
LDE are classified according to the highest degree of derivative
involved.
The order of a differential equation is determined by the order of the
highest derivative in the equation.
The highest power to which the highest order derivative is raised is
called the degree of the differential equation.
First-Order LDE: F(t, y(t), y'(t))=0 for all t.
Second-Order LDE: F(t, y(t),y'(t), y’’(t ))=0 for all t.
Nth-Order LDE: F(t, y(t), y'(t), ..., yn(t)) = 0 for all t.
Examples 1: First-order LDE : y'(t) + ay(t) = b
Second-order LDE: y’’(t) + a y’(t) + by(t) = c 6
Nth-order LDE: yn(t) +….+ a y’(t) + by(t) = c
CONT’D
Example 2. The order and degree of DE
Homogeneous vs non-homogeneous
Homogeneous DE has a zero constant
7
4.2 SOLUTION TO A DIFFERENTIAL EQUATION
Here we are interested in finding a solution that
express the value of a dependent variable at some
moment in time as function of independent variables,
of time itself , and of given values of the dependent
variable at one or more moments in time.
A Study of differential equations focuses on the
nature of the solution, including issues of stability and
the value of the steady state.
8
CONT’D
An equation F(x,y) which assumes a functional
relationship between dependent and independent
variable x and y which includes x, y and the derivatives
of y with respect x is called an ordinary differential
equation.
It is an implicit relationship between functions and
their derivatives.
NB: the order of a differential equation determined by
the order of the highest derivatives in the equation.
9
METHODS OF SOLVING DIFFERENTIAL EQUATIONS
y F x c
10
CONT’D
ii. Separable Differential Equations
A separable differential equation is any differential
equation that we can write in the following form.
dy
N y M x
dx
Note that in order for a differential equation to be
separable all the y's in the differential equation must
be multiplied by the derivative and all the x's in the
differential equation must be on the other side of the
equal sign.
The solution for the above type of equation is found
first by rewriting it as: N( y)dy = M( x)dx
Then integrating both sides we get
N ( y )dy M ( x)dx
11
4.3 . FIRST ORDER LINEAR DIFFERENTIAL EQUATIONS
12
CONT’D
13
CONT’D
A differential equation that includes time as a
separate arguments is known as non-autonomous, as
with non-homogeneous part.
y (t ) a y (t ) b (t ) c t e q u ( 2 )
14
CONT’D
From equation (1) we have homogeneous part
dy ( t )
ay ( t ) b
dt
dy ( t )
ay ( t ) when b 0 - - - (3)
dt
The time path of y(t) away from the steady state is
given by:
y ( t ) Ce at
is general solution
dy ( t ) d ( Ce at )
aCe at ay ( t )
dt dt 15
CONT’D
At t=0, the endogenous variable equals the given
value y(0).
Since the constant C equals the initial value of the
variable y(0).
Therefore, the definite solution to equation (3) is
y(0) Ce a.0
C
Suppose that y(0) does not equal the steady state
value of zero.
i) if a<0,
y (t ) y ( 0 ) e ( 4 )
at
16
CONT’D
lim y (t ) y (0) lim e at 0; and the solution is stable.
t t
17
CONT’D
Case 2: When b is constant term
dy ( t )
ay ( t ) b
dt
General Solution
It is a sum of SSV+ Homogeneous part
b b
y ( t ) ke at ke at y ( t ) , see consistence of the result as:
a a
d b
( ke ) ake at
at
dt a
b
a ( y (t ) )
a
ay ( t ) b
Give the value of y(0), it is possible to find definite
solution using the value in the solution
b b
y ( 0 ) ke a 0
k 20
a a
b
k y (0 )
a
CONT’D
Therefore, the definite solution
b at b
y (t ) ( y ( 0 ) ) e
a a
1
Example 1: u ( t ) u (t ) 2; u (0 ) 1
2
Example 2: x (t ) 4 x (t ) 2; x ( 0 ) 1
21
FIRST ORDER DE: STEADY STATE
A first-order DE:
y'(t) = F(t, y(t)) for all t.
Notation dy
y t y ' (t )
dt
The steady state represents an equilibrium value where
the system does not change anymore.
When y(t) does not change anymore, i.e., y'(t) = 0, we
call its value the steady state value denoted by y∞.
Example: y'(t) + ay(t) = b, with a≠0.
When y'(t) = 0, y∞=b/a (steady state solution)
Thus, solution for DE follows two steps:
Complementary solution ..…. yc = Ae-at,
Particular solution …….......... y∞=b/a 22
FIRST-ORDER LINEAR DIFFERENTIAL EQUATIONS
Example-1: y'(t) + 0.5y(t) = 2.
General solution
complementary function (yc=Ae-0.5t) plus
particular solution(y∞=b/a=4)
y(t) = Ae-0.5t + 4. (Solution is stable b/c a= 0.5>0).
Steady state: y∞ = b/a = 2/0.5 = 4
If y(0) = 20 => A = 20-4=16, => Specific solution or
definite solution is : y(t) = 16 e-0.5t + 4.
Example-2: y'(t) - 2 y(t) = -4.
General solution:
y(t) = Ae2t +2 (Solution is unstable b/c a= -2<0)
Steady state: y∞ = b/a = -4/-2 = 2
If y(0) = 9 => A =9-2= 7,
=> Definite solution: y(t) = 7e2t + 2. 23
4.4 EXACT DIFFERENTIAL EQUATION
Given a function of two variables F(y, t), its total
differential is:
F F
dF ( y, t ) dy dt
y t
When the left hand side of the equation is set equal to
0, the equation becomes:
F F
dy dt 0
y t
26
4.5 SECOND ORDER LINEAR DIFFERENTIAL EQUATIONS
32
2.ADJUSTMENT IN A KEYNESIAN MACROECONOMIC MODEL
In a basic Keynesian macroeconomic model, with no
foreign trade and no government sector, total expenditure
(E) will be the sum of consumer expenditure (C) and
exogenous investment (I ).
This model can therefore be specified as:
34
CONT’D...
35
NUMERICAL EXAMPLES
1. In a basic Keynesian macroeconomic model
C = 360 + 0.8Y
I = 120
When the system is out of equilibrium the rate of adjustment of
Y is:
dY/dt= 0.25(E(t) – Y(t)) = 0.25(C(t) + I –Y(t))
If national income is initially 2,000 birr, derive a general and
specific solutions and comment on the stability of this system.
2. In a macroeconomic model
C(t) = 200 + 0.75Y(t)
E(t) = C (t)+ I and I = 80
dY/dt= 0.8(E(t) − Y(t))= 0.8(C(t) + I –Y(t))
If Y0 = 1,200 birr, derive a general and specific solutions and
comment on the stability of this model. 36
CONT’D
Solution for Equation 1
dY/dt = 0.25(360 + 0.8Y(t) + 120 − Y(t))
= 0.25(480 − 0.2Y(t))
= 120 − 0.05Y(t)
Complementary solution
Y(t) = Ae−0.05t
Particular solution