Next: Higher Derivatives
Up: Differentiation of Functions of
Previous: Continuity
  Contents
  Index
The usual rules for differentiation apply when dealing with several
variables, but we now require to treat the variables one at a time,
keeping the others constant. It is for this reason that a new symbol
for differentiation is introduced. Consider the function
f (
x,
y) =
We can consider y fixed, and so treat it as a constant, to get a partial derivative

=
where we have differentiated with respect to x as usual. Or we can
treat x as a constant, and differentiate with respect to y, to get
Although a partial derivative is itself a function of several
variables, we often want to evaluate it at some fixed point, such as
(x0, y0). We thus often write the partial derivative as

(
x0,
y0).
There are a number of different notations in use to try to help understanding in different situations. All of the following mean the same thing:-

(
x0,
y0),
f1(
x0,
y0),
fx(
x0,
y0) and
D1F(
x0,
y0).
Note also that there is a simple definition of the derivative in terms of a Newton quotient:-
provided of course that the limit exists.
Example 8.5
Let
z = sin(
x/
y). Compute
x
+
y
.
Solution. Treating first y and then x as constants, we have
thus
Note:This equation is an equation satisfied by the function we started
with, which involves both the function, and its partial
derivatives. We shall meet a number of examples of such a
partial differential equation later.
Exercise 8.6
Let
z = log(
x/
y). Show that
x
+
y
= 0.
The fact that the last two function satisfy the same differential equation is not a co-incidence. With our next result, we can see that for
any suitably differentiable function
f, the function
z(
x,
y) =
f (
x/
y) satisfies this partial differential equation.
Exercise 8.7
Let
z =
f (
x/
y), where
f is suitably differentiable. Show that
x
+
y
= 0.
Because the definitions are really just version of the 1-variable result, these examples are quite typical; most of the usual rules for differentiation apply in the obvious way to partial derivatives exactly as you would expect. But there are variants. Here is how we differentiate compositions.
Theorem 8.8
Assume that
f and all its partial derivatives
fx and
fy are continuous, and that
x =
x(
t) and
y =
y(
t) are themselves differentiable functions of
t. Let
F(t) = f (x(t), y(t)).
Then
F is differentiable and
Proof.
Write
x =
x(
t),
x0 =
x(
t0) etc. Then we calculate the Newton quotient for
F.
| F(t) - F(t0) |
= |
f (x, y) - f (x0, y0) |
|
| |
= |
f (x, y) - f (x0, y) + f (x0, y) - f (x0, y0) |
|
| |
= |
( , y)(x - x0) + (x0, )(y - y0) |
|
Here we have used the Mean Value Theorem (
5.18) to write
f (
x,
y) -
f (
x0,
y) =

(

,
y)(
x -
x0)
for some point

between
x and
x0, and have argued similarly for the other part. Note that

, pronounced ``Xi'' is the Greek letter ``x''; in the same way

, pronounced ``Eta'' is the Greek letter ``y''.
Thus
Now let
t
t0, and note that in this case,
x
x0 and
y
y0; and since

and

are trapped between
x and
x0, and
y and
y0 respectively, then also

x0 and

y0. The result then follows from the continuity of the partial derivatives.
Example 8.9
Let
f (
x,
y) =
xy, and let
x = cos
t,
y = sin
t. Compute

when
t =

/2.
Solution. From the chain rule,

=


+


= -
y(
t)sin
t +
x(
t)cos
t = - 1.sin(

/2) = - 1.
The chain rule easily extends to the several variable case; only the notation is complicated. We state a typical example
Proposition 8.10
Let
x =
x(
u,
v),
y =
y(
u,
v) and
z =
z(
u,
v), and let
f be a function defined on a subset
U
3, and suppose that all the partial derivatives of
f are continuous. Write
F(u, v) = f (x(u, v), y(u, v), z(u, v)).
Then
The introduction of the domain of f above, simply to show it was a function of three variables is clumsy. We often do it more quickly by saying
Let f (x, y, z) have continuous partial derivatives
This has the advantage that you are reminded of the names of the
variables on which f acts, although strictly speaking, these names
are not bound to the corresponding places. This is an example where we
adopt the notation which is very common in engineering maths. But note
the confusion if you ever want to talk about the value f (y, z, x),
perhaps to define a new function g(x, y, z).
Example 8.11
Assume that
f (
u,
v,
w) has continuous partial derivatives, and that
u = x - y, v = y - z w = z - x.
Let
F(x, y, z) = f (u(x, y, z), v(x, y, z), w(x, y, z)).
Show that
Solution. We apply the chain rule, noting first that from the change of variable
formulae, we have
Then
 |
= |
.1 + .0 + . - 1 = -  |
|
 |
= |
. - 1 + .1 + .0 = - +  |
|
 |
= |
.0 + . - 1 + .1 = - +  |
|
Adding then gives the result claimed.
Next: Higher Derivatives
Up: Differentiation of Functions of
Previous: Continuity
  Contents
  Index
Ian Craw
2002-01-07