According to this source, there are 108 billion people who have ever been born. So, way more dead (101 billion) than alive (7 billion). In how many years will that no longer be true?
For the sake of simplicity (and this is drastically simplifying it), let's assume the world started with 1 person in "year 0" and keep the birth rate fixed throughout all time at 2%. So, we can represent the current population $P$ in year $n$ as $r^n$ (where r=1.02, for 2% growth), and the total population of all prior years as $\sum_{i=0}^{n-1} r^i$. We're looking for $n>0$ such that:
$$r^n \geq \sum_{i=0}^{n-1} r^i$$ $$\implies r^n \geq \frac{r^n - 1}{r-1} \text{(using the geometric series formula)}$$ $$\implies r^{n+1} - 2r^n + 1 \geq 0$$
How do we solve this equation for $n$?