Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

duality

Pairing a minimization (primal) problem with a related maximization (dual) problem that bounds it.

Every optimization problem (the primal) has an associated dual problem built from its Lagrangian, whose optimal value never exceeds the primal's (weak duality) and, under enough structure (e.g. Slater's condition, or any feasible bounded LP), equals it exactly (strong duality). The dual gives both a certificate of optimality (via complementary slackness) and, through its optimal multipliers, a sensitivity reading of how the primal optimum would move if a constraint shifted.

Read the full section →
Graph settings

Calculator