Proof of the Law of Association (optional material, p. 5)
Now suppose that Person A increases production of Good X by Xa units and decreases production of Good Y by Yb units, while Person B follows the opposite course. The two parties then exchange the goods, so that they realize the same total stocks as before. Under this arrangement, Person A's new total cost is as follows:
new-costa
=
xa + Xa(xa/Xa) +
ya - Yb(ya/Ya)
=
(xa + ya) + Xa(xa/Xa) - Yb(ya/Ya)
<
xa +
ya
(by (4) above)
Since xa + ya was A's total cost prior to the agreement, A benefits by this exchange. Person B's new total cost is as follows:
new-costb
=
xb - Xa(xb/Xb) +
yb + Yb(yb/Yb)
=
(xb + yb) + Yb(yb/Yb) - Xa(xb/Xb)
<
xb +
yb
(by (5) above)
Since xb + yb was B's cost prior to the agreement, B also benefits.