Steam engine and molecular motion illustrating thermodynamics

Internal energy work and heat

PHYS 220 · First Law of Thermodynamics

The first law of thermodynamics states conservation of energy for thermal systems. This lesson distinguishes internal energy, heat, and work.

Key equations

U=\frac{3}{2}nRT\Delta U=Q-W\Delta U=Q+W_{on}dW=P\,dVW=\int_{V_i}^{V_f}P\,dVW=0\Delta U=QQ=0\Delta U=-W

Learning objectives

  • Define internal energy.
  • Distinguish heat and work as energy transfer mechanisms.
  • Apply the first law using a consistent sign convention.
  • Interpret pressure-volume work as area under a PV curve.
  • Explain why heat and work are path dependent.

Internal energy

Internal energy is the total microscopic energy contained in a system. It includes molecular kinetic energy, intermolecular potential energy, chemical energy, and other microscopic forms. It is usually written as UU.

For an ideal monatomic gas, internal energy depends only on temperature:

U= rac{3}{2}nRT

where nn is number of moles, RR is the gas constant, and TT is absolute temperature.

Real substances can have more complicated internal energy because molecules rotate, vibrate, interact, and change phase.

Heat and work

Heat and work are two ways energy crosses a system boundary. Heat, written QQ, is energy transferred because of temperature difference. Work, written WW, is energy transferred by macroscopic forces acting through displacements.

Neither heat nor work is stored in a system. A system stores internal energy. Heat and work describe transfer processes.

The first law

A common sign convention writes the first law as

DeltaU=QWDelta U=Q-W

Here QQ is heat added to the system, and WW is work done by the system on the surroundings. If heat enters the system, Q>0Q>0. If the system expands and does work on the outside world, W>0W>0.

Some books use

DeltaU=Q+WonDelta U=Q+W_{on}

where WonW_{on} is work done on the system. Both conventions are valid if used consistently.

Pressure-volume work

For a gas in a piston, expansion work is

dW=P,dVdW=P,dV

For a finite process,

W=intViVfP,dVW=int_{V_i}^{V_f}P,dV

This work is the area under a pressure-volume curve. If the gas expands, dV>0dV>0 and work done by the gas is positive. If compressed, dV<0dV<0 and work done by the gas is negative.

Path dependence

Work and heat depend on the path taken between states. The same initial and final states can be connected by different processes with different amounts of heat and work. Internal energy change, however, depends only on the initial and final states.

This is why UU is a state function while QQ and WW are process quantities.

Example: heating at constant volume

If a gas is heated in a rigid container, volume does not change, so

W=0W=0

The first law becomes

DeltaU=QDelta U=Q

All added heat increases internal energy.

Example: expansion with no heat

If a gas expands adiabatically, no heat is exchanged:

Q=0Q=0

Then

DeltaU=WDelta U=-W

If the gas does work during expansion, its internal energy decreases. For an ideal gas, this means temperature decreases.

Microscopic interpretation

Adding heat to a system usually increases microscopic energy. Doing work on a system can also increase internal energy, such as compressing a gas or stirring a liquid. The first law does not say temperature always rises when heat is added, because energy may also leave as work or go into phase change.

The big idea

The first law of thermodynamics is conservation of energy applied to thermal systems. Internal energy is stored microscopic energy. Heat and work are energy transfers. The equation DeltaU=QWDelta U=Q-W organizes thermal processes and makes clear that energy can change form but not disappear.

Ask your AI physics guide

AI Physics Chat· Thermodynamics and Statistical Mechanics — Internal energy work and heat

Ask anything about Thermodynamics and Statistical Mechanics — Internal energy work and heat, or choose a suggested question below.

AI responses are educational and may not be perfectly accurate. Press Enter to send, Shift+Enter for new line.