Classroom Time Allocation: Swimlane Schedule and Marginal-Gain View (2D)

Four learners follow saturating practice curves. Share a fixed budget of teacher hours: the 2D view shows the schedule as swimlanes and why the best split equalises the gain of the last hour. Block labels are skill / ceiling in illustrative units.
Skill (block units) vs hours of attention; dots = current allocation.
Independent numerical checks
Each line compares two separate calculations; a FAIL would show here.
The science

Each learner follows a saturating practice curve S_i(t) = M_i (1 - e^(-t/tau_i)) (the solution of dS/dt = (M_i - S_i)/tau_i): a ceiling M_i and a time constant tau_i (smaller = quicker). With a budget T = sum t_i the total skill is largest when every learner who gets time has the same marginal gain dS_i/dt_i = (M_i/tau_i) e^(-t_i/tau_i) = lambda, i.e. t_i = max(0, tau_i ln(M_i/(tau_i lambda))); lambda is found by bisection so that sum t_i = T (reverse water-filling). In the middle panel each curve is a learner's marginal gain; the horizontal line at lambda is the common level, and the optimal hours are where the curves cross it. Equal hours are generally not optimal, but neither is giving everything to the fastest learner.

Honest limits. Real learning curves are often closer to power laws, depend on prior knowledge and motivation, and differ by topic; an exponential with a hard ceiling is the simplest curve with diminishing returns. The numbers are illustrative and say nothing about any real student. Maximising a sum of skill is only one objective: fairness, wellbeing, interest and the value of a skill are not modelled, so the mathematical optimum is not a policy recommendation. The enrichment switch is a made-up trade (higher ceiling, slightly slower pace). The swimlane places the lessons one after another only to show the hours; the model ignores the order.

Checks. (1) Euler integration of the ODE against the closed form; (2) the water-filling optimum against 60 000 random splits (none may beat it); (3) equal marginal gains; (4) budget conservation; (5) new in this 2D view: the trapezoid area under each marginal-gain curve equals the skill gained. The classroom picture is a Blender render of the 3D page's baked classroom.

Made with 🟠 Blender