Physics · Intermediate

Work, Heat, and Internal Energy

Written by SignalsLab

Early edition: these lessons are being reviewed.

Content

Summary

Thermodynamic systems exchange energy and matter through boundaries, governed by state variables like pressure and temperature. Internal energy is a state function representing microscopic energy, while work and heat are path-dependent processes that transfer energy across the system boundary.

Intuition

Think of a thermodynamic system as a defined region, like a gas in a piston, separated from the rest of the universe by a boundary. The system's state is described by variables like pressure and volume. Internal energy is the total microscopic energy stored within this system. Work and heat are not stored; they are methods of transferring energy across the boundary. Work occurs when the boundary moves (like a piston expanding), and heat flows due to temperature differences. Because work depends on the path taken (e.g., expanding at constant pressure vs. constant temperature), it is not a state function, unlike internal energy.

Key equations

U=32nRT
(1)

Internal energy for an ideal monatomic gas, depending only on temperature.

dW=pdV
(2)

Infinitesimal work done by a gas during expansion or compression.

W=∫ViVfpdV
(3)

Total work done in a quasi-static process, equal to the area under the pV curve.

W=nRTln⁡(VfVi)
(4)

Work done during an isothermal expansion of an ideal gas.

Q=mcΔT
(5)

Heat transferred to change the temperature of a mass m by ΔT.

Derivation

  1. Define a thermodynamic system and its boundary, classifying it as isolated, closed, or open based on energy and matter exchange.
  2. Identify state variables as extensive (scaling with size, e.g., volume) or intensive (independent of size, e.g., pressure).
  3. Relate state variables at equilibrium using an equation of state, such as PV = nRT for an ideal gas.
  4. Define internal energy U as the sum of microscopic kinetic and potential energies, noting it is a state function.
  5. For an ideal monatomic gas, derive U = (3/2)nRT from translational kinetic energy only.
  6. Define work dW = p dV for a quasi-static process where the system remains in equilibrium.
  7. Integrate dW to find total work W, showing it depends on the path (pV diagram area).
  8. Define heat Q as energy transfer due to temperature difference, distinct from internal energy.
  9. Apply Q=mcΔT for temperature changes without phase transitions or work.

Worked example

Problem

Calculate the work done by 2 moles of an ideal monatomic gas expanding isothermally at 300 K from 0.01 m³ to 0.02 m³.

  1. Identify the process as isothermal expansion of an ideal gas.
  2. Select the work equation for isothermal processes: W = nRT ln(Vf/Vi).
  3. Substitute the given values: n = 2 mol, R is the ideal gas constant, T = 300 K, Vi = 0.01 m³, Vf = 0.02 m³.
  4. Calculate the ratio Vf/Vi = 2.
  5. Compute W = 2 * R * 300 * ln(2).

Answer W = 600 R ln(2) Joules. Since ln(2) ≈ 0.693, W ≈ 415.8 R Joules.

Common mistakes

  • Attributing 'heat content' to a system; heat is energy in transit, not a stored property.
  • Assuming work is a state function; work depends on the specific path taken between states.
  • Using W=pΔV for non-isobaric processes; this formula only applies when pressure is constant.
  • Confusing internal energy with bulk kinetic energy; internal energy excludes the system's macroscopic motion.

Animation

Animation coming soon

The animated version of this lesson is being prepared for the web. In the Signals AI app, lessons are drawn step by step.

Code

This is a text lesson: it has no animation code yet.

ccBYNC© 2026 SignalsLab. Lesson text shared as is under CC BY-NC 4.0.