A gradient of a differentiable function f:U→R (with U⊆Rn) at a point a∈U is the vector
∇f(a)=(∂x1∂f(a),…,∂xn∂f(a)),formed from the partial derivatives
of f.
With respect to the standard inner product
on Rn, the gradient encodes directional derivatives
via Dvf(a)=∇f(a)⋅v whenever f is differentiable
at a. Points where ∇f(a)=0 are critical points
.
Examples:
- If f(x,y)=x2+y2, then ∇f(x,y)=(2x,2y).
- If f(x,y,z)=xeyz, then ∇f(x,y,z)=(eyz,xzeyz,xyeyz).