<< Chapter < Page Chapter >> Page >

Use the definition of the partial derivative as a limit to calculate f / x and f / y for the function

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

f x = 8 x + 2 y + 3 , f y = 2 x 2 y 2

Got questions? Get instant answers now!

The idea to keep in mind when calculating partial derivatives is to treat all independent variables, other than the variable with respect to which we are differentiating, as constants. Then proceed to differentiate as with a function of a single variable. To see why this is true, first fix y and define g ( x ) = f ( x , y ) as a function of x . Then

g ( x ) = lim h 0 g ( x + h ) g ( x ) h = lim h 0 f ( x + h , y ) f ( x , y ) h = f x .

The same is true for calculating the partial derivative of f with respect to y . This time, fix x and define h ( y ) = f ( x , y ) as a function of y . Then

h ( x ) = lim k 0 h ( x + k ) h ( x ) k = lim k 0 f ( x , y + k ) f ( x , y ) k = f y .

All differentiation rules from Introduction to Derivatives apply.

Calculating partial derivatives

Calculate f / x and f / y for the following functions by holding the opposite variable constant then differentiating:

  1. f ( x , y ) = x 2 3 x y + 2 y 2 4 x + 5 y 12
  2. g ( x , y ) = sin ( x 2 y 2 x + 4 )
  1. To calculate f / x , treat the variable y as a constant. Then differentiate f ( x , y ) with respect to x using the sum, difference, and power rules:
    f x = x [ x 2 3 x y + 2 y 2 4 x + 5 y 12 ] = x [ x 2 ] x [ 3 x y ] + x [ 2 y 2 ] x [ 4 x ] + x [ 5 y ] x [ 12 ] = 2 x 3 y + 0 4 + 0 0 = 2 x 3 y 4.

    The derivatives of the third, fifth, and sixth terms are all zero because they do not contain the variable x , so they are treated as constant terms. The derivative of the second term is equal to the coefficient of x , which is −3 y . Calculating f / y :
    f y = y [ x 2 3 x y + 2 y 2 4 x + 5 y 12 ] = y [ x 2 ] y [ 3 x y ] + y [ 2 y 2 ] y [ 4 x ] + y [ 5 y ] y [ 12 ] = −3 x + 4 y 0 + 5 0 = −3 x + 4 y + 5.

    These are the same answers obtained in [link] .
  2. To calculate g / x , treat the variable y as a constant. Then differentiate g ( x , y ) with respect to x using the chain rule and power rule:
    g x = x [ sin ( x 2 y 2 x + 4 ) ] = cos ( x 2 y 2 x + 4 ) x [ x 2 y 2 x + 4 ] = ( 2 x y 2 ) cos ( x 2 y 2 x + 4 ) .

    To calculate g / y , treat the variable x as a constant. Then differentiate g ( x , y ) with respect to y using the chain rule and power rule:
    g y = y [ sin ( x 2 y 2 x + 4 ) ] = cos ( x 2 y 2 x + 4 ) y [ x 2 y 2 x + 4 ] = x 2 cos ( x 2 y 2 x + 4 ) .
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Calculate f / x and f / y for the function f ( x , y ) = tan ( x 3 3 x 2 y 2 + 2 y 4 ) by holding the opposite variable constant, then differentiating.

f x = ( 3 x 2 6 x y 2 ) sec 2 ( x 3 3 x 2 y 2 + 2 y 4 ) f y = ( −6 x 2 y + 8 y 3 ) sec 2 ( x 3 3 x 2 y 2 + 2 y 4 )

Got questions? Get instant answers now!

How can we interpret these partial derivatives? Recall that the graph of a function of two variables is a surface in 3 . If we remove the limit from the definition of the partial derivative with respect to x , the difference quotient remains:

f ( x + h , y ) f ( x , y ) h .

This resembles the difference quotient for the derivative of a function of one variable, except for the presence of the y variable. [link] illustrates a surface described by an arbitrary function z = f ( x , y ) .

A complicated curve in xyz space with a secant line through the points (x, y, f(x, y)) and (x + h, y, f(x + h, y)).
Secant line passing through the points ( x , y , f ( x , y ) ) and ( x + h , y , f ( x + h , y ) ) .

In [link] , the value of h is positive. If we graph f ( x , y ) and f ( x + h , y ) for an arbitrary point ( x , y ) , then the slope of the secant line passing through these two points is given by

f ( x + h , y ) f ( x , y ) h .

This line is parallel to the x -axis. Therefore, the slope of the secant line represents an average rate of change of the function f as we travel parallel to the x -axis. As h approaches zero, the slope of the secant line approaches the slope of the tangent line.

Practice Key Terms 4

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Calculus volume 3. OpenStax CNX. Feb 05, 2016 Download for free at http://legacy.cnx.org/content/col11966/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Calculus volume 3' conversation and receive update notifications?

Ask