Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Multivariate Calculus

Functions of Several Variables and Partial Derivatives

While there are some subtleties involved in moving from univariate to multivariate calculus, much of the intuition carries over.

Consider a function

y=f(x1,x2,,xn).y = f(x_1, x_2, \ldots, x_n).

The partial derivative of yy with respect to its ii-th argument xix_i is defined as

yxi=limΔxi0f(x1,,xi+Δxi,,xn)f(x1,,xi,,xn)Δxi\frac{\partial y}{\partial x_i} = \lim_{\Delta x_i \to 0} \frac{f(x_1, \ldots, x_i + \Delta x_i, \ldots, x_n) - f(x_1, \ldots, x_i, \ldots, x_n)}{\Delta x_i}

provided the limit exists.

Common notations include

yxi,xif(x1,,xn),fi.\frac{\partial y}{\partial x_i}, \quad \frac{\partial}{\partial x_i} f(x_1,\ldots,x_n), \quad f_i.

For a function f(x,y)f(x,y), the partial derivative with respect to xx is written fx(x,y)f_x(x,y) or fxf_x; For a function f(x1,x2)f(x_1,x_2), the partial derivative with respect to x1x_1 is written f1(x,y)f_1(x,y) or just f1f_1, and so on.

Rules of Partial Differentiation

The rules of partial differentiation are the same as those for univariate calculus, except that all other variables are treated as constants.

Examples

a) Let

f(x1,x2)=x1+3x22.f(x_1,x_2) = \sqrt{x_1 + 3x_2^2}.

has two partial derivatives:

f1=12x1+3x22,f2=3x2x1+3x22.f_1 = \frac{1}{2\sqrt{x_1 + 3x_2^2}}, \qquad f_2 = \frac{3x_2}{\sqrt{x_1 + 3x_2^2}}.

b) Similarly, let

h(x,y,z)=ln(5x+2y3z).h(x,y,z) = \ln(5x + 2y - 3z).

then

hx=55x+2y3z,hy=25x+2y3z,hz=35x+2y3z.h_x = \frac{5}{5x+2y-3z}, \quad h_y = \frac{2}{5x+2y-3z}, \quad h_z = \frac{-3}{5x+2y-3z}.

Example - Cobb-Douglass production function

Consider the Cobb–Douglas production function

Q=AK1αLα.Q = AK^{1-\alpha}L^\alpha.

The marginal product of labor (MPL) can be found by taking the partial derivative of output with respect to labor:

QL=αAK1αLα1=αA(KL)1α\frac{\partial Q}{\partial L} = \alpha A K^{1 - \alpha} L^{\alpha - 1} = \alpha A \left( \frac{K}{L} \right)^{1 - \alpha}

In neo-classical economics theory, workers are paid a real wage equal to their marginal productivity of labor. So in the equation above we see that the real wage and MPL increase with larger capital stock relative to labor.

Similarly,

QK=(1α)AKαLα=(1α)A(LK)α\frac{\partial Q}{\partial K} = (1 - \alpha) A K^{-\alpha} L^{\alpha} = (1 - \alpha) A \left( \frac{L}{K} \right)^{\alpha}

Which suggests that the rate of return to capital is relatively high in countries that have a relatively large labor-capital ratios. These high rates of returns should cause capital inflow from rich to poor countries. But why do we not see this in reality? See Lucas (1990).

Multivariate Derivative Rules

(1) Product Rule

x[f(x,y)g(x,y)]=g(x,y)f(x,y)x+f(x,y)g(x,y)x,y[f(x,y)g(x,y)]=g(x,y)f(x,y)y+f(x,y)g(x,y)y.\begin{aligned} \frac{\partial}{\partial x}[f(x,y)g(x,y)] &= g(x,y)\frac{\partial f(x,y)}{\partial x} + f(x,y)\frac{\partial g(x,y)}{\partial x}, \\[2em] \frac{\partial}{\partial y}[f(x,y)g(x,y)] &= g(x,y)\frac{\partial f(x,y)}{\partial y} + f(x,y)\frac{\partial g(x,y)}{\partial y}. \end{aligned}

(2) Quotient Rule

The derivative of the quotient of two (differentiable) functions, f(x,y)/g(x,y)f(x,y)/g(x,y), is

x[f(x,y)g(x,y)]=g(x,y)f(x,y)xf(x,y)g(x,y)x[g(x,y)]2,y[f(x,y)g(x,y)]=g(x,y)f(x,y)yf(x,y)g(x,y)y[g(x,y)]2.\begin{aligned} \frac{\partial}{\partial x}\left[\frac{f(x,y)}{g(x,y)}\right] &= \frac{ g(x,y)\frac{\partial f(x,y)}{\partial x} - f(x,y)\frac{\partial g(x,y)}{\partial x} }{ [g(x,y)]^2 }, \\[2em] \frac{\partial}{\partial y}\left[\frac{f(x,y)}{g(x,y)}\right] &= \frac{ g(x,y)\frac{\partial f(x,y)}{\partial y} - f(x,y)\frac{\partial g(x,y)}{\partial y} }{ [g(x,y)]^2 }. \end{aligned}

where f(x,y)f(x,y) and g(x,y)g(x,y) are differentiable and g(x,y)0g(x,y)\neq 0.

(3) Generalized Power Function

[g(x,y)]nx=n[g(x,y)]n1g(x,y)x,[g(x,y)]ny=n[g(x,y)]n1g(x,y)y.\begin{aligned} \frac{\partial [g(x,y)]^n}{\partial x} &= n[g(x,y)]^{\,n-1}\frac{\partial g(x,y)}{\partial x}, \\[1em] \frac{\partial [g(x,y)]^n}{\partial y} &= n[g(x,y)]^{\,n-1}\frac{\partial g(x,y)}{\partial y}. \end{aligned}

where nn is a constant and g(x,y)g(x,y) is differentiable.

Second-Order and Cross-Partial Derivatives

For

y=f(x1,x2),y = f(x_1,x_2),

the second partial derivatives are

f11=2yx12,f22=2yx22.f_{11} = \frac{\partial^2 y}{\partial x_1^2}, \qquad f_{22} = \frac{\partial^2 y}{\partial x_2^2}.

The cross partial derivatives are

f12=2yx1x2,f21=2yx2x1.f_{12} = \frac{\partial^2 y}{\partial x_1 \partial x_2}, \qquad f_{21} = \frac{\partial^2 y}{\partial x_2 \partial x_1}.

Continuing with the examples above, the function

f(x1,x2)=x1+3x22f(x_1, x_2) = \sqrt{x_1 + 3x_2^2}

has two second partial derivatives

f11(x1,x2)=14(x1+3x22)3/2,f22(x1,x2)=9x22(x1+3x22)3/2+3(x1+3x22)1/2\begin{aligned} f_{11}(x_1,x_2) &= -\frac{1}{4\left(x_1 + 3x_2^2\right)^{3/2}}, \\[2em] f_{22}(x_1,x_2) &= -\frac{9x_2^2}{\left(x_1 + 3x_2^2\right)^{3/2}} + \frac{3}{\left(x_1 + 3x_2^2\right)^{1/2}} \end{aligned}

and the cross partial derivative

f12(x1,x2)=f21(x1,x2)=3x22(x1+3x22)3/2.f_{12}(x_1,x_2) = f_{21}(x_1,x_2) = -\frac{3x_2}{2\left(x_1 + 3x_2^2\right)^{3/2}}.

For the function

h(x,y,z)=ln(5x+2y3z)h(x,y,z) = \ln(5x + 2y - 3z)

There are three second partial derivatives:

hxx(x,y,z)=25(5x+2y3z)2,h_{xx}(x,y,z) = -\frac{25}{(5x + 2y - 3z)^2},
hyy(x,y,z)=4(5x+2y3z)2,andhzz(x,y,z)=9(5x+2y3z)2.h_{yy}(x,y,z) = -\frac{4}{(5x + 2y - 3z)^2}, \quad \text{and} \quad h_{zz}(x,y,z) = -\frac{9}{(5x + 2y - 3z)^2}.

The function also has three cross partial derivatives:

hxy(x,y,z)=hyx(x,y,z)=10(5x+2y3z)2,h_{xy}(x,y,z) = h_{yx}(x,y,z) = -\frac{10}{(5x + 2y - 3z)^2},
hxz(x,y,z)=hzx(x,y,z)=15(5x+2y3z)2,andh_{xz}(x,y,z) = h_{zx}(x,y,z) = -\frac{15}{(5x + 2y - 3z)^2}, \quad \text{and} \quad
hyz(x,y,z)=hzy(x,y,z)=6(5x+2y3z)2h_{yz}(x,y,z) = h_{zy}(x,y,z) = -\frac{6}{(5x + 2y - 3z)^2}

Young’s Theorem

If all second-order partial derivatives are continuous, then

fij=fji.f_{ij} = f_{ji}.

More generally, if all the partial derivatives of the function

f(x1,x2,,xn)f(x_1, x_2, \ldots, x_n)

exist and are themselves differentiable with continuous derivatives, then

xi(f(x1,x2,,xn)xj)=xj(f(x1,x2,,xn)xi).\frac{\partial}{\partial x_i} \left( \frac{\partial f(x_1, x_2, \ldots, x_n)}{\partial x_j} \right) = \frac{\partial}{\partial x_j} \left( \frac{\partial f(x_1, x_2, \ldots, x_n)}{\partial x_i} \right).

Or, written differently,

fji(x1,x2,,xn)=fij(x1,x2,,xn),f_{ji}(x_1, x_2, \ldots, x_n) = f_{ij}(x_1, x_2, \ldots, x_n),

for any ii and jj from 1 to nn.

For our Cobb–Douglas production function,

Q=AK1αLα,Q = AK^{1-\alpha}L^{\alpha},

the second partial derivative with respect to LL and with respect to KK is

2QL2=(1α)αAK1αLα1,\frac{\partial^2 Q}{\partial L^2} = -(1-\alpha)\alpha A K^{1-\alpha}L^{\alpha-1},
2QK2=(1α)αAKα1Lα.\frac{\partial^2 Q}{\partial K^2} = -(1-\alpha)\alpha A K^{-\alpha-1}L^{\alpha}.

Each of these second partial derivatives is negative, reflecting diminishing marginal productivity.

The single cross partial derivative is

2QKL=2QLK=(1α)αAKαLα1,\frac{\partial^2 Q}{\partial K \partial L} = \frac{\partial^2 Q}{\partial L \partial K} = (1-\alpha)\alpha A K^{-\alpha}L^{\alpha-1},

which is positive since KK and LL are positive.

Try these ^^

For each of the following functions:

  1. Compute the first-order partial derivatives

    yx1,yx2.\frac{\partial y}{\partial x_1}, \qquad \frac{\partial y}{\partial x_2}.
  2. For each functions, evaluate the first-order partial derivatives at the point

    x1=1,x2=4.x_1 = 1, \quad x_2 = 4.
  3. For each functions, compute the second-order partial derivatives

    2yx12,2yx22,\frac{\partial^2 y}{\partial x_1^2}, \qquad \frac{\partial^2 y}{\partial x_2^2},

    and the cross partial derivative

    2yx1x2.\frac{\partial^2 y}{\partial x_1 \partial x_2}.

Assume all functions are defined on domains where the expressions are well-defined.

(i) y=f(x1,x2)=12x146x12x2+4x23y = f(x_1,x_2) = 12x_1^4 - 6x_1^2x_2 + 4x_2^3

(ii) y=f(x1,x2)=(3x12+5x2+1)(x2+4)y = f(x_1,x_2) = (3x_1^2 + 5x_2 + 1)(x_2 + 4)

(iii) y=f(x1,x2)=7x1x1x22x12y = f(x_1,x_2) = \frac{7x_1 - x_1x_2^2}{x_1 - 2}

(iv) y=f(x1,x2)=(2ex1)(e2x1x22)y = f(x_1,x_2) = (2e^{x_1})(e^{2x_1}x_2^2)

(v) y=f(x1,x2)=2ln(3x1)4ln(2x1x2)y = f(x_1,x_2) = 2\ln(3x_1) - 4\ln(2x_1x_2)

(vi) y=f(x1,x2)=x12+2x1x21/24x2y = f(x_1,x_2) = x_1^2 + 2x_1x_2^{1/2} - 4x_2


Answers: First-Order Partial Derivatives

(i) yx1=48x1312x1x2,yx2=6x12+12x22\frac{\partial y}{\partial x_1} = 48x_1^3 - 12x_1x_2, \qquad \frac{\partial y}{\partial x_2} = -6x_1^2 + 12x_2^2

(ii) yx1=6x1x2+24x1,yx2=3x12+5x1+1\frac{\partial y}{\partial x_1} = 6x_1x_2 + 24x_1, \qquad \frac{\partial y}{\partial x_2} = 3x_1^2 + 5x_1 + 1

(iii) yx1=2x2214(x12)2,yx2=2x1x2x12\frac{\partial y}{\partial x_1} = \frac{2x_2^2 - 14}{(x_1 - 2)^2}, \qquad \frac{\partial y}{\partial x_2} = -\frac{2x_1x_2}{x_1 - 2}

(iv) yx1=6x22e3x1,yx2=4x2e3x1\frac{\partial y}{\partial x_1} = 6x_2^2 e^{3x_1}, \qquad \frac{\partial y}{\partial x_2} = 4x_2 e^{3x_1}

(v) yx1=2x1,yx2=4x2 \frac{\partial y}{\partial x_1} = -\frac{2}{x_1}, \qquad \frac{\partial y}{\partial x_2} = -\frac{4}{x_2}

(vi) yx1=2x1+2x2,yx2=x1x24\frac{\partial y}{\partial x_1} = 2x_1 + 2\sqrt{x_2}, \qquad \frac{\partial y}{\partial x_2} = \frac{x_1}{\sqrt{x_2}} - 4


Answers 2

(i) yx1(1,4)=0,yx2(1,4)=186\left.\frac{\partial y}{\partial x_1}\right|_{(1,4)} = 0, \qquad \left.\frac{\partial y}{\partial x_2}\right|_{(1,4)} = 186

(ii) yx1(1,4)=88,yx2(1,4)=9\left.\frac{\partial y}{\partial x_1}\right|_{(1,4)} = 88, \qquad \left.\frac{\partial y}{\partial x_2}\right|_{(1,4)} = 9

(iii) yx1(1,4)=18,yx2(1,4)=8\left.\frac{\partial y}{\partial x_1}\right|_{(1,4)} = 18, \qquad \left.\frac{\partial y}{\partial x_2}\right|_{(1,4)} = 8

(iv) yx1(1,4)=1928,yx2(1,4)=321\left.\frac{\partial y}{\partial x_1}\right|_{(1,4)} = 1928, \qquad \left.\frac{\partial y}{\partial x_2}\right|_{(1,4)} = 321

(v) yx1(1,4)=2,yx2(1,4)=1\left.\frac{\partial y}{\partial x_1}\right|_{(1,4)} = -2, \qquad \left.\frac{\partial y}{\partial x_2}\right|_{(1,4)} = -1

(vi) yx1(1,4)=6,yx2(1,4)=72\left.\frac{\partial y}{\partial x_1}\right|_{(1,4)} = 6, \qquad \left.\frac{\partial y}{\partial x_2}\right|_{(1,4)} = -\frac{7}{2}


3. Second-Order and Cross Partial Derivatives

For each function, compute: 2yx12\dfrac{\partial^2 y}{\partial x_1^2}, 2yx22\dfrac{\partial^2 y}{\partial x_2^2}, and 2yx1x2\dfrac{\partial^2 y}{\partial x_1\partial x_2}.

Answers: Second-Order and Cross Partial Derivatives

(i) 2yx12=144x1212x2,2yx22=24x2,2yx1x2=12x1 \frac{\partial^2 y}{\partial x_1^2} = 144x_1^2 - 12x_2, \qquad \frac{\partial^2 y}{\partial x_2^2} = 24x_2, \qquad \frac{\partial^2 y}{\partial x_1\partial x_2} = -12x_1

(ii) 2yx12=6x2+24,2yx22=6x1+5,2yx1x2=6x1 \frac{\partial^2 y}{\partial x_1^2} = 6x_2 + 24, \qquad \frac{\partial^2 y}{\partial x_2^2} = 6x_1 + 5, \qquad \frac{\partial^2 y}{\partial x_1\partial x_2} = 6x_1

(iii) 2yx12=4(x1x222x227x1+14)(x12)3,2yx22=4x1(x12)2,2yx1x2=4x2(x12)2 \frac{\partial^2 y}{\partial x_1^2} = -\frac{4(x_1x_2^2 - 2x_2^2 - 7x_1 + 14)}{(x_1 - 2)^3}, \qquad \frac{\partial^2 y}{\partial x_2^2} = \frac{4x_1}{(x_1 - 2)^2}, \qquad \frac{\partial^2 y}{\partial x_1\partial x_2} = -\frac{4x_2}{(x_1 - 2)^2}

(iv) 2yx12=18x22e3x1,2yx22=4e3x1,2yx1x2=12e3x1x2 \frac{\partial^2 y}{\partial x_1^2} = 18x_2^2 e^{3x_1}, \qquad \frac{\partial^2 y}{\partial x_2^2} = 4e^{3x_1}, \qquad \frac{\partial^2 y}{\partial x_1\partial x_2} = 12e^{3x_1}x_2

(v) 2yx12=2x12,2yx22=4x22,2yx1x2=0 \frac{\partial^2 y}{\partial x_1^2} = \frac{2}{x_1^2}, \qquad \frac{\partial^2 y}{\partial x_2^2} = \frac{4}{x_2^2}, \qquad \frac{\partial^2 y}{\partial x_1\partial x_2} = 0

(vi) 2yx12=2,2yx22=12x1x23/2,2yx1x2=x21/2 \frac{\partial^2 y}{\partial x_1^2} = 2, \qquad \frac{\partial^2 y}{\partial x_2^2} = -\frac{1}{2}x_1 x_2^{-3/2}, \qquad \frac{\partial^2 y}{\partial x_1\partial x_2} = x_2^{-1/2}

Composite Functions and Multivariate Chain Rules

In the univariate case, we learnt that the derivative of the composite function

y=f(x)=g(h(x))y = f(x) = g(h(x))

is

dydx=g(h(x))h(x).\frac{dy}{dx} = g'(h(x))h'(x).

A multivariate form of the chain rule can be used with multivariate compositefunctions.

Multivariate Chain Rule I (Single Parameter)

If the arguments of the differentiable function

y=f(x1,x2,,xn)y = f(x_1, x_2, \ldots, x_n)

are themselves differentiable functions of a single variable tt such that

x1=g1(t),x2=g2(t),,xn=gn(t),x_1 = g^1(t), \quad x_2 = g^2(t), \quad \ldots, \quad x_n = g^n(t),

where gi(t)g^i(t) is the iith univariate function, then

dydt=f1dx1dt+f2dx2dt++fndxndt,\frac{dy}{dt} = f_1 \frac{dx_1}{dt} + f_2 \frac{dx_2}{dt} + \cdots + f_n \frac{dx_n}{dt},

where

fi=yxi.f_i = \frac{\partial y}{\partial x_i}.

Example

Consider the function

y=f(x1,x2)=x12x2,y = f(x_1, x_2) = x_1^2 x_2,

where

x1=t2andx2=3t1.x_1 = t^2 \quad \text{and} \quad x_2 = 3t - 1.

Then

dx1dt=2tanddx2dt=3,\frac{dx_1}{dt} = 2t \quad \text{and} \quad \frac{dx_2}{dt} = 3,

and

f1=2x1x2andf2=x12.f_1 = 2x_1 x_2 \quad \text{and} \quad f_2 = x_1^2.

Using the chain rule,

dydt=(2x1x2)dx1dt+(x12)dx2dt.\frac{dy}{dt} = (2x_1 x_2)\frac{dx_1}{dt} + (x_1^2)\frac{dx_2}{dt}.

Substituting,

dydt=(2t2(3t1))(2t)+3(t2)2=4t3(3t1)+3t4.\frac{dy}{dt} = (2t^2(3t - 1))(2t) + 3(t^2)^2 = 4t^3(3t - 1) + 3t^4.

Simplifying,

dydt=15t44t3.\frac{dy}{dt} = 15t^4 - 4t^3.

Multivariate Chain Rule II (Multiple Parameters)

If the arguments of the differentiable function

y=f(x1,x2,,xn)y = f(x_1, x_2, \ldots, x_n)

are themselves differentiable functions of variables t1,,tmt_1, \ldots, t_m such that

x1=g1(t1,,tm),,xn=gn(t1,,tm),x_1 = g^1(t_1, \ldots, t_m), \quad \ldots, \quad x_n = g^n(t_1, \ldots, t_m),

then, for each tit_i,

yti=f1x1ti+f2x2ti++fnxnti,\frac{\partial y}{\partial t_i} = f_1 \frac{\partial x_1}{\partial t_i} + f_2 \frac{\partial x_2}{\partial t_i} + \cdots + f_n \frac{\partial x_n}{\partial t_i},

where

fi=yxi.f_i = \frac{\partial y}{\partial x_i}.
Try these ^^

Partial Derivatives with Change of Variables

For each of the following cases, find the partial derivatives Zu\displaystyle \frac{\partial Z}{\partial u} and Zv\displaystyle \frac{\partial Z}{\partial v}.

(i) Let Z=f(x,y)=4x2+2xy+y2,Z = f(x,y) = 4x^2 + 2xy + y^2, where x=3u2 and y=u2vx = 3u^2 \text{ and } y = u - 2v

(ii) Let Z=f(x,y)=ax3bx2y+cy,Z = f(x,y) = ax^3 - bx^2y + cy, where x=γu+θv and y=θuγv2x = \gamma u + \theta v \text{ and } y = \theta u - \gamma v^2

(iii) Let Z=f(x,y)=2ex+12x2y4y,Z = f(x,y) = 2e^x + \tfrac{1}{2}x^2y - 4y, where x=14u and y=u2+6vx = \tfrac{1}{4}u \text{ and } y = u^2 + 6v

(iv) Let Z=f(x,y,u)=2x33xy2+0.75yu5u2,Z = f(x,y,u) = 2x^3 - 3xy^2 + 0.75yu - 5u^2, where x=u+v and y=v2x = \sqrt{u+v} \text{ and } y = v^2


Answers

(i) Zu=48xu+12yu+2x+2y, and Zv=4x4y\frac{\partial Z}{\partial u} = 48xu + 12yu + 2x + 2y, \text{ and } \frac{\partial Z}{\partial v} = -4x - 4y

(ii) Zu=(3ax22bxy)γ+(bx2+c)θ, and Zv=(3ax22bxy)θ+(bx2+c)(2γv)\frac{\partial Z}{\partial u} = (3ax^2 - 2bxy)\gamma + (-bx^2 + c)\theta, \text{ and } \frac{\partial Z}{\partial v} = (3ax^2 - 2bxy)\theta + (-bx^2 + c)(-2\gamma v)

(iii) Zu=(2ex+xy)14+(12x24)2u, and Zv=3x224\frac{\partial Z}{\partial u} = (2e^x + xy)\tfrac{1}{4} + \left(\tfrac{1}{2}x^2 - 4\right)2u, \text{ and } \frac{\partial Z}{\partial v} = 3x^2 - 24

(iv) Zu=(6x23y2)12u+v+0.75y10u, and Zv=(6x23y2)12u+v+(6xy+0.75u)2v\frac{\partial Z}{\partial u} = (6x^2 - 3y^2)\frac{1}{2\sqrt{u+v}} + 0.75y - 10u, \text{ and } \frac{\partial Z}{\partial v} = (6x^2 - 3y^2)\frac{1}{2\sqrt{u+v}} + (-6xy + 0.75u)2v

Total Differentials

The total differential of the multivariate function

y=f(x1,,xn)y = f(x_1, \ldots, x_n)

evaluated at the point

(x10,x20,,xn0)(x_1^0, x_2^0, \ldots, x_n^0)

is

dy=f1(x10,,xn0)dx1+f2(x10,,xn0)dx2++fn(x10,,xn0)dxn.\begin{aligned} dy &= f_1(x_1^0, \ldots, x_n^0)\,dx_1 + f_2(x_1^0, \ldots, x_n^0)\,dx_2 \\ &\quad + \cdots + f_n(x_1^0, \ldots, x_n^0)\,dx_n. \end{aligned}

where fi(x10,x20,,xn0)f_i(x_1^0, x_2^0, \ldots, x_n^0) represents the partial derivative of the function f(x1,x2,,xn)f(x_1, x_2, \ldots, x_n) with respect to its iith argument, evaluated at the point (x10,x20,,xn0)(x_1^0, x_2^0, \ldots, x_n^0).

Example

Given

z=f(x,y)=x4+8xy+3y3,z = f(x,y) = x^4 + 8xy + 3y^3,

the total differential is

dz=zxdx+zydy.dz = z_x\,dx + z_y\,dy.

Since

zx=4x3+8yandzy=8x+9y2,z_x = 4x^3 + 8y \quad \text{and} \quad z_y = 8x + 9y^2,

we have

dz=(4x3+8y)dx+(8x+9y2)dy.dz = (4x^3 + 8y)\,dx + (8x + 9y^2)\,dy.

Higher-Order Total Differentials

We can take higher-order total differentials if required. Continuing with the same example, the second-order total differential is

d2z=12x2dx2+16dxdy+18ydy2.d^2 z = 12x^2\,dx^2 + 16\,dx\,dy + 18y\,dy^2.
Try these ^^

Total Differentials

1. Find the total differentials of each function.

(i) w=2x2+12xy3y3w = 2x^2 + \frac{1}{2}xy - 3y^3
(ii) w=4x13ln(x1x2)+6x2w = 4x_1^3 - \ln(x_1 x_2) + 6x_2
(iii) z=x2y3+xyz = \dfrac{x^2}{y^3 + xy}
(iv) y=2x12e3x2y = 2x_1^2 e^{3x_2}

2. For each function, use the total differential to approximate the change in yy due to the given changes in xx and zz.

(i) y=x2+4xz22xzy = x^2 + 4x - z^2 - 2xz, where x=1x = 1, z=4z = 4, Δx=2\Delta x = 2, Δz=2\Delta z = -2

(ii) y=ex2+3zy = e^{x^2 + 3z}, where x=1x = 1, z=2z = 2, Δx=2\Delta x = 2, Δz=2\Delta z = -2

(iii) y=lnx34z+2xzy = \ln x^3 - 4z + 2xz, where x=1x = 1, z=2z = 2, Δx=2\Delta x = 2, Δz=4\Delta z = 4

(iv) y=x2+ez/2y = x^2 + e^{z/2}, where x=2x = 2, z=2z = 2, Δx=1\Delta x = 1, Δz=1\Delta z = -1


Answers: Question 1

(i) dw=(4x+12y),dx+(12x9y2),dydw = (4x + \tfrac{1}{2}y),dx + (\tfrac{1}{2}x - 9y^2),dy (ii) dw=(12x121x1),dx1+(61x2),dx2dw = \left(12x_1^2 - \frac{1}{x_1}\right),dx_1 + \left(6 - \frac{1}{x_2}\right),dx_2 (iii) dz=2xy3+x2y(y3+xy)2,dx3x2y2+x3(y3+xy)2,dydz = \dfrac{2xy^3 + x^2y}{(y^3 + xy)^2},dx - \dfrac{3x^2y^2 + x^3}{(y^3 + xy)^2},dy (iv) dy=(4x1e3x2),dx1+(6x12e3x2),dx2dy = (4x_1 e^{3x_2}),dx_1 + (6x_1^2 e^{3x_2}),dx_2


Answers: Question 2

(i) Δy=24\Delta y = 24, dy=16dy = 16 (ii) Δy=7007\Delta y = 7007, dy=2194dy = -2194 (iii) Δy=19.3\Delta y = 19.3, dy=6dy = 6 (iv) dy=2x,dx+12ez/2,dz=412e=2.64dy = 2x,dx + \tfrac{1}{2}e^{z/2},dz = 4 - \tfrac{1}{2}e = 2.64. Actual change is Δy=3.93\Delta y = 3.93

Total Derivatives

Given a case with z=f(x,y)z = f(x,y) and y=g(x)y = g(x), that is, when xx and yy are not independent, a change in xx will affect zz directly through the function ff and indirectly through the function gg.

The total derivative measures the direct effect of xx on zz, z/x\partial z / \partial x, plus the indirect effect of xx on zz through yy, (z/y)(dy/dx)(\partial z/\partial y)(dy/dx).

That is,

dzdx=zx+zydydx.\frac{dz}{dx} = z_x + z_y \frac{dy}{dx}.

Example 1

Let

z=f(x,y)=6x3+7y,z = f(x,y) = 6x^3 + 7y,

where

y=4x2+3x.y = 4x^2 + 3x.

Then

zx=18x2,zy=7,dydx=8x+3.z_x = 18x^2, \qquad z_y = 7, \qquad \frac{dy}{dx} = 8x + 3.

Substituting into the total derivative formula,

dzdx=18x2+7(8x+3)=18x2+56x+21.\frac{dz}{dx} = 18x^2 + 7(8x + 3) = 18x^2 + 56x + 21.

Example 2 (Parametric Dependence)

Let

z=f(x,y)=8x2+3y2,z = f(x,y) = 8x^2 + 3y^2,

where

x=4t,y=5t.x = 4t, \qquad y = 5t.

The total derivative of zz with respect to tt is

dzdt=zxdxdt+zydydt.\frac{dz}{dt} = z_x \frac{dx}{dt} + z_y \frac{dy}{dt}.

Since

zx=16x,zy=6y,dxdt=4,dydt=5,z_x = 16x, \qquad z_y = 6y, \qquad \frac{dx}{dt} = 4, \qquad \frac{dy}{dt} = 5,

we obtain

dzdt=16x(4)+6y(5)=64x+30y.\frac{dz}{dt} = 16x(4) + 6y(5) = 64x + 30y.

Substituting x=4tx = 4t and y=5ty = 5t gives

dzdt=64(4t)+30(5t)=256t+150t=406t.\frac{dz}{dt} = 64(4t) + 30(5t) = 256t + 150t = 406t.
Try these ^^

Total Derivatives

In the following questions, the function f(x,y)f(x,y) depends on xx both directly and indirectly through yy. You must therefore compute the total derivative, not a partial derivative.

Recall that if y=y(t)y = y(t), then

dfdt=fxdxdt+fydydt.\frac{df}{dt} = f_x \frac{dx}{dt} + f_y \frac{dy}{dt}.

1. Total derivative with respect to xx

Find the total derivative df(x,y)/dxdf(x,y)/dx for each of the following functions.

(i) f(x,y)=6x2+15xy+3y2,where y=7x2.f(x,y) = 6x^2 + 15xy + 3y^2, \quad \text{where } y = 7x^2.

(ii) f(x,y)=9x7y2x+5y,where y=3x4.f(x,y) = \frac{9x - 7y}{2x + 5y}, \quad \text{where } y = 3x - 4.

(iii) f(x,y)=8x12y,where y=x+1x2.f(x,y) = 8x - 12y, \quad \text{where } y = \frac{x+1}{x^2}.


2. Total derivative with respect to ww

Find the total derivative df(x,y)/dwdf(x,y)/dw for each of the following functions.

(i) f(x,y)=7x2+4y2,where x=5w and y=4w.f(x,y) = 7x^2 + 4y^2, \quad \text{where } x = 5w \text{ and } y = 4w.

(ii) f(x,y)=10x26xy12y2,where x=2w and y=3w.f(x,y) = 10x^2 - 6xy - 12y^2, \quad \text{where } x = 2w \text{ and } y = 3w.



Answers: Question 1

(i) dfdx=fx+fydydx=210x2+84xy+12x+15y.\frac{df}{dx} = f_x + f_y \frac{dy}{dx} = 210x^2 + 84xy + 12x + 15y.

(ii) dfdx=59(y3x)(2x+5y)2.\frac{df}{dx} = \frac{59(y - 3x)}{(2x + 5y)^2}.

(iii) dfdx=8+12(x+2)x3.\frac{df}{dx} = 8 + \frac{12(x+2)}{x^3}.


Answers: Question 2

(i) dfdw=fxdxdw+fydydw=14x(5)+8y(4)=70x+32y.\frac{df}{dw} = f_x \frac{dx}{dw} + f_y \frac{dy}{dw} = 14x(5) + 8y(4) = 70x + 32y.

(ii) dfdw=(20x6y)(2)+(6x24y)(3)=22x84y.\frac{df}{dw} = (20x - 6y)(2) + (-6x - 24y)(3) = 22x - 84y.

Implicit Multivariate Differentiation

An explicit function expresses the dependent variable directly as a function of independent variables:

y=f(x1,x2,,xn).y = f(x_1, x_2, \ldots, x_n).

An implicit function combines the dependent and independent variables in a relation of the form

F(y,x1,x2,,xn)=k,F(y, x_1, x_2, \ldots, x_n) = k,

where kk is a constant (possibly zero).

Implicit Function Rule

For an implicit function

F(y,x1,x2,,xn)=k,F(y, x_1, x_2, \ldots, x_n) = k,

defined at a point (y0,x10,x20,,xn0)(y^0, x_1^0, x_2^0, \ldots, x_n^0), assume FF has continuous first partial derivatives and

Fy(y0,x10,x20,,xn0)0.F_y(y^0, x_1^0, x_2^0, \ldots, x_n^0) \neq 0.

Then there exists a function

y=f(x1,x2,,xn)y = f(x_1, x_2, \ldots, x_n)

defined in a neighborhood of (x10,x20,,xn0)(x_1^0, x_2^0, \ldots, x_n^0) such that:

F(f(x10,x20,,xn0),x10,x20,,xn0)=k,F(f(x_1^0, x_2^0, \ldots, x_n^0), x_1^0, x_2^0, \ldots, x_n^0) = k,
y0=f(x10,x20,,xn0),y^0 = f(x_1^0, x_2^0, \ldots, x_n^0),

and

fi(x10,x20,,xn0)=Fxi(y0,x10,x20,,xn0)Fy(y0,x10,x20,,xn0).f_i(x_1^0, x_2^0, \ldots, x_n^0) = - \frac{ F_{x_i}(y^0, x_1^0, x_2^0, \ldots, x_n^0) }{ F_y(y^0, x_1^0, x_2^0, \ldots, x_n^0) }.

Here,

Fxi=Fxi,Fy=Fy,F_{x_i} = \frac{\partial F}{\partial x_i}, \qquad F_y = \frac{\partial F}{\partial y},

evaluated at (y0,x10,x20,,xn0)(y^0, x_1^0, x_2^0, \ldots, x_n^0).

This result is sometimes referred to as the inverse rule for implicit functions.

Try these ^^

Implicit and Inverse Function Rule

Find the derivative of each implicit function, where

dydx=FxFy,\frac{dy}{dx} = -\frac{F_x}{F_y},

provided that Fy0F_y \neq 0.


(i) F(x,y)=x2+y2+(xy)1/3=0F(x,y) = x^2 + y^2 + (xy)^{1/3} = 0

(ii) F(x,y)=x2y+y2x+xy=0F(x,y) = x^2 y + y^2 x + xy = 0

(iii) F(x,y)=lnx3+(xy)24y=0F(x,y) = \ln x^3 + (xy)^2 - 4y = 0

(iv) F(x,y,w)=w3y3+x2+wxy+7=0F(x,y,w) = w^3 y^3 + x^2 + wxy + 7 = 0 (Find y/x\partial y / \partial x)

(v) F(x,y)=xy2ey=0F(x,y) = xy^2 e^y = 0


Answers

(i) dydx=6x+x2/3y1/36y+y2/3x1/3\frac{dy}{dx} = -\frac{6x + x^{-2/3} y^{1/3}}{6y + y^{-2/3} x^{1/3}} (ii) dydx=y(2x+y+1)x(2y+x+1)\frac{dy}{dx} = -\frac{y(2x + y + 1)}{x(2y + x + 1)} (iii) dydx=3x1+2xy22x2y4\frac{dy}{dx} = -\frac{3x^{-1} + 2xy^2}{2x^2 y - 4} (iv) yx=3x2+wy3w3y2+wx\frac{\partial y}{\partial x} = -\frac{3x^2 + wy}{3w^3 y^2 + wx} (v) dydx=yx(2+y)\frac{dy}{dx} = -\frac{y}{x(2 + y)}

Homogeneous Functions and Euler’s Theorem

A function y=f(x1,,xn)y = f(x_1, \ldots, x_n) is homogeneous of degree kk if, for any s>0s > 0,

f(sx1,,sxn)=skf(x1,,xn).f(sx_1, \ldots, sx_n) = s^k f(x_1, \ldots, x_n).
Try these ^^

Homogeneous Functions

Which of the following functions are homogeneous? If homogeneous, what are their degrees?

1. f(x,y)=x2y+x4x2+y2f(x,y) = x^2y + \frac{x^4}{\sqrt{x^2 + y^2}} 2. f(x,y)=xy+5+ex2/y2f(x,y) = \frac{x}{y} + 5 + e^{x^2/y^2} 3. f(x,y)=x2+xsinyf(x,y) = x^2 + x \sin y


Solutions

1.

If f(x,y)=x2y+x4x2+y2f(x, y) = x^2y + \frac{x^4}{\sqrt{x^2 + y^2}}, then we test for homogeneity by substituting (cx,cy)(cx, cy):

f(cx,cy)=(cx)2(cy)+(cx)4(cx)2+(cy)2=c3x2y+c4x4cx2+y2=c3x2y+c3x4x2+y2\begin{aligned} f(cx, cy) &= (cx)^2(cy) + \frac{(cx)^4}{\sqrt{(cx)^2 + (cy)^2}} \\ &= c^3x^2y + \frac{c^4x^4}{c\sqrt{x^2 + y^2}} \\ &= c^3x^2y + c^3 \frac{x^4}{\sqrt{x^2 + y^2}} \end{aligned}

Which is c3f(x,y)c^3f(x, y), so the function is homogeneous of degree 3.

2.

If f(x,y)=xy+5+ex2/y2f(x, y) = \frac{x}{y} + 5 + e^{x^2/y^2}, then:

f(cx,cy)=cxcy+5+ec2x2/(c2y2)=xy+5+ex2/y2f(cx, cy) = \frac{cx}{cy} + 5 + e^{c^2x^2/(c^2y^2)} = \frac{x}{y} + 5 + e^{x^2/y^2}

In other words, f(cx,cy)=f(x,y)f(cx, cy) = f(x, y), which means that ff is homogeneous of degree 0 (since f(cx,cy)=c0f(x,y)f(cx, cy) = c^0f(x, y)).

3.

For f(x,y)=x2+xsinyf(x, y) = x^2 + x \sin y, we have:

f(cx,cy)=c2x2+cxsin(cy)f(cx, cy) = c^2x^2 + cx \sin(cy)

This cannot be written as cDf(x,y)c^D f(x, y) for some DD. For if this were the case, then clearly from the x2x^2 part, DD would have to be 2. Then we would have to have sin(cy)=csiny\sin(cy) = c \sin y for all yy, which simply isn’t true.

So the function is not homogeneous.


Determine whether each function is homogeneous and, if so, state its degree of homogeneity.

  1. f(x,y,w)=xw+3y5xf(x,y,w) = \dfrac{x}{w} + \dfrac{3y}{5x}

  2. f(x,y,w)=x2w+2w2yf(x,y,w) = \dfrac{x^2}{w} + \dfrac{2w^2}{y}

  3. f(x,y,w)=x3yw+2xywf(x,y,w) = \dfrac{x^3 y}{w} + 2xyw

  4. f(x,y)=x2+y2f(x,y) = \sqrt{x^2 + y^2}

  5. f(x,y,w)=3x2y3yw2f(x,y,w) = 3x^2 y - \dfrac{3y}{w^2}

  6. f(x,y)=x1/2y1/4+y5/8f(x,y) = x^{1/2} y^{1/4} + y^{5/8}


Answers

1. Homogeneous of degree 0 2. Homogeneous of degree 1 3. Homogeneous of degree 3 4. Homogeneous of degree 1 5. Not homogeneous 6. Not homogeneous

Euler’s Theorem

If y=f(x1,,xn)y = f(x_1, \ldots, x_n) is homogeneous of degree kk, then

ky=x1f1(x1,,xn)++xnfn(x1,,xn),k y = x_1 f_1(x_1, \ldots, x_n) + \cdots + x_n f_n(x_1, \ldots, x_n),

where

fi=fxi.f_i = \frac{\partial f}{\partial x_i}.

Proof of Euler’s Theorem

By homogeneity,

f(sx1,,sxn)=sky.f(sx_1, \ldots, sx_n) = s^k y.

Taking the derivative with respect to ss of the left-hand side,

ddsf(sx1,,sxn)=x1f1(sx1,,sxn)++xnfn(sx1,,sxn).\frac{d}{ds} f(sx_1, \ldots, sx_n) = x_1 f_1(sx_1, \ldots, sx_n) + \cdots + x_n f_n(sx_1, \ldots, sx_n).

Differentiating the right-hand side,

dds(sky)=ksk1y.\frac{d}{ds}(s^k y) = k s^{k-1} y.

Setting s=1s = 1 yields Euler’s Theorem.

Notes

Note 1. Any function homogeneous of degree 0 can be written as

f!(x1xi,x2xi,,1,,xnxi),f!\left( \frac{x_1}{x_i}, \frac{x_2}{x_i}, \ldots, 1, \ldots, \frac{x_n}{x_i} \right),

for any i=1,,ni = 1, \ldots, n.

Note 2. If f(x1,,xn)f(x_1, \ldots, x_n) is homogeneous of degree kk, then each partial derivative

fi=fxif_i = \frac{\partial f}{\partial x_i}

is homogeneous of degree k1k-1.

Try these ^^

Homogeneous Production Function and Euler’s Theorem

Consider the production function

f(x1,x2)=x11/4x21/3.f(x_1,x_2) = x_1^{1/4} x_2^{1/3}.

Question

i. Determine whether this production function is homogeneous. If so, of what degree?

ii. Take the partial derivatives of this production function and show that they are homogeneous of degree k1k-1.

iii. Using Euler’s Theorem, show that

x1f1(sx1,sx2)+x2f2(sx1,sx2)=ksk1f(x1,x2).x_1 f_1(sx_1,sx_2) + x_2 f_2(sx_1,sx_2) = k s^{k-1} f(x_1,x_2).

Answers

i. The function is homogeneous of degree

k=14+13=712,k = \frac14 + \frac13 = \frac{7}{12},

since

f(sx1,sx2)=(sx1)1/4(sx2)1/3=s7/12f(x1,x2).f(sx_1,sx_2) = (sx_1)^{1/4}(sx_2)^{1/3} = s^{7/12} f(x_1,x_2).

ii. The partial derivatives are

f1(x1,x2)=fx1=14x13/4x21/3,f_1(x_1,x_2) = \frac{\partial f}{\partial x_1} = \frac14 x_1^{-3/4} x_2^{1/3},

and

f2(x1,x2)=fx2=13x11/4x22/3.f_2(x_1,x_2) = \frac{\partial f}{\partial x_2} = \frac13 x_1^{1/4} x_2^{-2/3}.

Each partial derivative is homogeneous of degree

k1=7121=512,k-1 = \frac{7}{12} - 1 = -\frac{5}{12},

since

f1(sx1,sx2)=s5/12f1(x1,x2),f2(sx1,sx2)=s5/12f2(x1,x2).f_1(sx_1,sx_2) = s^{-5/12} f_1(x_1,x_2), \quad f_2(sx_1,sx_2) = s^{-5/12} f_2(x_1,x_2).

iii. By Euler’s Theorem for homogeneous functions,

x1f1(x1,x2)+x2f2(x1,x2)=kf(x1,x2).x_1 f_1(x_1,x_2) + x_2 f_2(x_1,x_2) = k f(x_1,x_2).

Evaluating this expression at (sx1,sx2)(sx_1,sx_2) and using the homogeneity of the partial derivatives,

x1f1(sx1,sx2)+x2f2(sx1,sx2)=ksk1f(x1,x2),x_1 f_1(sx_1,sx_2) + x_2 f_2(sx_1,sx_2) = k s^{k-1} f(x_1,x_2),

where k=712k = \tfrac{7}{12} and f(x1,x2)=x11/4x21/3f(x_1,x_2) = x_1^{1/4} x_2^{1/3}.

Homothetic Functions

A homothetic function is a monotonic transformation of a homogeneous function.

That is, if

y=f(x1,,xn)y = f(x_1, \ldots, x_n)

is a homogeneous function, then

z=g(y)z = g(y)

is a homothetic function if g(y)g(y) is a strictly monotonic transformation, i.e.,

g(y)>0for all yorg(y)<0for all y.g'(y) > 0 \quad \text{for all } y \quad \text{or} \quad g'(y) < 0 \quad \text{for all } y.

Note. While every homogeneous function is a homothetic function (since we can simply choose g(y)=yg(y) = y), not every homothetic function is homogeneous.

Example

For example, take

y=x1αx2β,y = x_1^{\alpha} x_2^{\beta},

which is homogeneous of degree α+β\alpha + \beta.

Taking logarithms, we obtain

z=ln(y)=αln(x1)+βln(x2).z = \ln(y) = \alpha \ln(x_1) + \beta \ln(x_2).

The function zz is homothetic since the logarithm function is strictly monotonic.

However, this homothetic function is not homogeneous in the arguments x1x_1 and x2x_2, since

αln(sx1)+βln(sx2)=αln(x1)+βln(x2)+(α+β)ln(s)\alpha \ln(sx_1) + \beta \ln(sx_2) = \alpha \ln(x_1) + \beta \ln(x_2) + (\alpha + \beta)\ln(s)

and therefore

z(sx1,sx2)=z(x1,x2)+(α+β)ln(s),z(sx_1, sx_2) = z(x_1, x_2) + (\alpha + \beta)\ln(s),

which does not satisfy the definition of homogeneity.

Try these ^^

Homogeneous and Homothetic Functions

Consider the function

y=f(x1,x2)=x1x2y = f(x_1, x_2) = x_1 x_2

defined over the domain x1>0x_1 > 0 and x2>0x_2 > 0. Also consider the functions

g(y)=lny,h(y)=10y,j(y)=y2,k(y)=ey.g(y) = \ln y, \quad h(y) = 10y, \quad j(y) = y^2, \quad k(y) = e^y.

Answer the following questions.

  1. Is f(x1,x2)f(x_1, x_2) a homogeneous function? If so, what is its degree?

  2. Is g(y)g(y) a homothetic function? Is g(y)g(y) a homogeneous function in the arguments x1x_1 and x2x_2? If so, what is its degree?

  3. How about h(y)h(y)? Is it a homothetic function? Is it homogeneous in the arguments x1x_1 and x2x_2? If so, what is its degree?

  4. How about j(y)j(y) and k(y)k(y)? For each function, state whether it is homothetic and/or homogeneous in (x1,x2)(x_1, x_2), and give the degree if applicable.


Answers

  1. f(x1,x2)f(x_1, x_2)

    Yes. Since

    f(sx1,sx2)=(sx1)(sx2)=s2f(x1,x2),f(sx_1, sx_2) = (sx_1)(sx_2) = s^2 f(x_1, x_2),

    the function is homogeneous of degree 2.

  2. g(y)=lnyg(y)=\ln y

  • Homothetic? Yes, because ln()\ln(\cdot) is strictly increasing on (0,)(0,\infty), and y=x1x2>0y=x_1x_2>0 on the given domain.

  • Homogeneous in (x1,x2)(x_1,x_2)? No.
    Let G(x1,x2)=ln(f(x1,x2))=ln(x1x2)G(x_1,x_2)=\ln(f(x_1,x_2))=\ln(x_1x_2). Then

G(sx1,sx2)=ln((sx1)(sx2))=ln(s2x1x2)=ln(x1x2)+2lns,G(sx_1,sx_2)=\ln\big((sx_1)(sx_2)\big)=\ln(s^2x_1x_2)=\ln(x_1x_2)+2\ln s,

which is not of the form skG(x1,x2)s^k G(x_1,x_2) for any constant kk.


  1. h(y)=10yh(y)=10y

  • Homothetic? Yes (it is strictly increasing in yy).

  • Homogeneous in (x1,x2)(x_1,x_2)? Yes.
    Let H(x1,x2)=h(f(x1,x2))=10x1x2H(x_1,x_2)=h(f(x_1,x_2))=10x_1x_2. Then

H(sx1,sx2)=10(sx1)(sx2)=s210x1x2=s2H(x1,x2),H(sx_1,sx_2)=10(sx_1)(sx_2)=s^2\cdot 10x_1x_2=s^2H(x_1,x_2),

so h(f(x1,x2))h(f(x_1,x_2)) is homogeneous of degree 2 in (x1,x2)(x_1,x_2).


  1. j(y)=y2j(y)=y^2 and k(y)=eyk(y)=e^y

(a) j(y)=y2j(y)=y^2

  • Homothetic? Yes on the given domain, because y=x1x2>0y=x_1x_2>0 and y2y^2 is strictly increasing for y>0y>0.

  • Homogeneous in (x1,x2)(x_1,x_2)? Yes.
    Let J(x1,x2)=j(f(x1,x2))=(x1x2)2J(x_1,x_2)=j(f(x_1,x_2))=(x_1x_2)^2. Then

J(sx1,sx2)=((sx1)(sx2))2=(s2x1x2)2=s4(x1x2)2=s4J(x1,x2),J(sx_1,sx_2)=\big((sx_1)(sx_2)\big)^2=(s^2x_1x_2)^2=s^4(x_1x_2)^2=s^4J(x_1,x_2),

so it is homogeneous of degree 4.

(b) k(y)=eyk(y)=e^y

  • Homothetic? Yes, because eye^y is strictly increasing for all yy.

  • Homogeneous in (x1,x2)(x_1,x_2)? No.
    Let K(x1,x2)=k(f(x1,x2))=ex1x2K(x_1,x_2)=k(f(x_1,x_2))=e^{x_1x_2}. Then

K(sx1,sx2)=e(sx1)(sx2)=es2x1x2,K(sx_1,sx_2)=e^{(sx_1)(sx_2)}=e^{s^2x_1x_2},

which cannot be written as skK(x1,x2)s^k K(x_1,x_2) for a constant kk.


Summary

FunctionHomothetic?Homogeneous in (x1,x2)(x_1,x_2)?Degree
f(x1,x2)=x1x2f(x_1,x_2)=x_1x_2Yes2
g(y)=lnyg(y)=\ln yYesNo
h(y)=10yh(y)=10yYesYes2
j(y)=y2j(y)=y^2YesYes4
k(y)=eyk(y)=e^yYesNo
Try these ^^

Show that each of the following functions is homothetic by transforming it back to its underlying homogeneous form.

  1. i. y=ln(x)+ln(z)y = \ln(x) + \ln(z)

    ii. y=0.3ln(L)+0.7ln(K)y = 0.3 \ln(L) + 0.7 \ln(K)

    iii. y=2ln(x)+ln(y)ln(w)y = 2\ln(x) + \ln(y) - \ln(w)

    iv. y=exzy = e^{xz}


Answers

i.
Starting from
y=ln(x)+ln(z)y = \ln(x) + \ln(z)

Exponentiating both sides gives
ey=xze^{y} = xz

The function xzxz is homogeneous of degree 2, and since ln()\ln(\cdot) is strictly monotonic, the original function is homothetic.


ii.
Starting from
y=0.3ln(L)+0.7ln(K)y = 0.3 \ln(L) + 0.7 \ln(K)

Exponentiating both sides gives
ey=L0.3K0.7e^{y} = L^{0.3} K^{0.7}

The Cobb–Douglas function L0.3K0.7L^{0.3} K^{0.7} is homogeneous of degree 1, hence the original function is homothetic.


iii.
Starting from
y=2ln(x)+ln(y)ln(w)y = 2\ln(x) + \ln(y) - \ln(w)

Exponentiating both sides gives
ey=x2ywe^{y} = \dfrac{x^{2} y}{w}

The function x2yw\dfrac{x^{2} y}{w} is homogeneous of degree 2, so the original function is homothetic.


iv.
Starting from
y=exzy = e^{xz}

Taking logs gives
ln(y)=xz\ln(y) = xz

The function xzxz is homogeneous of degree 2, and since the exponential function is strictly monotonic, y=exzy = e^{xz} is homothetic.

Examples in Economics

Consider a Cobb–Douglas production function

Q=AK1αLαQ = A K^{1-\alpha} L^{\alpha}

The tangent (slope) to its isoquant is

dKdL=(α1α)KL\frac{dK}{dL} = \left( \frac{\alpha}{1-\alpha} \right)\frac{K}{L}

An interesting property of the Cobb–Douglas production function is that the ratio of its marginal products depends on the capital–labor ratio and not on the overall level of production.

Hence multiplying KK and LL by some factor ss leaves the slope unchanged:

dKdL=(α1α)KL=(α1α)sKsL\frac{dK}{dL} = \left( \frac{\alpha}{1-\alpha} \right)\frac{K}{L} = \left( \frac{\alpha}{1-\alpha} \right)\frac{sK}{sL}

More generally, the slope of the level curves of any homogeneous function is constant along any ray from the origin. The slope of a level curve of a function f(x1,x2)f(x_1,x_2) is

dx2dx1=f1(x1,x2)f2(x1,x2)\frac{dx_2}{dx_1} = \frac{f_1(x_1,x_2)}{f_2(x_1,x_2)}

Now recall that for a homogeneous function of degree kk,

fi(sx1,sx2)=sk1fi(x1,x2)f_i(sx_1,sx_2) = s^{k-1} f_i(x_1,x_2)

Thus along a ray from the origin,

dx2dx1=f1(sx1,sx2)f2(sx1,sx2)[0.5em]=sk1f1(x1,x2)sk1f2(x1,x2)[0.5em]=f1(x1,x2)f2(x1,x2).\begin{aligned} \frac{dx_2}{dx_1} &= \frac{f_1(sx_1,sx_2)}{f_2(sx_1,sx_2)} [0.5em] &= \frac{s^{k-1} f_1(x_1,x_2)}{s^{k-1} f_2(x_1,x_2)} [0.5em] &= \frac{f_1(x_1,x_2)}{f_2(x_1,x_2)} . \end{aligned}

Put differently, any proportional scaling ss of the two arguments x1x_1 and x2x_2 leaves the slope unchanged.

This property also extends to homothetic functions.

Consider the function

y=f(x1,x2),y = f(x_1,x_2),

which we assume to be homogeneous of degree kk, and the homothetic transformation

z=g(y)=g(f(x1,x2)),z = g(y) = g(f(x_1,x_2)),

where g(y)>0g'(y) > 0 for all yy or g(y)<0g'(y) < 0 for all yy.

Using the chain rule together with the Implicit Function Theorem, we obtain

dx2dx1=g(y)f1(sx1,sx2)g(y)f2(sx1,sx2)=f1(sx1,sx2)f2(sx1,sx2)=sk1f1(x1,x2)sk1f2(x1,x2)=f1(x1,x2)f2(x1,x2)\begin{aligned} \frac{dx_2}{dx_1} &= \frac{g'(y) f_1(sx_1,sx_2)}{g'(y) f_2(sx_1,sx_2)} &= \frac{f_1(sx_1,sx_2)}{f_2(sx_1,sx_2)} &= \frac{s^{k-1} f_1(x_1,x_2)}{s^{k-1} f_2(x_1,x_2)} &= \frac{f_1(x_1,x_2)}{f_2(x_1,x_2)} \end{aligned}

Thus, as with homogeneous functions, the scaling factor ss does not affect the slope of the level curve. This shows that the slope of the level curves of any homothetic function—a class that includes but is not limited to homogeneous functions—is not altered by proportional scaling of all its arguments.

References
  1. Lucas, R. E. (1990). Why Doesn’t Capital Flow from Rich to Poor Countries? American Economic Review, 80(2), 92–96.