Intuition The one core idea
Standing on a hill, the height of the ground depends on where you are — your east–west position and your north–south position. The directional derivative is a single number that answers "if I face a chosen way and take a tiny step forward, how steeply does the ground rise?" — and everything on the parent page is just the machinery for turning "the way I'm facing" and "the shape of the hill" into that one slope number.
This page builds the alphabet the parent Directional derivative note secretly assumes. Read top to bottom: each symbol is earned before the next uses it.
Before we can ask "how fast does height change," we need to say where we are standing. In flat land, a location needs two numbers : how far east (x ) and how far north (y ).
Definition Point and its coordinates
A point in the plane is written a = ( a 1 , a 2 ) — a pair of numbers, an address. The bold letter a is shorthand for "the whole address at once." In three dimensions it grows to a = ( a 1 , a 2 , a 3 ) .
The picture is a single dot on a grid. Nothing moves yet — this is just "you are here."
Intuition Why the topic needs it
The directional derivative is always measured at a specific place . Change the place and the slope changes — a hill is steep near the bottom, gentle near the top. So every formula carries a to say "measured here."
Now attach a height to every location. That is what a function of two variables does.
Definition Function of several variables
f : R n → R reads "f eats an address of n numbers and returns one number." For us n = 2 or 3 . The symbol R means "all the real numbers"; R 2 means "all pairs," i.e. every point of the plane. So f ( x , y ) is the height of the hill above the spot ( x , y ) .
The picture is a landscape: a bumpy surface floating above the flat grid. Each grid point pushes up (or down) to the surface by an amount f ( x , y ) .
Intuition Why the topic needs it
Without a height there is nothing to be steep. f is the hill. "How fast does f change" literally means "how fast does the ground rise."
Related vault reading: Level curves and level sets slices this surface at constant heights.
A vector is an arrow: it has a direction and a length. We write u = ( u 1 , u 2 ) — the same pair-of-numbers notation as a point, but now it means "go u 1 east and u 2 north from wherever you are."
Definition Length (magnitude) of a vector
The length of u = ( u 1 , u 2 ) is
∥ u ∥ = u 1 2 + u 2 2 .
The double bars ∥ ⋅ ∥ mean "how long is this arrow." Why a square root of a sum of squares? Because the arrow is the hypotenuse of a right triangle with legs u 1 and u 2 — this is the Pythagorean theorem, "the diagonal of a rectangle."
A unit vector has length exactly 1 : ∥ u ∥ = 1 . It is pure direction with no "how far" attached. To turn any nonzero arrow v into a unit vector pointing the same way, divide by its length: u ^ = v /∥ v ∥ .
Common mistake The zero vector cannot be normalized
If v = 0 = ( 0 , 0 ) then ∥ v ∥ = 0 , and u ^ = v /∥ v ∥ asks you to divide by zero — forbidden. This matches reality: the zero vector points nowhere , so "the way you face" is undefined. A direction always needs a genuine, nonzero arrow.
Intuition Why the topic needs the length to be 1
The step size h in the limit measures real distance walked . If your direction arrow were length 2 , one h -step would secretly cover 2 metres, and "rise per step" would be doubled. Forcing ∥ u ∥ = 1 makes "rise per unit distance" honest. This is exactly the parent's "must normalise" rule.
Before we allow any direction, master the two easy ones: due east and due north.
Definition Partial derivative
∂ x ∂ f (also written f x ) is the slope of the hill if you walk only east , holding y frozen. You treat y as a constant number and differentiate in x as in single-variable calculus. Likewise f y = ∂ y ∂ f is the slope facing north . The curly ∂ (not the straight d ) signals "one variable at a time; the others are held still."
The picture: slice the landscape with a vertical wall running east–west. The cut edge is an ordinary 1-D curve, and f x is its slope.
Worked example Quick partials
For f ( x , y ) = x 2 + x y : freeze y , differentiate in x → f x = 2 x + y . Freeze x , differentiate in y → f y = x .
Intuition Why the topic needs them
Partials are the two "compass slopes." The parent's whole trick is: any direction's slope is a blend of these two. Deep dive: Partial derivatives .
Bundle the two compass slopes into one arrow.
The gradient is the vector of all partials:
∇ f = ( ∂ x ∂ f , ∂ y ∂ f ) .
The symbol ∇ ("nabla" or "del") means "collect the partial derivatives." It is an arrow that lives in the flat ground plane , pointing in the direction the hill rises fastest, with length equal to that fastest slope.
Intuition Why the topic needs it
The gradient is the single object that stores all directional information. Once you have it, every direction's slope is one dot product away. Full note: Gradient vector .
Two arrows, one number.
For a = ( a 1 , a 2 ) and b = ( b 1 , b 2 ) ,
a ⋅ b = a 1 b 1 + a 2 b 2 = ∥ a ∥ ∥ b ∥ cos θ ,
where θ is the angle between the two arrows. It is big when the arrows point the same way , zero when they are perpendicular, negative when they oppose.
Intuition Why cosine? Why this tool?
We need a machine that answers "how much of arrow u points along arrow ∇ f ?" The cosine of the angle between them is precisely "the fraction of one arrow's push that lies along the other." That is why cos θ — and no other function — sits at the heart of the directional derivative. See Dot product and cosine of angle .
Now we can finally name the thing itself.
Definition Directional derivative operator
D u f
The symbol D u f ( a ) reads "the directional derivative of f , in the direction of the unit vector u , measured at the point a ." It is a single number (a scalar): the slope of the hill f when you stand at a and face along u . The subscript u records which way you face ; the a records where you stand .
To make that number precise we need one more tool — the limit.
Definition Limit of a difference quotient
The notation lim h → 0 ("as h approaches zero") says: compute an expression for a small step h , then watch what value it settles toward as the step shrinks to nothing. For a one-variable helper g ,
lim h → 0 h g ( h ) − g ( 0 )
takes the average slope of g over a step of size h and squeezes it down to the instantaneous slope at h = 0 — the steepness right at the spot, not smeared over a fat step.
Here is the helper g tied to our pieces. Standing at a and stepping a distance h along the unit direction u lands you at the point a + h u . Let
g ( h ) = f ( a + h u )
be the height as you walk the straight line in direction u . Then g ( 0 ) = f ( a ) (you have not moved), and the difference quotient is exactly "rise in height ÷ distance walked." Feeding this g into the limit gives the full definition every symbol on this page was building toward:
And this limit collapses (when f is differentiable) into the clean shortcut using the gradient and dot product from §5–§6:
D u f = ∇ f ⋅ u = ∥∇ f ∥ cos θ ,
which is largest (θ = 0 , face straight uphill), zero (θ = 9 0 ∘ , walk along a level curve), and most negative (θ = 18 0 ∘ , straight downhill).
Intuition Why the topic needs the limit
The whole point is the slope exactly where you stand , not over a fat step. The limit is the tool that squeezes a finite ratio down to a single instant. The Multivariable chain rule is what lets us evaluate this limit without brute force, and Tangent planes and differentiability guarantees the clean dot-product answer.
Point a - where you stand
Function f - height of ground
Partial derivatives - east and north slopes
Directional derivative Du f
Test yourself — reveal only after you have answered aloud.
What does a = ( a 1 , a 2 ) represent, as a picture? A single dot on the grid — the place where you are standing.
What does f ( x , y ) give you physically? The height of the hill above the ground point ( x , y ) .
Compute ∥ v ∥ for v = ( 3 , 4 ) . How do you turn v = ( 3 , 4 ) into a unit vector? Divide by its length: u ^ = ( 3/5 , 4/5 ) .
Which vector can never be normalized, and why? The zero vector ( 0 , 0 ) — its length is 0 , so dividing would be division by zero, and it points nowhere.
Why must the direction have length 1 ? So the step size h measures real distance, keeping "rise per unit distance" honest.
What is f x in plain words? The slope of the hill if you walk only east, holding y fixed.
What object does ∇ f collect, and where does it point? The partial derivatives; it points in the direction of steepest ascent.
State the two forms of the dot product. a ⋅ b = a 1 b 1 + a 2 b 2 = ∥ a ∥∥ b ∥ cos θ .
When is a ⋅ b = 0 ? When the two arrows are perpendicular (θ = 9 0 ∘ ).
Write the limit definition of D u f ( a ) . lim h → 0 h f ( a + h u ) − f ( a ) , with ∥ u ∥ = 1 .
What is the helper g ( h ) in that definition? g ( h ) = f ( a + h u ) — the height as you walk the straight line in direction u ; then D u f = g ′ ( 0 ) .