Thermodynamic Work
A gas that expands pushes on whatever contains it and does work. When the volume changes from to along a known path, the work done by the gas is
the area under the path on a - diagram. The sign follows from the integral. Expansion gives and : the gas does work on its surroundings. Compression gives and : the surroundings do work on the gas. For a step so small that the pressure does not change, .A - diagram plots the pressure of a gas against its volume. For a fixed number of molecules the ideal gas law assigns a temperature to every point, so every point is a complete state of the gas. A curve from one point to another, with an arrow for direction, is a thermal process: it says how the state changed. There are infinitely many paths between two states, and the area under them differs, so depends on the path and not only on the endpoints. Work is a process quantity, like heat, and unlike internal energy.
The integral has a closed form on each of the four standard processes. At constant volume . At constant pressure . At constant temperature . On an adiabatic path . For any other path the area must be computed from the curve. Work is measured in joules, and . A problem stated in atmospheres and liters is converted first, or the result is converted at the end using .
Intuition
Put a gas in a cylinder with a movable plug of area . The pressure inside pushes the plug outward with a force . If the plug slides a distance , the gas has done work by the mechanics definition. The product is the volume the gas gained, so the work is . Nothing about the argument depends on the cylinder. Any container, of any shape, that grows by a volume against a pressure receives work from the gas inside it. Adding up the small steps gives the integral, and drawing against makes the integral an area.
\usepackage{tikz}
\begin{document}
\definecolor{grn}{HTML}{2F9E44}
\definecolor{mid}{HTML}{8A8A8A}
\begin{tikzpicture}[x=1cm,y=1cm,>=latex]
\draw[very thick] (5.6,0) -- (0,0) -- (0,2.4) -- (5.6,2.4);
\draw[very thick] (3.4,0.05) rectangle (3.7,2.35);
\begin{scope}
\clip (3.7,0.05) rectangle (4.5,2.35);
\foreach \i in {2.0,2.2,...,4.6} \draw[mid] (\i,0.05) -- ++(2.3,2.3);
\end{scope}
\draw[thick,dashed] (4.5,0.05) rectangle (4.8,2.35);
\node at (1.7,1.2) {gas at pressure $P$};
\draw[->,very thick,grn] (3.8,1.8) -- (5.2,1.8) node[right] {$F = PA$};
\draw[<->] (3.7,-0.3) -- (4.5,-0.3) node[midway,below] {$dx$};
\node[fill=white,inner sep=1.5pt] at (4.1,0.7) {$dV$};
\node[above] at (3.55,2.4) {plug, area $A$};
\end{tikzpicture}
\end{document}The sketch shows one step. The plug moves from the solid position to the dashed one. The hatched slab is the volume that the gas gained.
\usepackage{tikz}
\begin{document}
\definecolor{hot}{HTML}{D9483B}
\definecolor{cold}{HTML}{2F80ED}
\definecolor{prp}{HTML}{8E6BD6}
\definecolor{mid}{HTML}{8A8A8A}
\begin{tikzpicture}[x=1cm,y=1cm,>=latex]
\begin{scope}
\clip (1.5,0) rectangle (5.5,3.6);
\foreach \i in {-2,-1.7,...,5.5} \draw[mid,thin] (\i,0) -- ++(3.6,3.6);
\end{scope}
\draw[->] (0,0) -- (7.0,0) node[below] {$V$};
\draw[->] (0,0) -- (0,4.4) node[left] {$P$};
\draw[very thick,hot] (1.5,3.6) -- (5.5,3.6) -- (5.5,1.0);
\draw[very thick,cold] (1.5,3.6) -- (1.5,1.0) -- (5.5,1.0);
\draw[very thick,prp] (1.5,3.6) -- (5.5,1.0);
\fill (1.5,3.6) circle (0.07) node[above left] {$1$};
\fill (5.5,1.0) circle (0.07) node[below right] {$2$};
\draw[dashed] (1.5,0) -- (1.5,1.0);
\draw[dashed] (5.5,0) -- (5.5,1.0);
\node[below] at (1.5,0) {$V_1$};
\node[below] at (5.5,0) {$V_2$};
\node[hot,right] at (5.7,3.6) {top path: most work};
\node[prp,right] at (5.7,2.9) {diagonal: in between};
\node[cold,right] at (5.7,2.2) {bottom path: least work};
\node[right] at (5.7,1.5) {hatched: area under the top path};
\end{tikzpicture}
\end{document}The diagram shows three paths between the same two states. The top path expands at high pressure and then drops the pressure. The bottom path drops the pressure first and then expands. The diagonal does both at once. The areas under them are different, so a gas taken from state to state can do more or less work depending on the route. In 7A language the work of gas pressure is non-conservative: it depends on the path, not only on where the path starts and ends. The first law then says that the heat absorbed also depends on the path, by exactly the same amount.
Properties
(Area Under the Path) On a - diagram, is the area between the path and the axis, counted positive for motion to the right.
The integral is the geometric area only when increases. When the arrow points left the same area counts as negative work. A path that goes out and comes back has zero net work if it retraces itself, and an enclosed area if it does not. A closed loop run clockwise has net work equal to the enclosed area, positive because the outward leg runs at higher pressure than the return leg. Run counterclockwise, the same loop has negative net work.
(Every Point Is a State) A - diagram records everything about a fixed sample of ideal gas.
Two numbers, and , fix through the gas law and fix through . Curves of constant are the hyperbolas , called isotherms, with hotter isotherms farther from the origin. A process that crosses to a higher isotherm has warmed the gas, whatever the pressure and volume did. The diagram is therefore a map of states, and a path on it is a complete description of a process. The one condition is that the process be slow enough for the gas to have a single pressure and temperature at each instant.
(Work Needs a Path) The endpoints alone do not fix , so a problem that gives only the endpoints cannot be asking for the work.
A statement like “the gas goes from to ” fixes and nothing else. To compute the problem must also say how: at constant pressure, along a straight line, adiabatically, or by some drawn curve. Conversely, the sentence “the gas does of work” carries information about the path. Reading which quantities are path-dependent and which are not is most of the skill in these problems.
(Only Pressure Work) The formula counts work done by pressure against a moving boundary and nothing else.
Not Taught in Lecture
Lecture did not discuss stirring work, a gas expanding into a vacuum, or work in a sudden change. This property is standard textbook material.
A gas can also do work in other ways, for example by turning a paddle, but in this course the boundary is always a piston or the equivalent. Work done by stirring, by friction, or by electrical heating enters the first law as heat or as a separate term, not as . A gas expanding into a vacuum pushes on nothing, so it does no work even though its volume grows. That case has , and the pressure that matters in is the one the gas pushes against. The same holds in any sudden change. The gas is then out of equilibrium, and its own pressure has no single value. The work is set by the outside pressure instead. If that pressure stays constant,
A piston that jumps to a new load is the usual case, treated in 2.5.3d Adiabatic Process.
Examples
(Easy) Expansion at Constant Pressure
A gas at expands from to while the pressure stays fixed.
Find the work done by the gas. times the change in volume, The area under the path is a rectangle. The same result in mixed units is , and .
At constant pressure the integral is
(Medium) Three Paths, Three Answers
A gas goes from state at , to state at , . Path expands at and then drops to at fixed volume. Path drops to first and then expands. Path is a straight line on the diagram.
Find the work along each path and the heat absorbed along each. is a rectangle of height : . Path is a rectangle of height : . Path is a trapezoid, and its area is the average pressure times , The two states have the same product , so they lie on one isotherm and . The first law then gives on every path: , , and . The same two endpoints, and three different amounts of heat.
Path
(Hard) Work Along a Curved Path
A gas at and expands to along a path on which stays constant.
Find the work done, and compare it with an isothermal expansion between the same volumes. . Integrate, An isothermal path from the same start has , which falls more slowly, and gives . The curved path lies below the isotherm at every volume after the start, so its area is smaller. Any path steeper than an isotherm ends at a lower temperature than it began, because has fallen. The adiabatic path is the steeper curve that occurs in practice.
Along the path
See Also
- 2.5.2 First Law of Thermodynamics, where enters the energy balance.
- 2.5.3 Thermodynamic Processes, the four paths with closed-form work.
- 1.3a Work, the mechanics definition that comes from.