Professional Documents
Culture Documents
0 PARTIAL DIFFERENTIATION
variables is c a 2 b 2 2ab cos
1
2
.
the domain of f .
Functions of three or more variables are defined in a similar manner.
df lim f lim f x x f x
.
dx x 0 x x 0 x
1
and this is a measure of the rate of change of the value of the function f (x ) with respect
to its variable x .
For a function of several variables, it is also useful to know how the function changes
when one, some or all of the variables change. To achieve this we define the partial
derivative of a function.
f
Likewise, the partial derivative, , of f ( x, y ) with respect to y is its derivative with
y
respect to y treating the value of x as being constant, so that:
Example1:
𝜕𝑓 𝜕𝑓
Find 𝜕𝑥 and 𝜕𝑦 where 𝑓(𝑥, 𝑦) is given by
a) 3𝑥 2 + 2𝑥𝑦 + 𝑦 3
b) (𝑦 2 + 𝑥) 𝑒 −𝑥𝑦
2
SOLUTION
a) 𝑓(𝑥, 𝑦) = 3𝑥 2 + 2𝑥𝑦 + 𝑦 3
𝜕𝑓
To find 𝜕𝑥, we differentiate 𝑓(𝑥, 𝑦) with respect to 𝑥 regarding 𝑦 as a constant.
Thus, we obtain
𝜕𝑓 𝜕 𝜕 𝜕
= 𝜕𝑥 (3𝑥 2 ) + 𝜕𝑥 (2𝑥𝑦) + 𝜕𝑥 (𝑦 3 )
𝜕𝑥
𝑑 𝑑
= 3 𝑑𝑥 (𝑥 2 ) + 2𝑦 𝑑𝑥 (𝑥) + 0
= 6𝑥 + 2𝑦
Similarly,
𝜕𝑓 𝜕 𝜕 𝜕
= 𝜕𝑦 (3𝑥 2 ) + 𝜕𝑦 (2𝑥𝑦) + 𝜕𝑦 (𝑦 3 )
𝜕𝑦
𝑑 𝑑
= 0 + 2𝑥 𝑑𝑦 (𝑦) + 𝑑𝑦 (𝑦 3 )
= 2𝑥 + 3𝑦 2
b) 𝑓(𝑥, 𝑦) = (𝑦 2 + 𝑥) 𝑒 −𝑥𝑦
Using the product rule, let 𝑢 = (𝑦 2 + 𝑥) and 𝑣 = 𝑒 −𝑥𝑦
Differentiating with respect to 𝑥 taking 𝑦 as a constant gives:
𝜕𝑓 𝜕𝑣 𝜕𝑢
= 𝑢 𝜕𝑥 + 𝑣 𝜕𝑥
𝜕𝑥
𝜕 𝜕
= (𝑦 2 + 𝑥) 𝜕𝑥 (𝑒 −𝑥𝑦 ) + (𝑒 −𝑥𝑦 ) 𝜕𝑥 (𝑦 2 + 𝑥)
3
Although, partial derivatives have been introduced here in the context of function of
two variables, the concept may be readily extended to obtain the partial derivatives of
a function of as many variables as we please.
Finding partial derivatives is no more difficult than finding derivatives of functions of
one variable, with the constant multiplication, sum, product and quotient rules having
counterparts for partial derivatives.
For function of two variables, there are four different second-order partial derivatives.
f f 2 f
The partial derivative with respect to x of is , usually abbreviated as
x x x x 2
or f xx . Similarly, taking two successful partial derivatives with respect to y gives us
f 2 f
f yy .
y y y 2
For mixed second-order partial derivative, one derivative is taken with respect to
f
each variable. If the first partial derivative is taken with respect to x , we have
y x
2 f
, abbreviated as or f x y f xy . If the first partial derivative is taken with respect
yx
f 2 f
to y , we have , abbreviated as , or f y x f yx .
x y xy
Example 2
Find all the second-order partial derivatives of 𝑓(𝑥, 𝑦) = 𝑥 2 𝑦 − 𝑦 3 + ln 𝑥.
Solution
First we compute all the first-order partial derivatives
𝜕𝑓 1
= 2𝑥𝑦 + 𝑥 and
𝜕𝑥
𝜕𝑓
= 𝑥 2 − 3𝑦 2
𝜕𝑦
Therefore
𝜕2 𝑓 𝜕 𝜕𝑓 𝜕
= 𝜕𝑥 (𝜕𝑥 ) = 𝑓𝑥𝑥 = 𝜕𝑥 (2𝑥𝑦 + 𝑥 −1 )
𝜕𝑥 2
1
= 2𝑥 − 𝑥 2
4
𝜕2 𝑓 𝜕 𝜕𝑓 𝜕 1
= 𝜕𝑦 (𝜕𝑥 ) = 𝑓𝑥𝑦 = 𝜕𝑦 (2𝑥𝑦 + 𝑥 ) = 2𝑥
𝜕𝑦𝜕𝑥
𝜕2 𝑓 𝜕 𝜕𝑓 𝜕
= 𝜕𝑥 (𝜕𝑦) = 𝑓𝑦𝑥 = 𝜕𝑥 (𝑥 2 − 3𝑦 2 ) = 2𝑥
𝜕𝑥𝜕𝑦
𝜕2 𝑓 𝜕 𝜕𝑓 𝜕
= 𝜕𝑦 (𝜕𝑦) = 𝑓𝑦𝑦 = 𝜕𝑦 (𝑥 2 − 3𝑦 2 ) = −6𝑦
𝜕𝑦 2
Theorem 1
If f xy ( x, y ) and f yx ( x, y ) are continuous on an open set containing (a, b) , then
f xy (a, b) f yx (a, b) .
Third -, fourth -, or even higher-order partial derivative can be taken. Theorem 1 can
be extended to show that as long as the partial derivative are all continuous in an open
set, the order (arrangement) of differentiation of higher mixed-order derivative does not
matter. Thus 𝑓𝑥𝑥𝑦 = 𝑓𝑥𝑦𝑥 = 𝑓𝑦𝑥𝑥 or 𝑓𝑥𝑦𝑦 = 𝑓𝑦𝑥𝑦 = 𝑓𝑦𝑦𝑥 as can be seen in the example
2 above.
3 f
With higher-order partial derivative, notation such as becomes quite awkward
xyx
and so, f xyx is usually used instead.
ASSIGNMENT 1