Lesson 9.5 · Unit 9 · CED topic 9.4
Internal energy and the first law of thermodynamics
Pump a bicycle tire quickly and the pump barrel gets warm. Nobody lit a fire in it; you did work on the air by compressing it, and the energy went into the motion of its atoms. Rub your hands together and the same thing happens. Energy can enter a system as work or as heating, and what the system does with it is raise its internal energy. The first law of thermodynamics is the statement that none of this energy is lost: it is conservation of energy written for systems of many particles. This lesson defines internal energy, gives the first law with its sign convention, and shows how to use it for a gas.
Describe the internal energy of a system.
- The internal energy of a system is the sum of the kinetic energy of the objects that make up the system and the potential energy of the configuration of those objects.
- The atoms in an ideal gas do not interact with each other via conservative forces and the internal structure is not considered, so an ideal gas has no internal potential energy. The internal energy of an ideal monatomic gas is the sum of the kinetic energies of its atoms: \(U = \tfrac{3}{2}nRT = \tfrac{3}{2}Nk_BT\).
- Changes to a system’s internal energy can result in changes to the internal structure and internal behavior of that system without changing the motion of the system’s center of mass.
Describe the behavior of a system using thermodynamic processes.
- The first law of thermodynamics is a restatement of conservation of energy that accounts for energy transferred into or out of a system by work, heating, or cooling. For an isolated system, the total energy is constant.
- For a closed system, the change in internal energy is the sum of the energy transferred to or from the system by heating, and the work done on the system: \(\Delta U = Q + W\).
- The work done on a system by a constant or average external pressure that changes the volume of that system (for example, a piston compressing a gas) is \(W = -P\Delta V\).
Internal energy of an ideal gas
In Physics 1 you kept track of the kinetic energy of a whole object moving through space and its potential energy in a field. A gas in a closed box sitting on a table has none of that: its center of mass is at rest. But its atoms are all moving, and the energy of that hidden motion is the gas’s internal energy \(U\). Internal energy is the sum of the kinetic energies of the particles and the potential energy of their interactions.
An ideal gas has no interactions except during collisions, so it has no potential energy at all, and its internal energy is just the total kinetic energy of its atoms. From lesson 9.1 each monatomic atom has average kinetic energy \(\tfrac{3}{2}k_BT\). With \(N\) atoms, \[ U = N\cdot\tfrac{3}{2}k_BT = \tfrac{3}{2}nRT. \] Two consequences are used constantly. First, \(U\) depends only on the temperature (and the amount of gas): if the temperature does not change, \(\Delta U = 0\). Second, \(\Delta U = \tfrac{3}{2}nR\,\Delta T\), so the sign of \(\Delta T\) tells you the sign of \(\Delta U\). Because \(PV = nRT\), we can also write \(U = \tfrac{3}{2}PV\), which is helpful when you are given a PV diagram instead of a temperature.
Internal energy is a state function: it depends only on the current state of the gas (its \(P\), \(V\), \(T\)), not on how the gas got there. Work and heating are not state functions; they depend on the path.
The first law
There are two ways to change the internal energy of a closed system: transfer energy by heating (or cooling), \(Q\), or transfer energy by work, \(W\). The first law says \[ \Delta U = Q + W. \] Sign convention. This course defines both \(Q\) and \(W\) as energy transferred into the system. So \(Q\) is positive when the system is heated and negative when it is cooled, and \(W\) is positive when work is done on the system and negative when the system does work on its surroundings. Whenever you see a sign problem on an exam, check it against this table.
For a gas in a cylinder with a movable piston, work is done by changing the volume. If the pressure is constant (or if we use an average pressure), pushing the piston inward so the volume decreases does positive work on the gas, and letting the gas expand does negative work on it: \[ W = -P\Delta V. \] With \(\Delta V \lt 0\) (compression) \(W \gt 0\); with \(\Delta V \gt 0\) (expansion) \(W \lt 0\). A force that does not change the volume (a rigid container) does no work, so \(W = 0\) if \(\Delta V = 0\).
Applying the first law in three steps avoids most errors: (1) decide whether the temperature increases, decreases or stays the same, which gives the sign of \(\Delta U\); (2) find \(W\) from the volume change; (3) solve for \(Q\) or whatever is unknown. For an isolated system, \(Q = 0\) and \(W = 0\), so \(\Delta U = 0\) and the energy is constant.
An ideal monatomic gas of 2.0 mol in a rigid container is heated from 300 K to 350 K. Find \(\Delta U\), \(W\) and \(Q\).
Internal energy. \(\Delta U = \tfrac{3}{2}nR\Delta T = \tfrac{3}{2}(2.0)(8.31)(50) = 1250\) J.
Work. The volume does not change, so \(W = 0\).
Heating. \(Q = \Delta U - W = +1250\) J. All the energy transferred by heating becomes internal energy.
A bicycle pump compresses 1.0 mol of air quickly, doing 200 J of work on it. Assume that no energy leaves the air by heating during the short stroke and treat the air as monatomic. Find the temperature rise.
First law. \(Q = 0\) (fast, so adiabatic), \(W = +200\) J, so \(\Delta U = +200\) J.
Temperature. \(\Delta T = \Delta U/(\tfrac{3}{2}nR) = 200/(1.5\times1.0\times8.31) = 16\) K. The air in the pump warms by about 16 K.
A gas at constant pressure \(2.0\times10^5\) Pa expands from 0.010 m\(^3\) to 0.020 m\(^3\) while 5000 J enter by heating. Find \(W\), \(\Delta U\) and whether the temperature rises.
Work. \(W = -P\Delta V = -(2.0\times10^5)(0.010) = -2000\) J (the gas does work on its surroundings).
First law. \(\Delta U = Q + W = 5000 - 2000 = +3000\) J.
Conclusion. \(\Delta U \gt 0\), so \(T\) rises. Check with \(PV = nRT\): the volume doubled at constant \(P\), so the kelvin temperature doubled.
- Ideal gas energy. \(U = \tfrac{3}{2}nRT\); \(\Delta U = 0\) when \(T\) is constant.
- First law. \(\Delta U = Q + W\); \(Q \gt 0\) heating, \(W \gt 0\) work done on the system.
- Piston work. \(W = -P\Delta V\). Compression: \(W \gt 0\). Expansion: \(W \lt 0\). Fixed volume: \(W = 0\).
- Procedure. Sign of \(\Delta U\) from \(\Delta T\); \(W\) from \(\Delta V\); solve for \(Q\).
- Common error. Using the sign convention “work done by the gas” from other courses; this course counts work done on the gas as positive.
- A gas absorbs 400 J by heating and does 150 J of work on its surroundings. Find \(\Delta U\).
Show answer
\(Q = +400\) J; the gas does work, so \(W = -150\) J. \(\Delta U = 400 - 150 = +250\) J.
- An ideal monatomic gas of 0.50 mol cools from 500 K to 400 K at constant volume. Find \(\Delta U\) and \(Q\).
Show answer
\(\Delta U = \tfrac{3}{2}(0.50)(8.31)(-100) = -623\) J. \(W = 0\), so \(Q = -623\) J: the gas is cooled and gives up 623 J.
- A gas is compressed at a constant pressure of \(1.0\times10^5\) Pa from 0.040 m\(^3\) to 0.010 m\(^3\). Find the work done on the gas.
Show answer
\(\Delta V = -0.030\) m\(^3\), so \(W = -P\Delta V = +3000\) J.
- An isolated ideal gas has no energy transfer in or out. What can be said about its temperature?
Show answer
\(Q = W = 0\), so \(\Delta U = 0\) and the temperature is constant (for an ideal gas).
- An ideal gas in a cylinder is kept at constant temperature while it is compressed by 600 J of work. How much energy is transferred by heating?
Show answer
\(T\) constant gives \(\Delta U = 0\), so \(Q = -W = -600\) J: the gas gives 600 J to its surroundings.
- Two students push a piston inward. Student A does it very quickly, student B very slowly in a metal cylinder that conducts well. Compare the temperature changes and explain.
Show answer
Quickly, there is no time for energy to leave by heating (\(Q \approx 0\)), so \(\Delta U = W \gt 0\) and the gas warms. Slowly, the energy leaves as heating, so \(\Delta U\) can stay near zero and the temperature is nearly constant.