Statistical Mechanics That Takes into Account Angular Momentum Conservation Law - Theory and Application

The fundamental problem of statistical mechanics is obtaining an ensemble average of physical quantities that are described by phase functions (classical physics) or operators (quantum physics). In classical statistical mechanics the ensemble density of distribution is defined in the phase space of the system. In quantum statistical mechanics the space of functions that describe microscopic states of the system play a role similar to the classical phase space. The probability density of the system detection in the phase space must be normalized. It depends on external parameters that determine the macroscopic state of the system. An in-depth study of the statistical mechanics foundations was presented in the works of A.Y. Khinchin (Khinchin, 1949, 1960). For classical statistical mechanics an invariant set was introduced. It would be mapped into itself by transforming with the Hamilton equations. The phase point of the isolated system remains during the process of the motion at the invariant set at all times. If the system is in the stationary equilibrium state, this invariant set has a finite measure. The Ergodic hypothesis asserts that in this case the probability   dP R


Introduction
The fundamental problem of statistical mechanics is obtaining an ensemble average of physical quantities that are described by phase functions (classical physics) or operators (quantum physics). In classical statistical mechanics the ensemble density of distribution is defined in the phase space of the system. In quantum statistical mechanics the space of functions that describe microscopic states of the system play a role similar to the classical phase space. The probability density of the system detection in the phase space must be normalized. It depends on external parameters that determine the macroscopic state of the system. An in-depth study of the statistical mechanics foundations was presented in the works of A.Y. Khinchin (Khinchin, 1949(Khinchin, , 1960. For classical statistical mechanics an invariant set was introduced. It would be mapped into itself by transforming with the Hamilton equations. The phase point of the isolated system remains during the process of the motion at the invariant set at all times. If the system is in the stationary equilibrium state, this invariant set has a finite measure. The Ergodic hypothesis asserts that in this case the probability  dP R to detect this system at any point R of the phase space is: , where   f R is a phase function and z is it's fixed value. A hypersurface in a hyperspace is a set with zero measure. Therefore the invariant set is determined as a thin layer that nearly envelops the hypersurface in the phase space. The determining equations of this hypersurface are the equalities that fix the values of controllable motion integrals. A controllable motion integral is a phase function, the value of which does not vary with the motion of the system and can be measured. An isolated system universally has the Hamiltonian that does not depend on the time explicitly, and is the controllable motion integral. A fixed value of the Hamiltonian is the energy of the system. The kinetic energy of majority of systems is a positive definite quadric form of all momenta. It determines a closed hypersurface in the subspace of momenta of the phase space. If motions of all particles are finite, the hypersurface of the fixed energy is closed and the layer that envelops it has the finite measure. Then this hypersurface can determine the invariant set of the system. A finiteness of motions of particles as a rule is provided by enclosing the system in an envelope that reflects particles without changing their energy, if the system is considered as isolated. It is common in statistical mechanics to consider the layer enveloping the energy hypersurface as the invariant set. But A.Y. Khinchin (Khinchin, 1949) shows that other controllable integrals of the system, if they exist, must be taken into account. In the general case an isolated system can have another two vector controllable integrals. That is the total momentum of the system, and the total angular momentum relative to the system's mass centre. The total momentum is a sum of all momenta of particles. If the volume of the system is bounded by an external field or an envelope, the total momentum does not conserve. In the absence of external fields the total momentum conservation cannot make particle motions finite. Therefore the total momentum cannot be a controllable motion integral that determines the invariant set. The angular momentum is another case. A vector of angular momentum relative to the mass center always is conserved in an isolated system. If this vector is nonzero, a condition should exist that provides a limitation of a gas expansion area. For example, nebulas do not collapse because they rotate, and do not scatter because of the gravitation. In the system of charged particles in a uniform magnetic field the conservation of the angular momentum provides a limitation of a gas expansion area (confinement of plasma). If a gas system is enclosed into envelope, and total system has nonzero angular momentum, the vector of the angular momentum should be conserved. However an envelope can have the non-ideal form and surface. That is the cause of the failure to consider the angular momentum of the gas as a controllable motion integral (Fowler, & Guggenheim, 1939). But if the cylindrical envelope rotates and the gas rotates with the same angular velocity deviations of the angular momentum of the gas from the fixed value as the result of reflections of particles from the envelope should be small and symmetric with respect to a sign. These fluctuations are akin to energy fluctuations for a system that is in equilibrium with a thermostat. Therefore the angular momentum conservation in specific cases can determine the invariant set and the thermodynamical natures of the system together with the energy conservation. Taking into account all controllable motion integrals is the necessary condition of the validity of the Ergodic hypothesis (Khinchin, 1949). There is a contradiction in physics at the present time. Firstly, it has been proven that in the equilibrium state a system spin can exist only if the system is rigid and can rotate as a whole (Landau, & Lifshitz, E.M., 1980a). Therefore a gas, which supposed not be able to rotate as a whole, cannot have any angular momentum and spin. Based on this reasoning R.P. Feynman proves that an electron gas cannot have diamagnetism (the Bohr -van Leeuwen theorem) (Feynman, Leighton, & Sands, 1964). On the other hand, it is well known that density of a gas in a rotating centrifuge is non-uniform. This effect is used for the separation of isotopes (Cohen, 1951). The experiment by R. Tolman, described in the book (Pohl, 1960), is a proof of the existence of the electron gas angular momentum. In this experiment a coil was rotated and then sharply stopped. An electrical potential was observed that generated a moment of force, which decreased to zero the angular momentum of electron gas. The contradiction described above requires creation of statistical mechanics for non-rigid systems taking into account the nonzero angular momentum conservation. This statistical mechanics differs from common one in many respects. If the angular momentum relative to the axis that passes through the mass centre conserves, the system is spatially inhomogeneous. This means that passage to the thermodynamical limit makes no sense, a spatial part of the system is not a subsystem that similar to the total system, specific quantities such as densities or susceptibilities have no physical meaning. The microcanonical distribution is seldom used directly when the computations and the justifications of thermodynamics are done. The more usable Gibbs distribution can be deduced from microcanonical one (Krutkov, 1933;Zubarev, 1974). The Gibbs assembly describes a system that is in equilibrium with environment. These systems do not have motion integrals because they are non-isolated. All elements of the Gibbs assembly must have equal values of parameters that are determined by the equilibrium conditions. In usual thermodynamics this parameters are the temperature and the chemical potential. The physical interpretation of these parameters is getting by statistical mechanics. A rotating system can be in equilibrium only with rotating environment. The equilibrium condition in this case is apparent. That is equality of the both angular velocities of the system and of the environment. The Gibbs assembly density of distribution and thermodynamical functions in the case of a rotating classical system will be obtained in the second section of this work. It was done (Landau, & Lifshitz E.M., 1980a) but an object, to which this distribution is applied, is incomprehensible, because an angular velocity of an equilibrium gas has not been determined. In quantum statistical mechanics the invariant set is the linear manifold of the microscopic states of the system in which the commutative operators that correspond to the controllable motion integrals have fixed eigenvalues. The phase volume of system in this case is the dimension of the manifold, if this dimension is limited. It directly determines the number of distinguishable microstates of the system that are accessible and equiprobable. The role of the angular momentum conservation in quantum statistical mechanics is similar to one in classical statistical mechanics. The method of computing this phase volume will be also proposed in the second section of this work. The Gibbs assembly density of distribution and thermodynamical functions in the case of a rotating quantum system also will be obtained. In the third section of this work statistical mechanics of an electron gas in a magnetic field is considered. This question was investigated by many during the last century. Many hundreds experimental and theoretical works were summarized in the treatises (Lifshits, I.M. et al., 1973;Shoenberg, 1984). However, together with successful theoretical explanations of many experimental effects some paradoxes and discrepancies with observed facts remain unaccounted. "Finally, it is shown that the presence of free electrons, contrary to the generally adopted opinion, will not give rise to any magnetic properties of the metals". This sentence ends a short report on the presentation "Electron Theory of Metals" by N. Bohr, given at the meeting of the Philosophical Society at Cambridge. It was well-known that a charged particle in a uniform magnetic field moves in a circular orbit with fixed centre in such a way www.intechopen.com Thermodynamics -Interaction Studies -Solids, Liquids and Gases 448 that the time average value of the magnetic moment, generated by this motion, is directed opposite to the magnetic field and equal to the derivative of the kinetic energy with respect to the magnetic field. N. Bohr computed the magnetic moment of an electron gas by statistical mechanics with the density of distribution that is determined only by a Hamiltonian. Zero result of this theory (Bohr -van Leeuwen theorem) is the first paradox. Many attempts of derivation and explanation of this were summarized in the treatise (van Vleck, 1965). The most widespread explanation was that the magnetization generated by the electrons moving far from the bound is cancelled by the near-boundary electrons that reflect from the bound. But this explanation is not correct because, when formulae are derived in statistical mechanics, any peculiarities of the near-boundary states shall not be taken into account. Another paradox of the common theory went unnoticed. It is well known that a uniform magnetic field restricts an expanse of a charged particles gas in the plane perpendicular to the field. But from common statistical mechanics it follows that the gas uniformly fills all of the bounded area. The diamagnetism of some metals also was left nonexplained. L.D. Landau (Landau, 1930) explained the diamagnetism of metals as a quantum effect. He solved the quantum problem of an electron in a uniform magnetic field. The cross-section of the envelope perpendicular to the magnetic field is a rectangle with the sides 2 x L and 2 y L . The solutions are determined by three motion integrals.
. That agrees to the classical and paradoxical Bohr -van Leeuwen theorem. L.D. Landau uses the Euler -Maclaurin summation formula in the first order and obtains the amendment that depends on the magnetic field. In the limit 0 T  the thermodynamical potential has appearance (Abrikosov, 1972): It is suggested that the Fermi level is filled. In this case the magnetic moment does not depend not only on the Plank constant, but also on the number of the electrons. Therefore the fundamental formula for the thermodynamical potential is incorrect.
In the third section of this work the diamagnetism of an electron gas is investigated with taking into account the conservation of zero value of the total angular momentum in classical and quantum statistical mechanics. The paradoxes described above are eliminated; however many other theories should be reconsidered.

Statistical mechanics of rotating gas
For the computation of average values of macroscopic quantities it is necessary to derive a formula of the phase volume as a function of macroscopic parameters. This function is called "structural function" by Khinchin (Khinchin, 1949) and "number of accessible states (or complexions)" by Fowler (Fowler, & Guggenheim, 1939). It determines the normalizing factor in the probability density of the microcanonical distribution (1). In usual theory this function is essential to the derivation of formulae that connect statistical physics with thermodynamics.
The system that will be considered is a collection of N structureless particles. If forces of interaction between particles manifest themselves only at distances considerably smaller than the average distance between particles, the interaction energy of particles is essential only in a small fraction of the phase volume. Therefore, the interaction of particles can be neglected or be taken into account as a perturbation in calculating the phase volume and the average values (Uhlenbeck & Ford, 1963). Otherwise, if particles interact by a long-range force, this interaction needs to be considered using a mean field method. This is a model of an ideal gas under an external field. Meanwhile, this external field can be also a periodical crystal field. In the commonly considered cases the Hamiltonian and other phase functions of the system can be presented as the sum of identical terms, each of which depends on the coordinates and momenta of a single particle. Such phase function is said to be a summatory function. For integration characteristic functions over a phase space the method by Krutkov will be used. The main idea of this method is to make the Laplace transformation of the   function with respect the value of the summatory function. Then the product of the N like exponents from the terms of the summatory function would be integrated over variables of the phase space. The inverse transformation would be made by the saddle-point method with using the large parameter N . Let us write several equalities with a characteristic function. If the system can be divided into two independent subsystems described by non-overlapping groups of phase variables, so that Here the multiplier   1 ! N  is not taken into account because it cannot be introduced logically in classical statistical mechanics. Considering the fact that a density of distribution for a system is equal to the product of densities of distribution for subsystems, a conclusion is drawn in the treatise (Landau, & Lifshitz, E.M., 1980a) that the logarithm of the density of distribution should be an addit i v e m o t i o n i n t e g r a l a n d , h e n c e , i t s h o u l d b e a l i n e a r combination of the additive controllable motion integrals, such as the energy, the momentum and the angular momentum. However, as it follows from the formula (6) this is incorrect for the microcanonical distribution, since the logarithm of the characteristic function is meaningless. A system in a thermostat does not have any motion integrals. If the invariant set is determined by some conservation laws, its characteristic function is  x      12 , and the prevalent formula is correct.

Classical statistical thermodynamics of rotating gas
The formula for average values, when the conservation of the angular momentum is taken into account, has the form: In these formulae the axis Z is parallel to the angular momentum L . The angular momentum of the gas is    Ur z  is potential energy that confines the particles in bounded volume, and the second term of the Hamiltonian is the potential energy of the centrifugal force that leads to a collapse of rotating nebula into disk. This Hamiltonian is not a summatory function. Therefore the Krutkov's method cannot be used for the subsequent computations. Let us consider equilibrium of a gas with a rotating rigid body. The rigid body can be determined as the body in which the rotatory degree of freedom can not transfer energy and angular momentum to the internal degrees of freedom. This possibility arises when this body is a cylindrical rotating envelope with non-ideal surface filled by a gas. The state of the gas is characterized by two parameters: the temperature T and the angular velocity  . For introducing the statistical parameter that corresponds to the thermodynamical temperature it is necessary to deduce the canonical Gibbs distribution for a system that is in equilibrium with a thermostat. That can be done, for example, by a method developed by Krutkov (Krutkov, 1933;Zubarev,1974). The conditions of the equilibrium between the rotating envelope and the gas are apparent. Those are the equalities of the temperature and the angular velocity.Let us determine the angular velocity of a gas. An angular velocity of a particle is a stochastic quantity with an average value  . The sum That is the angular velocity of a gas. The conditions of the equilibrium between the rotating envelope and the gas are the equality of the temperatures and The total system can be considered as motionless if it will be described in the rotating reference frame, when the right part of the equality (11) is zero. The hollow cylinder is the envelope, the thermostat, and it keeps the gas spin. It should be named "termospinstat". !e x p d 22 The formulae of the isotopes separation (Cohen, 1951) can be obtained from the distribution (12) where 0 F -is the free energy of the ideal gas that does not rotate. Hence it follows that the parameters z h , 2 R , and correspondingly z P , S P should be introduced instead of the volume V and the pressure P . Other thermodynamical equations are changed also. The parameter of expansion in the formula (14) can be of the order of unity when 25 -1 10 kg, 1 m, 100 K, 100 s mT

Quantum statistical thermodynamics of rotating gas
The characteristic function of the invariant set that takes into account conservation of the angular momentum in quantum statistical mechanics can be presented as a set of diagonal elements of the operator: in the space of microstates of the system. Here is the operator of the total angular momentum of gas; E , L  are values of these quantities for the considered macroscopic state;  ,  are real numbers which will be defined below. As usually, let us assume that energies of one-particle states, and, hence, both eigenvalues of the operator Ĥ and gas energy E , are expressed by the dimensionless positive integers. This formula would be generalized by the transition to representation of secondary quantization. In this representation function of one-particle states are eigenfunctions of the one-particle Hamiltonian ˆi h and angular momentum. by multiplier that describes the conservation of the particle number. Then the measure of the invariant set for N -particle system is: Here the following variables are entered: Thus, integrals are rearranged into integrals along contours which enclose the origin of coordinates. If 0  L then the axis Z is parallel to the angular momentum L and 0, 0 L   . The lower operator or sign should be taken for the Bose statistics, and upper ones should be taken for the Fermi statistics. The expression of the measure of the invariant set in the case of quantum statistics is obtained from the apparent formula of the characteristic function (15). This expression is similar to the initial one in the Darwin -Fowler method (Fowler, & Guggenheim, 1939), where it was substantiated as a mathematical device . These contour integrals can be computed by the saddle-point method, when 0 L  . The saddle-points determine the values of ,,  . It can be shown that taking into account the conservation of the angular momentum does not change statistic mechanics of this model of an ideal gas when 0 L  . Let us describe a quantum gas in a termospinstat with the temperature T and the angular velocity  . The potential of the centrifugal force would be introduced in the Hamiltonian only in classical statistical mechanics (Landau, & Lifshitz, E.M., 1980a). Other method should be used for quantum theory. Wave functions in a system of reference that rotates with the angular velocity  depend on the time, and should be determined from the . Then the reference point of energy should be altered by this value. It conforms to the appearance of the centrifugal force potential in the classical system. Energies of states with 0 l  are lower than the ones of states with equal l and 0 l  . Then in the gas the part of particles with 0 l  should be more than half, and as result a circular current of the probability density should exist. This describes rotating of the system. With increasing argument modulus of extremes of the Bessel functions decrease. If the values of energy  and positive angular momentum are fixed the value of the null number  in the rotating system should be lower than this value in the motionless system. Therefore, the gas density increases with distance from the axis in rotating system.
If this result is compared with that of Eq. (14), it can be shown that amendments differ only by coefficients.

Statistical mechanics of electron gas in magnetic field
The review of the current status of this theory is in the paper (Vagner et al., 2006). There are some inaccuracies in this problem consideration besides disregard of the angular momentum conservation. To clarify the problem, in the first subsection we consider formulations of the one-particle problem in classical and quantum mechanics and its simplest application to the statistical mechanics. For simplicity, we will restrict ourselves to the case of a two-dimensional gas on a plane perpendicular to the uniform magnetic field   0,0,H  H . As will be shown the magnetization of electron gas is nonuniform. We will suppose that the magnetization is small as against the uniform field, and will not regard effect of it. Then magnetic induction H is proportional to the external magnetic field strength by the coefficient 0  . Where it is needed, we imply the plane to be of finite "thickness" z  , and, for example, the equations of electrodynamics are written for threedimensional space.

Two-dimensional electron ideal gas in uniform magnetic field
This problem traditionally is considered in quasiclassical theory (Lifshitz, I.M. et al., 1973;Shoenberg, 1984). Some corrections will be inserted in this consideration in the section 3.1.1.
In this section classical statistic mechanics of ideal gas will be discussed. In the next section the new correction will be obtained from the consistent quantum theory.
Statistical Mechanics That Takes into Account Angular Momentum Conservation Law -Theory and Application 455

Classical statistical mechanics of ideal gas in magnetic field
The Hamiltonian of an electron in a magnetic field has the form: where m and  e  are the mass and the charge of an electron, p is momentum, and A is vector potential of the magnetic field: This Hamiltonian does not have the translation symmetry. This symmetry, seemingly, should be, if the magnetic field is uniform at an unlimited plane. But a uniform magnetic field at unlimited plane is impossible because an electrical current that generates it according to Maxwell equation should envelope a part of this plane. It is asserted (Landau, & Lifshitz, E.M. 1980b;Vagner et al., 2006) that the Hamiltonian (21) and will have the translation symmetry in the direction of the axis X in return for axial symmetry. That is strange assertion because the symmetry is the physical property of the system rather than of a method of it description. In fact the transformation to the Hamiltonian (23)   is equivalent to this canonical transformation. The boundary is created by the line of intersection of the plane with a solenoid that generates the magnetic field. Electrons, orbits of which transverse this boundary, will be extruded from the area, and the gas will evaporate. The more realistic problem is gas in the area with a reflecting boundary.
An isolated electron has three motion integrals. Those are the angular momentum relative to the centre of area and two coordinates of the centre electron orbit: Two motion integrals that have the physical importance would be created from it: energy E and squared centre electron orbit distance from the centre of area 2 R : www.intechopen.com The first determination is valid for any negative charged particle with and without an external magnetic field. The second equality is valid when the vector potential has the form (22) Going to consideration of the ideal gas with electron-elektron collisions, let us suppose that the interaction does by a central force. Then total energy and angular momentum are conserved. It is generally believed that the area is filled by uniform and motionless positive charged background that neutralizes the electrostatic interaction. This assumption is inconsistently. If electron gas is in equilibrium with motionless background, its angular www.intechopen.com Statistical Mechanics That Takes into Account Angular Momentum Conservation Law -Theory and Application 457 momentum should be equal to zero. But then it should be nonuniform as is evident from the foregoing consideration. It should be regarded more comprehensively. Let us go to classical statistic mechanics for a gas of charged particles in magnetic field. The characteristic function of the total system (gas and background) is: Here the indexes g and b denote the quantities those relating to the gas and to the background, H is a Hamiltonian, E is the value of the total energy. To provide of Gibbs distribution for the gas it is needed to integrate the function    (Krutkov, 1933;Zubarev,1974) as form to the standard appearance the Hamiltonian of ideal gas that is collection of 1 N  particles in harmonic potential field is obtained. Obviously, that taking into account conservation of the zero value of the angular momentum eliminates the paradoxes that were mentioned at the Introduction. The magnetic moment is confined by the magnetic field. But that confinement provides to the inconsistency of the model that neglects of the electrostatic interaction because the uniform background cannot neutralize it. The model that regards this interaction will be considered below.

Quantum problem of electron in magnetic field at bounded area
The quasiclassical description of an electron in a magnetic field would not give the correct picture of the probability density distribution and the current density. It would not also describe the alternation of the energy spectrum when a perturbation does the classical www.intechopen.com Thermodynamics -Interaction Studies -Solids, Liquids and Gases 458 motion nonperiodical. But that problem in quantum mechanics also is considered insufficiently. As suggested in the paper (Vagner et al., 2006)  . The permissible values of  are determined by the boundary condition. In the common theory (Landau, & Lifshitz, E.M., 1980b;Vagner et al., 2006) that is normability of the eigenfunctions at an infinity plane. Then it www.intechopen.com where n is integer. There are two kinds of a degeneracy of energy levels of those Hamiltonians. The degeneracy of the first kind arise as result of the formulae: 0 21 r nn l   , and r nn l   when 0 l  . Every level is degenerated with multiplicity that equals to its number. The perturbation   Ur would be described as a power series without the linear term. Then the term that is proportional to 2 r in the spectrum of the Hamiltonian 0 h should change the distance between levels without elimination of the degeneration. In the spectrum of the Hamiltonian ĥ the level would be split. The other terms of potential field series eliminate the degeneration in the first order of the perturbation theory. The second kind of the degeneracy is inherent only to the spectrum of the Hamiltonian ĥ in absence of any perturbation. Every level is degenerated with infinity multiplicity because when 0 l  the energy value does not depend on l . At a bounded area the multiplicity would be limited but very large and would depend on the magnetic field. That will be shown below. This degeneration eliminates by any potential field. The modulo l would have many integer value, and when c lU l    , if that's possible at some l , the spectrum would be quasicontinuous.
That is essential because the explanations of many experimental effects rely on the discreteness of the Landau spectrum. In so doing ones do not study the model stability relative to the electrostatic interaction that is unavoidable perturbation. The other inconsistence of the common model is the large-scale negative total angular momentum of the ground state when all levels have the identical and large-scale multiplicity of degeneracy. Let us study the degeneration eliminating by the boundary condition (33)    scale value x . This null X tends to infinity when  tends to zero, and it would be shown . The quantum number of the energy n is equal to r n because when 0 l  the energy depends on l only by   , nl  . This number of the ordinary states is consistent with the estimate that was obtained in classic mechanics theory in section 3.1.1 and in the work (Landau, 1930). Those ordinary states are quasi degenerated. The multiplicity of this degeneration is proportional to the magnetic field.
Then the main term in the thermodynamical potential, as it was computed by Landau (Landau, 1930), should not depend on the magnetic field, and the Bohr -van Leeuwen theorem is vindicated. When 1 ll  and 0 l  the other nulls that are described by the formula (36) would satisfy the boundary condition. Those are the near-boundary states, and in this case are not restrictions on the values of  besides 0 1    . There are n near-boundary states.
In the section 3.2 it will be shown that for statistical mechanics of the electron gas in the zonules overlap, gaps in the spectrum disappear, and the number of states in the interval becomes less than 0 n , i.e., grows of the density of states is decelerated with energy increase. That is transitive area of energy. For higher values of energy not the greatest but other nulls, which are described by formula (36) where 2 r nn   and   is not described by the formula (39). They coincide with eigenvalues energy in a circular potential well with reflecting boundaries (see formula (19)). The spectrum becomes quasicontinuous as distances between the nearest levels are proportional to 2 R . The density of states does not depend on energy, as well as for twodimensional gas of free particles. The function (35) would be expanded in series over the Bessel functions (Erdélyi, 1953)  These results can be described as energy spectrum breakdown into two bands. A spectrum lower part is denoted as a magnetic band, and the upper one will be denoted as a conduction band. Bands are not separated by a gap or sharp boundary, but far from transitive area the density of states and wave functions differ substantially. Fine structure of the density of states in the lower part of magnetic band represents the narrow zonule separated by gaps. The total width of the allowed zonule and gap is equal to as would be expected from the quasiclassical consideration. Then the density of states will be continuous.

Statistical mechanics of electron gas in uniform magnetic field with regard for electrostatic interaction
The quantum-mechanical average value of the magnetic moment in the ordinary eigenstate of the Hamiltonian ĥ in absence of the potential energy   When this result is compared with the formula (42) it is apparent that the thermodynamical potential  is determined incorrectly. Let us obtain the density of distribution for an electron gas that is at equilibrium with thermostat, which is described by classical mechanics. The conservation of the zero value of the angular momentum also will be taken into account. The characteristic function of this system is: This formula is obtained on a basis of the properties of characteristic functions that was described in the formulae (6 -8), and the quantum characteristic function (see formula (15)).
Here E is a total energy, E is the energy of the electron gas, th H is the Hamiltonian of the thermostat that is a summatory function of the classical variables. Values of energy are expressed by the dimensionless positive integers, and the angular momentum is measured The quadratic term of the residual potential is of chief interest. Therefore the minimization would be performed in the quadratic approximation. The test function has the form: alter. Hence it should be considered separately. The electron gas always interacts with electromagnetic field that in the ordinary circumstance has zero temperature. This leads to the fact that the gas passes to the ground state by the spontaneous photon irradiation. The role of statistical mechanics is that it imposes a constraint on a value of the angular momentum in the ground state. The energy of the ground state with zero angular momentum would be computed by the spectrum of the one-particle states that was described in the previous subsection. The energy levels, the degeneracy multiplicity, and the boundary of the magnetic band are determined only the orbital motion. Then the energy of the magnetic band is: Here the first term is the energy of the electron gas in the absence of a magnetic field. The second term that makes the main addend in the magnetic moment is the product of the Fermi energy of the electron gas 0  and the additional term in it, which depends on the magnetic field (formula (56)). The third term in the formula (60)

Conclusion
The fundamental theory of statistical mechanics requires taking into account the law of the angular momentum conservation. The fulfilment of this requirement does not introduce any essential alterations into statistical thermodynamics, when the angular momentum of the system equal zero and the system Hamiltonian is a positive definite quadric form of all momenta. An equilibrium isolated system would have nonzero angular momentum only if an attraction of particles can resist centrifugal forces, as it is in nebulas. A gas can be in equilibrium with a rotating envelope that is a termospinstat. The condition of this equilibrium is the equality of the average value of sum of particles angular velocities to the angular velocity of the envelope. The Gibbs density of distribution and the thermodynamical functions are generalized for this case. If a system has the angular momentum equal to zero, the conservation of this value is important only when the Hamiltonian or/and an averaged quantity depend on the angular momentum. The problem of an electron gas in a uniform magnetic field is considered with taking into account the conservation of the zero value of the angular momentum. This consideration eliminates the paradoxical statement of the conventional theory that diamagnetic moment of the gas equals zero in classical as well as quantum physics (the Bohr -van Leeuwen theorem). The new formulae for the magnetic moment of the electron gas are obtained. It also leads to the effect of confinement of two-dimensional gas of charged particles by magnetic field. This results in effect of a non-uniform density of a gas, which decreases with distance from a center according both to classical as well as quantum theory. Then the model of noninteracting charged particles does not have areas of application. Many theories should be reconsidered, if they are founded on this model and on the statistical mechanics which does not take into account the angular momentum conservation law.