Lecture 2
Lecture 2
Lecture 2 in
ADVANCED MATHEMATICS
(Partial Derivatives)
Prepared by
MSc. Monther A. Dookhi
2024_2025
Chapter 2: Partial Derivatives MSc. Monther A. Dookhi
Chapter Two
PARTIAL DERIVATIVES
2…1….1. Definition
If z = f(x, y) and (x0, y0) is a point in the domain of f, then the partial derivative of f with re
spect to x at (x0, y0) [also called the partial derivative of z with respect to x at (x0, y0)] is the
derivative at x0 of the function that results when y = y0 is held fixed and x is allowed to vary.
This partial derivative is denoted by fx(x0, y0) and is given by
(1)
Similarly, the partial derivative of f with respect to y at (x0, y0) [also called the partial deriva-
tive of z with respect to y at (x0, y0)] is the derivative at y0 of the function that results when x
= x0 is held fixed and y is allowed to vary. This partial derivative is denoted by fy(x0, y0)
and is given by
(2)
Example 2.1 Find fx(1, 3) and fy(1, 3) for the function f(x, y) = 2x3y2 + 2y + 4x.
Solution: Since
Formulas (1) and (2) define the partial derivatives of a function at a specific point (x0, y0).
However, often it will be desirable to omit the subscripts and think of the partial derivatives
as functions of the variables x and y. These functions are
1
Chapter 2: Partial Derivatives MSc. Monther A. Dookhi
Example 2.2 Find fx(x, y) and fy(x, y) for f(x, y) = 2x3y2 + 2y + 4x, and use those partial de-
rivatives to compute fx(1, 3) and fy(1, 3).
Solution: Keeping y fixed and differentiating with respect to x yields
If z = f(x, y), then the partial derivatives fx and fy are also denoted by the symbols
Some typical notations for the partial derivatives of z = f(x, y) at a point (x0, y0) are
Recall that if y = f(x), then the value of f(x0) can be interpreted either as the rate of change of
y with respect to x at x0 or as the slope of the tangent line to the graph of f at x0. Partial deriva-
tives have analogous interpretations. To see that this is so, suppose that C1 is the intersection
of the surface z = f(x, y) with the plane y = y0 and that C2 is its intersection with the plane x =
x0 (below figure). Thus, fx(x, y0) can be interpreted as the rate of change of z with respect to x
2
Chapter 2: Partial Derivatives MSc. Monther A. Dookhi
along the curve C1, and fy(x0, y) can be interpreted as the rate of change of z with respect to y
along the curve C2. In particular, fx(x0, y0) is the rate of change of z with respect to x along the
curve C1 at the point (x0, y0), and fy(x0, y0) is the rate of change of z with respect to y along
the curve C2 at the point (x0, y0).
Example 2.5 Find the slope of the sphere x2 + y2 + z2 = 1 in the y-direction at the points (2/3,
1/3, 2/3) and (2/3, 1/3, -2/3) (see figure).
Solution: The point (2/3, 1/3, 2/3) lies on the upper hemisphere
𝑧 = √1 − 𝑥2 − 𝑦2, and the point (2/3, 1/3, -2/3) lies on the low- er
hemisphere 𝑧 = −√1 − 𝑥2 − 𝑦2. We could find the slopes by
differentiating each expression for z separately with respect to y
and then evaluating the derivatives at x = 2/3 and y = 1/3. Howev-
er, it is more efficient to differentiate the given equation
x2 + y2 + z2 = 1
3
Chapter 2: Partial Derivatives MSc. Monther A. Dookhi
To perform the implicit differentiation, we view z as a function of x and y and differentiate both
sides with respect to y, taking x to be fixed. The computations are as follows:
Substituting the y- and z-coordinates of the points (2/3, 1/3, 2/3) and (2/3, 1/3, -2/3) in this
expression, we find that the slope at the point (2/3, 1/3, 2/3) is -1/2 and the slope at (2/3, 1/3,
-2/3) is ½.
In contrast to the case of functions of a single variable, the existence of partial derivatives for
a multivariable function does not guarantee the continuity of the function. This fact is shown
in the following example.
Example 2.6 Let
(a) Show that fx(x, y) and fy(x, y) exist at all points (x, y).
(b) Explain why f is not continuous at (0, 0).
Solution (a):
Except that here we have assigned f a value of 0 at (0, 0). Except at this point, the partial de-
rivatives of f are
It is not evident from previous formula whether f has partial derivatives at (0, 0), and if so, what
the values of those derivatives are. To answer that question we will have to use the defi-nitions
of the partial derivatives (Definition). Applying previous formulas and we obtain
4
Chapter 2: Partial Derivatives MSc. Monther A. Dookhi
Solution (b):
For a function f(x, y, z) of three variables, there are three partial derivatives:
fx(x, y, z), fy(x, y, z), fz(x, y, z)
The partial derivative fx is calculated by holding y and z constant and differentiating with re-
spect to x. For fy the variables x and z are held constant, and for fz the variables x and y are
held constant. If a dependent variable
w = f(x, y, z)
is used, then the three partial derivatives of f can be denoted by
Example 2.7
Suppose that f is a function of two variables x and y. Since the partial derivatives ∂f/∂x and
∂f/∂y are also functions of x and y, these functions may themselves have partial derivatives.
This gives rise to four possible second-order partial derivatives of f, which are defined by
5
Chapter 2: Partial Derivatives MSc. Monther A. Dookhi
The last two cases are called the mixed second-order partial derivatives or the mixed second
partials. Also, the derivatives ∂f /∂x and ∂f /∂y are often called the first-order partial deriva-
tives when it is necessary to distinguish them from higher-order partial derivatives. Similar
conventions apply to the second-order partial derivatives of a function of three variables.
Example 2.8 Find the second-order partial derivatives of f(x, y) = x2y3 + x4y.
Solution: We have
Theorem Let f be a function of two variables. If fxy and fyx are continuous on some open disk,
then fxy = fyx on that disk.
6
Chapter 2: Partial Derivatives MSc. Monther A. Dookhi
If each function x = x(u, v), y = y(u, v), and z = z(u, v) has first-order partial derivatives at the
point (u, v), and if the function w = f(x, y, z) is differentiable at the point (x, y, z) = (x(u, v), y(u,
v), z(u, v)), then w = f(x(u, v), y(u, v), z(u, v)) has first-order partial derivatives at the point (u,
v) given by
Example2.9 Given that z = exy, x= 2u + v, y = u/v find ∂z/∂u and ∂z/∂v using the chain rule.
Solution:
7
Chapter 2: Partial Derivatives MSc. Monther A. Dookhi
Solution:
At the point (2/3, 1/3, 2/3), evaluating these derivatives gives ∂z/∂x = −1 and ∂z/∂y = −1/2.