Skip to main content

A Brief Introduction to Monte-Carlo Methods

  • Chapter
  • First Online:
Basic Concepts in Computational Physics

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Notes

  1. 1.

    Please note that according to the conventions established in Appendix D capital letters denote random variables.

  2. 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. 3.

    Nevertheless, there is certainly some conceptual similarity between grid-points and random numbers within this context.

  4. 4.

    The question of how one can obtain such a sequence will be discussed in Sect. 16.3.

References

  1. Chow, Y.S., Teicher, H.: Probability theory, 3rd edn. Springer Texts in Statistics. Springer, Berlin (1997)

    Google Scholar 

  2. Kienke, A.: Probability theory. Universitext. Springer, Heidelberg (2008)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Benjamin A. Stickler .

Rights and permissions

Reprints 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

Publish with us

Policies and ethics