Partial
Derivatives
Learn to differentiate functions of multiple variables with respect to one variable at a time: the foundational tool of multivariable calculus.
What Is a Partial Derivative?
When a function depends on two or more variables, we can ask: how does the output change if we nudge just one input while holding the rest fixed? That rate of change is the partial derivative.
Geometric Intuition
Why Do They Matter?
The Formal Definition
Notice each limit is exactly the single-variable derivative definition: we increment one variable by \( h \) and hold the other fixed. All familiar differentiation rules (power, product, quotient, chain) apply to that variable.
Notation Guide
| Notation | Meaning | Read as |
|---|---|---|
| \( \frac{\partial f}{\partial x} \) | Partial of \( f \) w.r.t. \( x \) | "partial f, partial x" |
| \( f_x \) or \( f_1 \) | Subscript notation | "f sub x" |
| \( D_x f \) | Operator notation | "D sub x of f" |
| \( \partial_x f \) | Compact operator | "partial x of f" |
Partial vs. Ordinary Derivatives
| Feature | Ordinary \( \frac{df}{dx} \) | Partial \( \frac{\partial f}{\partial x} \) |
|---|---|---|
| Input variables | One: \( f(x) \) | Two or more: \( f(x,y,\ldots) \) |
| Other variables | N/A | Held constant |
| Symbol | \( d \) | \( \partial \) |
| Chain rule | \( \frac{df}{dt} \) | Multi-branch: \( \frac{\partial f}{\partial x}\frac{dx}{dt} + \frac{\partial f}{\partial y}\frac{dy}{dt} \) |
How to Compute Partials
Example 1: Polynomial
\( \frac{\partial}{\partial x}(3x^2 y) = 6xy \)
\( \frac{\partial}{\partial x}(5xy^3) = 5y^3 \)
\( \frac{\partial}{\partial x}(-7y) = 0 \)
\( f_x = 6xy + 5y^3 \)
\( \frac{\partial}{\partial y}(3x^2 y) = 3x^2 \)
\( \frac{\partial}{\partial y}(5xy^3) = 15xy^2 \)
\( \frac{\partial}{\partial y}(-7y) = -7 \)
\( f_y = 3x^2 + 15xy^2 - 7 \)
Example 2: Exponential & Trig
Chain rule on \( e^{xy} \): derivative is \( y \cdot e^{xy} \).
\( g_x = y\, e^{xy}\sin(y) \)
\( u_y = x\, e^{xy},\quad v_y = \cos(y) \)
\( g_y = x\, e^{xy}\sin(y) + e^{xy}\cos(y) \)
Example 3: Quotient Rule
Higher-Order Partials
Just as in single-variable calculus, we can differentiate again. A function of two variables has four second-order partial derivatives:
Clairaut's Theorem
This means that for "nice" functions (which includes all polynomials, trig, exponential, and logarithmic functions you encounter in this course), mixed partials are equal. You only need to compute one of \( f_{xy} \) or \( f_{yx} \).
Example: Second-Order Partials
Common Mistakes
Quick Reference Table
| Function | \( f_x \) | \( f_y \) |
|---|---|---|
| \( x^n y^m \) | \( n x^{n-1} y^m \) | \( m x^n y^{m-1} \) |
| \( e^{xy} \) | \( y\, e^{xy} \) | \( x\, e^{xy} \) |
| \( \sin(xy) \) | \( y\cos(xy) \) | \( x\cos(xy) \) |
| \( \ln(x^2 + y) \) | \( \frac{2x}{x^2 + y} \) | \( \frac{1}{x^2 + y} \) |
| \( \frac{x}{y} \) | \( \frac{1}{y} \) | \( -\frac{x}{y^2} \) |
Question 1 of 5
If \( f(x,y) = 4x^3 y^2 - 2xy + 7 \), what is \( f_x \)?
Question 2 of 5
For \( g(x,y) = e^{2x+y} \), what is \( g_y \)?
Question 3 of 5
Let \( f(x,y) = x^2 y + 3y^2 \). What is the mixed partial \( f_{xy} \)?
Question 4 of 5
For \( h(x,y) = \sin(x^2 y) \), which expression gives \( h_x \)?
Question 5 of 5
Clairaut's theorem guarantees \( f_{xy} = f_{yx} \) when: