Skip to the content
Find a formula

First Law of Thermodynamics Formula

Heat and thermodynamics formulasClass 11AP Physics 2Updated 1 Nov 2026

ΔU=Q−W\Delta U = Q - W
where
  • ΔU change in internal energy J
  • Q heat supplied to the system J
  • W work done by the system J

The first law of thermodynamics formula is ΔU=Q−W\Delta U = Q - W: the change in a system's internal energy equals the heat Q added to it minus the work W it does on its surroundings. It is the law of conservation of energy applied to heat engines, gases and anything that can be warmed or squeezed.

Indian textbooks often write the same law as ΔQ=ΔU+ΔW\Delta Q = \Delta U + \Delta W, which is simply a rearrangement. Some courses, especially in chemistry, count W as work done on the gas and write ΔU=Q+W\Delta U = Q + W. The physics is identical; only the sign of W changes. Always check which convention your course uses before you substitute.

Quick facts

  • Physics convention

    ΔU=Q−W\Delta U = Q - W, W done by the gas
  • Rearranged

    Q=ΔU+WQ = \Delta U + W
  • Other convention

    ΔU=Q+Won\Delta U = Q + W_{\text{on}}
  • Work by a gas

    W=PΔVW = P\Delta V at constant pressure
  • Unit

    joule (J) for every term
  • Isothermal ideal gas

    ΔU = 0, so Q = W

Signs in the first law of thermodynamics formula

Sign rules with ΔU = Q − W
QuantityPositive whenNegative when
QQHeat flows into the systemHeat flows out
WWThe gas expands and pushes on its surroundingsThe gas is compressed
ΔU\Delta UInternal energy rises (an ideal gas gets hotter)Internal energy falls

For an ideal gas, internal energy depends only on temperature: ΔU=nCVΔT\Delta U = nC_V\Delta T. So any process that returns the gas to its starting temperature has ΔU = 0, whatever path it took.

Worked examples

Example 1: heating a gas that expands

A gas absorbs 500 J of heat and does 200 J of work on a piston. Find ΔU.

ΔU=500−200=300 J\Delta U = 500 - 200 = 300\ \text{J}

Internal energy rises by 300 J, so the gas gets warmer.

Example 2: compressing a gas

A gas is compressed by doing 150 J of work on it, while it loses 40 J of heat to the surroundings. Find ΔU.

Heat leaves, so Q = −40 J. Work is done on the gas, so W (by the gas) = −150 J.

ΔU=−40−(−150)=110 J\Delta U = -40 - (-150) = 110\ \text{J}

Example 3: expansion at constant pressure, volume in litres

A gas at a constant 1.0 × 10⁵ Pa expands from 2.0 L to 5.0 L while taking in 750 J of heat. Find ΔU.

ΔV = 3.0 L = 3.0 × 10⁻³ m³, so W = PΔV = (1.0 × 10⁵)(3.0 × 10⁻³) = 300 J.

ΔU=750−300=450 J\Delta U = 750 - 300 = 450\ \text{J}

Special cases you must know

The first law in standard processes
ProcessConditionFirst law becomes
Isothermal (ideal gas)T constant, ΔU = 0Q=WQ = W
AdiabaticNo heat exchange, Q = 0ΔU=−W\Delta U = -W
IsochoricV constant, W = 0ΔU=Q\Delta U = Q
IsobaricP constantQ=ΔU+PΔVQ = \Delta U + P\Delta V
CyclicReturns to start, ΔU = 0Qnet=WnetQ_{net} = W_{net}

In an adiabatic expansion the gas does work using its own internal energy, so it cools. That is why air rushing out of a tyre valve feels cold. In an isothermal process all the heat taken in is turned into work.

Work done by a gas and the PV diagram

When a gas expands against pressure P through a small volume change dV, it does work dW=P dVdW = P\,dV. The total work is the area under the curve on a pressure against volume graph. For constant pressure this area is a rectangle, W=PΔVW = P\Delta V. For an isothermal ideal gas, W=nRTln⁡V2V1W = nRT\ln\frac{V_2}{V_1}. The work formula page covers mechanical work in general.

Q and W depend on the path between two states. ΔU depends only on the start and end states. Exam questions test this distinction often.

Errors that cost marks

  • Mixing the two sign conventions in one answer.
  • Forgetting to make Q negative when heat is released.
  • Leaving volume in litres: 1 L = 10⁻³ m³.
  • Assuming ΔU = 0 for every process; it is zero only when the temperature of an ideal gas returns to its start.

The thermodynamics formula sheet gathers this law with the gas laws, heat transfer and engine efficiency.

Frequently asked questions

What is the first law of thermodynamics formula?

ΔU = Q − W, where Q is heat added to the system and W is work done by the system. NCERT writes it as ΔQ = ΔU + ΔW.

Why do some books write ΔU = Q + W?

They define W as work done on the system rather than by it. Switching the definition flips the sign of W, but the law is the same.

What does the first law say for an isothermal process?

For an ideal gas the temperature is fixed, so ΔU = 0 and all the heat absorbed equals the work done by the gas.

What is the first law for an adiabatic process?

No heat crosses the boundary, so Q = 0 and ΔU = −W. An expanding gas cools, a compressed gas warms.

Is the first law of thermodynamics the same as conservation of energy?

Yes. It states that energy is neither created nor destroyed, only transferred as heat or work or stored as internal energy.