4.4.6 · D2Multivariable Calculus

Visual walkthrough — Differentiability in multiple variables

2,188 words10 min readBack to topic

Step 1 — What is a graph of a two-variable function?

WHAT. A function takes two numbers in and gives one number out. Feed it every point of a flat floor and stack the output upward as a height. The result is a surface — a landscape floating above the floor.

WHY. Before we can ask "does this landscape have a flat tilted board touching it?", we must agree on what the landscape is. Everything below lives on this surface.

PICTURE. The floor is the -plane. Above the point (marked in red) the surface rises to a single height . That red vertical stick is the value we will approximate.

Figure — Differentiability in multiple variables

See Partial Derivatives for how we probe this surface one axis at a time.


Step 2 — What would a "tangent plane" even mean?

WHAT. A plane is a perfectly flat, infinitely wide tilted board. We want the one board that touches the surface at and lies as flat against it as possible — the 2D cousin of a tangent line.

WHY. In one variable, "differentiable" meant "has a tangent line — zoom in and the curve looks straight." In two variables the honest generalisation is "zoom in and the surface looks flat." A flat thing is a plane. So differentiability = this plane exists and truly hugs the surface.

PICTURE. The black surface curves. The red plane passes through the point and tilts to match. Near the gap between them is tiny; far away it grows.

Figure — Differentiability in multiple variables

A full treatment of the plane's equation lives in Tangent Planes and Linear Approximation.


Step 3 — Write the candidate plane algebraically

WHAT. Any plane through the point can be written

WHY. We do not yet know the correct tilt, so we call it and solve for it later. Starting from the point guarantees the plane touches the surface there. The dot product is how a plane converts a floor-step into a rise.

PICTURE. Take a step along the floor (red arrow). The plane's rise is times the East-part of the step plus times the North-part. Steeper ⇒ bigger rise per step.

Figure — Differentiability in multiple variables

Here is the step vector and is its length (straight-line distance stepped). See Gradient and Directional Derivatives.


Step 4 — Measure the error, then demand it be small in the right way

WHAT. The surface says the true height at is . The plane predicts . Their difference is the error:

WHY. A plane that merely touches ( as ) is not special — infinitely many tilted boards touch a surface at a point. To pin down the tangent plane we need the error to vanish faster than the step itself.

PICTURE. At floor-step , the black surface and red plane are two heights. The vertical red segment between them is . As you slide back toward , that gap must not merely close — it must close faster than the horizontal distance shrinks.

Figure — Differentiability in multiple variables

Step 5 — Why divide by ? The ratio picture

WHAT. We impose the condition

WHY. Dividing the vertical gap by the horizontal distance turns the gap into a slope of the error. If even this slope goes to zero, the surface and plane become tangent, not merely intersecting. Concretely: near the error behaves like — a bad "touching" plane leaves error , and dividing exposes the difference.

PICTURE. Two curves of "error vs step": a touching plane's error (upper) shrinks like a straight line to — but divided by it flattens to a nonzero number. The tangent plane's error (red, lower) curls down like — divided by it still dives to .

Figure — Differentiability in multiple variables

Step 6 — Solve for the tilt by walking the axes

WHAT. The condition must hold approaching from every direction. Choose the easy ones first. Step purely East, , so : Step purely North, : gives .

WHY. We had an unknown tilt . Approaching along an axis kills the other component, leaving a one-variable limit — which is exactly the definition of the partial derivative. So if a tangent plane exists at all, its tilt is forced to be ; there is no freedom.

PICTURE. Two red slices through the surface: the East–West slice (its slope at is ) and the North–South slice (slope ). The tangent plane must contain both slice-tangent-lines.

Figure — Differentiability in multiple variables

This is the gradient of Gradient and Directional Derivatives; packaged as a matrix it is the Total Derivative / Jacobian.


Step 7 — Assemble the master formula

WHAT. Plugging the forced tilt back in, differentiability says the surface splits into plane + tiny leftover:

WHY. This is the whole point in one line: a differentiable surface is its tangent plane plus an error too small to matter. It also instantly proves differentiable ⇒ continuous — as the plane-rise and the error , so . See Continuity in Multiple Variables.

PICTURE. Three stacked bars at a fixed small step: total height (black), the part explained by the plane (red, almost all of it), and the leftover sliver of error (shrinking to nothing).

Figure — Differentiability in multiple variables

Step 8 — The degenerate case: partials exist but NO plane hugs

WHAT. Take On each axis , so — both partials exist. Yet along the diagonal ,

WHY. The axis-walk of Step 6 only proposed a tilt; it never checked the diagonal directions of Step 5. Here the surface is a flat cross along the axes but a raised ridge on the diagonal — no single plane can match both. Since isn't even continuous at (it hits on approach), by Step 7 it cannot be differentiable.

PICTURE. Looking down from above: along the black axes the height is ; along the red diagonal the height jumps to . A plane through the origin with zero East/North slope would be the flat floor — but the red ridge pokes through it. No hug possible.

Figure — Differentiability in multiple variables

Step 9 — The escape hatch: ⇒ differentiable

WHAT. Verifying the Step 5 limit in every direction is exhausting. Shortcut: if and exist and are continuous near , then is automatically differentiable there. Such is called .

WHY. Continuity of the partials means the East and North slopes don't jump around as you move — so gluing them into a plane can't leave a diagonal ridge behind. The pathological Example (Step 8) fails precisely because its partials are not continuous at the origin (they oscillate). Ruling that out rules out the trap.

PICTURE. A flowchart of the hierarchy: sits at the top and each arrow is a one-way implication, never reversible.

Figure — Differentiability in multiple variables

See C1 and Smooth Functions and Chain Rule (Multivariable) for where pays off.


The one-picture summary

Everything at once: black surface, red tangent plane touching at , the step on the floor, and the shrinking vertical error that must die faster than .

Figure — Differentiability in multiple variables
Recall Feynman retelling — the whole walk in plain words

Picture a hilly landscape (Step 1). Stand on one spot and try to slide a perfectly flat tilted board so it kisses the ground right there (Step 2). You write the board's rule: start at your height, then tilt by some amount for each step you take (Step 3). Now walk a little and compare the ground to your board — the vertical gap is the error (Step 4). Touching isn't good enough: you demand the gap shrink faster than the distance you walked, so you divide gap by distance and insist that goes to zero (Step 5). To find the right tilt, first walk exactly East and exactly North — those slopes are the partials, and they force the board's tilt to be the gradient (Step 6). Put it together: ground = board + a sliver too small to matter, which also proves a differentiable hill has no cliffs (Step 7). But beware — a hill can be perfectly flat along East and North yet hide a ridge on the diagonal; then no board fits, even though the partials exist (Step 8). The safe check: if the East/North slopes vary smoothly (the hill is ), a fitting board is guaranteed — and that covers nearly every function you'll ever meet (Step 9).



Recall

Why must we divide the error by ? ::: So the error is higher-order () — it selects the unique tangent plane, not any plane that merely touches. If is differentiable, what must its tilt equal, and why? ::: The gradient , forced by approaching along the two axes (each gives a partial derivative). In Step 8, why is not differentiable despite ? ::: It isn't continuous at the origin ( along ); differentiable ⇒ continuous fails. What does buy you? ::: Continuous partials ⇒ differentiable automatically — no limit check needed.


Connections