The objective combines revenue and the relevant cost model
Suppose Cedar's weekly total cost for positive output is C(Q)=200+20Q. With the stipulated revenue, profit is π(Q)=80Q−Q²−200. The derivative 80−2Q gives an interior stationary candidate Q=40. The second derivative is−2, so the smooth objective is strictly concave: its slope decreases everywhere and the stationary point is the unique unconstrained maximum on a domain containing 40.
Revenue alone reaches its peak at 50, while profit peaks at 40. Additional revenue is still positive at 40, but the marginal revenue equals marginal cost 20. The objective matters. Maximizing units, revenue, profit or discounted value can yield different decisions.
Subtracting a constant changes profit levels without changing the derivative. That does not mean fixed costs are irrelevant to every decision. They do not change the interior output candidate under the same unavoidable cost and feasible domain. They can change whether operating at all is preferable when the cost is avoidable.
List all candidates on the actual feasible set
On a closed interval a continuous objective attains extrema. To find them, compare interior points where the derivative is zero, points where differentiability fails, and endpoints. If capacity limits Q to 30, the candidate 40 is infeasible. The derivative is positive throughout[0, 30], so the maximum within that interval occurs at 30.
For the smooth profit expression, π(0)=−200, π(30)=1300 and π(40)=1400. The unconstrained improvement from 30 to 40 is 100, not the current marginal value at 30 multiplied by ten without correction. Curvature makes the marginal gain decline along the expansion.
If a threshold changes the cost formula, include the threshold and both relevant branches. If the feasible domain is open, an apparent best limiting value might be a supremum that is never attained. Existence and feasibility are part of the solution, not fine print added after differentiation.
A zero derivative is necessary only under stated conditions
A differentiable interior local extremum has zero derivative, but the converse fails. For f(x)=x³ at zero the derivative vanishes while the function increases through the point. A minimum can also satisfy the same first-order equation. The second derivative test can classify a stationary point when its sign is strictly positive or negative, but a zero second derivative requires another argument.
Endpoints can maximize a function with nonzero derivative. A corner or kink can also be optimal where an ordinary derivative does not exist. Applying an interior formula indiscriminately can discard the actual best choice.
Strict concavity of the objective on a convex feasible set supplies a stronger conclusion than a local sign test. In this simple quadratic it establishes global uniqueness. For more complicated objectives, identify what evidence supports a global claim; a numerical solver returning one stationary point is not that evidence.
Choose the counterfactual for operating or closing
If the 200 charge is unavoidable this week whether Cedar produces or not, zero output has profit−200 under the model. If it can be avoided by remaining closed, define the closed alternative separately at zero. Positive-output profit remains 80Q−Q²−200, but the comparison now includes a different zero-output value.
If the avoidable setup charge rises to 1500, the best positive-output profit at 40 is 100. At a 1700 setup charge it is−100, so a zero-profit closed alternative dominates. The optimal positive output conditional on opening is still 40 in both cases; the opening decision changes.
This is a model of relevant alternatives, not a declaration that an actual contract can be cancelled or workers left unpaid. Existing obligations and state-law authority require current facts and sources; Florida remains the default jurisdiction for such questions. Preserve the distinction between a mathematical avoidability assumption and a real legal or operational ability to avoid a cost.
Worked example: Interior versus capacity-constrained profit
π′=80−2Q=0 gives 40. π″=−2 establishes strict concavity. WithQ≤30 the feasible maximizer is 30, with 1300 profit, compared with 1400 at 40 if capacity is relaxed. The endpoint comparison and slope explain why the first-order root alone is insufficient.
Worked example: An avoidable setup charge can reverse opening
AtQ=40 the revenue less variable cost is 1600. Subtract 1500 setup to obtain 100, but subtract 1700 to obtain−100. If closing yields 0 and all stated costs really are avoidable as modeled, open in the first case and close in the second.