A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Directional Derivatives

College Depth 78 in the knowledge graph ☐ I know this ☆ Set as goal
5,160topics build on this
359prerequisites beneath it
See this on the map →
Dot Product (Inner Product in R^n)Dot Product and Projections+1 more→→Conservative Vector Fields and Potential FunctionsDirectional Derivatives and the Gradient+2 more
directional-derivative gradient unit-vector rate-of-change

Core Idea

The directional derivative D_u f gives the rate of change of f in an arbitrary direction specified by a unit vector u. It is computed as D_u f = ∇f · u — the dot product of the gradient with the unit direction vector. This unifies partial derivatives (which are directional derivatives along coordinate axes) with the gradient (which is the direction of maximum directional derivative). The maximum value of D_u f over all unit vectors u is |∇f|, achieved when u = ∇f/|∇f|.

How It's Best Learned

Present directional derivatives as answering the question: 'How fast does f change if I walk in direction u?' Then show that the formula D_u f = ∇f · u follows naturally. Have students compute directional derivatives for several directions at a single point and verify that the maximum occurs in the gradient direction.

Common Misconceptions

Explainer

From partial derivatives, you know how to measure the rate of change of f in the x-direction (holding y fixed) and the y-direction (holding x fixed). But these are just two special directions among infinitely many. The directional derivative D_u f answers the more general question: how fast does f change if you move in an arbitrary direction u? The answer turns out to be completely determined by the gradient you already know: D_u f = ∇f · u, the dot product of the gradient with the unit direction vector.

The dot product formula is not a coincidence — it is the content of the theorem. Since |u| = 1, the dot product gives D_u f = |∇f| cos θ, where θ is the angle between ∇f and u. This single formula encodes all directional information. When u points in the gradient direction (θ = 0°), you get the maximum rate of change: D_u f = |∇f|. When u is perpendicular to ∇f (θ = 90°), the rate of change is zero — you are moving along a level curve where f is momentarily constant. When u points directly opposite to ∇f (θ = 180°), you get the steepest descent: D_u f = −|∇f|. The gradient is not just one derivative among many; it is the master object from which every directional derivative is computed as a projection.

This gives the gradient a precise geometric meaning: its direction is the direction of steepest ascent, and its magnitude is the rate of steepest ascent in that direction. Every other directional derivative is the cosine-scaled shadow of this maximum onto your chosen direction. The practical consequence is immediate: in gradient descent (used throughout optimization and machine learning), the update step moves in the direction of −∇f because that is exactly the direction that decreases f most steeply per unit step.

The requirement that u be a unit vector is not pedantry. Without normalization, the formula ∇f · v for an arbitrary vector v conflates two different things: the direction of travel and the distance of the step. A unit vector encodes pure direction; scaling by |v| changes the rate of change, not the direction. If you use a non-unit vector v, you get ∇f · v = (D_{v/|v|} f) · |v|, which is the directional derivative scaled by the step length. The unit-vector convention ensures that D_u f is purely a geometric quantity about the slope of f in direction u, independent of any chosen step size.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Vectors in Two Dimensions → Vector Operations: Addition, Subtraction, and Scalar Multiplication → Dot Product (Inner Product in R^n) → Dot Product and Projections → Directional Derivatives

Longest path: 79 steps · 359 total prerequisite topics

Prerequisites (3)

Leads To (4)