<p>It is simply the chain rule, or you could see it from the total differential. </p>

<p>Let <span class="math-container">$C_1$</span> be consumption today and <span class="math-container">$C_2$</span> be future consumption. </p>

<p>In the second part you have <span class="math-container">$U(C_2 (C_1) )$</span>, i.e. a utility function dependending on <span class="math-container">$C_2$</span>, which is itself (through the budget constraint you used) a function of <span class="math-container">$C_1$</span>. You take the derivative of U with respect to <span class="math-container">$C_1$</span>, which equals:</p>

<p><span class="math-container">$d U/d C_1 = \partial U(C_2)/ \partial C_2 * d C_2 / d C_1$</span>.</p>

<p>The first part is just <span class="math-container">$ \partial U(C_2)/ \partial C_2 = U'(C_2)$</span>.</p>

<p>From what you have written, it seems that you understand that <span class="math-container">$C_2(C_1)=(1 + R)(\bar{X} - C_1)$</span>.</p>

<p>Taking the derivative of that for the second factor in the multiplication above yields the result.</p>

CC BY-SA 4.0
2019-03-25T10:51:44.913Z
Thank you! And thanks in advance for your patience:

Why are we involving partial differentiation if $c_{today}$ is the only variable, after we get it into the form of $U= u(c_{today}) + \beta u[(1 + R)(\bar{X} - c_{today})]$?
Scott
CC BY-SA 4.0
2019-03-25T11:09:22.210Z
Okay! I understand now. The key for me was your expressing of lifetime utility as a function of $C_2$ which is itself a function of $C_1$, and $C_2(C_1) = (1 + R)(\bar{X} - C_1)]$ Given those, the applicability of the chain rule is obvious. Thanks so much.
Scott
CC BY-SA 4.0
2019-03-25T11:17:36.723Z
That's just the easiest way to take these derivatives and answer your question as I see it. This is because the result of the derivative you get again involves $c_{future}$. So you go from $c_{future}$ in U to replacing it with $c_{today}$ to reintroducing $c_{future}$. The easiest way to keep track of all this is to keep in mind that U is a function of both current and future consumption (even if one can be replaced by a function of the other) which involves partial differentiation.
BB King
CC BY-SA 4.0
2019-03-25T10:03:30.113Z
2019-03-26T09:08:59.060Z
2019-03-26T09:08:59.060Z
BB King
<p>With thanks to @bbk and their probably more straightforward answer above, here is how I managed to understand it without partial differentiation. The key was understanding lifetime consumption as a function of a function. </p>

<p>Start with maximum lifetime utility as the sum of two utility functions</p>

<p><span class="math-container">$U_M = u(C_T) + \beta u(C_F)$</span></p>

<p>Then use the intertemporal budget constraint to show that, when we're maximising consumption, future consumption can be expressed as a function of today's consumption</p>

<p><span class="math-container">$C_F(C_T) = (1 + R)(\bar{X} - C_T)$</span></p>

<p>Go back to our original equation and replace <span class="math-container">$C_F$</span> with <span class="math-container">$C_F(C_T)$</span></p>

<p><span class="math-container">$U_M = u(C_T) + \beta u(C_F(C_T))$</span></p>

<p>And when I look at it this way, the application of the chain rule is intuitive.</p>

CC BY-SA 4.0
2019-03-25T11:33:45.633Z
2019-03-26T08:50:41.230Z
2019-03-26T08:50:41.230Z
Scott
<p>I suspect that what I'm actually asking here is just a basic calculus question, which I have overwrought, but I wanted to ask it here to make sure before taking it to SEMaths.</p>

<p>In the Jones Introductory Macroeconomics textbook, he says that we don't really need to know the calculus for HOW Euler's Equation is derived, which is true, but I'm having a hard time moving on without it.</p>

<p>We start with the lifetime utility function:</p>

<p><span class="math-container">$U= u(c_{today}) + \beta u(c_{future})$</span></p>

<p><span class="math-container">$c$</span> is a quantity consumed, <span class="math-container">$u()$</span> is a utility function, <span class="math-container">$\beta$</span> is a ratio parameter to account for impatience. </p>

<p>Then we use the intertemporal budget constraint to express <span class="math-container">$c_{future}$</span> in terms of <span class="math-container">$c_{today}$</span>.</p>

<p><span class="math-container">$U= u(c_{today}) + \beta u[(1 + R)(\bar{X} - c_{today})]$</span></p>

<p><span class="math-container">$R$</span> is real interest rate, <span class="math-container">$\bar{X}$</span> is total lifetime wealth</p>

<p>The next step is the one I don't understand, and probably just comes down to my own poor calculus. We are told to take the derivative of the previous equation with respect to <span class="math-container">$c_{today}$</span> in order to arrive at </p>

<p><span class="math-container">$u'(c_{today}) + \beta u(c_{future})(1+R)(-1)=0$</span> OR
<span class="math-container">$u'(c_{today}) = \beta (1+R)u'(c_{future})$</span></p>

<p>I understand that we've applied the sum rule of differentiation, meaning we take the derivative of <span class="math-container">$u(c_{today})$</span> and <span class="math-container">$\beta u[(1 + R)(\bar{X} - c_{today})]$</span> separately. And since in the context of this problem the utiltiy function is a black box, we just express it as <span class="math-container">$u'(c_{today})$</span>. No problem.</p>

<p>However, when I look at the second part, <span class="math-container">$\beta u[(1 + R)(\bar{X} - c_{today})]$</span>, I do not understand what rule has been applied. It appears to be the chain rule, but if I'm reading it correctly, then <span class="math-container">$(1 + R)(\bar{X} - c_{today})$</span> is the <em>argument</em> of the utility function. The chain rule, as I understand it, would only apply to the <em>value</em> of the function. After performing the differentiation, some values have somehow moved from being arguments of a function to being part of the equation. Considering that, for this exercise, the utility funciton is a black box with an unknown relationship, how are we allowed to apply any of our differentiation rules to the arguments?</p>

<macroeconomics><utility><consumption>
How is the Euler Equation for Consumption derived from from intertemporal budget constraint and lifetime utility function in basic macroeconomics
Scott
# How is the Euler Equation for Consumption derived from from intertemporal budget constraint and lifetime utility function in basic macroeconomics

(Asked by: username_0 on 2019-03-25)

I suspect that what I'm actually asking here is just a basic calculus question, which I have overwrought, but I wanted to ask it here to make sure before taking it to SEMaths.

In the Jones Introductory Macroeconomics textbook, he says that we don't really need to know the calculus for HOW Euler's Equation is derived, which is true, but I'm having a hard time moving on without it.

We start with the lifetime utility function:

$U= u(c\_{today}) + \beta u(c\_{future})$

$c$ is a quantity consumed, $u()$ is a utility function, $\beta$ is a ratio parameter to account for impatience.

Then we use the intertemporal budget constraint to express $c\_{future}$ in terms of $c\_{today}$.

$U= u(c\_{today}) + \beta u[(1 + R)(\bar{X} - c\_{today})]$

$R$ is real interest rate, $\bar{X}$ is total lifetime wealth

The next step is the one I don't understand, and probably just comes down to my own poor calculus. We are told to take the derivative of the previous equation with respect to $c\_{today}$ in order to arrive at

$u'(c\_{today}) + \beta u(c\_{future})(1+R)(-1)=0$ OR
$u'(c\_{today}) = \beta (1+R)u'(c\_{future})$

I understand that we've applied the sum rule of differentiation, meaning we take the derivative of $u(c\_{today})$ and $\beta u[(1 + R)(\bar{X} - c\_{today})]$ separately. And since in the context of this problem the utiltiy function is a black box, we just express it as $u'(c\_{today})$. No problem.

However, when I look at the second part, $\beta u[(1 + R)(\bar{X} - c\_{today})]$, I do not understand what rule has been applied. It appears to be the chain rule, but if I'm reading it correctly, then $(1 + R)(\bar{X} - c\_{today})$ is the *argument* of the utility function. The chain rule, as I understand it, would only apply to the *value* of the function. After performing the differentiation, some values have somehow moved from being arguments of a function to being part of the equation. Considering that, for this exercise, the utility funciton is a black box with an unknown relationship, how are we allowed to apply any of our differentiation rules to the arguments?

**Tags:** macroeconomics, utility, consumption


---

## 2 answers

### Answer by username_1 on 2019-03-25. Score: 0 | Accepted answer

It is simply the chain rule, or you could see it from the total differential.

Let $C\_1$ be consumption today and $C\_2$ be future consumption.

In the second part you have $U(C\_2 (C\_1) )$, i.e. a utility function dependending on $C\_2$, which is itself (through the budget constraint you used) a function of $C\_1$. You take the derivative of U with respect to $C\_1$, which equals:

$d U/d C\_1 = \partial U(C\_2)/ \partial C\_2 \* d C\_2 / d C\_1$.

The first part is just $ \partial U(C\_2)/ \partial C\_2 = U'(C\_2)$.

From what you have written, it seems that you understand that $C\_2(C\_1)=(1 + R)(\bar{X} - C\_1)$.

Taking the derivative of that for the second factor in the multiplication above yields the result.

> **Comments:**
> **username_0**: Thank you! And thanks in advance for your patience:  Why are we involving partial differentiation if $c_{today}$ is the only variable, after we get it into the form of $U= u(c_{today}) + \beta u[(1 + R)(\bar{X} - c_{today})]$?  
> **username_0**: Okay! I understand now. The key for me was your expressing of lifetime utility as a function of $C_2$ which is itself a function of $C_1$, and $C_2(C_1) = (1 + R)(\bar{X} - C_1)]$ Given those, the applicability of the chain rule is obvious. Thanks so much.  
> **username_1**: That's just the easiest way to take these derivatives and answer your question as I see it. This is because the result of the derivative you get again involves $c_{future}$. So you go from $c_{future}$ in U to replacing it with $c_{today}$ to reintroducing $c_{future}$. The easiest way to keep track of all this is to keep in mind that U is a function of both current and future consumption (even if one can be replaced by a function of the other) which involves partial differentiation.  

---

### Answer by username_0 on 2019-03-25. Score: 0

With thanks to @bbk and their probably more straightforward answer above, here is how I managed to understand it without partial differentiation. The key was understanding lifetime consumption as a function of a function.

Start with maximum lifetime utility as the sum of two utility functions

$U\_M = u(C\_T) + \beta u(C\_F)$

Then use the intertemporal budget constraint to show that, when we're maximising consumption, future consumption can be expressed as a function of today's consumption

$C\_F(C\_T) = (1 + R)(\bar{X} - C\_T)$

Go back to our original equation and replace $C\_F$ with $C\_F(C\_T)$

$U\_M = u(C\_T) + \beta u(C\_F(C\_T))$

And when I look at it this way, the application of the chain rule is intuitive.


---

