Why gas can do work without changing temperature
Gas pushes a piston outward and lifts a load, delivering energy as work. If temperature nevertheless remains constant, energy must enter during an appropriate isothermal expansion. The first law explains this heat transfer; the gas equation supplies the pressure curve for the reversible model path.[1][2]
Isothermal specifies the temperature condition. Reversible additionally specifies an ideal limiting process without dissipative losses and with vanishingly small driving differences. Rapid expansion against a fixed external pressure can reach the same endpoints without delivering the same work.[1]
The logarithmic work formula requires a closed ideal gas sample of fixed composition, positive constant absolute temperature and reversible volume work. Work is positive when the gas delivers it to the surroundings. This sign convention remains unchanged during compression.[1]
Which work sign applies to reversible isothermal expansion and compression?
Expansion gives positive work by the gas; reversible compression has negative sign.[1]
n is fixed amount, T constant absolute gas temperature, and V actual accessible gas volume. Vi and Vf must use the same unit. A litre ratio is therefore valid, whereas individual litres in pV with pascals require conversion. With work on the gas positive, the same transfer is .[1]
From moving piston to logarithm
Pressure decreases during expansion. Multiplying initial pressure by the whole volume change therefore overestimates reversible work. Divide the path into small volume steps, add the contributions , and take the integral.[1]
In the reversible frictionless limit, internal pressure and external load differ only infinitesimally.[1]
External load determines actual piston work delivered outward. Only mechanical quasistatics without dissipative loads permits replacing it by equilibrium gas pressure. Ideal equation of state and constant T give ; integrating gives the natural logarithm. Quasistatic means slow enough for defined states, but alone does not guarantee reversibility in the presence of friction.[1]
Equal endpoints, different work areas
Free with a Quanta account. Your download stays ready after registration.
Heat replaces delivered energy
This concerns fixed n of an ideal gas in a closed system without bulk kinetic or external potential-energy change and without additional work modes.[2][3]
For fixed composition, ideal U depends only on T, not volume. During reversible isothermal expansion the gas continually absorbs heat to replace delivered work. Adiabatic expansion is therefore not an interchangeable path. Entropy is a state property: the same change can occur along an irreversible path with different heat and additional generation. The first law of thermodynamics checks this process balance using the same work convention throughout.[2][3]
Three examples with different paths
Triple volume in a reversible comparison
- Given
- , , , . Closed ideal gas in a reversible isothermal frictionless piston process.
- Find
- Find work, heat and endpoint pressures.
Approach: The comparison path is reversible and isothermal. . Find energy scale and ratio.
Evaluate the integral.
Convert litres for pressure calculation.
Result: The gas delivers about 986.51 J of work and absorbs the same heat. ; absolute pressure falls to one third.
Check: The area lies between the final-pressure rectangle of 598.64 J and the initial-pressure rectangle of 1795.92 J. Also, . The geometric and entropy checks agree.
The same endpoints against constant external load
- Given
- The same amount and endpoint states as above. Constant external pressure . A 360 K heat bath establishes the same final temperature. No other work; external energies agree initially and finally.
- Find
- Calculate actual work and total entropy change.
Approach: Actual constant external load determines the work. . Integrate actual load rather than reversible gas-pressure curve.
Equal ideal endpoint T gives .
Add gas state change and bath.
Result: The finite step delivers about 598.64 J instead of 986.51 J and generates 1.07742 J/K total entropy.
Check: Gas endpoints and ΔSgas are identical. A well-defined T at every transient instant is not asserted; constant load determines work and the complete endpoint balance determines Q.
In the following compression, internal energy of the closed ideal gas remains unchanged. Work input and heat rejection must therefore balance.[1][2]
Compression: where does the input work go?
- Given
- , , , . Closed ideal gas, reversible isothermal compression, no changes in external energies.
- Find
- Find work by the gas, work on the gas and heat.
Approach: the volume ratio is below one, making its natural logarithm negative. For the unchanged ideal gas, equal temperature means equal internal energy.
Substitute: both volumes can remain in litres within the ratio.
Result: About 369 J of work is done on the gas, and it rejects the same energy as heat.
Check: Check: . On the reversible return at the same temperature, the logarithm takes the reciprocal argument and work reverses sign. Without heat rejection this compression would not be isothermal.
Isothermal does not guarantee logarithmic work
For free expansion into vacuum, and . An isolated rigid assembly also has ; ideal equilibrium endpoints have equal T. Gas entropy nevertheless increases. The real evolution can be temporarily inhomogeneous, so an equilibrium p(V) curve is not its actual work path. Entropy change along a reversible path can compare these same endpoints without assigning heat transfer to the actual free-expansion path.[2][3]
Real gases need an appropriate equation of state and can have volume-dependent U even at fixed T. Leakage, flow installations, piston friction and additional electrical work change the balance. For the same initial state, prescribed expansion and one heat bath, the reversible comparison gives maximum delivered work; comparing paths requires the same boundary conditions.[1][2]
How do you infer volume ratio from reversible work?
Temperature inversion requires volume ratio different from 1 and the reversible model path.[1]
For small relative change , . Then approximates . For larger expansion this initial-pressure rectangle exceeds actual reversible work because p falls. The natural logarithm is dimensionless; taking the logarithm of an isolated dimensional litre value is invalid.[1]
Five exercises with solutions
Calculate · Foundation
0.45 mol of ideal gas at 310 K is reversibly and isothermally compressed from 5 to 2 L. Find work done by the gas.
Show hint
<1.
Learning goal: Calculate reversible compression work with the selected sign convention.
Show solution and calculation
Approach: use the natural logarithm of the volume ratio for the reversible isothermal path.
Compression makes the logarithm negative.
Work on the gas is about +1062.78 J; work by the gas and heat are negative.
Check: equal ideal-gas endpoint temperatures imply , so heat and work must cancel in the energy balance.
Calculate · Application
A reversible path has . What is ?
Show hint
Apply the exponential.
Learning goal: Infer volume ratio from a logarithmic work expression.
Show solution and calculation
Approach: divide the work equation by the positive product of amount, gas constant and temperature, then exponentiate.
Volume ratio is four.
Check: the reversible return at the same temperature uses the reciprocal ratio and gives opposite work; net work vanishes.
Interpret · Application
Ideal gas freely expands in an isolated rigid assembly from V to 2V. What are Q,W and ΔU?
Show hint
Actual path is not reversible.
Learning goal: Distinguish heat, work and internal energy in free isolated expansion.
Show solution and calculation
Approach: inspect actual transfer mechanisms.
The isolated rigid outer boundary allows neither heat nor work; free expansion into vacuum likewise supplies no volume work.
Internal energy and, in the ideal model, endpoint temperature therefore stay unchanged.
Entropy nevertheless increases.
Check: reversible comparison work belongs to a different process and must not be used here.
Interpret · Challenge
An ideal gas expands at constant temperature with , from 2.0 L to 4.0 L. Path A is reversible and quasistatic; path B proceeds against constant external pressure 150 kPa and ends at equilibrium. Compare work done by the gas and heat supplied. Macroscopic kinetic energies vanish in the initial and final states.
Show hint
For A integrate gas pressure; for B integrate constant external pressure. For this ideal gas, ΔU vanishes for both isothermal paths.
Learning goal: Compare path-dependent work for the same isothermal state change.
Show solution and calculation
Approach: find the area under the respective working pressure over the volume range.
Reversible work is about 415.89 J; constant-external-pressure work is 300 J.
With and , supplied heat equals work on each path.
Check: final gas pressure is indeed 150 kPa. Equal endpoints and temperature therefore do not imply equal work or heat.
Error analysis · Application
An ideal gas expands reversibly and isothermally from 1.0 L to 10.0 L with . A solution uses base-ten logarithm and obtains . Correct the value and explain why an arbitrary logarithm does not satisfy the same formula. W denotes work done by the gas.
Show hint
The integral of is ln V. Another logarithm requires a conversion factor; its argument must be dimensionless.
Learning goal: Connect the natural logarithm to the work integral.
Show solution and calculation
Approach: obtain work by integrating reversible gas pressure.
This produces the natural logarithm of the volume ratio, giving about 460.52 J.
A base-ten logarithm would require an additional factor ln 10.
Check: exponentiating the correct work divided by nRT recovers volume ratio 10; using 200 J would instead give only e.
Compare work areas meaningfully
For one mole at 300 K and doubled volume, reversible work remains 1728.943896 J, about 1.73 kJ. In a p–V plot, area under the reversible isotherm means work, not stored internal energy. A rectangular external-load path and curved reversible path need common axis scaling; otherwise the graphic conveys a false work ordering.[1]
In a heat-engine cycle one isothermal branch is only part of total work. Sum every branch using one sign convention to obtain the net result. One branch alone determines neither machine efficiency nor required driving power without timing information.[2]
What to carry into your next calculation
Sources for this explanation
Quanta · Updated October 2, 2026
- OpenStax UP2 §3.2: Work, Heat, and Internal Energy
- OpenStax UP2 §3.3: First Law of Thermodynamics
- MIT Thermodynamics §5.4: Entropy Changes in an Ideal Gas
- NIST 2022 CODATA complete listing
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 3 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An internal human subject review is documented for an earlier release of this page. That confirmation does not apply automatically to the revised explanation and new exercises.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Refined question headings and relevant paragraph links; preserved existing scientific explanations, worked examples and exercises.
- Expanded explanations and learning transitions; added a further fully worked example and an original quantitative diagram; clarified assumptions and calculation steps.
- Added two exercises; labelled all five by task type, difficulty and learning goal.
Cite this reference page
Quanta. Work in Isothermal Expansion of an Ideal Gas. Updated October 2, 2026. https://quanta-study.de/en/formula-sheet/isotherme-arbeit-ideales-gas
When citing a specific scientific statement, also cite the specialist source linked to that statement.