<p>This is quite a loaded question you asked here. I answered it in a few parts: first I introduce you to the idea of Robinson's economy, then I add a company to the equation (as you also asked about the wages <span class="math-container">$w$</span>). I am about to show you how to write this problem (and how to solve it) from consumer's alone, and then from both, firm's and consumer's points of view. It would be cooler if you had a production function given explicitly but it is still interesting.</p>

<p>So, it looks like a <strong>Robinson Crusoe's economy</strong> (the guy was stranded on an island, so he is an economy unto himself): Robinson has preferences over consumption and leisure and can produce consumption goods by using labor (and capital but you did not mention it so we can skip it).</p>

<h2>Consumer Crusoe</h2>

<p>In order to get how Crusoe makes optimal choice for labor, leisure, and consumption, we will examine both, production side and his preferences. I assume your hours (<span class="math-container">$h$</span>) is hours a day he worked, so it is his labor.</p>

<ol>
<li><strong>Production</strong></li>
</ol>

<p>So again, usually we say that Crusoe uses the factors of production in order to produce output <span class="math-container">$y$</span>. In your example, we have only one factor of production - that is?</p>

<blockquote class="spoiler">
  <p> labor</p>
</blockquote>

<p>We will also omit the rate of technology change <span class="math-container">$A$</span> as you did not mention it in your question. Therefore, the production function only by <span class="math-container">$y=f(h)$</span>. The typical assumptions people make are that <span class="math-container">$f$</span> is increasing in labor, so that the more you work, the more output you will produce and that <span class="math-container">$f(0)=0$</span>, so when you do not work at all, there is no output at all. You probably are also aware that the marginal product of labor is the additional output that results from increasing labor. And just as a reminder - <span class="math-container">$MPL = \frac{dy}{dh}=f'(h)$</span>, hence the marginal product of labor is actually the slope of the production function.</p>

<ol start="2">
<li><strong>Preferences</strong></li>
</ol>

<p>Crusoe (just as you and me) likes to have some free time and consume things, so he cares about his consumption <span class="math-container">$c$</span> and his leisure <span class="math-container">$24-h$</span>. You have represented his preferences with a utility function <span class="math-container">$u(c,h)$</span> but <span class="math-container">$h$</span> is the time he spends on working and he does not like it that much. He prefers leisure over labor, or so we assume. The reason why I am mentioning it is to show you that Robinson actually cares about maximizing his leisure time <span class="math-container">$24-h$</span>! Here come the usual assumptions about the preferences, they increase with his consumption and leisure time and are convex. We are having easier job, as his utility function was given to us: <span class="math-container">$u(c,h) = c + \sqrt{24-h}$</span> <strong>BUT</strong> when you draw them you can see that they are in fact increasing when you move along the curve to the right (they are increasing with labor <span class="math-container">$h$</span>). This is the part where it gets tricky - if you drew them with leisure <span class="math-container">$24-h$</span> on the horizontal axis, you'd get the proper utility function as you have probably seen before (or can see under "<strong>quasi-linear preferences</strong>" here: <a href="https://economics.stackexchange.com/questions/32140/identifying-utility-function/32165#32165">Identifying utility function</a> ).</p>

<p><a href="https://i.sstatic.net/Ip8oO.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Ip8oO.jpg" alt="enter image description here"></a></p>

<ol start="3">
<li><strong>What choice does Crusoe make?</strong></li>
</ol>

<p>When we put everything together, we get that the problem is actually something like that: <span class="math-container">$$\max_{c,h} u(c,h) \;\; \mathrm{s.t.} \;\; c \leq y \;\; \mathrm{and} \;\; y=f(h)$$</span> This basically means that: Robinson is trying to maximize his utility choosing the level of consumption <span class="math-container">$c$</span> and labor <span class="math-container">$h$</span>, Robinson cannot consume more than he produces and the very last bit is the production technology he is in possession of. Now, remember that we assume that Robinson is utility maximizer. What does that imply?</p>

<blockquote class="spoiler">
  <p> <span class="math-container">$c=y$</span> and therefore, <span class="math-container">$c=f(h)$</span></p>
</blockquote>

<p>Hence, we can write the problem as: <span class="math-container">$$\max_{c,h} u(c,h) \;\; \mathrm{s.t.} \;\; c=f(h)$$</span> Which is the utility maximization problem for this consumer. There are two ways to solve it: Lagrange multipliers or simply constraint substitution into the objective. After you substitute, you'd take first order condition and get something like <span class="math-container">$$\frac{du(f(h^*),h^*)}{dh}= u_1(f(h^*),h^*)f'(h^*) +u_2(f(h^*),h^*)$$</span> where <span class="math-container">$h^*$</span> is Crusoe's optimal choice of how much hours to work. But you are not given a true production function, so we will not get any further from here.</p>

<h2>Company Crusoe Inc.</h2>

<p>Now we claim that Robinson on an island owns a company which has only one employee - Robinson himself! and that all the profit the company makes goes to one and only - Robinson! As you mentioned, we normalize the price of the good to <span class="math-container">$1$</span> so that it becomes the only medium of exchange in this funny looking economy. Let us assume that the output produced by the Crusoe Inc. is given by <span class="math-container">$y$</span> (but we already know that <span class="math-container">$y=f(h)=c$</span>). Hence, the profit the firm makes is given by: <span class="math-container">$\pi = c - wh$</span>, so that the equation of isoprofit line is given by <span class="math-container">$c=\pi + wh$</span>.</p>

<p>Now since we assume that Crusoe Inc. is a profit maximizing firm, it solves <span class="math-container">$$\max_{c,h} \pi(c,h) = c -wh$$</span> to do so we substitute <span class="math-container">$c=f(h)$</span>, so that the problem becomes: <span class="math-container">$$\max_{h} \pi(h) = f(h)-wh$$</span></p>

<p>It wants to produce where the isoprofit slope is equal to the production function slope, i.e. <span class="math-container">$MPL = f'(h) = w$</span>. So the maximized profit for the firm is <span class="math-container">$\pi^* = c^* - wh^*$</span> if you had a production function given. </p>

<p>Given <span class="math-container">$\pi^*$</span> the consumer wishes to maximize his utility. His budget constraint is given by <span class="math-container">$c = \pi^* + wh$</span>. Note that the budget constraint slope is also <span class="math-container">$w$</span>! The slope of utility function for utility to be maximized must therefore be equal to the slope of budget constraint, hence <span class="math-container">$MRS=w$</span>. To see it mathematically, we solve <span class="math-container">$$\max_{c,h} u(c,h)$$</span> given the constraint. We substitute <span class="math-container">$c = \pi^* + wh$</span> to the problem and get <span class="math-container">$$\max_{h} u(h) = \pi^* +wh + \sqrt{24-h}$$</span> Then you take the first order condition and should get the utility maximizing labor supply and consumption demand. </p>

<h2>Note</h2>

<p>The important thing is that if you had a proper production function given, and you maximized the Robinson's utility directly (first part of my answer) and then maximized first company's profit and then Robinson's utility (second part of my answer) you should get the same results! </p>

CC BY-SA 4.0
2019-10-16T20:36:03.863Z
And also note that the "non labor" income in my answer is just $\pi$, that is the profit firm makes paid to Robinson as dividends (or something).
bajun65537
CC BY-SA 4.0
2019-10-16T19:35:57.043Z
2019-10-16T20:27:49.023Z
2019-10-16T20:27:49.023Z
bajun65537
<p>Utility maximization problem in the question is:</p>

<p><span class="math-container">\begin{eqnarray*} \max_{c, h} \ &amp; c + \sqrt{24-h} \\ \text{s.t. } &amp; c = wh + y  \\ &amp; 0 \leq h \leq 24 \end{eqnarray*}</span></p>

<p>We can rewrite the above problem as:</p>

<p><span class="math-container">\begin{eqnarray*} \max_{0 \leq h \leq 24} \ &amp; wh + y + \sqrt{24-h}  \end{eqnarray*}</span></p>

<p>Taking the derivative of the objective with respect to <span class="math-container">$h$</span>, we get labor supply as :</p>

<p><span class="math-container">\begin{eqnarray*} h(w) = \begin{cases} 0 &amp; \text{if } w \leq \frac{1}{2\sqrt{24}} \\ 24 - \frac{1}{4w^2} &amp; \text{if } w &gt; \frac{1}{2\sqrt{24}}\end{cases}  \end{eqnarray*}</span> </p>

<p>Consequently, consumption is</p>

<p><span class="math-container">\begin{eqnarray*} c(w, y) = \begin{cases} y &amp; \text{if } w \leq \frac{1}{2\sqrt{24}} \\ 24w - \frac{1}{4w} + y &amp; \text{if } w &gt; \frac{1}{2\sqrt{24}}\end{cases}  \end{eqnarray*}</span> </p>

CC BY-SA 4.0
2019-10-17T00:46:40.860Z
2019-10-17T01:12:13.960Z
2019-10-17T01:12:13.960Z
Amit
<p>A consumer is deciding about her hours (<span class="math-container">$h$</span>) and consumption (<span class="math-container">$c$</span>), her preference over bundles of work and consumption are as follows:
<span class="math-container">$U(c,h)= c + \sqrt{24-h}$</span></p>

<p>The consumer would get an hourly wage of <span class="math-container">$w$</span> and the price of consumption is normalized to <span class="math-container">$1$</span>. In addition to her wage income the consumer also receives a non labor income equal to <span class="math-container">$y$</span>.
So I want to know how can I write the utility maximization problem for this consumer and how can I solve this problem, 
I can't plot this function eather.</p>

<utility><profit-maximization><labor-cost>
Utility function_maximazation
Amirhamze
# Utility function_maximazation

(Asked by: username_0 on 2019-10-16)

A consumer is deciding about her hours ($h$) and consumption ($c$), her preference over bundles of work and consumption are as follows:
$U(c,h)= c + \sqrt{24-h}$

The consumer would get an hourly wage of $w$ and the price of consumption is normalized to $1$. In addition to her wage income the consumer also receives a non labor income equal to $y$.
So I want to know how can I write the utility maximization problem for this consumer and how can I solve this problem,
I can't plot this function eather.

**Tags:** utility, profit-maximization, labor-cost


---

## 2 answers

### Answer by username_1 on 2019-10-16. Score: 3

This is quite a loaded question you asked here. I answered it in a few parts: first I introduce you to the idea of Robinson's economy, then I add a company to the equation (as you also asked about the wages $w$). I am about to show you how to write this problem (and how to solve it) from consumer's alone, and then from both, firm's and consumer's points of view. It would be cooler if you had a production function given explicitly but it is still interesting.

So, it looks like a **Robinson Crusoe's economy** (the guy was stranded on an island, so he is an economy unto himself): Robinson has preferences over consumption and leisure and can produce consumption goods by using labor (and capital but you did not mention it so we can skip it).

## Consumer Crusoe

In order to get how Crusoe makes optimal choice for labor, leisure, and consumption, we will examine both, production side and his preferences. I assume your hours ($h$) is hours a day he worked, so it is his labor.

1. **Production**

So again, usually we say that Crusoe uses the factors of production in order to produce output $y$. In your example, we have only one factor of production - that is?

> labor

We will also omit the rate of technology change $A$ as you did not mention it in your question. Therefore, the production function only by $y=f(h)$. The typical assumptions people make are that $f$ is increasing in labor, so that the more you work, the more output you will produce and that $f(0)=0$, so when you do not work at all, there is no output at all. You probably are also aware that the marginal product of labor is the additional output that results from increasing labor. And just as a reminder - $MPL = \frac{dy}{dh}=f'(h)$, hence the marginal product of labor is actually the slope of the production function.

2. **Preferences**

Crusoe (just as you and me) likes to have some free time and consume things, so he cares about his consumption $c$ and his leisure $24-h$. You have represented his preferences with a utility function $u(c,h)$ but $h$ is the time he spends on working and he does not like it that much. He prefers leisure over labor, or so we assume. The reason why I am mentioning it is to show you that Robinson actually cares about maximizing his leisure time $24-h$! Here come the usual assumptions about the preferences, they increase with his consumption and leisure time and are convex. We are having easier job, as his utility function was given to us: $u(c,h) = c + \sqrt{24-h}$ **BUT** when you draw them you can see that they are in fact increasing when you move along the curve to the right (they are increasing with labor $h$). This is the part where it gets tricky - if you drew them with leisure $24-h$ on the horizontal axis, you'd get the proper utility function as you have probably seen before (or can see under "**quasi-linear preferences**" here: [Identifying utility function](https://economics.stackexchange.com/questions/32140/identifying-utility-function/32165#32165) ).

[![enter image description here](https://i.sstatic.net/Ip8oO.jpg)](https://i.sstatic.net/Ip8oO.jpg)

3. **What choice does Crusoe make?**

When we put everything together, we get that the problem is actually something like that: $$\max\_{c,h} u(c,h) \;\; \mathrm{s.t.} \;\; c \leq y \;\; \mathrm{and} \;\; y=f(h)$$ This basically means that: Robinson is trying to maximize his utility choosing the level of consumption $c$ and labor $h$, Robinson cannot consume more than he produces and the very last bit is the production technology he is in possession of. Now, remember that we assume that Robinson is utility maximizer. What does that imply?

> $c=y$ and therefore, $c=f(h)$

Hence, we can write the problem as: $$\max\_{c,h} u(c,h) \;\; \mathrm{s.t.} \;\; c=f(h)$$ Which is the utility maximization problem for this consumer. There are two ways to solve it: Lagrange multipliers or simply constraint substitution into the objective. After you substitute, you'd take first order condition and get something like $$\frac{du(f(h^\*),h^\*)}{dh}= u\_1(f(h^\*),h^\*)f'(h^\*) +u\_2(f(h^\*),h^\*)$$ where $h^\*$ is Crusoe's optimal choice of how much hours to work. But you are not given a true production function, so we will not get any further from here.

## Company Crusoe Inc.

Now we claim that Robinson on an island owns a company which has only one employee - Robinson himself! and that all the profit the company makes goes to one and only - Robinson! As you mentioned, we normalize the price of the good to $1$ so that it becomes the only medium of exchange in this funny looking economy. Let us assume that the output produced by the Crusoe Inc. is given by $y$ (but we already know that $y=f(h)=c$). Hence, the profit the firm makes is given by: $\pi = c - wh$, so that the equation of isoprofit line is given by $c=\pi + wh$.

Now since we assume that Crusoe Inc. is a profit maximizing firm, it solves $$\max\_{c,h} \pi(c,h) = c -wh$$ to do so we substitute $c=f(h)$, so that the problem becomes: $$\max\_{h} \pi(h) = f(h)-wh$$

It wants to produce where the isoprofit slope is equal to the production function slope, i.e. $MPL = f'(h) = w$. So the maximized profit for the firm is $\pi^\* = c^\* - wh^\*$ if you had a production function given.

Given $\pi^\*$ the consumer wishes to maximize his utility. His budget constraint is given by $c = \pi^\* + wh$. Note that the budget constraint slope is also $w$! The slope of utility function for utility to be maximized must therefore be equal to the slope of budget constraint, hence $MRS=w$. To see it mathematically, we solve $$\max\_{c,h} u(c,h)$$ given the constraint. We substitute $c = \pi^\* + wh$ to the problem and get $$\max\_{h} u(h) = \pi^\* +wh + \sqrt{24-h}$$ Then you take the first order condition and should get the utility maximizing labor supply and consumption demand.

## Note

The important thing is that if you had a proper production function given, and you maximized the Robinson's utility directly (first part of my answer) and then maximized first company's profit and then Robinson's utility (second part of my answer) you should get the same results!

> **Comments:**
> **username_1**: And also note that the "non labor" income in my answer is just $\pi$, that is the profit firm makes paid to Robinson as dividends (or something).  

---

### Answer by username_2 on 2019-10-17. Score: 2

Utility maximization problem in the question is:

\begin{eqnarray\*} \max\_{c, h} \ & c + \sqrt{24-h} \\ \text{s.t. } & c = wh + y \\ & 0 \leq h \leq 24 \end{eqnarray\*}

We can rewrite the above problem as:

\begin{eqnarray\*} \max\_{0 \leq h \leq 24} \ & wh + y + \sqrt{24-h} \end{eqnarray\*}

Taking the derivative of the objective with respect to $h$, we get labor supply as :

\begin{eqnarray\*} h(w) = \begin{cases} 0 & \text{if } w \leq \frac{1}{2\sqrt{24}} \\ 24 - \frac{1}{4w^2} & \text{if } w > \frac{1}{2\sqrt{24}}\end{cases} \end{eqnarray\*}

Consequently, consumption is

\begin{eqnarray\*} c(w, y) = \begin{cases} y & \text{if } w \leq \frac{1}{2\sqrt{24}} \\ 24w - \frac{1}{4w} + y & \text{if } w > \frac{1}{2\sqrt{24}}\end{cases} \end{eqnarray\*}


---

