[Physics] Free expansion of an ideal gas

entropythermodynamics

I am having trouble understanding the transient phase of an ideal gas expanding into vacuum.

Firstly, the pressure of any gas is defined only when there is an instrument (barometer/ wall/ piston) equally resisting the expansion of the gas. The amount of resistance that the instrument has to put up is what we call pressure.

Consider the scenario where an ideal gas is kept from expanding into another adjacent volume V2 through a door (The second chamber is vacuous). Now, suddenly the door vanishes, the ideal gas expands and re-establishes equilibrium in the new volume V1+V2.

The textbooks calculate the change in entropy for this process using the following equations.

Equation 1: PV = nRT
Equation 2: dU = TdS - PdV

The textbooks also state that the temperature, and consequently internal energy, do not change for such an expansion.

My confusion pertains to how one calculates this entropy change. The words 'Pressure' and 'Volume' have no meaning when the gas is still expanding into the volume. So how can one consider equation 1 to hold true during the transient phase, and then use it to calculate the change in entropy?

Edit: I have another question related to equation 2; the textbooks have substituted TdS for dQ in the first law of thermodynamics. However, dQ is equal to TdS only for reversible processes. So how does equation 2 make sense in the context of irreversible processes? (Such as free expansion)

Best Answer

The ideal gas equation only applies to an ideal gas in a thermodynamic equilibrium state, and not to one that is rapidly deforming. The 2nd equation you wrote applies only to two closely neighboring thermodynamic equilibrium states of a system, and describes the relationship between the differential changes in U, S, and V between these adjacent states. Neither equation describes the intermediate changes along an irreversible path between two widely separated thermodynamic equilibrium states. So how do you determine the change in entropy between these two end states that are connected in practice by an irreversible path?

Step 1: This is the most important step. Completely forget about the actual irreversible path between the two end states. Focus only on the initial and final end states.

Step 2: Devise a reversible path between the two end states. The reversible path you devise does not have to bear any resemblance whatsoever to the actual irreversible path, as long as it starts and ends at the same two end states. A reversible path consists of a continuous sequence of thermodynamic equilibrium states. So, along the path you choose, the system can be no more than slightly removed from thermodynamic equilibrium at every point along the path. There are an infinite number of reversible paths than can take you from state A to state B. So choose one that is convenient for performing step 3.

Step 3: Calculate the integral of dQ/T for the reversible path that you devised in step 2.

When they say that the change in entropy is equal to the integral of $dQ_{rev}/T$, what they mean is that you have to calculate the integral for a reversible path.

You can alternatively use your equation 2 to determine the change in entropy since it automatically implies a reversible path.

Related Question