1. Home
  2. Class 11–12
  3. Physics
  4. CBSE Class 11
  5. P–V Diagrams and Work Done by a Gas

P–V Diagrams and Work Done by a Gas

A gas pushes a piston 20 cm and the work appears as a rectangle on its P–V graph. Add up thin strips under a falling curve, take three routes between the same two states, and go round a loop to see work as an enclosed area.

Interactive 3DPhysicsIntermediate10 min read

Drag to rotate · Right-drag to pan · Click, then scroll to zoom · Space play · Left arrowRight arrow step

What's happening

Formula & steps

    Your progress and quiz scores are saved on this device, and in your account once you sign up.

    Try this in the 3D model

    • In Constant pressure, check that force × distance equals PΔV.
    • In Changing pressure, why do the strips give a little too much work?
    • In Round a cycle, what would change if the gas went round the loop the other way?

    Work done by a pushing gas

    In the 3D model, choose Constant pressure: W = PΔV. A gas at pressure P pushes on a piston of area A with a force F=PAF = PA. If the piston moves out a small distance Δx, the gas does work

    ΔW=F Δx=PA Δx=P ΔV\Delta W = F\,\Delta x = PA\,\Delta x = P\,\Delta V

    because AΔx is the increase in volume. In the model, P = 1.0 × 10⁵ Pa and A = 100 cm² = 0.01 m², so F = 1000 N. The piston moves 20 cm: W = 1000 × 0.20 = 200 J, which is also 1.0×105×2.0×10−3=200 J1.0 \times 10^{5} \times 2.0 \times 10^{-3} = 200\ \text{J}.

    A P–V diagram

    A P–V diagram (indicator diagram) plots the pressure of a gas against its volume as it changes. Each point is an equilibrium state; a quasi-static process draws a line from one state to another. At constant pressure the line is horizontal, and the work PΔV is the area of the rectangle under it.

    When the pressure changes

    Choose Changing pressure: add up strips. Now the gas expands at constant temperature from 3.0 L to 6.0 L, and its pressure falls. Cut the change into thin strips of width ΔV and treat P as constant across each one:

    Strips Sum of PΔV
    3 235.0 J
    6 221.0 J
    12 214.3 J
    24 211.1 J
    infinitely many 207.9 J

    The sum approaches the exact area under the curve. That is an integral:

    W=∫V1V2P dVW = \int_{V_{1}}^{V_{2}} P\,dV

    On a P–V diagram, the work done by a gas is the area under its curve. It is positive when the gas expands (moving right) and negative when it is compressed (moving left).

    Work depends on the path

    Choose Same start and end, different work. Take the gas from A (3.0 L, 1.0 × 10⁵ Pa) to B (6.0 L, 0.5 × 10⁵ Pa):

    Route Work done
    expand at 1.0 × 10⁵ Pa, then cool at constant volume 300 J
    along the isotherm at 300 K 207.9 J
    cool at constant volume, then expand at 0.5 × 10⁵ Pa 150 J

    Same start, same end, different areas. Work is not a state variable.

    Round a cycle

    Choose Round a cycle. The gas goes A → (6.0 L, 1.0 × 10⁵ Pa) → B → (3.0 L, 0.5 × 10⁵ Pa) → A. It does +300 J of work along the top line and has 150 J done on it along the bottom line. Net work = 300 − 150 = 150 J, the area enclosed by the loop. Going round clockwise, the gas does net work on the surroundings: this is what an engine does. Going anticlockwise, net work is done on the gas, as in a refrigerator.

    Worked example

    A gas expands isothermally at 400 K from 2.0 L to 6.0 L. If nR = 0.5 J/K, how much work does it do?

    1. W=nRTln⁡V2V1=0.5×400×ln⁡3W = nRT\ln\dfrac{V_{2}}{V_{1}} = 0.5 \times 400 \times \ln 3.
    2. ln⁡3=1.099\ln 3 = 1.099, so W≈W \approx 220 J, the area under the isotherm.

    Remember: W = PΔV at constant pressure; in general, W is the area under the P–V curve. Work depends on the path, and round a cycle it equals the enclosed area.

    Formulas and where to use them

    Work done by a gas

    W=∫V1V2P dVW = \int_{V_{1}}^{V_{2}} P\,dV
    where
    PP
    pressure of the gas at each moment (Pa)
    V1, V2V_{1},\ V_{2}
    starting and final volumes (m³)

    Use it when: Any quasi-static process: the work is the area under the curve on a P–V diagram.

    Work at constant pressure

    W=P (V2−V1)W = P\,(V_{2} - V_{1})
    where
    PP
    the constant pressure (Pa)

    Use it when: An isobaric expansion or compression: the area of a rectangle.

    Work round a cycle

    Wnet=area enclosed by the loopW_{\text{net}} = \text{area enclosed by the loop}
    where
    WnetW_{\text{net}}
    net work done by the gas in one cycle: positive for a clockwise loop, negative for anticlockwise

    Use it when: Any cyclic process, such as the cycle of an engine.

    Common mistakes

    • Taking the area down to the wrong line. Work is the area between the curve and the V-axis (P = 0), not the area under some other line.
    • Forgetting the sign. If the volume decreases, the work done by the gas is negative.
    • Thinking W is fixed by the start and end states. Different paths between the same two states enclose different areas, so different work.

    Quick check

    Test yourself — pick an answer to see if you got it.

    1. On a P–V diagram, the work done by a gas is…

    2. A gas at a steady 1.0 × 10⁵ Pa pushes a 0.01 m² piston out by 20 cm. The work done is…

    3. On a P–V graph, a vertical line means the gas does…

    4. In a clockwise cycle on a P–V diagram, the net work done by the gas is…

    5. A gas goes round a rectangle on a P–V diagram between 1 and 3 × 10⁵ Pa and between 2 and 5 L. The net work per cycle is…

    Saved on this device.
    Spotted a mistake or a bug in the 3D model?

    Report a mistake

    in P–V Diagrams and Work Done by a Gas. Thank you — every report makes the lesson better for the next reader.

    We'll also include a link to the step of the 3D model you're on and your browser type, so we can reproduce it.