Partial Derivatives
Partial Derivatives
Partial Derivatives
5.3
S. Jamshidi
Partial Derivatives
Objectives
I know how to take a partial derivative with respect to a variable.
I understand the notation for partial derivatives.
I can use Clairauts Theorem to make my calculations easier.
The notion of limits and continuity are relevant in defining derivatives. When a function has
more than one variable, however, the notion of derivative becomes vague. We no longer simply
talk about a derivative; instead, we talk about a derivative with respect to a variable. The
remaining variables are fixed. We call this a partial derivative.
To denote the specific derivative, we use subscripts. For example, the derivative of f with respect
to x is denoted fx .
Lets look at some examples.
For the following examples, the color blue will indicate a portion of the function that is treated
as a constant. Think of these portions as being frozen. The portions that have changed (because
of a derivative) are in red.
14.3.1 Examples
Example 5.3.0.4 1. Find the first partial derivatives of the function
f (x, t) = e
cos(x)
Since there is only two variables, there are two first partial derivatives. First, lets consider fx .
In this case, t is fixed and we treat it as a constant. So, e t is just a constant.
fx (x, t) =
e t sin(x)
e t cos(x)
109 of 139
S. Jamshidi
110 of 139
S. Jamshidi
14.3.2 Examples
Example 5.3.0.6 1. Find fxxx , fxyx for
f (x, t) = sin(2x + 5y)
Lets begin by finding fx and use that to find fxx and fxxx
fx = 2 cos(2x + 5y)
Remember that 5y is just treated as a constant. Notice that we could work towards finding fxyx
by finding fxy from the above equation. If we use Clairauts Theorem, however, we can skip a step
by calculating fxxy instead. Now, lets calculate fxx .
fxx = 2 ( 2 sin(2x + 5y)) =
4 sin(2x + 5y)
8 cos(2x + 5y)
and
fxyx = fxxy =
20 cos(2x + 5y)
This is a good example to pay close attention to because it illustrates how complicated these
partial derivatives can get.
Lets first find fx . It is
fx = yz 2 exyz
Notice the coefficients. Because y and z are treated as constants, they need to be brought out
front by the chain rule. For the next derivative, we will have to use the product rule. What does
this tell us? It tells us that its probably better to take fz first since we wont get that pesky z 2 .
fz = 2zxyexyz
Notice that taking the derivative with respect to x or y next will result in the same amount of
work. Lets just pick x next.
111 of 139
S. Jamshidi
The parentheses are in place to indicate how I broke up the variables to take the derivatives.
Now lets calculate the last derivative, the partial derivative with respect to y.
2
1 + 3xyz 2 + x2 y 2 z 4
Example 5.3.0.8 3. Show that u = sin(kx) sin(akt) is a solution to the wave equation
utt = a2 uxx .
To do this, we need to find utt and uxx and show that the equation holds.
ut = ak sin(kx) cos(akt)
=) utt = a2 k 2 sin(kx) sin(akt)
ux = k cos(kx) sin(akt)
=) utt = k 2 sin(kx) sin(akt)
Plugging into the wave equation, we get
[utt ] = a2 [uxx ]
2 2
=)
a k sin(kx) sin(akt) = a2 k 2 sin(kx) sin(akt)
=)
a2 k 2 sin(kx) sin(akt) = a2 k 2 sin(kx) sin(akt)
Since our resulting equation is trivially true, then we know u = sin(kx) sin(akt) is a solution to
the wave equation.
112 of 139
S. Jamshidi
113 of 139