Notes@HKU by Jax

Cost and Benefit

When taking an action nn, benefit is your gain, and cost is your loss by choosing that action. We ignore all costs that are not related to choosing the action.

If there is X amount of money taht one is willing to pay for an action, it goes towards the benefit of that action.

Economic surplus and opportunity cost

Economic surplus, or net benefit, for taking an action nn is given by:

ES(n)=TB(n)TC(n),T=totalES(n) = TB(n) - TC(n),\quad T=\text{total}

Opportunity cost is the cost of choosing one action nn over another (n2n_2):

OC(n)=C(n)+ES(n2)OC(n) = C(n) + ES(n_2)

Sunk cost

The cost that has already been incurred and cannot be recovered.

Ignore sunk cost when making decisions, always look forward.

Decision by margin

Marginal benefit/cost (MB,MCMB,MC) means additional gain/loss from taking one more unit of action nn.

MX(n)=TX(n)TX(n1),X{B,C}MX(n) = TX(n) - TX(n-1),\quad X\in\{B,C\}, for integer nn

If the unit of action is continous, the value MXMX will be given, or use the derivative: MX(n)=dTXdnMX(n) = \frac{dTX}{dn}.

Net margin: NM(n)=MB(n)MC(n)NM(n) = MB(n) - MC(n)

Cost-benefit principle

A rational person:

  • Only take action when ES0ES \geq 0
  • Only keep taking action when NM0NM \geq 0
  • Best action is when ESES is maximized: ES1(n)ES2(n)ES_1(n) \geq ES_2(n)

We can make decisions about finding the optimal number of units to take between two or more actions by equalizing the net margins.

2023 Summer Midterm Q3

To allocate 29 hours of tasks between A & B to minimize cost, whose costs are:

CostFormula
avg. AAC(n)=330+1.5nAC(n) = 330 + 1.5n
mar. AMC(n)=330+3nMC(n) = 330 + 3n
avg. BAC(m)=270+2.5mAC(m) = 270 + 2.5m
mar. BMC(m)=270+5mMC(m) = 270 + 5m

We need to find nn and mm such that n+m=29n + m = 29 and the marginal costs are equalized, i.e., MCA(n)=MCB(m)MC_A(n) = MC_B(m). This is due to the cost-benefit principle: equalizing the net margins.

MCA(n)=MCB(m)330+3n=270+5m3n5m=60,substitute n=29m3(29m)5m=60m=18.375,n=10.625\begin{align*} MC_A(n) &= MC_B(m) \\ 330 + 3n &= 270 + 5m \\ 3n - 5m &= -60,\quad\text{substitute $n = 29 - m$} \\ 3(29 - m) - 5m &= -60 \\ m = 18.375&,\quad n = 10.625 \end{align*}
Example: Workers

To allocate 4 workers fix items in places A & B, where the number of items repaired:

n. workersfixed Afixed B
17040
28060
38979
49897

First convert the benefit table to marginal benefit table:

n. workersfixed Afixed B
17040
21020
3919
4918

Then, we simply decide where workers go by choosing highest marginal benefit:

70402019    nA=1,nB=370\rightarrow 40\rightarrow 20\rightarrow 19\implies n_A = 1, n_B = 3