Home

How to Use a Partial Derivative to Measure a Slope in Three Dimensions

|
Updated:  
2016-03-26 18:02:13
|
Calculus II Workbook For Dummies
Explore Book
Buy On Amazon

You can use a partial derivative to measure a rate of change in a coordinate direction in three dimensions. To do this, you visualize a function of two variables z = f(x, y) as a surface floating over the xy-plane of a 3-D Cartesian graph. The following figure contains a sample function.

image0.jpg

Now take a look at the function z = y, shown here.

image1.jpg

As you can see, this function looks a lot like the sloped roof of a house. Imagine yourself standing on this surface. When you walk parallel with the y-axis, your altitude either rises or falls. In other words, as the value of y changes, so does the value of z. But when you walk parallel with the x-axis, your altitude remains the same; changing the value of x has no effect on z.

So intuitively, you expect that the partial derivative

image2.png

is 1. You also expect that the partial derivative

image3.png

is 0.

Calculating partial derivatives isn’t much more difficult than evaluating regular derivatives. Given a function z(x, y), the two partial derivatives are

image4.png

Here’s how you calculate them:

  • To calculate

    image5.png
  • treat y as a constant and use x as your differentiation variable.

  • To calculate

    image6.png
  • treat x as a constant and use y as your differentiation variable.

For example, suppose you’re given the equation z = 5x2y3. To find

image7.png

treat y as if it were a constant — that is, treat the entire factor 5y3 as if it’s one big constant — and differentiate x2:

image8.png

To find

image9.png

treat x as if it were a constant — that is, treat 5x2 as if it’s the constant — and differentiate y3:

image10.png

As another example, suppose that you’re given the equation z = 2ex sin y + ln x. To find

image11.png

treat y as if it were a constant and differentiate by the variable x:

image12.png

To find

image13.png

treat x as if it were a constant and differentiate by the variable y:

image14.png

As you can see, when differentiating by y, the ln x term is treated as a constant and drops away completely.

Returning to the earlier example — the “sloped-roof” function z = y — here are both partial derivatives of this function:

image15.png

As you can see, this calculation produces the predicted results.

About This Article

This article is from the book: 

About the book author:

Mark Zegarelli is a math tutor and author of several books, including Basic Math & Pre-Algebra For Dummies.