1. Definition
The directional derivative D_u f is the rate of change along unit vector u=(cosθ,sinθ): D_u f = ∇f·u = f_x cosθ + f_y sinθ.
2. Symbols
| θ | angle from +x |
| u | unit direction |
| ∇f | gradient |
| D_u f | directional derivative |
3. How it works
- Numerically find f_x, f_y;
- Build u from θ;
- Dot with the gradient.
4. Steps
- Enter f and point;
- Enter θ in radians;
- Click Calculate.
5. Example
Example: f=x²+y² at (1,1), θ=π/4.
Solution: f_x=f_y=2; D_u f=2√2≈2.828.
6. Pitfalls
Use radians; u must be a unit vector;
Max rate is along ∇f;
Perpendicular directions give zero.