Multivariable Second Derivative Test
Partial Derivatives
Beyond a single variable
So far, we've looked at functions with a single input, like . The real world, however, is rarely so simple. A company's profit might depend on production costs and marketing spend. The temperature in a room depends on your location in it, maybe as coordinates . These are multivariable functions.
This raises a question: how do we measure the rate of change for a function with multiple inputs? The regular derivative won't work because it's designed for a single variable. Which variable should we focus on?
The answer is to look at them one at a time. Imagine you're adjusting an audio equalizer. To understand the effect of the bass, you change the bass slider while keeping the treble and midrange sliders fixed. You're isolating one variable to see its impact. Partial derivatives apply this same logic to mathematics.
Calculating partial derivatives
A partial derivative measures the rate of change of a multivariable function with respect to one variable, while holding all other variables constant.
Let's say we have a function . The partial derivative of with respect to is written as or . To calculate it, you simply treat as if it were a constant number, like 5 or -10, and then take the derivative with respect to as you normally would. The same process applies for finding the partial derivative with respect to , , where you treat as a constant.
To find a partial derivative, treat all variables except the one you're interested in as constants.
Let's try an example with the function . First, we'll find the partial derivative with respect to .
We differentiate term by term, treating as a constant.
- The derivative of with respect to is .
- For , we treat as a constant coefficient of . The derivative is just .
- For , since is treated as a constant, is also a constant. The derivative of a constant is 0.
Putting it together, we get:
Now, let's find the partial derivative with respect to , treating as a constant.
- The derivative of with respect to is 0, since is treated as a constant.
- For , we treat as a constant coefficient of . The derivative is .
- The derivative of with respect to is .
So, the result is:
The geometric picture
You might remember that the derivative of a single-variable function, , gives the slope of the line tangent to the curve at point . A partial derivative does something similar, but in three dimensions.
The graph of a function with two variables, , is a surface. Imagine this surface floating in a room. To find the partial derivative with respect to at a point , we slice the surface with a vertical plane where is held constant at . This slice creates a curve on the surface.
The partial derivative at is the slope of the line tangent to that specific curve at that point. It tells us how steep the surface is as we move purely in the x-direction.
Likewise, the partial derivative is the slope of the tangent line to the curve created by slicing the surface with a plane where is held constant. It tells you the steepness as you move purely in the y-direction.
These partial derivatives give us a way to analyze the local behavior of a complex surface by breaking it down into simple, one-dimensional slopes.
Partial derivatives help us to understand the behavior of a multivariate function when one variable changes while the rest are held constant.
Ready to test your understanding?
What is the fundamental concept behind calculating a partial derivative for a function with multiple variables?
Find the partial derivative of with respect to , denoted as .
Understanding how to isolate variables and calculate these slopes is a key first step in mastering the calculus of multiple variables.