Take the decision domain and minimize the objective functionEach inequality permits a closed half-space; their intersection is the filled triangle with vertices , and , including its edges. The feasible region is a compact set and a convex set. The point is a feasible point, but its objective function value will not be best. Without the optimization constraints, the unique global minimum is at with value . That point is infeasible because .
The objective function is the squared Euclidean distance from . Its positive level sets are circles centered there. Expanding a circle from that center, the first contact with the feasible region is at , with objective function value . Thus the optimum is the Euclidean projection onto a convex set of the target . Squaring a nonnegative Euclidean distance preserves which point is nearest.[ref]
Convex Optimization by Stephen Boyd and Lieven Vandenberghe. §8.1.1, printed p. 398: squared Euclidean projection onto a polyhedron and half-space projection formula
Feasible triangle with a squared-distance objective: the first attainable level set has value 0.5 at (1.5,1.5)
. Details. Here is a direct certificate, without relying on the picture. Put and . The objective function becomesEquality requires and , so the unique optimum is . At this point is an active constraint, while and are strict. An active constraint identifies a tight restriction at a specified point; it alone does not establish optimality. For example, has the same tight sum restriction but objective function value .
For a check using the Karush-Kuhn-Tucker conditions, write the inequalities as , , . Their Lagrange multipliers at the optimum are . The gradient equation isFeasibility, nonnegative Lagrange multipliers and complementary slackness also hold. With this strictly convex function and affine optimization constraints, the Karush-Kuhn-Tucker conditions certify the unique global minimum.[ref]
Convex Optimization by Stephen Boyd and Lieven Vandenberghe. §5.5.3, printed pp. 243–244, equation (5.49) and sufficiency for convex problems
Fenchel–Young gap Created 2026-10-05 Updated 2026-10-14
The Fenchel–Young gap is the nonnegative discrepancyfor a proper convex function and its convex conjugate. It can be . When is finite, it is the vertical distance between and its affine minorant . The Fenchel–Young gap vanishes exactly when , so it measures whether an input and a slope satisfy the subgradient relation.
For the convex quadratic function , completing the square givesAt and , the function value is and the tangent line has value , giving a Fenchel–Young gap of . In , the same calculation for gives and , half the squared Euclidean norm of the mismatch.
An exact optimization error certificate. Fix a slope with and minimize the linearly tilted objective function . By the definition of the convex conjugate, , soThis identity holds even when the infimum is not attained. Thus a computed finite Fenchel–Young gap is exactly the error in objective value for this minimization problem. For the convex quadratic function, implies . A general proper convex function need not convert a small gap into a small distance: the absolute value has zero gap at for every .
The Fenchel–Young gap also connects convex analysis to optimal transport. For a proper convex function , define Kantorovich potentials and . The half-squared Euclidean distance cost satisfies . For a transport plan with finite integrated cost and integrable Kantorovich potentials, integrating this identity gives the difference between transport cost and the potentials' bound. This is the same local subgradient mismatch summed over transported pairs.
Karush-Kuhn-Tucker conditions Created 2026-09-24 Updated 2026-10-14
The Karush-Kuhn-Tucker conditions combine membership of the feasible set with a balance of gradients and complementary slackness. For a minimization problem with differentiable functions on an open subset of , writeand use the optimization LagrangianA candidate satisfies the KKT conditions exactly when all four requirements hold:
- Primal feasibility: and , so is a feasible point.
- Dual sign feasibility: . The equality Lagrange multipliers are unrestricted real numbers.
- Stationarity: the gradient of the optimization Lagrangian in the decision variables vanishes,
- Complementary slackness: for every inequality optimization constraint.[ref]Lecture 7: Lagrange Multipliers and KKT Conditions. Lecture 7, §L7.1.1, Definition L7.1, printed p. 3: the four KKT requirements
The sign of each inequality Lagrange multiplier follows the chosen convention : on the feasible set, makes the optimization Lagrangian a lower bound on the objective function. An equality contributes zero on the feasible set for either sign of its Lagrange multiplier. Complementary slackness says an inequality with must have , while implies an active constraint. An active constraint can still have zero Lagrange multiplier; the quadratic minimization with a moving upper bound below gives an explicit example.
The name records William Karush's 1939 master's thesis and the 1951 work of Harold W. Kuhn and Albert W. Tucker.[ref]
Convex Optimization by Stephen Boyd and Lieven Vandenberghe. Chapter 5 bibliography, printed p. 272, and bibliography entries KT51 and Kuh76
KKT regularity at a local minimum 2026-10-14
At a local minimum of continuously differentiable functions, a suitable constraint qualification guarantees the existence of Lagrange multipliers satisfying the KKT conditions. One sufficient local regularity assumption is that the gradients of the equality optimization constraints and the active constraints are jointly linearly independent. This assumption concerns the description of the feasible set, not just the smoothness of the objective function.[ref]
Lecture 7: Lagrange Multipliers and KKT Conditions. Lecture 7, §L7.1.3, Theorem L7.3, printed p. 4: continuous differentiability and independent active gradients
To see why a hypothesis is needed, minimize subject to . The feasible set is the singleton , so is a global minimum. Yet for every finite Lagrange multiplier . Thus this convex optimization problem has an attained optimum without a KKT multiplier. The zero gradient of the active constraint has hidden the actual restriction from its first-order equation. Rewriting it as the equality yields the unrestricted Lagrange multiplier .
For convex optimization, Slater's condition requires strict inequalities and affine equalities at a point in the relative interior of the common domain of a function. A finite optimum value then gives strong duality and dual attainment. Primal attainment and differentiability yield KKT multipliers. Affine inequalities may be nonstrict in the refined version.[ref]
Slater's condition is sufficient, and need not hold for an optimum to exist. The singular example above also shows that mere primal attainment is not a substitute for a constraint qualification.
Mathematical optimization Created 2026-09-24 Updated 2026-10-13
Mathematical optimization turns a preference into a precise question: among the allowed decisions, which gives the best outcome? A model separates the objective function, which measures quality, from the optimization constraints, which determine the feasible set. This language unifies finding a cheap plan for a transportation problem, efficient scheduling, or an accurate model in linear regression. The separation is useful because changing a preference and changing what is possible are different modeling decisions. See Boyd and Vandenberghe, introductory optimization models.
For an objective function , a maximization problem asks for a feasible point satisfying for every ; a minimization problem reverses the inequality. This is a global extremum. A local maximum or local minimum compares only nearby feasible points, so finding one does not settle the global question.
Consider allocating ten units between two complementary inputs:The budget constraint forces a tradeoff: an extra unit of costs a unit of . The best allocation is , with objective function value . Without the budget constraint, gives : there is no global maximum. Constrained optimization can therefore have a finite answer even when the corresponding problem with fewer optimization constraints does not. Its beauty is that geometry, calculus, and an arithmetic-geometric mean inequality can certify the same answer.
Maximin bargaining solution 2026-10-14
For a finite two-person game, let be player 's security level payoff, obtained by maximizing its minimum expected payoff against the other player's actions. Apply the Nash bargaining solution to the convexified feasible payoff region with this disagreement point. This is the maximin bargaining solution. “Maximin” specifies the disagreement guarantees; the arbitration objective function remains the Nash product, not the minimum of two numerically incomparable utilities.
Nonnegative-orthant optimality certificate 2026-10-14
Consider the original linear programOne unit of costs twice as much as one unit of , so is a plausible answer. To certify it, multiply the three linear inequalities by , respectively, and add:The proposed feasible point attains , so its cost is the global minimum.
In the conic dual problem convention, the data and certificate areDirect matrix multiplication gives and . At , the slack variable is , so . The first linear inequality has positive slack and zero multiplier; the two positively weighted linear inequalities are tight. This is complementary slackness.
The entire dual feasible set can also be read off: write with . Then and . Maximizing this lower bound gives . A point such as is still a valid certificate of the weaker bound .
Objective function 2026-10-13
An objective function is a real-valued function assigning a score to each decision under consideration. An optimization problem seeks a feasible solution maximizing or minimizing this score. The optimizing decision and its score are different objects: in the budget constraint example, the decision is and the optimal value is .
Choosing an objective function expresses what matters. With and , maximizing makes every feasible point equally good; maximizing selects ; maximizing rewards balance. If are side lengths, is a rectangle's area, and the budget constraint fixes its perimeter at . The same mathematics then says that a square encloses the largest area among these rectangles.
For the product objective function, the positive level sets are hyperbolas. Each collects decisions with identical scores. The highest attainable level set touches the feasible set at ; higher ones miss it entirely.
The product is neither a convex function nor a concave function on the positive quadrant: along it is , while along it is . Yet its restriction to this feasible set is a strictly concave function. Thus the geometry of the allowed decisions can make an otherwise nonconcave maximization problem tractable. Replacing by always converts a maximization problem into an equivalent minimization problem.
// Target: mathematical-optimization.bigb
Past exam of the mathematics course of the University of Cambridge 2001 iii Paper 31 1 Solution Created 2026-10-03 Updated 2026-10-14
In a two-person Nash bargaining problem, an agreement specifies a jointly feasible pair of payoffs , measured in each player's own utility function. For a finite game, binding agreements can randomize jointly among action pairs, so the feasible payoff region is the convex hull of the pure-action payoff. This permits correlated joint actions; it is generally larger than the payoff region generated by independent mixed strategies. A disagreement point specifies what each player receives if negotiations fail. Assume a compact convex set of feasible agreements and at least one agreement strictly improving both disagreement payoffs.
A vector jointly dominates if , , and at least one inequality is strict. This is joint dominance of payoff vectors; strict improvement for both is unnecessary. A Pareto optimal agreement is one that has no feasible joint dominator. A jointly dominated agreement wastes a possible gain, but Pareto efficiency alone does not settle how gains should be divided. The negotiation set in two-person bargaining isIts individual-rationality constraints keep either player from accepting less than disagreement; its Pareto efficiency constraint rules out wasted opportunities. This negotiation set is distinct from objection-and-counterobjection bargaining sets for coalitional games.
The Nash arbitration procedure selects the Nash bargaining solution by maximizing gains relative to disagreement:The objective function is the Nash product. Essentiality makes its maximum positive; compactness gives attainment. On positive gains, its logarithm is , whose Hessian is diagonal and negative definite. Thus strict concavity on the feasible convex set makes the maximizing payoff vector unique. Positive gain in either coordinate increases the product, so the solution is Pareto optimal.
The procedure respects feasibility, bargaining individual rationality, Pareto efficiency, bargaining symmetry, positive affine invariance in bargaining, and bargaining independence of irrelevant alternatives. In particular, replacing each player's utility by a separate positive affine rescaling multiplies the product by a positive constant; it does not compare one player's raw utility scale to the other's. Deleting other feasible agreements cannot change a unique maximizer that remains feasible. Symmetry under interchange of the players gives equal selected coordinates when the bargaining problem itself is symmetric.
These properties also explain why the product rule is distinguished. Normalize a positive-gain maximizer to and disagreement to by positive affine maps. The first-order inequality along a segment from to any feasible gives . A sufficiently large symmetric triangle, bounded below in each coordinate and above by , contains the normalized feasible region. Symmetry and Pareto efficiency select in that triangle. Independence of irrelevant alternatives then selects the same point in the original normalized region, and affine invariance transforms it back. This is the supporting triangle for Nash bargaining argument; the assumptions of convexity and a strict joint improvement are important. Without strict improvement, a zero product need not select a unique agreement.
For a finite game, a natural disagreement convention is each player's security level payoff:where are the two payoff matrices and are mixed strategies. Each player can independently guarantee at least its own security level. The maximin bargaining solution applies the Nash product rule using this . In this convention, “maximin” determines the disagreement payoffs; it does not replace the arbitration objective function by , which would depend improperly on interpersonal utility scales. The resulting agreement can strictly benefit both players relative to their guarantees, yet need not benefit both relative to a particular noncooperative Nash equilibrium.
Past exam of the mathematics course of the University of Cambridge 2001 iii Paper 31 2 Solution Created 2026-10-03 Updated 2026-10-14
Choose the sign conventionThis is the optimization Lagrangian; equality-constraint Lagrange multipliers are unrestricted in sign. The Lagrangian sufficiency theorem for minimization says: if satisfies and globally minimizes on for some , then it globally minimizes the constrained objective function. Indeed, for every feasible ,This is a full global certificate, not merely stationarity. No convexity is needed for the implication, although convexity commonly supplies the required global optimization Lagrangian minimum.
Let , setting , and assume is finite. The Strong Lagrangian property at means that a finite multiplier attains the constrained value as an unconstrained lower bound:This includes dual attainment, but need not include primal attainment. A non-vertical supporting hyperplane of a value function at has a finite slope and supports the epigraph from below:If this inequality holds, then for every ,so . Conversely restricting the infimum to gives , even if the primal infimum is approached only by a sequence. Thus equality holds. In the reverse direction, the Strong optimization Lagrangian identity implies for every . Taking the infimum over yields the supporting inequality, with empty fibres causing no problem. This proves both implications without a convexity or attainment assumption beyond finite .
For the advertising calculation, measure the budget in thousands of pounds by . Requiring the full budget to be spent gives , with . Substitute to reduce the maximization problem toIts second derivative is , so the unique constrained maximum is obtained by clipping the stationary point:The upper constraint never clips the interior formula because for . The maximal revenue in thousands of pounds isEquivalently the revenue Hessian is , negative definite since its leading minor is negative and its determinant is seven. Thus the full-budget affine feasible set has a unique global maximum.
At the two requested budgets,The units in the middle columns are minutes; the last column is thousands of pounds. Revenue measured in pounds is , soAn additional advertising pound therefore increases optimized revenue locally by £2.50 at the smaller budget and £0.25 at the larger budget. These are marginal rates, not exact finite-difference increments: on the interior branch .
The maximization multiplier in equals on the interior branch. The sign is consistent with the minimization convention above applied to , whose supporting slope is . If spending is only capped by the budget, rather than required to equal it, these same answers apply at the two budgets. Beyond £11,000 the unconstrained maximum is affordable, so further allowed spending is unused and the capped-budget value is constant; forced full spending would instead lower revenue.
Past exam of the mathematics course of the University of Cambridge 2001 iii Paper 31 3 ii Solution Created 2026-10-03 Updated 2026-10-14
The objective function is nonnegative. We now construct a feasible zero-objective point, distinguishing the input problem's possible states.
If the primal is feasible and bounded below, strong duality and attainment for a linear program give , and withSet , , , , , andThe first three embedding equations hold. Substituting their equalities into the fourth gives precisely .
If the primal is infeasible, the Farkas alternative supplies with and . Take , , , and . These satisfy the same equations. If the primal is feasible and unbounded below, it has a direction in the recession cone with and . Set , , and . This is again a feasible nonzero embedding vector. Normalize the constructed vector by the sum of its nonnegative coordinates. In every case,The facts about optimal pairs and recession directions follow from the polyhedral alternatives of linear programming duality; they do not require knowing their values or witnesses to write the transformed coefficients.
To recover information from the transformed optimum, multiply the first three original embedding equations by , , and , respectively, and add. Their cross terms cancel; the fourth equation givesAt , nonnegativity forces and . The equations also implyThus any normalized zero-objective point has : if , all these coordinates vanish, and then , contradicting normalization.
If , division by gives a primal-feasible point and dual-feasible point with equal objective function values; hence they are optimal. If , then , , , andTherefore either certifies primal infeasibility, or is an improving recession direction certifying dual infeasibility and unboundedness whenever the primal is feasible. If only the latter certificate is obtained and primal feasibility is unknown, apply the same construction to the feasibility problem with objective function ; it gives either a feasible point or a direct primal infeasibility certificate.
A degenerate optimal point can have and convey neither conclusion. Choose an optimum in the relative interior of the optimal face of a linear program. The explicit existence argument above gives a point of this face with . A nonnegative coordinate which is positive somewhere on a face of a convex set is positive throughout its relative interior, so the chosen point has and can be decoded. The assertion follows because a small relative-interior displacement in the direction opposite a positive-coordinate point would otherwise make that coordinate negative. Equivalently one may obtain a maximum-support optimum; choosing an arbitrary degenerate boundary optimum is insufficient.
This reduction is useful because an interior-point method now has a known strictly feasible start, a compact standard simplex slice, and a known target objective function. Projective rescalings can recenter positive iterates, and the transformed problem supplies optimality or infeasibility information without a separate guessed optimum. Polynomial bit-complexity claims need rational data with a finite encoding length. The printed bound on arbitrary real coefficients by itself does not bound denominators or the size of nonzero determinants; it is not a substitute for that encoding assumption.



