In convex analysis and optimization, the normal cone to a set at a point is a convex cone consisting of vectors that make a non-acute angle with every feasible direction from the point. For a convex set, it is the polar cone of the tangent cone and gives a geometric form of first-order optimality conditions.
Definition Let C be a convex subset of a finite-dimensional real inner product space V, and let x∈C. The normal cone to C at x is NC(x)={v∈V:⟨v,y−x⟩≤0 for all y∈C}. If x∉C, the normal cone is often defined to be empty. The elements of NC(x) are called normal vectors to C at x. The sign convention above gives outward normals. If x is an interior point of C, then NC(x)={0}. If C is a smooth full-dimensional convex body and x is a boundary point, then NC(x) is the ray generated by the outward normal vector at x.
Subgradients Normal cones are closely related to subgradients. If f:V→ℝ∪{+∞} is a proper convex function, then its epigraph epif={(x,t):t≥f(x)} is a convex set. A vector p∈V is a subgradient of f at x if and only if (p,−1)∈Nepif(x,f(x)). Equivalently, f(y)≥f(x)+⟨p,y−x⟩for all y.
Sublevel sets Still with f a proper convex function, consider the sublevel set through a point x: C={y:f(y)≤f(x)}. Every subgradient of f at x determines a normal vector to C at x. Indeed, if p∈∂f(x) and y∈C, then ⟨p,y−x⟩≤f(y)−f(x)≤0. Under standard regularity hypotheses, for example when x∈core(domf) and x is not a minimizer of f, the converse also holds: NC(x)=ℝ+∂f(x), or equivalently the normal cone to the sublevel set is the closed convex cone generated by the subdifferential.
Notes
References Borwein, Jonathan M.; Lewis, Adrian S. (2006), Convex Analysis and Nonlinear Optimization: Theory and Examples (2nd ed.), New York: Springer, ISBN 978-0-387-29570-1. Boyd, Stephen; Vandenberghe, Lieven (2004), Convex Optimization, Cambridge University Press, ISBN 978-0-521-83378-3. Rockafellar, R. Tyrrell (1970), Convex Analysis, Princeton Mathematical Series, vol. 28, Princeton University Press, ISBN 978-0-691-08069-7. Rockafellar, R. Tyrrell; Wets, Roger J.-B. (1998), Variational Analysis, Grundlehren der mathematischen Wissenschaften, vol. 317, Springer, ISBN 978-3-540-62772-2.