<p>Note that a function is convex if and only if multiplying that function by -1 yields a concave function.</p>

<p>An example would be a vindictive mother in law, who derives pleasure from her son in law's misery. Let x be outcomes in the poor guy's life, and $u(x)$ be the happiness he gets from x, which is concave. Let $-u(x)$ be the mother in law's utility function. It is convex.</p>

CC BY-SA 3.0
2016-02-21T02:29:58.600Z
More seriously, it can be the case that player A's payoff is exactly negative player B's payoff (e.g. Strict competition), so a convex payoff for either player would mean the other has a concave payoff function.
manofbear
CC BY-SA 3.0
2016-02-21T02:27:48.590Z
2016-02-21T02:27:48.590Z
manofbear
<p>At the level of individuals (and in the differentiable case), the first order derivatives of the demand system are related to the second order derivatives of the utility function. This implies that the second order derivatives of the demand system are related to the third order derivatives of the utility function. \ 
Indeed, from the first order condition for optimality: 
<span class="math-container">$$
\frac{\partial u}{\partial x }(x^F(p,\lambda)) = \lambda p,  \\   
$$</span>
where <span class="math-container">$x^F$</span> denote the Frisch or <span class="math-container">$\lambda$</span>-constant optimal demands. Keeping  <span class="math-container">$\lambda$</span> constant, we see that changes in the price vector <span class="math-container">$p$</span> affects optimal demands as follow: 
<span class="math-container">\begin{eqnarray*}
\frac{\partial^2 u}{\partial x \partial x'}(x^F(p,\lambda))\frac{\partial x^F}{ \partial p'}(p,\lambda) = \lambda I_K \\ 
\Leftrightarrow \frac{\partial x^F}{ \partial p'}(p,\lambda) = \lambda \left[ \frac{\partial^2 u}{\partial x \partial x'}(x^F(p,\lambda))  \right]^{-1}.
\end{eqnarray*}</span>
The last equivalence requires a regular Hessian matrix. This equality illustrates that a concave demand system requires restrictions on the third order derivatives of <span class="math-container">$u$</span>. A similar conclusion holds for the Marshallian demand system <span class="math-container">$x^M(p,m)$</span> (use Roy's identity to show the claim).</p>

CC BY-SA 4.0
2019-09-08T09:54:55.453Z
2019-09-08T09:54:55.453Z
Bertrand
<p>From a mathematical point of view, a function of the form</p>

<p><span class="math-container">$$Q_d = \left( \frac {A-p}{B}\right)^{1/\gamma},\;\; \gamma &gt; 1$$</span></p>

<p>will have a negative second derivative and so it will be strictly concave (for <span class="math-container">$\gamma =1$</span> we get a linear demand function). The function hits the (vertical) <span class="math-container">$p$</span>-axis for <span class="math-container">$(Q_d=0,p=A)$</span>, and the horizontal <span class="math-container">$Q$</span>-axis for <span class="math-container">$(Q_d = (A/B)^{1/\gamma}, p=0$</span>). Namely this is "concave all the way", not just concave in the middle which eventually becomes convex. Typically, we expect  <span class="math-container">$A&gt;B$</span>.</p>

<p>Inverting, we obtain</p>

<p><span class="math-container">$$p=A-BQ_d^{\gamma}$$</span></p>

<p>Let's now go down to the individual level, and assume quasi-linear preferences in income, an appropriate formulation when we look at one good "against all others":</p>

<p><span class="math-container">$$v(q,y) = u(q) + y,\;\;\; s.t. \;\;pq+y = M$$</span></p>

<p>The first-order conditions will give  </p>

<p><span class="math-container">$$u'(q) = \lambda p,\;\;\;\ \lambda =1$$</span></p>

<p>Combining with the inverse demand function we get</p>

<p><span class="math-container">$$u'(q) = A-BQ_d^{\gamma}$$</span></p>

<p>where <span class="math-container">$Q_d = \sum q$</span>.</p>

<p>Integrating we have</p>

<p><span class="math-container">$$\int u'(q) dq = A\int dq - B\int \left (\sum q\right)^{\gamma}dq$$</span></p>

<p>from which we arrive at (setting the arbitrary constants of integration to zero)</p>

<p><span class="math-container">$$u(q) = Aq-\frac{B}{1+\gamma}Q_d^{1+\gamma}$$</span></p>

<p>We obtained this result by assuming that the  individual believes that its own demand does not affect any other individual demand. So we have a <em>negative externality</em>: the more "massive" is a good (the more massively demanded), the less utility we obtain from it (so any individual demand does not affect any other individual demand, but their sum, does affect the individual elements). So such a specification would be appropriate for goods that are not characterized by the "safety of the flock" aspect, but appeal to our quest for individualism and personal uniqueness.</p>

<p>Assume now that we do not want to have this negative externality in the individual utility. Then, we assume that all consumers are identical, and we <em>start</em> with the utility specification,</p>

<p><span class="math-container">$$u(q) =  aq-\frac{b}{1+\gamma}q^{1+\gamma}$$</span></p>

<p>This utility specification does imply that there exists a maximum utility level from the good and then utility declines, so it belongs to the general family of "quadratic" preferences.</p>

<p>Indicatively, for <span class="math-container">$a=100, b=10, \gamma=1.3$</span> we have</p>

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

<p>The indifference map is constructed by calculating</p>

<p><span class="math-container">$$y = \bar v - \left[aq-\frac{b}{1+\gamma}q^{1+\gamma}\right]$$</span></p>

<p>for arbitrary values for <span class="math-container">$\bar v$</span> (which, in quasi-linear preferences, correspond to the income constraint).For <span class="math-container">$\bar v = M=400,450,500,550,600$</span> the map looks like</p>

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

<p>Such an individual utility specification will give the optimal relation</p>

<p><span class="math-container">$$a - bq^{\gamma} = p$$</span></p>

<p>and the individual demand</p>

<p><span class="math-container">$$q = \left( \frac {a-p}{b}\right)^{1/\gamma}$$</span></p>

<p>Summing over all <span class="math-container">$N$</span> consumers we get</p>

<p><span class="math-container">$$Q_d = N\left( \frac {a-p}{b}\right)^{1/\gamma}$$</span></p>

<p>and we want to arrive at the market demand function</p>

<p><span class="math-container">$$Q_d = \left( \frac {A-p}{B}\right)^{1/\gamma}$$</span></p>

<p>This can happen if we identify <span class="math-container">$A=a$</span> and <span class="math-container">$B = b/N^{\gamma}$</span>.</p>

CC BY-SA 4.0
2019-09-06T19:33:38.820Z
A minor point: shouldn't the inequality requirement on gamma be non-strict? That would result in a linear demand function, which is both convex and concave as far as I know...
Maarten Punt
CC BY-SA 4.0
2016-02-20T19:33:43.857Z
2019-09-08T22:16:03.403Z
2019-09-08T22:16:03.403Z
Alecos Papadopoulos
<p>The market demand function can be either concave or convex. I am looking for conditions under which a general market demand function can be considered convex.
For example would convex preferences or a concave utility function imply a convex market demand curve? </p>

<p>I am not asking about the demand set, but rather the function.</p>

<p>I have a hard time imagining a concave market demand function, but the literature often takes this possibility into account, leading me to believe that it cannot be ruled out without imposing further conditions.</p>

<p>The reason I'm having a hard time imagining concave functions is that when we maximize with a standard utility function, what will come out with typical functions is somthing like:</p>

<ol>
<li><p>Cobb-Douglas: <span class="math-container">$X=(\alpha/(α+β)) M/2p$</span></p></li>
<li><p>Perfect compliments (min): <span class="math-container">$X=αm/(βp1 + αp2)$</span></p></li>
<li><p>Perfect Substitutes: <span class="math-container">$X=M/p$</span>; where X is demand for some good, M is the budget, p the price (of good 1 or 2) and α and β are just utility parameters.</p></li>
</ol>

<p>which are all convex. </p>

<p>Further, since market demand is most often defined as the sum of individual demands (which above appear to be convex mostly) and the sum of convex functions is itself a convex function, then market demand should most often be a convex function it seems.</p>

<p>Can a more general statement be made here about when the market demand curve is convex?</p>

CC BY-SA 3.0
2016-02-13T18:57:58.123Z
Seems to me if $X$ is a certain good, $Y$ is money spent on all other goods and preferences of all consumers over $(X,Y)$ are convex then the individual demand functions would also be convex and your argument holds.
Giskard
CC BY-SA 3.0
2016-02-15T12:26:19.497Z
This paper by Border (http://people.hss.caltech.edu/~kcb/Notes/Demand4-Integrability.pdf) considering the general problem of what utility function will yield a given demand function may be of some help.  Pages 7-8 derive a utility function containing a squared term which leads to a linear demand function.  My own rough calculations (this is not addressed in the paper) suggest that replacing the square by another power leads to convex demand if the power is greater than 2 and concave demand if less than 2.  Whether such functions are economically plausible of course is a further question.
Adam Bailey
<microeconomics><utility>
Convexity of the Market Demand Function
BB King
# Convexity of the Market Demand Function

(Asked by: username_0 on 2016-02-13)

The market demand function can be either concave or convex. I am looking for conditions under which a general market demand function can be considered convex.
For example would convex preferences or a concave utility function imply a convex market demand curve?

I am not asking about the demand set, but rather the function.

I have a hard time imagining a concave market demand function, but the literature often takes this possibility into account, leading me to believe that it cannot be ruled out without imposing further conditions.

The reason I'm having a hard time imagining concave functions is that when we maximize with a standard utility function, what will come out with typical functions is somthing like:

1. Cobb-Douglas: $X=(\alpha/(α+β)) M/2p$
2. Perfect compliments (min): $X=αm/(βp1 + αp2)$
3. Perfect Substitutes: $X=M/p$; where X is demand for some good, M is the budget, p the price (of good 1 or 2) and α and β are just utility parameters.

which are all convex.

Further, since market demand is most often defined as the sum of individual demands (which above appear to be convex mostly) and the sum of convex functions is itself a convex function, then market demand should most often be a convex function it seems.

Can a more general statement be made here about when the market demand curve is convex?

**Tags:** microeconomics, utility
> **Comments:**
> **username_1**: Seems to me if $X$ is a certain good, $Y$ is money spent on all other goods and preferences of all consumers over $(X,Y)$ are convex then the individual demand functions would also be convex and your argument holds.  
> **username_2**: This paper by Border (http://people.hss.caltech.edu/~kcb/Notes/Demand4-Integrability.pdf) considering the general problem of what utility function will yield a given demand function may be of some help.  Pages 7-8 derive a utility function containing a squared term which leads to a linear demand function.  My own rough calculations (this is not addressed in the paper) suggest that replacing the square by another power leads to convex demand if the power is greater than 2 and concave demand if less than 2.  Whether such functions are economically plausible of course is a further question.  

---

## 3 answers

### Answer by username_5 on 2016-02-20. Score: 5 | Accepted answer

From a mathematical point of view, a function of the form

$$Q\_d = \left( \frac {A-p}{B}\right)^{1/\gamma},\;\; \gamma > 1$$

will have a negative second derivative and so it will be strictly concave (for $\gamma =1$ we get a linear demand function). The function hits the (vertical) $p$-axis for $(Q\_d=0,p=A)$, and the horizontal $Q$-axis for $(Q\_d = (A/B)^{1/\gamma}, p=0$). Namely this is "concave all the way", not just concave in the middle which eventually becomes convex. Typically, we expect $A>B$.

Inverting, we obtain

$$p=A-BQ\_d^{\gamma}$$

Let's now go down to the individual level, and assume quasi-linear preferences in income, an appropriate formulation when we look at one good "against all others":

$$v(q,y) = u(q) + y,\;\;\; s.t. \;\;pq+y = M$$

The first-order conditions will give

$$u'(q) = \lambda p,\;\;\;\ \lambda =1$$

Combining with the inverse demand function we get

$$u'(q) = A-BQ\_d^{\gamma}$$

where $Q\_d = \sum q$.

Integrating we have

$$\int u'(q) dq = A\int dq - B\int \left (\sum q\right)^{\gamma}dq$$

from which we arrive at (setting the arbitrary constants of integration to zero)

$$u(q) = Aq-\frac{B}{1+\gamma}Q\_d^{1+\gamma}$$

We obtained this result by assuming that the individual believes that its own demand does not affect any other individual demand. So we have a *negative externality*: the more "massive" is a good (the more massively demanded), the less utility we obtain from it (so any individual demand does not affect any other individual demand, but their sum, does affect the individual elements). So such a specification would be appropriate for goods that are not characterized by the "safety of the flock" aspect, but appeal to our quest for individualism and personal uniqueness.

Assume now that we do not want to have this negative externality in the individual utility. Then, we assume that all consumers are identical, and we *start* with the utility specification,

$$u(q) = aq-\frac{b}{1+\gamma}q^{1+\gamma}$$

This utility specification does imply that there exists a maximum utility level from the good and then utility declines, so it belongs to the general family of "quadratic" preferences.

Indicatively, for $a=100, b=10, \gamma=1.3$ we have

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

The indifference map is constructed by calculating

$$y = \bar v - \left[aq-\frac{b}{1+\gamma}q^{1+\gamma}\right]$$

for arbitrary values for $\bar v$ (which, in quasi-linear preferences, correspond to the income constraint).For $\bar v = M=400,450,500,550,600$ the map looks like

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

Such an individual utility specification will give the optimal relation

$$a - bq^{\gamma} = p$$

and the individual demand

$$q = \left( \frac {a-p}{b}\right)^{1/\gamma}$$

Summing over all $N$ consumers we get

$$Q\_d = N\left( \frac {a-p}{b}\right)^{1/\gamma}$$

and we want to arrive at the market demand function

$$Q\_d = \left( \frac {A-p}{B}\right)^{1/\gamma}$$

This can happen if we identify $A=a$ and $B = b/N^{\gamma}$.

> **Comments:**
> **username_6**: A minor point: shouldn't the inequality requirement on gamma be non-strict? That would result in a linear demand function, which is both convex and concave as far as I know...  

---

### Answer by username_3 on 2016-02-21. Score: 1

Note that a function is convex if and only if multiplying that function by -1 yields a concave function.

An example would be a vindictive mother in law, who derives pleasure from her son in law's misery. Let x be outcomes in the poor guy's life, and $u(x)$ be the happiness he gets from x, which is concave. Let $-u(x)$ be the mother in law's utility function. It is convex.

> **Comments:**
> **username_3**: More seriously, it can be the case that player A's payoff is exactly negative player B's payoff (e.g. Strict competition), so a convex payoff for either player would mean the other has a concave payoff function.  

---

### Answer by username_4 on 2019-09-08. Score: 1

At the level of individuals (and in the differentiable case), the first order derivatives of the demand system are related to the second order derivatives of the utility function. This implies that the second order derivatives of the demand system are related to the third order derivatives of the utility function. \
Indeed, from the first order condition for optimality:
$$
\frac{\partial u}{\partial x }(x^F(p,\lambda)) = \lambda p, \\
$$
where $x^F$ denote the Frisch or $\lambda$-constant optimal demands. Keeping $\lambda$ constant, we see that changes in the price vector $p$ affects optimal demands as follow:
\begin{eqnarray\*}
\frac{\partial^2 u}{\partial x \partial x'}(x^F(p,\lambda))\frac{\partial x^F}{ \partial p'}(p,\lambda) = \lambda I\_K \\
\Leftrightarrow \frac{\partial x^F}{ \partial p'}(p,\lambda) = \lambda \left[ \frac{\partial^2 u}{\partial x \partial x'}(x^F(p,\lambda)) \right]^{-1}.
\end{eqnarray\*}
The last equivalence requires a regular Hessian matrix. This equality illustrates that a concave demand system requires restrictions on the third order derivatives of $u$. A similar conclusion holds for the Marshallian demand system $x^M(p,m)$ (use Roy's identity to show the claim).


---

