First Law of Thermodynamics
The first law of thermodynamics is energy conservation written for a system that can exchange heat and do work. The change in the internal energy of a system equals the heat that flows into it minus the work it does on its surroundings,
Here is the heat added to the system, positive when heat flows in and negative when it flows out. is the work done by the system on the outside world, positive when the system pushes its surroundings back and negative when the surroundings compress it. Every is final minus initial. For a small step of a process the law reads
For a gas the small work is , so the law becomes
This is the form used to work out a path. For an ideal gas and , with the number of accessible degrees of freedom.The three terms are different kinds of quantity. is a state function, fixed by the present state of the system. and are process quantities, and each depends on the path taken between two states. Their difference does not. For a closed cycle the system returns to its starting state, so and over the cycle.
The sign of is a convention, and books differ. Physics texts count the work done by the system, because engines are built to deliver work, and this course follows that convention. Chemistry texts count the work done on the system and write . The two forms agree, since . Check which convention a source uses before copying a formula from it.
Intuition
A gas in a cylinder has a store of internal energy. There are exactly two ways to change it. Heat can flow through the walls, and the piston can move. If the piston moves outward the gas pushes on it and spends energy, and if the piston moves inward the surroundings do work on the gas and its energy rises. Add up the two contributions and the total must match the change in the store. The first law says exactly this. It is energy conservation with heat added as a second way to move energy around. The sketch shows the two transfers and their signs.
\usepackage{tikz}
\begin{document}
\definecolor{hot}{HTML}{D9483B}
\definecolor{grn}{HTML}{2F9E44}
\definecolor{mid}{HTML}{8A8A8A}
\begin{tikzpicture}[x=1cm,y=1cm,>=latex]
\draw[very thick] (4.2,0) -- (0,0) -- (0,2.4) -- (4.2,2.4);
\draw[very thick] (3.0,0.05) rectangle (3.3,2.35);
\draw[very thick] (3.3,1.2) -- (4.6,1.2);
\node at (1.5,1.2) {gas, $E_{\mathrm{int}}$};
\draw[->,very thick,hot] (-1.4,1.6) -- (-0.15,1.6) node[midway,above] {$Q > 0$};
\node[left] at (-1.4,1.6) {heat in};
\draw[->,very thick,grn] (4.7,1.2) -- (5.7,1.2) node[midway,above] {$W > 0$};
\node[right] at (5.7,1.2) {piston pushed out};
\node at (2.2,-0.8) {$\Delta E_{\mathrm{int}} = Q - W$};
\node at (2.2,-1.35) {in minus out, final minus initial};
\end{tikzpicture}
\end{document}The law fixes one unknown. A process on a - diagram tells you the path, and the path gives as the area under it. The endpoints give for an ideal gas. There is no formula for on its own. The recipe for every gas problem is therefore the same: find the work from the path, find the change in internal energy from the endpoints, and get the heat from the first law. The standard processes are the cases where the first two steps have closed forms.
Properties
(Two Ways In) Heat and work are two ways of moving energy into a system, and the final state does not record which one was used.
Raising a gas from one state to another can be done by heating it, by compressing it, or by any mixture of the two. The final state is the same, and so is . Only the split between and differs. A gas cannot be said to contain heat or to contain work. It contains internal energy, and and are the two kinds of transfer that change it.
(Path Dependence) and each depend on the path, but their difference depends only on the endpoints.
Three paths between the same two states on a - diagram enclose three different areas, so differs. The first law then says differs by the same amount, because is fixed. Work done by gas pressure is in this sense a non-conservative work in the 7A sense: it depends on the route. The energy it draws on is still conserved. Path dependence is a statement about , not about .
(Cycles Convert Heat to Work) Around any closed cycle the net heat absorbed equals the net work done.
A system that runs in a cycle ends where it began, so its internal energy is unchanged over each loop. Whatever net heat it took in must have left as net work, . This is the principle behind every heat engine. On a - diagram the net work is the area enclosed by the loop, positive for a clockwise loop and negative for a counterclockwise one.
(Expanding Solids Do Work) A solid that expands against a load does work , so it needs the heat .
Not Taught in Lecture
Lecture applied the first law only to gases. The homework applies it to a heated rod that lifts a weight.
The first law holds for any system, not only a gas. A heated rod grows by , from 2.1.4 Thermal Expansion. If it pushes on a load with force , it does work . Its internal energy rises by , from 2.4.3 Specific Heat. So the heat it needs is
For a vertical rod holding a weight , . The rod also lifts its own center of mass by , which adds . The work term is tiny for ordinary loads. It matters when a problem compares two rods that carry different loads.
(Check the Convention) A source that writes counts work done on the system.
Both forms are correct. In this course and in most physics texts, is the work done by the system, so an expanding gas has and its internal energy falls unless heat makes up the difference. A chemistry text with means the opposite sign for . Mixing the two conventions in one calculation gives an answer wrong by twice the work.
Examples
(Easy) Bookkeeping Between Two States
A gas absorbs of heat while doing of work on a piston. Later it is taken between the same two states by a different process in which of work is done on the gas.
Find the change in internal energy, and the heat exchanged in the second process. , so The second process has the same endpoints, so the same . Work done on the gas means , and The gas absorbs only of heat the second time, because compression supplied the other .
In the first process
(Medium) Final Temperature of a Heated Gas
Two moles of a monatomic ideal gas at absorb of heat while expanding and doing of work.
Find the final temperature. . For a monatomic gas , so and The final temperature is . The path was not specified and was not needed. The temperature change follows from the endpoints alone once is known.
The first law gives
(Hard) Closing a Cycle
A gas is carried around a cycle . Along it absorbs of heat and does of work. Along it gives up of heat at constant volume. Along , of work is done on the gas.
Find the heat exchanged along and the net work over the cycle, and say which way the cycle runs. Tabulate each leg with the first law. Along , . Along , no work is done at constant volume, so . The cycle closes, so the three changes sum to zero and along is . Work done on the gas along means , so The net work is , and the net heat is , which agrees. The net work is negative, so the surroundings do of net work on the gas each cycle and the gas rejects of net heat. The cycle runs counterclockwise on the - diagram. It is a refrigerator, not an engine.
See Also
- 2.5.3 Thermodynamic Processes, the four paths for which and have closed forms.
- 2.7.1 Heat Engine, where the cycle form becomes a machine.
- 1.3c Work-Energy Principle, the mechanics version of the same bookkeeping.