Chapter 4 Introduction to Dynamic Programming

Size: px
Start display at page:

Download "Chapter 4 Introduction to Dynamic Programming"

Transcription

1 Chaper 4 Inroducion o Dynamic Programming An approach o solving dynamic opimizaion problems alernaive o opimal conrol was pioneered by Richard Bellman beginning in he lae 1950s Bellman emphasized he economic applicaions of dynamic programming righ from he sar Unlike opimal conrol, dynamic programming has been fruifully applied o problems in boh coninuous and discree ime I is generally more powerful han opimal conrol for dealing wih sochasic problems, and i does no always require some of he differeniabiliy and coninuiy assumpions inheren o opimal conrol Dynamic programming can also deal wih problems ha arise concerning ime inconsisency, in ways ha are difficul o deal wih in opimal conrol In his chaper we lay ou he ground work for dynamic programming in boh deerminisic and sochasic environmens We will see how o characerize a dynamic programming problem and how o solve i We will also presen a series of heorems ha are exremely useful for characerizing he properies of soluion for he many cases in which an explici analyical soluion canno be obained Subsequen chapers presen numerous applicaions of he mehods developed here 1 Deerminisic Finie-Horizon Problems Consider he following finie-horizon consumpion problem: subjec o max T { c } T = 0 = 0 β uc ( ), (11)

2 INTRODUCTION TO DYNAMIC PROGRAMMING 121 k+ 1 = f ( k) c (12) Capial depreciaes a he rae of 100 percen per period Equaion (1) is maximized subjec o he furher consrain ha k f ( k ), 0 T, k 0 given, (13) which saes ha capial can neiher be negaive nor exceed oupu Subsiuing (12) ino (11) yields max T { k } T + 1 = 0 = 0 β u( f ( k) k+ 1), (14) so we have changed he problem from maximizing by choice of consumpion in each period o one of choosing nex period s capial sock 1 One approach o solving his problem is by brue-force opimizaion This is possible because here are a finie number, T, of choices o make To see his, maximize (14) wih respec o k +1 o obain he firs-order condiion 2 β u ( f ( k ) k ) + β + 1 u f ( k ) k f k =, or ( ) ( ) ( ) ( ) u ( f ( k ) k ) = βu f ( k ) k f k (15) This firs-order condiion mus be saisfied for each =0,1,, T 1 I is clear ha he f k k + Equaion (15) hus represens T equaions in T unknowns The variables k 0 and k T+1 appear in opimal soluion for k T+1 is zero, since i only appears in he erm ( T) T 1 wo of hese equaions, bu we already know wha hey are To inerpre (15), replace f ( k) k + 1 wih c o ge ( ) ( ) ( ) β u c = u c f k (16) 1 This is no necessary o do, bu i ofen makes he problem easier o deal wih algebraically 2 We are assuming ha f(k) and u(c) have he forms necessary o ensure an inerior soluion, so we do no need o worry abou he Kuhn-Tucker inequaliy consrains (Wha are hese assumpions?)

3 INTRODUCTION TO DYNAMIC PROGRAMMING 122 The lef-hand side is he marginal uiliy of consumpion in period The righ-hand side consiss of he produc of presen value of he marginal uiliy consumpion in period +1 and he marginal produciviy of capial One uni of consumpion foregone in period increases he capial sock in period +1 by one uni, and his raises oupu in period +1 by an amoun equal o he marginal produc of capial Convering his o uiliy measures and discouning back o period, (16) saes ha he marginal uni in consumpion mus have equal value across wo adjacen periods We will soon be ineresed in exending his model o allow for an infinie planning horizon The difficuly is ha he erminal condiion k T+1 =0 goes away, leaving us wih T equaions and T+1 unknowns However, i urns ou ha here is an alernaive approach o solving his finie-horizon problem ha is useful no only for he problem a hand, bu also for exending he model o he infinie-horizon case This is he dynamic programming approach Suppose we obained he soluion o he period-1 problem, max T { k } + 1 = 1 T 1 β u( f ( k) k+ 1), = 1 k 1 >0 given Whaever he soluion o his problem is, le V1( k 1) denoe he value obained from period 1 onwards Noe ha he value depends on he iniial capial sock I hen follows ha he period-0 problem can be wrien as V ( k ) = max u( f ( k ) k ) + βv ( k ) { } 0 0 k In fac, for any we can define an analogous equaion V ( k ) = max u( f ( k ) k ) + βv ( k ), (17) { } k k+ 1 f k subjec o ( ), k given, for =T, T 1,, 0 Equaion (17) is a paricular applicaion of Bellman s Principle of Opimaliy: Theorem 11 (Bellman s Principle of Opimaliy) An opimal policy has he propery ha, whaever he iniial sae and iniial decision are, he remaining decisions mus consiue an opimal policy wih regard o he sae resuling from he iniial decision

4 INTRODUCTION TO DYNAMIC PROGRAMMING 123 Bellman and Dreyfus (1962), among ohers, provide a proof of he principle, bu i is so inuiive ha we won boher o show i here The recursive sequence in (17) begins in he final ime period wih V ( k ) T+ 1 T = 0 Noe ha solving (17) sequenially will yield exacly he same se of equaions as (15) In period T, we have { + 1 } V ( k ) = max u( f ( k ) k ), (18) T T T T kt + 1 which implies ha k T+1 =0 In period T 1 we have { } ( ) max ( ( ) ) β ( ) V k = u f k k + V k, T 1 T 1 T 1 T T T kt which gives he firs-order condiion ( ( ) ) β ( ) 0 = u f kt 1 kt + VT kt ( ( ) ) β ( ( )) ( ) T 1 T T T = u f k k + u f k f k, where he second line comes from differeniaing (18) Repeaedly solving (17) for each ime period yields he sysem of T equaions in (15) EXERCISE 11 (Cake eaing) Suppose you have a cake of size x, wih x 0 given In each period, =1, 2, 3,, T, you can consume some of he cake and save he remainder Le c be your consumpion in period and le u ( c ) represen he flow of uiliy from his consumpion Assume ha u() is differeniable, sricly increasing and concave, wih lim c 0 u ( c) = Le lifeime uiliy be represened by 0 β uc () Characerize he opimal pah of consumpion = T { c } = 0, (a) by he direc mehod, (b) by he mehod of dynamic programming

5 INTRODUCTION TO DYNAMIC PROGRAMMING Deerminisic Infinie-Horizon Problems So how does he dynamic programming approach help us in he infinie-horizon case? Consider again he period-1 version of he consumpion problem, bu now wrien for an infinie planning horizon: 1 V1( k1) = max β u( f ( k) k + 1) (21) { k } + 1 = 1 = 1 Assume for he momen ha a soluion o his problem exiss Le he maximized value of he objecive funcion be V 1 (k 1 ) Then, according o Bellman s principle of opimaliy, he period-0 problem can be wrien as V ( k ) = max u( f ( k ) k ) + βv ( k ) (22) 1 { } 0 0 k subjec o 0 k1 f( k0), wih k 0 given Noe ha we could re-index ime in (21) by replacing wih s+1 o obain β s β u( f( ks) ks+ 1) = V0( k0) (23) s= 0 I hen becomes clear ha V 0 (k 0 ) and V 1 (k 1 ) mus be exacly he same funcion because (21) and (23) differ only by noaion Tha is, if a soluion exiss, i mus saisfy V ( k ) = max u( f ( k ) k ) + βv ( k ) 1 { } 0 k Because ime does no maer direcly in his problem, we can drop he subscrip noaion and le k ' denoe nex period s value of k: V ( k) = max u( f ( k) k ') + βv ( k '), (24) k ' { } subjec o 0 k ' f( k), k 0 given Equaion (24) is usually referred o as he Bellman equaion of dynamic programming The firs-order condiion for his maximizaion problem is ( () ') β ( ') u f k k = V k, (25)

6 INTRODUCTION TO DYNAMIC PROGRAMMING 125 which is no oo helpful as i sands because we do no know he funcion V ( k ') However, we can use he envelope heorem o make some more progress Differeniae he value funcion in (24) wih respec o k, yielding 3 ' V () k = u ( f() k k ') f () k + u ( f() k k ') βv ( k ') dk + dk = u ( f() k k ') f () k (26) The erm in square brackes is equal o zero from he firs-order condiion (25) (his is he applicaion of he envelope heorem) Updae (26) by one period, V ( k ') = u ( f ( k ') k '') f ( k '), and subsiue ino (25) o obain u ( f ( k) k ') = βu ( f ( k ') k '') f ( k ') (27) In erms of dae subscrips, we have u ( f ( k ) k ) = βu f ( k ) k f k, ( ) ( ) which is he soluion (15) we arrived a before for he finie horizon case EXERCISE 21 (Cake eaing forever) Exend he cake-eaing example (11) o an infinie planning horizon (a) Derive he Bellman equaion and use i o characerize he opimal policy (b) Assume ha uiliy is given by u(c )=ln(c ) Use he mehod of undeermined coefficiens o show ha he value funcion akes he linear form Vx ( ) = A+ Bln( x) (c) Show ha he opimal policy is o ea a consan fracion 1 β of he cake in each period (d) Wha is he opimal policy when u(c)=c? 3 This requires, of course, ha V(k) be differeniable I urns ou ha if u is differeniable hen V(k) is also differeniable under quie general condiions The resul was esablished by Benvenise and Scheinkman (1979), so (26) is someimes referred o in he lieraure as he Benvenise- Scheinkman condiion

7 INTRODUCTION TO DYNAMIC PROGRAMMING 126 In oher infinie-horizon dynamic programs, i may no be reasonable o assume ha ime does no maer, and so he ime subscrips on he problem are fundamenally imporan For example, in he consumpion problem we have jus seen, he resource consrain could ake he form k+ 1 = Af ( k) c, where A is a echnology parameer ha flucuaes wih ime In his case, he value funcion depends on ime, which we denoe in he following way: V() k = max { u( Af ( k) k ') + β V + 1 ( k ')} k ' Despie he apparen added complexiy, he general approach o finding he opimal policy remains he same The firs-order condiion is u ( Af() k k ') = V ( k ') β + 1 The envelope heorem ells us ha ( ) V () k = u Af() k k ' Af () k Updaing by one period, V ( ( ) ) + 1 ( k ') = u A+ 1f k ' k '' A+ 1f ( k '), and subsiuing ino he firs-order condiion yields ( ) ( ) u ( Af ( k) k ') = u A f ( k ') k '' A f k ' (28) β Wih he excepion of A and A +1, his is exacly he same as he resul obained in (27) The nex example is a somewha more complicaed applicaion of hese ideas EXAMPLE 22 (Eekhou and Jovanovic [2002]) Firms produce oupu, y, using human capial, k, according o he producion funcion y = A ( k) k The erm A (k) is a produciviy parameer ha changes over ime, and capures knowledge spillovers o he firm from is compeiors The greaer a firm s own level of human capial, he less i has o learn from ohers Hence, i is assumed ha A () k < 0 Firms face a cos of adjusmen

8 INTRODUCTION TO DYNAMIC PROGRAMMING 127 o k ha is proporional o oupu Given k unis his period, he firm can have nex period a a cos of yc ( k ' k ) I is assumed ha c > 0 and c > 0 (a) Derive he Bellman equaion for his problem k ' V() k = max 1 c A() k k β V + 1 ( k ') + k ' k Because A (k) may vary from period o period, he ime subscrips on he value funcion are imporan (b) Derive a difference equaion in k ha characerizes he opimal policy The firs-order condiion is k ' c A () k = β V + 1 ( k ') k k ' unis The envelope heorem says k ' k ' k ' A ( k) k V () k = A() k c 1 c k k k A () k Updaing by one period and subsiuing back ino he firs-order condiion gives k ' k '' k '' k ' A 1( k ') k ' c A() k βa 1 ( k ') c c 1 = + + k k ' k ' k ' A ( k '), (29) which implicily defines a second-order difference equaion in k (c) Le ka () k ε = A denoe he absolue value of he elasiciy of A wih respec o k Le xk = k+ 1 k denoe he growh facor for human capial, and le xa = A+ 1 A denoe he growh facor for produciviy Assume ha ε, x k and x A are consan for all Derive a saionary soluion relaing he elasiciy ε o x k

9 INTRODUCTION TO DYNAMIC PROGRAMMING Subsiue ε = A 1 ( k ') k ' A + 1 ( k ') ino (29), divide hroughou by A (k); replace A+ 1 ( k ' ) A() k wih x A, and le k '' k ' = k ' k = xk : 1 x k c x βx A ε = 1 1 c x ( ) k ( ) k (210) (d) Why is i reasonable o assume βx A x k <1? Oupu is y=a(k)k If A and k grow oo fas, he presen value of oupu will become infinie Consraining x A and x k ensures ha he presen value of oupu diminishes o zero for periods far enough in he fuure (e) Show ha, if ε is large enough, dx k dε<0 Inerpre his finding Direc differeniaion of (210) gives (1 ) ( ) 2 dε c 1 cc + c = x k 2 dxk 1 c β x A (1 c) Rearranging and making use of (210) allows us o wrie dxx dε 1 xk βxa = c 1 (1 ε) (1 ε) x k x k βx + A c βx A As βx A x k <1 he erm in square brackes is unambiguously posiive, as is he numeraor Thus, if ε>1, dx k dε<0 There are wo effecs of human capial growh Firs, for given A, oupu is increased Second, A is reduced as i becomes more difficul o absorb knowledge from oher firms If he laer effec is large enough (ie if ε is large enough), he firm reduces is invesmen in human capial, preferring o free ride on he knowledge developed by oher firms Eekhou and Jovanovic use his insigh o develop an equilibrium model of inequaliy

10 INTRODUCTION TO DYNAMIC PROGRAMMING 129 Alhough we can usually make good progress in characerizing opimal policies defined implicily by equaions such as (27) and (28), in mos cases i will no be possible o obain an explici soluion for he opimal policy This is unforunae because we would usually like an explici soluion in order o solve for he value funcion When explici soluions are no available we mus ake a more indirec roue o ask some of our basic quesions, including Can we prove formally exisence and uniqueness of he value funcion? Can we prove here is a unique opimal policy for he choice or sae variable? Wha oher properies of he value funcion can be derived? We will address hese quesions in he remainder of he secion I should be noed ha, in he ineress of racabiliy, we will be saing heorems ha may be more resricive han necessary The sandard reamen of he following maerial a is mos general level is o be found in Sokey and Lucas (1989), a raher difficul and ime-consuming book A Conracion Mapping Theorem for Bounded Funcional Equaions Recall from Chaper 3 he following conracion mapping heorem for fixed poin expressions: THEOREM [ch 3] 37 (Conracion mapping heorem) Le f(x) denoe a coninuous funcion which maps a value x from a closed, bounded inerval ino a closed, bounded inerval If f(x) is a conracion mapping, hen here exiss exacly one fixed poin x* = f( x*) To explore uniqueness and exisence of a soluion o he Bellman equaion, we will replace x and x -1 in our difference equaions, wih funcions, f(x) and g(x) Tha is, we wrie gx ( ) = Tf( x' ), (211)

11 INTRODUCTION TO DYNAMIC PROGRAMMING 130 where T denoes some operaion on he firs funcion f ha yields he second funcion g Equaion (211) is called a funcional equaion, because from i we wan o solve for he funcion g(x) for all values of x raher han for any paricular value of x For example, in he consumpion problem we have Vk () = max u( fk () k' ) + βv ( k' ) (212) k ' In (212), he operaor T is he ac of muliplying V by β, adding u( f() k k ') o i, and hen maximizing he resuling funcion by choice of k ' We would like find a unique funcion V(k) ha saisfies he recursive represenaion in (212) for all k This may be very difficul so, before we proceed, we would like o know if one exiss Forunaely, he conracion mapping heorem also applies o such funcional equaions Alhough we will leave ou he echnical deails associaed wih he heorem, we do need o inroduce a new disance funcion, known as he supremum norm and denoed by x y Le f(x) and g(x) denoe wo funcions of x [ a, b], hen he supremum norm, f g denoes he maximum absolue difference beween he wo funcions observed as x akes on differen values in he closed inerval [a,b] An operaor on a funcion is a conracion mapping whenever applying he operaor o wo such funcions brings hem closer ogeher for any admissible values of x Using he supremum norm as our measure of disance, if T is a conracion mapping hen Tfx ( ) Tgx ( ) < fx ( ) gx ( ) 4 This will require ha he funcions are coninuous Addiionally, for he supremum norm o exis, he funcions f(x) and g(x) mus have well-defined maxima and minima, and he conracion mapping heorem applies o ses of funcions ha have hem Tha is, he conracion mapping heorem applies o ses of coninuous funcions mapping closed bounded inervals ino closed bounded inervals For such ses, he supremum norm always exiss 5 4 The idea here is ha as he supremum norm goes o zero he wo funcions ge closer and closer ogeher and evenually become he same funcion 5 A se of funcions wih hese properies is called a "complee meric space" We don' need o ge ino where his name comes from, bu if you come across he erm now you know wha i means

12 INTRODUCTION TO DYNAMIC PROGRAMMING 131 The simples way o ensure ha a maximum exiss is o bound he one-period payoffs in some way For example, in (212) above, here could be some maximum value, u <, of he uiliy funcion regardless of how much capial he consumer has Given discouning, i hen follows ha V < u (1 β) < so V is bounded from above Even so, we sill need o ensure ha V(k) can acually aain is maximum, and his requires ha k mus be able o aain he value ha maximizes V(k) Imagine ha his is a he boundary of he inerval from which k is drawn Then we need o ensure ha k can acually aain he value a his boundary Tha is, we need o ensure ha he inerval for k includes is own boundary Pu anoher way, k mus be drawn from a closed, bounded inerval For example, here migh be some maximum feasible amoun of k, say k, such ha u( f ( k) k ') u < for any k ' 0, k If k is bounded, hen assuming ha u is coninuous everywhere ensures ha u is bounded One also needs o worry abou he lower bound Imagine, for example, ha u(c)=ln(c) Then u(0) and V will no be bounded below However, his is ofen no a pracical concern because we have a maximizaion problem In he consumpion problem, for any k>0, we will always wan o ensure ha c>0 for all Hence, as u=ln(c) is coninuous and c can be bounded above zero, u(c) is bounded below and so is V Assuming such bounds leads o he following exisence and uniqueness heorem: THEOREM 21 (Conracion mapping heorem for bounded reurns) Le C[a,b] be he se of all coninuous funcions mapping values from a bounded closed inerval ino a bounded closed inerval Le f(x) and g(x) be wo arbirary funcions from his se Now consider an operaor, T, on ha funcion, such ha g(x)=tf(x) If T is a conracion mapping hen here exiss exacly one funcion saisfying f ( x) = Tf( x) PROOF We will no prove exisence, which is ricky, bu uniqueness is easy Suppose here were wo funcions f*(x) and g*(x), saisfying f*(x)=t f*(x) and g*(x)=t g*(x) for all x Then, as T is a conracion we have Tf *( x) Tg *( x) < f *( x) g *( x) Bu as f*(x)=t f*(x) and g*(x)=t g*(x), his implies f *( x) g *( x) = Tf *( x) Tg *( x) < f *( x) g *( x), a conradicion Thus here canno be wo fixed poins

13 INTRODUCTION TO DYNAMIC PROGRAMMING 132 The conracion mapping heorem is, of course, a special ype of fixed poin heorem In fac, anoher name for i is he Banach fixed poin heorem The main difficuly is ha deciding wheher he operaor T is a conracion mapping direcly is likely o be a very hard problem And ha is why i is so nice o be helped ou by a handy lile heorem from Mr Blackwell: THEOREM 22 (Blackwell's conracion mapping heorem) (a) The operaor T is a conracion if i has he following wo properies: (Monooniciy) If f ( x) g( x) for all x, hen Tf ( x) Tg( x) for all x (Discouning) Le a be a posiive consan There exiss some δ (0,1) such ha T( f + a)( x) Tf( x) + δa (b) If T is a conracion mapping, and he oher assumpions of Theorem 21 are saisfied, he unique fixed poin of he funcional equaion gx ( ) = Tfx ( ), which we will denoe by f *( x) = Tf *( x), can be found by repeaedly applying he operaor T o he funcion f Tha is, f * ( x) = lim T n f( x) n PROOF If f ( x) g( x) for all admissible values of x, hen f ( x) g( x) + f( x) g( x), because f ( x) g( x) is a disance funcion and herefore is non-negaive If monooniciy +, and if discouning holds his inequaliy holds, we have Tf( x) T ( g( x) f( x) g( x) ) furher implies Tfx ( ) Tgx ( ) + β fx ( ) gx ( ) for some β<1 Subracing Tg(x) from boh sides of he inequaliy, we have Tf( x) Tg( x) β f ( x) g( x) This inequaliy holds for any admissible x, including he value ha makes for he larges difference beween Tf(x) and Tg(x) Thus, applying he supremum norm, Tfx ( ) Tgx ( ) β fx ( ) gx ( ), which is he definiion of a conracion mapping I is easies o show wha his heorem means by example Example 22 is paricularly simple Example 23 coninues he consumpion problem Boh examples deal wih he exisence quesion in par (a) of he heorem

14 INTRODUCTION TO DYNAMIC PROGRAMMING 133 EXAMPLE 22 Le C be he se of all coninuous and bounded funcions on he closed inerval [0,1] and equipped wih he supremum norm Le he funcional equaion be given by g(x)=05f(x), where f and g are any wo funcion drawn from he se C We will firs use Blackwell's heorem o show ha he operaor T in Tf(x)=05f(x) is a conracion mapping (i is obvious ha his is he case, because Tf ( x) Tg( x) = 05 f ( x) g( x) < f ( x) g( x), bu we will go ahead and use he heorem anyway Sep one is o verify ha he candidae funcions f and g saisfy he requiremens of Theorem 21 They do by assumpion in his example, bu we will normally have o verify ha his is he case (for example, if f and g are boh uiliy funcions, we will have o check ha hey are bounded) Sep 2 is o check Blackwell's monooniciy condiion Consider a pair of funcions such ha f ( x) g( x) for all x [0, 1] Then, i mus be he case ha 05 f ( x) 05 g( x) in he same domain, and hus ha Tf ( x) Tg( x) for all x [0, 1] Thus, monooniciy holds Sep 3 is o show ha discouning holds T( f + a)( x) = 05( f( x) + a) = 05 f ( x) + 05a < Tf( x) + δa for any δ (05,1) Thus, discouning holds We herefore conclude ha T is a conracion mapping and ha here exiss a fixed poin funcion saisfying f(x)=tf(x) for all x Par (b) ells us how o find his n n funcion, as f * ( x) = lim n T fx ( ) = limn 05 fx ( ) = 0 Thus, he only bounded funcion f*(x) ha saisfies f(x)=tf(x) for all x [0,1] is he zero funcion, f*=0 for all x EXAMPLE 23 Coninuing our consumpion example, k ( ) β ( ) Vk () = max u fk () k + V k

15 INTRODUCTION TO DYNAMIC PROGRAMMING 134 Firs, we assume ha f and u are such ha u is bounded below u Then, as V canno exceed he discouned presen value of receiving u forever, i follows ha V u (1 β) <, so V is bounded and herefore i has a maximum Nex, we show monooniciy, which saes ha if here exis wo funcions V(k) and Q(k) such ha Vk () Qk () for all k, hen TV TQ for all k This is sraighforward o esablish because of he maximizaion involved in he problem Le k k ' Q denoe he opimal choice of when i is he funcion Q(k) ha is being maximized Then, because we are in fac maximizing V(k), i mus be he case ha TV ( )( k') = max u( f( k) k' ) + βv ( k' ) k ' u( f() k k ' Q) + βv ( k ' Q), because ' Q u( f() k k ' Q) + βq( k ' Q), because V ( k ' Q) Q( k ' Q) TQ ( )( k') k is no he maximum of V Thus, monooniciy holds Finally, we need o show ha discouning holds This is again easy, in his case because we have discouning in our problem Le a be some posiive consan Then TV ( + a) ( k' ) = max u( f( k) k' ) + β ( V( k' ) + a) k ' = TV ( k ') + βa Hence, we have shown ha here exiss a unique soluion o he funcional equaion I should be apparen from his example ha he monooniciy and discouning condiions of Blackwell s heorem can virually be confirmed by casual inspecion of he model In essence, if you have a dynamic maximizaion problem wih discouning of fuure reurns, hen Blackwell s heorem will apply o any problem in which he undiscouned reurns are bounded and he sae variable can ake on any value in a closed bounded inerval Finally, he heorem also gives us a way o solve he dynamic programming problem, which may be useful in cerain seings Define an arbirary funcion Q(k) and apply he

16 INTRODUCTION TO DYNAMIC PROGRAMMING 135 conracion repeaedly o obain Vk ( ) = lim TQk ( ) This funcion so obained will n saisfy he fixed poin funcional equaion Vk ( ) = TVk ( ) and be he unique soluion o he dynamic programming problem Bu how useful is his soluion echnique? In pracice i ofen is no very useful, because no one really has enough ime o do an infinie amoun of algebra! However, for problems wih specific funcional forms, i can work if you can make a guess of he general form he soluion will ake Then, afer a few ieraions you may see a paern arising, allowing you o jump he remaining (infinie number of) seps n A Theorem for Unbounded Reurns In Example 22 we jus assumed ha u(c) was bounded Bu wha if i is no? In principle, capial can grow wihou bound and so can uiliy, and hen i is no obvious ha he value funcion will be bounded (which is, afer all, wha we really care abou) The problem is ha boundedness is an essenial componen of Theorem 22 Sokey and Lucas (1989) discuss his case in some deail (see heir Theorem [414]) We provide here a more resricive heorem ha will, for many applicaions, suffice THEOREM 23 (A heorem for unbounded reurns) Consider he general dynamic program x ' { β } TV( x ') = sup h( x, x ') + V( x ') 6 Assume ha he erm β h( x, x ) { } exiss and is finie for any feasible pah = 0 x = given x 0 Then, if T is a conracion mapping, here is a unique soluion o he dynamic opimizaion problem 6 The erm sup refers o supremum Unil we know ha he value funcion is bounded, we canno be sure ha he maximum value exiss If V is unbounded, we can ge arbirarily close o infiniy, bu we canno acually aain i The erm supremum applies o such cases Once we know ha he value funcion is bounded, we can replace sup wih max

17 INTRODUCTION TO DYNAMIC PROGRAMMING 136 Theorem 23 resrics he admissible one-period payoffs o sequences ha canno grow oo rapidly relaive o he discoun facor As = 0 β hx (, x+ 1) < by assumpion, hen V ( x ) = max β h( x, x ) is also bounded Thus, V ( x ) has a maximum 0 = and he remainder of he heorem can be applied The only difficuly wih Theorem 23 is his: you need o solve he dynamic programming problem o find he pah of he sae variable, ye you don know if he soluion echnique works unil you have shown ha he pah of he one-period payoff funcion is finie in presen value erms The way ou of his impasse can be shown by example: 0 EXAMPLE 24 We reurn o he consumpion example again, his ime wihou assuming ha reurns are bounded Assume ha f ( k) = k α for some α<1 and u(c)=ln(c) Then, as α ( ) ln( ) ln( ) α uc = c = k k+ 1, and k+ 1 = k c we can make wo observaions Firs, he mos rapidly ha he capial sock can grow is o choose zero consumpion a each poin in ime This implies an upper bound o he capial sock given by 1 1 α α + 0 lnk+ lnk lnk (213) Second, he larges one-period pay-off is found by consuming all he oupu, so ha α α ( ) ( ) ( ) ( ) uc = ln c = ln k k ln k = α lnk (214) + 1 So, if we combine he mos rapid growh in capial (213) wih he larges payoff in each period (214), we have 1 uc ( ) αlnk α + lnk I hen follows ha α lnk0 β uc ( ) α( αβ) lnk0 = < 1 αβ = 0 = 0 0 (215) for any finie k 0 Noe ha he acual sequence of payoffs mus be less han his in presen value We have combined in (215) a sequence of uiliies from consuming everyhing wih a sequence of capial socks from consuming nohing, and one canno have boh simulaneously So any feasible sequence of payoffs mus be bounded in presen value, and

18 INTRODUCTION TO DYNAMIC PROGRAMMING 137 his implies ha he value funcion mus also be bounded The funcion Vk ( ) herefore has a maximum, and he reminder of he heorem can be applied as before EXERCISE 22 An agen can produce wo goods, x and y according o he producion funcions x x = l and y x y = l The agen is endowed wih one uni of y labor ime in each period, so l + l = 1 Good x canno be sored, bu good y is indefiniely sorable Producion of good x is immediae, so ha quaniies of x produced in period are consumed in period Producion of good y akes ime, so ha producion of y in period canno be consumed unil period +1 a he earlies Uiliy in each period is given by u x y cc =, and he agen maximizes he discouned lifeime uiliy over he infinie horizon, wih a discoun facor β<1 (a) Show ha he value funcion is bounded [Hin: consruc an infeasible sequence of reurns ha mus exceed any feasible sequence] (b) Now assume ha sored y depreciaes a he rae δ per ime period Show, his ime using a more direc approach, ha he value funcion is bounded for his case A corollary o Theorem 23 in Sokey and Lucas (1989) also gives us a way o solve for he value funcion regardless of wheher we can show ha T is a conracion mapping: THEOREM 24 (Solving models wih unbounded reurns) Consider he general dynamic program TV( x ') = sup { h( x, x ') + βv ( x ')}, x ' and, for any given x 0, le ˆ( ) max Vx β hx (, x ) for all admissible x, and = < Then, if TVˆ() x Vˆ() x = 0 n ˆ n TVx Vx ( ) = lim ( ) yields a well-defined finie-valued funcion, hen V(x) is he unique soluion o he dynamic programming problem

19 INTRODUCTION TO DYNAMIC PROGRAMMING 138 Theorem 24 says ha we can find he soluion o he dynamic opimizaion problem by firs defining a funcion ha we know gives a value for any x ha is greaer han he soluion Then, repeaedly applying he operaor T o his funcion, we see if we converge ono a well-defined finie-valued funcion This will work as long as TVˆ() x Vˆ() x This heorem offers a soluion echnique under differen assumpions han we saw for from Theorem 22 The earlier heorem saed ha if T were a conracion mapping, you could sar wih any value funcion and ierae o find he unique soluion Bu doing so would only work if T is a conracion mapping Theorem 24 saes ha all you need is ha T reurns a funcion ha is smaller a each value of x Bu his will only work if you know you are saring wih a funcion ha is larger han V(x) for each value of x EXAMPLE 25 We will apply Theorem 24 o he consumpion example wih f ( k) = u(c)=ln(c) From Example 24, define Vk ˆ( ) = αln k(1 αβ), and recall ha he operaor is defined by ˆ α TV( k ') = max ln k k ' + βvˆ k ' 0 k' k ( ) ( ) α αβ ln k ' = max ln ( k k ') + (216) 0 k' k 1 αβ The maximum of his expression if found upon seing k ' = αβk α, so ha on subsiuing back ino (216) we ge αβ α TVˆ( k ') = ln(1 αβ ) + ln( αβ ) + ln k 1 αβ 1 αβ As αβ (0,1), ln(1 αβ) < 0 and ln( αβ ) < 0, clearly TVˆ() k < Vˆ() k as Theorem 24 requires Now, apply he operaor a second ime: updae he equaion, replacing k wih k ', muliply by β, add ln ( k α k '), and again ake he maximum wih respec o k ' : 2 ˆ( ') max ln α αβ α TVk = ( k k ' ) + β ln(1 αβ ) + ln( αβ ) + ln k ', k ' 1 αβ 1 αβ which again gives he opimaliy condiion k ' = αβk α Subsiuing back yields 2 αβ α TVk ˆ( ') = (1 + β ) ln(1 αβ ) + ln( αβ ) + ln k 1 αβ 1 αβ k α

20 INTRODUCTION TO DYNAMIC PROGRAMMING 139 Repeaing his process n imes 7, we ge n 1 i αβ n α TVk ˆ( ') = β ln(1 αβ ) + ln( αβ ) + ln k 1 αβ 1 αβ i= 0 n 1 1 β + αβ α = ln(1 αβ) + ln( αβ) + lnk, 1 β 1 αβ 1 αβ which converges as n o ˆ 1 n αβ α lim TVk ( ') Vk ( ) = ln(1 αβ) + ln( αβ) + ln k (217) n 1 β 1 αβ 1 αβ By Theorem 24, his represens he soluion o our fixed poin problem Of course, now ha we know wha V(k) is, we can easily solve for he opimal policy upon noing ha α 1 αβ α Vk ( ) = max ln ( k k' ) + β ln(1 αβ) + ln( αβ) + ln k', k ' 1 β 1 αβ 1 αβ and he firs-order condiion yields k ' = αβk α No one said ha explicily solving dynamic programming problems would be easy! There is, however, an alernaive way o solve he problem in Example 24, using a echnique wih which you are already familiar: he mehod of undeermined coefficiens EXAMPLE 26 We will solve he consumpion problem from Example 25 using he mehod of undeermined coefficiens We guess a soluion of he form Vk () = A+ Blnk for consan A and B o be deermined (from equaion [217] we know his guess is correc) Given his guess, he nex ask is o derive he opimal policy The Bellman equaion mus ake he form k ' α { ( ) β β } A+ B ln k = max ln k k ' + A+ Bln k ', (218) 7 This is very edious and is easy o make algebraic misakes However, afer wo or hree rounds you will spo a paern ha allows you o wrie T n

21 INTRODUCTION TO DYNAMIC PROGRAMMING 140 so he firs-order condiion yields βb α k ' = k 1 βb (219) + Nex, subsiue (219) ino (218) o obain βb βb A+ Blnk = ln 1 + αlnk + βa+ βbln + αβblnk 1 βb 1 βb + + This expression mus hold for any k Hence, maching coefficiens on lnk, we ge B = α 1 αβ Maching coefficiens on he consans, we ge 1 βb 1 A= βbln + ln 1 β 1+ βb 1+ βb 1 αβ = ln(1 αβ) + ln( αβ) 1 β (1 αβ) Hence, 1 Vk ( ) A Blnk ln(1 ) αβ α = + = αβ + ln( αβ) + lnk, 1 β 1 αβ 1 αβ which is he same as in (217) So now we have wo ways ha we may be able o use o find an explici soluion o a dynamic programming wih specific funcional forms The firs is o ierae an infinie number of imes using he operaor TV ˆ( k ) The second is o guess he funcional form and use he mehod of undeermined coefficiens In mos cases, neiher of hese approaches is easy The infinie ieraion approach is algebraically edious and requires a bi of luck: you need o spo a paern developing before hings ges oo messy The benefi of his approach is ha you don have o guess he form of he soluion in advance, alhough you eiher have o find a funcion Vk ˆ( ) saisfying Vk ˆ( ) > Vk () for all k, or show ha T is a conracion mapping The second mehod is algebraically easier, bu i requires luck (and experience) in guessing he funcional form In Example 25, we correcly

22 INTRODUCTION TO DYNAMIC PROGRAMMING 141 guessed ha V = A+ Blnk only because we had already seen he soluion Wihou ha raher large help, how many guesses would you have ried before hiing on he righ funcional form? EXERCISE 23 Consider he wo-good producion problem of Exercise 22, wihou depreciaion of he sored good Guess ha he soluion akes he form Vy () = A B+ y for unknown consans A and B Find he parameers A and B as a funcion of he discoun facor Show ha he producion of x is inversely relaed o he discoun facor Condiions for Uniqueness of he Policy Funcion The conracion mapping heorem gives condiions for exisence and uniqueness of he value funcion However, i need no generae a unique policy funcion In his secion, we provide a heorem ha gives he condiions under which he policy funcion is also unique The general dynamic programming problem, Vx ( ) = max { f( xx, ') + βv ( x' )}, x ' has he firs-order condiion fx ' ( xx, ') + βv ( x' ) = 0 (220) For his o consiue a uniquely-defined maximum, we would naurally urn o he second order condiion, fx' x' ( xx, ') + βv ( x' ) < 0 (221) So, one hing we need for uniqueness is clearly ha he funcion f be sricly concave So he only difficuly is checking he condiions under which V ( x ') < 0 Condiions under which V is concave are easy o come by I is also very generally rue ha we can differeniae V once (and hence ha our whole soluion echnique is valid) However, V may no be wice differeniable, so a saemen such as (221) may no have much meaning

23 INTRODUCTION TO DYNAMIC PROGRAMMING 142 However, even in his case we can provide condiions for concaviy of V, and (220) will coninue o define a unique maximum I urns ou ha if f is sricly concave hen V will also be a sricly concave funcion wih one addiional assumpion, ha he se X from which x and x are drawn is sricly convex Before we sae he heorem formally and prove i, i migh be useful o offer he following reminder of he meaning of concaviy of a funcion and convexiy of a se A funcion f is sricly concave if, for any valid inpus ino he funcion, { x, x ' } and { x, x ' }, and any hird se of inpus { x, x ' } 1 1 x ' θ = θx ' + (1 θ) x ' for any θ (0,1), hen 0 1 f ( x, x ' ) f ( x, x ' ) (1 ) f ( x, x ' ) θ θ > θ + θ θ θ saisfying xθ = θx0 + (1 θ) x1 and (Plo his for a concave funcion wih a single argumen) A se X is convex if, for any x 0 and x 1 belonging o he se, hen x θ also belongs o he se Inuiively, he boundary of a convex se is a concave funcion, and a convex se has no holes By far he mos imporan and common convex se we will deal wih in economic modeling is a bounded inerval of real numbers: if wo numbers belong in an inerval hen so does a weighed average of hem THEOREM 25 (Concaviy of he value funcion and uniqueness of he policy funcion) Given he general dynamic programming problem Vx ( ) = max { f( xx, ') + βv ( x' )}, if f is a sricly concave funcion, he se X of admissible values for x is convex, and he opimal sequence for { x } = 0 involves an inerior soluion in every period, hen (i) V(x) is a sricly concave funcion, and (ii) he opimal policy is unique PROOF Le xθ = θx0 + (1 θ) x1, and assume ha x 0 and x 1 are admissible values for he sae variable Then, as he se of admissible values is convex, x θ is also admissible and we can wrie { } TV ( x ) = f ( x, x ' ) + βv ( x ' ) θ θ θ θ ( f ( x, x ' ) V ( x ' )) (1 )( f ( x, x ' ) V ( x ' )) > θ + β + θ + β (sric concaviy of f) x '

24 INTRODUCTION TO DYNAMIC PROGRAMMING 143 TV ( x, x ' ) (1 θ) TV ( x, x ' ) = θ +, so he operaor is also sricly concave This proves par (i) To prove par (ii), noe ha he sum of wo sricly concave funcions is also sricly concave Hence, f ( xx, ') + βv ( x' ) is sricly concave Moreover (and his will be familiar from sandard opimizaion problems), if a sricly concave funcion has a maximum, he maximum is unique Hence, he maximum idenified by (218) is unique if f is sricly concave Furher Properies of he Value Funcion Two more useful properies can be esablished when we have a unique soluion o he dynamic programming problem We sae hese wihou proof THEOREM 26 (Furher properies of he value funcion) (i) If he one-period payoff funcion f ( xx, ') is monoonically increasing [decreasing] in he curren value of he sae variable, x, hen V(x) is also monoonically increasing [decreasing] in x (ii) If here exiss a parameer, α, such ha f ( xx, '; α ) is monoonically increasing [decreasing] in α, hen V(x;α) is also monoonically increasing [decreasing] in α PROOF We will provide a proof of par (i), which is easy Le x ' i denoe he opimal value of nex period's sae when oday's value is x i, and consider wo values for oday's sae, x 1 < x 2 Then, V ( x1) = f ( x1, x ' 1) + βv ( x ' 1) < f ( x, x ' ) +βv ( x ' ) f ( x2, x ' 2) + βv ( x ' 2) =V ( x 2 ) The firs inequaliy is because x 1 < x 2 and f is sricly increasing in x The second is because he value funcion obained on responding opimally o a curren value x 2 mus exceed any value funcion obained by responding subopimally

25 INTRODUCTION TO DYNAMIC PROGRAMMING 144 This secion has developed a lo of conceps Becoming comforable wih heir use requires pracice and will ake ime I will herefore be useful o see he conceps in acion To ha end, we close his secion wih an example ha makes use of much of he maerial developed here EXAMPLE 27 (Convex invesmen coss) In his example I describe a general invesmen problem, and hen see wha I can say abou is properies The example highlighs he use of he heorems in making precise saemens abou quie general problems In his case, also, checking ha he value funcion is bounded is a lile difficul The cos of invesmen, c(i), is sricly increasing, sricly convex and differeniable wih c(0)=0 The firm produces oupu according o he producion funcion f(k), wih k 0 and f(0)=0, and where f is differeniable, sricly increasing and sricly concave The producion funcion furher saisfies lim k 0 f ( k) =+, so we can resric aenion o inerior soluions, and lim k f ( k) = 0 Capial mus be purchased one period ahead of is use, and i depreciaes a he consan rae δ (0,1) The price of oupu is p, he discoun facor is β (0,1), he ineres rae is r, and used capial can always be sold a he price q The firm's problem is { ( ) ( )} max β pf k c k 1 (1 δ) k +, { k } + 1 = 0 = 0 and he associaed Bellman equaion is k { ( ) ( δ ) β ( )} Vk () = max pf k ck' (1 ) k + V k' (222) To show exisence and uniqueness of a soluion, I firs need o show ha (222) maps bounded coninuous funcions ino bounded coninuous funcions This is a lile ricky in his case, and I have o hink abou he naure of he opimal soluion before I acually solve he model Noe ha capial bough in period can be resold in period +1 for a price (1 δ)q Thus capial will only be accumulaed as long as V () k > (1 δ) q I need o show ha his inequaliy canno hold for any quaniies of capial, bu I am going o have o do i in a roundabou away I claim ha he following inequaliy holds:

26 INTRODUCTION TO DYNAMIC PROGRAMMING 145 pf () k V ( k ') < (223) 1 β If his claim is rue, I can show ha V(k) is bounded I will hen characerize he soluion o he model assuming i is rue, and use his characerizaion o verify he claim laer Given (223), coninued invesmen in capial requires ha (1 β)(1 δ) q f () k > (224) p However, lim k f ( k) = 0, so here mus exis some k < such ha (224) is no longer saisfied Thus, k is bounded beween zero (by assumpion) and k < As he funcions f and c are coninuous, boundedness of capial implies ha he one-period reurn is bounded, while discouning hen implies ha he value funcion is bounded Thus, (222) maps bounded coninuous funcions ino bounded coninuous funcions Then, by Theorem 21 (conracion mapping heorem for bounded reurns), if he operaor defined by (222) is a conracion mapping, he funcion V (k) is uniquely deermined I can herefore use Theorem 22 (Blackwell's Theorem) o verify exisence and uniqueness of a fixed poin Monooniciy and discouning are boh saisfied for his model, he former because he operaor involves maximizaion, and he laer because we are discouning fuure reurns by he facor β<1 (hese claims can be verified by exacly following he seps in Example 22) Consequenly, here is a unique value funcion saisfying (222) The one-period reurn, pf ( k) c ( k ' (1 δ) k) is a sricly concave funcion of k (because c is convex, c is concave) Hence, by Theorem 25, V ( k ') is sricly concave, and he policy funcion obained from he firs order condiion defines a unique invesmen sraegy The firs-order condiion is given by c ( k ' (1 δ) k) = βv ( k ') (225) Before applying he envelope heorem, I will use he firs-order condiion o show uniqueness of he policy funcion direcly As c is differeniable and sricly convex, he lef hand side of (225) is coninuous and sricly increasing in k ' As V ( k ') is a leas once differeniable and sricly concave, he righ hand side of (225) is coninuous and sricly

27 INTRODUCTION TO DYNAMIC PROGRAMMING 146 decreasing in k ' Thus, here exiss a unique k ' saisfying (225) Moreover, he lef hand side of (223) is decreasing in k for any k ' I have now shown ha opimal policy, k ', is increasing in k (You migh like o draw he graph o verify hese argumens) The envelope heorem gives V ( k) = pf ( k) + (1 δ) c ( k ' (1 δ) k) (226) Updaing one period, V ( k ') = pf ( k ') + (1 δ) c ( k '' (1 δ) k '), and subsiuing ino he firs-order condiion yields c ( k ' (1 δ) k) = βpf ( k ') + (1 δ) βc ( k '' (1 δ) k '), a second-order difference equaion ha fully characerizes he unique ime pah of he opimal invesmen sraegy Finally, I need o use hese resuls o verify claim (223) Subsiue (225) ino (226) o eliminae c : V ( k) = pf ( k) + (1 δβ ) V ( k ') I do no need o worry abou he case where k > k ' because if i were ever opimal o reduce he capial sock he desired quaniy could be sold immediaely a a price q Hence, resricing aenion o he case where, k k ', concaviy of he value funcion implies ha V ( k ') V ( k) Tha is, V ( k ') pf ( k) + (1 δβ ) V ( k '), so ha pf ( k) pf ( k) V ( k ') < 1 (1 δβ ) 1 β, as claimed in (223) Alhough here is relaively lile srucure o he model, we have been able o esablish some imporan properies To do so, we made use of Theorems 21, 22, and 25 Having esablished ha he one-period reurn funcion was bounded, Theorems 23 and 24 for unbounded reurns were no relevan We found ha he one-period reurn is in-

28 INTRODUCTION TO DYNAMIC PROGRAMMING 147 creasing in he capial sock By Theorem 26, hen, he value of a firm is also increasing in he size of is capial sock Moreover, we have shown ha he value of nex period's capial sock is increasing in he size of he sock his period Thus, here is persisence in firm size if a firm were o receive a posiive shock o is capial sock oday, ha shock would persis for some ime We have also shown ha here is an upper limi o he amoun of capial ha a firm will accumulae, and hence ha here is an upper bound o firm size and value This finding ells us ha, as long as demand is sufficienly large, no one firm would ge o dominae any indusry exhibiing diminishing reurns and convex adjusmen coss 3 Dynamic Programming and Opimal Conrol 8 Alhough dynamic programming mos ofen is carried ou in discree-ime seings, i can also be used in coninuous ime In his secion we show he equivalence of dynamic programming and opimal conrol soluions o coninuous-ime, deerminisic, dynamic opimizaion problems coincide Consider he following familiar coninuous-ime invesmen problem for a firm: T max ( ), ( ), x () 0 ( ) u k x d, subjec o k () = f( k (), x (), ), k(0) = k 0 (31) Define V ( 0, k( 0) ) as he bes value for he firm ha can be aained a ime 0 given ha he capial sock a ime 0 is k( 0 ) This funcion is defined for all 0 [ 0, T] and any feasible k( 0 ) Tha is, T V (, k( )) = max u( k( ), x( ), ) d, (32) 0 0 x 0 8 This secion can be omied wihou loss of coninuiy

29 INTRODUCTION TO DYNAMIC PROGRAMMING 148 subjec o (31) Noe ha V ( T, k( 0) ) = 0 by definiion Break up he inegral in (32) ino wo pars, one covering he shor inerval [, + ], and he oher covering he inerval ( T] : 0, T V ( 0, k( 0) ) = max u( k( ), x( ), ) d + V ( 0, k( 0) ) + u( k( ), x( ), ) d, x 0 0+ By Bellman's Principle of Opimaliy, he invesmen pah x(), ( + T], mus be opimal for he problem beginning a ime 0 + Tha is, 0, 0 + T V ( 0, k( 0) ) = max u( k( ), x( ), ) d max u( k( ), x( ), ) d + x (), 0 x (), 0+ < T, 0 0+ subjec o (31) Pu anoher way, 0 + V ( 0, k( 0) ) = max u( k( ), x( ), ) d + V ( 0 +, k( 0) + k) x (), 0, (33) 0 which saes ha he value of he opimal policy is equal o he reurn o choosing an opimal policy over he inerval [ 0, 0 + ] plus he reurn from coninuing opimally hereafer As is assumed o be small, hen he following approximaions are reasonable (as hey will be exac in a momen when we le ) 0 + u( k( ), x( ), ) ) d u( k( 0), x( 0), ), xd () x0 0 Tha is, as is a small inerval, hen we can approximae he wo inegrals by assuming ha u and x are consan over he inerval Now, in discree ime modeling we would le = 1, and assume ha wihin each period of lengh 1, he chosen policy mus be consan Doing so yields { } (, ( )) max ( ( ), ( ), ) ( 1, ( 1) ) V k = u k x + V + k +, (34) x ()

30 INTRODUCTION TO DYNAMIC PROGRAMMING 149 where u now measures he payoff during a single period from choosing invesmen x() and beginning wih capial sock k() This is he key funcional equaion for discree ime ha we have already seen Bu wha I wan o do righ now is o hink abou he coninuous-ime problem and relae i o opimal conrol In fac, we can go from (33) o opimal conrol wih he simple assumpion ha V (, k( )) is wice differeniable The assumpion allows us o ake a Taylor expansion of (33) around = 0 : { V ( 0, k( 0) ) max u( k( 0), x( 0), 0) + V ( 0, k( 0) ) + V ( 0, k( 0) ) + Vk ( 0, k( 0) ) k} x ( 0 ) Subrac V ( 0, k( 0) ) from boh sides and divide hrough by : k 0 = max { u( k( 0), x( 0), 0) + V ( 0, k( 0) ) + Vk ( 0, k( 0) ) } x ( 0 ) Finally, we le 0, yielding 0= max { u( k (), x (), ) + V ( k, ()) + Vk ( k, ()) k ()}, (35) x () where we can now, wihou inaccuracy, drop he zero subscrip on curren ime Le λ() denoe he cosae variable from opimal conrol We know ha λ() has he meansing of he marginal value of he sae variable, and hence ha λ()=v k (k(),) Using his fac in (35), we have V (, k() ) = max u( k(), x(), ) + λ()() k x () { } = max { u( k( ), x( ), ) + λ( ) f ( k( ), x( ), ) } (36) x () Equaion (36) is known as he Hamilon-Jacobi-Bellman equaion, and represens he fundamenal parial differenial equaion obeyed by he opimal value funcion Noe, ha he righ hand side of (36) mus be maximized by choice of in he language of opimal conrol he conrol variable, x() Bu he righ hand side is simply he Hamilonian of opimal conrol, and is firs-order condiion is u x + λf = 0 (37) x The opimaliy condiion for λ() is also readily derived Equaion (36) mus be rue even if k() is modified Thus, we can differeniae (36) wih respec o k() o ge

31 INTRODUCTION TO DYNAMIC PROGRAMMING 150 V = u + λ f + λf (38) k k k k where he erm V = V = λ ( ) Now, noing ha he oal derivaive of V (, k( )) k wih respec o ime is (, k( ) ) k dvk λ () = = Vk + Vkk k () = Vk + Vkk f = Vk + λk f d, (39) we can combine (38) and (39) o ge k or λ + λ f = u + λ f + λf, k k k k u k + λf = λ k Hence, if V(k,) is wice differeniable, hen opimal conrol and dynamic programming give equivalen opimaliy condiions 4 Sochasic Dynamic Programming One of he mos aracive feaures of dynamic programming is he relaive ease wih which sochasic elemens can be incorporaed We herefore now exend he mehods of secion 2 o incorporae sochasic feaures ino our models The exension is in principle sraighforward: one adds a judiciously-placed random variable such ha a ime pas realizaions are known bu fuure realizaions are no Thus, he curren value funcion depends upon he disribuion of fuure values of he random shock, and he way in which he shock affecs fuure reurns This uncerainly is handled wih he expecaions operaor Consider, for example, he cake-eaing problem of Exercise 11 In his problem, he naural source of uncerainy concerns random variaions in he agen s preferences For example, i may be ha uiliy in each period is given by v( c ) = z u( c ) where z is a random variable The correc formulaion for he Bellman equaion in his problem depends upon wha we assume is known abou he random process One assump-

32 INTRODUCTION TO DYNAMIC PROGRAMMING 151 ion is ha he realized value of z is known when period- consumpion is chosen, in which case we wrie { β + 1 } ( ) max ( ) ( ) V x = z u c + E V x c (recall ha x is he size of cake remaining) An alernaive assumpion is ha he ase shock for he curren period is no known a he ime he consumpion decision is being made, in which case we wrie { β + 1 } ( ) = max ( ) + ( ) V x E z u c V x c and his ime we canno ake he expecaions operaor inside o he second erm In boh cases, E denoes he expecaion of he value funcion condiional upon informaion ha is known when period- decisions are made I is up o he modeler o be clear abou wha belongs in he period- informaion se, because differen assumpions may lead o drasically differen behavior The cake-eaing example adds shocks o he reurns in each period bu, condiional on he consumpion choice, he evoluion of he sae variable is deerminisic A second common way o inroduce sochasic elemens is o suppose ha he payoff funcion is deerminisic once he value of he sae variable is given, bu he evoluion of he sae variable is subjec o random shocks Consider a sochasic version of he simple infiniehorizon consumpion problem wih capial accumulaion (equaion [21]): β ( ( ) + ) max E u z f k k 0 1 = 1 Here, oupu is subjec o random produciviy shocks, z, so ha k+ 1 = zf ( k) c However, once c and k are given, he one-period reurn is fixed We assume here ha z is known a he ime c is chosen, so ha nex period s capial sock is also known However, nex period s value funcion remains sochasic because i will depend upon he realizaion of z +1 Thus, he Bellman equaion is: { } V ( k) = max u( c) + βe V ( k ') c { uc βev ( zf k c) } = max ( ) + ( ) c, (41)

3.1.3 INTRODUCTION TO DYNAMIC OPTIMIZATION: DISCRETE TIME PROBLEMS. A. The Hamiltonian and First-Order Conditions in a Finite Time Horizon

3.1.3 INTRODUCTION TO DYNAMIC OPTIMIZATION: DISCRETE TIME PROBLEMS. A. The Hamiltonian and First-Order Conditions in a Finite Time Horizon 3..3 INRODUCION O DYNAMIC OPIMIZAION: DISCREE IME PROBLEMS A. he Hamilonian and Firs-Order Condiions in a Finie ime Horizon Define a new funcion, he Hamilonian funcion, H. H he change in he oal value of

More information

BU Macro BU Macro Fall 2008, Lecture 4

BU Macro BU Macro Fall 2008, Lecture 4 Dynamic Programming BU Macro 2008 Lecure 4 1 Ouline 1. Cerainy opimizaion problem used o illusrae: a. Resricions on exogenous variables b. Value funcion c. Policy funcion d. The Bellman equaion and an

More information

SZG Macro 2011 Lecture 3: Dynamic Programming. SZG macro 2011 lecture 3 1

SZG Macro 2011 Lecture 3: Dynamic Programming. SZG macro 2011 lecture 3 1 SZG Macro 2011 Lecure 3: Dynamic Programming SZG macro 2011 lecure 3 1 Background Our previous discussion of opimal consumpion over ime and of opimal capial accumulaion sugges sudying he general decision

More information

Essential Microeconomics : OPTIMAL CONTROL 1. Consider the following class of optimization problems

Essential Microeconomics : OPTIMAL CONTROL 1. Consider the following class of optimization problems Essenial Microeconomics -- 6.5: OPIMAL CONROL Consider he following class of opimizaion problems Max{ U( k, x) + U+ ( k+ ) k+ k F( k, x)}. { x, k+ } = In he language of conrol heory, he vecor k is he vecor

More information

ANSWERS TO EVEN NUMBERED EXERCISES IN CHAPTER 6 SECTION 6.1: LIFE CYCLE CONSUMPTION AND WEALTH T 1. . Let ct. ) is a strictly concave function of c

ANSWERS TO EVEN NUMBERED EXERCISES IN CHAPTER 6 SECTION 6.1: LIFE CYCLE CONSUMPTION AND WEALTH T 1. . Let ct. ) is a strictly concave function of c John Riley December 00 S O EVEN NUMBERED EXERCISES IN CHAPER 6 SECION 6: LIFE CYCLE CONSUMPION AND WEALH Eercise 6-: Opimal saving wih more han one commodiy A consumer has a period uiliy funcion δ u (

More information

Online Appendix to Solution Methods for Models with Rare Disasters

Online Appendix to Solution Methods for Models with Rare Disasters Online Appendix o Soluion Mehods for Models wih Rare Disasers Jesús Fernández-Villaverde and Oren Levinal In his Online Appendix, we presen he Euler condiions of he model, we develop he pricing Calvo block,

More information

Inventory Analysis and Management. Multi-Period Stochastic Models: Optimality of (s, S) Policy for K-Convex Objective Functions

Inventory Analysis and Management. Multi-Period Stochastic Models: Optimality of (s, S) Policy for K-Convex Objective Functions Muli-Period Sochasic Models: Opimali of (s, S) Polic for -Convex Objecive Funcions Consider a seing similar o he N-sage newsvendor problem excep ha now here is a fixed re-ordering cos (> 0) for each (re-)order.

More information

Chapter 2. First Order Scalar Equations

Chapter 2. First Order Scalar Equations Chaper. Firs Order Scalar Equaions We sar our sudy of differenial equaions in he same way he pioneers in his field did. We show paricular echniques o solve paricular ypes of firs order differenial equaions.

More information

This document was generated at 7:34 PM, 07/27/09 Copyright 2009 Richard T. Woodward

This document was generated at 7:34 PM, 07/27/09 Copyright 2009 Richard T. Woodward his documen was generaed a 7:34 PM, 07/27/09 Copyrigh 2009 Richard. Woodward 15. Bang-bang and mos rapid approach problems AGEC 637 - Summer 2009 here are some problems for which he opimal pah does no

More information

IMPLICIT AND INVERSE FUNCTION THEOREMS PAUL SCHRIMPF 1 OCTOBER 25, 2013

IMPLICIT AND INVERSE FUNCTION THEOREMS PAUL SCHRIMPF 1 OCTOBER 25, 2013 IMPLICI AND INVERSE FUNCION HEOREMS PAUL SCHRIMPF 1 OCOBER 25, 213 UNIVERSIY OF BRIISH COLUMBIA ECONOMICS 526 We have exensively sudied how o solve sysems of linear equaions. We know how o check wheher

More information

THE BELLMAN PRINCIPLE OF OPTIMALITY

THE BELLMAN PRINCIPLE OF OPTIMALITY THE BELLMAN PRINCIPLE OF OPTIMALITY IOANID ROSU As I undersand, here are wo approaches o dynamic opimizaion: he Ponrjagin Hamilonian) approach, and he Bellman approach. I saw several clear discussions

More information

E β t log (C t ) + M t M t 1. = Y t + B t 1 P t. B t 0 (3) v t = P tc t M t Question 1. Find the FOC s for an optimum in the agent s problem.

E β t log (C t ) + M t M t 1. = Y t + B t 1 P t. B t 0 (3) v t = P tc t M t Question 1. Find the FOC s for an optimum in the agent s problem. Noes, M. Krause.. Problem Se 9: Exercise on FTPL Same model as in paper and lecure, only ha one-period govenmen bonds are replaced by consols, which are bonds ha pay one dollar forever. I has curren marke

More information

23.2. Representing Periodic Functions by Fourier Series. Introduction. Prerequisites. Learning Outcomes

23.2. Representing Periodic Functions by Fourier Series. Introduction. Prerequisites. Learning Outcomes Represening Periodic Funcions by Fourier Series 3. Inroducion In his Secion we show how a periodic funcion can be expressed as a series of sines and cosines. We begin by obaining some sandard inegrals

More information

EXERCISES FOR SECTION 1.5

EXERCISES FOR SECTION 1.5 1.5 Exisence and Uniqueness of Soluions 43 20. 1 v c 21. 1 v c 1 2 4 6 8 10 1 2 2 4 6 8 10 Graph of approximae soluion obained using Euler s mehod wih = 0.1. Graph of approximae soluion obained using Euler

More information

Solutions Problem Set 3 Macro II (14.452)

Solutions Problem Set 3 Macro II (14.452) Soluions Problem Se 3 Macro II (14.452) Francisco A. Gallego 04/27/2005 1 Q heory of invesmen in coninuous ime and no uncerainy Consider he in nie horizon model of a rm facing adjusmen coss o invesmen.

More information

O Q L N. Discrete-Time Stochastic Dynamic Programming. I. Notation and basic assumptions. ε t : a px1 random vector of disturbances at time t.

O Q L N. Discrete-Time Stochastic Dynamic Programming. I. Notation and basic assumptions. ε t : a px1 random vector of disturbances at time t. Econ. 5b Spring 999 C. Sims Discree-Time Sochasic Dynamic Programming 995, 996 by Chrisopher Sims. This maerial may be freely reproduced for educaional and research purposes, so long as i is no alered,

More information

T L. t=1. Proof of Lemma 1. Using the marginal cost accounting in Equation(4) and standard arguments. t )+Π RB. t )+K 1(Q RB

T L. t=1. Proof of Lemma 1. Using the marginal cost accounting in Equation(4) and standard arguments. t )+Π RB. t )+K 1(Q RB Elecronic Companion EC.1. Proofs of Technical Lemmas and Theorems LEMMA 1. Le C(RB) be he oal cos incurred by he RB policy. Then we have, T L E[C(RB)] 3 E[Z RB ]. (EC.1) Proof of Lemma 1. Using he marginal

More information

RANDOM LAGRANGE MULTIPLIERS AND TRANSVERSALITY

RANDOM LAGRANGE MULTIPLIERS AND TRANSVERSALITY ECO 504 Spring 2006 Chris Sims RANDOM LAGRANGE MULTIPLIERS AND TRANSVERSALITY 1. INTRODUCTION Lagrange muliplier mehods are sandard fare in elemenary calculus courses, and hey play a cenral role in economic

More information

= ( ) ) or a system of differential equations with continuous parametrization (T = R

= ( ) ) or a system of differential equations with continuous parametrization (T = R XIII. DIFFERENCE AND DIFFERENTIAL EQUATIONS Ofen funcions, or a sysem of funcion, are paramerized in erms of some variable, usually denoed as and inerpreed as ime. The variable is wrien as a funcion of

More information

Seminar 4: Hotelling 2

Seminar 4: Hotelling 2 Seminar 4: Hoelling 2 November 3, 211 1 Exercise Par 1 Iso-elasic demand A non renewable resource of a known sock S can be exraced a zero cos. Demand for he resource is of he form: D(p ) = p ε ε > A a

More information

( ) a system of differential equations with continuous parametrization ( T = R + These look like, respectively:

( ) a system of differential equations with continuous parametrization ( T = R + These look like, respectively: XIII. DIFFERENCE AND DIFFERENTIAL EQUATIONS Ofen funcions, or a sysem of funcion, are paramerized in erms of some variable, usually denoed as and inerpreed as ime. The variable is wrien as a funcion of

More information

Macroeconomic Theory Ph.D. Qualifying Examination Fall 2005 ANSWER EACH PART IN A SEPARATE BLUE BOOK. PART ONE: ANSWER IN BOOK 1 WEIGHT 1/3

Macroeconomic Theory Ph.D. Qualifying Examination Fall 2005 ANSWER EACH PART IN A SEPARATE BLUE BOOK. PART ONE: ANSWER IN BOOK 1 WEIGHT 1/3 Macroeconomic Theory Ph.D. Qualifying Examinaion Fall 2005 Comprehensive Examinaion UCLA Dep. of Economics You have 4 hours o complee he exam. There are hree pars o he exam. Answer all pars. Each par has

More information

1. An introduction to dynamic optimization -- Optimal Control and Dynamic Programming AGEC

1. An introduction to dynamic optimization -- Optimal Control and Dynamic Programming AGEC This documen was generaed a :45 PM 8/8/04 Copyrigh 04 Richard T. Woodward. An inroducion o dynamic opimizaion -- Opimal Conrol and Dynamic Programming AGEC 637-04 I. Overview of opimizaion Opimizaion is

More information

Section 3.5 Nonhomogeneous Equations; Method of Undetermined Coefficients

Section 3.5 Nonhomogeneous Equations; Method of Undetermined Coefficients Secion 3.5 Nonhomogeneous Equaions; Mehod of Undeermined Coefficiens Key Terms/Ideas: Linear Differenial operaor Nonlinear operaor Second order homogeneous DE Second order nonhomogeneous DE Soluion o homogeneous

More information

Vehicle Arrival Models : Headway

Vehicle Arrival Models : Headway Chaper 12 Vehicle Arrival Models : Headway 12.1 Inroducion Modelling arrival of vehicle a secion of road is an imporan sep in raffic flow modelling. I has imporan applicaion in raffic flow simulaion where

More information

Problem Set #3: AK models

Problem Set #3: AK models Universiy of Warwick EC9A2 Advanced Macroeconomic Analysis Problem Se #3: AK models Jorge F. Chavez December 3, 2012 Problem 1 Consider a compeiive economy, in which he level of echnology, which is exernal

More information

The Brock-Mirman Stochastic Growth Model

The Brock-Mirman Stochastic Growth Model c December 3, 208, Chrisopher D. Carroll BrockMirman The Brock-Mirman Sochasic Growh Model Brock and Mirman (972) provided he firs opimizing growh model wih unpredicable (sochasic) shocks. The social planner

More information

Appendix 14.1 The optimal control problem and its solution using

Appendix 14.1 The optimal control problem and its solution using 1 Appendix 14.1 he opimal conrol problem and is soluion using he maximum principle NOE: Many occurrences of f, x, u, and in his file (in equaions or as whole words in ex) are purposefully in bold in order

More information

Problem Set 5. Graduate Macro II, Spring 2017 The University of Notre Dame Professor Sims

Problem Set 5. Graduate Macro II, Spring 2017 The University of Notre Dame Professor Sims Problem Se 5 Graduae Macro II, Spring 2017 The Universiy of Nore Dame Professor Sims Insrucions: You may consul wih oher members of he class, bu please make sure o urn in your own work. Where applicable,

More information

Expert Advice for Amateurs

Expert Advice for Amateurs Exper Advice for Amaeurs Ernes K. Lai Online Appendix - Exisence of Equilibria The analysis in his secion is performed under more general payoff funcions. Wihou aking an explici form, he payoffs of he

More information

Economics 8105 Macroeconomic Theory Recitation 6

Economics 8105 Macroeconomic Theory Recitation 6 Economics 8105 Macroeconomic Theory Reciaion 6 Conor Ryan Ocober 11h, 2016 Ouline: Opimal Taxaion wih Governmen Invesmen 1 Governmen Expendiure in Producion In hese noes we will examine a model in which

More information

This document was generated at 1:04 PM, 09/10/13 Copyright 2013 Richard T. Woodward. 4. End points and transversality conditions AGEC

This document was generated at 1:04 PM, 09/10/13 Copyright 2013 Richard T. Woodward. 4. End points and transversality conditions AGEC his documen was generaed a 1:4 PM, 9/1/13 Copyrigh 213 Richard. Woodward 4. End poins and ransversaliy condiions AGEC 637-213 F z d Recall from Lecure 3 ha a ypical opimal conrol problem is o maimize (,,

More information

10. State Space Methods

10. State Space Methods . Sae Space Mehods. Inroducion Sae space modelling was briefly inroduced in chaper. Here more coverage is provided of sae space mehods before some of heir uses in conrol sysem design are covered in he

More information

Lecture Notes 3: Quantitative Analysis in DSGE Models: New Keynesian Model

Lecture Notes 3: Quantitative Analysis in DSGE Models: New Keynesian Model Lecure Noes 3: Quaniaive Analysis in DSGE Models: New Keynesian Model Zhiwei Xu, Email: xuzhiwei@sju.edu.cn The moneary policy plays lile role in he basic moneary model wihou price sickiness. We now urn

More information

Explaining Total Factor Productivity. Ulrich Kohli University of Geneva December 2015

Explaining Total Factor Productivity. Ulrich Kohli University of Geneva December 2015 Explaining Toal Facor Produciviy Ulrich Kohli Universiy of Geneva December 2015 Needed: A Theory of Toal Facor Produciviy Edward C. Presco (1998) 2 1. Inroducion Toal Facor Produciviy (TFP) has become

More information

Lecture 2-1 Kinematics in One Dimension Displacement, Velocity and Acceleration Everything in the world is moving. Nothing stays still.

Lecture 2-1 Kinematics in One Dimension Displacement, Velocity and Acceleration Everything in the world is moving. Nothing stays still. Lecure - Kinemaics in One Dimension Displacemen, Velociy and Acceleraion Everyhing in he world is moving. Nohing says sill. Moion occurs a all scales of he universe, saring from he moion of elecrons in

More information

Finish reading Chapter 2 of Spivak, rereading earlier sections as necessary. handout and fill in some missing details!

Finish reading Chapter 2 of Spivak, rereading earlier sections as necessary. handout and fill in some missing details! MAT 257, Handou 6: Ocober 7-2, 20. I. Assignmen. Finish reading Chaper 2 of Spiva, rereading earlier secions as necessary. handou and fill in some missing deails! II. Higher derivaives. Also, read his

More information

t is a basis for the solution space to this system, then the matrix having these solutions as columns, t x 1 t, x 2 t,... x n t x 2 t...

t is a basis for the solution space to this system, then the matrix having these solutions as columns, t x 1 t, x 2 t,... x n t x 2 t... Mah 228- Fri Mar 24 5.6 Marix exponenials and linear sysems: The analogy beween firs order sysems of linear differenial equaions (Chaper 5) and scalar linear differenial equaions (Chaper ) is much sronger

More information

Course Notes for EE227C (Spring 2018): Convex Optimization and Approximation

Course Notes for EE227C (Spring 2018): Convex Optimization and Approximation Course Noes for EE7C Spring 018: Convex Opimizaion and Approximaion Insrucor: Moriz Hard Email: hard+ee7c@berkeley.edu Graduae Insrucor: Max Simchowiz Email: msimchow+ee7c@berkeley.edu Ocober 15, 018 3

More information

Physics 235 Chapter 2. Chapter 2 Newtonian Mechanics Single Particle

Physics 235 Chapter 2. Chapter 2 Newtonian Mechanics Single Particle Chaper 2 Newonian Mechanics Single Paricle In his Chaper we will review wha Newon s laws of mechanics ell us abou he moion of a single paricle. Newon s laws are only valid in suiable reference frames,

More information

1. An introduction to dynamic optimization -- Optimal Control and Dynamic Programming AGEC

1. An introduction to dynamic optimization -- Optimal Control and Dynamic Programming AGEC This documen was generaed a :37 PM, 1/11/018 Copyrigh 018 Richard T. Woodward 1. An inroducion o dynamic opimiaion -- Opimal Conrol and Dynamic Programming AGEC 64-018 I. Overview of opimiaion Opimiaion

More information

Simulation-Solving Dynamic Models ABE 5646 Week 2, Spring 2010

Simulation-Solving Dynamic Models ABE 5646 Week 2, Spring 2010 Simulaion-Solving Dynamic Models ABE 5646 Week 2, Spring 2010 Week Descripion Reading Maerial 2 Compuer Simulaion of Dynamic Models Finie Difference, coninuous saes, discree ime Simple Mehods Euler Trapezoid

More information

Math 2142 Exam 1 Review Problems. x 2 + f (0) 3! for the 3rd Taylor polynomial at x = 0. To calculate the various quantities:

Math 2142 Exam 1 Review Problems. x 2 + f (0) 3! for the 3rd Taylor polynomial at x = 0. To calculate the various quantities: Mah 4 Eam Review Problems Problem. Calculae he 3rd Taylor polynomial for arcsin a =. Soluion. Le f() = arcsin. For his problem, we use he formula f() + f () + f ()! + f () 3! for he 3rd Taylor polynomial

More information

Hamilton- J acobi Equation: Weak S olution We continue the study of the Hamilton-Jacobi equation:

Hamilton- J acobi Equation: Weak S olution We continue the study of the Hamilton-Jacobi equation: M ah 5 7 Fall 9 L ecure O c. 4, 9 ) Hamilon- J acobi Equaion: Weak S oluion We coninue he sudy of he Hamilon-Jacobi equaion: We have shown ha u + H D u) = R n, ) ; u = g R n { = }. ). In general we canno

More information

Linear Response Theory: The connection between QFT and experiments

Linear Response Theory: The connection between QFT and experiments Phys540.nb 39 3 Linear Response Theory: The connecion beween QFT and experimens 3.1. Basic conceps and ideas Q: How do we measure he conduciviy of a meal? A: we firs inroduce a weak elecric field E, and

More information

Cooperative Ph.D. Program in School of Economic Sciences and Finance QUALIFYING EXAMINATION IN MACROECONOMICS. August 8, :45 a.m. to 1:00 p.m.

Cooperative Ph.D. Program in School of Economic Sciences and Finance QUALIFYING EXAMINATION IN MACROECONOMICS. August 8, :45 a.m. to 1:00 p.m. Cooperaive Ph.D. Program in School of Economic Sciences and Finance QUALIFYING EXAMINATION IN MACROECONOMICS Augus 8, 213 8:45 a.m. o 1: p.m. THERE ARE FIVE QUESTIONS ANSWER ANY FOUR OUT OF FIVE PROBLEMS.

More information

Problem Set on Differential Equations

Problem Set on Differential Equations Problem Se on Differenial Equaions 1. Solve he following differenial equaions (a) x () = e x (), x () = 3/ 4. (b) x () = e x (), x (1) =. (c) xe () = + (1 x ()) e, x () =.. (An asse marke model). Le p()

More information

Two Coupled Oscillators / Normal Modes

Two Coupled Oscillators / Normal Modes Lecure 3 Phys 3750 Two Coupled Oscillaors / Normal Modes Overview and Moivaion: Today we ake a small, bu significan, sep owards wave moion. We will no ye observe waves, bu his sep is imporan in is own

More information

Diebold, Chapter 7. Francis X. Diebold, Elements of Forecasting, 4th Edition (Mason, Ohio: Cengage Learning, 2006). Chapter 7. Characterizing Cycles

Diebold, Chapter 7. Francis X. Diebold, Elements of Forecasting, 4th Edition (Mason, Ohio: Cengage Learning, 2006). Chapter 7. Characterizing Cycles Diebold, Chaper 7 Francis X. Diebold, Elemens of Forecasing, 4h Ediion (Mason, Ohio: Cengage Learning, 006). Chaper 7. Characerizing Cycles Afer compleing his reading you should be able o: Define covariance

More information

1 Review of Zero-Sum Games

1 Review of Zero-Sum Games COS 5: heoreical Machine Learning Lecurer: Rob Schapire Lecure #23 Scribe: Eugene Brevdo April 30, 2008 Review of Zero-Sum Games Las ime we inroduced a mahemaical model for wo player zero-sum games. Any

More information

Problem 1 / 25 Problem 2 / 20 Problem 3 / 10 Problem 4 / 15 Problem 5 / 30 TOTAL / 100

Problem 1 / 25 Problem 2 / 20 Problem 3 / 10 Problem 4 / 15 Problem 5 / 30 TOTAL / 100 eparmen of Applied Economics Johns Hopkins Universiy Economics 602 Macroeconomic Theory and Policy Miderm Exam Suggesed Soluions Professor Sanjay hugh Fall 2008 NAME: The Exam has a oal of five (5) problems

More information

On Measuring Pro-Poor Growth. 1. On Various Ways of Measuring Pro-Poor Growth: A Short Review of the Literature

On Measuring Pro-Poor Growth. 1. On Various Ways of Measuring Pro-Poor Growth: A Short Review of the Literature On Measuring Pro-Poor Growh 1. On Various Ways of Measuring Pro-Poor Growh: A Shor eview of he Lieraure During he pas en years or so here have been various suggesions concerning he way one should check

More information

15. Vector Valued Functions

15. Vector Valued Functions 1. Vecor Valued Funcions Up o his poin, we have presened vecors wih consan componens, for example, 1, and,,4. However, we can allow he componens of a vecor o be funcions of a common variable. For example,

More information

Graduate Macro Theory II: Notes on Neoclassical Growth Model

Graduate Macro Theory II: Notes on Neoclassical Growth Model Graduae Macro Theory II: Noes on Neoclassical Growh Model Eric Sims Universiy of Nore Dame Spring 2015 1 Basic Neoclassical Growh Model The economy is populaed by a large number of infiniely lived agens.

More information

Optimality Conditions for Unconstrained Problems

Optimality Conditions for Unconstrained Problems 62 CHAPTER 6 Opimaliy Condiions for Unconsrained Problems 1 Unconsrained Opimizaion 11 Exisence Consider he problem of minimizing he funcion f : R n R where f is coninuous on all of R n : P min f(x) x

More information

Final Spring 2007

Final Spring 2007 .615 Final Spring 7 Overview The purpose of he final exam is o calculae he MHD β limi in a high-bea oroidal okamak agains he dangerous n = 1 exernal ballooning-kink mode. Effecively, his corresponds o

More information

Lecture Notes 5: Investment

Lecture Notes 5: Investment Lecure Noes 5: Invesmen Zhiwei Xu (xuzhiwei@sju.edu.cn) Invesmen decisions made by rms are one of he mos imporan behaviors in he economy. As he invesmen deermines how he capials accumulae along he ime,

More information

Matrix Versions of Some Refinements of the Arithmetic-Geometric Mean Inequality

Matrix Versions of Some Refinements of the Arithmetic-Geometric Mean Inequality Marix Versions of Some Refinemens of he Arihmeic-Geomeric Mean Inequaliy Bao Qi Feng and Andrew Tonge Absrac. We esablish marix versions of refinemens due o Alzer ], Carwrigh and Field 4], and Mercer 5]

More information

Lecture Notes 2. The Hilbert Space Approach to Time Series

Lecture Notes 2. The Hilbert Space Approach to Time Series Time Series Seven N. Durlauf Universiy of Wisconsin. Basic ideas Lecure Noes. The Hilber Space Approach o Time Series The Hilber space framework provides a very powerful language for discussing he relaionship

More information

Some Basic Information about M-S-D Systems

Some Basic Information about M-S-D Systems Some Basic Informaion abou M-S-D Sysems 1 Inroducion We wan o give some summary of he facs concerning unforced (homogeneous) and forced (non-homogeneous) models for linear oscillaors governed by second-order,

More information

2.7. Some common engineering functions. Introduction. Prerequisites. Learning Outcomes

2.7. Some common engineering functions. Introduction. Prerequisites. Learning Outcomes Some common engineering funcions 2.7 Inroducion This secion provides a caalogue of some common funcions ofen used in Science and Engineering. These include polynomials, raional funcions, he modulus funcion

More information

23.5. Half-Range Series. Introduction. Prerequisites. Learning Outcomes

23.5. Half-Range Series. Introduction. Prerequisites. Learning Outcomes Half-Range Series 2.5 Inroducion In his Secion we address he following problem: Can we find a Fourier series expansion of a funcion defined over a finie inerval? Of course we recognise ha such a funcion

More information

Solutions to Assignment 1

Solutions to Assignment 1 MA 2326 Differenial Equaions Insrucor: Peronela Radu Friday, February 8, 203 Soluions o Assignmen. Find he general soluions of he following ODEs: (a) 2 x = an x Soluion: I is a separable equaion as we

More information

Midterm Exam. Macroeconomic Theory (ECON 8105) Larry Jones. Fall September 27th, Question 1: (55 points)

Midterm Exam. Macroeconomic Theory (ECON 8105) Larry Jones. Fall September 27th, Question 1: (55 points) Quesion 1: (55 poins) Macroeconomic Theory (ECON 8105) Larry Jones Fall 2016 Miderm Exam Sepember 27h, 2016 Consider an economy in which he represenaive consumer lives forever. There is a good in each

More information

Designing Information Devices and Systems I Spring 2019 Lecture Notes Note 17

Designing Information Devices and Systems I Spring 2019 Lecture Notes Note 17 EES 16A Designing Informaion Devices and Sysems I Spring 019 Lecure Noes Noe 17 17.1 apaciive ouchscreen In he las noe, we saw ha a capacior consiss of wo pieces on conducive maerial separaed by a nonconducive

More information

d 1 = c 1 b 2 - b 1 c 2 d 2 = c 1 b 3 - b 1 c 3

d 1 = c 1 b 2 - b 1 c 2 d 2 = c 1 b 3 - b 1 c 3 and d = c b - b c c d = c b - b c c This process is coninued unil he nh row has been compleed. The complee array of coefficiens is riangular. Noe ha in developing he array an enire row may be divided or

More information

5.1 - Logarithms and Their Properties

5.1 - Logarithms and Their Properties Chaper 5 Logarihmic Funcions 5.1 - Logarihms and Their Properies Suppose ha a populaion grows according o he formula P 10, where P is he colony size a ime, in hours. When will he populaion be 2500? We

More information

Math 333 Problem Set #2 Solution 14 February 2003

Math 333 Problem Set #2 Solution 14 February 2003 Mah 333 Problem Se #2 Soluion 14 February 2003 A1. Solve he iniial value problem dy dx = x2 + e 3x ; 2y 4 y(0) = 1. Soluion: This is separable; we wrie 2y 4 dy = x 2 + e x dx and inegrae o ge The iniial

More information

Chapter 7: Solving Trig Equations

Chapter 7: Solving Trig Equations Haberman MTH Secion I: The Trigonomeric Funcions Chaper 7: Solving Trig Equaions Le s sar by solving a couple of equaions ha involve he sine funcion EXAMPLE a: Solve he equaion sin( ) The inverse funcions

More information

Hamilton- J acobi Equation: Explicit Formulas In this lecture we try to apply the method of characteristics to the Hamilton-Jacobi equation: u t

Hamilton- J acobi Equation: Explicit Formulas In this lecture we try to apply the method of characteristics to the Hamilton-Jacobi equation: u t M ah 5 2 7 Fall 2 0 0 9 L ecure 1 0 O c. 7, 2 0 0 9 Hamilon- J acobi Equaion: Explici Formulas In his lecure we ry o apply he mehod of characerisics o he Hamilon-Jacobi equaion: u + H D u, x = 0 in R n

More information

1 Answers to Final Exam, ECN 200E, Spring

1 Answers to Final Exam, ECN 200E, Spring 1 Answers o Final Exam, ECN 200E, Spring 2004 1. A good answer would include he following elemens: The equiy premium puzzle demonsraed ha wih sandard (i.e ime separable and consan relaive risk aversion)

More information

Macroeconomics I, UPF Professor Antonio Ciccone SOLUTIONS PROBLEM SET 1

Macroeconomics I, UPF Professor Antonio Ciccone SOLUTIONS PROBLEM SET 1 Macroeconomics I, UPF Professor Anonio Ciccone SOUTIONS PROBEM SET. (from Romer Advanced Macroeconomics Chaper ) Basic properies of growh raes which will be used over and over again. Use he fac ha he growh

More information

KINEMATICS IN ONE DIMENSION

KINEMATICS IN ONE DIMENSION KINEMATICS IN ONE DIMENSION PREVIEW Kinemaics is he sudy of how hings move how far (disance and displacemen), how fas (speed and velociy), and how fas ha how fas changes (acceleraion). We say ha an objec

More information

A Dynamic Model of Economic Fluctuations

A Dynamic Model of Economic Fluctuations CHAPTER 15 A Dynamic Model of Economic Flucuaions Modified for ECON 2204 by Bob Murphy 2016 Worh Publishers, all righs reserved IN THIS CHAPTER, OU WILL LEARN: how o incorporae dynamics ino he AD-AS model

More information

1. Consider a pure-exchange economy with stochastic endowments. The state of the economy

1. Consider a pure-exchange economy with stochastic endowments. The state of the economy Answer 4 of he following 5 quesions. 1. Consider a pure-exchange economy wih sochasic endowmens. The sae of he economy in period, 0,1,..., is he hisory of evens s ( s0, s1,..., s ). The iniial sae is given.

More information

t 2 B F x,t n dsdt t u x,t dxdt

t 2 B F x,t n dsdt t u x,t dxdt Evoluion Equaions For 0, fixed, le U U0, where U denoes a bounded open se in R n.suppose ha U is filled wih a maerial in which a conaminan is being ranspored by various means including diffusion and convecion.

More information

Module 2 F c i k c s la l w a s o s f dif di fusi s o i n

Module 2 F c i k c s la l w a s o s f dif di fusi s o i n Module Fick s laws of diffusion Fick s laws of diffusion and hin film soluion Adolf Fick (1855) proposed: d J α d d d J (mole/m s) flu (m /s) diffusion coefficien and (mole/m 3 ) concenraion of ions, aoms

More information

Reading from Young & Freedman: For this topic, read sections 25.4 & 25.5, the introduction to chapter 26 and sections 26.1 to 26.2 & 26.4.

Reading from Young & Freedman: For this topic, read sections 25.4 & 25.5, the introduction to chapter 26 and sections 26.1 to 26.2 & 26.4. PHY1 Elecriciy Topic 7 (Lecures 1 & 11) Elecric Circuis n his opic, we will cover: 1) Elecromoive Force (EMF) ) Series and parallel resisor combinaions 3) Kirchhoff s rules for circuis 4) Time dependence

More information

MATH 5720: Gradient Methods Hung Phan, UMass Lowell October 4, 2018

MATH 5720: Gradient Methods Hung Phan, UMass Lowell October 4, 2018 MATH 5720: Gradien Mehods Hung Phan, UMass Lowell Ocober 4, 208 Descen Direcion Mehods Consider he problem min { f(x) x R n}. The general descen direcions mehod is x k+ = x k + k d k where x k is he curren

More information

MATH 4330/5330, Fourier Analysis Section 6, Proof of Fourier s Theorem for Pointwise Convergence

MATH 4330/5330, Fourier Analysis Section 6, Proof of Fourier s Theorem for Pointwise Convergence MATH 433/533, Fourier Analysis Secion 6, Proof of Fourier s Theorem for Poinwise Convergence Firs, some commens abou inegraing periodic funcions. If g is a periodic funcion, g(x + ) g(x) for all real x,

More information

Suggested Solutions to Assignment 4 (REQUIRED) Submisson Deadline and Location: March 27 in Class

Suggested Solutions to Assignment 4 (REQUIRED) Submisson Deadline and Location: March 27 in Class EC 450 Advanced Macroeconomics Insrucor: Sharif F Khan Deparmen of Economics Wilfrid Laurier Universiy Winer 2008 Suggesed Soluions o Assignmen 4 (REQUIRED) Submisson Deadline and Locaion: March 27 in

More information

Reserves measures have an economic component eg. what could be extracted at current prices?

Reserves measures have an economic component eg. what could be extracted at current prices? 3.2 Non-renewable esources A. Are socks of non-renewable resources fixed? eserves measures have an economic componen eg. wha could be exraced a curren prices? - Locaion and quaniies of reserves of resources

More information

4 Sequences of measurable functions

4 Sequences of measurable functions 4 Sequences of measurable funcions 1. Le (Ω, A, µ) be a measure space (complee, afer a possible applicaion of he compleion heorem). In his chaper we invesigae relaions beween various (nonequivalen) convergences

More information

Full file at

Full file at Full file a hps://frasockeu SOLUTIONS TO CHAPTER 2 Problem 2 (a) The firm's problem is o choose he quaniies of capial, K, and effecive labor, AL, in order o minimize coss, wal + rk, subjec o he producion

More information

dt = C exp (3 ln t 4 ). t 4 W = C exp ( ln(4 t) 3) = C(4 t) 3.

dt = C exp (3 ln t 4 ). t 4 W = C exp ( ln(4 t) 3) = C(4 t) 3. Mah Rahman Exam Review Soluions () Consider he IVP: ( 4)y 3y + 4y = ; y(3) = 0, y (3) =. (a) Please deermine he longes inerval for which he IVP is guaraneed o have a unique soluion. Soluion: The disconinuiies

More information

UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS

UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS Exam: ECON4325 Moneary Policy Dae of exam: Tuesday, May 24, 206 Grades are given: June 4, 206 Time for exam: 2.30 p.m. 5.30 p.m. The problem se covers 5 pages

More information

( ) (, ) F K L = F, Y K N N N N. 8. Economic growth 8.1. Production function: Capital as production factor

( ) (, ) F K L = F, Y K N N N N. 8. Economic growth 8.1. Production function: Capital as production factor 8. Economic growh 8.. Producion funcion: Capial as producion facor Y = α N Y (, ) = F K N Diminishing marginal produciviy of capial and labor: (, ) F K L F K 2 ( K, L) K 2 (, ) F K L F L 2 ( K, L) L 2

More information

OBJECTIVES OF TIME SERIES ANALYSIS

OBJECTIVES OF TIME SERIES ANALYSIS OBJECTIVES OF TIME SERIES ANALYSIS Undersanding he dynamic or imedependen srucure of he observaions of a single series (univariae analysis) Forecasing of fuure observaions Asceraining he leading, lagging

More information

CHAPTER 2 Signals And Spectra

CHAPTER 2 Signals And Spectra CHAPER Signals And Specra Properies of Signals and Noise In communicaion sysems he received waveform is usually caegorized ino he desired par conaining he informaion, and he undesired par. he desired par

More information

On Boundedness of Q-Learning Iterates for Stochastic Shortest Path Problems

On Boundedness of Q-Learning Iterates for Stochastic Shortest Path Problems MATHEMATICS OF OPERATIONS RESEARCH Vol. 38, No. 2, May 2013, pp. 209 227 ISSN 0364-765X (prin) ISSN 1526-5471 (online) hp://dx.doi.org/10.1287/moor.1120.0562 2013 INFORMS On Boundedness of Q-Learning Ieraes

More information

3.1 More on model selection

3.1 More on model selection 3. More on Model selecion 3. Comparing models AIC, BIC, Adjused R squared. 3. Over Fiing problem. 3.3 Sample spliing. 3. More on model selecion crieria Ofen afer model fiing you are lef wih a handful of

More information

SOLUTIONS TO ECE 3084

SOLUTIONS TO ECE 3084 SOLUTIONS TO ECE 384 PROBLEM 2.. For each sysem below, specify wheher or no i is: (i) memoryless; (ii) causal; (iii) inverible; (iv) linear; (v) ime invarian; Explain your reasoning. If he propery is no

More information

1 Consumption and Risky Assets

1 Consumption and Risky Assets Soluions o Problem Se 8 Econ 0A - nd Half - Fall 011 Prof David Romer, GSI: Vicoria Vanasco 1 Consumpion and Risky Asses Consumer's lifeime uiliy: U = u(c 1 )+E[u(c )] Income: Y 1 = Ȳ cerain and Y F (

More information

Guest Lectures for Dr. MacFarlane s EE3350 Part Deux

Guest Lectures for Dr. MacFarlane s EE3350 Part Deux Gues Lecures for Dr. MacFarlane s EE3350 Par Deux Michael Plane Mon., 08-30-2010 Wrie name in corner. Poin ou his is a review, so I will go faser. Remind hem o go lisen o online lecure abou geing an A

More information

5. Stochastic processes (1)

5. Stochastic processes (1) Lec05.pp S-38.45 - Inroducion o Teleraffic Theory Spring 2005 Conens Basic conceps Poisson process 2 Sochasic processes () Consider some quaniy in a eleraffic (or any) sysem I ypically evolves in ime randomly

More information

STATE-SPACE MODELLING. A mass balance across the tank gives:

STATE-SPACE MODELLING. A mass balance across the tank gives: B. Lennox and N.F. Thornhill, 9, Sae Space Modelling, IChemE Process Managemen and Conrol Subjec Group Newsleer STE-SPACE MODELLING Inroducion: Over he pas decade or so here has been an ever increasing

More information

Challenge Problems. DIS 203 and 210. March 6, (e 2) k. k(k + 2). k=1. f(x) = k(k + 2) = 1 x k

Challenge Problems. DIS 203 and 210. March 6, (e 2) k. k(k + 2). k=1. f(x) = k(k + 2) = 1 x k Challenge Problems DIS 03 and 0 March 6, 05 Choose one of he following problems, and work on i in your group. Your goal is o convince me ha your answer is correc. Even if your answer isn compleely correc,

More information

Econ107 Applied Econometrics Topic 7: Multicollinearity (Studenmund, Chapter 8)

Econ107 Applied Econometrics Topic 7: Multicollinearity (Studenmund, Chapter 8) I. Definiions and Problems A. Perfec Mulicollineariy Econ7 Applied Economerics Topic 7: Mulicollineariy (Sudenmund, Chaper 8) Definiion: Perfec mulicollineariy exiss in a following K-variable regression

More information

Lecture 4 Notes (Little s Theorem)

Lecture 4 Notes (Little s Theorem) Lecure 4 Noes (Lile s Theorem) This lecure concerns one of he mos imporan (and simples) heorems in Queuing Theory, Lile s Theorem. More informaion can be found in he course book, Bersekas & Gallagher,

More information

HOMEWORK # 2: MATH 211, SPRING Note: This is the last solution set where I will describe the MATLAB I used to make my pictures.

HOMEWORK # 2: MATH 211, SPRING Note: This is the last solution set where I will describe the MATLAB I used to make my pictures. HOMEWORK # 2: MATH 2, SPRING 25 TJ HITCHMAN Noe: This is he las soluion se where I will describe he MATLAB I used o make my picures.. Exercises from he ex.. Chaper 2.. Problem 6. We are o show ha y() =

More information