The PRINCIPLE of comparative advantges (Do not mix up with ''definition''!!)
The principle of comparative advantges states that if each country specialises in producing the good in which it has a advantage (or lower opportunity cost), the total world output will increase.
Determine the exporting country and importing country
In international trade, if the production cost of a country is lower than the terms of trade (TOT), that country will be the exporting country.
On thr contrary, if the production cost of a country is higher than the terms of trade, that country will be the importing country.
GAIN PER UNIT of export & import
**Format**
a) Gains for exporting countries
As Country A's production cost of 1F is 0.8C, which is lower than the international price 1.25C, it will sell food on the world market. For each unit of food exported, it gains 0.45C (=Unit price - Unit cost =1.25C - 0.8C).
b) Gains for importing countries
As Country B's production cost of 1F is 2C, which is higher than the international price 1.25C, it will buy food on the world market. For each unit of food imported, it gains 0.45C (=Unit cost - Unit price =2C - 1.25C).
So...
Gain from specialisation according to comparative advantages comes from differences in production costs among countries.
Unit gain from specialisation (and trade) of 1F for both Country A and Country B is 1.2C (=0.45C + 0.75C). This is equal to the difference in their production cost (1.2C = 2C - 0.8C).
This unit gain is shared among Country A and Country B.