Ideal gas
An ideal gas is a theoretical gas composed of many randomly moving point particles that are not subject to interparticle interactions. The ideal gas concept is useful because it obeys the ideal gas law, a simplified equation of state, and is amenable to analysis under statistical mechanics.
In most usual conditions, most real gases behave qualitatively like an ideal gas. Many gases such as nitrogen, oxygen, hydrogen, noble gases, and some heavier gases like carbon dioxide can be treated like ideal gases within reasonable tolerances. Generally, a gas behaves more like an ideal gas at higher temperature and lower pressure, as the potential energy due to intermolecular forces becomes less significant compared with the particles' kinetic energy, and the size of the molecules becomes less significant compared to the empty space between them. One mole of an ideal gas has a capacity of 22.710947 litres at standard temperature and pressure as defined by IUPAC since 1982.
The ideal gas model tends to fail at lower temperatures or higher pressures, when intermolecular forces and molecular size becomes important. It also fails for most heavy gases, such as many refrigerants, and for gases with strong intermolecular forces, notably water vapor. At high pressures, the volume of a real gas is often considerably larger than that of an ideal gas. At low temperatures, the pressure of a real gas is often considerably less than that of an ideal gas. At some point of low temperature and high pressure, real gases undergo a phase transition, such as to a liquid or a solid. The model of an ideal gas, however, does not describe or allow phase transitions. These must be modeled by more complex equations of state. The deviation from the ideal gas behavior can be described by a dimensionless quantity, the compressibility factor,.
The ideal gas model has been explored in both the Newtonian dynamics and in quantum mechanics. The ideal gas model has also been used to model the behavior of electrons in a metal, and it is one of the most important models in statistical mechanics.
If the pressure of an ideal gas is reduced in a throttling process the temperature of the gas does not change.
Types of ideal gas
There are three basic classes of ideal gas:- the classical or Maxwell–Boltzmann ideal gas,
- the ideal quantum Bose gas, composed of bosons, and
- the ideal quantum Fermi gas, composed of fermions.
Classical thermodynamic ideal gas
The classical thermodynamic properties of an ideal gas can be described by two equations of state:Ideal gas law
The ideal gas law is the equation of state for an ideal gas, given by:where
- is the pressure
- is the volume
- is the amount of substance of the gas
- is the gas constant
- is the absolute temperature.
Real fluids at low density and high temperature approximate the behavior of a classical ideal gas. However, at lower temperatures or a higher density, a real fluid deviates strongly from the behavior of an ideal gas, particularly as it condenses from a gas into a liquid or as it deposits from a gas into a solid. This deviation is expressed as a compressibility factor.
This equation is derived from
- Boyle's law: ;
- Charles's law: ;
- Avogadro's law:.
That is:
Internal energy
The other equation of state of an ideal gas must express Joule's second law, that the internal energy of a fixed mass of ideal gas is a function only of its temperature. For the present purposes it is convenient to postulate an exemplary version of this law by writing:where
- is the internal energy
- is the dimensionless specific heat capacity at constant volume, approximately for a monatomic gas, for diatomic gas, and 3 for non-linear molecules if we ignore quantum vibrational contribution. These formulas arise from application of the classical Equipartition Theorem.
Microscopic model
In order to switch from macroscopic quantities to microscopic ones, we usewhere
- is the number of gas particles
- is the Boltzmann constant.
The ideal gas model depends on the following assumptions:
- The molecules of the gas are indistinguishable, small, hard spheres
- All collisions are elastic and all motion is frictionless
- Newton's laws apply
- The average distance between molecules is much larger than the size of the molecules
- The molecules are constantly moving in random directions with a distribution of speeds
- There are no attractive or repulsive forces between the molecules apart from those that determine their point-like collisions
- The only forces between the gas molecules and the surroundings are those that determine the point-like collisions of the molecules with the walls
- In the simplest case, there are no long-range forces between the molecules of the gas and the surroundings.
Heat capacity
The dimensionless heat capacity at constant volume is generally defined bywhere is the entropy. This quantity is generally a function of temperature due to intermolecular and intramolecular forces, but for moderate temperatures it is approximately constant. Specifically, the Equipartition Theorem predicts that the constant for a monatomic gas is = while for a diatomic gas it is = if vibrations are neglected. Since the heat capacity depends on the atomic or molecular nature of the gas, macroscopic measurements on heat capacity provide useful information on the microscopic structure of the molecules.
The dimensionless heat capacity at constant pressure of an ideal gas is:
where is the enthalpy of the gas.
Sometimes, a distinction is made between an ideal gas, where and could vary with temperature, and a perfect gas, for which this is not the case.
The ratio of the constant volume and constant pressure heat capacity is the adiabatic index
For air, which is a mixture of gases, this ratio is 1.4.
Entropy
Using the results of thermodynamics only, we can go a long way in determining the expression for the entropy of an ideal gas. This is an important step since, according to the theory of thermodynamic potentials, if we can express the entropy as a function of , volume and the number of particles, then we will have a complete statement of the thermodynamic behavior of the ideal gas. We will be able to derive both the ideal gas law and the expression for internal energy from it.Since the entropy is an exact differential, using the chain rule, the change in entropy when going from a reference state 0 to some other state with entropy may be written as where:
where the reference variables may be functions of the number of particles. Using the definition of the heat capacity at constant volume for the first differential and the appropriate Maxwell relation for the second we have:
Expressing in terms of as developed in the above section, differentiating the ideal gas equation of state, and integrating yields:
which implies that the entropy may be expressed as:
where all constants have been incorporated into the logarithm as which is some function of the particle number having the same dimensions as in order that the argument of the logarithm be dimensionless. We now impose the constraint that the entropy be extensive. This will mean that when the extensive parameters are multiplied by a constant, the entropy will be multiplied by the same constant. Mathematically:
From this we find an equation for the function
Differentiating this with respect to, setting equal to 1, and then solving the differential equation yields :
where may vary for different gases, but will be independent of the thermodynamic state of the gas. It will have the dimensions of. Substituting into the equation for the entropy:
and using the expression for the internal energy of an ideal gas, the entropy may be written:
Since this is an expression for entropy in terms of,, and, it is a fundamental equation from which all other properties of the ideal gas may be derived.
This is about as far as we can go using thermodynamics alone. Note that the above equation is flawed – as the temperature approaches zero, the entropy approaches negative infinity, in contradiction to the third law of thermodynamics. In the above "ideal" development, there is a critical point, not at absolute zero, at which the argument of the logarithm becomes unity, and the entropy becomes zero. This is unphysical. The above equation is a good approximation only when the argument of the logarithm is much larger than unity – the concept of an ideal gas breaks down at low values of. Nevertheless, there will be a "best" value of the constant in the sense that the predicted entropy is as close as possible to the actual entropy, given the flawed assumption of ideality. A quantum-mechanical derivation of this constant is developed in the derivation of the Sackur–Tetrode equation which expresses the entropy of a monatomic ideal gas. In the Sackur–Tetrode theory the constant depends only upon the mass of the gas particle. The Sackur–Tetrode equation also suffers from a divergent entropy at absolute zero, but is a good approximation for the entropy of a monatomic ideal gas for high enough temperatures.
An alternative way of expressing the change in entropy:
Thermodynamic potentials
Expressing the entropy as a function of,, and :The chemical potential of the ideal gas is calculated from the corresponding equation of state :
where is the Gibbs free energy and is equal to so that:
The chemical potential is usually referenced to the potential at some standard pressure Po so that, with :
For a mixture of ideal gases, each at partial pressure Pj, it can be shown that the chemical potential μj will be given by the above expression with the pressure P replaced by Pj.
The thermodynamic potentials for an ideal gas can now be written as functions of,, and as:
where, as before,
The most informative way of writing the potentials is in terms of their natural variables, since each of these equations can be used to derive all of the other thermodynamic variables of the system. In terms of their natural variables, the thermodynamic potentials of a single-species ideal gas are:
In statistical mechanics, the relationship between the Helmholtz free energy and the partition function is fundamental, and is used to calculate the thermodynamic properties of matter; see for more details.
Speed of sound
The speed of sound in an ideal gas is given by the Newton-Laplace formula:where the isentropic Bulk modulus.
For an isentropic process of an ideal gas,, therefore
Here,
Table of ideal gas equations
Ideal quantum gases
In the above-mentioned Sackur–Tetrode equation, the best choice of the entropy constant was found to be proportional to the quantum thermal wavelength of a particle, and the point at which the argument of the logarithm becomes zero is roughly equal to the point at which the average distance between particles becomes equal to the thermal wavelength. In fact, quantum theory itself predicts the same thing. Any gas behaves as an ideal gas at high enough temperature and low enough density, but at the point where the Sackur–Tetrode equation begins to break down, the gas will begin to behave as a quantum gas, composed of either bosons or fermions.Gases tend to behave as an ideal gas over a wider range of pressures when the temperature reaches the Boyle temperature.
Ideal Boltzmann gas
The ideal Boltzmann gas yields the same results as the classical thermodynamic gas, but makes the following identification for the undetermined constant :where is the thermal de Broglie wavelength of the gas and is the degeneracy of states.