Historical Context & Motivation
In single-variable calculus, you learned to find the derivative of a function like f(x) = x². But what happens when a quantity depends on more than one variable? For example, the temperature on a metal plate depends on both the x-position and the y-position. The volume of a cylinder depends on both its radius and its height. Scientists and mathematicians needed a way to study how a function changes when you adjust just one of those variables while holding the others fixed.
The concept of partial derivatives arose over centuries as mathematicians encountered problems in physics, engineering, and geometry that involved multiple changing quantities. Today, partial derivatives are fundamental tools used in fields from machine learning to weather forecasting.
The central question this lesson addresses is: How do we measure the rate of change of a function with respect to one variable while keeping all other variables constant? Answering this question opens the door to understanding surfaces, optimization, and the behavior of real-world systems.
Core Principles & Definitions
A partial derivative measures how a multivariable function changes as you vary one input while treating all other inputs as constants. If you already know how to take an ordinary derivative, you already know most of what you need — the twist is simply deciding which variable to differentiate with respect to and freezing the rest.
One Variable at a Time
The Curly-d Symbol ∂
Multiple Partials per Function
Higher-Order Partials
Clairaut's Theorem
Visual Explanation
The best way to understand partial derivatives is to visualize a surface in three dimensions. Imagine a hilly landscape described by a function z = f(x, y). At any point on that surface, you can walk in the x-direction (east-west) or the y-direction (north-south). The partial derivative ∂f/∂x tells you the slope of the hill if you walk purely east-west, and ∂f/∂y tells you the slope if you walk purely north-south.
Notice that each slice through the surface produces a regular two-dimensional curve. Once you have that curve, you just take the ordinary derivative of it — that's the partial derivative. The key insight is that each partial derivative reduces a multivariable problem to a single-variable problem by freezing everything else.
Mathematical Framework
Let's build the notation and rules step by step. If you can differentiate single-variable functions using the power rule, product rule, and chain rule, you can compute partial derivatives — the only new idea is treating other variables as constants.
Alternative Notation
You will encounter several ways to write partial derivatives. They all mean the same thing. For a function f(x, y):
| Notation | Read as | Meaning |
|---|---|---|
∂f/∂x | "partial f partial x" | Derivative of f treating y as constant |
fₓ(x, y) | "f sub x" | Subscript notation for the same partial |
∂²f/∂x² | "second partial of f with respect to x" | Differentiate with respect to x twice |
∂²f/∂y∂x | "mixed partial: first x, then y" | Differentiate first with respect to x, then with respect to y |
Higher-Order Partials in Detail
Once you know how to compute first-order partial derivatives, finding higher-order partial derivatives is simply a matter of repeating the process. You take the partial derivative of a partial derivative. For a function f(x, y), there are four second-order partials: fₓₓ, f_yy, fₓᵧ, and f_yx. Thanks to Clairaut's theorem, fₓᵧ and f_yx are usually equal, so in practice you compute three distinct second-order partials.
Let's see a concrete example. Consider f(x, y) = x³y² + 2xy. Here are all first- and second-order partials:
- fₓ = 3x²y² + 2y (treat y² and y as constants, differentiate x³ and x)
- fᵧ = 2x³y + 2x (treat x³ and x as constants, differentiate y² and y)
- fₓₓ = 6xy² (differentiate fₓ with respect to x again)
- fᵧᵧ = 2x³ (differentiate fᵧ with respect to y again)
- fₓᵧ = 6x²y + 2 (differentiate fₓ with respect to y)
- fᵧₓ = 6x²y + 2 (differentiate fᵧ with respect to x — same as fₓᵧ ✓)
Worked Example
Let's work through a complete example, finding all first-order and second-order partial derivatives for a function that mixes polynomial and trigonometric terms.
Common Mistakes & How to Avoid Them
Partial derivatives are conceptually straightforward, but students often stumble on a few predictable pitfalls. The table below summarizes the most common mistakes alongside the correct approach.
| Common Mistake | Why It's Wrong | Correct Approach |
|---|---|---|
| Differentiating both variables at once | When finding ∂f/∂x, treating y as a variable instead of a constant leads to an incorrect expression | Mentally replace every y with a specific number (like 5) to remind yourself it's constant, then differentiate |
| Forgetting constant terms don't vanish | In ∂/∂x of 3xy², students drop the y² instead of keeping it as a constant coefficient | y² is a constant when differentiating with respect to x; ∂/∂x of 3xy² = 3y², not 3 |
| Mixing up the order in mixed partials | ∂²f/∂y∂x means differentiate with respect to x first, then y — reading right to left | Read the denominator right to left: ∂y∂x → first ∂x, then ∂y. Subscript notation fₓᵧ reads left to right: first x, then y |
| Forgetting the chain rule | For terms like sin(xy), students forget the inner derivative | ∂/∂x of sin(xy) = cos(xy) × y (chain rule multiplies by the derivative of the inner function with respect to x) |
Connection to Advanced Topics
Partial derivatives are the building blocks for nearly everything else in multivariable calculus. Once you're comfortable computing them, you'll use them to construct more powerful tools. Here's a preview of where partial derivatives lead.
| Concept | How It Uses Partial Derivatives | What It Does |
|---|---|---|
| Gradient (∇f) | Combines all first-order partials into a vector: ∇f = ⟨∂f/∂x, ∂f/∂y⟩ | Points in the direction of steepest increase of f |
| Directional Derivative | Uses the gradient to find the rate of change in any direction, not just along axes | Generalizes the idea of a partial derivative beyond the x- and y-directions |
| Tangent Plane | Built from ∂f/∂x and ∂f/∂y evaluated at a point on a surface | Approximates the surface locally — the multivariable version of a tangent line |
| Second Derivative Test | Uses fₓₓ, fᵧᵧ, and fₓᵧ to classify critical points as maxima, minima, or saddle points | Extends the concavity test from single-variable calculus to surfaces |
| Partial Differential Equations | Equations like the heat equation relate partial derivatives of a function to each other | Models real-world phenomena: heat flow, wave propagation, fluid dynamics |
Mastering partial derivatives now gives you the foundation for all of these topics. In particular, the gradient vector is the immediate next step — it packages your partial derivatives into a single object that captures how a function changes in every direction at once. If you're comfortable finding ∂f/∂x and ∂f/∂y, you're ready for that journey.
Practice Problems
Lesson Summary
A partial derivative measures the rate of change of a multivariable function with respect to one variable while holding all other variables constant. You compute it by applying the same differentiation rules (power rule, product rule, chain rule) from single-variable calculus, treating every other variable as a constant. The notation ∂f/∂x uses the curly-d symbol to distinguish partial derivatives from ordinary ones. A function of two variables has two first-order partials, and each first-order partial can be differentiated again to produce second-order partials — both unmixed (fₓₓ, fᵧᵧ) and mixed (fₓᵧ, fᵧₓ).
Clairaut's theorem guarantees that for most functions you'll encounter, the mixed partial derivatives are equal regardless of the order of differentiation (fₓᵧ = fᵧₓ). Partial derivatives are the foundation for the gradient vector, tangent planes, the multivariable second derivative test, and partial differential equations — making them one of the most essential tools in all of higher mathematics and its applications.