The Definition and Geometric Meaning of Partial Derivatives

The Definition of the Partial Derivative

Partial derivative

Suppose the function z=f(x,y)z = f(x, y) is defined in some neighbourhood of the point (x0,y0)(x_0, y_0). Fix y=y0y = y_0, and let xx have an increment Δx\Delta x at x0x_0. If the limit

lim⁡Δx→0f(x0+Δx,y0)−f(x0,y0)Δx\lim_{\Delta x \to 0} \frac{f(x_0 + \Delta x, y_0) - f(x_0, y_0)}{\Delta x}

exists, then this limit is called the partial derivative of the function f(x,y)f(x, y) with respect to xx at the point (x0,y0)(x_0, y_0), written

fx(x0,y0),∂z∂x∣(x0,y0),∂f∂x∣(x0,y0),zx∣(x0,y0)f_x(x_0, y_0), \quad \frac{\partial z}{\partial x}\bigg|_{(x_0, y_0)}, \quad \frac{\partial f}{\partial x}\bigg|_{(x_0, y_0)}, \quad z_x\big|_{(x_0, y_0)}

Similarly, the partial derivative with respect to yy is defined by:

fy(x0,y0)=lim⁡Δy→0f(x0,y0+Δy)−f(x0,y0)Δyf_y(x_0, y_0) = \lim_{\Delta y \to 0} \frac{f(x_0, y_0 + \Delta y) - f(x_0, y_0)}{\Delta y}

If the partial derivative with respect to xx exists at every point (x,y)(x,y) of a region DD, then this partial derivative is itself a function of x,yx, y, called the partial derivative function with respect to xx (or simply the partial derivative), written fx(x,y)f_x(x,y) or ∂z∂x\frac{\partial z}{\partial x}.

The Geometric Meaning

The geometric meaning of the partial derivative
  • fx(x0,y0)f_x(x_0, y_0): the slope with respect to the xx-axis of the tangent line at the point (x0,y0,f(x0,y0))(x_0, y_0, f(x_0,y_0)) to the curve {z=f(x,y0)y=y0\begin{cases} z = f(x, y_0) \\ y = y_0 \end{cases} cut out of the surface z=f(x,y)z = f(x,y) by the plane y=y0y = y_0.
  • fy(x0,y0)f_y(x_0, y_0): the slope with respect to the yy-axis of the tangent line at that point to the curve cut out of the surface by the plane x=x0x = x_0.

The Relation between the Partial Derivatives and Continuity

Worked Examples

Example 1: Computing Partial Derivatives

Find the partial derivatives of f(x,y)=x2y+y3f(x, y) = x^2 y + y^3 at the point (1,2)(1, 2).

partial derivativescomputationa polynomial function

Approach:

A partial derivative is just the one-variable derivative with the other variables held constant.

Steps:

  1. Differentiating with respect to xx (treating yy as a constant): fx=2xyf_x = 2xy
  2. Differentiating with respect to yy (treating xx as a constant): fy=x2+3y2f_y = x^2 + 3y^2
  3. Substituting (1,2)(1,2): fx(1,2)=2×1×2=4f_x(1,2) = 2\times1\times2 = 4 and fy(1,2)=1+3×4=13f_y(1,2) = 1 + 3\times4 = 13

Answer: fx(1,2)=4f_x(1,2) = 4 and fy(1,2)=13f_y(1,2) = 13

Example 2: The Partial Derivatives of a Piecewise Function

Find the partial derivatives of f(x,y)={x2yx2+y2,(x,y)≠(0,0)0,(x,y)=(0,0)f(x,y) = \begin{cases} \frac{x^2 y}{x^2+y^2}, & (x,y)\neq(0,0) \\ 0, & (x,y)=(0,0) \end{cases} at (0,0)(0,0).

partial derivativesa piecewise functionthe definitionthe partial derivatives exist but the function is not continuous

Approach:

At the point where the pieces meet you have to compute directly from the definition of the partial derivative; you cannot simply apply the formula.

Steps:

  1. Using the definition to find fx(0,0)f_x(0,0): fx(0,0)=lim⁡Δx→0f(Δx,0)−f(0,0)Δx=lim⁡Δx→00−0Δx=0f_x(0,0) = \lim_{\Delta x\to0} \frac{f(\Delta x,0)-f(0,0)}{\Delta x} = \lim_{\Delta x\to0} \frac{0-0}{\Delta x} = 0

  2. Using the definition to find fy(0,0)f_y(0,0): fy(0,0)=lim⁡Δy→0f(0,Δy)−f(0,0)Δy=lim⁡Δy→00−0Δy=0f_y(0,0) = \lim_{\Delta y\to0} \frac{f(0,\Delta y)-f(0,0)}{\Delta y} = \lim_{\Delta y\to0} \frac{0-0}{\Delta y} = 0

  3. Note: although both partial derivatives exist and are 0, the limit of the function at (0,0)(0,0) is 0 (as follows from the limit example), and f(0,0)=0f(0,0)=0, so this function is continuous at the origin. This differs from the counterexample above.

Answer: fx(0,0)=0f_x(0,0) = 0 and fy(0,0)=0f_y(0,0) = 0


Exercises

Exercise 1

Find the partial derivatives fx,fyf_x, f_y of f(x,y)=exy+sin⁡(x2+y)f(x, y) = e^{xy} + \sin(x^2 + y).

partial derivativesa composite functionthe exponential functionthe trigonometric functions

Approach:

For a composite function, the chain rule is all you need.

Steps:

  1. fx=yexy+2xcos⁡(x2+y)f_x = y e^{xy} + 2x\cos(x^2+y)
  2. fy=xexy+cos⁡(x2+y)f_y = x e^{xy} + \cos(x^2+y)

Answer: fx=yexy+2xcos⁡(x2+y)f_x = ye^{xy}+2x\cos(x^2+y) and fy=xexy+cos⁡(x2+y)f_y = xe^{xy}+\cos(x^2+y)

Exercise 2

Prove that f(x,y)={xyx2+y2,(x,y)≠(0,0)0,(x,y)=(0,0)f(x,y) = \begin{cases} \frac{xy}{x^2+y^2}, & (x,y)\neq(0,0) \\ 0, & (x,y)=(0,0) \end{cases} has partial derivatives at (0,0)(0,0) but is not continuous there.

partial derivativesdiscontinuitythe classic counterexample

Approach:

First compute the two partial derivatives from the definition, and then use the limit to decide that the function is not continuous at the origin.

Steps:

  1. fx(0,0)=lim⁡Δx→0f(Δx,0)−0Δx=0f_x(0,0) = \lim_{\Delta x\to0} \frac{f(\Delta x,0)-0}{\Delta x} = 0
  2. fy(0,0)=0f_y(0,0) = 0
  3. But along y=xy=x the limit is 12\frac{1}{2}, while along the xx-axis it is 00; the limit does not exist, so the function is not continuous.

Answer: the partial derivatives exist (both are 0), but the function is not continuous at the origin.


Summary

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
fxf_xPartial derivativef sub xThe partial derivative with respect to xx
fyf_yPartial derivativef sub yThe partial derivative with respect to yy
∂z∂x\frac{\partial z}{\partial x}Partial derivativepartial z partial xThe partial derivative with respect to xx (Leibniz notation)
Δx\Delta xIncrementdelta xThe increment of xx

Found an issue with this content?

Tell us what could be improved.