Monte Carlo Simulation of Infinite Series

From MaRDI portal





The author observes that the real number \(C=0.C_ 1C_ 2\dots C_ n\dots\) (\(C_ i\) binary digits) can be considered as the expected value of a random variable that assumes the value \(C_ i\) with probability \(1/2^ i\). From this fact can be derived a Monte Carlo procedure for approximating \(C\), that would be scarcely useful, as remarked by the author, because if one already knows the binary representation of \(C\), hardly needs a Monte Carlo simulation for it. Nevertheless this point of view can be utilized for particular purposes, e.g. for approximating classical constants (as \(e\) or \(\pi\)) for which a representation by series is known. For example the author proves the following theorem. Let us consider the real number \(C=\sum^ \infty_{n=2}a_ n/n!\) (with \(0\leq a_ n\leq n\) and generate \(u_ 1u_ 2\dots u_ N\) independently, each uniformly distributed on \([0,1]\), until \(u_ N>u_{N-1}\). Consider the random variable \(X\) that assumes the value 0 if \(a_ N=0\), and for \(a_ N>0\) if \(u_ N\leq u_{a_ N}\), and assumes the value 1 for \(a_ N>0\) if \(u_ N>u_{a_ N}\). Then \(E(X)=C\). From this theorem a Monte Carlo procedure is easily derived for approximating \(e-2=1/2!+1/3!+\dots\) or \(1/(2e)=1/3!+2/5!+3/7!+\dots\). Analogous theorems and procedures are given for approximating \(\pi/4=1- 1/3+1/5-1/7+\dots\) and several other constants. In the last part of the paper an estimate is obtained of the probability that the error of the simulated value satisfies suitable bounds in relation to the size of the estimation sample.











This page was built for publication: Monte Carlo Simulation of Infinite Series

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3984195)