Slides TKT CA Comparative-statics-analysis-2Credits
Slides TKT CA Comparative-statics-analysis-2Credits
Hà Văn Hiếu
Lecturer
Dr. Hà Văn Hiếu,
Faculty of Economic Mathematics, UEL.
Email: [email protected].
Students
This module is taken by 413CA.
Definition
Mathematical economics is the application of mathematical methods to
represent theories and analyze problems in economics. Often, these
applied methods go beyond simple geometry and may include
differential and integral calculus, difference and differential equations,
matrix algebra, mathematical programming, or other computational
methods. [Wikipedia]
P = P (Qs )
P = P (Qd )
Qs = Qd
Determine:
endogenous,
exogenous
variables.
Behavioral,
conditional
equations.
Hà Văn Hiếu (UEL) Mathematical Economics 10th October 2022 11 / 80
Examples - IS-LM schedule
Y =C +I +G
C = C(Y )
I = I(Y )
I = I(r)
M s = Md
Determine:
endogenous,
exogenous
variables.
Behavioral,
conditional
equations.
Hà Văn Hiếu (UEL) Mathematical Economics 10th October 2022 12 / 80
Elementary Linear Algebra and Analysis
One-commodity model:
Qd = Qs
Qd = a − bP (a, b > 0)
Qs = −c + dP (c, d > 0)
Equilibrium solution:
a+c ad − bc
P∗ = , Q∗ =
b+d b+d
Hence, to be economically meaningful, the model should contain
the additional restriction that ad > bc.
More exercises: p34
Two-commodity model:
Qd1 = Qs1
Qd1 = ao − a1 P1 + a2 P2 (ao , a1 > 0)
Qs1 = −bo + b1 P1 + b2 P2 (bo , b1 > 0)
Qd2 = Qs2
Qd2 = αo − α1 P1 + α2 P2 (αo , α1 > 0)
Qs2 = −βo + β1 P1 + β2 P2 (βo , β1 > 0)
Qd1 = ao − a1 P1 + a2 P2
Qd2 = −αo + α1 P1 + α2 P2
Y = C + Io + G o
C = a + bY (a > 0, , 0 < b < 1)
Y = C + Io + Go
C = a + b(Y − T ) (a > 0, 0 < b < 1)
T = d + tY (d > 0, 0 < t < 1)
Y = C + Io + G o
C = a + bY (a > 0, , 0 < b < 1)
Y = C + I + Go
C = a + bY (a > 0, 0 < b < 1)
I = cr + d (c < 0, d > 0)
Mo = k1 Y + k2 r + k3
(k1 , k3 > 0, k2 < 0)
Coefficient matrix:
a11 a12 ··· a1n
a21 a22 ··· a2n
A= .
.. .. ..
.. . . .
an1 an2 · · · ann
Each column sum represents the partial input cost and must be
less than 1.
Final demand is a column vector b, including consumer demand,
government expenditure and export - import activities.
Let’s denote by xi the output level of industry i. Then
i.e., if and only if the leading principal minors of B are all positive.
Statics analysis
Comparative analysis
Initial assumed the equilibrium is attained
Equilibrium
Dynamic analysis
whether the equilibrium is attained
1 Comparative Analysis:
Rate of change: Differentiation, marginal value.
Rate of percentage change: Differentiation, elasticity.
Rate of substitution: implicit derivatives, marginal substitution,
Elasticity substitution.
2 Comparative Statics Analysis:
Integration.
Optimization.
f (x + ∆x) − f (x)
f ′ (x) = lim
∆x→0 ∆x
The sum and the difference rules, the product and the quotient
rules, the chain and the inverse rules.
f ′g − f g′
(f /g)′ =
(f ± g)′ = f ′ ± g ′ g2
(f g)′ = f ′ g + f g ′ df du
(f (u))′ = ×
du dx
f ′g − f g′
(f /g)′ = (f −1 )′ = 1/f ′
g2
Example
1 Given y = u3 + 2u, where u = 5 − x2 , find dy/dx by the chain rule.
2 Given y = 4x5 + x3 + 2x. Is x uniquely determined for each value
of y? If true, x can be considered as a function of y. Determine the
derivative of the later function, i.e. dx/dy.
f ′′ (x) = (f ′ )′
Let
f (x, y) = x2 y
Then
Notations
Let
z = f (x, y).
Then the partial derivative of f w.r.t. (with respect to) x is writtern as
∂z ∂f
or or fx
∂x ∂x
Example
Let
f (x, y) = x2 y
Then
∂f
= 2xy and fy = x2
∂x
Example
Find expressions for the second-order partial derivatives of the
functions
Example
Find expressions for the partial derivatives f1 , f11 and f21 in the case
when
f (x1 , x2 , x3 ) = x1 x2 + x51 − x22 x3
Young’s theorem
If fxy and fyx are both continuous then
fxy = fyx
dk = 0 (constant-function rule)
d(cun ) = cnun−1 du (power-function rule)
d(u ± v) = du ± dv (sum-difference rule)
d(uv) = udv + vdu (product rule)
u 1
d = 2 (vdu − udv) (quotient rule)
v v
Example
Determine the total differentials of the following functions:
a) z = xy d) z = xex
b) z =x+y e) z = Axα y β
c) z = ex+y f) f = Axα y β + z(M − ax − by)
Hà Văn Hiếu (UEL) Mathematical Economics 10th October 2022 36 / 80
Second-order Total Differentials
Example
Given z = x3 + 5xy − y 2 , then
Example
Determine the total derivative of z = y ln ex where y = x2 .
Example
Determine the total derivatives of z = y1 ex1 + y2 sin(2x2 ) where
y1 = x1 + x2 and y2 = x1 x2 .
Stationary points:
f ′ (x) = 0
Local maximum:
′
f (x) = 0
f ′′ (x) < 0
Local minimum:
′
f (x) = 0
f ′′ (x) > 0
N th-Derivative test
Let f (x) be a function so that we can its N -th derivative. Assume that
there is a point xo so that f ′ (xo ) = · · · = f (N −1) (xo ) = 0 and
f (N ) (xo ) ̸= 0.
1 If N is odd then xo is an inflection point.
2 If N is even and f (N ) (xo ) < 0 then xo is a local maximum point.
3 If N is even and f (N ) (xo ) > 0 then xo is a local minimum point.
Example
Find the stationary values of the following functions:
Example
Find the extreme value(s) of z = x2 + xy + 2y 2 + 3.
Let
z = f (x1 , x2 , x3 )
Then
dz = f1 dx1 + f2 dx2 + f3 dx3
d2 z = f11 dx21 + f12 dx1 dx2 + f13 dx1 dx3
+f21 dx2 dx1 + f22 dx22 + f23 dx2 dx3
+f31 dx3 dx1 + f32 dx3 dx2 + f33 dx23
Once again,
x∗ = (x∗1 , x∗2 , x∗3 ) is a stationary point if df (x∗ ) = 0.
x∗ is local minimum if d2 z(x∗ ) > 0 for arbitrary dx, dy, dz, not all
zero.
x∗ is local maximum if d2 z(x∗ ) < 0 for arbitrary dx, dy, dz, not all
zero.
x∗ is saddle if d2 z(x∗ ) changes its sign.
z = f (x1 , x2 , x3 )
Then
d2 z = f11 dx21 + f12 dx1 dx2 + f13 dx1 dx3
+f21 dx2 dx1 + f22 dx22 + f23 dx2 dx3
+f31 dx3 dx1 + f32 dx3 dx2 + f33 dx23
The symmetric Hessian determinant:
f11 f12
|H1 | = f11 |H2 | = |H3 | = |H|
f21 f22
Example
Find the extreme values of the following functions.
z = x21 + 3x22 − 3x1 x2 + 4x2 x3 + 6x23
z = x1 x3 + x21 − x2 + x2 x3 + x22 + 3x23
z = x41 − 16x21 + x22 + x2 x3 + x23
Hà Văn Hiếu (UEL) Mathematical Economics 10th October 2022 49 / 80
n-Variable Case
z = f (x1 , x2 , . . . , xn )
The total differential will then be
dz = f1 dx1 + f2 dx2 + · · · + fn dxn
The Hessian
f11 f12 ··· f1n
f21 f22 ··· f2n
|H| = . .. .. ..
.. . . .
fn1 fn2 · · · fnn
optimize U = x1 x2 + 2x1
subject to
4x1 + 2x2 = 60
Solve
optimize U = x1 x2 + 2x1
subject to
4x1 + 2x2 = 60
optimize U = x1 x2 + 2x1
subject to
4x1 + 2x2 = 60
Lλ = 60 − 4x1 − 2x2 = 0
L1 = x2 + 2 − 4λ = 0
L2 = x1 − 2λ = 0
optimize z = f (x1 , x2 , . . . , xn )
subject to
g(x1 , . . . , xn ) = c
It follows that the Lagrangian function will be
L = f (x1 , x2 , . . . , xn ) + λ[c − g(x1 , x2 , . . . , xn )]
for which the first-order condition will consist of the following (n + 1)
simultaneous equations:
Lλ = c − g(x1 , . . . , xn ) = 0
L1 = f1 − λg1 = 0
······
Ln = fn − λgn = 0
If x = (x∗1 , . . . , x∗n ) is a solution of the constrained optimization then
there is λ∗ so that (x∗1 , . . . , x∗n , λ∗ ) is a root of the above system.
Hà Văn Hiếu (UEL) Mathematical Economics 10th October 2022 55 / 80
The case of more than one constraint
When there is more than one constraint, the Lagrange-multiplier
method is equally applicable, provided we introduce as many such
multipliers as there are constraints in the Lagrangian function. For
example,
optimize z = f (x1 , x2 , . . . , xn )
subject to
g(x1 , . . . , xn ) = c and h(x1 , . . . , xn ) = d
optimize z = f (x, y)
subject to
g(x, y) = c
0 g1 g2 ··· gn
g1 L11 L12 ··· L1n
optimize z = f (x1 , x2 , . . . , xn ) |H| = g2 L21 L22 ··· L2n
subject to .. .. .. .. ..
. . . . .
g(x1 , x2 , . . . , xn ) = c gn Ln1 Ln2 ··· Lnn
optimize z = f (x1 , x2 , . . . , xn )
subject to
g j (x1 , x2 , . . . , xn ) = cj for j = 1, .., m
0 g1 g2 ··· gn
g1 L11 L12 ··· L1n
|H| = g2 L21 L22 ··· L2n
.. .. .. .. ..
. . . . .
gn Ln1 Ln2 · · · Lnn
Let us suppose that a firm wants to maximise output and that the
production function is of the form
Q = f (K, L)
maximise Q = f (K, L)
subject to
K · PK + L · PL = M
maximise Q = f (K, L)
subject to
PK K + P L L = M
PL MPL
=
PK MPK
MPL MPK
=
PL PK
P1 U′
M aximise U = U (x1 , x2 ) = x′ 1
P2 Ux2
subject to
P1 x1 + P2 x2 = M
Ux′ 1 U′
= x2
P1 P2
So when utility is maximised subject to a budgetary constraint,
the ratio of the prices of the goods is equal to the ratio of their
marginal utilities.
the ratio of marginal utility to price is the same for all goods
consumed.
Example
An individual’s utility function is given by U = x1 x2 where x1 and x2 denote
the number of items of two goods, G1 and G2. The prices of the goods are $2
and $10, respectively. Assuming that the individual has $400 available to
spend on these goods, find the utility-maximising values of x1 and x2 . Verify
that the ratio of marginal utility to price is the same for both goods at the
optimum.
Example
A firm’s total cost function is given by
where x1 and x2 denote the number of items of two goods G1 and G2 that are
bought. Each item costs $1 for G1 and $2 for G2. Use Lagrange multipliers to
find the maximum value of U if the consumer’s income is $83. Estimate the
new optimal utility if the consumer’s income rises by $1.
Example
Use Lagrange multipliers to find expressions for x1 and x2 which maximise
the utility function
1/2 1/2
U = x1 + x2
subject to the general budgetary constraint
P1 x 1 + P2 x 2 = M
Hà Văn Hiếu (UEL) Mathematical Economics 10th October 2022 65 / 80
Differentiation - Marginal values and Elasticities
Marginal value:
the absolute change on f
≈ f ′ (x)
the absolute change on x
Interpretation: The marginal value of f at x = xo estimates the
absolute change of f when the variable x increases by 1 unit.
Elasticity:
the percentage change on f x
≈ f ′ (x) ×
the percentage change on x f (x)
If y = y(x1 , . . . , xn ) is an implicit
function given by
F (y, x1 , . . . , xn ) = 0
then
∂y F′
= − x′1
∂x1 Fy
Given U = U (x1 , x2 ). Then
dx2 Ux1
MRCS = − =
dx1 Ux2
∂P ∗ 1
=
Q = a − bP (demand) ∂a b+d
∂P ∗ a+c
Q = −c + dP (supply) =−
∂b (b + d)2
∂P ∗ 1
=
Equilibrium: ∂c b+d
∂P ∗ a+c
=−
∂d (b + d)2
a+c ad − bc
P∗ = , Q∗ =
b+d b+d
Consumer’s surplus is the excess cost that a person would have been
prepared to pay for goods over and above what is actually paid.
ZQo
CS = −Qo Po + f (Q)dQ
0
ZQo
PS = Qo Po − g(Q)dQ
0
Example
a. A firm’s marginal cost function is M C = 2. Find an expression for
the total cost function if the fixed costs are 500. Hence find the
total cost of producing 40 goods.
b. The marginal revenue function of a monopolistic producer is
M R = 100 − 6Q. Find the total revenue function and deduce the
corresponding demand function.
c. Find an expression for the savings function if the marginal
propensity to save is given by MPS = 0.4 − 0.1Y −1/2 . and savings
are zero when income is 100.
More exercises: p470
Hà Văn Hiếu (UEL) Mathematical Economics 10th October 2022 77 / 80
Dynamic Analysis
Team work
(Discrete) Markov chain in Economics and Finance.
Applications of Linear Algebras.
Projects
Leontieff I-O model and applying in Economics and/or Finance: an
evidence in Vietnam (Ref. (1) Using Solow and I-O models to determine the
Factors impacting Economic Growth in Ho Chi Minh City - Nguyen Thi
Canh; (2) Vietnam Economic Structure Change Based on Vietnam
Input-Output Tables 2012 and 2016 - Bui Trinh).
Thank you!