Docsity

Thermodynamics and Statistical Mechanics: A Comprehensive Introduction with Exercises, Exercises of Quantum Mechanics

Toggle sidebar
bg1
Thermodynamics and Statistical Mechanics
Richard Fitzpatrick
Professor of Physics
The University of Texas at Austin
Contents
1 Introduction 7
1.1 IntendedAudience.................................. 7
1.2 MajorSources.................................... 7
1.3 Why Study Thermodynamics? ........................... 7
1.4 AtomicTheoryofMatter .............................. 7
1.5 What is Thermodynamics? . . ........................... 8
1.6 NeedforStatisticalApproach............................ 8
1.7 MicroscopicandMacroscopicSystems....................... 10
1.8 Classical and Statistical Thermodynamics . .................... 10
1.9 ClassicalandQuantumApproaches......................... 11
2 Probability Theory 13
2.1 Introduction . . . .................................. 13
2.2 What is Probability? . . . . . . ........................... 13
2.3 Combining Probabilities . . . . ........................... 13
2.4 Two-StateSystem .................................. 15
2.5 CombinatorialAnalysis ............................... 16
2.6 Binomial Probability Distribution . . . . . . .................... 17
2.7 Mean,Variance,andStandardDeviation ...................... 18
2.8 Application to Binomial Probability Distribution . . ................ 19
2.9 Gaussian Probability Distribution . . . . . . .................... 22
2.10 CentralLimitTheorem ............................... 25
Exercises ....................................... 26
3 Statistical Mechanics 29
3.1 Introduction . . . .................................. 29
3.2 SpecificationofStateofMany-ParticleSystem................... 29
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Thermodynamics and Statistical Mechanics: A Comprehensive Introduction with Exercises and more Exercises Quantum Mechanics in PDF only on Docsity!

Thermodynamics and Statistical Mechanics

Richard Fitzpatrick

Professor of Physics

The University of Texas at Austin

  • 1 Introduction Contents
    • 1.1 Intended Audience
    • 1.2 Major Sources
    • 1.3 Why Study Thermodynamics?
    • 1.4 Atomic Theory of Matter
    • 1.5 What is Thermodynamics?
    • 1.6 Need for Statistical Approach
    • 1.7 Microscopic and Macroscopic Systems
    • 1.8 Classical and Statistical Thermodynamics
    • 1.9 Classical and Quantum Approaches
  • 2 Probability Theory
    • 2.1 Introduction
    • 2.2 What is Probability?
    • 2.3 Combining Probabilities
    • 2.4 Two-State System
    • 2.5 Combinatorial Analysis
    • 2.6 Binomial Probability Distribution
    • 2.7 Mean, Variance, and Standard Deviation
    • 2.8 Application to Binomial Probability Distribution
    • 2.9 Gaussian Probability Distribution
    • 2.10 Central Limit Theorem
      • Exercises
  • 3 Statistical Mechanics
    • 3.1 Introduction
    • 3.2 Specification of State of Many-Particle System
    • 3.3 Principle of Equal A Priori Probabilities 2 CONTENTS
    • 3.4 H-Theorem
    • 3.5 Relaxation Time
    • 3.6 Reversibility and Irreversibility
    • 3.7 Probability Calculations
    • 3.8 Behavior of Density of States
      • Exercises
  • 4 Heat and Work
    • 4.1 Brief History of Heat and Work
    • 4.2 Macrostates and Microstates
    • 4.3 Microscopic Interpretation of Heat and Work
    • 4.4 Quasi-Static Processes
    • 4.5 Exact and Inexact Differentials
      • Exercises
  • 5 Statistical Thermodynamics
    • 5.1 Introduction
    • 5.2 Thermal Interaction Between Macrosystems
    • 5.3 Temperature
    • 5.4 Mechanical Interaction Between Macrosystems
    • 5.5 General Interaction Between Macrosystems
    • 5.6 Entropy
    • 5.7 Properties of Entropy
    • 5.8 Uses of Entropy
    • 5.9 Entropy and Quantum Mechanics
    • 5.10 Laws of Thermodynamics
      • Exercises
  • 6 Classical Thermodynamics
    • 6.1 Introduction
    • 6.2 Ideal Gas Equation of State
    • 6.3 Specific Heat
    • 6.4 Calculation of Specific Heats
    • 6.5 Isothermal and Adiabatic Expansion
    • 6.6 Hydrostatic Equilibrium of Atmosphere
    • 6.7 Isothermal Atmosphere
    • 6.8 Adiabatic Atmosphere
    • 6.9 Internal Energy
    • 6.10 Enthalpy
    • 6.11 Helmholtz Free Energy
    • 6.12 Gibbs Free Energy
    • 6.13 General Relation Between Specific Heats
  • CONTENTS
    • 6.14 Free Expansion of Gas
    • 6.15 Van der Waals Gas
    • 6.16 Joule-Thompson Throttling
    • 6.17 Heat Engines
    • 6.18 Refrigerators
      • Exercises
  • 7 Applications of Statistical Thermodynamics
    • 7.1 Introduction
    • 7.2 Canonical Probability Distribution
    • 7.3 Spin-1/2 Paramagnetism
    • 7.4 System with Specified Mean Energy
    • 7.5 Calculation of Mean Values
    • 7.6 Partition Function
    • 7.7 Ideal Monatomic Gas
    • 7.8 Gibb’s Paradox
    • 7.9 General Paramagnetism
    • 7.10 Equipartition Theorem
    • 7.11 Harmonic Oscillators
    • 7.12 Specific Heats
    • 7.13 Specific Heats of Gases
    • 7.14 Specific Heats of Solids
    • 7.15 Maxwell Velocity Distribution
    • 7.16 Effusion
    • 7.17 Ferromagnetism
      • Exercises
  • 8 Quantum Statistics
    • 8.1 Introduction
    • 8.2 Symmetry Requirements in Quantum Mechanics
    • 8.3 Illustrative Example
    • 8.4 Formulation of Statistical Problem
    • 8.5 Fermi-Dirac Statistics
    • 8.6 Photon Statistics
    • 8.7 Bose-Einstein Statistics
    • 8.8 Maxwell-Boltzmann Statistics
    • 8.9 Quantum Statistics in Classical Limit
    • 8.10 Quantum-Mechanical Treatment of Ideal Gas
    • 8.11 Derivation of van der Waals Equation of State
    • 8.12 Planck Radiation Law
    • 8.13 Black-Body Radiation
    • 8.14 Stefan-Boltzmann Law
    • 8.15 Conduction Electrons in Metal
    • 8.16 Sommerfeld Expansion 4 CONTENTS
    • 8.17 White-Dwarf Stars
    • 8.18 Chandrasekhar Limit
    • 8.19 Neutron Stars
    • 8.20 Bose-Einstein Condensation
      • Exercises
  • 9 Multi-Phase Systems
    • 9.1 Introduction
    • 9.2 Equilibrium of Isolated System
    • 9.3 Equilibrium of Constant-Temperature System
    • 9.4 Equilibrium of Constant-Temperature Constant-Pressure System
    • 9.5 Stability of Single-Phase Substance
    • 9.6 Equilibrium Between Phases
    • 9.7 Clausius-Clapeyron Equation
    • 9.8 Phase Diagrams
    • 9.9 Vapor Pressure
    • 9.10 Phase Transformations in Van der Waals Fluid
      • Exercises
  • A Physical Constants
  • B Classical Mechanics
    • B.1 Generalized Coordinates
    • B.2 Generalized Forces
    • B.3 Lagrange’s Equation
    • B.4 Generalized Momenta
    • B.5 Calculus of Variations
    • B.6 Conditional Variation
    • B.7 Multi-Function Variation
    • B.8 Hamilton’s Principle
    • B.9 Hamilton’s Equations
  • C Wave Mechanics
    • C.1 Introduction
    • C.2 Photoelectric Effect
    • C.3 Electron Diffraction
    • C.4 Representation of Waves via Complex Numbers
    • C.5 Schr¨odinger’s Equation
    • C.6 Probability Interpretation of Wavefunction
    • C.7 Wave Packets
    • C.8 Heisenberg’s Uncertainty Principle
    • C.9 Stationary States
  • CONTENTS
    • C.10 Three-Dimensional Wave Mechanics
    • C.11 Simple Harmonic Oscillator
    • C.12 Angular Momentum

Introduction 7

1 Introduction

1.1 Intended Audience

These lecture notes outline a single-semester course intended for upper-division physics majors.

1.2 Major Sources

The textbooks that I have consulted most frequently while developing course material are:

Fundamentals of Statistical and Thermal Physics: F. Reif (McGraw-Hill, New York NY, 1965).

Introduction to Quantum Theory: D. Park, 3rd Edition (McGraw-Hill, New York NY, 1992).

Classical and Statistical Thermodynamics: A.S. Carter (Prentice-Hall, Upper Saddle River NJ, 2001).

1.3 Why Study Thermodynamics?

In a nutshell, thermodynamics is the study of the internal motions of many-body systems. Virtu- ally all physical entities that we encounter in everyday life are many-body systems of some type or other (e.g., solids, liquids, gases, and even electromagnetic radiation). Not surprisingly, therefore, thermodynamics is a discipline with an exceptionally wide range of applicability. Indeed, ther- modynamics is one of the most extensively used subfields of physics outside physics departments. Prospective engineers, chemists, and material scientists generally do not study relativity or particle physics, but thermodynamics is an integral, and very important, part of their degree courses. Many people are drawn to physics because they wish to understand why the world around us is like it is. For instance, why the sky is blue, why raindrops are spherical, why we do not fall through the floor, et cetera. It turns out that thermodynamics is a very powerful tool for accounting for the observed features of the physical world. For example, in this course, we shall explain why heat spontaneously flows from hot to cold bodies; why it is impossible to measure a temperature below -273◦^ centigrade; why there is a maximum theoretical efficiency of a power generation unit that can never be exceeded, no matter what the design; why the Earth’s atmosphere becomes thinner and colder at higher altitudes; why the Sun appears yellow, whereas colder stars appear red, and hotter stars appear bluish-white; and why high mass stars must ultimately collapse to form black-holes.

1.4 Atomic Theory of Matter

According to the well-known atomic theory of matter, the familiar objects that make up the world around us, such as tables and chairs, are themselves made up of a great many microscopic particles.

8 1.5. What is Thermodynamics?

Atomic theory was invented by the ancient Greek philosophers Leucippus and Democritus, who speculated that the world essentially consists of myriads of tiny indivisible particles, which they called atoms, from the Greek atomon, meaning “uncuttable.” They speculated, further, that the observed properties of everyday materials can be explained either in terms of the different shapes of their constituent atoms, or the different motions of these atoms. In some respects, modern atomic theory differs substantially from the primitive theory of Leucippus and Democritus. However, the central ideas have remained essentially unchanged. In particular, Leucippus and Democritus were correct to suppose that the properties of materials depend not only on the nature of their constituent atoms or molecules, but also on the relative motions of these particles.

1.5 What is Thermodynamics?

In this course, we shall focus almost exclusively on those physical properties of everyday materials that are associated with the motions of their constituent atoms or molecules. In particular, we shall be concerned with the type of motion that we normally call “heat.” We shall try to establish what controls the flow of heat from one body to another when they are brought into thermal contact. We shall also attempt to understand the relationship between heat and mechanical work. For instance, to what extent does the heat content of a body increase when mechanical work is done on it? More importantly, can we extract heat from a given body in order to do useful work on some other body? This subject area is called “thermodynamics,” from the Greek roots thermon, meaning “heat,” and dunamis, meaning “power.”

1.6 Need for Statistical Approach

It is necessary to emphasize, from the very outset, that thermodynamics is a difficult subject. In fact, this subject is so difficult that we are forced to adopt a radically different approach to that employed in other areas of physics. In most areas of physics, we can formulate some exact, or nearly exact, set of equations that governed the system under investigation. For instance, Newton’s equations of motion, or Maxwell’s equations for electromagnetic fields. We can then analyze the system by solving these equations, either exactly or approximately. In thermodynamics, we have no problem formulating the governing equations. The motions of atoms and molecules are described exactly by the laws of quantum mechanics. In many cases, they are also described, to a reasonable approximation, by the much simpler laws of classical mechan- ics. We shall not be dealing with systems sufficiently energetic for atomic nuclei to be disrupted, so we need not consider nuclear forces. Also, in general, the gravitational forces between atoms and molecules are completely negligible. This implies that the forces between atoms and molecules are predominantly electromagnetic in origin, and are, therefore, very well understood. Thus, we can formulate the exact laws of motion for a thermodynamical system, including all of the inter-atomic forces. The problem is the sheer complexity of the resulting system of equations. In one mole of a substance (e.g., in twelve grams of carbon, or eighteen grams of water) there are Avagadro’s num- ber of atoms or molecules. That is, about N (^) A = 6 × 10 23 particles. To solve the system exactly, we

10 1.7. Microscopic and Macroscopic Systems

1.7 Microscopic and Macroscopic Systems

It is useful, at this stage, to make a distinction between the different sizes of the systems that we are going to examine. We shall call a system microscopic if it is roughly of atomic dimensions, or smaller. On the other hand, we shall call a system macroscopic if it is large enough to be visible in the ordinary sense. This is a rather inexact definition. The exact definition depends on the number of particles in the system, which we shall call N. A system is macroscopic if 1/N 1 /^2  1, which means that statistical arguments can be applied to reasonable accuracy. For instance, if we wish to keep the relative statistical error below one percent then a macroscopic system would have to contain more than about ten thousand particles. Any system containing less than this number of particles would be regarded as essentially microscopic, and, hence, statistical arguments could not be applied to such a system without unacceptable error.

1.8 Classical and Statistical Thermodynamics

In this course, we are going to develop some machinery for interrelating the statistical properties of a system containing a very large number of particles, via a statistical treatment of the laws of atomic or molecular motion. It turns out that, once we have developed this machinery, we can obtain some very general results that do not depend on the exact details of the statistical treatment. These results can be described without reference to the underlying statistical nature of the system, but their validity depends ultimately on statistical arguments. They take the form of general state- ments regarding heat and work, and are usually referred to as classical thermodynamics, or just thermodynamics, for short. Historically, classical thermodynamics was the first type of thermody- namics to be discovered. In fact, for many years, the laws of classical thermodynamics seemed rather mysterious, because their statistical justification had yet to be discovered. The strength of classical thermodynamics is its great generality, which comes about because it does not depend on any detailed assumptions about the statistical properties of the system under investigation. This generality is also the principle weakness of classical thermodynamics. Only a relatively few state- ments can be made on such general grounds, so many interesting properties of the system remain outside the scope of classical thermodynamics.

If we go beyond classical thermodynamics, and start to investigate the statistical machinery that underpins it, then we get all of the results of classical thermodynamics, plus a large number of other results that enable the macroscopic parameters of the system to be calculated from a knowledge of its microscopic constituents. This approach is known as statistical thermodynamics, and is extremely powerful. The only drawback is that the further we delve inside the statistical machinery of thermodynamics, the harder it becomes to perform the necessary calculations.

Note that both classical and statistical thermodynamics are only valid for systems in equilib- rium. If the system is not in equilibrium then the problem becomes considerably more difficult. In fact, the thermodynamics of non-equilibrium systems, which is generally called irreversible thermodynamics, is a graduate-level subject.

Introduction 11

1.9 Classical and Quantum Approaches

We mentioned earlier that the motions (by which we really meant the translational motions) of atoms and molecules are described exactly by quantum mechanics, and only approximately by classical mechanics. It turns out that the non-translational motions of molecules, such as their rotation and vibration, are very poorly described by classical mechanics. So, why bother using classical mechanics at all? Unfortunately, quantum mechanics deals with the translational mo- tions of atoms and molecules (via wave mechanics) in a rather awkward manner. The classical approach is far more straightforward, and, under most circumstances, yields the same statistical results. Hence, throughout the first part of this course, we shall use classical mechanics, as much as possible, to describe the translational motion of atoms and molecules, and will reserve quantum mechanics for dealing with non-translational motions. However, towards the end of this course, in Chapter 8, we shall switch to a purely quantum-mechanical approach.

Probability Theory 13

2 Probability Theory

2.1 Introduction

This chapter is devoted to a brief, and fairly low-level, introduction to a branch of mathematics known as probability theory. In fact, we do not need to know very much about probability the- ory in order to understand statistical thermodynamics, because the probabilistic calculation that ultimately underpins the latter subject area is extraordinarily simple.

2.2 What is Probability?

What is the scientific definition of probability? Consider an observation made on a general system, S. This can result in any one of a number of different possible outcomes. We want to find the probability of some general outcome, X. In order to ascribe a probability, we have to consider the system as a member of a large set, Σ, of similar systems. Mathematicians call such a group an ensemble, which is just the French for “group.” So, let us consider an ensemble, Σ, of similar systems, S. The probability of the outcome X is defined as the ratio of the number of systems in the ensemble that exhibit this outcome to the total number of systems, in the limit where the latter number tends to infinity. We can write this symbolically as

P(X) = (^) lt Ω(Σ)→∞

Ω(X)

where Ω(Σ) is the total number of systems in the ensemble, and Ω(X) the number of systems exhibiting the outcome X. We can see that the probability, P(X), must be a number lying between 0 and 1. The probability is zero if no systems exhibit the outcome X, even when the number of systems goes to infinity. This is just another way of saying that the outcome X is impossible. The probability is unity if all systems exhibit the outcome X, in the limit that the number of systems goes to infinity. This is another way of saying that the outcome X is bound to occur.

2.3 Combining Probabilities

Consider two distinct possible outcomes, X and Y, of an observation made on the system S , with probabilities of occurrence P(X) and P(Y), respectively. Let us determine the probability of ob- taining either the outcome X or the outcome Y, which we shall denote P(X | Y). From the basic definition of probability,

P(X | Y) = (^) lt Ω(Σ)→∞

Ω(X | Y)

where Ω(X | Y) is the number of systems in the ensemble that exhibit either the outcome X or the outcome Y. It is clear that Ω(X | Y) = Ω(X) + Ω(Y) (2.3)

14 2.3. Combining Probabilities

if the outcomes X and Y are mutually exclusive (which must be the case if they are two distinct outcomes). Thus, P(X | Y) = P(X) + P(Y). (2.4)

We conclude that the probability of obtaining either the outcome X or the outcome Y is the sum of the individual probabilities of X and Y. For instance, with a six-sided die, the probability of throwing any particular number (one to six) is 1/6, because all of the possible outcomes are considered to be equally likely. It follows, from the previous discussion, that the probability of throwing either a one or a two is 1/ 6 + 1 /6, which equals 1/3. Let us denote all of the M, say, possible outcomes of an observation made on the system S by X (^) i, where i runs from 1 to M. Let us determine the probability of obtaining any of these outcomes. This quantity is clearly unity, from the basic definition of probability, because every one of the systems in the ensemble must exhibit one of the possible outcomes. However, this quantity is also equal to the sum of the probabilities of all the individual outcomes, by Equation (2.4), so we conclude that this sum is equal to unity. Thus, ∑

i= 1 ,M

P(X (^) i) = 1 , (2.5)

which is called the normalization condition, and must be satisfied by any complete set of proba- bilities. This condition is equivalent to the self-evident statement that an observation of a system must definitely result in one of its possible outcomes. There is another way in which we can combine probabilities. Suppose that we make an obser- vation on a state picked at random from the ensemble, and then pick a second state, completely independently, and make another observation. Here, we are assuming that the first observation does not influence the second observation in any way. In other words, the two observations are statistically independent. Let us determine the probability of obtaining the outcome X in the first state and the outcome Y in the second state, which we shall denote P(X ⊗ Y). In order to determine this probability, we have to form an ensemble of all of the possible pairs of states that we could choose from the ensemble, Σ. Let us denote this ensemble Σ ⊗ Σ. It is obvious that the number of pairs of states in this new ensemble is just the square of the number of states in the original ensemble, so Ω(Σ ⊗ Σ) = Ω(Σ) Ω(Σ). (2.6)

It is also fairly obvious that the number of pairs of states in the ensemble Σ ⊗ Σ that exhibit the outcome X in the first state, and Y in the second state, is just the product of the number of states that exhibit the outcome X, and the number of states that exhibit the outcome Y, in the original ensemble. Hence, Ω(X ⊗ Y) = Ω(X) Ω(Y). (2.7)

It follows from the basic definition of probability that

P(X ⊗ Y) = (^) lt Ω(Σ)→∞

Ω(X ⊗ Y)
= P(X) P(Y). (2.8)

Thus, the probability of obtaining the outcomes X and Y in two statistically independent obser- vations is the product of the individual probabilities of X and Y. For instance, the probability of throwing a one and then a two on a six-sided die is 1/ 6 × 1 /6, which equals 1/36.

16 2.5. Combinatorial Analysis

The probability of obtaining n 1 occurrences of the outcome 1 in N observations is given by

P (^) N (n 1 ) = C (^) nN 1 , N−n 1 p n^1 q N−n^1 , (2.16)

where C Nn 1 , N−n 1 is the number of ways of arranging two distinct sets of n 1 and N − n 1 indistin- guishable objects. Hopefully, this is, at least, plausible from the previous example. There, the probability of getting two occurrences of the outcome 1, and one occurrence of the outcome 2, was obtained by writing out all of the possible arrangements of two p s (the probability of outcome 1) and one q (the probability of outcome 2), and then adding them all together.

2.5 Combinatorial Analysis

The branch of mathematics that studies the number of different ways of arranging things is called combinatorial analysis. We need to know how many different ways there are of arranging N objects that are made up of two groups of n 1 and N − n 1 indistinguishable objects. This is a rather difficult problem. Let us start off by tackling a slightly easier problem. How many ways are there of arranging N distinguishable objects? For instance, suppose that we have six pool balls, numbered one through six, and we pot one each into every one of the six pockets of a pool table (that is, top-left, top-right, middle-left, middle-right, bottom-left, and bottom-right). How many different ways are there of doing this? Let us start with the top-left pocket. We could pot any one of the six balls into this pocket, so there are 6 possibilities. For the top-right pocket we only have 5 possibilities, because we have already potted a ball into the top-left pocket, and it cannot be in two pockets simultaneously. So, our 6 original possibilities combined with these 5 new possibilities gives 6 × 5 ways of potting two balls into the top two pockets. For the middle-left pocket we have 4 possibilities, because we have already potted two balls. These possibilities combined with our 6 × 5 possibilities gives 6 × 5 × 4 ways of potting three balls into three pockets. At this stage, it should be clear that the final answer is going to be 6 × 5 × 4 × 3 × 2 × 1. The factorial of a general positive integer, n, is defined

n! = n (n − 1) (n − 2) · · · 3 · 2 · 1. (2.17)

So, 1! = 1, and 2! = 2 × 1 = 2, and 3! = 3 × 2 × 1 = 6, and so on. Clearly, the number of ways of potting six distinguishable pool balls into six pockets is 6! (which incidentally equals 720). Because there is nothing special about pool balls, or the number six, we can safely infer that the number of different ways of arranging N distinguishable objects, denoted C N^ , is given by

C N^ = N!. (2.18)

Suppose that we take the number four ball off the pool table, and replace it by a second number five ball. How many different ways are there of potting the balls now? Consider a previous arrange- ment in which the number five ball was potted into the top-left pocket, and the number four ball was potted into the top-right pocket, and then consider a second arrangement that only differs from the first because the number four and five balls have been swapped around. These arrangements are now indistinguishable, and are therefore counted as a single arrangement, whereas previously they

Probability Theory 17

were counted as two separate arrangements. Clearly, the previous arrangements can be divided into two groups, containing equal numbers of arrangements, that differ only by the permutation of the number four and five balls. Because these balls are now indistinguishable, we conclude that there are only half as many different arrangements as there were before. If we take the number three ball off the table, and replace it by a third number five ball, then we can split the original arrangements into six equal groups of arrangements that differ only by the permutation of the number three, four, and five balls. There are six groups because there are 3! = 6 separate permutations of these three balls. Because the number three, four, and five balls are now indistinguishable, we conclude that there are only 1/6 the number of original arrangements. Generalizing this result, we conclude that the number of arrangements of n 1 indistinguishable and N − n 1 distinguishable objects is

C Nn 1 =

N!

n 1!

We can see that if all the balls on the table are replaced by number five balls then there is only N!/N! = 1 possible arrangement. This corresponds, of course, to a number five ball in each pocket. A further straightforward generalization tells us that the number of arrangements of two groups of n 1 and N − n 1 indistinguishable objects is

C Nn 1 , N−n 1 =

N!

n 1! (N − n 1 )!

2.6 Binomial Probability Distribution

It follows from Equations (2.16) and (2.20) that the probability of obtaining n 1 occurrences of the outcome 1 in N statistically independent observations of a two-state system is

P (^) N (n 1 ) =

N!

n 1! (N − n 1 )!

p n^1 q N−n^1. (2.21)

This probability function is called the binomial probability distribution. The reason for this name becomes obvious if we tabulate the probabilities for the first few possible values of N, as is done in Table 2.1. Of course, we immediately recognize the expressions appearing in the first four rows of this table: they appear in the standard algebraic expansions of (p + q), (p + q) 2 , (p + q) 3 , and (p+q) 4 , respectively. In algebra, the expansion of (p+q) N^ is called the binomial expansion (hence, the name given to the probability distribution function), and is written

(p + q) N^ ≡

n= 0 ,N

N!

n! (N − n)!

p n^ q N−n. (2.22)

Equations (2.21) and (2.22) can be used to establish the normalization condition for the binomial distribution function: ∑

n 1 = 0 ,N

P (^) N (n 1 ) =

n 1 = 0 ,N

N!

n 1! (N − n 1 )!

p n^1 q N−n^1 ≡ (p + q) N^ = 1 , (2.23)

because p + q = 1. [See Equation (2.11).]

Probability Theory 19

so that f (u) + g(u) = f (u) + g(u). (2.30)

Finally, if c is a general constant then it is clear that

c f (u) = c f (u). (2.31)

We now know how to define the mean value of the general variable u. But, how can we characterize the scatter around the mean value? We could investigate the deviation of u from its mean value, ¯u, which is denoted ∆u ≡ u − u¯. (2.32)

In fact, this is not a particularly interesting quantity, because its average is obviously zero:

∆u = (u − u¯) = u¯ − u¯ = 0. (2.33)

This is another way of saying that the average deviation from the mean vanishes. A more interest- ing quantity is the square of the deviation. The average value of this quantity,

(∆u) 2 =

i= 1 ,M

P(u (^) i) (u (^) i − u¯) 2 , (2.34)

is usually called the variance. The variance is clearly a positive number, unless there is no scatter at all in the distribution, so that all possible values of u correspond to the mean value, ¯u, in which case it is zero. The following general relation is often useful

(u − u¯) 2 = (u 2 − 2 u u¯ + u¯ 2 ) = u 2 − 2 ¯u u¯ + u¯ 2 , (2.35)

giving

(∆u) 2 = u 2 − u¯ 2. (2.36)

The variance of u is proportional to the square of the scatter of u around its mean value. A more useful measure of the scatter is given by the square root of the variance,

∆∗u =

[

(∆u) 2

] 1 / 2

which is usually called the standard deviation of u. The standard deviation is essentially the width of the range over which u is distributed around its mean value, ¯u.

2.8 Application to Binomial Probability Distribution

Let us now apply what we have just learned about the mean, variance, and standard deviation of a general probability distribution function to the specific case of the binomial probability distribu- tion. Recall, from Section 2.6, that if a simple system has just two possible outcomes, denoted 1

20 2.8. Application to Binomial Probability Distribution

and 2, with respective probabilities p and q = 1 − p, then the probability of obtaining n 1 occurrences of outcome 1 in N observations is

P (^) N (n 1 ) =

N!

n 1! (N − n 1 )!

p n^1 q N−n^1. (2.38)

Thus, making use of Equation (2.27), the mean number of occurrences of outcome 1 in N obser- vations is given by

n 1 =

n 1 = 0 ,N

P (^) N (n 1 ) n 1 =

n 1 = 0 ,N

N!

n 1! (N − n 1 )!

p n^1 q N−n^1 n 1. (2.39)

We can see that if the final factor n 1 were absent on the right-hand side of the previous expression then it would just reduce to the binomial expansion, which we know how to sum. [See Equa- tion (2.23).] We can take advantage of this fact using a rather elegant mathematical sleight of hand. Observe that because

n 1 p n^1 ≡ p

∂p

p n^1 , (2.40)

the previous summation can be rewritten as

∑

n 1 = 0 ,N

N!

n 1! (N − n 1 )!

p n^1 q N−n^1 n 1 ≡ p

∂p

n 1 = 0 ,N

N!

n 1! (N − n 1 )!

p n^1 q N−n^1

.^ (2.41)

The term in square brackets is now the familiar binomial expansion, and can be written more succinctly as (p + q) N^. Thus,

∑

n 1 = 0 ,N

N!

n 1! (N − n 1 )!

p n^1 q N−n^1 n 1 = p

∂p

(p + q) N^ = p N (p + q) N−^1. (2.42)

However, p + q = 1 for the case in hand [see Equation (2.11)], so

n 1 = N p. (2.43)

In fact, we could have guessed the previous result. By definition, the probability, p, is the number of occurrences of the outcome 1 divided by the number of trials, in the limit as the number of trials goes to infinity:

p = (^) lt N→∞

n 1 N

If we think carefully, however, we can see that taking the limit as the number of trials goes to infinity is equivalent to taking the mean value, so that

p =

( (^) n 1 N

n 1 N

But, this is just a simple rearrangement of Equation (2.43).