Beckmann potential 2026-10-05
The Beckmann potential integrates each link's delay function. Its gradient with respect to route flows is the corresponding vector of route delays, making Wardrop equilibrium a convex optimization problem.
Box-constrained TV-L1 denoising 2026-10-07
This finite-image convex optimization model combines robust L1 norm fidelity with discrete isotropic total variation and pixel-range constraints. An exact second-order cone program uses two orthant fidelity slacks per pixel, two box slacks per pixel and a three-dimensional Lorentz cone for each gradient magnitude. The product canonical barrier has parameter for pixels.
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 38 1 a Solution Created 2026-10-03 Updated 2026-10-07
Let . The feasible probability simplex is a nonempty compact convex set, so the extreme value theorem guarantees a minimizer. Its Hessian matrix is diagonal with positive entries , making a strictly convex function. Hence the minimizer is unique.
Use the Lagrange multipliers for the sum constraint and for . The Lagrangian isThe KKT conditions areA strictly positive feasible allocation exists, so the Slater condition holds. These conditions are necessary and sufficient for this convex optimization. At least one coordinate is positive, giving . Put . For a positive coordinate, complementary slackness gives . At a zero coordinate, stationarity gives , or . ThusHere . This logarithmic water filling raises the smaller baseline values to a common level. The scalar left side is a continuous function and strictly increasing above , starts at zero, and tends to infinity, so exactly one solves it. One can find it by interval bisection, or sort the baseline values increasingly and find an index for whichusing . Equality at the next baseline simply gives a zero allocation. Sorting and a running sum implement the water-filling algorithm in time.
Past exam of the mathematics course of the University of Cambridge 2016 ib Paper 3 21H a Solution Created 2026-09-24 Updated 2026-10-06
For a minimization problem over a domain with inequality constraints and equality constraints , letThe Lagrangian sufficiency theorem states: if is feasible, , , and globally minimizes on , then globally minimizes the constrained objective. Equality multipliers have no sign restriction.
For any feasible , the sign of the inequality multipliers gives . Feasibility and complementary slackness give . ThereforeThis proves the theorem. No convexity is necessary if the global minimization of the Lagrangian is already known. In a differentiable convex optimization problem with convex inequalities and affine equalities, a stationary point of this convex Lagrangian is automatically a global minimizer, which gives the familiar sufficiency of the Karush-Kuhn-Tucker conditions.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 205 4 Solution Created 2026-10-03 Updated 2026-10-06
Write for a positive-definite matrix. Up to a constant independent of the parameters, the log-likelihood of the multivariate normal distribution isThe identityshows that, for each , the unique optimizing mean is . Using the matrix trace to rewrite the first quadratic sum, the profile likelihood isTherefore maximum likelihood estimation of the precision matrix, whenever the maximum exists, is exactlyThis is the profile likelihood for a Gaussian precision matrix. The sample covariance matrix here uses divisor , as appropriate for maximum likelihood estimation.
There is an important rank qualification in the printed assumptions. If , differentiation gives , so the unique minimizer is . Uniqueness follows because the negative log-determinant is a strictly convex function on the positive-definite matrices. But full column rank of the uncentered alone does not imply : the rank of a centered sample covariance matrix depends on the centered design. For example, with and raw data matrix ,Although has full column rank, setting gives objective . Thus an unpenalized maximizer need not exist under the literal raw-rank assumption. The likelihood reduction remains valid; existence requires full column rank of the centered data, equivalently . For the nonsingular Gaussian model this holds almost surely when .
Use the entrywise-penalty convention for the Graphical Lasso:The sum is the entrywise matrix L1 norm. Its Graphical-Lasso Karush-Kuhn-Tucker conditions areHere is symmetric; its nonzero-entry values are , and its zero-entry values are any numbers in . These are the subgradient optimality condition for this convex optimization problem. Since a positive-definite matrix has positive diagonal, and . Counting both off-diagonal entries in the penalty and in the trace makes the same appear in their stationarity equations. The common variant penalizing only off-diagonal entries instead sets ; the off-diagonal equations and the column argument below are unchanged.
For the given column problem, abbreviateIts smooth part expands to plus a constant, because is symmetric and . The matrix is a positive-definite matrix, so this quadratic is a strictly convex function. Adding the convex L1 norm penalty preserves strict convexity, and the objective tends to infinity as . The minimizer exists and is unique. Its Karush-Kuhn-Tucker conditions are
We identify that minimizer directly from the precision matrix. Write and defineThe denominator is positive. The off-diagonal part of column of givesOn the other hand, the off-diagonal Graphical-Lasso Karush-Kuhn-Tucker conditions readBecause , the coordinates of have the opposite signs from those of and vanish at exactly the same positions. The subgradient of the absolute value therefore satisfiesIt follows thatThese are exactly the Lasso column problem's Karush-Kuhn-Tucker conditions. Its unique minimizer must be , yieldingThis is the Graphical Lasso column regression identity. The minus sign is essential: it converts the precision-entry subgradient into the regression-coefficient subgradient. The argument uses the inverse identity directly, so it does not require proving the supplied block inverse formula.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 325 1 iv Solution Created 2026-10-03 Updated 2026-10-06
For the Euclidean norm, rotational symmetry and minimizing the radial objective give the radial soft thresholding formulaIndeed, if , an optimal is a nonnegative scalar multiple of ; minimizing over gives . The gradient of a Moreau envelope is consequentlyAt this is , and the two expressions agree when . The Moreau envelope of the Euclidean norm itself isThus a quadratic core replaces the nondifferentiable tip while the outer gradient remains the normalized radial direction. The Euclidean norm has an unbounded effective domain, unlike the earlier bounded-domain hypothesis; the preceding argument explicitly shows that this restriction is unnecessary here.
The absolute value and its Moreau envelope with tau equal to one, together with the continuous clipped gradient replacing the jump at the origin
. For convex optimization, this Moreau–Yosida regularisation permits gradient descent and other methods for functions with a Lipschitz gradient, using a gradient Lipschitz constant . It approximates the norm uniformly: . Smaller improves approximation but makes the permitted gradient steps smaller. Minimizing alone preserves the minimizers and minimum value of ; replacing one term in a larger objective can shift the minimizer, so the smoothing parameter controls that approximation error.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 213 2 Solution Created 2026-10-03 Updated 2026-10-05
Let be the finite, nonempty set of available routes for source-sink pair , and write for a route flow. The link-route incidence matrix has when route uses link , and zero otherwise. The source-sink route incidence matrix has when . Thus gives link throughputs and gives aggregate source-sink flows. A route's delay isA Wardrop equilibrium uses only routes of minimum delay for their source-sink pair:An infinitesimal user cannot improve its delay by changing route.
For fixed , the feasible route flows form a nonempty compact convex set: for each , and . Define the Beckmann potentialIt is continuous, so the extreme value theorem gives a minimizer. Since every is strictly increasing, is a strictly convex function of . Its route-flow gradient is .
If an occupied route has greater delay than another route , moving a small amount of flow from to gives a negative directional derivative, contradicting minimality. Conversely, at a Wardrop equilibrium, for any feasible ,The first-order condition for convex optimization therefore proves optimality. ConsequentlyIf two minimizers had different , their midpoint would give a strictly smaller Beckmann potential. Thus the equilibrium link throughputs are unique. The route flows need not be unique, since need not be a strictly convex function of .
For a concrete example, take two successive stages of parallel links: in the first stage and in the second, with one source-sink pair and four routes . Put on every link and total flow . All allocationshave the same link throughputs and every route has delay two. These distinct allocations are all Wardrop equilibria.
For elastic demand, use the standard physical convention that and is finite, continuous, and strictly decreasing. Set and , and define the inverse demand function on . It is continuous and strictly decreasing, with and as . Choose any reference value and setEach summand of is a strictly convex function. The reference values only add a constant to the objective. In the usual case , one may use a lower limit zero whenever the improper integral is finite; that integrability is not guaranteed merely by continuity of .
Minimize over the compact feasible set , , interpreting the objective at by its one-sided limit, which can be . This extension is sequentially lower semicontinuous, and an interior-demand feasible point has finite value, so a minimizer exists. It cannot have : adding a small amount on any route for has bounded marginal link cost, whereas its marginal demand benefit tends to infinity. Thus .
For , the route-flow partial derivative is . The first-order conditions for convex optimization giveIf , reducing any occupied route cannot improve the objective only if that route has zero delay; nonnegative link delays then give . Therefore the conditions in every case areConversely these conditions give the nonnegative directional derivative for every feasible competitor and hence minimize the convex function . Allowing explicitly yields the stated form with and , with inverse-demand endpoint conventions understood. In particular, is defined on its demand range, rather than evaluating outside that range.
Strict convexity in the pair proves that the equilibrium aggregate source-sink flows and link throughputs are unique. Individual route flows may still be nonunique. Nonnegative, finite demand, nonnegative delays, finite route sets, and a usable route for each source-sink pair are the implicit modeling assumptions needed for the existence assertions.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 218 2 d Solution Created 2026-10-03 Updated 2026-10-05
First use the dual convention for support vectors, and interpret the stipulated uniqueness as applying to each training fit. If , the Karush-Kuhn-Tucker conditions in the preceding part give and . Delete the th primal variable and its zero dual coefficient. All remaining primal constraints, stationarity equations and complementary-slackness equations still hold with the same . These conditions certify a global minimizer of the reduced convex optimization problem, since the objective is convex and the Slater condition holds by choosing positive large slacks. Uniqueness therefore gives exactly the same fitted score and support-vector-machine decision boundary. The omitted point is correctly classified.
For the geometric convention, a non-support point has strict margin . One can obtain the same conclusion using just uniqueness of the full fit: if the reduced problem had another optimizer, the convex segment from the original optimizer toward it would also consist of reduced optimizers. A sufficiently short segment retains strict margin at , hence has zero omitted hinge loss and would give another full optimizer, a contradiction.
Only a support vector can therefore cause a held-out error. Each contributes at most one, proving the support-vector leave-one-out error boundKeeping fixed is necessary for this deletion argument: holding an average-loss penalty parameter fixed while changing the sample size changes the optimization problem's effective .
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 348 3 b Solution Created 2026-10-03 Updated 2026-10-05
Fix any admissible pair of Kantorovich potentials and any transport plan . Its marginal distributions giveThe right side is well defined because and are Lebesgue integrable with respect to . Integrating their pointwise feasibility inequality givesSince this holds for every feasible pair and every transport plan,This proves the required inequality directly from the transport constraints, without any convex optimization duality theorem. Whenever the extrema are attained, the supremum and infimum can respectively be written as a maximum and minimum. Even the Kantorovich duality theorem is unnecessary for this direction.
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 205 6 a Solution 2026-09-28
Strong duality Created 2026-09-28 Updated 2026-10-06
Strong duality means that the primal and dual optimal values are equal. It holds for every feasible bounded linear program and for broad classes of convex optimization problems under a constraint qualification.
