TOPIC 1 / 3
Partial Derivatives & Directional Change
For a long equation, swipe sideways inside its formula box to see every term.
Meaning & notation
Partial derivatives measure changes along coordinate slices. For a differentiable function, the gradient combines these rates into a local linear model for every direction. Directional change is its projection onto a unit direction.
- Partial derivative
- The instantaneous rate when one input varies and the others remain fixed; subscripts identify the varying coordinate.
- Gradient
- The vector of first partial derivatives. For a differentiable scalar function it encodes the linear part of all small input changes.
- Directional derivative
- The rate of change per unit distance in a specified direction. A unit vector sets direction without introducing an extra speed factor.
Conditions before calculation
- The gradient dot-product formula requires differentiability at the point. Continuous first partial derivatives in a neighborhood are a sufficient condition.
- Normalize a nonzero direction vector before asking for change per unit distance; its unnormalized version instead includes its magnitude as a speed factor.
- The gradient identifies a unique steepest-ascent direction only when it is nonzero. Orthogonality to a regular level curve also assumes a nonzero gradient.
Why the method works
1. Differentiate coordinate slices
Vary one input while treating the others as constants. Assemble these coordinate derivatives into a vector at the specified point.
2. Use the local linear model
Differentiability provides one linear approximation for every small displacement, with error negligible relative to displacement length. Merely existing coordinate partials are insufficient.
3. Read geometry from the dot product
The projection is largest along a nonzero gradient and vanishes perpendicular to it. Zero first-order change does not imply constancy along a straight path.
Worked examples
EXAMPLE 1
Find the directional derivative at the given point toward the vector.
Compute the coordinate rates before substituting the point. Polynomial smoothness justifies the gradient formula.
The direction vector is not a unit vector. Divide by its length to separate direction from speed.
Take the projection. Compare it with the gradient magnitude, the largest possible rate at this point.
Conclusion: The requested rate is 12.8 per unit distance, below the steepest possible rate.
EXAMPLE 2
Can a direction with zero directional derivative still change the function value?
At the specified point, compute the gradient and choose a perpendicular unit direction.
The dot product vanishes, so the initial first-order rate along the straight path is zero.
Substitute the entire path into the function. Linear terms cancel, but the quadratic change remains for every nonzero step.
Conclusion: The value decreases for every nonzero step, despite a zero initial directional derivative.
Pitfalls & counterexamples
Tempting claim: Existing partial derivatives guarantee differentiability.
Correction: Coordinate slices alone do not control all approaches to a point.
Test the claim: Away from the origin, divide the coordinate product by the sum of coordinate squares; assign zero at the origin. Both origin partials vanish, but diagonal values equal one half, contradicting continuity.
Check your understanding
What happens to the gradient dot product if a direction vector is doubled without normalization?
Write a reason before opening the explanation. This reflection is not graded or saved.
Compare your reasoning
It doubles.
The dot product is linear in the vector; the result now measures change along a path moving twice as fast.
Connect this idea
Gradients supply tangent planes, optimization conditions, and conservative vector fields. The local linear model generalizes to Jacobian matrices for vector-valued functions.
Reference reading
Use these texts to study the underlying definitions and theorems in greater depth. The explanations and examples above are written for Numerive.