A story of balls, randomness and PDEs
Pith reviewed 2026-05-25 17:18 UTC · model grok-4.3
The pith
Solutions of a 2D PDE derived from a ball-removal recursion yield closed-form probabilities for remaining balls.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
A recursion for the probability that k white balls remain after all red balls are removed is transformed into a linear inhomogeneous 2D PDE. Analytical solutions of the PDE supply generating functionals that allow the probabilities to be written in closed form for arbitrary r, w and k. The same procedure gives the probabilities for k red balls remaining when the process stops upon removal of all white balls.
What carries the argument
The linear inhomogeneous 2D PDE with boundary conditions obtained from the total probability law, solved analytically to produce generating functionals of the probabilities.
If this is right
- The probabilities for any r, w, k are obtained in closed form.
- The formulas reproduce existing results in the literature.
- The method is generic and adaptable to other probability problems.
- Generating functionals are provided as explicit functions of r, w and k.
Where Pith is reading between the lines
- This technique could extend to other urn models with different removal rules.
- The PDE might correspond to equations arising in other contexts such as diffusion or growth processes.
- Closed forms could enable computation of moments or asymptotic behaviors for large r and w.
Load-bearing premise
The recursion obtained via the law of total probability can be transformed into a linear inhomogeneous 2D PDE with suitable boundary conditions whose solutions correctly encode the original probabilities.
What would settle it
For small values such as r=2 and w=2, enumerating all possible sequences of removals and checking whether the probability for each k matches the expression derived from the PDE solution.
Figures
read the original abstract
Several differential equations usually appearing in mathematical physics are solved through a power series expansion, which reduces in solving difference equations. In this paper a probability problem is presented whose solution follows a completely reversed but systematic approach. Hence, this work is about illustrating how complex probability problems could be tackled with the more powerful techniques of a better studied and well understood field, that of differential equations. The problem is defined as follows: Inside a box containing r red and w white balls random removals occur. The balls are removed successively according to the three following rules. Rule I: If a white ball is chosen it is immediately discarded. If a red ball is chosen, it is placed back into the box and a new ball is randomly chosen. The second ball is then removed irrespective of the color. Rule II: Once one ball is removed, the game continues from Rule I. Rule III: The game ends once all the red balls are removed. The question posed is the determination of the probability that k white balls remain where k = 0, 1, 2, ..., w. Ending the game once all the white balls are removed, a second question is the determination of the probability that k red balls remain where k = 0, 1, 2, ..., r. While inductive solutions are possible, the current approach demonstrates a different and algorithmic route. In particular, the law of total probability yields a recursion that is transformed into a linear inhomogeneous 2D PDE, with suitable boundary conditions. The PDE solutions, which are found analytically, provide the generating functionals of the required probabilities as a function of r, w and k. Using the functionals, the probability formulas for any r, w and k are finally obtained in a closed form. Reproducing existing results of the literature this method is quite generic and adaptable to a large class of problems.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript presents a probability problem involving successive random removals of red and white balls under three explicit rules, ending when all red balls are removed. Using the law of total probability, it derives a recursion for the probability that exactly k white balls remain (and symmetrically for red balls remaining). This recursion is transformed into a linear inhomogeneous 2D PDE with suitable boundary conditions; the PDE is solved analytically to produce generating functionals in r, w, and k, from which closed-form probability expressions are extracted for arbitrary parameters. The approach is claimed to reproduce existing literature results and to be adaptable to a broader class of problems.
Significance. If the recursion-to-PDE step and boundary conditions are valid, the work supplies a systematic, analytic route to closed-form solutions for this class of combinatorial probabilities by importing techniques from PDEs, reversing the more common direction of reducing PDEs to recursions via series. The explicit construction of generating functionals and the reproduction of known results are concrete strengths that would support the claimed generality.
major comments (2)
- [PDE transformation and solution section] The central claim that the PDE solutions 'correctly encode the original probabilities' rests on the unverified assertion that the linear inhomogeneous 2D PDE with the chosen boundary conditions reproduces the discrete base cases (r=0, w=0, or k larger than remaining balls) and satisfies the original recursion. No explicit check—e.g., substitution of the extracted coefficients back into the recursion or direct comparison for small integer values—is provided.
- [Derivation of the PDE from the recursion] The manuscript treats r and w as continuous variables inside the PDE while the original process is strictly discrete; the change-of-variables step that justifies this extension and the precise form of the inhomogeneous term are not derived in sufficient detail to confirm that probability mass is preserved and no extraneous solutions are admitted.
minor comments (2)
- Notation for the generating functionals and the two probability problems (white balls remaining vs. red balls remaining) should be introduced with explicit symbols early in the text to improve readability.
- [Abstract] The abstract states that the method 'reproduces existing results of the literature' but does not cite the specific prior formulas or papers being matched; adding these references would strengthen the validation claim.
Simulated Author's Rebuttal
We thank the referee for the careful reading and constructive comments. We address the two major points below and will incorporate additional verification and derivation details in the revised manuscript.
read point-by-point responses
-
Referee: [PDE transformation and solution section] The central claim that the PDE solutions 'correctly encode the original probabilities' rests on the unverified assertion that the linear inhomogeneous 2D PDE with the chosen boundary conditions reproduces the discrete base cases (r=0, w=0, or k larger than remaining balls) and satisfies the original recursion. No explicit check—e.g., substitution of the extracted coefficients back into the recursion or direct comparison for small integer values—is provided.
Authors: We agree that an explicit verification step would strengthen the presentation. Although the manuscript already notes that the derived closed forms reproduce known results from the literature, this provides only indirect confirmation. In the revision we will add a dedicated subsection performing direct substitution of the extracted probability expressions back into the original recursion for several small integer triples (r,w,k) and confirming agreement with the base cases r=0, w=0 and k>w. revision: yes
-
Referee: [Derivation of the PDE from the recursion] The manuscript treats r and w as continuous variables inside the PDE while the original process is strictly discrete; the change-of-variables step that justifies this extension and the precise form of the inhomogeneous term are not derived in sufficient detail to confirm that probability mass is preserved and no extraneous solutions are admitted.
Authors: We acknowledge that the transition from the discrete recursion to the continuous PDE is presented too concisely. The revision will expand the relevant section to include: (i) the explicit generating-function or interpolation argument that extends the recursion to real r,w; (ii) the precise origin of the inhomogeneous term; and (iii) a short argument showing that the analytic solution, when restricted to positive integers, recovers a probability distribution (i.e., sums to one and matches the recursion). revision: yes
Circularity Check
No circularity; derivation proceeds from recursion to independent PDE solution
full rationale
The paper begins with the explicit removal rules and applies the law of total probability to obtain a recursion relating the probabilities for different (r, w, k). This recursion is then converted into a linear inhomogeneous 2D PDE together with boundary conditions that encode the discrete base cases (r=0, w=0, k exceeding remaining balls). The PDE is solved analytically to produce generating functionals, from which closed-form probabilities are extracted by coefficient extraction. The resulting formulas are stated to reproduce known results in the literature, providing external verification. No step equates a derived quantity to a fitted parameter by construction, renames an input as a prediction, or relies on a load-bearing self-citation whose content is itself unverified. The central claim therefore retains independent mathematical content outside its own inputs.
Axiom & Free-Parameter Ledger
axioms (2)
- domain assumption The law of total probability yields a recursion that captures the removal rules.
- ad hoc to paper The recursion can be rewritten as a linear inhomogeneous 2D PDE with suitable boundary conditions.
Lean theorems connected to this paper
-
IndisputableMonolith/Cost/FunctionalEquation.leanwashburn_uniqueness_aczel unclear?
unclearRelation between the paper passage and the cited Recognition theorem.
the law of total probability yields a recursion that is transformed into a linear inhomogeneous 2D PDE, with suitable boundary conditions... The PDE solutions... provide... the generating functionals... probability distributions turn out to be linear combinations of hypergeometric functions of type 3F2
-
IndisputableMonolith/Foundation/DimensionForcing.leanalexander_duality_circle_linking unclear?
unclearRelation between the paper passage and the cited Recognition theorem.
p(k)_III(r,w) = k! r! (r+w+1) / (r+k+1)! * r w! (r+w-k-1)! / (r+w)! (w-k)!
What do these tags mean?
- matches
- The paper's claim is directly supported by a theorem in the formal canon.
- supports
- The theorem supports part of the paper's argument, but the paper may add assumptions or extra steps.
- extends
- The paper goes beyond the formal theorem; the theorem is a base layer rather than the whole result.
- uses
- The paper appears to rely on the theorem as machinery.
- contradicts
- The paper's claim conflicts with a theorem or certificate in the canon.
- unclear
- Pith found a possible connection, but the passage is too broad, indirect, or ambiguous to say the theorem truly supports the claim.
Reference graph
Works this paper leans on
-
[1]
R. Mullican, M. Leeuwen https://math.stackexchange.com/questions/153611/ probability-that-the-last-ball-is-white
-
[2]
B. E. Oakley and R. L. Perry “A Sampling Process”. The Mathematical Gazette, Vol. 49, No. 367 (Feb., 1965), pp. 42-44
work page 1965
-
[3]
Wolfram Research http://functions.wolfram.com/HypergeometricFunctions/Hypergeometric3F2/03/ 02/04/0001/ 41
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.