A full binary tree has every edge colored black or white randomly. What is the probability of having a white path from the root to some leaf?
A) $\Theta(1)$
B) $\Theta(\frac{1}{n})$
C) $e^{-\Theta(n)}$
D) $(\log n)^{-\Theta(1)}$
Every edge has a 0.5 chance of being white and 0.5 chance of being black. The tree is of depth $n$ so therefore it has $2^n$ leafs with distinct paths to them and every path is of length $n$.
I'm not sure how to solve this question. I'm really not sure where to start. The odds of a random path being white is $(\frac{1}{2})^n$ and there are $2^n$ different paths to the leafs, but it's not true that $P=2^n(\frac{1}{2})^n $ Because that just equals 1.
Hint: start from the top and work down. Right from the start, you have a 25% chance of failing (both edges from the root are black). Apply this r recursively.
To expand a bit on this, separate into four different cases depending on our two child edges, BB (black/black), BW, WB and WW, each having probability $\frac{1}{4}$:
\begin{align} p(n) &= \frac{1}{4}\cdot 0 \quad &\text{(BB)}\\ &+\frac{1}{4}\cdot p(n-1) &\text{(BW)}\\ &+\frac{1}{4}\cdot p(n-1) &\text{(WB)}\\ &+\frac{1}{4}\cdot (1 - (1 - p(n-1))^2) &\text{(BB)}\\ \end{align}
Note that for the last case we use $1$ minus the chance that both fail, which gives the chance that at least one succeeds. Simplifying this we get:
$$p(n) = p(n-1) - \frac{1}{4}p(n-1)^2$$ $$p(n) = p(n-1)(1 - \frac{1}{4}p(n-1))$$
Also keep in mind that $p(1) = 1$, because the path from a node to itself always exists.
Solving these types of recurrences isn't easy, see Did's answer to go from here (or better, attempt it yourself).