Вы находитесь на странице: 1из 9

Review: Partial Differentiation

Suppose f is a function of two, or more, independent variables. At each


point within its domain, the function could have different instantaneous rates
of change, in different directions we trace. These directional derivatives
could be computed using the instantaneous rates of change of f along the
directions of the coordinate axes (of the independent variables): the rates of
change along those principal directions are called the partial derivatives of
f.

For a function of two independent variables, f (x, y), the partial derivative of f
with respect to x can be found by applying all the usual rules of
differentiation. The only exception is that, whenever and wherever the
second variable y appears, it is treated as a constant in every respect. The
partial derivative of f with respect to y can similarly be found by treating x as
a constant whenever it appears.

For a function of more than two independent variables, the same method
applies. Its partial derivative with respect to, say, the variable x, can be
obtained by differentiating it with respect to x, using all the usual rules of
differentiation. Except that all the other independent variables, whenever
and wherever they occur in the expression of f, are treated as constants.


Notations of partial derivatives:

Partial derivative of f
w.r.t. x
x
f


f
x

Partial derivative of f
w.r.t. y
y
f


f
y

is analogous to this
familiar notation
x d
f d
f



Example: Suppose f (x, y) = x
9
y
8
+ 2x + y
3
. Then


f
x
= 9x
8
y
8
+ 2,

f
y
= 8x
9
y
7
+ 3y
2
.




Example: Suppose f (x, y) = e
xy
ln(xy) + y
2
sin(4x) + 2x
3
5y. Then

2 2
6 ) 4 cos( 4
1
x x y
x
ye f
xy
x
+ + =
,


5 ) 4 sin( 2
1
+ = x y
y
xe f
xy
y .




Higher Order Partial Derivatives


A partial derivative of f could be differentiated again with respect to any of
its independent variables. The result is a second partial derivative. Third,
fourth, and higher order partial derivatives could similarly be obtained by
repeated differentiations. The higher order partial derivatives need not to be
derived from f with respect to the same variable. We can differentiate f with
respect to a different independent variable than the previous one at each step.
For example, consider a function of two independent variables, f (x, y). It
has 4 possible second partial derivatives: ones that are obtained by
differentiating it w.r.t. x twice, w.r.t. y twice, w.r.t. x first then y, and w.r.t. y
first then x.



Notations (of second partial derivatives):

w.r.t. x twice
2
2
x
f
x
f
x

f
xx

w.r.t. y twice
2
2
y
f
y
f
y

f
yy

w.r.t. x, then y
x y
f
x
f
y

2
f
xy

w.r.t. y, then x
y x
f
y
f
x

2
f
yx




Example: Continue with the last example

f (x, y) = e
xy
ln(xy) + y
2
sin(4x) + 2x
3
5y,

2 2
6 ) 4 cos( 4
1
x x y
x
ye f
xy
x
+ + =
, and
5 ) 4 sin( 2
1
+ = x y
y
xe f
xy
y .



x x y
x
e y f
x
f
xy
x xx
12 ) 4 sin( 16
1
2
2
2
+ + =

=


) 4 sin( 2
1
2
2
x
y
e x f
y
f
xy
y yy
+ + =

=



) 4 cos( 8 ) ( x y xye e f
y
f
xy xy
x xy
+ + =

=



) 4 cos( 8 ) ( x y xye e f
x
f
xy xy
y yx
+ + =

=



Notice that the two mixed second partial derivatives are the same. This is
not a coincident. It is generalized in the following theorem, by Alexis
Clairaut.



Theorem: Suppose f is defined on a disc D, which contains the point (a, b).
If the partial derivatives f
xy
and f
yx
are both continuous on D, then

f
xy
(a, b) = f
yx
(a, b).



By successively applying the above theorem, we see that, in general, the
order in which partial differentiations are performed does not matter. What
is important for higher order partial derivatives is, collectively, the total
number of times with respect to each of the independent variables that the
function is differentiated to obtain the said higher order partial derivative.
This fact is best illustrated with an example.

Example: Given a function of two variables, f (x, y), the following fifth order
partial derivatives are identical. They are all obtained by differentiating f
with respect to x three times and y twice.

f
xxxyy
, f
xyxyx
, f
yyxxx
, f
yxyxx
.

But they are different from either f
xxxxy
(obtained by differentiating w.r.t. x 4
times, and y once), or f
yxyxy
(w.r.t. x twice, and y 3 times).




The Chain Rule


A version (when x and y are themselves functions of a third variable t) of the
Chain Rule of partial differentiation:

Given a function of two variables f (x, y), where x =g(t) and y = h(t)
are, in turn, functions of a third variable t. The partial derivative of f,
with respect to t, is

dt
dy
y
f
dt
dx
x
f
dt
df

=
.


In the special case where the parameter t is x (i.e. x = t), and y is,
therefore, an implicit function of x, i.e. y = h(x). The above becomes

x d
dy
y
f
x
f
dx
dy
y
f
dx
dx
x
f
x d
f d

=
.


Integration


To integrate a multi-variable function with respect to one of its independent
variables, the same principle applies: treat all other independent variable(s)
as constant(s), and integrate as usual. The only nuance is, again, arising
from this treatment, as constants, of the other independent variable(s). To
wit, the constant of integration when integrating with respect to, say x, is
no longer necessarily an actual number. Instead, it could be, and usually is,
a function consists of the other independent variable(s). This is due to the
fact that when the integrand was originally derived by partial differentiation,
any and all terms not containing x, but could have contained other variables,
became zero. Therefore, when reversing the partial differentiation process
via integration, we must account for those missing terms.


Example: Suppose
7 9 ) , (
2
+ = x
y
x
y x f
. Then


) ( 7 3
2
1
7 9 ) , (
3 2 2
y C x x x
y
dx x
y
x
dx y x f + + =

+ =

,


) ( 7 9 ln 7 9 ) , (
2 2
x C y y x y x dy x
y
x
dy y x f + + =

+ =

.


Exercises:

1 5 For each function below find all of its first and second partial
derivatives.
1. f (x, y) = x
5
y
10


2. f (x, y) = cos(xy)

3. f (x, y) = 6 + 3x 7y
3


4. f (x, y) = ye
x
x
2
y
2
+ tan(y)

5. f (x, y, z) = x + 2y
2
+ 3z
3


6. Find all distinct third partial derivatives of f (x, y) = x
5
y
10
.

7 10 Integrate each function (a) with respect to x, and (b) with respect to y.
7. f (x, y) = x
5
y
10


8. f (x, y) = 2x sin(x
2
) 2y

9. f (x, y) = ye
x
x
2
y
2
+ tan(y)

10. f (x, y) = e
xy
+ x + 3

Answers:

1. f
x
= 5x
4
y
10
, f
y
= 10x
5
y
9
, f
xx
= 20x
3
y
10
, f
yy
= 90x
5
y
8
, f
xy
= 50x
4
y
9
= f
yx
.
2. f
x
= y sin(xy), f
y
= x sin(xy), f
xx
= y
2
cos(xy), f
yy
= x
2
cos(xy),
f
xy
= sin(xy) xy cos(xy) = f
yx
.
3. f
x
= 3, f
y
= 21y
2
, f
xx
= 0, f
yy
= 42y, f
xy
= 0 = f
yx
.
4. f
x
= ye
x
2xy
2
, f
y
= e
x
+ 2x
2
y
3
+ sec
2
(y), f
xx
= ye
x
2y
2
,
f
yy
= 6x
2
y
4
+ 2sec
2
(y) tan(y), f
xy
= e
x
+ 4xy
3
= f
yx
.
5. f
x
= 1, f
y
= 2y, f
z
= 3z
2
, f
xx
= 0, f
yy
= 2, f
zz
= 6z, f
xy
= f
yx
= f
xz
= f
zx
=
f
yz
= f
zy
= 0.
6. f
xxx
= 60x
2
y
10
, f
yyy
= 720x
5
y
7
, f
xxy
= 200x
3
y
9
, f
xyy
= 450x
4
y
8
.
7. (a)
) (
6
1
10 6
y C y x +
(b)
) (
11
1
11 5
x C y x +

8. (a) cos(x
2
) 2xy + C(y) (b) 2xy sin(x
2
) y
2
+ C(x)
9. (a)
) ( ) tan(
3
2
3
y C y x
y
x
ye
x
+ +
(b)
) ( cos ln
2
2 2
x C y
y
x
e
y
x
+ +

10. (a)
) ( 3
2
1
2
y C x
x
e
y
xy
+ + +
(b)
) ( 3
1
x C y xy e
x
xy
+ + +

Вам также может понравиться