Directional derivative

The derivative of f at a along a direction v, defined by a one-variable limit.
Directional derivative

Let URkU\subseteq\mathbb{R}^k be , let f:URmf:U\to\mathbb{R}^m, let aUa\in U, and let vRkv\in\mathbb{R}^k. The directional derivative of ff at aa in the direction vv is

Dvf(a):=HAHAHUGOSHORTCODE619s1HBHBh0f(a+hv)f(a)h, D_v f(a) := _{h\to 0}\frac{f(a+hv)-f(a)}{h},

provided the limit exists in Rm\mathbb{R}^m.

Directional derivatives generalize : taking v=ejv=e_j (the jjth standard basis vector) gives Dejf(a)=fxj(a)D_{e_j}f(a)=\frac{\partial f}{\partial x_j}(a) (componentwise). Existence of all directional derivatives still does not, by itself, imply .

Examples:

  • If f(x)=c,xf(x)=\langle c,x\rangle is linear (with cRkc\in\mathbb{R}^k), then Dvf(a)=c,vD_v f(a)=\langle c,v\rangle, independent of aa.
  • If f(x,y)=x2+y2f(x,y)=x^2+y^2, then Dvf(a)=2a,vD_v f(a)=2\langle a,v\rangle for aR2a\in\mathbb{R}^2.
  • For non-smooth functions, directional derivatives may exist in some directions but not others.