# 19.2: Pressure-Volume Work

$$\newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} }$$

$$\newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$

$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$

( \newcommand{\kernel}{\mathrm{null}\,}\) $$\newcommand{\range}{\mathrm{range}\,}$$

$$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$

$$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}[1]{\| #1 \|}$$

$$\newcommand{\inner}[2]{\langle #1, #2 \rangle}$$

$$\newcommand{\Span}{\mathrm{span}}$$

$$\newcommand{\id}{\mathrm{id}}$$

$$\newcommand{\Span}{\mathrm{span}}$$

$$\newcommand{\kernel}{\mathrm{null}\,}$$

$$\newcommand{\range}{\mathrm{range}\,}$$

$$\newcommand{\RealPart}{\mathrm{Re}}$$

$$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$

$$\newcommand{\Argument}{\mathrm{Arg}}$$

$$\newcommand{\norm}[1]{\| #1 \|}$$

$$\newcommand{\inner}[2]{\langle #1, #2 \rangle}$$

$$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\AA}{\unicode[.8,0]{x212B}}$$

$$\newcommand{\vectorA}[1]{\vec{#1}} % arrow$$

$$\newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow$$

$$\newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} }$$

$$\newcommand{\vectorC}[1]{\textbf{#1}}$$

$$\newcommand{\vectorD}[1]{\overrightarrow{#1}}$$

$$\newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}}$$

$$\newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}}$$

$$\newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} }$$

$$\newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$

$$\newcommand{\avec}{\mathbf a}$$ $$\newcommand{\bvec}{\mathbf b}$$ $$\newcommand{\cvec}{\mathbf c}$$ $$\newcommand{\dvec}{\mathbf d}$$ $$\newcommand{\dtil}{\widetilde{\mathbf d}}$$ $$\newcommand{\evec}{\mathbf e}$$ $$\newcommand{\fvec}{\mathbf f}$$ $$\newcommand{\nvec}{\mathbf n}$$ $$\newcommand{\pvec}{\mathbf p}$$ $$\newcommand{\qvec}{\mathbf q}$$ $$\newcommand{\svec}{\mathbf s}$$ $$\newcommand{\tvec}{\mathbf t}$$ $$\newcommand{\uvec}{\mathbf u}$$ $$\newcommand{\vvec}{\mathbf v}$$ $$\newcommand{\wvec}{\mathbf w}$$ $$\newcommand{\xvec}{\mathbf x}$$ $$\newcommand{\yvec}{\mathbf y}$$ $$\newcommand{\zvec}{\mathbf z}$$ $$\newcommand{\rvec}{\mathbf r}$$ $$\newcommand{\mvec}{\mathbf m}$$ $$\newcommand{\zerovec}{\mathbf 0}$$ $$\newcommand{\onevec}{\mathbf 1}$$ $$\newcommand{\real}{\mathbb R}$$ $$\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}$$ $$\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}$$ $$\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}$$ $$\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}$$ $$\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}$$ $$\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}$$ $$\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}$$ $$\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}$$ $$\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}$$ $$\newcommand{\laspan}[1]{\text{Span}\{#1\}}$$ $$\newcommand{\bcal}{\cal B}$$ $$\newcommand{\ccal}{\cal C}$$ $$\newcommand{\scal}{\cal S}$$ $$\newcommand{\wcal}{\cal W}$$ $$\newcommand{\ecal}{\cal E}$$ $$\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}$$ $$\newcommand{\gray}[1]{\color{gray}{#1}}$$ $$\newcommand{\lgray}[1]{\color{lightgray}{#1}}$$ $$\newcommand{\rank}{\operatorname{rank}}$$ $$\newcommand{\row}{\text{Row}}$$ $$\newcommand{\col}{\text{Col}}$$ $$\renewcommand{\row}{\text{Row}}$$ $$\newcommand{\nul}{\text{Nul}}$$ $$\newcommand{\var}{\text{Var}}$$ $$\newcommand{\corr}{\text{corr}}$$ $$\newcommand{\len}[1]{\left|#1\right|}$$ $$\newcommand{\bbar}{\overline{\bvec}}$$ $$\newcommand{\bhat}{\widehat{\bvec}}$$ $$\newcommand{\bperp}{\bvec^\perp}$$ $$\newcommand{\xhat}{\widehat{\xvec}}$$ $$\newcommand{\vhat}{\widehat{\vvec}}$$ $$\newcommand{\uhat}{\widehat{\uvec}}$$ $$\newcommand{\what}{\widehat{\wvec}}$$ $$\newcommand{\Sighat}{\widehat{\Sigma}}$$ $$\newcommand{\lt}{<}$$ $$\newcommand{\gt}{>}$$ $$\newcommand{\amp}{&}$$ $$\definecolor{fillinmathshade}{gray}{0.9}$$

Work in general is defined as a product of a force $$\textbf{F}$$ and a path element $$\textbf{ds}$$. Both are vectors and work is computed by integrating over their inner product:

$w = \int \textbf{F} \cdot \textbf{ds} \nonumber$

Moving an object against the force of friction as done in the above dissipation experiment is but one example of work:

$w_{friction} = \int \textbf{F}_\text{friction} \cdot \textbf{ds} \nonumber$

We could also think of electrical work. In that case we would be moving a charge e (e.g. the negative charge of an electron) against an electrical (vector) field $$\textbf{E}$$. The work would be:

$w_{electical} = \int e \textbf{E} \cdot \textbf{ds} \nonumber$

Other examples are the stretching of a rubber band against the elastic force or moving a magnet in a magnetic field etc, etc.

## Pressure-volume ($$PV$$) work

In the case of a cylinder with a piston, the pressure of gas molecules on the inside of the cylinder, $$P$$, and the gas molecules external to the piston, $$P_\text{ext}$$ both exert a force against each other. Pressure, (\P\), is the force, $$F$$, being exerted by the particles per area, $$A$$:

$P=\frac{F}{A} \nonumber$

We can assume that all the forces generated by the pressure of the particles operate parallel to the direction of motion of the piston. That is, the force moves the piston up or down as the movement of the piston is constrained to one direction. The piston moves as the molecules of the gas rapidly equilibrate to the applied pressure such that the internal and external pressures are the same. The result of this motion is work:

$w_{volume} = \int \left( \dfrac{F}{A} \right) (A\,ds) = \int P\,dV \label{Volume work}$

This particular form of work is called pressure-volume ($$PV$$) work and will play an important role in the development of our theory. Notice however that volume work is only one form of work.

##### Sign Conventions

It is important to create a sign convention at this point: positive heat, positive work is always energy you put in into the system. If the system decides to remove energy by giving off heat or work, that gets a minus sign.

In other words: you pay the bill.

To comply with this convention we need to rewrite volume work (Equation $$\ref{Volume work}$$) as

$w_{PV} = - \int \left( \dfrac{F}{A} \right) (A\,ds) = - \int P\,dV \nonumber$

Hence, to decrease the volume of the gas ($$\Delta V$$ is negative), we must put in (positive) work.

Thermodynamics would not have come very far without cylinders to hold gases, in particular steam. The following figure shows when the external pressure, $$P_\text{ext}$$, is greater than and less than the internal pressure, $$P$$, of the piston.

If the pressure, $$P_\text{ext}$$, being exerted on the system is constant, then the integral becomes:

$w = -P_\text{ext}\int_{V_{initial}}^{V_{final}}dV = -P_\text{ext}\Delta V \label{irreversible PV work}$

Since the system pressure (inside the piston) is not the same as the pressure exerted on the system, the system is not in a state of equilibrium and cannot be shown directly on and $$PV$$ diagram. This type of process is called an irreversible process. For a system that undergoes irreversible work at constant external pressure, we can show the amount of work being done on a $$PV$$ diagram despite not being able to show the process itself.

Note that the external pressure, $$P_\text{ext}$$, exerted on the system is constant. If the external pressure changes during the compression, we must integrate over the whole range:

$w = - \int_{V_{initial}}^{V_{final}}P_\text{ext}(V)\, dV \nonumber$

19.2: Pressure-Volume Work is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Jerry LaRue.