Skip to main content

Thomas’ Calculus · Chapter 14 · Section 14.3

By Muhammad Abdullah Athar · SymPy Verified

Partial Derivatives

❦

Read this page the way you would a book: first the notes, then the key ideas, then every worked example in order — each step explains not only what to do, but why it works.

Part One

Section Notes

❧

Section 14.3: Partial Derivatives

Partial derivatives quantify directional change strictly along the coordinate axes.


1. Notation and Computation

For z=f(x,y)z = f(x, y):

  • Partial with respect to xx: fx=∂f∂x=∂z∂xf_x = \frac{\partial f}{\partial x} = \frac{\partial z}{\partial x} (treat yy as a constant)
  • Partial with respect to yy: fy=∂f∂y=∂z∂yf_y = \frac{\partial f}{\partial y} = \frac{\partial z}{\partial y} (treat xx as a constant)

2. Second-Order Partial Derivatives

  • fxx=∂2f∂x2=∂∂x(∂f∂x)f_{xx} = \frac{\partial^2 f}{\partial x^2} = \frac{\partial}{\partial x}\left(\frac{\partial f}{\partial x}\right)
  • fyy=∂2f∂y2=∂∂y(∂f∂y)f_{yy} = \frac{\partial^2 f}{\partial y^2} = \frac{\partial}{\partial y}\left(\frac{\partial f}{\partial y}\right)
  • fxy=∂2f∂y∂x=∂∂y(∂f∂x)f_{xy} = \frac{\partial^2 f}{\partial y \partial x} = \frac{\partial}{\partial y}\left(\frac{\partial f}{\partial x}\right)
  • Clairaut's Theorem: fxy=fyxf_{xy} = f_{yx} whenever both mixed partials are continuous.

Part Two

Key Ideas to Remember

2 essential statements for this section, each with a plain-words explanation.

Definition #1Sec 14.3

First Partial Derivatives

fx(x0,y0)=lim⁡h→0f(x0+h,y0)−f(x0,y0)h,fy(x0,y0)=lim⁡h→0f(x0,y0+h)−f(x0,y0)hf_x(x_0, y_0) = \lim_{h \to 0} \frac{f(x_0 + h, y_0) - f(x_0, y_0)}{h}, \quad f_y(x_0, y_0) = \lim_{h \to 0} \frac{f(x_0, y_0 + h) - f(x_0, y_0)}{h}

The partial derivative of f with respect to x is the ordinary derivative of f with respect to x holding y constant. Similarly, the partial derivative with respect to y holds x constant.

Conditions: Limits exist

In plain words: Geometrically, f_x(x_0, y_0) is the slope of the curve formed by intersecting surface z = f(x, y) with the vertical plane y = y_0.

Remember — Measures instantaneous rate of change in direction of coordinate axes.

Theorem #2Sec 14.3

Clairaut's Theorem (Equality of Mixed Partials)

fxy(x,y)=fyx(x,y)(∂2f∂y∂x=∂2f∂x∂y)f_{xy}(x, y) = f_{yx}(x, y) \quad \left( \frac{\partial^2 f}{\partial y \partial x} = \frac{\partial^2 f}{\partial x \partial y} \right)

If the mixed second-order partial derivatives f_{xy} and f_{yx} are continuous on an open disk containing (x_0, y_0), then they are equal at that point.

Conditions: f_{xy} and f_{yx} are continuous on open region

In plain words: The order of partial differentiation does not matter for smooth functions.

Remember — Mixed partial derivatives commute under continuity.

Part Three

Worked Examples

5 exercises, solved in full. Every answer has been checked symbolically with SymPy before printing.

Example 01(Section 14.3, Exercise 1)

Warm-up

Problem. For f(x, y) = x^3 y^2 - 4x^2 + 5y, find f_x(x, y) and f_y(x, y), and evaluate them at (1, 2).

Step-by-Step Derivation (3 steps)

1

Compute f_x Treating y as Constant

fx=∂∂x(x3y2−4x2+5y)=3x2y2−8xf_x = \frac{\partial}{\partial x}(x^3 y^2 - 4x^2 + 5y) = 3x^2 y^2 - 8x

Differentiate with respect to x while keeping y constant.

Why this works: Finding partial derivative with respect to x.
2

Compute f_y Treating x as Constant

fy=∂∂y(x3y2−4x2+5y)=2x3y+5f_y = \frac{\partial}{\partial y}(x^3 y^2 - 4x^2 + 5y) = 2x^3 y + 5

Differentiate with respect to y while keeping x constant.

Why this works: Finding partial derivative with respect to y.
3

Evaluate at (1, 2)

fx(1,2)=3(1)2(2)2−8(1)=12−8=4;fy(1,2)=2(1)3(2)+5=4+5=9f_x(1, 2) = 3(1)^2(2)^2 - 8(1) = 12 - 8 = 4; \quad f_y(1, 2) = 2(1)^3(2) + 5 = 4 + 5 = 9

Substitute x = 1 and y = 2.

Why this works: Computing numerical values at point.

Answer: fx(1,2)=4,fy(1,2)=9f_x(1, 2) = 4, \quad f_y(1, 2) = 9

✓ Verified by SymPy CAS

Example 02(Section 14.3, Exercise 2)

Warm-up

Problem. For f(x, y) = x exp(y) + y sin(x), verify that f_{xy} = f_{yx}.

Step-by-Step Derivation (2 steps)

1

Compute First Partials

fx=ey+ycos⁡x,fy=xey+sin⁡xf_x = e^y + y\cos x, \quad f_y = x e^y + \sin x

Differentiate with respect to x and y independently.

Why this works: Finding first-order partials.
2

Compute Mixed Second Partials

fxy=∂∂y(ey+ycos⁡x)=ey+cos⁡x;fyx=∂∂x(xey+sin⁡x)=ey+cos⁡xf_{xy} = \frac{\partial}{\partial y}(e^y + y\cos x) = e^y + \cos x; \quad f_{yx} = \frac{\partial}{\partial x}(x e^y + \sin x) = e^y + \cos x

Differentiate f_x with respect to y and f_y with respect to x.

Why this works: Demonstrating equality of mixed partials.

Answer: fxy=fyx=ey+cos⁡(x)f_{xy} = f_{yx} = e^y + \cos(x)

✓ Verified by SymPy CAS

Example 03(Section 14.3, Exercise 3)

Core practice

Problem. Given x^3 + y^3 + z^3 + 6xyz = 1, find dz/dx using the implicit differentiation formula dz/dx = -F_x / F_z.

Step-by-Step Derivation (3 steps)

1

Define F(x, y, z) = 0

F(x,y,z)=x3+y3+z3+6xyz−1=0F(x, y, z) = x^3 + y^3 + z^3 + 6xyz - 1 = 0

Set all terms on one side of equation.

Why this works: Setting up implicit surface representation.
2

Compute Partial Derivatives F_x and F_z

Fx=3x2+6yz=3(x2+2yz),Fz=3z2+6xy=3(z2+2xy)F_x = 3x^2 + 6yz = 3(x^2 + 2yz), \quad F_z = 3z^2 + 6xy = 3(z^2 + 2xy)

Differentiate F with respect to x and z while treating other variables as constants.

Why this works: Finding components for implicit formula.
3

Apply Ratio Formula

∂z∂x=−FxFz=−3(x2+2yz)3(z2+2xy)=−x2+2yzz2+2xy\frac{\partial z}{\partial x} = -\frac{F_x}{F_z} = -\frac{3(x^2 + 2yz)}{3(z^2 + 2xy)} = -\frac{x^2 + 2yz}{z^2 + 2xy}

Divide F_x by F_z and negate.

Why this works: Evaluating implicit derivative.

Answer: ∂z∂x=−x2+2yzz2+2xy\frac{\partial z}{\partial x} = -\frac{x^2 + 2yz}{z^2 + 2xy}

✓ Verified by SymPy CAS

Example 04(Section 14.3, Exercise 4)

Core practice

Problem. Show that f(x, y) = ln(x^2 + y^2) satisfies Laplace's equation f_{xx} + f_{yy} = 0 for (x, y) != (0, 0).

Step-by-Step Derivation (3 steps)

1

Compute First Partials

fx=2xx2+y2,fy=2yx2+y2f_x = \frac{2x}{x^2 + y^2}, \quad f_y = \frac{2y}{x^2 + y^2}

Differentiate using chain rule on natural logarithm.

Why this works: Finding first derivatives.
2

Compute Pure Second Partials via Quotient Rule

fxx=2(x2+y2)−2x(2x)(x2+y2)2=2y2−2x2(x2+y2)2;fyy=2x2−2y2(x2+y2)2f_{xx} = \frac{2(x^2 + y^2) - 2x(2x)}{(x^2 + y^2)^2} = \frac{2y^2 - 2x^2}{(x^2 + y^2)^2}; \quad f_{yy} = \frac{2x^2 - 2y^2}{(x^2 + y^2)^2}

Apply quotient rule to f_x and f_y.

Why this works: Finding second pure derivatives.
3

Sum to Verify Laplace's Equation

fxx+fyy=(2y2−2x2)+(2x2−2y2)(x2+y2)2=0f_{xx} + f_{yy} = \frac{(2y^2 - 2x^2) + (2x^2 - 2y^2)}{(x^2 + y^2)^2} = 0

The numerators sum to zero identically.

Why this works: Confirming harmonic property.

Answer: fxx+fyy=0  ⟹  f is harmonicf_{xx} + f_{yy} = 0 \implies f \text{ is harmonic}

✓ Verified by SymPy CAS

Example 05(Section 14.3, Exercise 5)

Warm-up

Problem. For an ideal gas P = n R T / V, find dP/dT at V = 10 L assuming n R = 8.314 J/K.

Step-by-Step Derivation (2 steps)

1

Differentiate P with Respect to T at Constant V

∂P∂T=∂∂T(nRTV)=nRV\frac{\partial P}{\partial T} = \frac{\partial}{\partial T} \left( \frac{n R T}{V} \right) = \frac{n R}{V}

Treat volume V and gas constant nR as constants.

Why this works: Isolating thermal pressure sensitivity.
2

Evaluate with Numerical Parameters

∂P∂T=8.31410=0.8314\frac{\partial P}{\partial T} = \frac{8.314}{10} = 0.8314

Substitute nR = 8.314 and V = 10.

Why this works: Evaluating numerical derivative.

Answer: ∂P∂T=0.8314 J/(L⋅K)\frac{\partial P}{\partial T} = 0.8314 \text{ J/(L}\cdot\text{K)}

✓ Verified by SymPy CAS