# Partial Differentiation

We sometimes come across quantities that are functions of more than one independent variable. Thus, we may find a case where $y$ depends on two other variable quantities, one of which we will call $u$ and the other $v$. In symbols $dy = \frac{\partial y}{\partial u}\, du + \dfrac{\partial y}{\partial v}\, dv;$ $y = f(u, v).$ Take the simplest concrete case. Let $y = u×v.$ What are we to do? If we were to treat $v$ as a constant, and differentiate with respect to $u$, we should get $dy_v = v\, du;$ or if we treat $u$ as a constant, and differentiate with respect to $v$, we should have: $dy_u = u\, dv.$

The little letters here put as subscripts are to show which quantity has been taken as constant in the operation.

Another way of indicating that the differentiation has been performed only partially, that is, has been performed only with respect to one of the independent variables, is to write the differential coefficients with Greek deltas, like $\partial$, instead of little $d$. In this way \begin{align*} \frac{\partial y}{\partial u} &= v, \\ \frac{\partial y}{\partial v} &= u. \end{align*}

If we put in these values for $v$ and $u$ respectively, we shall have $dy_v = \frac{\partial y}{\partial u}\, du, \\ dy_u = \frac{\partial y}{\partial v}\, dv,$

which are partial differentials.

But, if you think of it, you will observe that the total variation of $y$ depends on both these things at the same time. That is to say, if both are varying, the real $dy$ ought to be written $dy = \frac{\partial y}{\partial u}\, du + \dfrac{\partial y}{\partial v}\, dv;$ and this is called a total differential. In some books it is written $dy = \left(\dfrac{dy}{du}\right)\, du + \left(\dfrac{dy}{dv}\right)\, dv$.

The first is obtained by supposing $y$ constant, the second is obtained by supposing $x$ constant; then $dw = (4ax+3by)\, dx + (3bx+12cy^2)\, dy.$

The variation when both the radius and the height change is given by $dV = \dfrac{2\pi}{3} rh\, dV + \dfrac{\pi}{3} r^2\, dh$.

This differential equation is of immense importance in mathematical physics.

## Maxima and Minima of Functions of two Independent Variables.

Let $x$ and $y$ be the length of two of the portions of the string. The third is $30-(x+y)$, and the area of the triangle is $A = \sqrt{s(s-x)(s-y)(s-30+x+y)}$, where $s$ is the half perimeter, $15$, so that $A = \sqrt{15P}$, where \begin{align*} P &= (15-x)(15-y)(x+y-15) \\ &= xy^2 + x^2y - 15x^2 - 15y^2 - 45xy + 450x + 450y - 3375. \end{align*}

Clearly $A$ is maximum when $P$ is maximum. $dP = \dfrac{\partial P}{\partial x}\, dx + \dfrac{\partial P}{\partial y}\, dy.$ For a maximum (clearly it will not be a minimum in this case), one must have simultaneously $\dfrac{\partial P}{\partial x} = 0 \quad\text{and}\quad \dfrac{\partial P}{\partial y} = 0;$ that is, \begin{aligned} 2xy - 30x + y^2 - 45y + 450 &= 0, \\ 2xy - 30y + x^2 - 45x + 450 &= 0. \end{aligned}

An immediate solution is $x=y$.

If we now introduce this condition in the value of $P$, we find $P = (15-x)^2 (2x-15) = 2x^3 - 75x^2 + 900x - 3375.$ For maximum or minimum, $\dfrac{dP}{dx} = 6x^2 - 150x + 900 = 0$, which gives $x=15$ or $x=10$.

Clearly $x=15$ gives minimum area; $x=10$ gives the maximum, for $\dfrac{d^2 P}{dx^2} = 12x - 150$, which is $+30$ for $x=15$ and $-30$ for $x=10$.

The truck is a rectangular box open at the top. Let $x$ be the length and $y$ be the width; then the depth is $\dfrac{V}{xy}$. The surface area is $S=xy + \dfrac{2V}{x} + \dfrac{2V}{y}$. $dS = \frac{\partial S}{\partial x}\, dx + \frac{\partial S}{\partial y}\, dy = \left(y - \frac{2V}{x^2}\right) dx + \left(x - \frac{2V}{y^2}\right) dy.$ For minimum (clearly it won't be a maximum here), $y - \frac{2V}{x^2} = 0,\quad x - \frac{2V}{y^2} = 0.$

Here also, an immediate solution is $x = y$, so that $S = x^2 + \dfrac{4V}{x}\quad$, $\dfrac{dS}{dx}= 2x - \dfrac{4V}{x^2} =0$ for minimum, and $x = \sqrt[3]{2V}.$

### Exercises XV

(1) Differentiate the expression $\dfrac{x^3}{3} - 2x^3y - 2y^2x + \dfrac{y}{3}$ with respect to $x$ alone, and with respect to $y$ alone.

(2) Find the partial differential coefficients with respect to $x$, $y$ and $z$, of the expression $x^2yz + xy^2z + xyz^2 + x^2y^2z^2.$

(3) Let $r^2 = (x-a)^2 + (y-b)^2 + (z-c)^2$.

Find the value of $\dfrac{\partial r}{\partial x} + \dfrac{\partial r}{\partial y} + \dfrac{\partial r}{\partial z}$. Also find the value of $\dfrac{\partial^2r}{\partial x^2} + \dfrac{\partial^2r}{\partial y^2} + \dfrac{\partial^2r}{\partial z^2}$.

(4) Find the total differential of $y=u^v$.

(5) Find the total differential of $y=u^3 \sin v$; of $y = (\sin x)^u$; and of $y = \dfrac{\log_\epsilon u}{v}$.

(6) Verify that the sum of three quantities $x$, $y$, $z$, whose product is a constant $k$, is maximum when these three quantities are equal.

(7) Find the maximum or minimum of the function $u = x + 2xy + y.$

(8) The post-office regulations state that no parcel is to be of such a size that its length plus its girth exceeds $6$ feet. What is the greatest volume that can be sent by post (a ) in the case of a package of rectangular cross section; (b ) in the case of a package of circular cross section.

(9) Divide $\pi$ into $3$ parts such that the continued product of their sines may be a maximum or minimum.

(10) Find the maximum or minimum of $u = \dfrac{\epsilon^{x+y}}{xy}$.

(11) Find maximum and minimum of $u = y + 2x - 2 \log_\epsilon y - \log_\epsilon x.$

(12) A telpherage bucket of given capacity has the shape of a horizontal isosceles triangular prism with the apex underneath, and the opposite face open. Find its dimensions in order that the least amount of iron sheet may be used in its construction.

### Answers

(1) $x^3 - 6x^2 y - 2y^2;\quad \frac{1}{3} - 2x^3 - 4xy$.

(2) $2xyz + y^2 z + z^2 y + 2xy^2 z^2$;
$2xyz + x^2 z + xz^2 + 2x^2 yz^2$;
$2xyz + x^2 y + xy^2 + 2x^2 y^2 z$.

(3) $\dfrac{1}{r} \{ \left(x - a\right) + \left( y - b \right) + \left( z - c \right) \} = \dfrac{ \left( x + y + z \right) - \left( a + b + c \right) }{r}$; $\dfrac{3}{r}$.

(4) $dy = vu^{v-1}\, du + u^v \log_\epsilon u\, dv$.

(5) $dy = 3\sin v u^2\, du + u^3 \cos v\, dv$,
$dy = u \sin x^{u-1} \cos x\, dx + (\sin x)^u \log_\epsilon \sin x du$,
$dy = \dfrac{1}{v}\, \dfrac{1}{u}\, du - \log_\epsilon u \dfrac{1}{v^2}\, dv$.

(7) Minimum for $x = y = -\frac{1}{2}$.

(8) (a ) Length $2$ feet, width = depth = $1$ foot, vol. = $2$ cubic feet. (b ) Radius = $\dfrac{2}{\pi}$ feet = $7.46$ in., length = $2$ feet, vol. = $2.54$.

(9) All three parts equal; the product is maximum.

(10) Minimum for $x = y = 1$.

(11) Min.: $x = \frac{1}{2}$ and $y = 2$.

(12) Angle at apex $= 90°$; equal sides = length = $\sqrt[3]{2V}$.

Next →
Main Page ↑