<p>As for your first question, we are not just assuming $\partial U/\partial B &gt; 0$. We simply assume monotonicity of preferences, which for the model here is a plausible condition. In simple terms this means that "more is better". Hence, the consumer will always choose to spend all of his budget for current or future consumption, given by $C$ and $B$ respectively. Hence, the constraint holds with equality. In these types of models we pretty much always assume equality of the budget constraint.</p>

<p>As for your second question, solving without expectations and then taking the expectation is strictly speaking incorrect. It will give you the correct result here though. What you can do here is to take the derivative in the expectation. For these models that usually works in the non-stochastic setting as here. If you have for example stochastic income with log-normal distributions you would have to be more careful. What you can do then, depending on the case, is solve the expectation before taking the derivative or use the Leibniz Rule.</p>

<p>Hence for your problem you don't forget the expectation in the first place, which corresponds to $\partial U / \partial C_{t+1}$. Instead for your model you can take $\partial E_0[U] / \partial C_{t+1} = E_0[\partial U / \partial C_{t+1}]$. As you can see, it will yield the same result as simply taking the expectation later on $\partial U / \partial C_{t+1}$. However, that is the wrong way and you'll probably lose points in an exam if you write it down that way.</p>

CC BY-SA 3.0
2017-05-17T17:12:45.113Z
But by definition in monotonic preferences more of all goods are prefered. That implies $\partial U/\partial B_t >0$ which reads more of $B_t$ would be prefered.
Iván
CC BY-SA 3.0
2017-05-17T17:34:54.960Z
Yes, but that is not sufficient as it leaves out C in the current period to have a positive derivative, which you also need.
BB King
CC BY-SA 3.0
2017-05-17T18:18:04.963Z
Thanks @BB King, in fact that is stipulated in Gali's book, sorry I didn't mention it. But I still have more doubts about derivative and expectation. I edited my question could you please check it?
Iván
CC BY-SA 3.0
2017-05-18T10:17:17.130Z
1. Forgetting the expectation is just fine to explain how to solve it, but is still technically incorrect, although it is not a big problem for these cases.
2. You're not supposed to get rid of the expectation and cannot take the expectation of the whole fraction. Correct would be one expectation term for each U'. That yields the correct Euler equation (expectations on both sides is correct)
3. When writing the Euler equation for t and t+1 we can substitute $E_0$ and $E_t$. This is because we optimize in time t so no need to build expectations for anything before (i.e. t=0) as its known.
BB King
CC BY-SA 3.0
2017-05-17T10:22:06.220Z
2017-05-18T10:19:09.153Z
2017-05-18T10:19:09.153Z
BB King
<p>In Gali chapter 2 we have the following constraint to the classical monetary model</p>

<p>$P_t C_t + Q_t B_t \leq B_{t-1} + W_t N_t-T_t$. </p>

<p>Then it seems that this is treated as an equality. Therefore my question is: are we assumig that $\partial U/\partial B_t &gt;0$? So households would achieve the optimun at the equality.</p>

<p>Another question is, in general if I have the problem</p>

<p>$Max E_0 \sum_{t=0}^{\infty}\beta^t U(C_t,N_t)$</p>

<p>Should I solve the OP</p>

<p>$Max \sum_{t=0}^{\infty}\beta^t U(C_t,N_t)$</p>

<p>And then take expectation to the relations I obtain by optimizing?. For example if we add the constraint </p>

<p>$P_t C_t + Q_t B_t \leq B_{t-1} + W_t N_t-T_t$ to the OPs, in the problem without expectation I get $Q_t=\beta \frac{\partial U/\partial C_{t+1}}{\partial U/\partial C_{t}} \frac{P_t}{P_{t+1}}$ and taking $E_t$ I obtain Euler's equation. Is the procedure of solving the problem without expectation and then take expectation correct? </p>

<p><strong>EDIT:</strong>
If it is incorrect to forget the expectation and optimize, then I am confused about this: <a href="https://economics.stackexchange.com/questions/9559/how-to-relate-real-rate-of-return-on-capital-to-bond-interest-rate-lagrangian">How to relate real rate of return on capital to bond interest rate: Lagrangian</a>
. As there the procedure to solve the problem seems to forget the expectation. </p>

<p>Second,
if I do $\frac{\partial }{\partial C_t}E[U]=E\left[\frac{\partial U}{\partial C_t}\right]$. I obtain $Q_t=\beta\frac{ E_0\left[\partial U/\partial C_{t+1} \right]}{E_0\left[\partial U/\partial C_{t} \right]}\frac{P_t}{P_{t+1}}$ because I can not get rid off $E_0$. Nevertheless this would be equivalent to $Q_t=\beta E_0 \left[\frac{\partial U/\partial C_{t+1} }{\partial U/\partial C_{t} }\right]\frac{P_t}{P_{t+1}}$ if $E_0 \left[ \frac{\partial U/\partial C_{t+1} }{\partial U/\partial C_{t} }\right]=\frac{ E_0\left[\partial U/\partial C_{t+1} \right]}{E_0\left[\partial U/\partial C_{t} \right]}$. Is this because $C_t$ is independent of $C_{t+1}$?.</p>

<p>Third, I realized that if I solve $Max \sum_{t=0}^{\infty}\beta^t E_tU(C_t,N_t)$ s.t the constraint as before and proceed with $\frac{\partial }{\partial C_t}E[U]=E\left[\frac{\partial U}{\partial C_t}\right]$ I obtain the correct Euler's equation. Is this the correct problem to optimize? but what about Gali's propose?</p>

<macroeconomics><profit-maximization>
Expectations in Gali's classical monetary model
Iván
# Expectations in Gali's classical monetary model

(Asked by: username_0 on 2017-05-16)

In Gali chapter 2 we have the following constraint to the classical monetary model

$P\_t C\_t + Q\_t B\_t \leq B\_{t-1} + W\_t N\_t-T\_t$.

Then it seems that this is treated as an equality. Therefore my question is: are we assumig that $\partial U/\partial B\_t >0$? So households would achieve the optimun at the equality.

Another question is, in general if I have the problem

$Max E\_0 \sum\_{t=0}^{\infty}\beta^t U(C\_t,N\_t)$

Should I solve the OP

$Max \sum\_{t=0}^{\infty}\beta^t U(C\_t,N\_t)$

And then take expectation to the relations I obtain by optimizing?. For example if we add the constraint

$P\_t C\_t + Q\_t B\_t \leq B\_{t-1} + W\_t N\_t-T\_t$ to the OPs, in the problem without expectation I get $Q\_t=\beta \frac{\partial U/\partial C\_{t+1}}{\partial U/\partial C\_{t}} \frac{P\_t}{P\_{t+1}}$ and taking $E\_t$ I obtain Euler's equation. Is the procedure of solving the problem without expectation and then take expectation correct?

**EDIT:**
If it is incorrect to forget the expectation and optimize, then I am confused about this: [How to relate real rate of return on capital to bond interest rate: Lagrangian](https://economics.stackexchange.com/questions/9559/how-to-relate-real-rate-of-return-on-capital-to-bond-interest-rate-lagrangian)
. As there the procedure to solve the problem seems to forget the expectation.

Second,
if I do $\frac{\partial }{\partial C\_t}E[U]=E\left[\frac{\partial U}{\partial C\_t}\right]$. I obtain $Q\_t=\beta\frac{ E\_0\left[\partial U/\partial C\_{t+1} \right]}{E\_0\left[\partial U/\partial C\_{t} \right]}\frac{P\_t}{P\_{t+1}}$ because I can not get rid off $E\_0$. Nevertheless this would be equivalent to $Q\_t=\beta E\_0 \left[\frac{\partial U/\partial C\_{t+1} }{\partial U/\partial C\_{t} }\right]\frac{P\_t}{P\_{t+1}}$ if $E\_0 \left[ \frac{\partial U/\partial C\_{t+1} }{\partial U/\partial C\_{t} }\right]=\frac{ E\_0\left[\partial U/\partial C\_{t+1} \right]}{E\_0\left[\partial U/\partial C\_{t} \right]}$. Is this because $C\_t$ is independent of $C\_{t+1}$?.

Third, I realized that if I solve $Max \sum\_{t=0}^{\infty}\beta^t E\_tU(C\_t,N\_t)$ s.t the constraint as before and proceed with $\frac{\partial }{\partial C\_t}E[U]=E\left[\frac{\partial U}{\partial C\_t}\right]$ I obtain the correct Euler's equation. Is this the correct problem to optimize? but what about Gali's propose?

**Tags:** macroeconomics, profit-maximization

---

## 1 answers

### Answer by username_1 on 2017-05-17. Score: 3

As for your first question, we are not just assuming $\partial U/\partial B > 0$. We simply assume monotonicity of preferences, which for the model here is a plausible condition. In simple terms this means that "more is better". Hence, the consumer will always choose to spend all of his budget for current or future consumption, given by $C$ and $B$ respectively. Hence, the constraint holds with equality. In these types of models we pretty much always assume equality of the budget constraint.

As for your second question, solving without expectations and then taking the expectation is strictly speaking incorrect. It will give you the correct result here though. What you can do here is to take the derivative in the expectation. For these models that usually works in the non-stochastic setting as here. If you have for example stochastic income with log-normal distributions you would have to be more careful. What you can do then, depending on the case, is solve the expectation before taking the derivative or use the Leibniz Rule.

Hence for your problem you don't forget the expectation in the first place, which corresponds to $\partial U / \partial C\_{t+1}$. Instead for your model you can take $\partial E\_0[U] / \partial C\_{t+1} = E\_0[\partial U / \partial C\_{t+1}]$. As you can see, it will yield the same result as simply taking the expectation later on $\partial U / \partial C\_{t+1}$. However, that is the wrong way and you'll probably lose points in an exam if you write it down that way.

> **Comments:**
> **username_0**: But by definition in monotonic preferences more of all goods are prefered. That implies $\partial U/\partial B_t >0$ which reads more of $B_t$ would be prefered.  
> **username_1**: Yes, but that is not sufficient as it leaves out C in the current period to have a positive derivative, which you also need.  
> **username_0**: Thanks @BB King, in fact that is stipulated in Gali's book, sorry I didn't mention it. But I still have more doubts about derivative and expectation. I edited my question could you please check it?  
> **username_1**: 1. Forgetting the expectation is just fine to explain how to solve it, but is still technically incorrect, although it is not a big problem for these cases. 2. You're not supposed to get rid of the expectation and cannot take the expectation of the whole fraction. Correct would be one expectation term for each U'. That yields the correct Euler equation (expectations on both sides is correct) 3. When writing the Euler equation for t and t+1 we can substitute $E_0$ and $E_t$. This is because we optimize in time t so no need to build expectations for anything before (i.e. t=0) as its known.  

---

