Let \(\{X_i\}_{i=1}^{\infty }\) be a sequence of i.i.d. random variables, and define \[ S(r):=\sum _{i=1}^{\infty }(1-r)^iX_i \qquad \text {for all } 0<r<1. \]
(a) Prove that for every fixed \(r\in (0,1)\), \(S(r)\) is a.s. absolutely convergent if and only if \(\mathbb {E}\{\log (1+|X_1|)\}<\infty \).
(b) Suppose that \(\mathbb {E}[X_1]=\mu \) and \(\operatorname {Var}(X_1)=\sigma ^2<\infty \). Then prove that there exists a constant \(c\) such that \(rS(r)\to c\) in probability, as \(r\to 0\). Compute \(c\).