Solved – Derivation of formula for sample size of finite population

finite-populationmathematical-statisticssample-size

I found here the formula for computing the sample size $n$ of a finite population $N$
$$
n = \frac{n_\infty}{1 + \frac{n_\infty – 1}{N}}
$$
where the sample size for an infinite population $n_\infty$ is given as
$$
n_\infty = \frac{z^2 p(1-p)}{c^2}
$$
with the the z-score $z$, the confidence interval $c$ and $p$ being the proportion of the population picking a specific choice. However I found no derivation of this formula. Can someone give a mathematical derivation of this formula?

Best Answer

Amazingly a pretty complete derivation was given at math.stackexchange.com at https://math.stackexchange.com/a/1357604/27609.

Another derivation can be found online at https://onlinecourses.science.psu.edu/stat414/node/264