The printed problem has four variables, so it cannot be drawn; but it has only two constraints, so its dual has two variables and can be drawn. That asymmetry is the entire point of the question — the examiner is testing whether the candidate sees that dualising is a device for reducing dimension, not a formality. The printed problem is already in canonical minimisation form (mincTy, Ay≥b, y≥0), whose dual is the maximisationmaxbTx, ATx≤c, x≥0: four ≤ constraints in two non-negative variables, solved by the corner-point method. Finally, since the question is posed about the printed primal, a complete answer returns from the dual to the primal by strong duality (Y∗=Z∗) and complementary slackness (which recovers y∗ itself).
Solution
Step 1 — Put the printed problem in canonical form and name the data.
It is a minimisation with all constraints ≥ and all variables ≥0 — i.e. already in the canonical form for which the duality rules apply directly, with no need to reverse any inequality or split any variable.
Step 2 — Construct the dual, and derive it rather than merely quote it.
Assign a dual variable x1≥0 to the first constraint and x2≥0 to the second. Multiplying the constraints by these non-negative numbers preserves the inequalities; adding,
Now if the coefficient of each yj is held below the corresponding cost cj, then since every yj≥0 the left side is at most 10y1+6y2+2y3+y4=Y, and we obtain the bound Y≥2x1+x2. This forces exactly the following requirements, and gives weak duality for free:
(D)maxZ=2x1+x2subject toL1:L2:L3:L4:x1+2x2≤10x1+x2≤6x1−x2≤2x1−2x2≤1x1,x2≥0.(from the y1 column)(from the y2 column)(from the y3 column)(from the y4 column)
Equivalently, in matrix form, maxbTx subject to ATx≤c, x≥0 — the rows of AT being the columns of A, and the cost vector of the dual being the right-hand side b of the primal.
(Recorded for Step 7: the derivation above proves Z≤Y for every feasible pair (x,y) — weak duality — so any feasible x with Z=Y for some feasible y certifies optimality of both.)
(D) has two variables and is what the question asks us to solve graphically.
Step 3 — The graph: what to draw.
Work in the first quadrant of the (x1,x2)-plane, 0≤x1≤11, 0≤x2≤6. Draw each constraint as its boundary line and shade the side containing the origin (the origin satisfies all four, since 0≤10,0≤6,0≤2,0≤1):
Line
Equation
Two convenient points to join
Half-plane retained
L1
x1+2x2=10
(10,0) and (0,5)
below/left (origin side)
L2
x1+x2=6
(6,0) and (0,6)
below/left (origin side)
L3
x1−x2=2
(2,0) and (4,2)
above/left (origin side)
L4
x1−2x2=1
(1,0) and (3,1)
above/left (origin side)
(L3 and L4 meet the x2-axis at (0,−2) and (0,−21), outside the quadrant, so plot each through the two first-quadrant points listed.)
The feasible region is the convex polygon
O(0,0)→E(1,0)→D(3,1)→C(4,2)→B(2,4)→A(0,5)→O,
traversed anticlockwise, whose six edges lie on x2=0 (from O to E), L4 (E to D), L3 (D to C), L2 (C to B), L1 (B to A) and x1=0 (A to O). Every constraint supports an edge, so no constraint is redundant. The region is non-empty (it contains O) and bounded (it lies in 0≤x1≤6, 0≤x2≤5), so by the fundamental theorem of linear programming an optimal solution exists and is attained at a vertex.
Finally superimpose one iso-profit line2x1+x2=k, e.g. k=6 through (3,0) and (0,6), of slope −2, and translate it parallel to itself away from the origin; label the last vertex it touches.
Step 4 — Corner points: intersect the boundary lines in pairs and test feasibility.
With the two axes written as L5:x1=0 and L6:x2=0, there are (26)=15 pairs. No two of the six lines are parallel, so each pair meets in exactly one point.
Lines
Point (x1,x2)
Feasible? (reason if not)
Z=2x1+x2
L1∩L2
(2,4)
yes
8
L1∩L3
(314,38)
no — L2: 322>6
—
L1∩L4
(211,49)
no — L2: 431>6
—
L1∩L5
(0,5)
yes
5
L1∩L6
(10,0)
no — L4: 10>1
—
L2∩L3
(4,2)
yes
10
L2∩L4
(313,35)
no — L3: 38>2
—
L2∩L5
(0,6)
no — L1: 12>10
—
L2∩L6
(6,0)
no — L4: 6>1
—
L3∩L4
(3,1)
yes
7
L3∩L5
(0,−2)
no — x2<0
—
L3∩L6
(2,0)
no — L4: 2>1
—
L4∩L5
(0,−21)
no — x2<0
—
L4∩L6
(1,0)
yes
2
L5∩L6
(0,0)
yes
0
Sample verification of the two decisive rows:
L2∩L3: adding x1+x2=6 and x1−x2=2 gives 2x1=8, x1=4, hence x2=2. Check the other two: L1: 4+4=8≤10 ✓; L4: 4−4=0≤1 ✓.
Uniqueness. At C=(4,2) the binding constraints are L2 (outward normal (1,1)) and L3 (outward normal (1,−1)). Solving
(2,1)=α(1,1)+β(1,−1)⟹α+β=2,α−β=1⟹α=23,β=21,
the objective gradient (2,1) lies strictly inside the cone spanned by the two normals (α,β>0), i.e. the iso-profit line of slope −2 is parallel to neither edge CB (slope −1) nor edge DC (slope +1). Hence the maximum is attained at the single point C: the dual optimum is unique, and there is no alternate optimal solution.
Step 6 — What solving the dual buys us about the printed problem: strong duality.
First check that the printed problem is feasible: y=(2,0,0,0) gives 2≥2 ✓ and 4≥1 ✓. Both (P) and (D) are feasible, so by the strong duality theorem both have finite optima and
Y∗=Z∗=10.
Step 7 — Recover the optimal y by complementary slackness.
The complementary slackness conditions for the pair (P)–(D) are:
xi∗>0⟹ the i-th primal constraint is tight at y∗;
the j-th dual constraint slack at x∗⟹yj∗=0.
Evaluate the dual slacks at x∗=(4,2):
j
dual constraint
value at (4,2)
RHS cj
slack cj−(ATx∗)j
conclusion
1
x1+2x2
8
10
2>0 (slack)
y1∗=0
2
x1+x2
6
6
0 (tight)
y2∗ unrestricted by CS
3
x1−x2
2
2
0 (tight)
y3∗ unrestricted by CS
4
x1−2x2
0
1
1>0 (slack)
y4∗=0
And since x1∗=4>0 and x2∗=2>0, both primal constraints are tight:
Y∗=10=Z∗, which by the weak-duality bound of Step 2 certifies that y∗ is optimal for (P) and x∗ optimal for (D) — no further argument is needed.
Uniqueness of y∗. Since x∗ is the unique dual optimum (Step 5), every primal optimal y must satisfy complementary slackness against this x∗; that forces y1=y4=0 and both primal equalities, a system with the unique solution above. Hence the printed problem also has a unique optimal solution.
Cross-check on the multipliers. The numbers α=23, β=21 found in the uniqueness argument of Step 5 are the multipliers of the binding dual constraints L2,L3 — and they are exactly y2∗=23, y3∗=21. The graphical picture therefore already contained the primal solution: the shadow prices of the binding lines at the optimal corner are the optimal primal variables.■