BrainyBeeBrainyBee
ExploreBlogStart Studying
HomeCalculus III: Multivariable CalculusStudy Guide: Directional Derivatives and the Gradient
Study Guide985 words

Study Guide: Directional Derivatives and the Gradient

Directional Derivatives and the Gradient

Directional Derivatives and the Gradient

Learning Objectives

After studying this chapter, you should be able to:

  • Calculate the directional derivative of a function f(x,y)f(x, y)f(x,y) or f(x,y,z)f(x, y, z)f(x,y,z) in any given direction.
  • Compute the gradient vector ∇f\nabla f∇f for scalar functions.
  • Interpret the geometric significance of the gradient (direction of steepest ascent).
  • Apply the gradient to find tangent lines to level curves and tangent planes to level surfaces.
  • Determine the maximum and minimum rates of change at a specific point.

Key Terms & Glossary

  • Gradient (∇f\nabla f∇f): A vector field whose components are the partial derivatives of fff. It points in the direction of the greatest rate of increase.
  • Directional Derivative (DufD_{\mathbf{u}}fDu​f): The rate at which a function changes at a point in the direction of a unit vector u\mathbf{u}u.
  • Unit Vector: A vector with a magnitude (length) of 1. In directional derivatives, the direction must be normalized to a unit vector.
  • Level Curve: A curve defined by f(x,y)=cf(x, y) = cf(x,y)=c. The gradient ∇f\nabla f∇f at a point (x0,y0)(x_0, y_0)(x0​,y0​) is always perpendicular (orthogonal) to the level curve passing through that point.
  • Normal Vector: A vector perpendicular to a surface or curve; the gradient acts as the normal vector to level sets.

The "Big Idea"

In single-variable calculus, the derivative f′(x)f'(x)f′(x) gives the slope in one dimension. In multivariable calculus, partial derivatives fxf_xfx​ and fyf_yfy​ only give the slopes along the axes. The Gradient is the "master key" that unlocks the slope in any direction. It represents the local "uphill" direction on a topographic map. If you are standing on a mountain, the gradient tells you which way is straight up, and the directional derivative tells you how steep the path is if you choose to walk at a specific angle.


Formula / Concept Box

ConceptFormula / Property
The Gradient (2D)∇f(x,y)=⟨fx,fy⟩=∂f∂xi+∂f∂yj\nabla f(x, y) = \langle f_x, f_y \rangle = \frac{\partial f}{\partial x}\mathbf{i} + \frac{\partial f}{\partial y}\mathbf{j}∇f(x,y)=⟨fx​,fy​⟩=∂x∂f​i+∂y∂f​j
Directional DerivativeDuf(P)=∇f(P)⋅uD_{\mathbf{u}}f(P) = \nabla f(P) \cdot \mathbf{u}Du​f(P)=∇f(P)⋅u (where ∥u∥=1\|\mathbf{u}\| = 1∥u∥=1)
Maximum Rate of Change∥∇f(P)∥\|\nabla f(P)\|∥∇f(P)∥ (occurs when u\mathbf{u}u is in the direction of ∇f\nabla f∇f)
Minimum Rate of Change−∥∇f(P)∥-\|\nabla f(P)\|−∥∇f(P)∥ (occurs when u\mathbf{u}u is in the direction of −∇f-\nabla f−∇f)
Orthogonality∇f(P)⋅v=0\nabla f(P) \cdot \mathbf{v} = 0∇f(P)⋅v=0 for any vector v\mathbf{v}v tangent to the level curve

[!IMPORTANT] Always verify that your direction vector is a unit vector. If you are given a vector v\mathbf{v}v, you must use u=v∥v∥\mathbf{u} = \frac{\mathbf{v}}{\|\mathbf{v}\|}u=∥v∥v​ before calculating the dot product.


Hierarchical Outline

  1. The Gradient Vector
    • Definition: ∇f=⟨fx,fy,… ⟩\nabla f = \langle f_x, f_y, \dots \rangle∇f=⟨fx​,fy​,…⟩.
    • Computation: Requires finding all first-order partial derivatives.
  2. The Directional Derivative
    • Limit definition vs. the Dot Product Theorem.
    • Relationship to partials: fxf_xfx​ is DifD_{\mathbf{i}}fDi​f and fyf_yfy​ is DjfD_{\mathbf{j}}fDj​f.
  3. Properties of the Gradient
    • Steepest Ascent: Points in the direction of maximum increase.
    • Steepest Descent: Points in the direction of maximum decrease (−∇f-\nabla f−∇f).
    • Zero Change: Directions orthogonal to ∇f\nabla f∇f result in zero change (moving along a level curve).
  4. Applications
    • Tangent lines to level curves f(x,y)=cf(x, y) = cf(x,y)=c.
    • Normal lines to surfaces f(x,y,z)=cf(x, y, z) = cf(x,y,z)=c.

Visual Anchors

The Gradient Relationship

Loading Diagram...
Figure 1 — Mermaid diagram

Geometric Interpretation in 2D

Compiling TikZ diagram…
⏳
Running TeX engine…
This may take a few seconds
Figure 2 — TikZ diagram

Definition-Example Pairs

1. Directional Cosines

  • Definition: The components of a unit vector in 3D, expressed as cos⁡α,cos⁡β,cos⁡γ\cos \alpha, \cos \beta, \cos \gammacosα,cosβ,cosγ, representing the angles made with the x,y,x, y,x,y, and zzz axes.
  • Example: A unit vector pointing equally between the axes would have cos⁡α=cos⁡β=cos⁡γ=1/3\cos \alpha = \cos \beta = \cos \gamma = 1/\sqrt{3}cosα=cosβ=cosγ=1/3​.

2. Steepest Descent

  • Definition: The direction exactly opposite the gradient vector where the function's value decreases most rapidly.
  • Example: If ∇f=⟨3,4⟩\nabla f = \langle 3, 4 \rangle∇f=⟨3,4⟩ at a point, the direction of steepest descent is ⟨−3,−4⟩\langle -3, -4 \rangle⟨−3,−4⟩ with a rate of −5-5−5.

Worked Examples

Example 1: Finding the Directional Derivative

Problem: Find Duf(1,2)D_{\mathbf{u}}f(1, 2)Du​f(1,2) for f(x,y)=x2yf(x, y) = x^2yf(x,y)=x2y in the direction of v=⟨3,−4⟩\mathbf{v} = \langle 3, -4 \ranglev=⟨3,−4⟩.

Solution:

  1. Find the Gradient: fx=2xy  ⟹  fx(1,2)=2(1)(2)=4f_x = 2xy \implies f_x(1, 2) = 2(1)(2) = 4fx​=2xy⟹fx​(1,2)=2(1)(2)=4 fy=x2  ⟹  fy(1,2)=(1)2=1f_y = x^2 \implies f_y(1, 2) = (1)^2 = 1fy​=x2⟹fy​(1,2)=(1)2=1 So, ∇f(1,2)=⟨4,1⟩\nabla f(1, 2) = \langle 4, 1 \rangle∇f(1,2)=⟨4,1⟩.
  2. Normalize the Direction Vector: ∥v∥=32+(−4)2=5\|\mathbf{v}\| = \sqrt{3^2 + (-4)^2} = 5∥v∥=32+(−4)2​=5 u=v∥v∥=⟨35,−45⟩\mathbf{u} = \frac{\mathbf{v}}{\|\mathbf{v}\|} = \langle \frac{3}{5}, -\frac{4}{5} \rangleu=∥v∥v​=⟨53​,−54​⟩.
  3. Compute the Dot Product: Duf=∇f⋅u=⟨4,1⟩⋅⟨0.6,−0.8⟩D_{\mathbf{u}}f = \nabla f \cdot \mathbf{u} = \langle 4, 1 \rangle \cdot \langle 0.6, -0.8 \rangleDu​f=∇f⋅u=⟨4,1⟩⋅⟨0.6,−0.8⟩ Duf=(4)(0.6)+(1)(−0.8)=2.4−0.8=1.6D_{\mathbf{u}}f = (4)(0.6) + (1)(-0.8) = 2.4 - 0.8 = 1.6Du​f=(4)(0.6)+(1)(−0.8)=2.4−0.8=1.6.

Example 2: Direction of Maximum Increase

Problem: At the point (0,0,0)(0, 0, 0)(0,0,0), in what direction does f(x,y,z)=ex+yzf(x, y, z) = e^x + yzf(x,y,z)=ex+yz increase most rapidly?

Solution:

  1. Calculate the Gradient: ∇f=⟨ex,z,y⟩\nabla f = \langle e^x, z, y \rangle∇f=⟨ex,z,y⟩
  2. Evaluate at (0,0,0)(0, 0, 0)(0,0,0): ∇f(0,0,0)=⟨e0,0,0⟩=⟨1,0,0⟩\nabla f(0, 0, 0) = \langle e^0, 0, 0 \rangle = \langle 1, 0, 0 \rangle∇f(0,0,0)=⟨e0,0,0⟩=⟨1,0,0⟩.
  3. Result: The function increases most rapidly in the direction of the positive xxx-axis (i\mathbf{i}i). The maximum rate of change is ∥⟨1,0,0⟩∥=1\|\langle 1, 0, 0 \rangle\| = 1∥⟨1,0,0⟩∥=1.

Checkpoint Questions

  1. If ∇f(P)=⟨0,0⟩\nabla f(P) = \langle 0, 0 \rangle∇f(P)=⟨0,0⟩, what is the directional derivative in any direction u\mathbf{u}u?
  2. True or False: The directional derivative can be larger than the magnitude of the gradient.
  3. Find the gradient of f(x,y)=ln⁡(x2+y2)f(x, y) = \ln(x^2 + y^2)f(x,y)=ln(x2+y2) at the point (1,1)(1, 1)(1,1).
  4. If you are walking along a level curve of a mountain, what is the value of your directional derivative in the direction of your path?
▶Click to see Answers
  1. 0. Because Duf=⟨0,0⟩⋅u=0D_{\mathbf{u}}f = \langle 0, 0 \rangle \cdot \mathbf{u} = 0Du​f=⟨0,0⟩⋅u=0.
  2. False. The maximum value is ∥∇f∥\|\nabla f\|∥∇f∥.
  3. ∇f=⟨2xx2+y2,2yx2+y2⟩\nabla f = \langle \frac{2x}{x^2+y^2}, \frac{2y}{x^2+y^2} \rangle∇f=⟨x2+y22x​,x2+y22y​⟩. At (1,1)(1, 1)(1,1), ∇f=⟨1,1⟩\nabla f = \langle 1, 1 \rangle∇f=⟨1,1⟩.
  4. 0. Level curves represent constant height, so the rate of change is zero.
All Calculus III: Multivariable Calculus Study Resources

Related Notes

  • Applications of Vectors: Force, Volume, and Geometric Analysis842 words
  • Arc Length and Curvature: Multivariable Calculus Study Guide780 words
  • Calculus III: Area and Arc Length in Polar Coordinates Study Guide875 words
  • Calculus of Parametric Curves: Comprehensive Study Guide892 words
  • Calculus of Vector-Valued Functions: A Comprehensive Study Guide825 words
  • Conic Sections: Geometric Foundations and Polar Representations845 words
  • Mastering Conservative Vector Fields: Path Independence and Potential Functions925 words
  • Mastering Cylindrical and Spherical Coordinates925 words
  • Divergence and Curl: Vector Calculus Study Guide860 words
  • Double Integrals in Polar Coordinates875 words
  • Study Guide: Double Integrals over General Regions875 words
  • Double Integrals over Rectangular Regions: Comprehensive Study Guide945 words

Ready to study Calculus III: Multivariable Calculus?

Practice tests, flashcards, and all study notes — free, no sign-up.

Start Studying

Ready to study Calculus III: Multivariable Calculus?

Practice tests, flashcards, and all study notes — free, no sign-up needed.

Start Studying — Free
Calculus III: Multivariable Calculus ResourcesExplore All HivesBlogHome

© 2026 BrainyBee. Free AI-powered exam prep.

Loading Diagram...
Mermaid diagram. root Gradient Vector. Direction. Steepest Ascent. Orthogonal to Level Sets. Magnitude. Maximum Rate of Change. Components. Partial Derivative wrt x. 2 more statements.