Listen to this text
 Listen to this text
 Listen to this text
CHAPTER XVI.
PARTIAL DIFFERENTIATION.

We sometimes come across quantities that are functions of more than one independent variable. Thus, we may find a case where ${\displaystyle y}$ depends on two other variable quantities, one of which we will call ${\displaystyle u}$ and the other ${\displaystyle v}$. In symbols

${\displaystyle y=f(u,v)}$.

Take the simplest concrete case.

Let

${\displaystyle y=u\times v}$.

What are we to do? If we were to treat ${\displaystyle v}$ as a constant, and differentiate with respect to ${\displaystyle u}$, we should get

${\displaystyle dy_{v}=vdu}$;

or if we treat ${\displaystyle u}$ as a constant, and differentiate with respect to ${\displaystyle v}$, we should have:

${\displaystyle dy_{u}=udv}$.

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 ${\displaystyle \partial }$, instead of little ${\displaystyle d}$. In this way

{\displaystyle {\begin{aligned}{\frac {\partial y}{\partial u}}&=v,\\{\frac {\partial y}{\partial v}}&=u.\end{aligned}}}

If we put in these values for ${\displaystyle v}$ and ${\displaystyle u}$ respectively, we shall have

{\displaystyle \left.{\begin{aligned}dy_{v}={\frac {\partial y}{\partial u}}\,du,\\dy_{u}={\frac {\partial y}{\partial v}}\,dv,\end{aligned}}\right\}\;}which are partial differentials.

But, if you think of it, you will observe that the total variation of ${\displaystyle y}$ depends on both these things at the same time. That is to say, if both are varying, the real ${\displaystyle dy}$ ought to be written

${\displaystyle 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 ${\displaystyle dy=\left({\dfrac {dy}{du}}\right)\,du+\left({\dfrac {dy}{dv}}\right)\,dv}$.

Example (1). Find the partial differential coefficients of the expression ${\displaystyle w=2ax^{2}+3bxy+4cy^{3}}$. The answers are:

{\displaystyle \left.{\begin{aligned}{\frac {\partial w}{\partial x}}&=4ax+3by.\\{\frac {\partial w}{\partial y}}&=3bx+12cy^{2}.\end{aligned}}\right\}}

The first is obtained by supposing ${\displaystyle y}$ constant, the second is obtained by supposing ${\displaystyle x}$ constant; then

${\displaystyle dw=(4ax+3by)\,dx+(3bx+12cy^{2})\,dy}$.

Example (2). Let ${\displaystyle z=x^{y}}$. Then, treating first ${\displaystyle y}$ and then ${\displaystyle x}$ as constant, we get in the usual way

{\displaystyle \left.{\begin{aligned}{\dfrac {\partial z}{\partial x}}&=yx^{y-1},\\{\dfrac {\partial z}{\partial y}}&=x^{y}\times \log _{\epsilon }x,\end{aligned}}\right\}}

so that ${\displaystyle dz=yx^{y-1}\,dx+x^{y}\log _{\epsilon }x\,dy}$.

Example (3). A cone having height ${\displaystyle h}$ and radius of base ${\displaystyle r}$ has volume ${\displaystyle V={\frac {1}{3}}\pi r^{2}h}$. If its height remains constant, while ${\displaystyle r}$ changes, the ratio of change of volume, with respect to radius, is different from ratio of change of volume with respect to height which would occur if the height were varied and the radius kept constant, for

{\displaystyle \left.{\begin{aligned}{\frac {\partial V}{\partial r}}&={\dfrac {2\pi }{3}}rh,\\{\frac {\partial V}{\partial h}}&={\dfrac {\pi }{3}}r^{2}.\end{aligned}}\right\}}

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

Example (4). In the following example ${\displaystyle F}$ and ${\displaystyle f}$ denote two arbitrary functions of any form whatsoever. For example, they may be sine-functions, or exponentials, or mere algebraic functions of the two independent variables, ${\displaystyle t}$ and ${\displaystyle x}$. This being understood, let us take the expression

{\displaystyle {\begin{aligned}y&=F(x+at)+f(x-at),\\{\text{or,}}\;\quad y&=F(w)+f(v);\\{\text{where}}\;\quad w&=x+at,\quad {\text{and}}\quad v=x-at.\\{\text{Then}}\;\quad {\frac {\partial y}{\partial x}}&={\frac {\partial F(w)}{\partial w}}\cdot {\frac {\partial w}{\partial x}}+{\frac {\partial f(v)}{\partial v}}\cdot {\frac {\partial v}{\partial x}}\\&=F'(w)\cdot 1+f'(v)\cdot 1\end{aligned}}}

(where the figure ${\displaystyle 1}$ is simply the coefficient of ${\displaystyle x}$ in ${\displaystyle w}$ and ${\displaystyle v}$);

{\displaystyle {\begin{aligned}{\text{and}}\;\ {\frac {\partial ^{2}y}{\partial x^{2}}}&=F''(w)+f''(v).&&\\{\text{Also}}\;\ {\frac {\partial y}{\partial t}}&={\frac {\partial F(w)}{\partial w}}\cdot {\frac {\partial w}{\partial t}}+{\frac {\partial f(v)}{\partial v}}\cdot {\frac {\partial v}{\partial t}}\\&=F'(w)\cdot a-f'(v)a;\\{\text{and}}\;\ {\frac {\partial ^{2}y}{\partial t^{2}}}&=F''(w)a^{2}+f''(v)a^{2};\\{\text{whence}}\;\ {\frac {\partial ^{2}y}{\partial t^{2}}}&=a^{2}\,{\frac {\partial ^{2}y}{\partial x^{2}}}.\end{aligned}}}

This differential equation is of immense importance in mathematical physics.

Maxima and Minima of Functions of two Independent Variables.

Example (5). Let us take up again Exercise IX. p. 110, No. 4.

Let ${\displaystyle x}$ and ${\displaystyle y}$ be the length of two of the portions of the string. The third is ${\displaystyle 30-(x+y)}$, and the area of the triangle is ${\displaystyle A={\sqrt {s(s-x)(s-y)(s-30+x+y)}}}$, where ${\displaystyle s}$ is the half perimeter, ${\displaystyle 15}$, so that ${\displaystyle A={\sqrt {15P}}}$, where

{\displaystyle {\begin{aligned}P&=(15-x)(15-y)(x+y-15)\\&=xy^{2}+x^{2}y-15x^{2}-15y^{2}-45xy+450x+450y-3375.\end{aligned}}}

Clearly ${\displaystyle A}$ is maximum when ${\displaystyle P}$ is maximum.

${\displaystyle 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

${\displaystyle {\dfrac {\partial P}{\partial x}}=0\quad {\text{and}}\quad {\dfrac {\partial P}{\partial y}}=0}$;

that is,

{\displaystyle \left.{\begin{aligned}2xy-30x+y^{2}-45y+450&=0,\\2xy-30y+x^{2}-45x+450&=0.\end{aligned}}\right\}}

An immediate solution is ${\displaystyle x=y}$.

If we now introduce this condition in the value of ${\displaystyle P}$, we find

${\displaystyle P=(15-x)^{2}(2x-15)=2x^{3}-75x^{2}+900x-3375}$.

For maximum or minimum, ${\displaystyle {\dfrac {dP}{dx}}=6x^{2}-150x+900=0}$, which gives ${\displaystyle x=15}$ or ${\displaystyle x=10}$.

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

Example (6). Find the dimensions of an ordinary railway coal truck with rectangular ends, so that, for a given volume ${\displaystyle V}$ the area of sides and floor together is as small as possible.

The truck is a rectangular box open at the top. Let ${\displaystyle x}$ be the length and ${\displaystyle y}$ be the width; then the depth is ${\displaystyle {\dfrac {V}{xy}}}$. The surface area is ${\displaystyle S=xy+{\dfrac {2V}{x}}+{\dfrac {2V}{y}}}$.

${\displaystyle 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),

${\displaystyle y-{\frac {2V}{x^{2}}}=0,\quad x-{\frac {2V}{y^{2}}}=0}$.

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

${\displaystyle x={\sqrt[{3}]{2V}}}$.

Exercises XV. (See page 262 for Answers.)

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

(2) Find the partial differential coefficients with respect to ${\displaystyle x}$, ${\displaystyle y}$ and ${\displaystyle z}$, of the expression

${\displaystyle x^{2}yz+xy^{2}z+xyz^{2}+x^{2}y^{2}z^{2}}$.

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

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

(4) Find the total differential of ${\displaystyle y=u^{v}}$.

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

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

(7) Find the maximum or minimum of the function

${\displaystyle 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 ${\displaystyle 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 ${\displaystyle \pi }$ into ${\displaystyle 3}$ parts such that the continued product of their sines may be a maximum or minimum.

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

(11) Find maximum and minimum of

${\displaystyle 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.