Recall the standard-form primal LP and its dual:
(P):max c⊤xs.t.Ax≤b, x≥0.
(D):min b⊤ys.t.A⊤y≥c, y≥0.
The Weak Duality Theorem states that for every primal feasible x and every dual feasible y,
c⊤x ≤ b⊤y.
Proof. Since x≥0 and A⊤y≥c, we have c⊤x≤(A⊤y)⊤x=y⊤(Ax). Since y≥0 and Ax≤b, we have y⊤(Ax)≤y⊤b=b⊤y. Chaining the two gives the result. ■
Tiny illustration. Let c=[32], b=[45], A=[1112]. Take x=[11] (primal feasible: Ax=[23]≤b) and y=[21] (dual feasible: A⊤y=[34]≥c). Then
c⊤x=3+2=5,b⊤y=8+5=13,
and indeed 5≤13.