Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Multivariable Calculus / Partial derivatives

Directional Derivatives

The rate of change of a function in an arbitrary direction — generalizing partial derivatives.

3 min read · 5 sections · 1 checks

Contents 6 sections
  1. §1Introduction
  2. §2The Formula
  3. §3Worked Example
  4. §4Common Mistakes
  5. §5Summary
  6. ?Check yourself

By the end you can

  • Compute the directional derivative in a given direction
  • Use a unit direction vector
  • Relate the directional derivative to the gradient

Helps to know: Partial Derivatives, The Gradient

§1Introduction

A partial derivative gives the slope in a coordinate direction. A directional derivative gives the slope in any direction, specified by a unit vector uu.

§2The Formula

Preparing the instrument…
Fig. 1 The gradient points across contours, where the directional derivative is largest.

§3Worked Example

Find the directional derivative of f(x,y)=x2+3xyf(x, y) = x^{2} + 3xy at (1, 2) in the direction of ⟨3,4⟩\langle 3, 4\rangle.

Example 1Solution

  1. ∇f=⟨2x+3y,3x⟩=⟨8,3⟩\nabla f = \langle 2x + 3y, 3x\rangle = \langle 8, 3\rangle at (1, 2).

§4Common Mistakes

  • Forgetting to normalize the direction vector.
  • Using a non-unit direction and getting a scaled answer.
  • Confusing the directional derivative with the gradient itself.

§5Summary

  1. The directional derivative is the slope in any direction.
  2. It is the dot product of the gradient with a unit vector.
  3. Always normalize the direction first.

Check yourself

  1. Q1
    Before computing ∇f·u as a rate per unit distance, u must be…