The theory of probability developed in Chapter 3 for discrete random variables is extended to probability distributions, in order to treat the continuous momentum variables. The Dirac delta function is introduced as a convenient tool to transform continuous random variables, in analogy with the use of the Kronecker delta for discrete random variables. The properties of the Dirac delta function that are needed in statistical mechanics are presented and explained. The addition of two continuous random numbers is given as a simple example. An application of Bayesian probability is given to illustrate its significance. However, the components of the momenta of the particles in an ideal gas are continuous variables.