Sie sind auf Seite 1von 5

Second-Order Partial Derivatives

Previously we have taken the partial derivative of a function f(x, y). But those partial
derivatives were themselves functions and so we can take their partial derivatives.


The Second-Order Partial Derivatives of z = f(x, y)

2
2
( )
x x
z z
xx
f f
x x x
c c c | |
= = =
|
c c c
\ .

2
( )
y x yx
z z
f f
x y x y
| | c c c
= = =
|
c c c c
\ .


2
( )
x y
z z
xy
f f
y x y x
c c c | |
= = =
|
c c c c
\ .

2
2
( )
y y yy
z z
f f
y y y
| | c c c
= = =
|
c c c
\ .





Example 1:

Compute the second-order partial derivatives of f(x, y) =x
2
y +5xsin(y).

Solution:

Notice that f
x
(x, y) =2xy +5sin(y) and f
y
(x, y) =x
2
+5xcos(y). Thus, we have that

f
xx
(x, y) =2y
f
xy
(x, y) =2x +5cos(y)
f
yx
(x, y) =2x +5cos(y)
f
yy
(x, y) =5xsin(y).


Notice that in Example 1 above, we have that f
xy
(x, y) =f
yx
(x, y). Indeed, this is
typically always the case. Thus, it does not matter if we take the partial derivative with
respect to x first or with respect to y first.


The Equality of Mixed Partial Derivatives

If f
xy
(x, y) and f
yx
(x, y) are continuous at (a, b), an interior point of their
domain, then ( , ) ( , )
xy yx
f a b f a b = .



1
We can visualize this statement in the following diagram.

z = fx,y
z
x
z
y
f
x
x,y
f
y
x,y
f
xy

x,y =f
yx
x,y
f
xx
x,y
f
yy
x,y


f
x
x
f
x
y
f
y
f
y
y
x

Figure 1: Equality of Mixed Partial Derivatives


Example 2:

Find all second-order partial derivatives of f(x, y) =ln(3x +5y).

Solution:

Notice that
3
( , )
3 5
x
f x y
x y
=
+
and
5
( , )
3 5
y
f x y
x y
=
+
. Thus, we have that


( )
1 2
2
3 9
( , ) 3(3 5 ) 9(3 5 )
3 5 (3 5 )
xx
f x y x y x y
x x y x x y

| | c c
= = + = + =
|
c + c +
\ .



( )
1 2
2
3 1
( , ) ( , ) 3(3 5 ) 15(3 5 )
3 5 (3 5 )
xy yx
f x y f x y x y x y
5
y x y y x y

| | c c
= = = + = + =
|
c + c +
\ .
.

( )
1 2
2
5 2
( , ) 5(3 5 ) 25(3 5 )
3 5 (3 5 )
yy
f x y x y x y
5
y x y y x y

| | c c
= = + = + =
|
c + c +
\ .
.



At this point, the reader might be wondering why we care about these second-order
partial derivatives. We shall see many applications of this in the near future as we seek to
determine maximum and minimum values, but for the time being, we can think of the
second-order partial derivative as telling us the rate of change of the rate of change of the
function. (No, there is a not a typo in that sentence.)

2
If we think back to a one-variable example, if s(t) measured the position of a particle
at time t, then we have that ( ) ( ) s t v t ' = measured the particles rate of change (velocity),
and measured the rate of change of the velocity (acceleration). ( ) ( ) ( ) s t v t a t '' ' = =

The same idea applies to a function of two variables, but now we can ask how does
the function change as the rate of change (in a particular direction, say x or y) changes in
another direction (either x or y).



Recall, we introduced Taylor polynomials as a way to better fit a polynomial to a
particular function at a point. The Degree 1 Taylor Polynomial approximation was just
the tangent line approximation that we saw quite a while ago. That is,

( ) ( ) ( )( ) f x f a f a x a ' ~ + for x near a

We saw that a Degree 2 Taylor Polynomial approximation did a better job
approximating the function. That is,

2
( )
( ) ( ) ( )( ) ( )
2
f a
f x f a f a x a x a
''
' ~ + + for x near a

Earlier in the chapter, we defined the local linearization for a function of two variables,
f(x, y), near the point (a, b) as

( , ) ( , ) ( , )( ) ( , )( )
x y
f x y f a b f a b x a f a b y b ~ + +

Using the same notation as we did when discussing Taylor Polynomials, we have the
following result:


Degree 1 Taylor Polynomial approximation of f(x, y) for (x, y) near (a, b)

If f(x, y) has continuous first-order partial derivatives, f
x
(x, y) and f
y
(x, y), then

( , ) ( , ) ( , )( ) ( , )( )
x y
f x y f a b f a b x a f a b y b ~ + +



As one might infer from the discussion above, we get a better approximation to the
function f(x, y) if instead we use a quadratic polynomial. In the same manner that we
constructed the Degree 2 Taylor Polynomial approximation for f(x) for x near a, we have
the following result:


3
Degree 2 Taylor Polynomial approximation of f(x, y) for (x, y) near (a, b)

If f(x, y) has continuous second-order partial derivatives, then

2 2
( , ) ( , ) ( , )( ) ( , )( )
( , )
( , )
( ) ( , )( )( ) ( )
2 2
x y
yy
xx
xy
f x y f a b f a b x a f a b y b
f a b
f a b
x a f a b x a y b y b
~ + +
+ + +




One can check that the first- and second-order partial derivatives of both sides are
equal, ensuring that our polynomial is a close approximation to the true function.


Example 3:

Find the Degree 1 and Degree 2 Taylor Polynomials for f(x, y) =x
2
+xy +y
2
at the
point (1, 2). What do you notice about the Degree 2 approximation?

Solution:

It will probably be easiest to put all of this information in a table.

2 2
Function Equation Value at (1,2) Function Equation Value at (1,2)
( , ) 7 ( , ) 2 2
( , ) 2 4 ( , ) 1 1
( , ) 2 5 ( , ) 2 2
xx
x xy
y yy
f x y x xy y f x y
f x y x y f x y
f x y x y f x y
+ +
+
+


Using the above table, we see that the Degree 1 Taylor Polynomial approximation for
f(x, y) near (1, 2) is given by 7 +4(x 1) +5(y 2) =7 +4x +5y.

The Degree 2 Taylor Polynomial approximation for f(x, y) near (1, 2) is given by


2 2
2 2
2 2
2 2
2 2
7 4( 1) 5( 2) ( 1) 1( 1)( 2) ( 2)
2 2
7 4 4 5 10 ( 1) ( 1)( 2) ( 2)
7 4 4 5 10 2 1 2 2 4 4

x y x x y y
x y x x y y
x y x x xy x y y y
x xy y
+ + + + +
= + + + + +
= + + + + + + + +
= + +


We remark that the Degree 2 Taylor Polynomial approximation for f(x, y) is precisely
the function f(x, y). This is because f(x, y) does not contain any powers greater than 2.


4
Example 4:

Find the Degree 2 Taylor Polynomial for the function
1
( , ) f x y
xy
= at the point (2, 3).

Solution:

Again, we construct a table similar to that in Example 3.

3
2 2 2
2 3
Function Equation Value at (2,3) Function Equation Value at (2,3)
( , ) 1( ) 16 ( , ) 2 ( ) 112
( , ) 1 ( ) 112 ( , ) 1 ( ) 136
( , ) 1 ( ) 118 ( , ) 2 ( ) 127
xx
x xy
y yy
f x y xy f x y x y
f x y x y f x y x y
f x y xy f x y xy




Thus, the Degree 2 Taylor Polynomial approximation for f(x, y) near (1, 2) is given by


2 2
1 1 1 1 1 1
( 2) ( 3) ( 2) ( 2)( 3) ( 3)
6 12 18 24 36 54
x y x x y y + + + .

5

Das könnte Ihnen auch gefallen