Welfare change measurement and aggregation function
W(u_1,...,u_n) = W
Converts each person's gain or loss from a change into money, with the compensating or equivalent variation or the consumer surplus approximation, and then ranks the change for society: by adding the money measures, as the Kaldor-Hicks potential compensation test does, or by combining individual outcomes with an explicit social welfare function that states how gains to one person are set against losses to another.
Compensating and equivalent variation from the expenditure function
CV = e0_u0 - e1_u0; EV = e0_u1 - e1_u1
Change in consumer surplus from a price change on a linear demand curve
Delta_CS = (P_0 - P_1) * (Q_0 + Q_1) / 2
Kaldor-Hicks aggregate net gain across groups
NG = sum_(i=1)^n [N_i * CV_i]
Weighted two-group social welfare and the switching weight
W_X = QA_X + w * QB_X; W_Y = QA_Y + w * QB_Y; w_s = (QA_X - QA_Y) / (QB_Y - QB_X)