🌱 Tony's Memex Tony's Intertwingled Memex
Digital Garden | OER Curriculum
Courses / Calculus III / Session 12

Gradient and Directional Derivatives

Session Objectives & Overview

By the end of this session, you will be able to:

  • Formulate general gradient vectors ∇f=⟨fx,fy⟩\nabla f = \langle f_x, f_y \rangle and ∇f=⟨fx,fy,fz⟩\nabla f = \langle f_x, f_y, f_z \rangle in both bracket and unit vector (i^,j^,k^\hat{i}, \hat{j}, \hat{k}) notations, evaluate them at specific domain points, and interpret their geometric role as normal vectors orthogonal to level curves (f(x,y)=cf(x, y) = c) and level surfaces (F(x,y,z)=cF(x, y, z) = c).
  • Evaluate directional derivatives Du⃗f=∇f⋅u⃗D_{\vec{u}} f = \nabla f \cdot \vec{u} for functions of two and three variables along arbitrary directions, strictly enforcing unit vector normalization (u⃗=v⃗/∥v⃗∥\vec{u} = \vec{v}/\|\vec{v}\|) and directional angle parameterizations (u⃗=⟨cos⁡θ,sin⁡θ⟩\vec{u} = \langle \cos\theta, \sin\theta \rangle).
  • Determine the directions and values of maximum rate of increase (∥∇f∥\|\nabla f\|), steepest descent (−∥∇f∥-\|\nabla f\|), and zero change (u⃗⊥∇f\vec{u} \perp \nabla f), and utilize gradient normals n⃗=∇F\vec{n} = \nabla F to construct tangent plane equations Fx(x−x0)+Fy(y−y0)+Fz(z−z0)=0F_x(x - x_0) + F_y(y - y_0) + F_z(z - z_0) = 0 for implicit 3D level surfaces.

📅 Micro-Lecture

1. The Gradient Operator: Transforming Scalar Fields into Vector Fields

  • Mathematical Foundation: In multivariable modeling, physical quantities such as altitude, temperature, voltage, and pressure are scalar fields: functions that assign a single numerical value to each coordinate in space. The vector differential operator del (∇=⟨∂/∂x,∂/∂y,∂/∂z⟩\nabla = \langle \partial/\partial x, \partial/\partial y, \partial/\partial z \rangle) acts upon a scalar function ff to create the gradient vector ∇f\nabla f. As established in The Gradient Vector, ∇f\nabla f bundles all spatial sensitivities into a single geometric arrow. It possesses three foundational properties: it points in the direction of steepest ascent, its magnitude ∥∇f∥\|\nabla f\| equals the maximum instantaneous rate of increase, and it is strictly perpendicular to the level curves or level surfaces passing through that point.
  • Engineering Context: Environmental and water resource engineers map topographic elevation h(x,y)h(x, y) in stormwater basins; gravity causes surface water to flow along the direction of steepest descent (−∇h-\nabla h), while earthen retaining dikes follow level contours orthogonal to ∇h\nabla h.

2. Directional Derivatives: Arbitrary Trajectories and Normalization

  • Mathematical Foundation: Partial derivatives fxf_x and fyf_y quantify rates of change strictly along the coordinate axes (i^\hat{i} and j^\hat{j}). Real-world vehicles, wind patterns, and structural loads move along arbitrary trajectories. The directional derivative Du⃗fD_{\vec{u}} f calculates the instantaneous rate of change per unit distance in any specified direction u⃗\vec{u}. By the Gradient Theorem for Directional Derivatives (explored in Directional Derivatives), this rate is computed using the scalar dot product: Du⃗f=∇f⋅u⃗=∥∇f∥cos⁡ϕD_{\vec{u}} f = \nabla f \cdot \vec{u} = \|\nabla f\|\cos\phi. Crucially, this relationship holds only if u⃗\vec{u} is a unit vector (∥u⃗∥=1\|\vec{u}\| = 1). Non-unit vectors must always be normalized to avoid scaling the derivative incorrectly.
  • Engineering Context: Civil and geotechnical engineers calculate directional derivatives along proposed bulldozer cut paths to verify that off-axis road grades do not exceed the 30%30\% rollover threshold of heavy earthmoving machinery.

3. Extremal Bounds of Change and Tangent Planes to Implicit Surfaces

  • Mathematical Foundation: Because the dot product satisfies Du⃗f=∥∇f∥cos⁡ϕD_{\vec{u}} f = \|\nabla f\|\cos\phi where ϕ\phi is the angle between ∇f\nabla f and u⃗\vec{u}, the rate of change is bounded by −∥∇f∥≤Du⃗f≤∥∇f∥-\|\nabla f\| \le D_{\vec{u}} f \le \|\nabla f\|. The maximum increase occurs when u⃗\vec{u} is parallel to ∇f\nabla f (ϕ=0\phi = 0), the maximum decrease occurs opposite to ∇f\nabla f (ϕ=π\phi = \pi), and zero change occurs when u⃗\vec{u} is orthogonal to ∇f\nabla f (ϕ=π/2\phi = \pi/2). Furthermore, for an implicit level surface F(x,y,z)=cF(x, y, z) = c, the gradient ∇F(x0,y0,z0)\nabla F(x_0, y_0, z_0) acts directly as the surface normal vector n⃗\vec{n}, enabling immediate construction of tangent plane equations Fx(x−x0)+Fy(y−y0)+Fz(z−z0)=0F_x(x - x_0) + F_y(y - y_0) + F_z(z - z_0) = 0 as detailed in Tangent Planes to Level Surfaces.
  • Engineering Context: Thermal engineers design microprocessor cooling fins parallel to −∇T-\nabla T to maximize heat conduction under Fourier's Law (q⃗=−k∇T\vec{q} = -k\nabla T), while aerospace engineers compute surface normals n⃗=∇F\vec{n} = \nabla F to position structural stiffeners on pressurized rocket fuel tanks.