
with respect to x we work as follows. By the sum rule we know that we can differentiate each part sep-
arately and add. Now, when we differentiate x
2
with respect to x we get 2x. However, when we differ-
entiate y
3
with respect to x we get 0. To see this, note from the definition of partial differentiation with
respect to x that the variable y is held constant. Of course, if y is a constant then so is y
3
and, as we dis-
covered in Chapter 4, constants differentiate to zero. Hence
= 2x + 0 = 2x
In the same way
= 0 + 3y
2
= 3y
2
This time x is held constant, so x
2
goes to zero, and when we differentiate y
3
with respect to y we get 3y
2
.
(b) To differentiate the function
f(x, y) = x
2
y
with respect to x, we differentiate in the normal way, taking x as the variable while pretending that y is
a constant. Now, when we differentiate a constant multiple of x
2
we differentiate x
2
to get 2x and then
multiply by the constant. For example,
7x
2
differentiates to 7(2x) = 14x
−100x
2
differentiates to −100(2x) =−200x
and
cx
2
differentiates to c(2x) = 2cx
for any constant c. In our case, y, plays the role of a constant, so
x
2
y differentiates to (2x)y = 2xy
Hence
f
x
= 2xy
Similarly, to find f
y
we treat y as the variable and x as a constant in the expression
f(x, y) = x
2
y
Now, when we differentiate a constant multiple of y we just get the constant, so cy differentiates to c. In
our case, x
2
plays the role of c, so x
2
y differentiates to x
2
. Hence
f
y
= x
2
∂f
∂y
∂f
∂x
5.1 • Functions of several variables
347
Practice Problem
2 Find expressions for the first-order partial derivatives for the functions
(a)
f(x, y) = 5x
4
− y
2
(b) f(x, y) = x
2
y
3
− 10x
In general, when we differentiate a function of two variables, the thing we end up with is
itself a function of two variables. This suggests the possibility of differentiating a second time.
In fact there are four second-order partial derivatives. We write
MFE_C05a.qxd 16/12/2005 10:40 Page 347