Derivation of PV=nRT, The Equation of Ideal Gas


According to the kinetic theory of gas,

– Gases are composed of very small molecules and their number of molecules is very large.
– These molecules are elastic.
– They are negligible size compare to their container.
– Their thermal motions are random.

To begin, let’s visualize a rectangular box with length L, areas of ends A1 and A2. There is a single molecule with speed vx traveling left and right to the end of the box by colliding with the end walls.

3D Demonstration of Ideal Gas
3D Demonstration of Ideal Gas

The time between collisions with the wall is the distance of travel between wall collisions divided by the speed.

1. t=\frac{2L}{v_x}

The frequency of collisions with the wall in collisions per second is

2. f=\frac{1}{t}=\frac{1}{2L/v_x}=\frac{v_x}{2L}

According to Newton, force is the time rate of change of the momentum

3. F=\frac{dp}{dt}=ma

The momentum change is equal to the momentum after collision minus the momentum before collision. Since we consider the momentum after collision to be mv, the momentum before collision should be in opposite direction and therefore equal to –mv.

4. \Delta{p}=mv_x-(-mv_x)=2mv_x

According to equation #3, force is the change in momentum \Delta{p} divided by change in time \Delta {t}.  To get an equation of average force \overline{F} in term of particle velocity v_x, we take change in momemtum \Delta{p} multiply by the frequency f from equation #2. 

5. \overline{F}=\Delta{p}(f)=2mv(\frac{v_x}{2L})=\frac{mv_x^2}{L}

The pressure, P, exerted by a single molecule is the average force per unit area, A. Also V=AL which is the volume of the rectangular box.

6. P_{1\:Molecule}=\frac{\overline{F}}{A}=(\frac{mv_x^2}{L})/A=\frac{mv_x^2}{LA}=\frac{mv_x^2}{V}

Let’s say that we have N molecules of gas traveling on the x-axis. The pressure will be

7. P_{N\:Molecules}=\frac{m}{V}(v_{x_1}^2+v_{x_2}^2+v_{x_3}^2....+v_{x_N}^2)=\sum_{a=0}^{N}\frac{mv_{x_a}^2}{V}

To simplify the situation we will take the mean square speed of N number of molecules instead of summing up individual molecules. Therefore, equation #7 will become

8. P_{N\:Particles}=\frac{Nm\overline{v_x^2}}{V}

Earlier we are trying to simplify the situation by only considering that a molecule with mass m is traveling on the x axis.  However, the real world is much more complicated than that. To make a more accurate derivation we need to account all 3 possible components of the particle’s speed, vx, vy and vz.

9. \overline{v^2}=\overline{v^2_x}+\overline{v^2_y}+\overline{v^2_z}

Since there are a large number of molecules we can assume that there are equal numbers of molecules moving in each of co-ordinate directions.

10. \overline{v^2_x}=\overline{v^2_y}=\overline{v^2_z}

Because the molecules are free too move in three dimensions, they will hit the walls in one of the three dimensions one third as often. Our final pressure equation becomes 

11. P=\frac{Nm\overline{v^2}}{3V}

However to simplify the equation further, we define the temperature, T, as a measure of thermal motion of gas particles because temperature is much easier to measure than the speed of the particle. The only energy involve in this model is kinetic energy and this kinetic enery is proportional to the temperature T. 

12. E_{kinetic}=\frac{mv^2}{2}\propto{T}

To combine the equation #11 and #12 we solve kinetic energy equation #12 for mv2

13. mv^2=2E_{kinetic}\Rightarrow\frac{mv^2}{3}=\frac{2E_{kinetic}}{3}

Since the temperature can be obtained easily with simple daily measurement like a thermometer, we will now replace the result of kinetic equation #13 with with a constant R times the temperature, T. Again, since T is proportional to the kinentic energy it is logical to say that T times k is equal to the kinetic energy E. k, however, will currently remains unknown.

14. kT=\frac{mv^2}{3}=\frac{2E_{kinetic}}{3}

Combining equation #14 with #11, we get:

15. P=\frac{N}{V}\frac{m\overline{v^2}}{3}=\frac{N}{V}\frac{2E_{kinetic}}{3}=\frac{N}{V}kT=\frac{NkT}{V}

Because a molecule is too small and therefore impractical we will take the number of molecules, N and divide it by the Avogadro’s number, NA= 6.0221 x 1023/mol to get n (the number of moles)

16. n=\frac{N}{N_a}

Since N is divided by Na, k must be multiply by Na to preserve the original equation. Therefore, the constant R is created.

17. R=N_ak

Now we can achieve the final equation by replacing N (number of melecules) with n (number of moles) and k with R. 

17. P=\frac{nRT}{V}\Rightarrow{PV=nRT}

Calculation of R & k

According to numerous tests and observations, one mole of gas is a 22.4 liter vessel at 273K exerts a pressure of 1.00 atmosphere (atm). From the ideal gas equation above:

A. R = \frac{PV}{nT}

B. R=\frac{(1 atm)(22.4L)}{(1 mol)(273K)}=0.082\frac{Latm}{molK}

C. k=\frac{R}{N_a}\Rightarrow{k=\frac{0.082 Latm/molK}{6.0221 x 10^{23}/mol}}=1.3806504 x 10^{-25}\frac{Latm}{K}

Sources:
1. Significant of PV=nRT
2. Kinetic Theory of Gas


15 responses to “Derivation of PV=nRT, The Equation of Ideal Gas”

  1. Thanks for posting this.

    The model does not account for directions other than x, y and z, that is at various angles to the planes of the box. I assume that the model boils down to the results of a more rigorous vectorial analysis, but I cannot see it intuitively.

    Comments/reply would be appreciated.

  2. A nice explanation. But I think there is assumption that the molecules move in the th eeraxes :cxy,z. We need to make some adjustments.

  3. the equation is quite clear and correct to the point. however it should be known to the reader that assumptions are made that
    1. the molecules of the gas occupy negligible volume.
    2. the pressure due to attraction between the molecules is negligible.
    The solutions to gases using this formula and when the correction term is used are relatively similar. there is only an error of atmost 4% with most calculations. This a nice derivation!

Leave a Reply

Your email address will not be published. Required fields are marked *