Ideal Gases and Their Processes
For air and most gases at everyday conditions, pressure, volume and temperature are tied together by . When a gas expands or is compressed, the work is the area under its path on a pressure-volume graph, and the shape of that path (which quantity is held fixed) decides how much.
What the symbols mean
- Absolute pressure
In kPa, measured from vacuum (not gauge pressure).
- Volume
In m³.
- Mass
In kg.
- Gas constant
Depends on the gas. Air: 0.287 kJ/(kg·K). Since kPa·m³ = kJ, the units work out.
- Absolute temperature
In kelvin: T(K) = T(°C) + 273.15.
What the symbols mean
- Boundary work
Work done by the gas as its boundary (a piston) moves. Positive for expansion, negative for compression.
- Starting volume
The volume at the start of the process.
- Final volume
The volume at the end.
What the symbols mean
- Polytropic exponent
Describes the path: 0 is constant pressure, 1 is constant temperature, γ (1.4 for air) is adiabatic, ∞ is constant volume.
- Constant
The same number at every point along the path, set by the starting state.
Explanation
An ideal gas is a gas whose molecules are so far apart that they basically ignore each other, and for those gases pressure, volume and temperature are locked together by one short rule, . Each piece is simple: (how hard the gas pushes on its container, per square meter), (how much room it has), (how much gas there is), (a constant that depends on which gas; for air it's 0.287 kJ/(kg·K)) and (the absolute temperature in kelvin). The word "ideal" doesn't mean perfect; it means the gas follows this simple rule, and air, nitrogen, oxygen and hot combustion gases all do at ordinary conditions. A process is just the path the gas takes from one state to another, and we name processes by what's held fixed along the way. It looks like a lot of cases, but they're all one idea with a dial; bear with it.
Units first. Use absolute pressure in kPa and temperature in kelvin, every time. With in m³ and in kJ/(kg·K), the product comes out in kPa·m³, which is exactly kJ. That's the neat accident that makes thermodynamics arithmetic work.
Where boundary work comes from. Picture gas in a cylinder pushing on a piston of area . The force is . If the piston slides out a tiny distance , the gas does work . But is exactly the extra volume the gas got. So a small bit of work is , and adding up all the small bits gives
That's the area under the process curve on a - diagram, the same "work is an integral" idea as in Work. When the gas expands () the work is positive; when it's compressed it's negative, and the area counts as work done on the gas. Notice that different paths between the same two states sweep different areas, which is the picture behind "work depends on the path" from the first law.
The four classic processes.
- Constant volume (isochoric). A rigid tank. , so , and every bit of heat goes into internal energy: .
- Constant pressure (isobaric). A piston with a fixed weight on it. , which by the gas law is . Then . That combination gets its own name, (air: 1.005 kJ/(kg·K)). It's bigger than because some of the heat leaks back out as work pushing the piston.
- Constant temperature (isothermal). Slow enough that heat keeps fixed. Then with a constant, and . Since doesn't change, and : every joule of work comes in as heat.
- Polytropic, . A family of curves that covers all of the above, with as a dial: is constant pressure, is isothermal, and as the curve becomes a vertical line, constant volume. Real compressors and engines usually land around to .
Polytropic work, derived. Write and integrate with the power rule:
Since at the end, , and likewise . So . At this divides by zero, which is why the isothermal case has its own log formula.
The adiabatic case: why . If no heat flows (fast, or well insulated), the first law in small steps says : the work done by the gas comes straight out of its internal energy. Take the differential of : . Substitute and multiply by :
Divide by and call : . That's a separable equation; integrating gives , which is . For air . Along any polytropic path you can trade for with the gas law, which gives the handy temperature relations
That's why a bicycle pump gets hot and why a diesel engine can light its fuel without a spark.
A common mistake. It's tempting to plug gauge pressure (what a tire gauge reads) or Celsius into because those are the numbers you're handed. They give nonsense: at 0 °C the law would say the gas has zero volume. Always add atmospheric pressure (about 101.3 kPa) to a gauge reading, and 273.15 to a Celsius temperature, before you use the gas law or any ratio like .
A second one. Isothermal doesn't mean "no heat". It means the opposite: to hold constant while the gas does work, heat has to flow in (expansion) or out (compression) the whole time.
There are two animations further down: one squeezes air along a polytropic path and shades the work as it goes, and one turns the dial so you can watch the curve and the work change together.
See it
Worked examples
A piston slowly compresses 0.05 kg of air at a constant 300 K from 100 kPa to 500 kPa. Find the starting and final volumes, the boundary work and the heat transfer. ( kJ/(kg·K).)
- 1
Find from the ideal gas law, solved for : m³.
Air at 100 kPa and 300 K is compressed from 0.5 m³ to 0.1 m³ along (the first animation). Find the final pressure, the boundary work and the final temperature.
- 1
Along the path is the same at both ends, so . Solve for : .
Practice
Type your answer and check it. Solve them all to complete the lesson.
A 0.8 m³ tank holds air at 400 kPa (absolute) and 27 °C. Find the mass of air, in kg, to 3 significant figures. ( kJ/(kg·K).)
Air in a cylinder expands at a constant 200 kPa from 0.05 m³ to 0.12 m³. Find the boundary work in kJ.
A rigid steel tank of air is heated from 300 K to 500 K. How much boundary work does the air do?
0.1 m³ of air at 800 kPa expands isothermally to 0.4 m³. Find the boundary work, in kJ, to 3 significant figures.
A diesel engine compresses air from 300 K with a compression ratio , quickly enough to treat it as adiabatic (). What is the air's temperature at the end of compression, in K?
Combustion gas expands in a cylinder along from 1500 kPa and 0.02 m³ to 0.1 m³. Find the boundary work in kJ, to 3 significant figures.
A gas is held under a spring-loaded piston, so its pressure rises linearly with volume: kPa. Find the work, in kJ, as it expands from m³ to m³.
The hardest one here. Get it, and you've got this lesson.
0.5 kg of air at 100 kPa and 300 K is compressed along to 800 kPa. Find the heat transfer in kJ (negative if heat leaves the air). Use and kJ/(kg·K).
Where it's used
Every air compressor, car engine and gas spring is designed with these curves. Compressor makers fit cooling fins and intercoolers to pull the polytropic exponent down toward 1, because the area under the curve, the work, is what the electric bill pays for. Engine designers read indicator diagrams (measured pressure versus cylinder volume) and integrate them to find the work per stroke. Divers' tank fill rates are limited because fast, nearly adiabatic filling heats the tank; once it cools, the pressure drops and the tank holds less air than the gauge first showed.