We will show that one may reduce the problem to finding the unique (p\in(1/2,1)) satisfying
[
(2-p)p^2=4(1-p)^3,
]
so that the answer (to 10 decimal places) is
[
p\approx 0.5306084446.
]
In what follows we describe one route to obtain this answer.
1. The Problem Recap
We have an infinite complete binary tree. Each node is labeled “0” with probability (p) and “1” with probability (1-p), all independently. We are interested in the event that there exists an infinite down‐path (i.e. a ray) which “sums” to at most 1. (Viewed another way, along the infinite path all of the labels are 0 except possibly for one “error” 1.) We then want to find the value of (p) for which the probability (over the random labelling) that such a path exists equals (\frac12).
2. Setting Up the Recursion
A natural idea is to look at the problem “locally” by “remembering” whether we have already encountered a 1. (We may allow at most one 1 along the path.) Thus we introduce two states for a vertex:
- State 0: No 1 has been encountered so far (so we still have our one “error” available).
- State 1: A 1 has already been used (so from now on the path must consist entirely of 0’s).
Let
- (x) be the probability (over the randomness of the tree) that from a vertex in state 0 there is an infinite ray which uses at most one 1.
- (y) be the corresponding probability from a vertex in state 1 (i.e. with no further errors allowed, the rest of the path must be all 0’s).
Now, when you’re at a vertex the label matters. For a vertex in either state the outcome is as follows:
-
In state 1 (no error allowed):
The vertex’s label must be 0 (otherwise the one allowed error is used, but in state 1 no further 1’s are allowed). Thus we have
[
y = p \bigl[1 - (1-y)^2\bigr].
]
(Since the vertex must be 0 and then at least one of its two independent children must yield an infinite 0–path when starting in state 1. The probability that neither child works is ((1-y)^2).)
-
In state 0 (error still available):
At a vertex in state 0 we have two cases:
- If the vertex is labeled 0 (which happens with probability (p)) then we are still in state 0 when we pass to the children.
- If the vertex is labeled 1 (with probability (1-p)) then we have used our one allowed error, and the children must then continue in state 1.
In either case at least one child must produce a valid infinite path. Hence
[
x = p \bigl[1 - (1-x)^2\bigr] + (1-p)\bigl[1 - (1-y)^2\bigr].
]
3. Solving the Recursions
Let’s first solve for (y). The recursion
[
y = p\bigl[1 - (1-y)^2\bigr]
]
expands as follows:
[
y = p\Bigl[1 - (1 -2y + y^2)\Bigr] = p(2y-y^2).
]
That is,
[
y = 2py - p,y^2.
]
Rearrange:
[
p,y^2 - (2p-1)y = 0,\qquad y\bigl[py - (2p-1)\bigr] = 0.
]
Thus either (y=0) or
[
y=\frac{2p-1}{p}.
]
(One may check that if (p\le1/2) then we have no non‐trivial solution since the formula gives a non‐positive number. In our situation an infinite path of 0’s is known to appear for 0–percolation on a tree only when (p>1/2).)
Now, it turns out that one may check that, in the regime (p>1/2), the “interesting” solution of the second recursion also satisfies
[
x=y=\frac{2p-1}{p}
]
provided that (p) satisfies an additional relation coming from the requirement that the probability of finding such a path starting at the root is exactly (1/2). (It is not hard to see from symmetry that once the candidate fixed point is “pulled back” to the root with state 0, one finds an equation of the form
[
x=p\left[1-\left(1-x\right)^2\right]+(1-p)\left[1-\Bigl(1-\frac{2p-1}{p}\Bigr)^2\right].
]
Setting (x=\frac{1}{2}) gives one a relation in (p).)
Let us set (x=\frac12) and substitute (y=\frac{2p-1}{p}) into the recursion for (x):
[
\frac{1}{2} = p\left[1-\Bigl(1-\frac{1}{2}\Bigr)^2\right]+(1-p)\left[1-\left(1-\frac{2p-1}{p}\right)^2\right].
]
Since (1-\frac{1}{2}=\frac{1}{2}) and (\Bigl( \frac{1}{2}\Bigr)^2=\frac{1}{4}), the first term becomes
[
p\Bigl(1-\frac{1}{4}\Bigr)=\frac{3}{4}p.
]
Also note that
[
1-\frac{2p-1}{p}=\frac{p-(2p-1)}{p}=\frac{1-p}{p},
]
so that
[
1-\left(1-\frac{2p-1}{p}\right)^2 = 1-\left(\frac{1-p}{p}\right)^2.
]
Thus the equation becomes:
[
\frac{1}{2}=\frac{3p}{4}+(1-p)\left[1-\left(\frac{1-p}{p}\right)^2\right].
]
A short calculation shows that after multiplying both sides by 4 and rearranging the terms one obtains (after some algebra)
[
(2-p)p^2=4(1-p)^3.
]
One may check that this equation has a unique solution for (p) in the interval ((1/2,1)).
4. Finding the Numerical Value
It is now a matter of solving the equation
[
(2-p)p^2=4(1-p)^3.
]
One way to simplify the algebra is to put all terms on one side:
[
(2-p)p^2-4(1-p)^3=0.
]
Expanding, we have:
[
(2p^2-p^3)-4(1-3p+3p^2-p^3)=0.
]
A few algebraic steps show that this is equivalent to:
[
3p^3-10p^2+12p-4=0.
]
Standard numerical techniques (such as Newton’s method) show that the unique solution in ((1/2,1)) is
[
p\approx0.5306084446.
]
(That is, if one defines
[
f(p)=3p^3-10p^2+12p-4,
]
then one finds (f(0.5306084446)\approx0).)
5. Final Answer
Thus, the unique value of (p) for which the probability that there is an infinite path with at most one 1 is exactly (\frac12) is (to 10 decimal places):
[
p\approx 0.5306084446.
]
Note
There exist several ways to set up the problem (and one may also use ideas of percolation on trees and “one‐error” paths). The argument given above is one route to arrive at the equation
[
(2-p)p^2=4(1-p)^3,
]
whose unique solution is as stated.