MATH-283 (Calculus III) Curriculum

Session 12 - Gradient and Directional Derivatives

Handout Worksheet
Fall Semester 2026
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∇f=⟨fx​,fy​⟩ and ∇f=⟨fx,fy,fz⟩\nabla f = \langle f_x, f_y, f_z \rangle∇f=⟨fx​,fy​,fz​⟩ in both bracket and unit vector (i^,j^,k^\hat{i}, \hat{j}, \hat{k}i^,j^​,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) = cf(x,y)=c) and level surfaces (F(x,y,z)=cF(x, y, z) = cF(x,y,z)=c).
  • Evaluate directional derivatives Du⃗f=∇f⋅u⃗D_{\vec{u}} f = \nabla f \cdot \vec{u}Du​f=∇f⋅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}\|u=v/∥v∥) and directional angle parameterizations (u⃗=⟨cos⁡θ,sin⁡θ⟩\vec{u} = \langle \cos\theta, \sin\theta \rangleu=⟨cosθ,sinθ⟩).
  • Determine the directions and values of maximum rate of increase (∥∇f∥\|\nabla f\|∥∇f∥), steepest descent (−∥∇f∥-\|\nabla f\|−∥∇f∥), and zero change (u⃗⊥∇f\vec{u} \perp \nabla fu⊥∇f), and utilize gradient normals n⃗=∇F\vec{n} = \nabla Fn=∇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) = 0Fx​(x−x0​)+Fy​(y−y0​)+Fz​(z−z0​)=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∇=⟨∂/∂x,∂/∂y,∂/∂z⟩) acts upon a scalar function fff to create the gradient vector ∇f\nabla f∇f. As established in The Gradient Vector, ∇f\nabla f∇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\|∥∇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)h(x,y) in stormwater basins; gravity causes surface water to flow along the direction of steepest descent (−∇h-\nabla h−∇h), while earthen retaining dikes follow level contours orthogonal to ∇h\nabla h∇h.

2. Directional Derivatives: Arbitrary Trajectories and Normalization

  • Mathematical Foundation: Partial derivatives fxf_xfx​ and fyf_yfy​ quantify rates of change strictly along the coordinate axes (i^\hat{i}i^ and j^\hat{j}j^​). Real-world vehicles, wind patterns, and structural loads move along arbitrary trajectories. The directional derivative Du⃗fD_{\vec{u}} fDu​f calculates the instantaneous rate of change per unit distance in any specified direction u⃗\vec{u}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\phiDu​f=∇f⋅u=∥∇f∥cosϕ. Crucially, this relationship holds only if u⃗\vec{u}u is a unit vector (∥u⃗∥=1\|\vec{u}\| = 1∥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\%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\phiDu​f=∥∇f∥cosϕ where ϕ\phiϕ is the angle between ∇f\nabla f∇f and u⃗\vec{u}u, the rate of change is bounded by −∥∇f∥≤Du⃗f≤∥∇f∥-\|\nabla f\| \le D_{\vec{u}} f \le \|\nabla f\|−∥∇f∥≤Du​f≤∥∇f∥. The maximum increase occurs when u⃗\vec{u}u is parallel to ∇f\nabla f∇f (ϕ=0\phi = 0ϕ=0), the maximum decrease occurs opposite to ∇f\nabla f∇f (ϕ=π\phi = \piϕ=π), and zero change occurs when u⃗\vec{u}u is orthogonal to ∇f\nabla f∇f (ϕ=π/2\phi = \pi/2ϕ=π/2). Furthermore, for an implicit level surface F(x,y,z)=cF(x, y, z) = cF(x,y,z)=c, the gradient ∇F(x0,y0,z0)\nabla F(x_0, y_0, z_0)∇F(x0​,y0​,z0​) acts directly as the surface normal vector n⃗\vec{n}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) = 0Fx​(x−x0​)+Fy​(y−y0​)+Fz​(z−z0​)=0 as detailed in Tangent Planes to Level Surfaces.
  • Engineering Context: Thermal engineers design microprocessor cooling fins parallel to −∇T-\nabla T−∇T to maximize heat conduction under Fourier's Law (q⃗=−k∇T\vec{q} = -k\nabla Tq​=−k∇T), while aerospace engineers compute surface normals n⃗=∇F\vec{n} = \nabla Fn=∇F to position structural stiffeners on pressurized rocket fuel tanks.

Skill Block 1

Worked Example A: Polynomial Gradient Computation and Point Evaluation

Consider the multivariable function:

f(x,y)=4x3y2−3x2+7yf(x, y) = 4x^3y^2 - 3x^2 + 7yf(x,y)=4x3y2−3x2+7y

  1. Find the general gradient vector ∇f(x,y)\nabla f(x, y)∇f(x,y).
  2. Evaluate ∇f\nabla f∇f at the point P(1,−2)P(1, -2)P(1,−2).
  3. State the direction of steepest ascent as a unit vector and determine the maximum rate of change at PPP.
Worked Solution:
  1. Compute First-Order Partial Derivatives: State the Two-Variable Gradient Formula (defined in The Gradient Vector):

    ∇f(x,y)=⟨∂f∂x,∂f∂y⟩\nabla f(x, y) = \left\langle \frac{\partial f}{\partial x}, \frac{\partial f}{\partial y} \right\rangle∇f(x,y)=⟨∂x∂f​,∂y∂f​⟩
    Differentiate with respect to xxx treating yyy as constant:
    fx(x,y)=∂∂x(4x3y2−3x2+7y)=12x2y2−6xf_x(x, y) = \frac{\partial}{\partial x}(4x^3y^2 - 3x^2 + 7y) = 12x^2y^2 - 6xfx​(x,y)=∂x∂​(4x3y2−3x2+7y)=12x2y2−6x
    Differentiate with respect to yyy treating xxx as constant:
    fy(x,y)=∂∂y(4x3y2−3x2+7y)=8x3y+7f_y(x, y) = \frac{\partial}{\partial y}(4x^3y^2 - 3x^2 + 7y) = 8x^3y + 7fy​(x,y)=∂y∂​(4x3y2−3x2+7y)=8x3y+7
    General gradient vector:
    ∇f(x,y)=⟨12x2y2−6x, 8x3y+7⟩=(12x2y2−6x)i^+(8x3y+7)j^\nabla f(x, y) = \langle 12x^2y^2 - 6x, \, 8x^3y + 7 \rangle = (12x^2y^2 - 6x)\hat{i} + (8x^3y + 7)\hat{j}∇f(x,y)=⟨12x2y2−6x,8x3y+7⟩=(12x2y2−6x)i^+(8x3y+7)j^​

  2. Evaluate at Point P(1,−2)P(1, -2)P(1,−2): Substitute x=1x = 1x=1 and y=−2y = -2y=−2:

    fx(1,−2)=12(1)2(−2)2−6(1)=12(4)−6=48−6=42f_x(1, -2) = 12(1)^2(-2)^2 - 6(1) = 12(4) - 6 = 48 - 6 = 42fx​(1,−2)=12(1)2(−2)2−6(1)=12(4)−6=48−6=42
    fy(1,−2)=8(1)3(−2)+7=8(−2)+7=−16+7=−9f_y(1, -2) = 8(1)^3(-2) + 7 = 8(-2) + 7 = -16 + 7 = -9fy​(1,−2)=8(1)3(−2)+7=8(−2)+7=−16+7=−9
    Evaluated gradient vector:
    ∇f(1,−2)=⟨42,−9⟩=42i^−9j^\nabla f(1, -2) = \langle 42, -9 \rangle = 42\hat{i} - 9\hat{j}∇f(1,−2)=⟨42,−9⟩=42i^−9j^​

  3. Determine Steepest Ascent Unit Vector and Maximum Rate: Compute the vector magnitude:

    ∥∇f(1,−2)∥=422+(−9)2=1764+81=1845=3205≈42.95\|\nabla f(1, -2)\| = \sqrt{42^2 + (-9)^2} = \sqrt{1764 + 81} = \sqrt{1845} = 3\sqrt{205} \approx 42.95∥∇f(1,−2)∥=422+(−9)2​=1764+81​=1845​=3205​≈42.95
    The unit vector pointing in the direction of steepest ascent is:
    u⃗ascent=∇f(1,−2)∥∇f(1,−2)∥=⟨42,−9⟩3205=⟨14205,−3205⟩\vec{u}_{\text{ascent}} = \frac{\nabla f(1, -2)}{\|\nabla f(1, -2)\|} = \frac{\langle 42, -9 \rangle}{3\sqrt{205}} = \left\langle \frac{14}{\sqrt{205}}, -\frac{3}{\sqrt{205}} \right\rangleuascent​=∥∇f(1,−2)∥∇f(1,−2)​=3205​⟨42,−9⟩​=⟨205​14​,−205​3​⟩
    The maximum rate of change at PPP is 3205≈42.953\sqrt{205} \approx 42.953205​≈42.95.

Practice Problem 1: Concept & Reading Check

Open this Skill Block on the Memex to locate the information needed to answer the following:

  • (a) Explain the fundamental mathematical difference between the output of the function f(x,y)f(x, y)f(x,y) and the output of its gradient operator ∇f(x,y)\nabla f(x, y)∇f(x,y).
  • (b) In Worked Example A, explain why substituting the point coordinates (1,−2)(1, -2)(1,−2) before taking the partial derivatives would produce an incorrect result.
  • (c) In Topographic Retention Basin Drainage (Environmental & Civil Engineering), explain why water flows in the direction of −∇E-\nabla E−∇E rather than ∇E\nabla E∇E.
Solution Key:
  • (a) The function f(x,y)f(x, y)f(x,y) is a scalar field that assigns a single numerical value (such as elevation, voltage, or temperature) to each domain coordinate. The gradient ∇f(x,y)=⟨fx,fy⟩\nabla f(x, y) = \langle f_x, f_y \rangle∇f(x,y)=⟨fx​,fy​⟩ is a vector field that assigns a directed vector to each point, encoding both the compass direction of maximum increase and the slope steepness.
  • (b) If coordinates (1,−2)(1, -2)(1,−2) are substituted into f(x,y)f(x, y)f(x,y) before differentiating, the expression evaluates to a constant scalar (f(1,−2)=4(1)(4)−3(1)+7(−2)=−1f(1, -2) = 4(1)(4) - 3(1) + 7(-2) = -1f(1,−2)=4(1)(4)−3(1)+7(−2)=−1). The derivative of any constant is zero, which would falsely suggest ∇f=⟨0,0⟩\nabla f = \langle 0, 0 \rangle∇f=⟨0,0⟩. Differentiating symbolically first preserves the rates of change ∂f/∂x\partial f/\partial x∂f/∂x and ∂f/∂y\partial f/\partial y∂f/∂y.
  • (c) By the fundamental properties of the gradient, ∇E\nabla E∇E points in the direction of steepest elevation increase (straight uphill). Fluid runoff under the influence of gravity seeks the fastest drop in gravitational potential energy, which corresponds to the negative gradient −∇E-\nabla E−∇E (the path of steepest descent).
Show your steps and calculations here.

Practice Problem 2

Consider the multivariable function f(x,y)=2x3y2−4x+5yf(x, y) = 2x^3y^2 - 4x + 5yf(x,y)=2x3y2−4x+5y.

  • (a) Find the general gradient vector ∇f(x,y)\nabla f(x, y)∇f(x,y).
  • (b) Evaluate ∇f\nabla f∇f at the point P(2,−1)P(2, -1)P(2,−1).
  • (c) State the geometric meaning of the resulting vector's direction and magnitude.
Solution Key:
  1. Compute Symbolic Partial Derivatives: State the Gradient Formula (defined in The Gradient Vector):

    ∇f(x,y)=⟨∂f∂x,∂f∂y⟩\nabla f(x, y) = \left\langle \frac{\partial f}{\partial x}, \frac{\partial f}{\partial y} \right\rangle∇f(x,y)=⟨∂x∂f​,∂y∂f​⟩
    Differentiate with respect to xxx:
    fx(x,y)=∂∂x(2x3y2−4x+5y)=6x2y2−4f_x(x, y) = \frac{\partial}{\partial x}(2x^3y^2 - 4x + 5y) = 6x^2y^2 - 4fx​(x,y)=∂x∂​(2x3y2−4x+5y)=6x2y2−4
    Differentiate with respect to yyy:
    fy(x,y)=∂∂y(2x3y2−4x+5y)=4x3y+5f_y(x, y) = \frac{\partial}{\partial y}(2x^3y^2 - 4x + 5y) = 4x^3y + 5fy​(x,y)=∂y∂​(2x3y2−4x+5y)=4x3y+5
    General gradient:
    ∇f(x,y)=⟨6x2y2−4, 4x3y+5⟩\nabla f(x, y) = \langle 6x^2y^2 - 4, \, 4x^3y + 5 \rangle∇f(x,y)=⟨6x2y2−4,4x3y+5⟩

  2. Evaluate at P(2,−1)P(2, -1)P(2,−1): Substitute x=2x = 2x=2 and y=−1y = -1y=−1:

    fx(2,−1)=6(2)2(−1)2−4=6(4)(1)−4=24−4=20f_x(2, -1) = 6(2)^2(-1)^2 - 4 = 6(4)(1) - 4 = 24 - 4 = 20fx​(2,−1)=6(2)2(−1)2−4=6(4)(1)−4=24−4=20
    fy(2,−1)=4(2)3(−1)+5=4(8)(−1)+5=−32+5=−27f_y(2, -1) = 4(2)^3(-1) + 5 = 4(8)(-1) + 5 = -32 + 5 = -27fy​(2,−1)=4(2)3(−1)+5=4(8)(−1)+5=−32+5=−27
    Evaluated gradient:
    ∇f(2,−1)=⟨20,−27⟩=20i^−27j^\nabla f(2, -1) = \langle 20, -27 \rangle = 20\hat{i} - 27\hat{j}∇f(2,−1)=⟨20,−27⟩=20i^−27j^​

  3. State Geometric Meaning:

    • Direction: The vector ⟨20,−27⟩\langle 20, -27 \rangle⟨20,−27⟩ points in the direction of steepest ascent, where the function value increases most rapidly moving away from (2,−1)(2, -1)(2,−1).
    • Magnitude: The Euclidean norm ∥∇f(2,−1)∥=202+(−27)2=400+729=1129≈33.60\|\nabla f(2, -1)\| = \sqrt{20^2 + (-27)^2} = \sqrt{400 + 729} = \sqrt{1129} \approx 33.60∥∇f(2,−1)∥=202+(−27)2​=400+729​=1129​≈33.60 represents the maximum instantaneous rate of increase of fff per unit distance at (2,−1)(2, -1)(2,−1).
Show your steps and calculations here.

Practice Problem 3

Let a three-dimensional scalar field be defined by f(x,y,z)=yln⁡(x)+xz2eyf(x, y, z) = y\ln(x) + xz^2e^yf(x,y,z)=yln(x)+xz2ey.

  • (a) Compute the general gradient vector ∇f(x,y,z)\nabla f(x, y, z)∇f(x,y,z).
  • (b) Evaluate ∇f\nabla f∇f at the point P(1,0,3)P(1, 0, 3)P(1,0,3).
Solution Key:
  1. Compute 3D Partial Derivatives: State the Three-Variable Gradient Formula (defined in The Gradient Vector):

    ∇f(x,y,z)=⟨∂f∂x,∂f∂y,∂f∂z⟩\nabla f(x, y, z) = \left\langle \frac{\partial f}{\partial x}, \frac{\partial f}{\partial y}, \frac{\partial f}{\partial z} \right\rangle∇f(x,y,z)=⟨∂x∂f​,∂y∂f​,∂z∂f​⟩
    Differentiate with respect to xxx:
    fx=∂∂x[yln⁡(x)+xz2ey]=yx+z2eyf_x = \frac{\partial}{\partial x}[y\ln(x) + xz^2e^y] = \frac{y}{x} + z^2e^yfx​=∂x∂​[yln(x)+xz2ey]=xy​+z2ey
    Differentiate with respect to yyy:
    fy=∂∂y[yln⁡(x)+xz2ey]=ln⁡(x)+xz2eyf_y = \frac{\partial}{\partial y}[y\ln(x) + xz^2e^y] = \ln(x) + xz^2e^yfy​=∂y∂​[yln(x)+xz2ey]=ln(x)+xz2ey
    Differentiate with respect to zzz:
    fz=∂∂z[yln⁡(x)+xz2ey]=2xzeyf_z = \frac{\partial}{\partial z}[y\ln(x) + xz^2e^y] = 2xze^yfz​=∂z∂​[yln(x)+xz2ey]=2xzey
    General gradient:
    ∇f(x,y,z)=⟨yx+z2ey, ln⁡(x)+xz2ey, 2xzey⟩\nabla f(x, y, z) = \left\langle \frac{y}{x} + z^2e^y, \, \ln(x) + xz^2e^y, \, 2xze^y \right\rangle∇f(x,y,z)=⟨xy​+z2ey,ln(x)+xz2ey,2xzey⟩

  2. Evaluate at Coordinate Point P(1,0,3)P(1, 0, 3)P(1,0,3): Substitute x=1x = 1x=1, y=0y = 0y=0, and z=3z = 3z=3:

    fx(1,0,3)=01+32e0=0+9(1)=9f_x(1, 0, 3) = \frac{0}{1} + 3^2 e^0 = 0 + 9(1) = 9fx​(1,0,3)=10​+32e0=0+9(1)=9
    fy(1,0,3)=ln⁡(1)+1(32)e0=0+9(1)=9f_y(1, 0, 3) = \ln(1) + 1(3^2)e^0 = 0 + 9(1) = 9fy​(1,0,3)=ln(1)+1(32)e0=0+9(1)=9
    fz(1,0,3)=2(1)(3)e0=6(1)=6f_z(1, 0, 3) = 2(1)(3)e^0 = 6(1) = 6fz​(1,0,3)=2(1)(3)e0=6(1)=6
    Evaluated gradient:
    ∇f(1,0,3)=⟨9,9,6⟩=9i^+9j^+6k^\nabla f(1, 0, 3) = \langle 9, 9, 6 \rangle = 9\hat{i} + 9\hat{j} + 6\hat{k}∇f(1,0,3)=⟨9,9,6⟩=9i^+9j^​+6k^

Show your steps and calculations here.

Practice Problem 4

The topographic elevation of an alluvial retention basin is modeled by the function h(x,y)=500−3x2−y2h(x, y) = 500 - 3x^2 - y^2h(x,y)=500−3x2−y2, where hhh is ground elevation in meters and x,yx, yx,y are spatial coordinates in meters.

  • (a) Compute the general gradient vector ∇h(x,y)\nabla h(x, y)∇h(x,y).
  • (b) If a civil surveyor stands at coordinate point P(2,4)P(2, 4)P(2,4), determine the compass direction of steepest ascent as a unit vector and calculate the exact slope in that direction.
  • (c) Write down a vector representing the natural direction that rainwater runoff will flow as it passes through point P(2,4)P(2, 4)P(2,4).
Solution Key:
  1. Compute General Elevation Gradient: State the Elevation Gradient Formula (defined in The Gradient Vector):

    ∇h(x,y)=⟨∂h∂x,∂h∂y⟩=⟨−6x,−2y⟩\nabla h(x, y) = \left\langle \frac{\partial h}{\partial x}, \frac{\partial h}{\partial y} \right\rangle = \langle -6x, -2y \rangle∇h(x,y)=⟨∂x∂h​,∂y∂h​⟩=⟨−6x,−2y⟩

  2. Evaluate Steepest Ascent Direction and Slope at P(2,4)P(2, 4)P(2,4): Substitute x=2x = 2x=2 and y=4y = 4y=4:

    ∇h(2,4)=⟨−6(2),−2(4)⟩=⟨−12,−8⟩\nabla h(2, 4) = \langle -6(2), -2(4) \rangle = \langle -12, -8 \rangle∇h(2,4)=⟨−6(2),−2(4)⟩=⟨−12,−8⟩
    Compute vector magnitude:
    ∥∇h(2,4)∥=(−12)2+(−8)2=144+64=208=413≈14.42 m/m\|\nabla h(2, 4)\| = \sqrt{(-12)^2 + (-8)^2} = \sqrt{144 + 64} = \sqrt{208} = 4\sqrt{13} \approx 14.42\text{ m/m}∥∇h(2,4)∥=(−12)2+(−8)2​=144+64​=208​=413​≈14.42 m/m
    The direction of steepest ascent as a normalized unit vector is:
    u⃗ascent=⟨−12,−8⟩413=⟨−12413,−8413⟩=⟨−313,−213⟩≈⟨−0.832,−0.555⟩\vec{u}_{\text{ascent}} = \frac{\langle -12, -8 \rangle}{4\sqrt{13}} = \left\langle -\frac{12}{4\sqrt{13}}, -\frac{8}{4\sqrt{13}} \right\rangle = \left\langle -\frac{3}{\sqrt{13}}, -\frac{2}{\sqrt{13}} \right\rangle \approx \langle -0.832, -0.555 \rangleuascent​=413​⟨−12,−8⟩​=⟨−413​12​,−413​8​⟩=⟨−13​3​,−13​2​⟩≈⟨−0.832,−0.555⟩
    The exact slope along this path is 413≈14.424\sqrt{13} \approx 14.42413​≈14.42 meters vertical rise per horizontal meter.

  3. Determine Rainwater Runoff Vector: Water flows down the fall line along the direction of steepest descent, governed by the negative gradient:

    v⃗drainage=−∇h(2,4)=−⟨−12,−8⟩=⟨12,8⟩\vec{v}_{\text{drainage}} = -\nabla h(2, 4) = -\langle -12, -8 \rangle = \langle 12, 8 \ranglevdrainage​=−∇h(2,4)=−⟨−12,−8⟩=⟨12,8⟩
    Expressed as a unit vector:
    u⃗drainage=⟨313,213⟩≈⟨0.832,0.555⟩\vec{u}_{\text{drainage}} = \left\langle \frac{3}{\sqrt{13}}, \frac{2}{\sqrt{13}} \right\rangle \approx \langle 0.832, 0.555 \rangleudrainage​=⟨13​3​,13​2​⟩≈⟨0.832,0.555⟩


Show your steps and calculations here.

Regroup 1

  • Clarifying Notation: Emphasize that ∇f(x,y)\nabla f(x, y)∇f(x,y) is a vector while f(x,y)f(x, y)f(x,y) is a scalar. Discuss why KaTeX bracket form ⟨a,b⟩\langle a, b \rangle⟨a,b⟩ and unit vector form ai^+bj^a\hat{i} + b\hat{j}ai^+bj^​ describe the same physical vector.
  • Order of Operations Pitfall: Reinforce that evaluating coordinates before differentiation eliminates variable dependencies and destroys the rate information.

Skill Block 2

Worked Example A: Standard Directional Derivative with Vector Normalization

Find the directional derivative of f(x,y)=3x2−2y2+5xyf(x, y) = 3x^2 - 2y^2 + 5xyf(x,y)=3x2−2y2+5xy at the point P(2,−1)P(2, -1)P(2,−1) in the direction of the vector v⃗=⟨3,4⟩\vec{v} = \langle 3, 4 \ranglev=⟨3,4⟩.

Worked Solution:
  1. Compute and Evaluate the Gradient Vector: State the Gradient Formula (defined in The Gradient Vector):

    ∇f(x,y)=⟨∂f∂x,∂f∂y⟩\nabla f(x, y) = \left\langle \frac{\partial f}{\partial x}, \frac{\partial f}{\partial y} \right\rangle∇f(x,y)=⟨∂x∂f​,∂y∂f​⟩
    Compute the partial derivatives:
    fx=6x+5y  ⟹  fx(2,−1)=6(2)+5(−1)=12−5=7f_x = 6x + 5y \implies f_x(2, -1) = 6(2) + 5(-1) = 12 - 5 = 7fx​=6x+5y⟹fx​(2,−1)=6(2)+5(−1)=12−5=7
    fy=−4y+5x  ⟹  fy(2,−1)=−4(−1)+5(2)=4+10=14f_y = -4y + 5x \implies f_y(2, -1) = -4(-1) + 5(2) = 4 + 10 = 14fy​=−4y+5x⟹fy​(2,−1)=−4(−1)+5(2)=4+10=14
    ∇f(2,−1)=⟨7,14⟩=7i^+14j^\nabla f(2, -1) = \langle 7, 14 \rangle = 7\hat{i} + 14\hat{j}∇f(2,−1)=⟨7,14⟩=7i^+14j^​

  2. Normalize the Direction Vector: State the Vector Normalization Formula:

    u⃗=v⃗∥v⃗∥=⟨v1,v2⟩v12+v22\vec{u} = \frac{\vec{v}}{\|\vec{v}\|} = \frac{\langle v_1, v_2 \rangle}{\sqrt{v_1^2 + v_2^2}}u=∥v∥v​=v12​+v22​​⟨v1​,v2​⟩​
    Calculate the magnitude of v⃗=⟨3,4⟩\vec{v} = \langle 3, 4 \ranglev=⟨3,4⟩:
    ∥v⃗∥=32+42=9+16=25=5\|\vec{v}\| = \sqrt{3^2 + 4^2} = \sqrt{9 + 16} = \sqrt{25} = 5∥v∥=32+42​=9+16​=25​=5
    Construct the unit vector:
    u⃗=⟨3,4⟩5=⟨35,45⟩\vec{u} = \frac{\langle 3, 4 \rangle}{5} = \left\langle \frac{3}{5}, \frac{4}{5} \right\rangleu=5⟨3,4⟩​=⟨53​,54​⟩

  3. Compute the Directional Derivative via Dot Product: State the Directional Derivative Formula (defined in Directional Derivatives):

    Du⃗f(2,−1)=∇f(2,−1)⋅u⃗D_{\vec{u}} f(2, -1) = \nabla f(2, -1) \cdot \vec{u}Du​f(2,−1)=∇f(2,−1)⋅u
    Evaluate the dot product:
    Du⃗f(2,−1)=⟨7,14⟩⋅⟨35,45⟩=7(35)+14(45)=21+565=775=15.4D_{\vec{u}} f(2, -1) = \langle 7, 14 \rangle \cdot \left\langle \frac{3}{5}, \frac{4}{5} \right\rangle = 7\left(\frac{3}{5}\right) + 14\left(\frac{4}{5}\right) = \frac{21 + 56}{5} = \frac{77}{5} = 15.4Du​f(2,−1)=⟨7,14⟩⋅⟨53​,54​⟩=7(53​)+14(54​)=521+56​=577​=15.4

Practice Problem 5: Concept & Reading Check

Open this Skill Block on the Memex to locate the information needed to answer the following:

  • (a) Explain why computing ∇f⋅v⃗\nabla f \cdot \vec{v}∇f⋅v using a non-unit vector v⃗=⟨3,4⟩\vec{v} = \langle 3, 4 \ranglev=⟨3,4⟩ without normalizing would give an incorrect rate of change.
  • (b) In Worked Example A, verify that the vector u⃗=⟨3/5,4/5⟩\vec{u} = \langle 3/5, 4/5 \rangleu=⟨3/5,4/5⟩ satisfies the definition of a unit vector.
  • (c) In Highway Grading & Haul Road Stability (Civil Engineering), how is the directional derivative Du⃗hD_{\vec{u}} hDu​h used to assess vehicle rollover risk?
Solution Key:
  • (a) The directional derivative measures the rate of change per unit distance (e.g., meters of rise per meter of travel). If an unnormalized vector v⃗\vec{v}v of length 5 is used in the dot product, the calculation yields ∇f⋅v⃗=5(∇f⋅u⃗)=77\nabla f \cdot \vec{v} = 5(\nabla f \cdot \vec{u}) = 77∇f⋅v=5(∇f⋅u)=77, which inflates the rate by fivefold and distorts the physical slope dimensions.
  • (b) The definition of a unit vector requires ∥u⃗∥=1\|\vec{u}\| = 1∥u∥=1. Squaring each component: (3/5)2=9/25(3/5)^2 = 9/25(3/5)2=9/25 and (4/5)2=16/25(4/5)^2 = 16/25(4/5)2=16/25. Summing gives 9/25+16/25=25/25=19/25 + 16/25 = 25/25 = 19/25+16/25=25/25=1. Taking the square root confirms ∥u⃗∥=1\|\vec{u}\| = 1∥u∥=1.
  • (c) Bulldozers and heavy haul trucks have maximum slope tolerances before losing track traction or tipping. While the steepest descent might be excessively steep, traveling along an angled heading u⃗\vec{u}u produces an effective grade of Du⃗hD_{\vec{u}} hDu​h. If this directional derivative exceeds −0.30-0.30−0.30 (30%30\%30% downhill grade), the civil engineer must reroute the road to a flatter angle.
Show your steps and calculations here.

Practice Problem 6

Let f(x,y)=x2y−2y2f(x, y) = x^2y - 2y^2f(x,y)=x2y−2y2. Calculate the directional derivative Du⃗f(3,1)D_{\vec{u}} f(3, 1)Du​f(3,1) in the direction of the vector v⃗=⟨5,12⟩\vec{v} = \langle 5, 12 \ranglev=⟨5,12⟩.

Solution Key:
  1. Compute and Evaluate the Gradient: State the Gradient Formula (defined in The Gradient Vector):

    ∇f(x,y)=⟨∂f∂x,∂f∂y⟩\nabla f(x, y) = \left\langle \frac{\partial f}{\partial x}, \frac{\partial f}{\partial y} \right\rangle∇f(x,y)=⟨∂x∂f​,∂y∂f​⟩
    Compute partial derivatives:
    fx=2xy  ⟹  fx(3,1)=2(3)(1)=6f_x = 2xy \implies f_x(3, 1) = 2(3)(1) = 6fx​=2xy⟹fx​(3,1)=2(3)(1)=6
    fy=x2−4y  ⟹  fy(3,1)=32−4(1)=9−4=5f_y = x^2 - 4y \implies f_y(3, 1) = 3^2 - 4(1) = 9 - 4 = 5fy​=x2−4y⟹fy​(3,1)=32−4(1)=9−4=5
    ∇f(3,1)=⟨6,5⟩\nabla f(3, 1) = \langle 6, 5 \rangle∇f(3,1)=⟨6,5⟩

  2. Normalize the Direction Vector: Compute the magnitude of v⃗=⟨5,12⟩\vec{v} = \langle 5, 12 \ranglev=⟨5,12⟩:

    ∥v⃗∥=52+122=25+144=169=13\|\vec{v}\| = \sqrt{5^2 + 12^2} = \sqrt{25 + 144} = \sqrt{169} = 13∥v∥=52+122​=25+144​=169​=13
    Construct the unit vector:
    u⃗=⟨5,12⟩13=⟨513,1213⟩\vec{u} = \frac{\langle 5, 12 \rangle}{13} = \left\langle \frac{5}{13}, \frac{12}{13} \right\rangleu=13⟨5,12⟩​=⟨135​,1312​⟩

  3. Compute the Directional Derivative: State the Directional Derivative Dot Product Formula (defined in Directional Derivatives):

    Du⃗f(3,1)=∇f(3,1)⋅u⃗D_{\vec{u}} f(3, 1) = \nabla f(3, 1) \cdot \vec{u}Du​f(3,1)=∇f(3,1)⋅u
    Substitute values:
    Du⃗f(3,1)=⟨6,5⟩⋅⟨513,1213⟩=6(513)+5(1213)=30+6013=9013≈6.923D_{\vec{u}} f(3, 1) = \langle 6, 5 \rangle \cdot \left\langle \frac{5}{13}, \frac{12}{13} \right\rangle = 6\left(\frac{5}{13}\right) + 5\left(\frac{12}{13}\right) = \frac{30 + 60}{13} = \frac{90}{13} \approx 6.923Du​f(3,1)=⟨6,5⟩⋅⟨135​,1312​⟩=6(135​)+5(1312​)=1330+60​=1390​≈6.923

Show your steps and calculations here.

Practice Problem 7

Consider the three-variable function f(x,y,z)=2x2+3yz−z2f(x, y, z) = 2x^2 + 3yz - z^2f(x,y,z)=2x2+3yz−z2. Compute the rate of change of fff at the point P(1,2,−1)P(1, 2, -1)P(1,2,−1) in the direction toward the point Q(4,2,3)Q(4, 2, 3)Q(4,2,3).

Solution Key:
  1. Construct and Normalize Displacement Vector PQ→\overrightarrow{PQ}PQ​:

    PQ→=⟨4−1, 2−2, 3−(−1)⟩=⟨3,0,4⟩\overrightarrow{PQ} = \langle 4 - 1, \, 2 - 2, \, 3 - (-1) \rangle = \langle 3, 0, 4 \ranglePQ​=⟨4−1,2−2,3−(−1)⟩=⟨3,0,4⟩
    Compute magnitude:
    ∥PQ→∥=32+02+42=9+0+16=25=5\|\overrightarrow{PQ}\| = \sqrt{3^2 + 0^2 + 4^2} = \sqrt{9 + 0 + 16} = \sqrt{25} = 5∥PQ​∥=32+02+42​=9+0+16​=25​=5
    Construct unit vector:
    u⃗=⟨3,0,4⟩5=⟨35,0,45⟩\vec{u} = \frac{\langle 3, 0, 4 \rangle}{5} = \left\langle \frac{3}{5}, 0, \frac{4}{5} \right\rangleu=5⟨3,0,4⟩​=⟨53​,0,54​⟩

  2. Compute and Evaluate 3D Gradient: State the Three-Variable Gradient Formula (defined in The Gradient Vector):

    ∇f(x,y,z)=⟨4x, 3z, 3y−2z⟩\nabla f(x, y, z) = \langle 4x, \, 3z, \, 3y - 2z \rangle∇f(x,y,z)=⟨4x,3z,3y−2z⟩
    Evaluate at P(1,2,−1)P(1, 2, -1)P(1,2,−1):
    fx(1,2,−1)=4(1)=4f_x(1, 2, -1) = 4(1) = 4fx​(1,2,−1)=4(1)=4
    fy(1,2,−1)=3(−1)=−3f_y(1, 2, -1) = 3(-1) = -3fy​(1,2,−1)=3(−1)=−3
    fz(1,2,−1)=3(2)−2(−1)=6+2=8f_z(1, 2, -1) = 3(2) - 2(-1) = 6 + 2 = 8fz​(1,2,−1)=3(2)−2(−1)=6+2=8
    ∇f(1,2,−1)=⟨4,−3,8⟩\nabla f(1, 2, -1) = \langle 4, -3, 8 \rangle∇f(1,2,−1)=⟨4,−3,8⟩

  3. Compute Directional Derivative: State the Directional Derivative Formula (defined in Directional Derivatives):

    Du⃗f(P)=∇f(P)⋅u⃗D_{\vec{u}} f(P) = \nabla f(P) \cdot \vec{u}Du​f(P)=∇f(P)⋅u
    Substitute values:
    Du⃗f(1,2,−1)=⟨4,−3,8⟩⋅⟨35,0,45⟩=4(35)+(−3)(0)+8(45)=12+0+325=445=8.8D_{\vec{u}} f(1, 2, -1) = \langle 4, -3, 8 \rangle \cdot \left\langle \frac{3}{5}, 0, \frac{4}{5} \right\rangle = 4\left(\frac{3}{5}\right) + (-3)(0) + 8\left(\frac{4}{5}\right) = \frac{12 + 0 + 32}{5} = \frac{44}{5} = 8.8Du​f(1,2,−1)=⟨4,−3,8⟩⋅⟨53​,0,54​⟩=4(53​)+(−3)(0)+8(54​)=512+0+32​=544​=8.8

Show your steps and calculations here.

Practice Problem 8

Calculate the directional derivative of g(x,y)=4cos⁡(2x−y)g(x, y) = 4\cos(2x - y)g(x,y)=4cos(2x−y) at the point P(π4,0)P\left(\frac{\pi}{4}, 0\right)P(4π​,0) in the direction specified by an angle θ=2π3\theta = \frac{2\pi}{3}θ=32π​ measured counterclockwise from the positive xxx-axis.

Solution Key:
  1. Compute and Evaluate the Gradient: State the Gradient Formula (defined in The Gradient Vector):

    ∇g(x,y)=⟨∂g∂x,∂g∂y⟩\nabla g(x, y) = \left\langle \frac{\partial g}{\partial x}, \frac{\partial g}{\partial y} \right\rangle∇g(x,y)=⟨∂x∂g​,∂y∂g​⟩
    Using the Chain Rule on cos⁡(2x−y)\cos(2x - y)cos(2x−y):
    gx=4(−sin⁡(2x−y))⋅∂∂x(2x−y)=−8sin⁡(2x−y)g_x = 4\left(-\sin(2x - y)\right)\cdot \frac{\partial}{\partial x}(2x - y) = -8\sin(2x - y)gx​=4(−sin(2x−y))⋅∂x∂​(2x−y)=−8sin(2x−y)
    gy=4(−sin⁡(2x−y))⋅∂∂y(2x−y)=4sin⁡(2x−y)g_y = 4\left(-\sin(2x - y)\right)\cdot \frac{\partial}{\partial y}(2x - y) = 4\sin(2x - y)gy​=4(−sin(2x−y))⋅∂y∂​(2x−y)=4sin(2x−y)
    Evaluate at P(π4,0)P\left(\frac{\pi}{4}, 0\right)P(4π​,0) where the argument is 2(π/4)−0=π/22(\pi/4) - 0 = \pi/22(π/4)−0=π/2:
    sin⁡(π2)=1\sin\left(\frac{\pi}{2}\right) = 1sin(2π​)=1
    gx(π4,0)=−8(1)=−8g_x\left(\frac{\pi}{4}, 0\right) = -8(1) = -8gx​(4π​,0)=−8(1)=−8
    gy(π4,0)=4(1)=4g_y\left(\frac{\pi}{4}, 0\right) = 4(1) = 4gy​(4π​,0)=4(1)=4
    ∇g(π4,0)=⟨−8,4⟩\nabla g\left(\frac{\pi}{4}, 0\right) = \langle -8, 4 \rangle∇g(4π​,0)=⟨−8,4⟩

  2. Construct Directional Unit Vector from Angle θ\thetaθ: State the 2D Directional Angle Unit Vector Formula (defined in Directional Derivatives):

    u⃗=⟨cos⁡θ,sin⁡θ⟩\vec{u} = \langle \cos\theta, \sin\theta \rangleu=⟨cosθ,sinθ⟩
    For θ=2π3\theta = \frac{2\pi}{3}θ=32π​:
    cos⁡(2π3)=−12,sin⁡(2π3)=32\cos\left(\frac{2\pi}{3}\right) = -\frac{1}{2}, \qquad \sin\left(\frac{2\pi}{3}\right) = \frac{\sqrt{3}}{2}cos(32π​)=−21​,sin(32π​)=23​​
    u⃗=⟨−12,32⟩\vec{u} = \left\langle -\frac{1}{2}, \frac{\sqrt{3}}{2} \right\rangleu=⟨−21​,23​​⟩

  3. Evaluate the Directional Derivative:

    Du⃗g=∇g⋅u⃗=⟨−8,4⟩⋅⟨−12,32⟩=(−8)(−12)+(4)(32)=4+23≈7.464D_{\vec{u}} g = \nabla g \cdot \vec{u} = \langle -8, 4 \rangle \cdot \left\langle -\frac{1}{2}, \frac{\sqrt{3}}{2} \right\rangle = (-8)\left(-\frac{1}{2}\right) + (4)\left(\frac{\sqrt{3}}{2}\right) = 4 + 2\sqrt{3} \approx 7.464Du​g=∇g⋅u=⟨−8,4⟩⋅⟨−21​,23​​⟩=(−8)(−21​)+(4)(23​​)=4+23​≈7.464


Show your steps and calculations here.

Regroup 2

  • Geometric Dot Product Meaning: Review Du⃗f=∥∇f∥cos⁡ϕD_{\vec{u}} f = \|\nabla f\|\cos\phiDu​f=∥∇f∥cosϕ. Highlight how the sign of Du⃗fD_{\vec{u}} fDu​f directly reveals whether the function is increasing (ϕ<π/2\phi < \pi/2ϕ<π/2), decreasing (ϕ>π/2\phi > \pi/2ϕ>π/2), or stationary (ϕ=π/2\phi = \pi/2ϕ=π/2).
  • Displacement Vector Construction: Ensure students distinguish between the destination point coordinates QQQ and the direction vector PQ→=Q−P\overrightarrow{PQ} = Q - PPQ​=Q−P.

Skill Block 3

Worked Example A: Bounds of Change and Zero-Change Unit Vectors

Let f(x,y)=x2y−3y2f(x, y) = x^2y - 3y^2f(x,y)=x2y−3y2. At the coordinate point P(3,1)P(3, 1)P(3,1):

  1. Find the direction and value of the maximum rate of increase.
  2. Find the two unit vector directions along which the function does not change.
Worked Solution:
  1. Compute and Evaluate the Gradient: State the Gradient Formula (defined in The Gradient Vector):

    ∇f(x,y)=⟨2xy, x2−6y⟩\nabla f(x, y) = \left\langle 2xy, \, x^2 - 6y \right\rangle∇f(x,y)=⟨2xy,x2−6y⟩
    Substitute x=3x = 3x=3 and y=1y = 1y=1:
    ∇f(3,1)=⟨2(3)(1), 32−6(1)⟩=⟨6, 9−6⟩=⟨6,3⟩\nabla f(3, 1) = \langle 2(3)(1), \, 3^2 - 6(1) \rangle = \langle 6, \, 9 - 6 \rangle = \langle 6, 3 \rangle∇f(3,1)=⟨2(3)(1),32−6(1)⟩=⟨6,9−6⟩=⟨6,3⟩
    Compute the maximum rate of increase:
    Max Rate=∥∇f(3,1)∥=62+32=36+9=45=35≈6.708\text{Max Rate} = \|\nabla f(3, 1)\| = \sqrt{6^2 + 3^2} = \sqrt{36 + 9} = \sqrt{45} = 3\sqrt{5} \approx 6.708Max Rate=∥∇f(3,1)∥=62+32​=36+9​=45​=35​≈6.708
    The direction of maximum increase as a unit vector is:
    u⃗max=⟨6,3⟩35=⟨25,15⟩\vec{u}_{\text{max}} = \frac{\langle 6, 3 \rangle}{3\sqrt{5}} = \left\langle \frac{2}{\sqrt{5}}, \frac{1}{\sqrt{5}} \right\rangleumax​=35​⟨6,3⟩​=⟨5​2​,5​1​⟩

  2. Determine Zero-Change Directions (u⃗⊥∇f\vec{u} \perp \nabla fu⊥∇f): Zero change requires Du⃗f=∇f⋅u⃗=0D_{\vec{u}} f = \nabla f \cdot \vec{u} = 0Du​f=∇f⋅u=0. For a 2D gradient ⟨a,b⟩=⟨6,3⟩\langle a, b \rangle = \langle 6, 3 \rangle⟨a,b⟩=⟨6,3⟩, orthogonal vectors swap components and negate one:

    w⃗1=⟨−3,6⟩,w⃗2=⟨3,−6⟩\vec{w}_1 = \langle -3, 6 \rangle, \qquad \vec{w}_2 = \langle 3, -6 \ranglew1​=⟨−3,6⟩,w2​=⟨3,−6⟩
    Normalize to unit vectors:
    ∥w⃗1∥=(−3)2+62=45=35\|\vec{w}_1\| = \sqrt{(-3)^2 + 6^2} = \sqrt{45} = 3\sqrt{5}∥w1​∥=(−3)2+62​=45​=35​
    u⃗1=⟨−335,635⟩=⟨−15,25⟩\vec{u}_1 = \left\langle -\frac{3}{3\sqrt{5}}, \frac{6}{3\sqrt{5}} \right\rangle = \left\langle -\frac{1}{\sqrt{5}}, \frac{2}{\sqrt{5}} \right\rangleu1​=⟨−35​3​,35​6​⟩=⟨−5​1​,5​2​⟩
    u⃗2=−u⃗1=⟨15,−25⟩\vec{u}_2 = -\vec{u}_1 = \left\langle \frac{1}{\sqrt{5}}, -\frac{2}{\sqrt{5}} \right\rangleu2​=−u1​=⟨5​1​,−5​2​⟩

Worked Example B: Tangent Plane to an Implicit Level Surface

Find the equation of the tangent plane to the quadric level surface:

x2+y2−z2=4x^2 + y^2 - z^2 = 4x2+y2−z2=4
at the point P0(3,2,3)P_0(3, 2, 3)P0​(3,2,3).

Worked Solution:
  1. Define the Implicit Function and Compute the Gradient: State the Level Surface Function F(x,y,z)=x2+y2−z2=4F(x, y, z) = x^2 + y^2 - z^2 = 4F(x,y,z)=x2+y2−z2=4. Compute the gradient vector ∇F\nabla F∇F (defined in Tangent Planes to Level Surfaces):

    ∇F(x,y,z)=⟨∂F∂x,∂F∂y,∂F∂z⟩=⟨2x,2y,−2z⟩\nabla F(x, y, z) = \left\langle \frac{\partial F}{\partial x}, \frac{\partial F}{\partial y}, \frac{\partial F}{\partial z} \right\rangle = \langle 2x, 2y, -2z \rangle∇F(x,y,z)=⟨∂x∂F​,∂y∂F​,∂z∂F​⟩=⟨2x,2y,−2z⟩

  2. Evaluate the Normal Vector n⃗\vec{n}n at P0(3,2,3)P_0(3, 2, 3)P0​(3,2,3):

    n⃗=∇F(3,2,3)=⟨2(3),2(2),−2(3)⟩=⟨6,4,−6⟩\vec{n} = \nabla F(3, 2, 3) = \langle 2(3), 2(2), -2(3) \rangle = \langle 6, 4, -6 \ranglen=∇F(3,2,3)=⟨2(3),2(2),−2(3)⟩=⟨6,4,−6⟩

  3. Assemble the Tangent Plane Equation: State the Tangent Plane to a Level Surface Formula:

    Fx(x0,y0,z0)(x−x0)+Fy(x0,y0,z0)(y−y0)+Fz(x0,y0,z0)(z−z0)=0F_x(x_0, y_0, z_0)(x - x_0) + F_y(x_0, y_0, z_0)(y - y_0) + F_z(x_0, y_0, z_0)(z - z_0) = 0Fx​(x0​,y0​,z0​)(x−x0​)+Fy​(x0​,y0​,z0​)(y−y0​)+Fz​(x0​,y0​,z0​)(z−z0​)=0
    Substitute components a=6,b=4,c=−6a = 6, b = 4, c = -6a=6,b=4,c=−6 and coordinates (3,2,3)(3, 2, 3)(3,2,3):
    6(x−3)+4(y−2)−6(z−3)=06(x - 3) + 4(y - 2) - 6(z - 3) = 06(x−3)+4(y−2)−6(z−3)=0
    Expand:
    6x−18+4y−8−6z+18=0  ⟹  6x+4y−6z=86x - 18 + 4y - 8 - 6z + 18 = 0 \implies 6x + 4y - 6z = 86x−18+4y−8−6z+18=0⟹6x+4y−6z=8
    Divide by 2 to obtain simplified standard linear form:
    3x+2y−3z=43x + 2y - 3z = 43x+2y−3z=4

Practice Problem 9: Concept & Reading Check

Open this Skill Block on the Memex to locate the information needed to answer the following:

  • (a) Use the dot product angle formula Du⃗f=∥∇f∥cos⁡ϕD_{\vec{u}} f = \|\nabla f\|\cos\phiDu​f=∥∇f∥cosϕ to prove why the maximum possible directional derivative equals ∥∇f∥\|\nabla f\|∥∇f∥ and occurs when u⃗\vec{u}u is parallel to ∇f\nabla f∇f.
  • (b) In Worked Example B, identify how the normal vector n⃗=⟨6,4,−6⟩\vec{n} = \langle 6, 4, -6 \ranglen=⟨6,4,−6⟩ was determined directly from the surface equation without solving for zzz.
  • (c) In Microprocessor Heat Sink Thermal Gradients (Mechanical & Computer Engineering), why are heat sink micro-channels aligned parallel to −∇T-\nabla T−∇T rather than parallel to ∇T\nabla T∇T?
Solution Key:
  • (a) By the definition of the scalar dot product, Du⃗f=∇f⋅u⃗=∥∇f∥∥u⃗∥cos⁡ϕD_{\vec{u}} f = \nabla f \cdot \vec{u} = \|\nabla f\| \|\vec{u}\| \cos\phiDu​f=∇f⋅u=∥∇f∥∥u∥cosϕ. Because u⃗\vec{u}u is a unit vector, ∥u⃗∥=1\|\vec{u}\| = 1∥u∥=1, reducing the expression to ∥∇f∥cos⁡ϕ\|\nabla f\|\cos\phi∥∇f∥cosϕ. The cosine function attains its absolute upper bound of +1+1+1 if and only if ϕ=0\phi = 0ϕ=0, meaning u⃗\vec{u}u points in the exact direction of ∇f\nabla f∇f. Thus, the maximum rate of change is ∥∇f∥\|\nabla f\|∥∇f∥.
  • (b) In an implicit surface F(x,y,z)=cF(x, y, z) = cF(x,y,z)=c, any curve on the surface satisfies F(r⃗(t))=cF(\vec{r}(t)) = cF(r(t))=c. Applying the chain rule yields ∇F⋅r⃗′(t)=0\nabla F \cdot \vec{r}'(t) = 0∇F⋅r′(t)=0, proving that ∇F\nabla F∇F is perpendicular to every tangent line on the surface. Evaluating ∇F(3,2,3)=⟨6,4,−6⟩\nabla F(3, 2, 3) = \langle 6, 4, -6 \rangle∇F(3,2,3)=⟨6,4,−6⟩ immediately provides the normal vector n⃗\vec{n}n needed for the plane equation without requiring explicit square root algebra.
  • (c) Fourier's Law of Heat Conduction states that heat flux q⃗\vec{q}q​ is driven by negative temperature gradients: q⃗=−k∇T\vec{q} = -k\nabla Tq​=−k∇T (where k>0k > 0k>0). Thermal energy naturally migrates toward lower temperatures. Heat sink micro-channels are aligned parallel to −∇T-\nabla T−∇T (the direction of steepest descent) so that cooling fluids absorb heat directly along the natural conduction stream, minimizing hotspot formation.
Show your steps and calculations here.

Practice Problem 10

The steady-state temperature profile across an aluminum cooling plate is modeled by T(x,y)=150−2x2−4y2T(x, y) = 150 - 2x^2 - 4y^2T(x,y)=150−2x2−4y2, where TTT is in ∘C^{\circ}\text{C}∘C and x,yx, yx,y are in centimeters.

  • (a) At the location P(3,1)P(3, 1)P(3,1), determine the unit vector direction u⃗cool\vec{u}_{\text{cool}}ucool​ in which the plate cools most rapidly.
  • (b) Determine the maximum possible rate of temperature increase at P(3,1)P(3, 1)P(3,1).
  • (c) Identify the two unit vectors representing paths along which a temperature sensor experiences zero temperature change.
Solution Key:
  1. Compute and Evaluate Temperature Gradient: State the Temperature Gradient Formula (defined in The Gradient Vector):

    ∇T(x,y)=⟨−4x,−8y⟩\nabla T(x, y) = \langle -4x, -8y \rangle∇T(x,y)=⟨−4x,−8y⟩
    Evaluate at P(3,1)P(3, 1)P(3,1):
    ∇T(3,1)=⟨−4(3),−8(1)⟩=⟨−12,−8⟩∘C/cm\nabla T(3, 1) = \langle -4(3), -8(1) \rangle = \langle -12, -8 \rangle^{\circ}\text{C/cm}∇T(3,1)=⟨−4(3),−8(1)⟩=⟨−12,−8⟩∘C/cm

  2. Determine Direction of Most Rapid Cooling: The direction of steepest descent is given by the negative gradient:

    v⃗cool=−∇T(3,1)=−⟨−12,−8⟩=⟨12,8⟩\vec{v}_{\text{cool}} = -\nabla T(3, 1) = -\langle -12, -8 \rangle = \langle 12, 8 \ranglevcool​=−∇T(3,1)=−⟨−12,−8⟩=⟨12,8⟩
    Normalize to a unit vector:
    ∥v⃗cool∥=122+82=144+64=208=413\|\vec{v}_{\text{cool}}\| = \sqrt{12^2 + 8^2} = \sqrt{144 + 64} = \sqrt{208} = 4\sqrt{13}∥vcool​∥=122+82​=144+64​=208​=413​
    u⃗cool=⟨12,8⟩413=⟨313,213⟩\vec{u}_{\text{cool}} = \frac{\langle 12, 8 \rangle}{4\sqrt{13}} = \left\langle \frac{3}{\sqrt{13}}, \frac{2}{\sqrt{13}} \right\rangleucool​=413​⟨12,8⟩​=⟨13​3​,13​2​⟩

  3. Maximum Possible Rate of Increase: The maximum rate of increase equals the magnitude of the gradient:

    ∥∇T(3,1)∥=413≈14.42∘C/cm\|\nabla T(3, 1)\| = 4\sqrt{13} \approx 14.42^{\circ}\text{C/cm}∥∇T(3,1)∥=413​≈14.42∘C/cm

  4. Zero-Change Isothermal Directions: Zero rate of change requires u⃗⋅∇T=0\vec{u} \cdot \nabla T = 0u⋅∇T=0. For ⟨−12,−8⟩\langle -12, -8 \rangle⟨−12,−8⟩, orthogonal vectors are ±⟨8,−12⟩\pm \langle 8, -12 \rangle±⟨8,−12⟩. Normalizing yields:

    u⃗iso=±⟨8,−12⟩413=±⟨213,−313⟩\vec{u}_{\text{iso}} = \pm \frac{\langle 8, -12 \rangle}{4\sqrt{13}} = \pm \left\langle \frac{2}{\sqrt{13}}, -\frac{3}{\sqrt{13}} \right\rangleuiso​=±413​⟨8,−12⟩​=±⟨13​2​,−13​3​⟩

Show your steps and calculations here.

Practice Problem 11

An electrostatic potential field is defined by V(x,y,z)=x2+y2+z2V(x, y, z) = \sqrt{x^2 + y^2 + z^2}V(x,y,z)=x2+y2+z2​, which measures Euclidean distance from a point charge at the origin.

  • (a) Prove that the gradient vector satisfies ∇V=⟨x,y,z⟩x2+y2+z2=r^\nabla V = \frac{\langle x, y, z \rangle}{\sqrt{x^2 + y^2 + z^2}} = \hat{r}∇V=x2+y2+z2​⟨x,y,z⟩​=r^.
  • (b) Explain physically or geometrically why ∇V\nabla V∇V always points radially outward from the origin.
  • (c) Identify the geometric shape formed by the level surfaces V(x,y,z)=cV(x, y, z) = cV(x,y,z)=c for c>0c > 0c>0.
Solution Key:
  1. Prove the Gradient Expression: Write V(x,y,z)=(x2+y2+z2)1/2V(x, y, z) = (x^2 + y^2 + z^2)^{1/2}V(x,y,z)=(x2+y2+z2)1/2. Differentiating with respect to xxx via the Chain Rule:

    Vx=12(x2+y2+z2)−1/2⋅∂∂x(x2+y2+z2)=12x2+y2+z2(2x)=xx2+y2+z2V_x = \frac{1}{2}(x^2 + y^2 + z^2)^{-1/2} \cdot \frac{\partial}{\partial x}(x^2 + y^2 + z^2) = \frac{1}{2\sqrt{x^2 + y^2 + z^2}}(2x) = \frac{x}{\sqrt{x^2 + y^2 + z^2}}Vx​=21​(x2+y2+z2)−1/2⋅∂x∂​(x2+y2+z2)=2x2+y2+z2​1​(2x)=x2+y2+z2​x​
    By cyclic symmetry with respect to yyy and zzz:
    Vy=yx2+y2+z2,Vz=zx2+y2+z2V_y = \frac{y}{\sqrt{x^2 + y^2 + z^2}}, \qquad V_z = \frac{z}{\sqrt{x^2 + y^2 + z^2}}Vy​=x2+y2+z2​y​,Vz​=x2+y2+z2​z​
    Assembling into vector form:
    ∇V=⟨xx2+y2+z2,yx2+y2+z2,zx2+y2+z2⟩=⟨x,y,z⟩x2+y2+z2=r⃗∥r⃗∥=r^\nabla V = \left\langle \frac{x}{\sqrt{x^2 + y^2 + z^2}}, \frac{y}{\sqrt{x^2 + y^2 + z^2}}, \frac{z}{\sqrt{x^2 + y^2 + z^2}} \right\rangle = \frac{\langle x, y, z \rangle}{\sqrt{x^2 + y^2 + z^2}} = \frac{\vec{r}}{\|\vec{r}\|} = \hat{r}∇V=⟨x2+y2+z2​x​,x2+y2+z2​y​,x2+y2+z2​z​⟩=x2+y2+z2​⟨x,y,z⟩​=∥r∥r​=r^

  2. Geometric and Physical Explanation:

    • Geometric: The numerator r⃗=⟨x,y,z⟩\vec{r} = \langle x, y, z \rangler=⟨x,y,z⟩ is the standard position vector emanating straight from the origin to (x,y,z)(x, y, z)(x,y,z), while the denominator is its Euclidean length ∥r⃗∥\|\vec{r}\|∥r∥. A vector divided by its length is the radial unit vector r^\hat{r}r^, which points directly away from the origin.
    • Physical: The potential VVV measures straight-line distance from the origin. Moving along any curved or tangential path dilutes the rate of distance expansion; moving radially outward maximizes distance growth at a rate of exactly 1 unit/unit distance1\text{ unit/unit distance}1 unit/unit distance (∥r^∥=1\|\hat{r}\| = 1∥r^∥=1).
  3. Identify Level Surfaces: Setting V(x,y,z)=cV(x, y, z) = cV(x,y,z)=c (for c>0c > 0c>0):

    x2+y2+z2=c  ⟹  x2+y2+z2=c2\sqrt{x^2 + y^2 + z^2} = c \implies x^2 + y^2 + z^2 = c^2x2+y2+z2​=c⟹x2+y2+z2=c2
    This is the standard equation of a sphere centered at the origin with radius ccc. The gradient ∇V=r^\nabla V = \hat{r}∇V=r^ is everywhere orthogonal to these spherical shells.

Show your steps and calculations here.

Practice Problem 12

An implicit manufacturing cost surface is defined by the level surface F(x,y,z)=x2y+yz+z3=11F(x, y, z) = x^2y + yz + z^3 = 11F(x,y,z)=x2y+yz+z3=11.

  • (a) Find the normal vector n⃗\vec{n}n to this surface at the point P0(2,1,2)P_0(2, 1, 2)P0​(2,1,2) using the gradient.
  • (b) Write the equation of the tangent plane to the surface at P0(2,1,2)P_0(2, 1, 2)P0​(2,1,2) in simplified standard form.
Solution Key:
  1. Compute Gradient of the Implicit Surface: State the Level Surface Normal Vector Formula (defined in Tangent Planes to Level Surfaces):

    n⃗=∇F(x,y,z)=⟨∂F∂x,∂F∂y,∂F∂z⟩\vec{n} = \nabla F(x, y, z) = \left\langle \frac{\partial F}{\partial x}, \frac{\partial F}{\partial y}, \frac{\partial F}{\partial z} \right\ranglen=∇F(x,y,z)=⟨∂x∂F​,∂y∂F​,∂z∂F​⟩
    Differentiate F(x,y,z)=x2y+yz+z3F(x, y, z) = x^2y + yz + z^3F(x,y,z)=x2y+yz+z3:
    Fx=2xyF_x = 2xyFx​=2xy
    Fy=x2+zF_y = x^2 + zFy​=x2+z
    Fz=y+3z2F_z = y + 3z^2Fz​=y+3z2

  2. Evaluate at Point P0(2,1,2)P_0(2, 1, 2)P0​(2,1,2):

    Fx(2,1,2)=2(2)(1)=4F_x(2, 1, 2) = 2(2)(1) = 4Fx​(2,1,2)=2(2)(1)=4
    Fy(2,1,2)=22+2=4+2=6F_y(2, 1, 2) = 2^2 + 2 = 4 + 2 = 6Fy​(2,1,2)=22+2=4+2=6
    Fz(2,1,2)=1+3(22)=1+3(4)=1+12=13F_z(2, 1, 2) = 1 + 3(2^2) = 1 + 3(4) = 1 + 12 = 13Fz​(2,1,2)=1+3(22)=1+3(4)=1+12=13
    The normal vector is:
    n⃗=∇F(2,1,2)=⟨4,6,13⟩=4i^+6j^+13k^\vec{n} = \nabla F(2, 1, 2) = \langle 4, 6, 13 \rangle = 4\hat{i} + 6\hat{j} + 13\hat{k}n=∇F(2,1,2)=⟨4,6,13⟩=4i^+6j^​+13k^

  3. Construct the Tangent Plane Equation: State the Point-Normal Plane Equation:

    a(x−x0)+b(y−y0)+c(z−z0)=0a(x - x_0) + b(y - y_0) + c(z - z_0) = 0a(x−x0​)+b(y−y0​)+c(z−z0​)=0
    Substitute normal vector components ⟨4,6,13⟩\langle 4, 6, 13 \rangle⟨4,6,13⟩ and point (2,1,2)(2, 1, 2)(2,1,2):
    4(x−2)+6(y−1)+13(z−2)=04(x - 2) + 6(y - 1) + 13(z - 2) = 04(x−2)+6(y−1)+13(z−2)=0
    Expand and simplify:
    4x−8+6y−6+13z−26=04x - 8 + 6y - 6 + 13z - 26 = 04x−8+6y−6+13z−26=0
    4x+6y+13z−40=0  ⟹  4x+6y+13z=404x + 6y + 13z - 40 = 0 \implies 4x + 6y + 13z = 404x+6y+13z−40=0⟹4x+6y+13z=40


Show your steps and calculations here.

Regroup 3

  • Orthogonality to Level Sets: Connect the level surface normal n⃗=∇F\vec{n} = \nabla Fn=∇F to the 2D contour property where ∇f\nabla f∇f is orthogonal to level curves.
  • Explicit vs. Implicit Planes: Revisit how z=f(x,y)z = f(x, y)z=f(x,y) is simply F(x,y,z)=f(x,y)−z=0F(x, y, z) = f(x, y) - z = 0F(x,y,z)=f(x,y)−z=0, giving n⃗=⟨fx,fy,−1⟩\vec{n} = \langle f_x, f_y, -1 \ranglen=⟨fx​,fy​,−1⟩.

Synthesis Wrap-up

  • Core Takeaways:
    1. The gradient vector ∇f\nabla f∇f encapsulates all first-order directional rates of change and points in the direction of steepest ascent.
    2. The directional derivative Du⃗f=∇f⋅u⃗D_{\vec{u}} f = \nabla f \cdot \vec{u}Du​f=∇f⋅u requires a unit vector ∥u⃗∥=1\|\vec{u}\| = 1∥u∥=1 to calculate accurate rates of change.
    3. Directional derivatives are bounded by −∥∇f∥≤Du⃗f≤∥∇f∥-\|\nabla f\| \le D_{\vec{u}} f \le \|\nabla f\|−∥∇f∥≤Du​f≤∥∇f∥, with zero change occurring along tangent lines to level sets.
    4. The gradient of an implicit function F(x,y,z)=cF(x, y, z) = cF(x,y,z)=c supplies the surface normal vector n⃗=∇F\vec{n} = \nabla Fn=∇F for constructing 3D tangent planes.
  • Knewton Alta Homework Alignment:
    • Directional Derivatives and Gradients for Functions in Two Variables (Practice Problems 1, 2, 4, 5, 6, 8)
    • Applications of Directional Derivatives and Gradients (Practice Problems 4, 8, 10, and linked engineering applications)
    • Directional Derivatives and Gradients for Functions in Three Variables (Practice Problems 3, 7, 9, 11, 12)