Work sign convention

A bookkeeping choice for the sign of work in the first law; here δW>0 means work done by the system on the surroundings.
Work sign convention

A work sign convention specifies whether work is counted as positive when it is done by the system or on the system. Because heat and work appear together in the , the sign convention must be fixed to interpret equations and plots consistently.

Convention used in these knowls:

  • δW>0\delta W>0 means work is done by the system on the .
  • δQ>0\delta Q>0 means flows into the system.

With this choice, the first law for a is

dU=δQδW, dU = \delta Q - \delta W,

where UU is and δW\delta W is .

Physical interpretation

Under this convention, δW>0\delta W>0 corresponds to energy leaving the system in an organized form (pushing a piston, turning a shaft), while δQ>0\delta Q>0 corresponds to energy entering because of a temperature difference. The sign convention is not physics; it is bookkeeping. Physics enters through consistent application and through inequalities such as the .

Key consequences and examples

  • Pressure–volume work: for boundary work against an external pressure,

    δWPV=PextdV. \delta W_{PV} = P_{\text{ext}}\, dV.

    Since dV>0dV>0 for expansion, expansion gives δWPV>0\delta W_{PV}>0 (the system does work on the surroundings). Compression gives δWPV<0\delta W_{PV}<0. A more focused discussion can be found under .

  • Reversible simple compressible system (fixed particle number): combining δQrev=TdS\delta Q_{\mathrm{rev}} = T\, dS from with δWrev=PdV\delta W_{\mathrm{rev}} = P\, dV yields

    dU=TdSPdV, dU = T\, dS - P\, dV,

    consistent with the for such a system.

  • Alternative convention (common in some chemistry texts): some authors define δWon>0\delta W_{\text{on}}>0 for work done on the system. Then δWon=δW\delta W_{\text{on}} = -\delta W (with δW\delta W as defined here) and the first law becomes

    dU=δQ+δWon. dU = \delta Q + \delta W_{\text{on}}.

    Either convention is valid if used consistently, including in definitions of thermodynamic potentials such as and and in any conventions for particle exchange (see and together with ).