Introduction
In our last lesson, we established the First Law of Thermodynamics, , as a fundamental principle of energy conservation. We carefully defined internal energy () as a state function, while heat () and work () are path functions—their values depend on the specific process connecting the initial and final states.
This lesson delves into calculating the work component, . Specifically, we will focus on pressure-volume (PV) work, the energy transferred when a gas expands or is compressed. Your goal is to learn how to calculate this work for two of the most common thermodynamic paths in chemical engineering: isobaric processes (which occur at constant pressure) and isothermal processes (which occur at constant temperature). Understanding how to quantify work is a crucial step in analyzing the energy efficiency of engines, reactors, and separation processes.
Defining and Visualizing Pressure-Volume Work
The most common type of work encountered in chemical thermodynamics is the work of expansion or compression of a gas. Imagine a gas trapped in a cylinder with a movable piston.
- When the gas expands, it pushes the piston outwards, performing work on the surroundings. In this case, energy leaves the system as work, so is negative.
- When the gas is compressed, the surroundings push the piston inwards, performing work on the system. Energy enters the system as work, so is positive.
This is the sign convention we established in the previous lesson. To calculate the amount of work, we can start from the basic physics definition: work equals force times distance. For an infinitesimal change, this translates into an integral involving pressure and volume.
The following video provides an excellent derivation of the key formulas for work, and importantly, it uses the same sign convention we are using ( is work done on the system).
This video from Chad's Prep will walk you through the derivation of the work equations for both constant pressure and reversible isothermal processes.
Please watch from the start of the derivations. Pay close attention to how the general definition, w = -\int P_{ext} dV, is simplified for the two specific cases. Note the calculus step for the isothermal process, which relies on your previous study of integration.
As you saw in the video, the fundamental equation for PV work done on the system is:
where is the external pressure against which the system is expanding or being compressed, and and are the initial and final volumes. The negative sign ensures our sign convention holds: for an expansion (), will be negative, and for a compression (), will be positive.
A powerful way to visualize this is with a Pressure-Volume (P-V) diagram. The work done by a gas is graphically represented by the area under the curve on a P-V diagram. Consequently, the work done on the system, , is the negative of this area.
Case 1: Isobaric Process (Constant Pressure)
An isobaric process is one that occurs at constant pressure. This is a common scenario, for example, in a reaction carried out in a beaker open to the atmosphere. Since is constant, we can pull it out of the integral.
Chapter 3. The First Law of Thermodynamics
This section from the University Physics textbook demonstrates how the work integral simplifies for an isobaric process.
Read the paragraph starting from this discussion of an isobaric expansion. The text calculates work done by the gas, W. Notice how their result, W = p_1(V_2 - V_1), is simply the negative of our formula for w.
As the video and text showed, the calculation becomes quite simple.
If is constant and equal to :
On a P-V diagram, this corresponds to the area of a simple rectangle of height and width .
Example:
A gas at a constant pressure of 2.00 atm undergoes an expansion from 3.00 L to 5.00 L. How much work is done on the gas?
(Note: 1 L·atm = 101.325 J)
- Identify the process: Isobaric expansion.
- Apply the formula:
- Calculate:
- Convert units:
The work done on the system is -405.3 J. The negative sign confirms that the system did work on the surroundings during the expansion.
Case 2: Reversible Isothermal Process (Constant Temperature)
An isothermal process occurs at constant temperature. For the work calculation to be straightforward, we often consider a reversible process. This means the process happens so slowly that the system is always in equilibrium, and the external pressure perfectly matches the internal gas pressure at every instant.
For an ideal gas, we know from the ideal gas law that . We can substitute this into our work integral.
Chapter 3. The First Law of Thermodynamics
This text shows the derivation for work done during an isothermal expansion of an ideal gas.
Read the section beginning with the isothermal expansion. As before, their W is work done by the gas. Follow the integration to see how the natural logarithm arises. This should be a good refresher of the integration you saw in calculus.
As the video and text derivations showed, by setting , we get:
Since , , and (isothermal) are constant, they come out of the integral:
Because for an ideal gas at constant temperature , we know that . This gives us an alternative, equally valid formula in terms of pressure:
An important consequence for an ideal gas is that its internal energy depends only on temperature. Therefore, in an isothermal process where , the change in internal energy is also zero: .
From the first law, , if , then . This means that for a reversible isothermal process of an ideal gas, any work done by the system must be exactly balanced by heat flowing into the system from the surroundings, and vice-versa.
Practice Problem: A Two-Step Path
Let's combine these ideas. Consider a system containing 1.0 mole of an ideal gas that undergoes a two-step process, as shown in the diagram below.

Given:
- 1.0 mole of an ideal gas ().
- The initial temperature is .
- From the diagram notes: , , and .
- The gas constant is .
Calculate the total work, , done on the gas for the entire path from state 1 to state 3.
The total work is the sum of the work done in each step: .
Step 1: Calculate work for the isothermal expansion (1 → 2).
- Process: Isothermal expansion, so we use .
- Identify values: , , , , . We are given , so .
- Calculation:
Step 2: Calculate work for the isobaric expansion (2 → 3).
- Process: Isobaric expansion, so we use .
- Identify values: We need . We can find it from the ideal gas law at state 2.
.
Since , we have . - Calculation:
Since :
Step 3: Calculate total work.
The total work done on the gas is approximately -4.2 kJ. The negative sign indicates that over the entire path, the system did net work on its surroundings.
Conclusion
In this lesson, we moved from the abstract concept of work to concrete calculations for specific thermodynamic paths. You have learned how to quantify the pressure-volume work for both constant pressure and constant temperature processes involving an ideal gas.
Key Takeaways:
- PV Work Definition: Work done on a system due to volume change is given by . It is the negative of the area under the curve on a P-V diagram.
- Isobaric Work (Constant P): The integral simplifies to a straightforward multiplication: .
- Isothermal Work (Constant T, Reversible, Ideal Gas): The calculation requires integration, resulting in a logarithmic function: .
- Path Dependence: As shown in the practice problem, the total work depends on the sum of work from each step of the path. A different path between state 1 and state 3 would result in a different amount of total work.
We have now examined the first law () and learned to calculate one of its path-dependent components, . In the next lesson, we will introduce the Second Law of Thermodynamics and a new, powerful state function called entropy (). Entropy will provide the key to understanding the direction of spontaneous change and the ultimate limits of efficiency in chemical and mechanical processes.