Differentiation Techniques in Economics
Differentiation Techniques in Economics
[Link] Sydsater & PeterJ. Mammonod Mathematics for Economic Analysis, Prentice Hall
2. Angel de la Fuente, Mathematical Methods and Models for Economist, Cambridge
3. Alpha [Link] Fundamental Method of Mathematical Economics McGraw-Hill
4. Simon Blume Mathematics for Economist, Norton
5. Phoebus J. Dhrymes, Mathematics for Econometrics, Springer
6. Bernd Luderer and others, Mathematical Formulas for Economists, Springer.
7. Murray R. Spiegel and others, Mathematical Handbook of Formulas and Tables,
McGraw-Hill
Derivative
Differentiation is to show how
much Y changes with respect
to a small change in X. Y
𝑌=𝑓 𝑥
y2
Differentiating Y with respect y1
to x is expressed in
𝑑𝑦 𝑦2 − 𝑦1 ∆𝑦
=𝑓 = ≅
𝑑𝑥 𝑥2 − 𝑥1 ∆𝑥
Differentiating Y=2x with
respect to x is derived as
𝑑𝑦
=𝑓 =2
𝑑𝑥 0 x1 x2 X
1
2024/4/18
Differentiation
Y
拡大図
y2
y2
y1
∆𝑦
y1
X1 X2
∆𝑥
0 x1 x2 X
• y=1+2x
• When this is
evaluated at x=10,
y=f(10)=1+2*10=
21.
• When this is
evaluated at x=11,
y=f(11)=1+2*11=
23.
∆
• = = =2
∆
2
2024/4/18
Differentiation
y= f(x) is a function such as f(x)=1+2x.
y=f(x)=1+2x
y=f(10)=1+2*10=21
y=f(11)=1+2*11=23
∆𝑦 23 − 20 2
= = =2
∆𝑥 11 − 10 1
When this is evaluated at x=10, y=f(10)=1+2*10=21. When this is evaluated
at x=10, y=f(11)=1+2*11=23.
𝑓 𝑎 + ∆𝑥 − 𝑓 𝑎 23 − 21
lim =𝑓 𝑎 =2=
∆ → ∆𝑥 1
Second Derivative
𝑓 𝑥 > 0 for up to 50,000: f is increasing.
3
2024/4/18
4
2024/4/18
Examples
1. y=5+3x 𝑓 𝑥 =3
2. 𝑦 = 𝑓 𝑥 = 𝑥 𝑓 𝑥 = 3𝑥
3. 𝑦 = 𝑓 𝑥 𝑔 𝑥 = 5𝑥 4 + 3𝑥 = 𝑓 𝑥 𝑔 𝑥 + 𝑓 𝑥 𝑔 𝑥 = 15𝑥 4 + 3𝑥 + 5𝑥 (3)
( ) ( ) ∗ ∗
4. y = = 𝑦 = =
( ) ( )
5. y = 𝑓 𝑔 𝑥 = (1 + 4𝑥)
( ) ( )
𝑦 = = 3𝑔 𝑥 = 3𝑔 𝑥 4 = 3(1 + 4𝑥) 4
( )
( )
Where g(x)=1+4x, =4
( )
6. 𝑦 = 𝑓 𝑔 𝑥 = 𝑙𝑛 𝑥 + 1 where 𝑔 𝑥 = 𝑥 + 1 and = 3𝑥
𝑑𝑓 𝑑𝑔(𝑥) 1 3𝑥
𝑦 = = 3𝑥 =
𝑑𝑔(𝑥) 𝑑𝑥 𝑥 +1 𝑥 +1
Find the first derivative of y with respect to x, i.e., ( ) in the equations below.
1. 𝑦 = 4𝑥 − 3 2𝑥
2. 𝑦 = 2𝑥 + 5 3𝑥 − 8
3. 𝑦 = 3 − 12𝑥 5 + 4𝑥
4. 𝑦=
5. 𝑦=
6. 𝑦=
7. 𝑦 = 6𝑥 + 9
8. 𝑦=
9. 𝑦 = 34 − 6𝑥
10. 𝑦 =
5
2024/4/18
Example
• Differentiate both equations with respect to K, i.e., ( ) and L, i.e.,
( ) where Y=GDP, L=Labor, K=Capital Stock, A=Productivity, alpha
and beta are parameters.
Y = A𝐾 𝐿 Cobb-Douglas
Question 2
• Question: Real GDP grew from 100 in Q4 2022 to 102 in Q1,2023.
Find the average growth rates for Q1, 2023 and annualize it.
6
2024/4/18
Interest Compounding
A principal P compounded annually at interest rate, i, is expressed as:
S=P 1+𝑖
A principal P compounded annually at interest rate, i, paid at m times per
year is expressed as:
𝑖
S=P 1+
𝑚
Elasticity 2-1
∆𝐷
𝐷 𝑃 ∆𝐷 𝑃 ∆𝐷
𝑒 , = = =
∆𝑃 ∆𝑃 𝐷 𝐷 ∆𝑃
𝑃
Y = A𝑘
∆𝑌
𝑌 𝑘 ∆𝑌 𝑘 𝑑𝑌
𝑒 , = = =
∆𝑘 𝑌 ∆𝑘 𝑌 𝑑𝑘
𝑘
𝑑𝑌 𝛼𝐴𝑘 𝛼𝑌
= 𝛼𝐴𝑘 = =
𝑑𝑘 𝑘 𝑘
𝑘 𝑑𝑌 𝑘 𝛼𝑌
𝑒 , = = =𝛼
𝑌 𝑑𝑘 𝑌 𝑘
Alpha is an elasticity and indicates how much Y (GDP) will increase when
one unit of k (capital per labor) increases.
7
2024/4/18
Elasticity 2-2
∆𝑇
𝑇 𝑌 ∆𝑇 𝑌 ∆𝑇
𝑒 , = = =
∆𝑌 ∆𝑌 𝑇 𝑇 ∆𝑌
𝑌
where T=tax and Y=GDP.
What does this elasticity imply?
∆𝑌
𝑌 𝑌 ∆𝑇𝑅 𝑌 ∆𝑇𝑅
𝑒 , = = =
∆𝑇𝑅 ∆𝑌 𝑇𝑅 𝑇𝑅 ∆𝑌
𝑇𝑅
where TR=tax rate.
What does this elasticity imply? Is the sign of the elasticity positive or
negative? If negative, what is the policy implication to fiscal policy?
𝑌̇ 𝐴̇ 𝐾̇ 𝐿̇
= +α + 1−𝛼
𝑌 𝐴 𝐾 𝐿
• 𝛼 = 𝐸𝑙𝑎𝑠𝑡𝑖𝑐𝑖𝑡𝑦 𝑜𝑓 𝐾 𝑡𝑜 𝑌 and Share of Capital in GDP.
%∆Y = %∆A + α%∆K + (1 − α)%∆L
%∆A = %∆Y − α%∆K − (1 − α)%∆L
8
2024/4/18
Question 1
Find the first derivative of y with respect to x, i.e., ( )in the equations below. All
the Greek letter such as ‘α’, ’β’, ‘𝛾 ‘, ‘t’ and ‘m’are constant. ‘y, x, z, L and K are
all variables.
1. y=
2. y=
3. 𝑌=𝐿 𝐾 , find
4. 𝑌=𝐿 𝐾 , find
5. Find =, from above two questions without using exponential forms such as 𝐿 , i.e., no power expression. The answer
?
should be .
? ?
6. Y = A𝑒
7. Y = A𝑒
8. Y = ln𝑥
9. Y = ln𝑥
10. Y = ln𝐿 , find .
11. Y = S 1+ , find .
MaClaurin Series
MaClaurin series is an expansion evaluated at x=0 while Taylor series is an
expansion around the point of x = 𝑥 .
f 𝑥 =𝑎 +𝑎 𝑥+𝑎 𝑥 +𝑎 𝑥 +𝑎 𝑥 +𝑎 𝑥 +𝑎 𝑥 𝑎 𝑥 = 𝑎𝑥
Take a derivative.
𝑓 𝑥 = 𝑎 + 2𝑎 𝑥 + 3𝑎 𝑥 + 4𝑎 𝑥 + 5𝑎 𝑥 + 6𝑎 𝑥 𝑛𝑎 𝑥 = 𝑖𝑎 𝑥
𝑓 𝑥 = 2𝑎 + 3 2 𝑎 𝑥 + 4 3 𝑎 𝑥 + 5 4 𝑎 𝑥 + 6 5 𝑎 𝑥 𝑛 𝑛−1 𝑎 𝑥
= 𝑖 𝑖−1 𝑎 𝑥
𝑓 𝑥 =3 2 𝑎 +4 3 2 𝑎 𝑥 +5 4 3 𝑎 𝑥 +6 5 4 𝑎 𝑥 𝑛 𝑛−1 𝑛−2 𝑎 𝑥
= 𝑖 𝑖−1 𝑖−2 𝑎 𝑥
9
2024/4/18
• f 𝑥 =𝑎 +𝑎 𝑥+𝑎 𝑥 +𝑎 𝑥 +𝑎 𝑥 +𝑎 𝑥 +𝑎 𝑥 𝑎 𝑥 =∑ 𝑎𝑥
• 𝑓 𝑥 = 𝑎 + 2𝑎 𝑥 + 3𝑎 𝑥 + 4𝑎 𝑥 + 5𝑎 𝑥 + 6𝑎 𝑥 𝑛𝑎 𝑥 =∑ 𝑖𝑎 𝑥
• 𝑓 𝑥 = 2𝑎 + 3 2 𝑎 𝑥 + 4 3 𝑎 𝑥 + 5 4 𝑎 𝑥 + 6 5 𝑎 𝑥 𝑛 𝑛−1 𝑎 𝑥 =∑ 𝑖(𝑖 −
1)𝑎 𝑥
• 𝑓 𝑥 = 3 2 𝑎 +4 3 2 𝑎 𝑥 +5 4 3 𝑎 𝑥 +6 5 4 𝑎 𝑥 𝑛 𝑛 − 1 (𝑛 −
2)𝑎 𝑥 =∑ 𝑖 𝑖−1 𝑖−2 𝑎 𝑥
• 𝑓 𝑥 = 𝑛 𝑛 − 1 𝑛 − 2 𝑛 − 3 𝑛 − 4 ⋯3 2 1 = ∏ 𝑎 = n! 𝑎
•𝑓 0 = 2! 𝑎 •𝑎 =
!
•𝑎 =
• 𝑓 0 = 3 2 𝑎 = 6𝑎 = 3! 𝑎 !
•𝑎 =
!
• 𝑓 0 = 24𝑎 = 4! 𝑎
•𝑓 0 =∏ 𝑎 = n! 𝑎 •𝑎 =
!
10
2024/4/18
Example 1
• f 𝑥 = 2 + 4𝑥 + 3𝑥 , f(0) =2
• 𝑓 𝑥 = 4 + 6𝑥, 𝑓 0 =4
• 𝑓 𝑥 = 6, 𝑓 0 =6
f 0 𝑓 0 𝑓 0 4 6
f 𝑥 = + 𝑥+ 𝑥 = 2 + 𝑥 + 𝑥 = 2 + 4𝑥 + 3𝑥
0! 1! 2! 1! 2!
11
2024/4/18
Taylor Series
Take a Maclaurin expansion for 𝑔 δ , evaluated at δ =a,
𝑓 a 𝑔 𝑎 𝑔 𝑎 𝑔 𝑎
𝑔 x ≈ = x−𝑎 + x−𝑎 + x−𝑎 +⋯
𝑛! 0! 1! 2!
Taylor Series
Take a Maclaurin expansion for 𝑔 δ , evaluated at δ =a, 𝑔 x ≈ ∑ = + x−𝑎 + (x −
! ! ! !
𝑎) + ⋯
, , , , ,
𝑔 x, 𝑦 ≈ + x−𝑎 + x−𝑏 + x−𝑎 + x − 𝑎 (y −
! ! ! ! !
, ,
𝑏) + y−𝑏 x−𝑎 + y−𝑏 = + x−𝑎 + 𝑦−𝑏 +
! ! ! ! !
x−𝑎 + 2 x−𝑎 y−𝑏 + y − 𝑏 =a𝑏 + 𝑏 x − 𝑎 + 2𝑎𝑏 𝑦 − 𝑏 + 0 +
! ! !
2𝑏 x − 𝑎 y − 𝑏 + 𝑎 y − 𝑏
12
2024/4/18
Taylor Series
Take a Maclaurin expansion for 𝑔 δ , evaluated at δ =a,
𝑓 a 𝑔 𝑎 𝑔 𝑎 𝑔 𝑎
𝑔 δ ≈ = δ−𝑎 + δ−𝑎 + δ−𝑎 +⋯
𝑛! 0! 1! 2!
𝑔 𝛿 = 2 + 4 𝑥 + 𝛿 + 3 𝑥 + 𝛿 and
𝑔 0 = 2 + 4 𝑥 + 0 + 3 𝑥 + 0 = 𝟐 + 𝟒𝒙𝟎 + 𝟑𝒙𝟎 𝟐 = 𝒇(𝒙𝟎 )
𝑔 δ = 4 + 6 𝑥 + 𝛿 = 4 + 6𝑥 = 𝑓 𝑥
𝑔 δ =6=𝑓 𝑥
• Since 𝑔 δ = 𝑓 𝑥 , 𝑔 δ = 𝑓 𝑥 and 𝑔 δ = 𝑓 𝑥
• Therefore, substitute all the above into Maclaurin expansion which is
evaluated at δ = 0,
13
2024/4/18
𝑔 0 𝑔 0 𝑔 0 𝑓 𝑥 𝑓 𝑥 𝑓 𝑥
𝑔 δ = + δ+ δ = + δ+ δ
0! 1! 2! 0! 1! 2!
𝑓 𝑥 𝑓 𝑥 𝑓 𝑥
= + 𝑥−𝑥 + 𝑥−𝑥
0! 1! 2!
𝑓 𝑥 𝑓 𝑥 𝑓 𝑥
𝑓 𝑥 = + 𝑥−𝑥 + 𝑥−𝑥 =𝑓 𝑥
0! 1! 2!
Example
From f 𝑥 = 2 + 4𝑥 + 3𝑥
𝑓 𝑥 = 2 + 4𝑥 + 3𝑥
𝑓 𝑥 = 4 + 6𝑥
𝑓 𝑥 =6
Therefore,
𝑓 𝑥 𝑓 𝑥 𝑓 𝑥
𝑓 𝑥 ≈ + 𝑥−𝑥 + 𝑥−𝑥
0! 1! 2!
2 + 4𝑥 + 3𝑥 4 + 6𝑥 6
= + 𝑥−𝑥 + 𝑥−𝑥
0! 1! 2!
= 2 + 4𝑥 + 3𝑥 + 4𝑥 − 4𝑥 + 6𝑥 𝑥 − 6𝑥 + 3𝑥 − 6𝑥 𝑥 + 3𝑥 = 2 + 4𝑥 + 3𝑥
This shows that Taylor expansion below gives a correct original function!
One of the beauties of the Taylor expansion is to give alternative way to evaluate in case that n-th
degree polynomial f(x) cannot be solved or evaluated.
𝑓 𝑥 𝑓 𝑥 𝑓 𝑥 𝑓 𝑥 𝑓 𝑥
𝑓 𝑥 = + 𝑥−𝑥 + 𝑥−𝑥 𝑥−𝑥 = 𝑥−𝑥
0! 1! 2! 𝑛! 𝑛!
14
2024/4/18
Log-linearlization
Maximization
A function is maximized when the y=100-(-10+x)^2
slope or the first derivative is zero. 120
• 𝑓 𝑥 = −2 −10 + 𝑥 = 0
100
80
• X=10 60
y
40
20
15
2024/4/18
Constrained Optimization
• argmax 𝑓(𝑥, 𝑦) == 4𝑥 − 2𝑥𝑦 + 6𝑦 𝑠𝑢𝑗𝑒𝑐𝑡 𝑡𝑜 𝑥 + 𝑦 = 72
,
Substituting y=72-x
• 𝑓(𝑥, 𝑦) = = 4𝑥 − 2𝑥 72 − 𝑥 + 6 72 − 𝑥 =?
• = 24𝑥−? = 0,
16
2024/4/18
𝜋 = 𝐴𝐾 𝐿 − 𝑟𝐾 − 𝑤𝐿
• FOC where the first derivative is equal to zero, the profit is maximized.
• = 𝛼𝐴𝐾 𝐿 − 𝑟 = 0 or MPK=r
• = 1 − 𝛼 𝐴𝐾 𝐿 − 𝑤 = 0 or MPL=w
17
2024/4/18
18
2024/4/18
• MPK = = 𝛼𝐾 We know
MPL 𝑤
=
MPK 𝑟
• From the above,
MPL 1−𝛼 𝐿 1−𝛼 𝐾 𝑤
= = =
MPK 𝛼 𝐾 𝛼 𝐿 𝑟
• From = ,
𝐾 𝛼 𝑤
=
𝐿 1−𝛼 𝑟
CES
• Therefore,
𝐾
𝑑 𝐿 1 𝛼 𝑤 𝑤 1 𝐾 𝑤
𝑤 = =
𝑑 𝛽+1 1−𝛼 𝑟 𝑟 𝛽+1 𝐿 𝑟
𝑟
• Using this, elasticity of substitution can be computed as:
𝐾
𝑑
𝐿
𝐾 𝐾 𝑤 𝑤
𝐿 𝑑 𝐿 1 𝐾 𝑤
σ= = 𝑟 = 𝑟 = 1
𝑤 𝑤 𝐾 𝛽+1 𝐿 𝑟 𝐾 𝛽+1
𝑑 𝑟 𝑑 𝑟
𝐿 𝐿
𝑤
𝑟
19
2024/4/18
1 1 1 1
𝑌̇ = 𝐴̇ + α 𝐾̇ + 1 − 𝛼 𝐿̇
𝑌 𝐴 𝐾 𝐿
̇ ̇ ̇ ̇ ̇ ̇ ̇ ̇
= +α + 1−𝛼 or = −α − 1−𝛼
̇
What does imply?
20
2024/4/18
• Average Cost; 𝐶 = 𝑤𝐿
• Marginal Cost (how much cost increases over how much production
increases):
• 𝑀𝐶 = = = = = =
21