Try it yourself · Class 11 Chemistry · Thermodynamics

Work by a gas: reversible and single-step expansion on a p-V graph

When a gas expands, the work it does is the area under the p-V curve. This simulation expands one mole of ideal gas from 1 L, once slowly and reversibly along the isotherm, and once in a single step against a constant outside pressure, and shades both areas in joules.

One mole of ideal gas expands from 1 L at constant . Blue area is the work of the slow reversible path, orange is the work against one fixed outside pressure . Work is counted on the gas, so expansion is negative.

The simulation needs JavaScript; everything it shows is explained below.

What to change

  • Final volume from 2 to 10 L.
  • Temperature from 250 to 500 K, held constant during the expansion.
  • The piston moves back and forth between 1 L and your final volume; the gas starts at p = nRT/1 L.

What to watch

  • At 300 K and 5 L: reversible w = -4014 J, one-step w = -1995 J, outside pressure 4.92 atm.
  • Move to 10 L at 300 K: reversible w = -5743 J, one-step w = -2245 J, and the gap, 3498 J, shows the extra work you get by going slowly.
  • Set 400 K and 2 L: reversible w = -2305 J, one-step w = -1663 J.
  • Raise T and the work grows in proportion to T for the same volumes, since w depends on nRT.

The formula

n = 1 mol, R = 8.314 J/K/mol, T in kelvin, volumes in the same unit; p_ext = nRT/V_2. w is work done on the gas, so it is negative when the gas expands.

Try these questions

Work each one out with the simulation, tap to see the answer, then try the chapter quiz.

  1. JEE Main 2026

    Arrange the following isothermal processes in order of the magnitude of the work (p − V) involved between states 1 and 2.

    A. Expansion in single stage
    B. Expansion in multi stages
    C. Compression in single stage
    D. Compression in multi stages

    Choose the correct option.

    Show the answer
    (C)
  2. JEE Advanced

    Considering ideal gas behavior, the expansion work done (in kJ) when 144 g of water is electrolyzed completely under constant pressure at 300 K is ______.

    Use: Universal gas constant (R) = 8.3 J K mol; Atomic mass (in amu): H = 1, O = 16

    Show the answer
    [-29.95 to -29.8] OR [29.8 to 29.95]

More to try in Thermodynamics

Every simulation in the Lab