Variance of Sum of Indicator RV's
You randomly select \(N\) points independently and uniformly within the unit square \([0,1]\times[0,1]\). Let \(I_i\) be the indicator variable equal to 1 if the \(i\)-th point lies inside the quarter-circle \(x^2 + y^2 \le 1\) in the first quadrant, and 0 otherwise. What is the variance of the random variable \(\frac{I_1 + I_2 + \cdots + I_N}{N}\) in terms of \(N\)?
Answer
Since the area of the quarter-circle \(x^2 + y^2 \le 1\) in the first quadrant is \(\frac{\pi}{4}\), each \(I_i\) has
Because the \(I_i\) are i.i.d., their sum \(S = I_1 + I_2 + \cdots + I_N\) follows a Binomial\(\bigl(N,\,\tfrac{\pi}{4}\bigr)\). Then the variance of the average \(\frac{S}{N}\) is
Notes and comments
Comment 1: For an indicator random variable \(I\) taking values 0 or 1 with probability \(p\) of being 1, its variance is
This is due to the fact that $I^2 = I$.