14.3: Partial Derivatives
( \newcommand{\kernel}{\mathrm{null}\,}\)
- Calculate the partial derivatives of a function of two variables.
- Calculate the partial derivatives of a function of more than two variables.
- Determine the higher-order derivatives of a function of two variables.
- Explain the meaning of a partial differential equation and give an example.
Now that we have examined limits and continuity of functions of two variables, we can proceed to study derivatives. Finding derivatives of functions of two variables is the key concept in this chapter, with as many applications in mathematics, science, and engineering as differentiation of single-variable functions. However, we have already seen that limits and continuity of multivariable functions have new issues and require new terminology and ideas to deal with them. This carries over into differentiation as well.
Derivatives of a Function of Two Variables
When studying derivatives of functions of one variable, we found that one interpretation of the derivative is an instantaneous rate of change of
Let
The partial derivative of
This definition shows two differences already. First, the notation changes, in the sense that we still use a version of Leibniz notation, but the
Use the definition of the partial derivative as a limit to calculate
Solution
First, calculate
Next, substitute this into Equation
To calculate
Next, substitute this into Equation
Use the definition of the partial derivative as a limit to calculate
- Hint
-
Use Equations
and from the definition of partial derivatives. - Answer
-
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
The same is true for calculating the partial derivative of
All differentiation rules apply.
Calculate
Solution:
a. To calculate
The derivatives of the third, fifth, and sixth terms are all zero because they do not contain the variable
These are the same answers obtained in Example
b. To calculate
To calculate
Calculate
by holding the opposite variable constant, then differentiating.
- Hint
-
Use Equations
and from the definition of partial derivatives. - Answer
-
How can we interpret these partial derivatives? Recall that the graph of a function of two variables is a surface in
This resembles the difference quotient for the derivative of a function of one variable, except for the presence of the
In Figure
This line is parallel to the
If we choose to change
We now return to the idea of contour maps, which we introduced in Functions of Several Variables. We can use a contour map to estimate partial derivatives of a function
Use a contour map to estimate
Solution
Figure
The inner circle on the contour map corresponds to
To calculate the exact value of
and then differentiate with respect to
Next, we evaluate this expression using
The estimate for the partial derivative corresponds to the slope of the secant line passing through the points
Use a contour map to estimate
Compare this with the exact answer.
- Hint
-
Create a contour map for
using values of from to . Which of these curves passes through point - Answer
-
Using the curves corresponding to
and we obtainThe exact answer is
Functions of More Than Two Variables
Suppose we have a function of three variables, such as
Let
The partial derivative of
The partial derivative of
We can calculate a partial derivative of a function of three variables using the same idea we used for a function of two variables. For example, if we have a function
Use the limit definition of partial derivatives to calculate
Then, find
Solution:
We first calculate
and recall that
Then we find
To calculate
Use the limit definition of partial derivatives to calculate
Then find
- Hint
-
Use the strategy in the preceding example.
- Answer
-
Calculate the three partial derivatives of the following functions.
Solution
In each case, treat all variables as constants except the one whose partial derivative you are calculating.
a.
b.
Calculate
- Hint
-
Use the strategy in the preceding example.
- Answer
-
Higher-Order Partial Derivatives
Consider the function
Its partial derivatives are
and
Each of these partial derivatives is a function of two variables, so we can calculate partial derivatives of these functions. Just as with derivatives of single-variable functions, we can call these second-order derivatives, third-order derivatives, and so on. In general, they are referred to as higher-order partial derivatives. There are four second-order partial derivatives for any function (provided they all exist):
An alternative notation for each is
Calculate all four second partial derivatives for the function
Solution:
To calculate
To calculate
To calculate
To calculate
To calculate
To calculate
Calculate all four second partial derivatives for the function
- Hint
-
Follow the same steps as in the previous example.
- Answer
-
At this point we should notice that, in both Example
Suppose that
Clairaut’s theorem guarantees that as long as mixed second-order derivatives are continuous, the order in which we choose to differentiate the functions (i.e., which variable goes first, then second, and so on) does not matter. It can be extended to higher-order derivatives as well. The proof of Clairaut’s theorem can be found in most advanced calculus books.
Two other second-order partial derivatives can be calculated for any function
Partial Differential Equations
Previously, we studied differential equations in which the unknown function had one independent variable. A partial differential equation is an equation that involves an unknown function of more than one independent variable and one or more of its partial derivatives. Examples of partial differential equations are
In the heat and wave equations, the unknown function
Verify that
is a solution to the wave equation
Solution
First, we calculate
Next, we substitute each of these into the right-hand side of Equation
This verifies the solution.
Verify that
is a solution to the heat equation
- Hint
-
Calculate the partial derivatives and substitute into the right-hand side.
- Answer
-
TBA
Since the solution to the two-dimensional heat equation is a function of three variables, it is not easy to create a visual representation of the solution. We can graph the solution for fixed values of
If we consider the heat equation in one dimension, then it is possible to graph the solution over time. The heat equation in one dimension becomes
where
where
During the late 1800s, the scientists of the new field of geology were coming to the conclusion that Earth must be “millions and millions” of years old. At about the same time, Charles Darwin had published his treatise on evolution. Darwin’s view was that evolution needed many millions of years to take place, and he made a bold claim that the Weald chalk fields, where important fossils were found, were the result of
At that time, eminent physicist William Thomson (Lord Kelvin) used an important partial differential equation, known as the heat diffusion equation, to estimate the age of Earth by determining how long it would take Earth to cool from molten rock to what we had at that time. His conclusion was a range of 20 to 400 million years, but most likely about 50 million years. For many decades, the proclamations of this irrefutable icon of science did not sit well with geologists or with Darwin.
- Read Kelvin’s paper on estimating the age of the Earth.
Kelvin made reasonable assumptions based on what was known in his time, but he also made several assumptions that turned out to be wrong. One incorrect assumption was that Earth is solid and that the cooling was therefore via conduction only, hence justifying the use of the diffusion equation. But the most serious error was a forgivable one—omission of the fact that Earth contains radioactive elements that continually supply heat beneath Earth’s mantle. The discovery of radioactivity came near the end of Kelvin’s life and he acknowledged that his calculation would have to be modified.
Kelvin used the simple one-dimensional model applied only to Earth’s outer shell, and derived the age from graphs and the roughly known temperature gradient near Earth’s surface. Let’s take a look at a more appropriate version of the diffusion equation in radial coordinates, which has the form
Here,
- Substitute this form into Equation
and, noting that is constant with respect to distance and is constant with respect to time , show that - This equation represents the separation of variables we want. The left-hand side is only a function of
and the right-hand side is only a function of , and they must be equal for all values of and . Therefore, they both must be equal to a constant. Let’s call that constant . (The convenience of this choice is seen on substitution.) So, we have - Now, we can verify through direct substitution for each equation that the solutions are
and , where . Note that is also a valid solution, so we could have chosen for our constant. Can you see why it would not be valid for this case as time increases? - Let’s now apply boundary conditions.
- The temperature must be finite at the center of Earth,
. Which of the two constants, or , must therefore be zero to keep finite at ? (Recall that as , but behaves very differently.) - Kelvin argued that when magma reaches Earth’s surface, it cools very rapidly. A person can often touch the surface within weeks of the flow. Therefore, the surface reached a moderate temperature very early and remained nearly constant at a surface temperature
. For simplicity, let’s set at and find α such that this is the temperature there for all time . (Kelvin took the value to be . We can add this constant to our solution later.) For this to be true, the sine argument must be zero at . Note that α has an infinite series of values that satisfies this condition. Each value of represents a valid solution (each with its own value for ). The total or general solution is the sum of all these solutions. - At
we assume that all of Earth was at an initial hot temperature (Kelvin took this to be about .) The application of this boundary condition involves the more advanced application of Fourier coefficients. As noted in part b. each value of represents a valid solution, and the general solution is a sum of all these solutions. This results in a series solution: where .
- The temperature must be finite at the center of Earth,
Note how the values of
Near time
Epilog
On May 20, 1904, physicist Ernest Rutherford spoke at the Royal Institution to announce a revised calculation that included the contribution of radioactivity as a source of Earth’s heat. In Rutherford’s own words:
“I came into the room, which was half-dark, and presently spotted Lord Kelvin in the audience, and realized that I was in for trouble at the last part of my speech dealing with the age of the Earth, where my views conflicted with his. To my relief, Kelvin fell fast asleep, but as I came to the important point, I saw the old bird sit up, open an eye and cock a baleful glance at me.
Then a sudden inspiration came, and I said Lord Kelvin had limited the age of the Earth, provided no new source [of heat] was discovered. That prophetic utterance referred to what we are now considering tonight, radium! Behold! The old boy beamed upon me.”
Rutherford calculated an age for Earth of about 500 million years. Today’s accepted value of Earth’s age is about 4.6 billion years.
Key Concepts
- A partial derivative is a derivative involving a function of more than one independent variable.
- To calculate a partial derivative with respect to a given variable, treat all the other variables as constants and use the usual differentiation rules.
- Higher-order partial derivatives can be calculated in the same way as higher-order derivatives.
Key Equations
Partial derivative of
Partial derivative of
Glossary
- higher-order partial derivatives
- second-order or higher partial derivatives, regardless of whether they are mixed partial derivatives
- mixed partial derivatives
- second-order or higher partial derivatives, in which at least two of the differentiations are with respect to different variables
- partial derivative
- a derivative of a function of more than one independent variable in which all the variables but one are held constant
- partial differential equation
- an equation that involves an unknown function of more than one independent variable and one or more of its partial derivatives


