Thomas’ Calculus · Chapter 14 · Section 14.5
By Muhammad Abdullah Athar · SymPy Verified
Directional Derivatives and Gradient Vectors
Read this page the way you would a book: first the notes, then the key ideas, then every worked example in order — each step explains not only what to do, but why it works.
Part One
Section Notes
Section 14.5: Directional Derivatives and Gradient Vectors
The gradient vector points in the direction of steepest ascent and governs directional rates of change.
1. Directional Derivative Formula
For differentiable and unit vector :
- Maximum Rate of Increase: (in direction of )
- Maximum Rate of Decrease: (in direction of )
- Zero Rate of Change: (perpendicular to , along the level curve)
2. Orthogonality to Level Sets
At any point , the gradient vector is perpendicular to the tangent line (in 2D) or tangent plane (in 3D) of the level set passing through .
Part Two
Key Ideas to Remember
2 essential statements for this section, each with a plain-words explanation.
Gradient Vector
The gradient of a differentiable scalar function f is the vector field whose components are the first partial derivatives of f.
Conditions: f is differentiable
Remember — grad f is everywhere orthogonal to the level curves or level surfaces of f.
Directional Derivative
The directional derivative of f in the direction of unit vector u is the scalar product of the gradient vector with u. It measures the rate of change of f moving through (x_0, y_0) along direction u.
Conditions: u is a unit vector: |u| = 1
Remember — Computes rate of change in any arbitrary spatial direction.
Part Three
Worked Examples
5 exercises, solved in full. Every answer has been checked symbolically with SymPy before printing.
Example 01(Section 14.5, Exercise 1)
Warm-upProblem. Compute the gradient grad f for f(x, y) = x^2 y + sqrt(y) at the point (2, 4).
Step-by-Step Derivation (2 steps)
Compute First Partial Derivatives
Differentiate with respect to x and y independently.
Evaluate at (2, 4)
Substitute point coordinates into gradient components.
Answer:
✓ Verified by SymPy CAS
Example 02(Section 14.5, Exercise 2)
Warm-upProblem. Find the directional derivative of f(x, y) = x^3 - 3xy + 4y^2 at P(1, 2) in the direction of v = 3i + 4j.
Step-by-Step Derivation (3 steps)
Normalize Direction Vector to Unit Length
Divide direction vector by its length 5.
Calculate Gradient Vector at P(1, 2)
Evaluate partial derivatives at (1, 2).
Compute Scalar Product grad f . u
Take inner product of gradient and unit direction.
Answer:
✓ Verified by SymPy CAS
Example 03(Section 14.5, Exercise 3)
Core practiceProblem. Find the maximum rate of change of f(x, y, z) = x^2 + 2y^2 - 3z^2 at P(1, 1, 1) and the direction in which it occurs.
Step-by-Step Derivation (2 steps)
Compute 3D Gradient Vector
Evaluate partial derivatives at (1, 1, 1).
Compute Magnitude of Gradient
The maximum rate of increase equals the norm of the gradient vector.
Answer:
✓ Verified by SymPy CAS
Example 04(Section 14.5, Exercise 4)
Warm-upProblem. Find a normal vector to the level curve x^2 + 4y^2 = 8 at the point (2, 1).
Step-by-Step Derivation (2 steps)
Define g(x, y) and Compute Gradient
The gradient of g is orthogonal to every level curve g(x, y) = c.
Evaluate at Point (2, 1)
Substitute x = 2 and y = 1.
Answer:
✓ Verified by SymPy CAS
Example 05(Section 14.5, Exercise 5)
Core practiceProblem. At a point where grad f = <-3, 13>, find the unit directions u along which the directional derivative is zero.
Step-by-Step Derivation (3 steps)
Set Directional Derivative Equal to Zero
Zero change occurs in directions tangent to the level curve (orthogonal to grad f).
Find Orthogonal Vector and Normalize
Rotate the vector by 90 degrees.
Normalize to Unit Length
Divide by the Euclidean norm.
Answer:
✓ Verified by SymPy CAS