A dual LP prices the resources of a primal LP. This lesson shows the transpose rule that turns primal rows and columns into dual variables and constraints. The coefficients are exact entries, not a visual analogy.
highlighted = computed this step
Dual shape
In general, a max problem with resource matrix A has a min problem with A transposed. Why: the dual prices resources, so each primal constraint gets a dual variable.
dual uses the transpose
Rows become prices
There is one dual variable for each primal resource row and one dual constraint for each primal decision variable. Why: prices must cover every unit of objective value.
rows price resources; columns become constraints
Diagram note
The example matrix is intentionally non-symmetric, so the row-column swap is visible. Pixel positions are rounded for layout; every number shown is exact.