15.1 Dynamic Optimization
15.1 Dynamic Optimization
Chapter 15
Dynamic Optimization
1
Pierre de Fermat (1601?-1665) L. Euler Lev Pontryagin (1908-1988)
•1
RS – Ch 15 – Dynamic Optimization •5/29/2013
x
x1 x2
•2
RS – Ch 15 – Dynamic Optimization •5/29/2013
dy
which is valid because dy = dx = y′( x)dx. Thus, the length is
dx
2 x2
L = ∫ ds = ∫ 1 + y′( x)2 dx.
1 x1
•3
RS – Ch 15 – Dynamic Optimization •5/29/2013
•4
RS – Ch 15 – Dynamic Optimization •5/29/2013
• Then, write down the Euler-Lagrange equation, and solve for the
10
function y(x) that defines the required stationary path.
•5
RS – Ch 15 – Dynamic Optimization •5/29/2013
•6
RS – Ch 15 – Dynamic Optimization •5/29/2013
∂F ∂ ⎛⎜ ∂F ⎞⎟
− = 0.
∂x ∂t ⎜⎝ ∂ x• ⎟⎠
14
•7
RS – Ch 15 – Dynamic Optimization •5/29/2013
16
•8
RS – Ch 15 – Dynamic Optimization •5/29/2013
∫ f (t , x (t ), u (t )) dt
t0
18
•9
RS – Ch 15 – Dynamic Optimization •5/29/2013
t0
∫ f (t , x(t ), u (t )) dt s.t. x (t ) = g (t , x (t ), u (t ))
•10
RS – Ch 15 – Dynamic Optimization •5/29/2013
21
•11
RS – Ch 15 – Dynamic Optimization •5/29/2013
23
C*
K1 K* K2
24
•12
RS – Ch 15 – Dynamic Optimization •5/29/2013
F.o.c.: ∂f ∂g1 ∂g 2
ui : + λ1 + λ2 =0 i = 1,2
∂u i ∂u i ∂u i
∂H ⎧ ∂f ∂g1 ∂g 2 ⎫
λ& i = − = −⎨ + λ1 + λ2 ⎬
∂x i ⎩ ∂x i ∂x i ∂x i ⎭
∂H
x& i =
∂λ i
Boundary (Transversality) Conditions: x1(t0)=x10, x2(t0)=x20, λ1(t1)=λ2(t1)= 0
Fixed Endpoint Problem: Add the boundary condition: x(t1) = x* 26
•13
RS – Ch 15 – Dynamic Optimization •5/29/2013
28
•14
RS – Ch 15 – Dynamic Optimization •5/29/2013
∂ϕ ∂K
(iii) K(xq(t1),…,xn(t1)) ≥ 0: λ i (t1 ) = +p , i = q,K, n
∂x i ∂x i
p ≥ 0, pK = 0
∂ϕ ∂K
(iv) K(xq(t1),…,xn(t1)) = 0: λ i (t1 ) = +p , i = q,K, n
∂x i ∂x i
n
(v) t1 is free: at t: f + ∑ λ i g i + ϕt = 0
i =1 29
∂ϕ ∂K
(vii) K(xq(t1),…,xn(t1),t1) ≥ 0: λ i (t1 ) = +p , i = q,K, n
∂x i ∂x i
n
∂K
f + ∑ λ i g i + ϕt + p =0
i =1 ∂t1
p ≥ 0, K ≥ 0, pK = 0, t = t1
30
•15
RS – Ch 15 – Dynamic Optimization •5/29/2013
u :H u = f u + λg u = 0
λ& = − H x = −(f x + λg x + ηk x )
λ (t1 ) = ϕx (x(t1 )), η ≥ 0, ηk = 0 31
u :H u = e − rt f u + λg u
λ& = − H = −e − rt f − λg
x x x
λ (T) = 0
32
•16
RS – Ch 15 – Dynamic Optimization •5/29/2013
• Optimality Conditions: dH dH
= = U ' (C ) − m = 0
dC dC
•
m − ρm = −U ' (C ) − m ( F ' ( K ) − δ )
• Note: The current value Hamiltonian consists of two terms: 1)
utility of current consumption, and 2) net investment evaluated by34
price m, which reflects the marginal utility of consumption.
•17
RS – Ch 15 – Dynamic Optimization •5/29/2013
lim e − rt m(t)x(t) = 0
t →∞
•18
RS – Ch 15 – Dynamic Optimization •5/29/2013
m x& = 0
& =0
m
x
37
⇒ u = u(m,
ˆ x)
Maximized Hamiltonian:
H* = f (x, u(m,
ˆ x)) + mg(x, u(m,
ˆ x))
38
•19
RS – Ch 15 – Dynamic Optimization •5/29/2013
•
subject to G = u − ∂ G , G (0) = G 0
• Note that the only place p occurs is in the integrand, which we can
maximize by first maximizing R w.r.t p holding G fixed, and then
maximized the result with respect to u. Thus,
•20
RS – Ch 15 – Dynamic Optimization •5/29/2013
dH
= 0
du
The adjoint variable λ(t) is the shadow price associated with the goodwill
at time t . The Hamiltonian can be interpreted as the dynamic profit rate
which consist of two terms:
(i) the current net profit rate π(G) - u.
(ii) the value of the new goodwill created by
41
advertising at rate u.
42
•21
RS – Ch 15 – Dynamic Optimization •5/29/2013
43
44
•22
RS – Ch 15 – Dynamic Optimization •5/29/2013
45
•23
RS – Ch 15 – Dynamic Optimization •5/29/2013
θ&t
θt
[
= ρ − αK tα −1 − δ ] => αK tα −1 θ&
= ρ − t +δ
θt
(6)
S ce the
Since t e RHSHS iss constant
co sta t , therefore
t e e o e LHS
HS also
a so should
s ou d be
K&
constant K = 0 . If capital stock is not growing output is not
& &
growing YY = 0 and consumption is not growing CC = 0 .
capital.
From (6), we can calculate the steady state value for Kt:
K * = [( ρ + δ ) / α ]α (α<1)−1
48
•24
RS – Ch 15 – Dynamic Optimization •5/29/2013
θ&t = 0
K& < 0
49
*
K K' K
θ I II
IV
III
K* K' K
Convergence to the steady state lies in region I and III as
shown by the double arrow red line.
50
•25
RS – Ch 15 – Dynamic Optimization •5/29/2013
• Define
D fi the
h H il i Ht: Ht =H(x
Hamiltonian H( t,ut,λλt+1,t)) = u(x
( t,ut,t)) + λt+1 f(x
f( t,ut,t))
• Now, re-write the Lagrangean:
T −1
L = S ( xT , T ) + ∑ { H t − λ t +1 ( x t +1 − x t )}
t =0
51
•26
RS – Ch 15 – Dynamic Optimization •5/29/2013
subject to
54
•27
RS – Ch 15 – Dynamic Optimization •5/29/2013
56
•28
RS – Ch 15 – Dynamic Optimization •5/29/2013
c t + k t +1 − (1 − δ ) k t = f ( k t )
g g
• Lagrangean Formulation:
T T
∑ βt u(ct ) + V% 0 (k T+1 ) + ∑ λ% t [f (k t ) + (1 − δ)k t − ct − k t +1 ]
t =0 t =0
57
O i li C
Optimality Conditions:
di i
c t : β t u ′(c t ) − λ% t = 0
k t +1 : λ% t +1 [ f ′(k t +1 ) + (1 − δ) ] − λ% t = 0, 0 < t < T
% ′ (k ) − λ% ≤ 0, ⎡ V % ⎤
⎣ 0′ (k T +1 ) − λ t ⎦ k T +1 = 0
k T +1 : V %
0 T +1 t
c t + k t +1 − ((1 − δ)k
) t = f ((k t )
•29
RS – Ch 15 – Dynamic Optimization •5/29/2013
βT −1u(cT −1 ) + βT u(cT (k T )) + V
% (k (k ))
0 T +1 T
V1 (k T ) = m ax u(cT ) + β V0 (k T +1 )
cT ,k T +1
subject to cT + k T +1 − (1 − δ)k T = f (k T )
% (k ) / βT +1
V0 (k T +1 ) = V0 T +1
Optimality Conditions:
u′(cT ) = λ T
β V0′ (k T +1 ) − λ T ≤ 0, [β V0′ (k T +1 ) − λ T ] k T +1 = 0
cT + k T +1 − (1 − δ)k T = f (k T )
These are the same conditions as before if we define λ T = λ% T / βT60
•30
RS – Ch 15 – Dynamic Optimization •5/29/2013
u(cT ) + β V0 (k T +1 )
Period T-1 problem is equivalent to maximizing
u(cT −1 ) + β V1 (k T )
with the same constraint at T
T-11 and kT-1
T 1 given:
V2 (k T −1 ) = m ax u(cT −1 ) + β V1 (k T )
cT −1 ,k T
subject to cT −1 + k T − (1 − δ)k T −1 = f (k T −1 )
61
•31
RS – Ch 15 – Dynamic Optimization •5/29/2013
64
•32