<p>You iterate towards a fixed point, so you want to reach a situation where plugging in your current iterated value produces itself. Now using your notation, we are told that we should calculate</p>

<p>$$V_{n+1}(a) = V_n(a) + \Delta$$</p>

<p>where</p>

<p>$$\Delta = \ u(c(a^*)) + \dfrac{\partial V_n(a)}{\partial a}da_t(a^*) - \rho V_n(a)$$</p>

<p>Insert the second into the first to see what the iteration rule is:</p>

<p>$$V_{n+1}(a) = V_n(a) + \ u(c(a^*)) + \dfrac{\partial V_n(a)}{\partial a}da_t(a^*) - \rho V_n(a)$$</p>

<p>When you reach a point where</p>

<p>$$V_{n+1}(a) = V_n(a) $$</p>

<p>(or $\epsilon$-so)</p>

<p>It will mean</p>

<p>$$\rho V_n(a)= \ u(c(a^*)) + \dfrac{\partial V_n(a)}{\partial a}da_t(a^*) $$</p>

<p>which is what you have to satisfy.</p>

<p>Some stars etc may have to be adjusted in the above, for a fully consistent notation.</p>

CC BY-SA 3.0
2016-04-21T16:36:59.677Z
2016-04-21T16:36:59.677Z
Alecos Papadopoulos
<p>When solving (numerically, by value function iteration) a dynamic programming problem in discrete time, such as</p>

<p>$$V_1(a) = \max_{c} \ u(c) + \dfrac{1}{1+\rho}V_0(a')$$</p>

<p>we maximize with respect to the control variable and get a first order condition that we then plug back into the functional equation shown above. The result of this step, $V(a)_1$, will then be used on the RHS of a second iteration</p>

<p>$$V_2(a) = \max_{c} \ u(c) + \dfrac{1}{1+\rho}V_1(a')$$</p>

<p>and we repeat this process until $V(a)_n-V(a)_{n+1}&lt;\epsilon$.</p>

<p>My question is how does the update of the value function work in continuous time?  I have been working on a paper that uses continuous time dynamic programming, so the Bellman equation looks as follows</p>

<p>$$\rho V_n(a) = \max_{c} \ u(c) + \dfrac{\partial V_n(a)}{\partial a}da_t \quad (*)$$</p>

<p>where the transition equation is represented by $da_t$. From what I have seen, the update of the value function is done by calculating $\Delta$:</p>

<p>$$ \Delta = \ u(c(a^*)) + \dfrac{\partial V_n(a)}{\partial a}da_t(a^*) - \rho V_n(a)$$</p>

<p>where $u(c(a^*))$ and $da_t(a^*)$ represent the control and transition equation as functions of the optimal policy. That is, we maximize the RHS as in the previous example (the discrete time case), but then we subtract $\rho V(a)$ from both sides. Then updating the value function is done as follows:</p>

<p>$$V_{n+1}(a) = V_n(a) + \Delta$$</p>

<p>How can this be so? I would have thought that I would just use the maximised RHS of (*) and plug back in a new iteration. How come the other method is the correct one?</p>

CC BY-SA 3.0
2016-04-21T02:08:05.343Z
Are you asking how this problem is solved numerically? Your notation is confusing and it's difficult to tell what you're asking.
NickJ
CC BY-SA 3.0
2016-04-21T02:22:37.257Z
Hi Nick, yes I am asking how it is solved numerically. Value function iteration usually maxes the RHS of the functional equation, obtains a policy rule from the FOC and then plugs it back in on the RHS. This step is done over and over until the value function converges. This is different from the method shown in the last equation, you may see that the value function iteration is done differently: we still maximize the RHS but then use the additive method where we add delta to the value function I started with.
Sophie
CC BY-SA 3.0
2016-04-21T13:14:48.977Z
Usually (always?) when doing value function iteration, we discretize the state space and maximize numerically, no first order conditions are taken.

Can I re-phrase your question as the following? "I know how to use value function iteration to find a numerical approximation to the Bellman equation for a discrete time dynamic programming problem, but how do I numerically approximate the solution when time is continuous?"
NickJ
CC BY-SA 3.0
2016-04-22T10:55:29.003Z
Check out Ben Moll's stuff. Very transparent with codes also. http://www.princeton.edu/~moll/HACTproject/HACT_Additional_Codes.pdf
clueless
<dynamic-programming><continuous-time><dynamic-optimization><bellman-equations>
Update of value function in continuous time - HJB
Sophie
# Update of value function in continuous time - HJB

(Asked by: username_0 on 2016-04-21)

When solving (numerically, by value function iteration) a dynamic programming problem in discrete time, such as

$$V\_1(a) = \max\_{c} \ u(c) + \dfrac{1}{1+\rho}V\_0(a')$$

we maximize with respect to the control variable and get a first order condition that we then plug back into the functional equation shown above. The result of this step, $V(a)\_1$, will then be used on the RHS of a second iteration

$$V\_2(a) = \max\_{c} \ u(c) + \dfrac{1}{1+\rho}V\_1(a')$$

and we repeat this process until $V(a)\_n-V(a)\_{n+1}<\epsilon$.

My question is how does the update of the value function work in continuous time? I have been working on a paper that uses continuous time dynamic programming, so the Bellman equation looks as follows

$$\rho V\_n(a) = \max\_{c} \ u(c) + \dfrac{\partial V\_n(a)}{\partial a}da\_t \quad (\*)$$

where the transition equation is represented by $da\_t$. From what I have seen, the update of the value function is done by calculating $\Delta$:

$$ \Delta = \ u(c(a^\*)) + \dfrac{\partial V\_n(a)}{\partial a}da\_t(a^\*) - \rho V\_n(a)$$

where $u(c(a^\*))$ and $da\_t(a^\*)$ represent the control and transition equation as functions of the optimal policy. That is, we maximize the RHS as in the previous example (the discrete time case), but then we subtract $\rho V(a)$ from both sides. Then updating the value function is done as follows:

$$V\_{n+1}(a) = V\_n(a) + \Delta$$

How can this be so? I would have thought that I would just use the maximised RHS of (\*) and plug back in a new iteration. How come the other method is the correct one?

**Tags:** dynamic-programming, continuous-time, dynamic-optimization, bellman-equations
> **Comments:**
> **username_1**: Are you asking how this problem is solved numerically? Your notation is confusing and it's difficult to tell what you're asking.  
> **username_0**: Hi Nick, yes I am asking how it is solved numerically. Value function iteration usually maxes the RHS of the functional equation, obtains a policy rule from the FOC and then plugs it back in on the RHS. This step is done over and over until the value function converges. This is different from the method shown in the last equation, you may see that the value function iteration is done differently: we still maximize the RHS but then use the additive method where we add delta to the value function I started with.  
> **username_1**: Usually (always?) when doing value function iteration, we discretize the state space and maximize numerically, no first order conditions are taken.  Can I re-phrase your question as the following? "I know how to use value function iteration to find a numerical approximation to the Bellman equation for a discrete time dynamic programming problem, but how do I numerically approximate the solution when time is continuous?"  
> **username_2**: Check out Ben Moll's stuff. Very transparent with codes also. http://www.princeton.edu/~moll/HACTproject/HACT_Additional_Codes.pdf  

---

## 1 answers

### Answer by username_3 on 2016-04-21. Score: 2 | Accepted answer

You iterate towards a fixed point, so you want to reach a situation where plugging in your current iterated value produces itself. Now using your notation, we are told that we should calculate

$$V\_{n+1}(a) = V\_n(a) + \Delta$$

where

$$\Delta = \ u(c(a^\*)) + \dfrac{\partial V\_n(a)}{\partial a}da\_t(a^\*) - \rho V\_n(a)$$

Insert the second into the first to see what the iteration rule is:

$$V\_{n+1}(a) = V\_n(a) + \ u(c(a^\*)) + \dfrac{\partial V\_n(a)}{\partial a}da\_t(a^\*) - \rho V\_n(a)$$

When you reach a point where

$$V\_{n+1}(a) = V\_n(a) $$

(or $\epsilon$-so)

It will mean

$$\rho V\_n(a)= \ u(c(a^\*)) + \dfrac{\partial V\_n(a)}{\partial a}da\_t(a^\*) $$

which is what you have to satisfy.

Some stars etc may have to be adjusted in the above, for a fully consistent notation.


---

