Abstract
The basic ideas of Monte-Carlo methods are demonstrated by means of two examples: (i) The Monte-Carlo integration as a typical example of a hit and miss technique and (ii) the Metropolis algorithm as another means to generate a sequence of random numbers from more complex pdfs. The presentation of the Monte-Carlo integration method is started with the simple task of calculating the number \(\pi \) using a sequence of uniformly distributed random numbers. This is followed by a more formal discussion of the method and of the errors involved. The mathematical background of the Metropolis algorithm will be the topic of a later chapter. The emphasis is here on the motivation of this technique as a very useful tool in the numerics of statistical physics and on the concept of detailed balance which is entirely motivated by physics.
Notes
- 1.
Please note that according to the conventions established in Appendix D capital letters denote random variables.
- 2.
We give an example. Suppose \(f(x) = \exp (x)\). Then we deduce that
$$\begin{aligned} \delta \left[ f - \exp (x) \right] = \frac{\delta (x - \ln f) }{f}, \end{aligned}$$and, consequently,
$$\begin{aligned} q(f) = \frac{p( \ln f )}{f}. \end{aligned}$$ - 3.
Nevertheless, there is certainly some conceptual similarity between grid-points and random numbers within this context.
- 4.
The question of how one can obtain such a sequence will be discussed in Sect. 16.3.
References
Chow, Y.S., Teicher, H.: Probability theory, 3rd edn. Springer Texts in Statistics. Springer, Berlin (1997)
Kienke, A.: Probability theory. Universitext. Springer, Heidelberg (2008)
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2014 Springer International Publishing Switzerland
About this chapter
Cite this chapter
Stickler, B.A., Schachinger, E. (2014). A Brief Introduction to Monte-Carlo Methods. In: Basic Concepts in Computational Physics. Springer, Cham. https://doi.org/10.1007/978-3-319-02435-6_14
Download citation
DOI: https://doi.org/10.1007/978-3-319-02435-6_14
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-02434-9
Online ISBN: 978-3-319-02435-6
eBook Packages: Physics and AstronomyPhysics and Astronomy (R0)