Consider the recurrence $a_n = a_{n-1}(1 - a_{n-1})$ for $n > 0$ with $a_0 = \frac{1}{2}$. Since the terms in the recurrence decrease and are positive, it is not hard to see that $\lim_{n\to\infty}a_n = 0$. To find the speed of convergence, it is natural to consider $1/a_n$. Substituting, we have $\frac{1}{a_n} = \frac{1}{a_{n-1}}(\frac{1}{1-a_{n-1}}) = \frac{1}{a_{n-1}}(1+a_{n-1}+a_{n-1}^2+\cdots) > \frac{1}{a_{n-1}} + 1$.
I don't understand how to get $ \frac{1}{a_{n-1}}(\frac{1}{1-a_{n-1}}) = \frac{1}{a_{n-1}}(1+a_{n-1}+a_{n-1}^2+\cdots)$. I think it was by factoring but can't seem simplify to that expression. Would anyone please show me how it happened?