A supporting hyperplane of a convex function ff at a point x∈dom⁡fx\in\operatorname{dom} f (see ) is an affine function

ℓ(y)=f(x)+⟨g, y−x⟩\ell(y)=f(x)+\langle g,\,y-x\rangle

such that ℓ(y)≤f(y)\ell(y)\le f(y) for all y∈Rny\in\mathbb{R}^n.

Equivalently, the graph {(y,t):t=ℓ(y)}\{(y,t): t=\ell(y)\} is a in Rn+1\mathbb{R}^{n+1} that supports the of ff (a when ff is convex). Such supporting hyperplanes are in one-to-one correspondence with : gg supports ff at xx exactly when g∈∂f(x)g\in\partial f(x) (see ).

Examples
  • For f(x)=x2f(x)=x^2 on R\mathbb{R} and any x0x_0, the tangent line ℓ(x)=x02+2x0(x−x0)\ell(x)=x_0^2+2x_0(x-x_0) is a supporting hyperplane at x0x_0.
  • For f(x)=∣x∣f(x)=|x| on R\mathbb{R} at x=0x=0, every line ℓ(x)=gx\ell(x)=gx with g∈[−1,1]g\in[-1,1] is a supporting hyperplane.