If a good rate function has unique zero mu, every closed set missing mu has strictly positive infimum rate, possibly infinity. Otherwise a sequence of rates tending to zero lies eventually in the compact unit sublevel set; a subsequence converges to a point of the closed set, and lower semicontinuity makes that point another zero. Compactness also ensures existence of a zero whenever the infimum is zero.
Compact sublevel set 2026-10-14
A sublevel set which is compact. A good rate function has this property for every finite level.
Convex optimization Created 2026-09-24 Updated 2026-10-13
Convex optimization is a minimization problem with a convex function as its objective function and a convex set of feasible points. For a finite-valued , the problem is to find with for every . The displayed infimum describes its value even when no minimizing point exists. The two convexity requirements concern different objects: the allowed decisions and the scores assigned to them.
A convex set contains the whole line segment between any two of its points:
A convex function lies below the interpolation of its endpoint values:
Thus mixing two allowed decisions preserves feasibility, and the mixed score is no worse than the same mixture of endpoint scores. The objective function may have flat regions or corners. For a strictly convex function, the second inequality is strict when and .
A useful constraint representation is
where are convex functions on a common convex set , and the equalities are affine functions. Each inequality defines a convex sublevel set; their intersection with and the equality set is a convex set. An equality involving a general convex function need not preserve this geometry: allows and but excludes their midpoint . See Boyd and Vandenberghe, Convex Optimization (2004), §4.2.1 for the standard problem form.
Why local information can certify a global answer. Every local minimum of a convex optimization problem is a global minimum, including minima on the boundary. If a feasible point had , points would remain feasible and have value strictly below for every . Taking arbitrarily small contradicts a local minimum at . This argument explains the special power of convexity: a better distant decision would reveal an improving direction immediately nearby.
If a minimizer exists and the objective function is strictly convex on , it is unique. Two distinct minimizers of value would have a feasible midpoint with value strictly below . Existence is a separate question: the exponential function is strictly convex on , but its infimum is approached only as . Even a bounded convex set need not suffice: on also has unattained infimum . A continuous function on a nonempty compact set attains its minimum by the extreme value theorem.
Nor does strict convexity imply differentiability. For , the squared term gives the strict inequality while the triangle inequality gives the weak inequality for the absolute value. At zero the left and right derivatives are and , so no derivative exists there, although zero is the unique minimizer. Such objectives require subgradients or proximal operators rather than an ordinary gradient at every point.
For a differentiable convex function on an open convex set containing , the constrained first-order condition is
Indeed, the subgradient inequality makes this sufficient; taking the one-sided derivative along feasible line segments makes it necessary. At an interior minimizer, both directions are feasible and the gradient must vanish. At a boundary minimizer it can be nonzero: it only needs to make every feasible direction nondecreasing. See Boyd and Vandenberghe, §§3.1.3 and 4.2.3.
A fully computed nearest-point problem. Project onto the half-space by minimizing half the squared Euclidean distance:
The Hessian matrix is the identity matrix, so the objective function is strictly convex. The unconstrained minimizer violates the inequality. With the convention , the optimization Lagrangian is , where the Lagrange multiplier satisfies . Its Karush-Kuhn-Tucker conditions are
The last two equations give , . The choice is infeasible, so complementary slackness forces . Consequently , giving , and . The Euclidean distance is , rather than the objective function value . The gradient at the answer balances ; the displacement from to is a normal vector to the boundary.
Figure 1.
The nearest feasible point is where an objective contour first touches the half-space boundary
. Details.
There is an exact certificate independent of numerical search. Completing squares gives
For every feasible point, implies . Thus every feasible objective is at least , and attains this bound. More generally the Lagrangian dual problem has objective for . Its maximum is also , illustrating strong duality through matching computed bounds. This makes the example a model for Euclidean projection onto a convex set and the projection step in projected gradient descent.
What the multiplier conditions require. For differentiable convex functions on an open convex set and equalities defined by affine functions, the KKT conditions combine feasibility, , complementary slackness , and stationarity
with unrestricted equality Lagrange multipliers . They suffice to certify a global minimum without an additional regularity assumption: the optimization Lagrangian is convex, stationarity minimizes it, and feasibility with complementary slackness gives the same certificate as above. To guarantee their necessity at an attained finite optimum, a regularity hypothesis suffices: Slater's condition requires some with and . The projection example has the strictly feasible point . See Boyd and Vandenberghe, §§5.2.3 and 5.5.3. This hypothesis guarantees suitable multipliers, not existence of a primal minimizer.
Without regularity, necessity can fail even for convex functions: minimize subject to . The sole feasible point is optimal, but stationarity would require . No Lagrange multiplier works. There is no strictly feasible point, and the gradient of the constraint vanishes at the answer.
The nonconvex contrast. The polynomial has derivative and second derivative . Numerically solving the cubic gives stationary points , , and . Their objective values are respectively , , and , with second derivatives , , and . Hence both outer points are local minima, and the middle point is a local maximum. Since at both ends, its global minimum exists and must be one of the stationary minima: it is the left one. A method stopping at the right local minimum misses a better value by approximately .
Figure 2.
A strictly convex quadratic has one minimum; a tilted quartic has two local minima with different values
. Details.
The practical appeal of convex optimization is the ability to check an answer globally using geometry and matching Lagrangian duality bounds. The projection certificate certifies every feasible alternative at once; the tilted quartic shows why a zero gradient alone cannot do that for general nonlinear optimization.
Historically, an early landmark is Kuhn and Tucker's [ref]. Its §3 explicitly states a regularity hypothesis for inequality-constrained Lagrange multipliers; its discussion of saddle points explains how concave functions support global conclusions for maximization. This documents an early formulation of the multiplier approach; it does not establish sole discovery of today's KKT conditions or of convex optimization as a whole.
Suppose a weak large deviation principle with rate function holds on a Hausdorff space, at speed , and the random elements are exponentially tight. For a finite , choose a compact set whose complement has upper exponential rate strictly below , with . The open-set lower bound on implies , so . Lower semicontinuity makes this sublevel set closed, hence compact. For any closed set , split its probability between the compact and . The upper exponential rate is at most . Letting proves the full large deviation principle with a good rate function.
Minimizing sequence Created 2026-10-05 Updated 2026-10-06
Let be a nonempty norm-closed convex set in a real Hilbert space, and let be continuous and a convex function. If is bounded, or as tends to infinity in norm, then attains its infimum. Every sublevel set is bounded, norm-closed, and convex, hence contains the weak limits of its sequences by norm-closed convex set is weakly closed. A minimizing sequence in one fixed sublevel set has a weakly convergent subsequence by weak sequential compactness in a Hilbert space. Its limit lies in every sublevel set above the infimum. Since is real-valued, this also rules out infimum and proves attainment. This is an instance of the direct method in the calculus of variations.
For each real , define the sublevel set . Continuity of and closure of make a closed set in ; the convex function inequality makes it a convex set. The preceding result therefore makes every a sequentially weakly closed set. Equivalently, has weak lower semicontinuity along sequences in .
Every is bounded. This is immediate if is bounded. Otherwise, an unbounded would contain with , contradicting the assumed coercive function condition .
Choose and put . Choose a minimizing sequence entirely in , with ; when , require for sufficiently large . It is bounded by the previous paragraph.
The weak subsequence of a bounded Hilbert-space sequence theorem gives . This applies even if is not separable: the closed linear span of the sequence is a separable Hilbert space; successive extraction makes every coefficient in a countable Hilbertian basis converge, the common norm bound gives square-summable limiting coefficients by the Bessel inequality, and approximation by finite linear combinations proves weak convergence. Orthogonal decomposition extends that conclusion to all test vectors in . Since is a sequentially weakly closed set, .
For any real , a tail of lies in , so . If , this would give for every real , impossible because is real-valued. Thus is finite; letting gives , while the definition of infimum gives the reverse inequality. Therefore
This proves minimum of a coercive convex functional on a Hilbert space by the direct method in the calculus of variations, with bounded sublevel sets supplying the required weak sequential compactness in a Hilbert space.
Here the exponential distribution has
For , maximize . Its derivative is and its second derivative is negative, so the maximizing parameter is . Therefore the rate function of an exponential sample mean is
For , letting in the same supremum gives , including the logarithmic divergence when . The moment-generating function is finite near zero, so Cramér's theorem supplies the full large deviation principle.
The rate function is nonnegative, with its unique minimum at ; . It tends to infinity both as and as . Its finite sublevel sets are closed bounded intervals contained in , hence compact. Thus it is a good rate function.
The contraction principle for large deviations says that if has a large deviation principle in with good rate function , and is a continuous map between Hausdorff spaces, then has the same large-deviation speed and good rate function
For an open set , its inverse image is open, so the input lower bound gives
For a closed set , its inverse image is closed, giving the corresponding upper bound with .
It remains to prove goodness, including the endpoint issue in the infimum. Each fibre is closed. If , compact sublevel sets and lower semicontinuity make attain its infimum on that fibre: intersect it with the compact set and use the closed nested sublevels tending down to . Hence for each finite ,
The right-hand side is compact, being a continuous image of a compact set, and is closed because the target is Hausdorff. Thus is lower semicontinuous and good, completing the proof.
Use the standard Hausdorff state-space convention, so compact sets are closed. Let be any closed set and choose from exponential tightness. The weak large deviation principle applies to the compact set , while
The principle of the largest exponential term gives
Let . This is the full closed-set upper bound; the open-set lower bound was already present.
For goodness, fix and choose . The complement is open. Its lower bound and its exponential-tightness upper estimate imply
Thus and . Lower semicontinuity makes this sublevel set closed, so it is a closed subset of a compact set and therefore compact. This proves that exponential tightness upgrades a weak large deviation principle to the full principle with the same good rate function.
The contraction principle for large deviations states that if random elements in a space satisfy a large deviation principle with speed and good rate function , and is continuous, then satisfies a large deviation principle at the same speed with
For example, take to be Polish spaces. The rate function is good: its finite sublevel sets are the continuous images of compact sublevel sets. Compactness and lower semicontinuity ensure that a finite fibre infimum relevant to such a sublevel set is attained. The probability bounds follow by taking preimages of open and closed sets.
At large-deviation speed , the exponential distribution gives the large deviation principle on with good rate function
In particular, for . Its finite sublevel sets are the compact sets .
Write and . The cumulant-generating function of one normal random variable is
Cramér's theorem states that empirical means of independent and identically distributed random variables whose moment-generating function is finite on a neighborhood of zero satisfy a large deviation principle at the sample-size large-deviation speed, with good rate function equal to the Legendre-Fenchel transform of their cumulant-generating function. Here that gives
For , differentiation gives the maximizing parameter , and hence
This rate function tends to infinity as , so its finite sublevel sets are compact. Equivalently, the Gärtner–Ellis theorem applies because the limiting scaled cumulant-generating function is finite and differentiable everywhere; it is lower semicontinuous and essentially smooth, with no finite domain boundary at which to check steepness. If is permitted, deterministically and the rate function is zero at and infinity elsewhere.
Work in a Hausdorff space , for example a metric space. A rate function is a lower semicontinuous map . A good rate function additionally has compact finite sublevel sets .
A large deviation principle at large-deviation speed requires, for every open set and closed set ,
The conventions are and . A weak large deviation principle imposes the same lower bound but only the upper bound for compact sets. Exponential tightness supplies compact sets with for every . The strict inequality can equivalently be obtained from the common non-strict definition by choosing a larger containment level.
Fix a finite and choose . By exponential tightness, choose a compact set with outside probability having upper exponential rate strictly below . A compact set in a Hausdorff space is closed, so its complement is an open set. The lower bound of the weak large deviation principle gives
Consequently , and . Lower semicontinuity makes this sublevel set closed in , hence a closed subset of a compact set. Thus it is compact. Every finite sublevel set is compact, so is a good rate function.
Write and . Then . The large deviation principle on the whole space forces ; compact sublevel sets and lower semicontinuity make that infimum attained. The unique possible zero is therefore mu, and .
If a closed set C contains mu, its new infimum rate is zero and the claimed upper bound follows from probabilities being at most one. If it excludes mu, then , possibly infinite: otherwise a sequence of rates tending to zero would have a convergent subsequence in a compact sublevel set, with limit in C and zero rate, contradicting uniqueness. This is the fact that a good rate function is separated from zero away from its minimizer.
Choose any . The original upper bound gives for all sufficiently large n. Thus
Together these cases prove the closed-set upper bound at the slower speed, with rate zero only at mu. Its finite sublevels are the compact singleton , so it is a good rate function.
Let be the original rates and their unique zero points. Suppose first that . At speed , the preceding argument gives X the rate zero at and infinity elsewhere, while Y retains . Independence allows the product large-deviation principle, and addition is continuous, so the contraction principle for large deviations gives the sum rate
This is good, has unique zero , and inherits a strictly positive finite value by translation from . Thus the sum has Hurstiness G. The case is identical with the roles exchanged.
If , the same product and contraction results apply to the original rates at their common speed, giving their infimal convolution
It is good. Every finite fiber infimum is attained: a minimizing sequence lies in a product of compact sublevel sets and has a subsequence converging in the closed addition fiber. Consequently its only zero is . Choose with and set . Then differs from the zero point and . The nondegeneracy requirement is therefore satisfied here too. In all cases,
The general results used are the independent product large-deviation theorem and the continuous contraction principle. Checking the zero set and a positive finite value is necessary in addition to obtaining an LDP.
For , the two variational comparisons agree. Outside that interval the finite-buffer fiber is empty, since its queue workload always lies in . The finite-buffer workload rate truncation is therefore
Equivalently this is J for and infinity above B, since J already assigns infinity to negative queue workloads. Together with the contracted LDP from the first part, this proves the requested principle. The rate is good by contraction; alternatively its finite sublevel sets are the compact sets .
A strict Lyapunov function is a continuously differentiable function with , off the origin, and off the origin in the domain. Its compact sublevel sets inside the domain are forward invariant and force convergence to the equilibrium. The domain of stability, or basin of attraction, consists of initial points whose forward solutions exist for all positive time and converge to the fixed point.
For , direct differentiation and factorization give
If , then , so off zero. For any initial point in that disc, choose a slightly larger closed disc still inside it. The vector field points inward on its boundary; the trajectory is bounded, exists globally, and the strict Lyapunov decrease forces its limit to be zero. Thus the origin is asymptotically stable and the whole open disc lies in its basin.
If , then , so . A solution starting there cannot cross inward through and cannot approach zero. Therefore
For the Erlang loss formula, assume a Poisson process of arrivals with rate , independent holding times with exponential distribution of mean , unit capacity usage per accepted call, and rejection without waiting when all units are occupied. Here is a positive integer and the offered load is . The call population on is a birth-death process; detailed balance gives
By Poisson arrivals see time averages, the fraction of arrivals rejected is the time probability of full occupancy. Therefore
The paper's is the offered load, rather than necessarily an arrival rate. Exponential holding times suffice for this derivation; no unproved insensitivity of loss networks assumption is needed.
A loss network with fixed routing has capacities , call types , and a link-route incidence matrix with exactly when a type- call requires link . An accepted call holds one unit on every link of its route for its holding time; if any required link is full, the call is rejected everywhere. Take independent Poisson processes of calls, independent holding times, and route offered loads . For the finite-variable formulation below, take ; a zero-capacity link and all routes using it may be removed first.
The Erlang fixed point approximation treats blocking at different links as independent and thins the traffic offered to link by acceptance at the other links. Its reduced offered load is
The equality uses : only routes with contribute. Treating this reduced stream as Poisson leads to . Independence and Poisson thinning here are the approximation, not exact properties of a general loss network.
To construct the convex potential for the Erlang fixed point, write and , the carried load of an Erlang loss resource, equivalently the mean occupancy in the single-link stationary distribution. Differentiating its finite sums gives, for ,
The variance is positive because the finite occupancy law is nondegenerate for . Furthermore maps increasingly onto , while increases from zero to . Set
In particular , is continuous and strictly increasing, and as .
For
the first sum is convex, and each integrated strictly increasing function is strictly convex. Thus is a strictly convex function on . Since tends to a positive limit on every coordinate, is a coercive function there; it has a unique minimizer. Its coordinate derivative is
The Erlang fixed point equation is exactly . For an unused link, and the optimum is ; for a used link with positive offered load, the derivative at zero is negative and the optimum is positive. Hence every fixed point gives the unique minimizer, and the minimizer gives a fixed point. The Erlang fixed point is unique under these fixed-routing assumptions.
A convergent cyclic substitution for the Erlang fixed point updates one coordinate at a time, repeatedly cycling through all links:
Always use the most recently available values of the other coordinates. Start, for example, with . In coordinates this is exact coordinate descent for : with other coordinates fixed, the displayed update is the unique coordinate minimizer.
Here is a convergence proof. All iterates stay in the initial compact sublevel set of the coercive function , and their potential values decrease to a limit. Each single-coordinate update is continuous, since its reduced load is continuous and finite and . Thus a whole-sweep map is continuous. If a full-sweep subsequence converges to , continuity gives , because both consecutive potential values converge to the same limit. Strict coordinate convexity means equality can occur only when no coordinate changes during that sweep. Thus minimizes every coordinate, satisfies the nonnegative-orthant first-order conditions, and is the unique global minimizer of . Every subsequential limit is therefore the same point, proving convergence of the full-sweep iterates and, by continuity of the updates, all intermediate iterates. This argument applies to sequential substitution; it does not assume simultaneous updates converge.