Courses · Calculus 3 · Unit guide
Calculus 3: Partial derivatives
How functions of two variables behave, change, flatten out locally and chain together
This unit covers: Limits and continuity in several variables, partial derivatives, tangent planes, the multivariable chain rule.

Can a function have both partial derivatives at a point and still not be continuous there? Most students say no, and multivariable calculus says yes. We'll cover limits, continuity, partial derivatives, tangent planes and the chain rule, with worked examples.
Limits Depend on the Path
Here's the big change from one variable. A point can approach the origin along infinitely many paths, and a limit has to agree on all of them. Take f of x and y equals x y over x squared plus y squared. Along the line y equals zero, f is zero over x squared, which is zero. Along y equals x, f is x squared over two x squared, which is one half. Two answers, so no limit.
f(x,y) = xy/(x²+y²) y = 0: f = 0/x² = 0 y = x: f = x²/(2x²) = 1/2 0 ≠ 1/2 ⇒ limit does not exist
Key points.
- A point can approach (a, b) along infinitely many paths
- The limit must be the same along every path
- Two paths with different values prove the limit doesn't exist
What Continuity Means
Continuity works just like it did before, it's only the limit that got harder. The function has to be defined at the point, the limit has to exist, and the two have to match. Polynomials in x and y are continuous everywhere, and rational functions are continuous wherever the denominator isn't zero. Our example, x y over x squared plus y squared, can't be continuous at the origin, because its limit there doesn't exist.
f is continuous at (a, b) if the limit of f(x, y) as (x, y) approaches (a, b) equals f(a, b). Definition of continuity
Key points.
- Limit must exist and equal the function's value
- Polynomials are continuous everywhere
- Rational functions are continuous where the denominator isn't zero
A Partial Derivative Is a Slice's Slope
A partial derivative measures change in one direction at a time. To find f sub x at the point a, b, you freeze y at b and let only x move. That slices the surface with the vertical plane y equals b, leaving an ordinary curve, and f sub x is the slope of that curve. Formally, it's the limit as h goes to zero of f of a plus h, b, minus f of a, b, all over h.
Key points.
- Hold every variable fixed except one
- f_x is the slope of the surface in the x-direction
- Geometrically: slice the surface with the plane y = b
Computing Partials and Clairaut's Theorem
In practice, you treat the other variable as a constant. Take f equals x squared y plus sine of x y. Differentiating in x gives f sub x equals two x y plus y cosine of x y. Differentiating in y gives f sub y equals x squared plus x cosine of x y. Now differentiate f sub x with respect to y, and you get two x plus cosine of x y minus x y sine of x y. Clairaut's theorem says f sub y x matches.
f = x²y + sin(xy) fx = 2xy + y cos(xy) fy = x² + x cos(xy) fxy = 2x + cos(xy) − xy sin(xy) fyx = fxy (Clairaut)
Key points.
- Treat the other variable as a constant, then differentiate
- Mixed partials f_xy and f_yx are often equal
- Clairaut: they're equal when both are continuous
Partials Existing vs Differentiable
Here's the trap from the opening question. Our function x y over x squared plus y squared is zero along both axes, so both partials at the origin exist and equal zero. Yet the function isn't even continuous there. Partials only look along two directions. Differentiability is stronger: it means the surface has a true tangent plane, and it implies continuity. If f sub x and f sub y are continuous near the point, differentiability is guaranteed.
Partials exist
- Slopes along the x and y directions only
- Say nothing about other directions
- Don't guarantee continuity
Differentiable
- Surface has a true tangent plane
- Implies the function is continuous
- Guaranteed if fx and fy are continuous
Finding a Tangent Plane
Let's work one out. The tangent plane at a, b is z equals f of a, b, plus f sub x times x minus a, plus f sub y times y minus b, with the partials evaluated at the point. Take f equals x squared plus y squared at one, two. Then f is five, f sub x is two, and f sub y is four. So z equals five plus two times x minus one plus four times y minus two, which simplifies to z equals two x plus four y minus five.
z = f(a,b) + fx(x−a) + fy(y−b) f = x² + y², point (1, 2) f(1,2) = 5, fx = 2, fy = 4 z = 5 + 2(x−1) + 4(y−2) z = 2x + 4y − 5
Key points.
- z = f(a,b) + f_x(a,b)(x − a) + f_y(a,b)(y − b)
- Evaluate f and both partials at the point
- Example: f = x² + y² at (1, 2) gives z = 2x + 4y − 5
Linear Approximation in Action
The tangent plane isn't just a picture, it's an estimating tool called the linearization. Near the point, the surface and the plane are almost the same. Plug x equals one point one and y equals one point nine into two x plus four y minus five, and you get four point eight. The true value of x squared plus y squared there is four point eight two. That's very close for almost no work.
4.8 Tangent-plane estimate of f(1.1, 1.9); the true value is 4.82
Key points.
- Near the point, the tangent plane approximates the surface
- Estimate: L(1.1, 1.9) = 4.8
- True value: f(1.1, 1.9) = 4.82
The Chain Rule as a Tree
Now suppose z depends on x and y, and both of those depend on t. A tree diagram keeps this straight. Draw z at the top, branches down to x and y, then branches down to t. For each path from z to t, multiply the derivatives along it, then add the paths. So d z d t equals f sub x times d x d t plus f sub y times d y d t. With two parameters, s and t, you do the same for each.
Key points.
- z depends on x and y, which depend on t
- dz/dt = f_x · dx/dt + f_y · dy/dt
- Add one product for every path from z down to t
Worked Example: The Chain Rule
Let's work through it. Let z equal x squared y, with x equals cosine t and y equals sine t. The chain rule says d z d t equals z sub x times d x d t plus z sub y times d y d t. That's two x y times negative sine t, plus x squared times cosine t. Substituting gives negative two cosine t sine squared t plus cosine cubed t. At t equals zero, that's one.
z = x²y, x = cos t, y = sin t dz/dt = zx·dx/dt + zy·dy/dt = 2xy(−sin t) + x²(cos t) = −2cos t sin²t + cos³t t = 0: dz/dt = 1
Key points.
- Find each partial and each derivative in t
- Multiply along each branch and add
- Substitute x and y back in terms of t
Remember this
If you remember one thing, make it this: partial derivatives only see two directions, so check paths for limits and look for a real tangent plane. Now quiz yourself on these examples until each step feels automatic.
Practice this unit
- Calculus 3: Partial Derivatives quiz15 multiple-choice questions with explanations · no account needed
- Calculus 3: Vectors and the Geometry of Space quiz15 multiple-choice questions with explanations · no account needed
- Calculus 3: Vector Functions and Motion in Space quiz15 multiple-choice questions with explanations · no account needed
- Calculus 3: Partial Derivatives30 flashcards · study free
- Calculus 3: Vectors and the Geometry of Space36 flashcards · study free
- Calculus 3: Vector Functions and Motion in Space32 flashcards · study free
- Calculus 3: Gradient and Directional Derivatives31 flashcards · study free
Every Calculus 3 deck and quiz: the Calculus 3 page.
Other Calculus 3 unit guides
- Vectors and the geometry of spaceStudy guide
- Vector functions and motion in spaceStudy guide
- Gradient and directional derivativesStudy guide
- Optimization and Lagrange multipliersStudy guide
- Double integralsStudy guide
- Triple integrals and coordinate changesStudy guide
- Vector fields and line integralsStudy guide
- Green’s theoremStudy guide
- Surface integrals, Stokes’ theorem and the Divergence TheoremStudy guide
Try it with your own material
Upload a PDF, slides or notes and study the deck in minutes. Making your own cards is free with no limits.