13 Partial Differentiation
13 Partial Differentiation
Let us suppose that we have the equation for a paraboloid with an elliptical cross-section,
such as z = x2 + 4y2 . In this case we have the function of two independent variables and its graph is a
3-dimensional surface. We need to be able to differentiate z with respect to either x or y.
If we treat one of the variables, say the y , as a constant, then we can treat z as the function of just
one variable , x. We can then calculate the derivative of z with respect to x.
z
This derivative is called the partial derivative of z with respect to x and is denoted by .
x
z
If we treat x as a constant then we can treat z as a function of y and we can then calculate the
y
partial derivative of z with respect to y.
Example 1. If z = x2 + 4y2
z
then = 2x (since y is treated as a constant and the derivative of a
x
constant is zero, the derivative of 4y2 is zero)
z
and = 8y (since x is treated as a constant and the derivative of a
y
constant is zero, the derivative of x2 is zero)
f
then = y2 sin(xy) + xy2 y cos(xy) (applying the product rule)
x
= y sin(xy) + xy3 cos(xy)
f
and = 2xy sin(xy) + xy2 x cos(xy) (applying the product rule)
y
= 2xy sin(xy) + x2 y2 cos(xy)
See Exercise 1
fx = 2xy3 + 2 cos y
fy = 3x2 y2 - 2x sin y
See Exercise 2
Exercise 2
1. Find the first and second order partial derivatives of the following.
Answers
Exercise 1
z z z z z z
1. (a) = 12x3 = 6y2 (b) = 2xy = x2 (c) = 3e2y = 6xe2y
x y x y x y
z 3x 2 y 5 z 5x3 y 4
(d) = = 3 5
x x3 y5 2 y x y 2
2. (a) 32 (b) 1.5
Exercise 2
x x 1
1. (a) fx = ln y fy = fxx = 0 fyy = fxy = fyx =
y y2 y
(b) fx = 3x2 + 2xy - 3y2 fy = x2 - 6xy + 3y2 fxx = 6x + 2y fyy = - 6x + 6y fxy = fyx = 2x - 6y
(c) fx = y cos (xy) fy = x cos(xy) fxx = - y2 sin(xy) fyy = - x2 sin(xy) fxy = fyx = - xy sin(xy)
(d) fx = cos y + yex fy = - x sin y + ex fxx = yex fyy = - x cos y fxy = fyx = ex - sin y