Fiveable

⚾️Honors Physics Unit 12 Review

QR code for Honors Physics practice questions

12.2 First law of Thermodynamics: Thermal Energy and Work

12.2 First law of Thermodynamics: Thermal Energy and Work

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
⚾️Honors Physics
Unit & Topic Study Guides
Pep mascot

The ideal gas law connects pressure, volume, temperature, and the amount of gas in a single equation. It's the foundation for predicting how gases respond to changing conditions. The first law of thermodynamics then builds on this by tracking where energy goes: into heating a gas, changing its internal energy, or doing mechanical work. Together, these ideas explain everything from balloon inflation to diesel engines.

Thermodynamic Systems and Properties

Pep mascot
more resources to help you study

Ideal gas law relationships

The ideal gas law is PV=nRTPV = nRT, where PP is pressure, VV is volume, nn is the number of moles, TT is absolute temperature (in Kelvin), and RR is the universal gas constant (8.314J/(mol\cdotpK)8.314 \, \text{J/(mol·K)}). This single equation contains several simpler gas laws as special cases, depending on which variable you hold constant:

  • Isothermal (constant TT): PP and VV are inversely proportional. P1V1=P2V2P_1V_1 = P_2V_2. Squeeze a balloon and the pressure inside rises as the volume drops.
  • Isobaric (constant PP): VV and TT are directly proportional. V1/T1=V2/T2V_1/T_1 = V_2/T_2. A hot air balloon expands as the air inside is heated.
  • Isochoric (constant VV): PP and TT are directly proportional. P1/T1=P2/T2P_1/T_1 = P_2/T_2. A sealed pressure cooker builds pressure as it heats up.

All temperatures in these relationships must be in Kelvin. Using Celsius will give you wrong answers.

Ideal gas law relationships, Ideal Gas Law | Boundless Physics

Pressure-volume work calculations

When a gas expands, it pushes on its surroundings and does work. When it's compressed, the surroundings do work on it. The general expression for work done on the gas is:

W=V1V2PdVW = -\int_{V_1}^{V_2} P\,dV

The negative sign here follows the convention where positive WW means energy is added to the system. Be careful: some textbooks define WW as work done by the gas, which flips the sign. Know which convention your course uses.

  • Isobaric process: Since PP is constant, the integral simplifies to W=PΔVW = -P\Delta V, where ΔV=V2V1\Delta V = V_2 - V_1. If the gas expands (ΔV>0\Delta V > 0), WW is negative, meaning the gas loses energy by doing work on its surroundings.
  • Isochoric process: Volume doesn't change, so W=0W = 0. No work is done in a rigid container.
  • Path dependence: Work depends on how you get from state 1 to state 2, not just the endpoints. On a PV diagram, work equals the area under the curve, and different paths between the same two states enclose different areas.
Ideal gas law relationships, Relating Pressure, Volume, Amount, and Temperature: The Ideal Gas Law – Atoms First / OpenStax

First law of thermodynamics

The first law is energy conservation applied to thermal systems. It says:

ΔU=Q+W\Delta U = Q + W

where ΔU\Delta U is the change in internal energy, QQ is heat added to the system, and WW is work done on the system. (With the sign convention used above, where W=PdVW = -\int P\,dV, the first law is ΔU=Q+W\Delta U = Q + W. If your textbook defines work done by the system as positive, the equation becomes ΔU=QW\Delta U = Q - W. Both are correct; they just define WW differently.)

A few key consequences:

  • ΔU\Delta U is a state function. It depends only on the initial and final states, not on the path. Heat and work individually are path-dependent, but their combination always gives the same ΔU\Delta U for the same endpoints.
  • Isolated systems: No heat enters or leaves, and no work is done, so ΔU=0\Delta U = 0.
  • Cyclic processes: The system returns to its starting state, so ΔU=0\Delta U = 0 and the net heat added equals the net work done by the gas over the full cycle.

Applications of the first law

Each special thermodynamic process eliminates one variable, making the first law simpler to apply:

  1. Adiabatic (Q=0Q = 0): No heat exchange with surroundings. All energy transfer is through work.

    • ΔU=W\Delta U = W (work done on the gas increases its internal energy)
    • Examples: rapid compression in a diesel engine heats the air enough to ignite fuel; expansion of gas in a sound wave
  2. Isothermal (constant TT, so ΔU=0\Delta U = 0): For an ideal gas, internal energy depends only on temperature, so constant TT means no change in UU.

    • Q=WQ = -W, meaning all heat absorbed is converted to work done by the gas (or vice versa)
    • Examples: slow, controlled expansion or compression where the gas stays in thermal contact with a reservoir
  3. Isobaric (constant PP): Work is straightforward to calculate.

    • ΔU=QPΔV\Delta U = Q - P\Delta V
    • Example: heating air in an open-top cylinder with a free piston
  4. Isochoric (constant VV, so W=0W = 0): All heat goes directly into changing internal energy.

    • ΔU=Q\Delta U = Q
    • Example: heating gas in a sealed, rigid container

Thermodynamic processes and state functions

  • Thermodynamic equilibrium means all macroscopic properties (pressure, temperature, volume) are uniform throughout the system and constant over time. You can only assign a single PP, VV, and TT to a system that's in equilibrium.
  • State functions (like UU, PP, VV, TT) depend only on the current state, not on history. Heat (QQ) and work (WW) are not state functions because their values depend on the process path.
  • Reversible processes are idealizations where the system moves through a continuous series of equilibrium states. They're infinitely slow in principle, but they set the theoretical limit for efficiency.
  • Irreversible processes involve sudden changes (like free expansion or friction) and are what actually happens in real life. They always produce less useful work than the equivalent reversible process.