wanna mathMath ain't scary (not anymore)
4-Tier Textbook Index • Vol → Mod → Ch → Lab

Engineering Mathematics Volumes I–VI

6 Volumes • 20 Modules • 85 ChaptersFull Matrix →
4-Tier Statistics Index • Vol S → Mod → Ch → Lab

Interactive Statistics (S.1–S.6)

6 Modules • 18 ChaptersStatistics Index →
CHAPTER 3.3.2 • 2D + 3DPublished Interactive Labs~35 min study

Directional Derivatives (D_û f = ∇f · û) & Rate of Change

Input any 2D or 3D scalar function, point P, and direction vector v to normalize û = v/‖v‖, calculate D_û f(P) step by step, and visualize slicing planes and 1D ray profiles.

Engineering & Physical Application Context

Aircraft glide slope sensitivity along flight velocity v, thermal rate of change measured by a moving probe, angle between intersecting surfaces, and conservative path differentials df = ∇f · dr.

Governing Mathematical Formulation
Du^ϕ(P)=∇ϕ(P)⋅u^=∇ϕ(P)⋅v∥v∥=∥∇ϕ(P)∥cos⁡θD_{\hat{\mathbf{u}}}\phi(P) = \nabla\phi(P)\cdot\hat{\mathbf{u}} = \nabla\phi(P)\cdot\frac{\mathbf{v}}{\|\mathbf{v}\|} = \|\nabla\phi(P)\|\cos\theta
−∥∇ϕ(P)∥≤Du^ϕ(P)≤+∥∇ϕ(P)∥-\|\nabla\phi(P)\| \le D_{\hat{\mathbf{u}}}\phi(P) \le +\|\nabla\phi(P)\|
Volume III • Module 3.31 Interactive Lab(s)

The Question You Should Ask

Given any 2D or 3D direction vector v\mathbf{v} starting at PP, how fast does a scalar field ϕ\phi change per unit arc length—and why must v\mathbf{v} be normalized first?

In Simple Words & Math

Directional rate of change measures change per unit physical distance, not per raw step of length ∥v∥\|\mathbf{v}\|. Always convert a nonzero vector v\mathbf{v} into the unit heading u^=v∥v∥\hat{\mathbf{u}} = \frac{\mathbf{v}}{\|\mathbf{v}\|} first, then dot with the gradient: Du^ϕ(P)=∇ϕ(P)⋅u^=∥∇ϕ(P)∥cos⁡θD_{\hat{\mathbf{u}}}\phi(P) = \nabla\phi(P)\cdot\hat{\mathbf{u}} = \|\nabla\phi(P)\|\cos\theta.

The cos⁡θ\cos\theta factor immediately characterizes all extremes: Du^ϕD_{\hat{\mathbf{u}}}\phi peaks at +∥∇ϕ(P)∥+\|\nabla\phi(P)\| along +∇ϕ+\nabla\phi, bottoms out at −∥∇ϕ(P)∥-\|\nabla\phi(P)\| along −∇ϕ-\nabla\phi, and equals 00 along any tangent direction perpendicular to ∇ϕ\nabla\phi.

4-Step Pedagogical Chapter Rhythm • Geometric Intuition First
Ch. 3.3.2
STEP 1 • GEOMETRIC QUESTION

Given an arbitrary non-unit direction vector v = ⟨v_x, v_y, v_z⟩ starting at P, how fast does a scalar field φ change per unit arc length—and which directions produce extreme or zero change?

STEP 2 • INTERACTIVE LAB EXPLORATION

Enter any 2D or 3D formula, point P, and vector v (or snap to +∇f, -∇f, or orthogonal tangent), watch v normalize to û, inspect the 3-step dot-product calculation, and view the 3D slice alongside the 2D projection & 1D ray slope curve.

STEP 3 • SYMBOLIC FORMALIZATION
Du^ϕ(P)=ddsϕ(P+su^)∣s=0=∇ϕ(P)⋅v∥v∥D_{\hat{\mathbf{u}}}\phi(P) = \left.\frac{d}{ds}\phi(P + s\hat{\mathbf{u}})\right|_{s=0} = \color{#D35323}{\nabla\phi(P)} \cdot \color{#8D9FCE}{\frac{\mathbf{v}}{\|\mathbf{v}\|}}
STEP 4 • EDGE CASES & NEXT BRIDGE

Never dot ∇φ with raw v when ‖v‖ ≠ 1—always normalize to û first! With gradient vectors mastered, Chapter 3.3.3 elevates general vector fields F(x,y,z) via divergence ∇·F and curl ∇×F.

Interactive Laboratories in Chapter 3.3.2
Initializing Interactive Laboratory
LOADING MODULE

Preparing interactive canvas & numerical solver…

wanna math drafting viewport

Directional Rate of Change • Module 3.3.2

Directional Derivatives Du^ϕD_{\hat{\mathbf{u}}}\phi, Normalization & Steepest Bounds

Continue to Vector Fields, Div & Curl (3.3.3) →
1. ALWAYS NORMALIZE v → û FIRST
u^=v∥v∥,∥u^∥=1\hat{\mathbf{u}} = \frac{\mathbf{v}}{\|\mathbf{v}\|}, \qquad \|\hat{\mathbf{u}}\| = 1

Directional derivative measures rate of change per unit arc length. If you are given a non-unit vector v\mathbf{v}, dividing by ∥v∥\|\mathbf{v}\| prevents scaling artifacts in Du^ϕD_{\hat{\mathbf{u}}}\phi.

2. SCALAR PROJECTION FORMULA
Du^ϕ(P)=∇ϕ(P)⋅u^=ddsϕ(P+su^)∣s=0D_{\hat{\mathbf{u}}}\phi(P) = \nabla\phi(P)\cdot\hat{\mathbf{u}} = \left.\frac{d}{ds}\phi(P + s\hat{\mathbf{u}})\right|_{s=0}

Restricting ϕ\phi to the ray r(s)=P+su^\mathbf{r}(s) = P + s\hat{\mathbf{u}} reduces 3D differentiation to the slope of the single-variable 1D slice curve ϕ(P+su^)\phi(P + s\hat{\mathbf{u}}) at s=0s=0.

3. CAUCHY–SCHWARZ EXTREMES (±‖∇φ‖)
Du^ϕ=∥∇ϕ∥cos⁡θ∈[−∥∇ϕ∥,  +∥∇ϕ∥]D_{\hat{\mathbf{u}}}\phi = \|\nabla\phi\|\cos\theta \in \big[-\|\nabla\phi\|,\; +\|\nabla\phi\|\big]

Maximum increase (+∥∇ϕ∥+\|\nabla\phi\|) occurs at θ=0\theta = 0 along +∇ϕ+\nabla\phi; steepest drop occurs at θ=π\theta = \pi; zero change occurs along the level tangent plane (θ=π/2\theta = \pi/2).

Unit Ray Rates & Differentiability • Ch. 3.3.2

Unit Normalization Trap, Gâteaux vs. Fréchet Limits & 3D Ascent Cones

Open Directional Rate Formulas →
1. MANDATORY UNIT NORMALIZATION
u^=v∥v∥,Du^ϕ=∇ϕ⋅u^\hat{\mathbf{u}} = \frac{\mathbf{v}}{\|\mathbf{v}\|},\qquad D_{\hat{\mathbf{u}}}\phi = \nabla\phi \cdot \hat{\mathbf{u}}

Directional derivatives measure spatial rate per unit arc length! Dotting ∇ϕ\nabla\phi directly with an unnormalized vector v\mathbf{v} silently inflates the slope by ∥v∥\|\mathbf{v}\|.

2. GÂTEAUX SLICE VS. FRÉCHET LINEARITY
Du^ϕ(P)=lim⁡s→0ϕ(P+su^)−ϕ(P)sD_{\hat{\mathbf{u}}}\phi(P) = \lim_{s\to 0}\frac{\phi(P+s\hat{\mathbf{u}})-\phi(P)}{s}

The 1D Gâteaux ray limit defines the true directional rate everywhere along line P+su^P + s\hat{\mathbf{u}}; replacing it by ∇ϕ⋅u^\nabla\phi\cdot\hat{\mathbf{u}} requires total Fréchet differentiability of ϕ\phi at PP.

3. 3D STEEPEST-ASCENT CONE
Du^ϕ=c  ⟺  cos⁡θ=c∥∇ϕ∥D_{\hat{\mathbf{u}}}\phi = c \iff \cos\theta = \frac{c}{\|\nabla\phi\|}

Holding a constant directional slope cc traces out a circular cone of unit vectors tilted at angle θ\theta around +∇ϕ+\nabla\phi, flattening onto the level-surface tangent plane when c=0c = 0.

Chapter 3.3.2 Laboratory Specifications

1 Interactive Lab(s)
LAB 3.3.2.1Component: DirectionalDerivativeCalculatorLab

Interactive 2D/3D Directional Derivative Calculator & Slicer Lab

Input f(x,y) or φ(x,y,z), point P, and direction vector v to compute û, ∇φ·û, angle θ, and visualize 3D slicing planes, contours, and 1D ray profiles.

Du^ϕ=∇ϕ⋅u^D_{\hat{\mathbf{u}}}\phi = \nabla\phi\cdot\hat{\mathbf{u}}