Ideal gas law explained

The ideal gas law, also called the general gas equation, is the equation of state of a hypothetical ideal gas. It is a good approximation of the behavior of many gases under many conditions, although it has several limitations. It was first stated by Benoît Paul Émile Clapeyron in 1834 as a combination of the empirical Boyle's law, Charles's law, Avogadro's law, and Gay-Lussac's law.[1] The ideal gas law is often written in an empirical form:

pV = nRTwhere

p

,

V

and

T

are the pressure, volume and temperature respectively;

n

is the amount of substance; and

R

is the ideal gas constant.It can also be derived from the microscopic kinetic theory, as was achieved (apparently independently) by August Krönig in 1856[2] and Rudolf Clausius in 1857.[3]

Equation

The state of an amount of gas is determined by its pressure, volume, and temperature. The modern form of the equation relates these simply in two main forms. The temperature used in the equation of state is an absolute temperature: the appropriate SI unit is the kelvin.[4]

Common forms

The most frequently introduced forms are:pV = nRT = n k_\text N_\text T = N k_\text T where:

p

is the absolute pressure of the gas,

V

is the volume of the gas,

n

is the amount of substance of gas (also known as number of moles),

R

is the ideal, or universal, gas constant, equal to the product of the Boltzmann constant and the Avogadro constant,

kB

is the Boltzmann constant,

NA

is the Avogadro constant,

T

is the absolute temperature of the gas,

N

is the number of particles (usually atoms or molecules) of the gas.

In SI units, p is measured in pascals, V is measured in cubic metres, n is measured in moles, and T in kelvins (the Kelvin scale is a shifted Celsius scale, where 0.00 K = −273.15 °C, the lowest possible temperature). R has for value 8.314 J/(mol·K) = 1.989 ≈ 2 cal/(mol·K), or 0.0821 L⋅atm/(mol⋅K).

Molar form

How much gas is present could be specified by giving the mass instead of the chemical amount of gas. Therefore, an alternative form of the ideal gas law may be useful. The chemical amount, n (in moles), is equal to total mass of the gas (m) (in kilograms) divided by the molar mass, M (in kilograms per mole):

n=

m
M

.

By replacing n with m/M and subsequently introducing density ρ = m/V, we get:

pV=

m
M

RT

p=

m
V
RT
M

p=\rho

R
M

T

Defining the specific gas constant Rspecific as the ratio R/M,

p=\rhoRspecificT

This form of the ideal gas law is very useful because it links pressure, density, and temperature in a unique formula independent of the quantity of the considered gas. Alternatively, the law may be written in terms of the specific volume v, the reciprocal of density, as

pv=RspecificT.

It is common, especially in engineering and meteorological applications, to represent the specific gas constant by the symbol R. In such cases, the universal gas constant is usually given a different symbol such as

\barR

or

R*

to distinguish it. In any case, the context and/or units of the gas constant should make it clear as to whether the universal or specific gas constant is being used.[5]

Statistical mechanics

In statistical mechanics, the following molecular equation is derived from first principles

P=nkBT,

where is the absolute pressure of the gas, is the number density of the molecules (given by the ratio, in contrast to the previous formulation in which is the number of moles), is the absolute temperature, and is the Boltzmann constant relating temperature and energy, given by:

kB=

R
NA

where is the Avogadro constant.

From this we notice that for a gas of mass, with an average particle mass of times the atomic mass constant,, (i.e., the mass is  Da) the number of molecules will be given by

N=

m
\mumu

,

and since, we find that the ideal gas law can be rewritten as

P=

1
V
m
\mumu

kBT=

kB
\mumu

\rhoT.

In SI units, is measured in pascals, in cubic metres, in kelvins, and in SI units.

Combined gas law

Combining the laws of Charles, Boyle and Gay-Lussac gives the combined gas law, which takes the same functional form as the ideal gas law says that the number of moles is unspecified, and the ratio of

PV

to

T

is simply taken as a constant:[6]
PV
T

=k,

where

P

is the pressure of the gas,

V

is the volume of the gas,

T

is the absolute temperature of the gas, and

k

is a constant. When comparing the same substance under two different sets of conditions, the law can be written as
P1V1
T1

=

P2V2
T2

.

Energy associated with a gas

According to the assumptions of the kinetic theory of ideal gases, one can consider that there are no intermolecular attractions between the molecules, or atoms, of an ideal gas. In other words, its potential energy is zero. Hence, all the energy possessed by the gas is the kinetic energy of the molecules, or atoms, of the gas.

E=3
2

nRT

This corresponds to the kinetic energy of n moles of a monoatomic gas having 3 degrees of freedom; x, y, z. The table here below gives this relationship for different amounts of a monoatomic gas.

Energy of a monoatomic gasMathematical expression
Energy associated with one mole
E=3
2

RT

Energy associated with one gram
E=3
2

rT

Energy associated with one atom
E=3
2

kBT

Applications to thermodynamic processes

The table below essentially simplifies the ideal gas equation for a particular processes, thus making this equation easier to solve using numerical methods.

A thermodynamic process is defined as a system that moves from state 1 to state 2, where the state number is denoted by subscript. As shown in the first column of the table, basic thermodynamic processes are defined such that one of the gas properties (P, V, T, S, or H) is constant throughout the process.

For a given thermodynamics process, in order to specify the extent of a particular process, one of the properties ratios (which are listed under the column labeled "known ratio") must be specified (either directly or indirectly). Also, the property for which the ratio is known must be distinct from the property held constant in the previous column (otherwise the ratio would be unity, and not enough information would be available to simplify the gas law equation).

In the final three columns, the properties (p, V, or T) at state 2 can be calculated from the properties at state 1 using the equations listed.

ProcessConstantKnown ratio or deltap2V2T2
Isobaric processPressureV2/V1p2 = p1V2 = V1(V2/V1)T2 = T1(V2/V1)
T2/T1p2 = p1V2 = V1(T2/T1)T2 = T1(T2/T1)
Isochoric process
(Isovolumetric process)
(Isometric process)
Volumep2/p1p2 = p1(p2/p1)V2 = V1T2 = T1(p2/p1)
T2/T1p2 = p1(T2/T1)V2 = V1T2 = T1(T2/T1)
Isothermal process Temperature p2/p1p2 = p1(p2/p1)V2 = V1(p1/p2)T2 = T1
V2/V1p2 = p1(V1/V2)V2 = V1(V2/V1)T2 = T1
Isentropic process
(Reversible adiabatic process)
p2/p1p2 = p1(p2/p1)V2 = V1(p2/p1)(−1/γ)T2 = T1(p2/p1)(γ − 1)/γ
V2/V1p2 = p1(V2/V1)−γV2 = V1(V2/V1)T2 = T1(V2/V1)(1 − γ)
T2/T1p2 = p1(T2/T1)γ/(γ − 1)V2 = V1(T2/T1)1/(1 − γ) T2 = T1(T2/T1)
Polytropic processP Vnp2/p1p2 = p1(p2/p1)V2 = V1(p2/p1)(−1/n)T2 = T1(p2/p1)(n − 1)/n
V2/V1p2 = p1(V2/V1)nV2 = V1(V2/V1)T2 = T1(V2/V1)(1 − n)
T2/T1p2 = p1(T2/T1)n/(n − 1)V2 = V1(T2/T1)1/(1 − n) T2 = T1(T2/T1)
Isenthalpic process
(Irreversible adiabatic process)
p2 − p1p2 = p1 + (p2 − p1)T2 = T1 + μJT(p2 − p1)
T2 − T1p2 = p1 + (T2 − T1)/μJTT2 = T1 + (T2 − T1)

a. In an isentropic process, system entropy (S) is constant. Under these conditions, p1V1γ = p2V2γ, where γ is defined as the heat capacity ratio, which is constant for a calorifically perfect gas. The value used for γ is typically 1.4 for diatomic gases like nitrogen (N2) and oxygen (O2), (and air, which is 99% diatomic). Also γ is typically 1.6 for mono atomic gases like the noble gases helium (He), and argon (Ar). In internal combustion engines γ varies between 1.35 and 1.15, depending on constitution gases and temperature.

b. In an isenthalpic process, system enthalpy (H) is constant. In the case of free expansion for an ideal gas, there are no molecular interactions, and the temperature remains constant. For real gasses, the molecules do interact via attraction or repulsion depending on temperature and pressure, and heating or cooling does occur. This is known as the Joule–Thomson effect. For reference, the Joule–Thomson coefficient μJT for air at room temperature and sea level is 0.22 °C/bar.[7]

Deviations from ideal behavior of real gases

The equation of state given here (PV = nRT) applies only to an ideal gas, or as an approximation to a real gas that behaves sufficiently like an ideal gas. There are in fact many different forms of the equation of state. Since the ideal gas law neglects both molecular size and intermolecular attractions, it is most accurate for monatomic gases at high temperatures and low pressures. The neglect of molecular size becomes less important for lower densities, i.e. for larger volumes at lower pressures, because the average distance between adjacent molecules becomes much larger than the molecular size. The relative importance of intermolecular attractions diminishes with increasing thermal kinetic energy, i.e., with increasing temperatures. More detailed equations of state, such as the van der Waals equation, account for deviations from ideality caused by molecular size and intermolecular forces.

Derivations

Empirical

The empirical laws that led to the derivation of the ideal gas law were discovered with experiments that changed only 2 state variables of the gas and kept every other one constant.

All the possible gas laws that could have been discovered with this kind of setup are:

where P stands for pressure, V for volume, N for number of particles in the gas and T for temperature; where

C1,C2,C3,C4,C5,C6

are constants in this context because of each equation requiring only the parameters explicitly noted in them changing.

To derive the ideal gas law one does not need to know all 6 formulas, one can just know 3 and with those derive the rest or just one more to be able to get the ideal gas law, which needs 4.

Since each formula only holds when only the state variables involved in said formula change while the others (which are a property of the gas but are not explicitly noted in said formula) remain constant, we cannot simply use algebra and directly combine them all. This is why: Boyle did his experiments while keeping N and T constant and this must be taken into account (in this same way, every experiment kept some parameter as constant and this must be taken into account for the derivation).

Keeping this in mind, to carry the derivation on correctly, one must imagine the gas being altered by one process at a time (as it was done in the experiments). The derivation using 4 formulas can look like this:

at first the gas has parameters

P1,V1,N1,T1

Say, starting to change only pressure and volume, according to Boyle's law, then:After this process, the gas has parameters

P2,V2,N1,T1

Using then equation to change the number of particles in the gas and the temperature,After this process, the gas has parameters

P2,V2,N2,T2

Using then equation to change the pressure and the number of particles,After this process, the gas has parameters

P3,V2,N3,T2

Using then Charles's law (equation 2) to change the volume and temperature of the gas,After this process, the gas has parameters

P3,V3,N3,T3

Using simple algebra on equations,, and yields the result:\frac = \frac or \frac = k_\text, where

kB

stands for the Boltzmann constant.

Another equivalent result, using the fact that

nR=NkB

, where n is the number of moles in the gas and R is the universal gas constant, is:PV = nRT, which is known as the ideal gas law.

If three of the six equations are known, it may be possible to derive the remaining three using the same method. However, because each formula has two variables, this is possible only for certain groups of three. For example, if you were to have equations, and you would not be able to get any more because combining any two of them will only give you the third. However, if you had equations, and you would be able to get all six equations because combining and will yield, then and will yield, then and will yield, as well as would the combination of and as is explained in the following visual relation:

where the numbers represent the gas laws numbered above.

If you were to use the same method used above on 2 of the 3 laws on the vertices of one triangle that has a "O" inside it, you would get the third.

For example:

Change only pressure and volume first:

then only volume and temperature:

then as we can choose any value for

V3

, if we set

V1=V3

, equation becomes:

combining equations and yields

P1
T1

=

P2
T2
, which is equation, of which we had no prior knowledge until this derivation.

Theoretical

Kinetic theory

See main article: Kinetic theory of gases.

The ideal gas law can also be derived from first principles using the kinetic theory of gases, in which several simplifying assumptions are made, chief among which are that the molecules, or atoms, of the gas are point masses, possessing mass but no significant volume, and undergo only elastic collisions with each other and the sides of the container in which both linear momentum and kinetic energy are conserved.

First we show that the fundamental assumptions of the kinetic theory of gases imply that

PV=

1
3
2.
Nmv
rms

Consider a container in the

xyz

Cartesian coordinate system. For simplicity, we assume that a third of the molecules moves parallel to the

x

-axis, a third moves parallel to the

y

-axis and a third moves parallel to the

z

-axis. If all molecules move with the same velocity

v

, denote the corresponding pressure by

P0

. We choose an area

S

on a wall of the container, perpendicular to the

x

-axis. When time

t

elapses, all molecules in the volume

vtS

moving in the positive direction of the

x

-axis will hit the area. There are

NvtS/V

molecules in a part of volume

vtS

of the container, but only one sixth (i.e. a half of a third) of them moves in the positive direction of the

x

-axis. Therefore, the number of molecules

N'

that will hit the area

S

when the time

t

elapses is

NvtS/(6V)

.

When a molecule bounces off the wall of the container, it changes its momentum

p1

to

p2=-p1

. Hence the magnitude of change of the momentum of one molecule is

|p2-p1|=2mv

. The magnitude of the change of momentum of all molecules that bounce off the area

S

when time

t

elapses is then

|\Deltap|=2mvN'=NtSmv2/(3V)

. From

F=|\Deltap|/t

and

P0=F/S

we get
PNm
0=1
3
v2
V

.

We considered a situation where all molecules move with the same velocity

v

. Now we consider a situation where they can move with different velocities, so we apply an "averaging transformation" to the above equation, effectively replacing

P0

by a new pressure

P

and

v2

by the arithmetic mean of all squares of all velocities of the molecules, i.e. by
2.
v
rms
Therefore
P=1Nm
3
2
v
rms
V
which gives the desired formula.

Using the Maxwell–Boltzmann distribution, the fraction of molecules that have a speed in the range

v

to

v+dv

is

f(v)dv

, where

f(v)=4\pi\left(

m
2\pikT
3
2
\right)

v2

-mv2
2kT
e
and

k

denotes the Boltzmann constant. The root-mean-square speed can be calculated by
2
v
rms

=

infty
\int
0

v2f(v)dv=4\pi\left(

m
2\pikT
3
2
\right)
infty
\int
0

v4

-mv2
2kT
e

dv.

Using the integration formula

infty
\int
0

x2n

-x2
a2
e

dx=\sqrt{\pi}

(2n)!\left(
n!
a
2

\right)2n+1,n\inN,a\inR+,

it follows that
2
v
rms

=4\pi\left(

m
2\pikT
3
2
\right)

\sqrt{\pi}

4!\left(
2!
\sqrt{2kT
m
}\right)^ = \frac,from which we get the ideal gas law:

PV=

1Nm\left(
3
3kT
m

\right)=NkT.

Statistical mechanics

See main article: Statistical mechanics.

Let q = (qx, qy, qz) and p = (px, py, pz) denote the position vector and momentum vector of a particle of an ideal gas, respectively. Let F denote the net force on that particle. Then (two times) the time-averaged kinetic energy of the particle is:

\begin{align} \langleqF\rangle &=\left\langleqx

dpx
dt

\right\rangle+ \left\langleqy

dpy
dt

\right\rangle+ \left\langleqz

dpz
dt

\right\rangle\\ &=-\left\langleqx

\partialH
\partialqx

\right\rangle- \left\langleqy

\partialH
\partialqy

\right\rangle- \left\langleqz

\partialH
\partialqz

\right\rangle=-3kBT, \end{align}

where the first equality is Newton's second law, and the second line uses Hamilton's equations and the equipartition theorem. Summing over a system of N particles yields

3NkBT=-\left\langle

N
\sum
k=1

qkFk\right\rangle.

By Newton's third law and the ideal gas assumption, the net force of the system is the force applied by the walls of the container, and this force is given by the pressure P of the gas. Hence

N
-\left\langle\sum
k=1

qkFk\right\rangle=P\ointsurfaceqdS,

where dS is the infinitesimal area element along the walls of the container. Since the divergence of the position vector q is

\nablaq=

\partialqx+
\partialqx
\partialqy+
\partialqy
\partialqz
\partialqz

=3,

the divergence theorem implies that

P\ointsurfaceqdS =P\intvolume\left(\nablaq\right)dV =3PV,

where dV is an infinitesimal volume within the container and V is the total volume of the container.

Putting these equalities together yields

3NkBT=-\left\langle

N
\sum
k=1

qkFk\right\rangle=3PV,

which immediately implies the ideal gas law for N particles:

PV=NkBT=nRT,

where n = N/NA is the number of moles of gas and R = NAkB is the gas constant.

Other dimensions

For a d-dimensional system, the ideal gas pressure is:[8]

P(d)=

NkBT
Ld

,

where

Ld

is the volume of the d-dimensional domain in which the gas exists. The dimensions of the pressure changes with dimensionality.

See also

Further reading

External links

Notes and References

  1. Clapeyron, E. . Benoît Paul Émile Clapeyron . 1835 . Mémoire sur la puissance motrice de la chaleur . . XIV . 153–90. fr. Facsimile at the Bibliothèque nationale de France (pp. 153–90).
  2. Krönig, A. . August Krönig . 1856 . Grundzüge einer Theorie der Gase . . 99 . 315–22 . 10.1002/andp.18561751008. 1856AnP...175..315K . 10 . de. Facsimile at the Bibliothèque nationale de France (pp. 315–22).
  3. Clausius, R. . Rudolf Clausius . 1857 . Ueber die Art der Bewegung, welche wir Wärme nennen . . 176 . 353–79 . 10.1002/andp.18571760302. 1857AnP...176..353C . 3 . de. Facsimile at the Bibliothèque nationale de France (pp. 353–79).
  4. Web site: Equation of State. 2010-08-29. https://web.archive.org/web/20140823003747/http://www.grc.nasa.gov/WWW/k-12/airplane/eqstat.html. 2014-08-23. dead.
  5. Book: Moran . Shapiro . Fundamentals of Engineering Thermodynamics . Wiley . 4th . 2000 . 0-471-31713-6 .
  6. Book: Raymond . Kenneth W. . General, organic, and biological chemistry : an integrated approach . John Wiley & Sons . 9780470504765 . 186 . 3rd . 2010. 29 January 2019.
  7. 1084398. The Joule-Thomson Effect in Air. Proceedings of the National Academy of Sciences of the United States of America. 12. 1. 55–58 . J. R. Roebuck. 1926. 1926PNAS...12...55R. 10.1073/pnas.12.1.55. 16576959. free.
  8. Khotimah . Siti Nurul . Viridi . Sparisoma . 2011-06-07 . Partition function of 1-, 2-, and 3-D monatomic ideal gas: A simple and comprehensive review . Jurnal Pengajaran Fisika Sekolah Menengah . 2 . 2 . 15–18 . 1106.1273 . 2011arXiv1106.1273N.