Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

1.9: Partial Derivatives

( \newcommand{\kernel}{\mathrm{null}\,}\)

Definition of a Partial Derivative

Let f(x,y) be a function of two variables. Then we define the partial derivatives as:

Definition: Partial Derivative

fx=fx=limh0f(x+h,y)f(x,y)h

fy=fy=limh0f(x,y+h)f(x,y)h

if these limits exist.

Algebraically, we can think of the partial derivative of a function with respect to x as the derivative of the function with y held constant. Geometrically, the derivative with respect to x at a point P represents the slope of the curve that passes through P whose projection onto the xy plane is a horizontal line (if you travel due East, how steep are you climbing?)

Example 1.9.1

Let

f(x,y)=2x+3y

then

f=limh0(2(x+h)+3y)(2x+3y)h=limh02x+2h+3y2x3yh=limh02hh=2.

We also use the notation fx and fy for the partial derivatives with respect to x and y respectively.

Exercise 1.9.1

Find fy for the function from the example above.

Finding Partial Derivatives the Easy Way

Since a partial derivative with respect to x is a derivative with the rest of the variables held constant, we can find the partial derivative by taking the regular derivative considering the rest of the variables as constants.

Example 1.9.2

Let

f(x,y)=3xy22x2y

then

fx=3y24xy

and

fy=6xy2x2.

Exercises 1.9.2

Find both partial derivatives for

  1. f(x,y)=xysinx
  2. f(x,y)=x+yxy.

Higher Order Partials

Just as with function of one variable, we can define second derivatives for functions of two variables. For functions of two variables, we have four types: fxx, fxy, fyx, and fyy.

Example 1.9.3

Let

f(x,y)=yex

then

fx=yex

and

fy=ex.

Now taking the partials of each of these we get:

fxx=yexfxy=exandfyy=0.

Notice that

fx,y=fyx.

Theorem

Let f(x,y) be a function with continuous second order derivatives, then

fxy=fyx.

Functions of More Than Two Variables

Suppose that

f(x,y,z)=xy2yz

is a function of three variables, then we can define the partial derivatives in much the same way as we defined the partial derivatives for three variables.

We have

fx=yfy=x2zandfz=2y.

Example 1.9.4: The Heat Equation

Suppose that a building has a door open during a snowy day. It can be shown that the equation

Ht=c2Hxx

models this situation where H is the heat of the room at the point x feet away from the door at time t. Show that

H=etcos(xc)

satisfies this differential equation.

Solution

We have

Ht=etcos(xc)

Hx=1cetsin(xc)

Hxx=1c2etcos(xc).

So that

c2Hxx=etcos(xc).

And the result follows.


This page titled 1.9: Partial Derivatives is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Larry Green.

Support Center

How can we help?