---
title: "Quasilinear utility: KKT, utility maximization, and expenditure minimization"
author:
  - name: "Fan Wang"
    affiliation: "Department of Economics, University of Houston"
    url: "https://fanwangecon.github.io/"
date: "2026-11-29"
---

**Part of [Production, Preferences, and Equilibrium: Theory and Applications](https://fanwangecon.github.io/Micro4Econ/).**  
[Main Micro4Econ site](https://fanwangecon.github.io/Micro4Econ/) | [View this section in the book](https://fanwangecon.github.io/Micro4Econ/consumer_utility/overview.html#quasilinear-utility-kkt-utility-maximization-and-expenditure-minimization) | [Author: Fan Wang](https://fanwangecon.github.io/)  
Date: 2026-11-29 | [HTML](https://fanwangecon.github.io/Micro4Econ/htmlpdfq/consumer_utility/cutil2_quasilinear_utility_utilmax_expmin.html) | [PDF](https://fanwangecon.github.io/Micro4Econ/htmlpdfq/consumer_utility/cutil2_quasilinear_utility_utilmax_expmin.pdf) | [QMD](https://fanwangecon.github.io/Micro4Econ/htmlpdfq/consumer_utility/cutil2_quasilinear_utility_utilmax_expmin.qmd)

## Quasilinear utility: KKT, utility maximization, and expenditure minimization

The solutions below use the Karush-Kuhn-Tucker (KKT) conditions to handle
the non-negativity constraint on the linear good. Assume $p_2>0$ and
$y>0$.

### Utility maximization

Consider

$$
\begin{aligned}
v(p_2,y)
&=\max_{x_1\ge0,\;x_2>0} x_1+\ln(x_2)\\
\text{s.t.}\quad &x_1+p_2x_2\le y.
\end{aligned}
$$

The objective is increasing in both goods, so the budget constraint binds.
Let $\lambda\ge0$ be its multiplier and $\mu\ge0$ the multiplier on
$x_1\ge0$. The Lagrangian and KKT conditions are

$$
\begin{aligned}
\mathcal L
&=x_1+\ln(x_2)+\lambda(y-x_1-p_2x_2)+\mu x_1,\\
1-\lambda+\mu&=0,
&\quad \frac{1}{x_2}-\lambda p_2&=0,\\
\lambda(y-x_1-p_2x_2)&=0,
&\quad \mu x_1&=0,\\
x_1&\ge0,\quad x_2>0,\quad \lambda\ge0,\quad \mu\ge0.
\end{aligned}
$$

If $x_1>0$, complementary slackness gives $\mu=0$, so
$\lambda=1$, $x_2=1/p_2$, and $x_1=y-1$. This interior case requires
$y>1$. If $x_1=0$, the binding budget gives $x_2=y/p_2$ and stationarity
gives $\lambda=1/y$, $\mu=1/y-1$; the KKT multiplier condition $\mu\ge0$
holds when $0<y\le1$. Therefore,

$$
\begin{aligned}
x_1^{\mathrm m}(p_2,y)&=\max\{y-1,0\},\\
x_2^{\mathrm m}(p_2,y)&=
\begin{cases}
y/p_2, & 0<y<1,\\
1/p_2, & y\ge1.
\end{cases}
\end{aligned}
$$

The indirect utility is

$$
v(p_2,y)=
\begin{cases}
\ln(y/p_2), & 0<y<1,\\
y-1-\ln(p_2), & y\ge1.
\end{cases}
$$

The demands and indirect utility are continuous at $y=1$, but their slopes
change there. The underlying utility is smooth on its domain $x_2>0$.

### Expenditure minimization

For a target utility $u$, consider

$$
\begin{aligned}
e(p_2,u)
&=\min_{x_1\ge0,\;x_2>0} x_1+p_2x_2\\
\text{s.t.}\quad &x_1+\ln(x_2)\ge u.
\end{aligned}
$$

Let $\lambda\ge0$ be the multiplier on the utility constraint
$x_1+\ln(x_2)\ge u$, and $\mu\ge0$ the multiplier on $x_1\ge0$. The KKT
conditions are

$$
\begin{aligned}
\mathcal L
&=x_1+p_2x_2+\lambda(u-x_1-\ln(x_2))-\mu x_1,\\
1-\lambda-\mu&=0,
&\quad p_2-\frac{\lambda}{x_2}&=0,\\
\lambda(u-x_1-\ln(x_2))&=0,
&\quad \mu x_1&=0,\\
x_1&\ge0,\quad x_2>0,\quad \lambda\ge0,\quad \mu\ge0.
\end{aligned}
$$

When $x_1>0$, $\mu=0$, so $\lambda=1$, $x_2=1/p_2$, and
$x_1=u+\ln(p_2)$. This interior case requires $u>-\ln(p_2)$. At the corner $x_1=0$,
the binding utility requirement gives $x_2=e^u$, while stationarity gives
$\lambda=p_2e^u$ and $\mu=1-p_2e^u$. The KKT condition $\mu\ge0$ holds
when $u\le-\ln(p_2)$. Thus,

$$
\begin{aligned}
x_1^{\mathrm h}(p_2,u)&=\max\{u+\ln(p_2),0\},\\
x_2^{\mathrm h}(p_2,u)&=
\begin{cases}
e^u, & u<-\ln(p_2),\\
1/p_2, & u\ge-\ln(p_2),
\end{cases}\\
e(p_2,u)&=
\begin{cases}
p_2e^u, & u<-\ln(p_2),\\
1+u+\ln(p_2), & u\ge-\ln(p_2).
\end{cases}
\end{aligned}
$$

The Hicksian quantity of the nonlinear good equals the Marshallian quantity
when the utility target is set to the achieved utility:
$x_2^{\mathrm h}(p_2,v(p_2,y))=x_2^{\mathrm m}(p_2,y)$. Likewise,
$e(p_2,v(p_2,y))=y$. The same boundary at which the linear good first
becomes positive appears in both problems.
