Ideal Gases and First Law of Thermodynamics

Ideal Gas Law
For any ideal gas, the following equation shows the relation between its thermodynamic variables:
- P is the pressure of the gas in Pa
- V is the volume of the gas in m3
- n is the number of moles of the gas
- R is the gas constant and is equal to R=8.31446mol⋅KJ
- N is the number of atoms in the gas
- kB is the Boltzmann constant which is equal to:
- kB=NAR where NA is the Avogadro constant
- NA is the number of atoms in one mole of a given substance and is equal to NA=6.022×1023mol1

Example: Ideal Gases
A piston containing oxygen gas starts with state variables P1, V1, N, and T1. The piston expands slowly until it reaches a final volume V2 = 4V1 while maintaining the same temperature. Immediately after, the gas rapidly increases to a temperature of T3 = 1.1T1 but is no longer able to change in volume. What is the final pressure, P3?
Process 1 to 2: Isothermal : ΔT=T2−T1=0 p2=?V2=4V1
Process 2 to 3: Isochoric : T3=1.11 p3=? v=v2=4v1
To find p2 : p2v2=nRT2−nRT1=p1v1
∴p2=p1v2v1=41p1
To find p3 : p3v3=nRT3 p3=v3nRT3=41.1×v1nRT1=41.1p1=0.275p1

First Law of Thermodynamics
- Change in the internal thermal energy of the system is either due to heat exchange or work done on the gas or both:
ΔU=Q−W
- The internal thermal energy of an ideal gas is ONLY function of its temperature.
Important Note: How to find the sign of ∆U?
- ΔU>0 if ΔT>0 and ΔU<0 if ∆T<0
- Q>0 if the heat is added to the gas
- Q<0 if the heat is removed from the gas
- W>0 if the work is done by the gas
- W<0 if the work is done on the gas