Gradient

Vector of first partial derivatives of a scalar function
Gradient

A gradient of a differentiable function f:URf:U\to \mathbb{R} (with URnU\subseteq \mathbb{R}^n) at a point aUa\in U is the vector

f(a)=(fx1(a),,fxn(a)), \nabla f(a)=\left(\frac{\partial f}{\partial x_1}(a),\dots,\frac{\partial f}{\partial x_n}(a)\right),

formed from the of ff.

With respect to the standard on Rn\mathbb{R}^n, the gradient encodes via Dvf(a)=f(a)vD_v f(a)=\nabla f(a)\cdot v whenever ff is at aa. Points where f(a)=0\nabla f(a)=0 are .

Examples:

  • If f(x,y)=x2+y2f(x,y)=x^2+y^2, then f(x,y)=(2x,2y)\nabla f(x,y)=(2x,2y).
  • If f(x,y,z)=xeyzf(x,y,z)=x e^{yz}, then f(x,y,z)=(eyz,xzeyz,xyeyz)\nabla f(x,y,z)=\big(e^{yz},\,xze^{yz},\,xye^{yz}\big).