Lawfare Group → Knowledge Institute → Lawfare Academy

← Course syllabus · Related lesson

Solve constrained choice and interpret a multiplier within its limits

Complete current on-site edition 3

All required teaching, source summaries, worked examples and complete optional models are supplied on LawfareGroup.com. External publisher references are optional provenance or further reading. Practice and assessments remain optional. Contemporary state-law defaults are Florida; federal, historical and comparative material retain their stated scope.

Complete cumulative dossier, model, revisions and 30-point rubric

Preserved original economic teaching and optional practice, integrated with the current complete on-site units above. Independent subject review and observed learner testing remain pending.

Learning objectives

The constraint is part of the choice problem

Consider two training activities with nonnegative allocations x and y measured in divisible staff-hours. A stipulated benefit index is B(x, y)=12x−x²+8y−y². The index is not dollars, observed performance or an employee rating; it is a transparent hypothetical objective for practicing allocation. A total resource limit is x+y≤6. Neither training effect nor hour divisibility should be assumed in a real program without evidence.

Without the resource limit, each quadratic component peaks at x=6 and y=4, requiring ten hours. The six-hour limit is therefore potentially consequential. Substituting y=6−x on a binding resource boundary gives B(x, 6−x)=12+16x−2x², with 0≤x≤6. Its derivative 16−4x gives x=4, y=2 and benefit 44. Endpoints produce 12 at(0, 6) and 36 at(6, 0), so neither dominates this interior allocation on the boundary.

Why may the inequality be treated as binding here? At the proposed solution both marginal benefits are positive, and the unconstrained optimum requires more than six hours. For any feasible allocation with unused resource and with a positive marginal benefit for an available activity, adding a sufficiently small amount improves the objective. The resource would not bind merely because a planner wrote down a capacity number.

Partial derivatives hold the other variable fixed

The partial derivative Bx=12−2x measures change in the benefit index per additional x-hour while y is held fixed. By=8−2y does the same for y. The gradient is the vector(Bx, By). It summarizes first-order changes in different directions; it is not a total change unless combined with the actual changes in x and y.

For the equality boundary x+y=b, define L=B(x, y)+λ(b−x−y). The first-order conditions are 12−2x−λ=0, 8−2y−λ=0 andb−x−y=0. The sign convention matters: with this definition, λ is the local increase in optimized benefit for an additional hour under suitable regularity and an unchanged active set.

Subtracting the first two equations gives x−y=2. Atb=6, solve with x+y=6 to obtain 4 and 2, then λ=4. The marginal benefits are equal because a small transfer from one activity to the other should not improve the optimum. If resource requirements per unit differ, equality of marginal benefits alone is wrong; compare marginal benefits per unit of the constrained resource.

Establish sufficiency and compare the corners

The objective has second partial derivatives−2 for each activity and zero cross partials. For any nonzero change vector its quadratic curvature is−2(dx²+dy²)<0, so the objective is strictly concave. The nonnegative resource-feasible triangle is convex. These properties support the unique global optimum, in addition to the explicit substitution and boundary checks.

Equality-constrained first-order equations alone are not a universal solution procedure for inequalities. A resource may be unused, nonnegativity can put an activity at zero, and constraints can be singular or redundant. On a corner, forcing both marginal equations to hold can produce negative allocations. Identify active constraints and compare feasible alternatives instead of accepting a negative training hour.

The current on-site methods unit supplies gradient and equality-constrained multiplier preparation; Volume 3 is optional further reading. This bridge introduces the notation needed for the two-variable example and uses direct substitution as an independent check. A general treatment of inequality optimality conditions, nonsmooth optimization and large nonlinear programs goes beyond this bounded bridge; those problems need additional methods and qualifications.

A local resource value is not a promise for a large expansion

For resource levels near six, solve x=(b+2)/2 and y=(b−2)/2 while both allocations are positive and the resource still binds. The multiplier becomes λ=10−b. At six it is 4 benefit-index units per additional hour. At seven the optimum is x=4.5, y=2.5, the benefit is 47.5 and the exact increase is 3.5, not 4. Marginal value declines as the resource expands.

At b=10 the unconstrained pair(6, 4) becomes available and the maximum benefit is 52. More resource is then slack; the best policy need not spend it all. Treating an inequality as x+y=b beyond that point would force wasteful allocation and distort the objective.

The multiplier uses the objective's units. An index multiplier of 4 is not a four-dollar willingness to pay without a defensible conversion. Resource availability does not imply staff are qualified, legally schedulable or actually available. Those operational and authority gates remain separate from the mathematical feasibility set.

Worked example: Reconstruct the constrained optimum two ways

Substitution gives B(x, 6−x)=12+16x−2x², maximized atx=4. Lagrange equations give x−y=2 andx+y=6, hence(4, 2). Direct evaluation yields(48−16)+(16−4)=44. Equal marginal benefits are 4 and 4; both variables are nonnegative.

Worked example: Local versus finite resource value

Atb=7 the allocations are 4.5 and 2.5. Benefit is 54−20.25+20−6.25=47.5, an increase 3.5 from 44. The multiplier 4 atb=6 is an infinitesimal rate, not an exact value for the full additional hour. Atb=11 use(6, 4), benefit 52 and one unused hour.

Progressive optional practice

Attempt each problem before opening its model. Then revise the reasoning under the changed conditions.

Guided

Solve the six-hour equality-constrained allocation.

Compare the model reasoning

Set 12−2x=8−2y andx+y=6; obtainx=4, y=2,λ=4.

Changed conditions

The resource is seven hours.

Compare the revised analysis

Obtain 4.5 and 2.5 withλ=3; compare exact benefit 47.5.

Independent

Why is the equality boundary inappropriate atb=11?

Compare the model reasoning

The unconstrained optimum uses only ten hours, so the inequality can be slack.

Changed conditions

A policy insists every available hour be used.

Compare the revised analysis

That is a different equality-constrained problem and can lower benefit; explain the policy change rather than silently imposing it.

Transfer

May λ=4 be treated as a dollar bid for an extra hour?

Compare the model reasoning

No. Its units are benefit-index units per hour in this model.

Changed conditions

A validated monetary objective replaces the index.

Compare the revised analysis

Rebuild the objective and assumptions, then interpret the multiplier in the new units and only locally.

Preserved earlier development snapshot · Course content review

Source readings and scope

Calculus Volume 1 — 4.7 Applied Optimization Problems — Optional publisher provenance and further reading only. The complete required mathematical preparation, economic interpretation and source summaries are supplied in the current on-site units above. Academy economic functions are stipulated hypothetical models, not empirical estimates or forecasts. Florida is the state-law default; federal and comparative material remain distinct. Route verified October 27, 2026.

Calculus Volume3 —4.8 Lagrange Multipliers — Optional publisher provenance and further reading only. The complete required mathematical preparation, economic interpretation and source summaries are supplied in the current on-site units above. Academy economic functions are stipulated hypothetical models, not empirical estimates or forecasts. Florida is the state-law default; federal and comparative material remain distinct. Route verified October 27, 2026.

Reproduce the worked examples in Python 3. Standard library only; synthetic data; no production records or network access.