Proof of Proposition 3(II), p. 50 — 𝔼[X²] = (R² − √2Rr + r²)/6
ProvedStallEconomy.TripLength.second_moment_Xmanhattan-distancep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1random-distancestall-economy
Let and , with the stall uniform on the inner diamond and the customer uniform on the zone , independently. Let be the horizontal component of their Manhattan distance. Then
By symmetry is the same, and together with this gives the second moment of .
Preamble
import Mathlib import Definitions.Def_StallEconomy_TripLength_Setting
Formal statement
namespace StallEconomy.TripLength
theorem second_moment_X (R r : ℝ) (hR : 0 < R) (hr0 : 0 ≤ r) (hr : r ≤ R / Real.sqrt 2) :
E R r (fun a b => (a.1 - b.1) ^ 2) = (R ^ 2 - Real.sqrt 2 * R * r + r ^ 2) / 6 := by sorry
end StallEconomy.TripLength
Source
Cao, Qi, Stall Economy: The Value of Mobility in Retail on Wheels, SSRN 3711896 (manuscript), p. 50, proof of Proposition 3, part (II), display for 𝔼[X²]
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.