Home Page Overview Site Map Index Appendix Illustration About Contact Update FAQ

Statistics, Chance, and Probability Distribution


Statistics and Correlation
Chance (Probability) and Information
Probability Distribution
Confidence Interval
Chi Square Test
Statistical Mechanics : (Maxwell-Boltzmann), (Bose-Einstein), (Fermi-Dirac)

Statistics and Correlation

Sample of House Statistics can be considered as experimental or observational mathematics. It uses the collected data to derive an estimated value of a parameter such as population mean, averaged temperature, ... etc. These values would not be very precise, but could present a vague idea in the absence of elaborate measurements, hence it is often associated with chance or probability. Many methods were invented over the years to check out the statistical significance of a given set(s) of data. Unfortunately, the data are often manipulated to suit some purposes, hence the saying : "There are three kinds of lies: lies, damned lies, and statistics".

Figure 01 House Survey
[view large image]

The following example illustrates the most elementary statistics about the number of occupants k in each of the N=20 houses on a street (Figure 01), f(k) denotes the frequency of occurrence hence f(k)/N is the probability of finding k occupants among these houses. It is often referred to as the Probability Distribution (note that its total is normalized to 1). Table 01 below contains the data collected in a survey.

k f(k) f/20 kf(k) Age
1 3 0.15 3 56
2 8 0.4 16 45
3 5 0.25 15 30
4 2 0.1 8 20
5 1 0.05 5 25
6 1 0.05 6 18

Table 01 Number of Occupants in each House on a Street

These data can be plotted by a bar graph as shown in Figure 02. The data can be further manipulated by estimators, which are mathematical procedures to produce certain meaningful quantity. The most common ones are the mean and standard deviation.
Statistical Graph

Figure 02 Statistical Graph
[view large image]

From these statistical evaluations, we obtain a vague idea about the occupants on this street. However, many details such as gender, occupation, age, ... are missing. To obtain a little bit more information, the survey could include the averaged age of the occupants in each category as shown in the 5th column of Table 01.
The next task is to find out if there is a relationship between the "number of occupants" and "age". One of the tools is the Spearman`s Rank Correlation. Essentially, the two sets of data are ranked in either ascending or descending order as shown in Table 02 below. Then takes the difference d = (Rank k - Rank Age) and squared. The degree of correlation is determined by the formula:
where n is the number of cases. In this sample = -0.94 indicating a strong negative correlation as shown in the upper insert in Figure 02. The lower insert shows the same thing with the actual data. In all csses, is a number between -1 (strong negative correlation) and +1 (strong positive correlation), a result of 0 means no correlation.

k k Rank Age Age Rank d d2
1 1 56 6 -5 25
2 2 45 5 -3 9
3 3 30 4 -1 1
4 4 20 2 2 4
5 5 25 3 2 4
6 6 18 1 5 25

Table 02 Spearman's Ranking Test


Chance (Probability) and Information

According to the above example, the probability for finding a house with k occupants is P(k)=f(k)/N as shown in column 3 of Table 01. Now if we want to know the probability of the surveyor knocking at the doors of either 2 occupants or 5 occupants, it would be :

P(2 or 5) = P(2) + P(5) = 0.45

If instead we want to know the probability of going to k = 5 after checking out k = 2, then it becomes :

P(2 and 5) = P(2)xP(5) = 0.02.

In general, it adds the probabilities for "OR" operation and multiplication is for the "AND" operation. Probability can be generated in other more complicated ways such as via permutation and combination as demonstrated in the following example of awarding the gold, silver, and bronze crowns to five beauty contestants (Figure 03).
Permutation and Combination Permutation - Since all 5 of the contestants has a chance to receive the bronze crown, after which the silver goes to the remaining 4, lastly each 3 of them has a chance for the golden one, the total number of possible arrangements is 5P3 = 5 x 4 x 3 = 60. In general the number of possible sequences of k objects from a collection of n is :

nPk = n x (n-1) x (n-2) ... (n-k+1) = n!/(n-k)!

Figure 03 Permutation and Combination [view large image]

where n! = n x (n-1) x (n-2) ... 1 is the factorial of n and 0! = 1 (negative number is forbidden).

Suppose the awards go to [C(bronze),A(silver),D(gold)] in this particular beauty pageant, the probability for such outcome is just the reciprocal of the number of arrangements, i.e., P(5,3)=1/60. This choice conveys a message or information about the selection of that year's winning contestants. The information can be quantified as I = log2(P) - 6 bits in the example. In the very unusual case where the winner of the crown can return to the pool to be judged again by another set of panelists, the number of contestants is always 5. Therefore the number of arrangements is 5 x 5 x 5 = 53 = 125. Thus nPk = nk in general for such case.

Combination - Suppose another weird beauty contest awards 3 gold crowns to the 3 winning contestants, therefore the ordering really doesn't matter. The number of arrangements is reduced by a factor of 3 x 2 x 1 = 6 in the example and is denoted by 5C3 = 60/6 = 10. The general formula for such case with no selection preference is :

nCk = = n!/[k!(n-k)!].

The most celebrated example is to estimate the winning chance of lottery ticket where the order of winning numbers is immaterial. For lotto 6/49 (6 winning numbers from a pool of 49), the number of arrangements is :

49C6 = 13983816 implying a chance or probability P = 1/13983816.


Probability Distribution

The Binomial (two names in Greek) Theorem expresses the probability for n occurrence of 2 opposite events that always happens together. For example in the Bernoulli trial (Figure 04), if the probability for the success of tossing a biased coin is p, then the probability of failure is certainly 1-p. Denoting these 2 opposite events as b and a respectively, the Binomial coefficients = n!/[k!(n-k)!] (for k = 0, 1, 2, ... n) in the Binomial Theorem specify the occurrence frequency of the various outcomes in n trials :

(a + b)n = an + nan-1b + [n(n-1)/2!]an-2b2 + ... + an-kbk + ... + nabn-1 + bn.

Bernoulli Distribution Binomial Distribution As shown in Figure 05, since the events are always simultaneously opposite to each other the distribution is symmetrical about the mid-point. When the Binomial coefficients are normalized by dividing the sum of all the 's, which is just 2n, they becomes the probabilities. The Bernoulli distribution is the special case of (a + b)n with n = 1 (k = 0, 1) showing both events occur once at the same time. The discrete Binomial distribution can be approximated by the continuous Normal distribution (aka the Bell curve) with k x :

Figure 04 Bernoulli Distribution
[view large image]

Figure 05 Binomial Distribution [view large image]

For the case of n = 6, p = 0.5: = 3, = 1.2247, f(3) = 0.3258 (see Figure 05).

The Bell curve is used for gauging measurements - about its fidelity, error, spreading etc. For example, a narrow range indicates a good machine making uniform products, wide range in class scores shows uneven quality of students, or measurement outside certain range means the discovery of a novel object (see discovery of the Higgs). The Normal Probability Table is used to check out the probability of data lying within or outside a certain range. However, a simple transformation of variables is required before using the table.

Let t = (x - )/, then dt = dx/.

Suppose we want to know the probability of occurence from x = - to + (correspondingly t runs from -1 to +1); then according to the table, the entry is 0.6827 or 68.27%. It is from this value, the quality of the measurements are assessed. If the range is from x = - 3 to + 3, then the probability is 99.73%. In general the range is defined as from x = - x to + x , where x is a multiplying factor for and is the integration limits in the table, i.e., x = (x - )/ for a measured value of x.

Poisson Distribution The Poisson distribution is used for estimating random occurring phenomenon based on a more likely one. The formula is :

where is called the "intensity", which is usually associated with the more frequent occurrence. In the example of occupants number, = 3 (at k = 3) seems to fit better. The result is plotted with crosses (x's) in

Figure 06 Poisson Distribution [view large image]

Figure 2 (by scaling with a multiplication factor of 22.22). Figure 06 shows that the Poisson Distribution approaches the Normal Distribution as 10

Infinite Square Well Probability H Atom Distribution Quantum physics depends extensively on the probability distribution of small particles to understand the nature of microscopic objects. A very simple example is about a particle inside a box, which is represented by an infinite square well. The probability distribution is in the form of P(x) = sin2(nx), where n is an integer specifying the state of the system, which is associated with the energy level in this case. A few of the probability distribution are shown in Figure 07.

Another exactly solvable case for the Schrodinger's equation is the Hydrogen atom. The probability distribution is related to the electron (probability) density around the nucleus - the proton. A few of the states are displayed in Figure 08 for its radial distribution. These states are also

Figure 07 Infinite Square Well Probability [view large image]

Figure 08 H Atom Distribution [view large image]

related to the energy level, but there are more complicated configuration involving orbital angular momentum, spin, ... Some of such states are
shown in the same image, but in terms of the wave function , which is related to the probability P = *. The quantum number l > 0 is related to orbital angular momentum (see images in the lower right quadrant). The small insert is a real image obtained from a quantum microscope.


Confidence Interval

Confidence Interval A confidence interval (CI) is the interval for sets of measurements, which are likely to including the unknown parameter, e.g., the mean of the population sample to be verified (see top portray in Figure 09). The technique requires a knowledge of the population standard deviation as shown in the following example.

A coffee vending machine customer decides to check out the manufacturer's specification, which claims to dispense 250 g (the ) of the liquid with a margin of error to be 2.5 g (the as shown in Figure 09). The procedure to determine if the machine is adequately calibrated, is to weigh n = 25 cups of the stuff, i.e., x1, x2 ... x25, and to perform the following calculation. Data from both the manufacturer (taken to be the

Figure 09 Confidence Interval [view large image]

whole population) and the customer's sample are considered to follow the pattern of normal distribution. Sample data gathering in this case has 50 sets of 25 cups each as shown in the top portray in Figure 09.
Normal Distribution Table      

Normal Probability Table
[view large image]

This example shows that the estimate of becomes more accurate as the CI getting narrower. This objective can be achieved with increasing n, i.e., by collecting more data in the sampling. However, it implies more work, which is especially more difficult in the old day when calculation was not computerized.
§ The formulas are described in the section for "Bell Curve", while the 95% confidence interval is chosen arbitrarily. Sample mean and standard deviation (usually denoted by and s) are computed from a smaller dataset than the population's. The results are generally not the same as the population's (denoted by , and ). The "Central Limit Theorem" states that, for large sample, the sample means ('s) from normally distributed samples are also normally distributed, with the same expectation , and a standard error of /(n)1/2 of the population, which is also normally distributed.

CL in Higgs Discovery The confidence level is used for the search of the Higgs particle by scientists in LHC. They first calculate all the possible events excluding those related to the Higgs' from the Standard Model. This is the /SM = 1 straight line in Figure 10 (don't confuse it with the standard deviation). Then the probability /SM for similar Higgs-looking background events are estimated and plotted by the yellow and green bands with 95% CL with the

Figure 10 CL in Higgs Discovery [view large image]

mean (dark dotted curve) in Figure 10. The occurrence of rare events outside the expected boundary indicates additional contribution by the Higgs particles, the the corresponding energy (~ 125 Gev) is the mass of the Higgs particle. The ultimate goal is to obtain a signal at 99% CL.


Chi Square Test

The Chi Square Distribution is the probability pattern from infinite number of measurements with the variable 2 = [(n - 1)s2]/2, where is the standard deviation of the population normally distributed, the same for s of the sample, n is the number of items in the sample with (n - 1) = k for n > 1 to be the degrees of freedom. The mathematical formula for this distribution and a few graphs for different k are shown in Figure 11a.

Chi Square Test The Chi Square Test is a tool to check out if the measurements are related or a hypothesis is true or not. It was originally intended to judge if the statistical data are significant. It doesn't even come up with a degree of correlation as provided by the Spearman's test. However, it becomes a gold standard for evaluating statistical data over the years since its invention in the 1920's. There is a 2014 article in Nature to remind everyone to use it carefully. A table of 2 - and graphs of f(2) for different k is shown in Figure 11a. The subscript in 2 on the top row is the % probability beyond 2 as shown by the dark shade inside the curve at top left. Usually,

Figure 11a Chi Square Test [view large image]

denotes the probability that the null hypothesis (the assertion on no relationship between the measurements) is right. Thus a small nummber for indicates that the null hypothesis is probably wrong. The boundary is set at
2=0.05. The p-value = = 0.05 is arbitrarily chosen but accepted by most researchers. A value of 2 to its left (smaller) means support for the hypothesis, and otherwise to the right. Thus, by comparison with observations, the null hypothesis would be vindicated or rejected according to whether 2 is smaller or greater than 20.05. It is a way of just providing a YES or NO answer to the likelihood of the null hypothesis.
Chi-Square Calculator By definition x (= 2) is calculated from , which is not easy to solve even numerically. Fortunately, "Stat Trek" has provided an online Chi-square calculator to facilitate the difficult task (click Figure 11b). The CV in there denotes the x, while P(X2 CV) denotes the percentage probability for the integration limits from 0 to x producing (1 - ). It is available for different values of k up to k = 50.

Figure 11b Chi-Square Calculator [Online Chi2 Calculation]

For the novice, it is important to distinct the difference between 2 (or x, the independent variable); the (or p-value, the sum of probability); and the 2 (or x, the independent variable 2 or x from which the summation started up to in producing ). Also notice that increasing 2 always goes together with decreasing .

Chi-Square df4  Distribution Function The Chi-square distribution according to different degree of freedom is tailored to the size of the collecting dataset from small sample size to set of large random numbers. The degree of freedom (df and denoted by k here) is essentially the number of data minus the number of constraints in compiling the statistics. For example, in calculating the standard deviation s with n data points, the degree of freedom is n - 1 because one of the data cannot be arbitrary, it is constrained by the relation (for a known value of ). Another example illustrates 2 variables linked by the formula x + y = 10, or x = 10 - y, it is clear then that only y can be varied arbitrarily, x is constrained by the formula. Thus, the degree of freedom is 1 in this case.

Figure 11c Chi-Square df4 Distribution Function

BTW, it doesn't matter whether to use n or (n - 1) for n >> 1.

The normalized Chi-squre distribution is in the form, where the independent variable x is replaced by 2 in some cases :


for x 0, where k is the degree of freedom. The Chi-squre distribution has some remarkable properties, which can be verified easily for integer k/2 by virtue of the following integral :

, i.e.,

In the Chi Square test, 2 (denoted by x in the formula) is defined by :

where Oi is the observed frequency, Ei the expected frequency as asserted by the null hypothesis, and n the number of cells to be evaluated. Depending on the degree of freedom (df), 2 points to a certain p-value, which is compared with 0.05 to determine whether to accept or reject the null hypothesis.
    Lastly, let us consider three specific cases :

  1. For the case when all observations agree with expectations, i.e., Oi = Ei for all i. It follows that 2 = 0 << 20.05. The null hypothesis is 100% correct.
  2. Now consider the case when all Oi = 3 Ei (a case with obvious discrepancy). Therefore, 2 ~ 4k > 20.05 according to the estimated value of 20.05. Thus, the null hypothesis can certainly be rejected.
  3. However, when all Oi = 2 Ei, we would have 2 ~ k < 20.05 implying the rejection of the null hypothesis is not solid.
Statistical Errors According to the article in Nature (as mentioned earlier), the problem of relying on the p-value is in the underlying hypothesis, which challenges the null hypothesis. As shown in Figure 15, the more outlandish the hypothesis the more chance it would fail even at the 0.01 level. In other words, the significance p-value varies with the nature of the hypothesis, 0.05 is not the absolute standard as most researchers assumed. A subjective element about the likelihood of the hypothesis is thus introduced into the process. On top of such fallacy, there are cases when data

Figure 15 Statistical Errors [view large image]

are massaged to yield a low p-value. It is suggested that claims of p-value around 0.05 often involves fishing for significance; failure to replicate results is another sign; p-hacking (manipulation of data) can also be detected by looking at the method of analysis often banished to the discussion section at the end of the paper.


Statistical Mechanics

(Maxwell-Boltzmann, Bose-Einstein, Fermi-Dirac)

Maxwell-Boltzmann Distribution

The classical distribution of the velocity of atoms in a volume of gas was first developed by Maxwell in 1860, and further elucidated by
Maxwell-Boltzmann Statistics Boltzmann in 1868. The atomic composition of gas was not widely accepted by physicists at that time, and nothing was known about atomic structure; thus, the micro-state was invented to accommodate the particles with population Ni in an energy state Ei, which contains a number of cells gi (corresponding to different orientations for example). These micro-ensembles are supposed to link with the macroscopic variables such as the total number of particles N = Ni, the total energy E = NiEi, the volume of the system V, temperature T, ... The probability of the ith occurrence would be Ni/N, the distribution (against energy or velocity) of which was derived by Maxwell-Boltzmann under certain assumptions :

Figure 16 Maxwell-Boltzmann Distribution [view large image]

The following derivation starts with a discrete system and then converts to continuous velocity distribution (see Figure 16 for pictorial illustration). Here's the mathematics in 4 steps :

(1) Statistics - The number of ways to select one particle among N into the Ea micro-state is just N, N(N-1) for selecting two, N(N-1)(N-2) for selecting three, and so on ... with the first one to be the highest order, the second one the next, ... This is just the permutation for selecting "a" entries among N objects with ordering, i.e., P(N,a) = N(N-1)(N-2)...(N-Na+1) = N!/(N-Na)!. The amount is reduce by a factor of Na! if ordering is ignored; this is called combination C(N,a) = N!/[Na!(N-Na)!] (see Figure 16). Accordingly, for a set of levels labeled by a, b, c, ... k, and by filling them one after the others, ignoring ordering, the number of ways W is :

For example, with g = 3, n = 2 (represented by A and B), gn = 32 = 9 as illustrated below :

(2) Most Probable Configuration - At equilibrium, the distribution would be in a most probable configuration. Mathematically, it involves maximizing W by a special arrangement of Ni at various levels. However, this special configuration has to be consistent with the constraints N = Ni and E = NiEi. The method of "Lagrange Multipliers" is used to perform such kind of maximization. Essentially, if the constraint for f(x) is in the form h(x) = 0, then the maximizing should be performed on L(x,) = f(x) + h(x), where is a constant (the Lagrange multiplier) to be determined. In the current derivation, it is easier to deal with ln(W) in the following maximizing scheme :

(3) Macroscopic Link - A macroscopic formula emerges by substituting the optimized value of Ni into ln(W) :
ln(W) = ( + 1)N + E.
An infinitesimal change in energy at constant number of particles would induce a small adjustment of the configuration : d[ln(W)] = dE. Since the Boltzmann's definition of entropy is S = k ln(W), thus dS/k = dE, where the Boltzmann constant k = 1.38x10-16 erg/K.

Chemical Potential In thermodynamics, the infinitesimal change in energy is related to the other macroscopic variables by the identity :
dE = TdS - pdV + dN,
where T is the temperature, p the pressure, and the chemical potential related to the change of chemical energy G with the change in the number of ith species Ni, i.e., = dG/dNi (Figure 17). Since both the volume V and number of particles N are unchanged in the Maxwell-Boltzmann statistics, dE = TdS. By comparing the formula derived from the microscopic consideration, i.e., dE = dS/(k), the Lagrange multiplier can be identified as = 1/kT.

Figure 17 Chemical Potential [view large image]

(4) Distribution in Velocity - Since the collisions between particles are elastic in the Maxwell-Boltzmann statistics, the energy consists only kinetic energy, i.e, Ei = mvi2/2. The variable range is now continuous, in particular the number of cells is given by g(v) = 4v2 with each direction of the velocity represents a different cell (Figure 16). The probability of finding the particles with velocity v is :

Figure 18 Maxwell-Boltzmann Distribution
[view large image]

(5) Applications - In a simplistic model of heat capacity for metals, the constituent atoms are treated as harmonic oscillators (with no interaction between each others). The one-dimensional motion of such oscillator has energy E = mv2/2 + Kx2/2, and gi = 1. According to the Maxwell-Boltzmann distribution, the averaged energy is :

See "Specific Heats of Solids and Phonons" for more information about the subject.

BTW, the Avogadro's number NA ~ 6x1023 / mole is defined as the number of atoms in 12 gram of pure carbon-12. The number of mole for any substance is n = N / NA, where N is the number of such substance. The atomic weight of any substance is M = (mass of the particle) x NA. Many statistical applications involve only the average property of one particle; generalization to a collection of N particles has to multiply N to account for the additional degrees of freedom; the resulting quantity is sometime expressed in number of mole n (e.g., in the expression for the Gas Law), or by assuming the system to have NA particles and prefixed the name with molar (e.g., the molar heat capacity cv = 3R as shown above).

The link between the microscopic velocity v and the macroscopic temperature T for the ideal gas can be readily derived from the average energy by removing the restoring force so that there is only 3 degrees of freedom for the kinetic energy, then

Designating v to be the average velocity, L the length of the tube, A the area at the ends, the change of momentum p in a round-trip starting from one end is p = p - (-p) = 2p = 2mv in a time interval t = 2L/v. By definition, the pressure P = F/A = N(p/t)/A = Nmv2/V or v2 = PV/Nm, where F is the collective force from N particles and the volume V = LA. Using the relationship between v and T, we obtain the Gas Law PV = nRT, where n = 3N/NA is the number of mole for 3N particles, R = kNA = 8.314 J/mole-K the Gas constant.

Bose-Einstein Distribution

Be-MB Comparision Be-FD Comparision In deriving the Bose-Einstein distribution, it is assumed that the constituent gas particles are non-interacting at thermodynamic equilibrium and indistinguishable. There is no restriction on the number of particles in any quantum states. They are called boson, all of them have integer spin. Those are photon gas in the cavity of blackbody radiation, the coupled electron pair (Cooper pair) in superconductivity, and Helium-4 in Superfluidity.

Figure 19 BE-MB Distribution

Figure 20 BE-FD Distribution [view large image]

The methodology to derive the statistical distribution is similar to the treatment in the last section. The difference is on counting the occupation number.

The following derivation starts with the determination of the number of ways in which Ni indistinguishable particles can be distributed in gi cells having same energy Ei.

(1) Statistics - The counting obviously involves the number of particle Ni. However, the re-arrangement of the partitions (the walls separating the cells and hence there are gi - 1 of them) can also create different configuration. Thus, there are (Ni + gi - 1)! possible permutations. Since the particles are indistinguishable, Ni! and (gi - 1)! of the permutations are irrelevant. Therefore, the actual number of ways for each level is (Ni + gi - 1)! / [Ni! (gi - 1)!], and the probability W of the entire distribution of N particles is the product :

W = (Ni + gi - 1)! / [Ni! (gi - 1)!]

For example, with gi = 3, Ni = 2, the number of permutations would be 4!/(2!2!) = 6 as illustrated below :
for gi = 1, the number of ways at that level would be just one as shown :

(2) Comparison with the Maxwell-Boltzmann Distribution : Using the other form of the Stirling's approximation n! ~ nne-n

W ~ (Ni + gi)Ni+gi/[(Ni)Ni(gi)gi] ~ giNi/Ni!

The final form is obtained by assuming gi >> Ni >> 1, and (1 + Ni/gi)gi ~ eNi. This is the condition for close match between the Bose-Einstein and Maxwell-Boltzmann statistics (Figure 19), and shows that the ideal gas is not really composed of distinguishable particles. Unlike the marked difference with the Fermi-Dirac statistics (Figure 20), they are very similar except when T ~ 0 K with most particles occupying the lowest energy level (gi = 1 << Ni) forming the Bose-Einstein Condensate (BEC).

(3) Most Probable Configuration - The procedure is the same in the last section, except the mathematical details. The function to be maximized (with ln(W), Stirling's approximation, and Lagrange multipliers) is now (assuming gi >> 1) :

(4) Macroscopic Link - A macroscopic formula emerges by substituting the optimized value of Ni into ln(W) :
ln(W) = N + E. An infinitesimal change in energy and number of particles would induce a small adjustment of the configuration :
d[ln(W)] = dS/k = dN + dE.
In thermodynamics, the infinitesimal change in energy is related to the other macroscopic variables by the identity :
dE = TdS - pdV + dN,
where T is the temperature, p the pressure, and the chemical potential related to the change of chemical energy G with the change in the number of ith species Ni, i.e., = dG/dNi (Figure 17). Since the volume V is constant, dE = TdS + dN. By comparing the formula derived from the microscopic consideration, i.e., dE = dS/(k) - (/)dN, the Lagrange multipliers can be identified as = 1/kT, and = -/kT , and Ni = gi / [e(Ei - )/kT - 1] .

Photon Gas Blackbody Radiation (5) Photon Gas in Cavity - Photon gas is the quantum version of electromagnetic wave when the particle-like behavior is dual to the wave property. It's main difference from the ideal gas is the way in reaching equilibrium. Whereas that state is attained by collisions in the latter case and the number of particle is conserved, the photon gas arrived at equilibrium by interacting with the matter in the cavity wall (Figure 21). The number of photons in a given state is not constant in the absorption and emission processes. However, the total energy remains the same at equilibrium, i.e., the total negative change of the chemical potential is balanced by the positive change.

Figure 21 Photon Gas
[view large image]

Figure 22 Blackbody Radiation [view large image]

Consequently, the overall change is zero which implies the chemical potential = 0 or e-/kT = 1.

Derivation of the number of cells gi is similar to the case of velocity distribution in Maxwell-Boltzmann statistics except that the counting is in the phase space Vx2x4p2dp where V is the volume of the cavity, p is the momentum of the photon (with energy h = pc), and the factor of 2 is for the 2 different polarization states. The Planck's constant h = 6.625x10-27 erg-sec from the uncertainty relation px ~ h in quantum theory is conveniently taken as the basic unit (minimum size) of the microscopic states. Thus gi = (V/h3)8p2dp.

Temperature at the upper layer of the Sun's photosphere is about 6000 K corresponding to max ~ 480 nm (Figure 22), which is in the middle of the visible range and absorbed by plants to perform photosynthesis in the first step of the food chain.

(6) Applications - Other interesting applications can be found in Superfluidity, and Superconductivity (the Cooper Pair).

Fermi-Dirac Distribution

Fermi-Dirac statistics applies to indistinguishable particles such as the 1/2 spin fermions which are governed by the exclusion principle. Therefore the derivation is parallel to that of the Bose-Einstein law except that each cells can be occupied by at most one particle.

(1) Statistics - The gi cell can be arranged in gi! different ways with each cell for one particle, since the order in filling both the particles and cells is irrelevant, the number of different arrangements is gi! / [Ni! (gi-Ni)!]. For gi = 3 and Ni = 2, this number would be 3!/(2!1!) = 3 as shown : ; there would be only one arrangement for gi = Ni : .
The total probability is: W = gi! / [Ni! (gi-Ni)!] .

(2) Most Probable Configuration - The procedure is the same in the last two sections, except the mathematical details. The function to be maximized (with ln(W), Stirling's approximation, and Lagrange multipliers) is :

(3) Macroscopic Link - A macroscopic formula emerges by assuming e+Ei >> 1 (i.e., when the particles behave like ideal gas, see Maxwell-Boltzmann statistics) and substituting the optimized value of Ni into ln(W) :
ln(W) = N + E. An infinitesimal change in energy and number of particles would induce a small adjustment of the configuration :
d[ln(W)] = dS/k = dN + dE.
In thermodynamics, the infinitesimal change in energy is related to the other macroscopic variables by the identity :
dE = TdS - pdV + dN,
where T is the temperature, p the pressure, and the chemical potential related to the change of chemical energy G with the change in the number of ith species Ni, i.e., = dG/dNi (Figure 17). Since the volume V is constant, dE = TdS + dN. By comparing the formula derived from the microscopic consideration, i.e., dE = dS/(k) - (/)dN, the Lagrange multipliers can be identified as = 1/kT, and = -/kT , and Ni = gi / [e(E - )/kT + 1], or in the form of the continuous occupation index (probability for occupation of each cell at energy E) f(E) = N(E)/g(E) = 1 / [e(Ei - )/kT + 1].
As shown in Figure 23, it has a peculiar property at T = 0 K, such that f(E) = 1 for E < (fully occupied), and f(E) = 0 for E > (none occupied). For finite temperature, more levels would be populated as T increases for E > , while the opposite trend happens for E < . The chance is always 1/2 at E = (see Figure 23). It will be shown presently that depends on the number density N/V. It is better known as Fermi Energy EF .

(4) Free Electron Gas in Metal - To a good approximation, the valence electron can be considered as free from its bounds with the atomic nucleus. These electrons are treated as ideal gas in a box (Figure 23). The inter-electron and nucleus-electron interactions are neglected (with some justifications). The model has been applied successfully to the calculations of structures of degenerate stars, formulation of the Band Theory, electron emission from metallic surface including the photoelectric effect, electrical and thermal conductivity (Figure 24).
Fermi-Dirac Statistics Derivation of the number of cells gi is similar to the case of Bose-Einstein statistics counting in phase space: Vx2x4p2dp where V is the volume of the cavity, p is the momentum of the electron, and the factor of 2 is for the 2 different spin states. The Planck's constant h = 6.625x10-27 erg-sec from the uncertainty relation px ~ h in quantum theory is conveniently taken as the basic unit (minimum size) of the microscopic states. Thus gi = (V/h3)8p2dp.

Figure 23 Fermi-Dirac Statistics [view large image]

In terms of energy E = p2/2m, g(E) dE = [(8Vm3/2E1/2)/h3] dE .

If a particular metal sample contains N free electrons, EF can be calculated by filling up its energy states from E = 0 to E = EF by definition. Hence

Conductivity by Electron Gas Table 04 lists the electrical and thermal conductivity for some metals in descending sequence of EF. Theoretical calculations show that these conductivities are proportional to the electron number density (Figure 24). The table reveals that while some entries follow the trend, the others (the latter half) do not seem to conform. The deviation can be explained by interaction with phonons (coherent wave motion of the lattice), which determines the conductivity for some metals.

Figure 24 Conductivity by Electron Gas

Metal Fermi Energy, EF (ev) # Density (1028/m3) Electric Conductivity (107/ohm-m) Thermal Conductivity (w/m-K)
Aluminium (Al) 11.7 18.1 3.50 205.0
Iron (Fe) 11.1 17.0 1.00 79.5
Lead (Pb) 9.47 13.2 0.455 34.7
Copper (Cu) 7.0 8.47 5.96 385.0
Silver (Ag) 5.49 5.86 6.30 406.0
Sodium (Na) 3.24 2.40 2.22 134.0

Table 04 Electrical and Thermal Conductivity in Metal

(5) Application - The major application is in the "Band Theory of Metal".