Two-way rounding
Abstract
Given n real numbers 0≤ x1,...,xn<1 and a permutation~σ of \1,...,n\, we can always find 1,...,n∈\0,1\ so that the partial sums 1+... +k and σ 1+... +σ k differ from the unrounded values x1+... + xk and xσ 1+... +xσ k by at most n/(n+1), for 1≤ k≤ n. The latter bound is best possible. The proof uses an elementary argument about flows in a certain network, and leads to a simple algorithm that finds an optimum way to round.
0
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.