Lawfare Group → Knowledge Institute → Lawfare Academy

← Course syllabus · Related lesson

Turn a continuous solution into an auditable feasible decision

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

A continuous optimum is a relaxation of an integer decision

Consider a separate vehicle-capacity problem with modeled weekly net value V(n)=72n−10n² before a newly introduced setup charge. The smooth peak occurs where 72−20n=0, giving n=3.6. Actual vehicles are nonnegative integers. For this strictly concave quadratic on an interval, compare the adjacent feasible integers: V(3)=126 and V(4)=128. Four is better in the specified smooth net-value model.

Rounding happens to choose four here, but the reason is the objective comparison. If acquiring the fourth vehicle triggers an additional 15 charge, the piecewise objective gives V(4)=113 while V(3)=126. Three now wins. If feasible choices are 0, 2, 5 rather than every integer, the adjacent integers around 3.6 are not available; evaluate the actual alternatives.

In a larger multivariable integer problem, checking nearby rounded components is not a general proof of optimality. Coupled constraints can make the rounded vector infeasible or conceal a distant better allocation. This bridge uses exhaustive comparison for small finite sets and states the boundary of that method.

A numerical algorithm needs a defined problem and a stopping rule

Newton's method updates a root estimate with xnew=x−f(x)/f′(x), when the denominator is nonzero. Applying it to a first-order condition can locate a stationary candidate, but the method is a root finder, not a guarantee of feasible or globally optimal economic choice. Initial values, derivative behavior and the function's shape can change its outcome.

For π′(Q)=80−2Q, one Newton step from any ordinary finite initial Q reaches 40 exactly in symbolic arithmetic because the derivative condition is linear. That unusually easy case does not establish reliability on arbitrary functions. A derivative near zero can create a large step, and a step can leave the economic domain.

Report a residual, such as|π′(Q)|, along with feasibility and objective comparisons. A small root residual is different from a small optimization error, and neither establishes empirical model accuracy. Choose tolerance relative to units and decision precision rather than copying a decimal threshold without explanation.

Sensitivity asks which assumptions drive the decision

For inverse demand P=a−bQ and constant marginal cost c with b>0, interior profit maximization yields Q*=(a−c)/(2b), provided the point is positive and within capacity. Increasing c reduces the candidate; increasing a raises it. A fixed unavoidable cost does not enter this conditional output formula, but it affects profit levels and possibly an avoidable opening decision.

Witha=100, b=1, c=20, the candidate 40 reproduces the base case. Raisingc to 30 moves the candidate to 35. Under a 30 capacity both candidates remain infeasible, so the implemented continuous maximum stays at the capacity boundary. The fact that a parameter matters in the unconstrained formula does not mean it changes the current constrained decision.

Sensitivity should also question functional form, thresholds, time horizon and missing constraints. A narrow table varying only one coefficient can understate the uncertainty. Distinguish a break-even assumption from a confidence interval; no probability distribution is supplied merely by listing scenarios.

Use independent computations to audit, not certify, the model

The published laboratory uses exact rational arithmetic for polynomial values, finite changes, constrained allocation and integration fixtures. It enumerates bounded integer alternatives and compares derivative candidates with endpoints. A separate finite-difference check shows the approach to the derivative as the step shrinks. These checks catch algebraic or transcription mistakes within the supplied model.

They do not establish that customers behave according to the demand curve, that a training index measures benefit, that a vehicle is available, or that the decision is authorized. Keep mathematical verification, source review, empirical validation and operational acceptance separate in the report.

For independent study, retain a calculation ledger with inputs, scenario labels, units, method, tolerances, feasibility checks and interpreted outputs. A reader should be able to reconstruct the recommendation without trusting a software badge. The optional exercises alter a threshold and the feasible set so that a copied answer cannot replace reasoning.

Worked example: A threshold defeats mechanical rounding

Continuousn*=3.6. Without a threshold, V(3)=216−90=126 andV(4)=288−160=128. With an extra 15 starting atn=4, the latter becomes 113. Exhaustive comparison over the specified finite domain checks all alternatives, including zero.

Worked example: Parameter change with binding capacity

Atc=30, Q*=(100−30)/2=35 instead of 40. If capacity remains 30 and profit is still rising over[0, 30], both models choose 30. The constrained choice is unchanged even though its profit and marginal capacity value change.

Progressive optional practice

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

Guided

Compare three and four vehicles without a threshold.

Compare the model reasoning

Compute 126 and 128; four has the higher stipulated net value.

Changed conditions

An additional 15 cost starts at four.

Compare the revised analysis

Recompute 113 for four; three now dominates.

Independent

Does a small first-order residual prove a global maximum?

Compare the model reasoning

No. Check feasibility, curvature or global comparisons, boundaries and objective definition.

Changed conditions

The root lies beyond capacity.

Compare the revised analysis

It is infeasible regardless of how small the residual is.

Transfer

Can scenario bounds be reported as 95% confidence limits?

Compare the model reasoning

No. A probability model and an appropriate inferential procedure are absent.

Changed conditions

The coefficients came from an estimated demand model.

Compare the revised analysis

Report the estimation method and uncertainty evidence separately; a scenario table alone still is not a confidence interval.

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 Volume 1 — 4.9 Newton’s Method — 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 Volume 1 — 6.1 Areas between Curves — 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.