1
$\begingroup$

This is what I know: A reversible process is a process which occurs infinitesimally slowly.

If you're isothermally compressing a gas infinitesimally slowly, the walls of the container decrease (compress the gas) infinitesimally slowly such that there is no acceleration. And hence the walls do not impart a force to the particles in the container (the force would change the kinetic energy of the particles).

But what if you isothermally compress a gas quickly? Then the walls would have an acceleration and should hence impart a force to the molecules and increase the translational kinetic energies of the particles, right? So, the internal energy (internal energy is sum of kinetic energies of all particles according to what we have been taught) would change. But internal energy does not change during isothermal irreversible compression according to my textbook.

Note: I'm learning highschool thermodynamics so I might not understand everything immediately.

Edit; One more question: According to my textbook, change in entropy is zero for reversible isothermal compression and non zero for irreversible isothermal compression. Why is that so?

$\endgroup$
16
  • 1
    $\begingroup$ In regards to your edit, that statement is incorrect - reversible isothermal compression certainly does change the entropy of an ideal gas. Could you provide a direct quote from your text asserting otherwise? $\endgroup$
    – J. Murray
    Apr 6, 2020 at 22:23
  • 1
    $\begingroup$ I did not misread. The change in entropy due to a reversible, isothermal compression from initial volume $V_A$ to final volume $V_B$ is $\Delta S = Nk_B \log(V_B/V_A) \neq 0$. $\endgroup$
    – J. Murray
    Apr 6, 2020 at 22:43
  • 1
    $\begingroup$ Your textbook is wrong and @J.Murray is correct. To compress a gas isothermally and reversibly, you need to remove an amount of heat equal to the work done to compress the gas, so the entropy change is negative. Maybe your book meant that the entropy of the gas plus the surroundings does not change. $\endgroup$ Apr 6, 2020 at 22:58
  • 1
    $\begingroup$ @ChetMiller But I thought based on what you have said previously, the irreversible process is still considered isothermal because the temperature at the boundary between the gas and the thermal reservoir is constant, even if the gas is not in thermal equilibrium with surroundings. I ask only because J. Murray is saying the irreversible compression is not isothermal. $\endgroup$
    – Bob D
    Apr 6, 2020 at 23:10
  • 1
    $\begingroup$ Some people consider such an irreversible process as isothermal. However, in such cases, it is important to bear in mind that only the boundary of the gas is at constant temperature. Internally within the gas, the temperature is not constant. $\endgroup$ Apr 6, 2020 at 23:16

2 Answers 2

2
$\begingroup$

This is what I know: A reversible process is a process which occurs infinitesimally slowly.

That is correct, with one stipulation. The process must also involve no friction, since a process can proceed slowly (quasi-statically) with friction, which would make the process irreversible.

If you're isothermally compressing a gas infinitesimally slowly, the walls of the container decrease (compress the gas) infinitesimally slowly such that there is no acceleration.

Correct again.

And hence the walls do not impart a force to the particles in the container (the force would change the kinetic energy of the particles).

Not correct. The gas will not compress unless there is a net force applied. The key, however, is the net force is infinitesimal. That is, the external pressure is infinitesimally greater than the gas pressure throughout the process so that the gas slowly compresses while essentially remaining in mechanical and thermal equilibrium with the surroundings. This, in turn, results in an infinitesimally slow transfer of heat out of the gas equal to the infinitesimally slow amount of work done on the gas during compression. In the case of an ideal gas, there is no change in internal energy and, for an ideal gas, no change in temperature (internal kinetic energy).

But what if you isothermally compress a gas quickly? Then the walls would have an acceleration and should hence impart a force to the molecules and increase the translational kinetic energies of the particles, right?

That is correct. But in order to have the irreversible isothermal compression occur between the same two states as the reversible isothermal compression, there are two sub-processes involved with the overall irreversible process.

See the diagram below. Path 1-2 is a reversible isothermal compression. Path 1-1a-2 is an irreversible isothermal compression between the same two equilibrium states. Process 1-1a represents what you refer to as the "quick compression". The external pressure is abruptly increased. It happens so quickly that there is no time for the volume to change nor for there to be heat transfer out of the gas. Because the temperature at the boundary between the gas and the surrounding thermal reservoir is the same and constant the process is called isothermal, but there are significant temperature and pressure gradients within the gas behind the boundary, generating entropy in the gas because the gas is not in equilibrium.

So, the internal energy (internal energy is sum of kinetic energies of all particles according to what we have been taught) would change. But internal energy does not change during isothermal irreversible compression according to my textbook

For process 1-1a there is indeed an increase in internal energy. But we have not yet reached the same equilibrium state (state 2) as the reversible process. Your book is referring to the final state 2, not the intermediate state 1a. After abruptly increasing the pressure in process 1-1a when there was no time for the gas to compress, we now allow the gas to naturally compress from state 1a to state 2 at constant external pressure. During the compression heat transfers out of the gas and the temperature throughout the gas (and not just at the boundary) reaches equilibrium with the surroundings. The final temperature at state 2 is now the same as state 1, so there is no overall change in internal energy, as per your textbook.

Edit; One more question: According to my textbook, change in entropy is zero for reversible isothermal compression and non zero for irreversible isothermal compression. Why is that so?

I don't think you textbook is saying the change in entropy of the system for the reversible isothermal compression process itself is zero. It's probably saying the total entropy change of the system plus surroundings is zero, which is true. I suggest you re-read it.

The entropy change of the system alone is not zero for the reversible compression process. The change in entropy of the system is

$$\Delta S_{sys}=\frac{-Q}{T}$$

It is minus because the heat $Q$ is transferred out of the system to the surroundings. Since the process is reversible, the change in entropy of the surroundings is

$$\Delta S_{sur}=\frac{+Q}{T}$$

For a total entropy change of zero.

For the irreversible isothermal compression, the change in entropy of the system is the same as the reversible process, that is, $\frac{-Q}{T}$, because entropy is a state function. But in order for the system entropy to return to its original state, the extra entropy generated with the system due to the irreversible process had to be transferred to the surroundings in the form of heat. In other words, for the irreversible compression the change in entropy of the surroundings will be

$$\Delta S_{sur}=\frac{+Q}{T}+σ$$

Where $σ$ = entropy generated within the system due to irreversibility.

So now the total entropy (system + surroundings) is

$$\Delta S_{tot}=\Delta S_{sys}+\Delta S_{sur}=\frac{-Q}{T}+\frac{+Q}{T}+σ$$

$$\Delta S_{tot}=σ>0$$

Which is why your textbook says "$\Delta S_{sys}+\Delta S_{sur}$ is not zero for irreversible process". It equals the entropy generated in the system, σ.

At some point you should learn you how to calculate σ.

PS- If you would like to see a worked out example, check out the following: http://pillars.che.pitt.edu/student/slide.cgi?course_id=19&slide_id=38.0

I didn't know there is entropy generated due to irreversibility. But why is it so? Entropy is a state function so it must only depend on initial and final states right?

Regarding the details of how irreversibility generates entropy, I don’t have as deep an understanding of the details of the mechanisms as some others, notably @Chet Miller in particular. For one thing it involves a deeper understanding of fluid mechanics, that I don't possess.

But as I understand it, one reason is that pressure gradients exist in the gas due to the sudden increase in external pressure in the irreversible process. These gradients result in internal viscous work (a.k.a, fluid friction work). You may have learned friction dissipates energy in the form of heat that would otherwise be available to perform mechanical work. That's as far as I can take it. But @Chet Miller provides a cool mechanical analog involving springs and dampers, where spring compression and extension represent reversible work, while the dampers represent irreversible friction work. For details see one Chet’s answers in the following link: Released-absorbed heat relation in irreversible process. Note that damping friction goes to zero as the piston velocity approaches zero (quasi-static condition).

You are correct entropy is a state function (system property) that only depends only on the initial and final states. Entropy generation is always a positive quantity or zero (for a reversible process). Since its value depends on the process, entropy generation is not a property of the system. Consequently in order for the property of entropy of the system to be the same between two states, any entropy generated in the system must be transferred out of the system to the surroundings in the form of heat. This means the increase in entropy of the surroundings will be greater for an irreversible process than a reversible process, or $\Delta S_{tot}>0$. The original link I gave you will provide an example calculation of entropy generation.

I should add that for a step by step approach to determine the change in entropy of a system, check out Grandpa Chet's Entropy Recipe in the following link: https://www.physicsforums.com/insights/grandpa-chets-entropy-recipe/

Hope this helps.

enter image description here

$\endgroup$
4
  • $\begingroup$ Hey Bob D, I didn't know there is entropy generated due to irreversibility. But why is it so? Entropy is a state function so it must only depend on initial and final states right? I really appreciate it, thanks a lot for helping $\endgroup$ Apr 7, 2020 at 19:03
  • $\begingroup$ @MichaelFaraday Sure. I'll get back a little later to update my answer to respond to your follow up question. Right now I gotta run. $\endgroup$
    – Bob D
    Apr 7, 2020 at 19:46
  • $\begingroup$ Alright thanks Bob. $\endgroup$ Apr 8, 2020 at 14:04
  • $\begingroup$ @MichaelFaraday Sorry for not being able to get back sooner. I have updated my answer. Hope it helps. $\endgroup$
    – Bob D
    Apr 8, 2020 at 14:48
1
$\begingroup$

[...] And hence the walls do not impart a force to the particles in the container (the force would change the kinetic energy of the particles).

This is not correct. To isothermally compress an ideal gas, you put it in thermal contact with a heat bath at some constant temperature $T$. As you depress the piston, it does impart energy to the gas in the way that you describe, but at each infinitesimal step, precisely the same amount of energy is drawn out of the system by the reservoir, so that the total energy (and therefore, temperature) of the ideal gas remains constant.

But what if you isothermally compress a gas quickly?

If you compress a gas so quickly that the reservoir does not have time to draw energy from the gas (and therefore maintain a constant temperature), then the compression will not be isothermal. This would be more akin to an adiabatic compression, in which no heat flows in or out of the cylinder, followed by an isochoric, irreversible cooling (irreversible because the temperature of the resevoir and the temperature of the gas would be different).

This assumes that the compression occurs rapidly enough that the reservoir cannot draw heat away fast enough, but not so rapid that the compression itself is irreversible. In the latter case, the pressure and temperature of the gas would in general vary with position (e.g. you might generate shock waves), and the techniques of equilibrium thermodynamics would be insufficient.

$\endgroup$
10
  • 1
    $\begingroup$ @MichaelFaraday When you compress a gas, it takes some amount of time for the changes in pressure and temperature to distribute throughout the gas. The idea is that we want the system to have uniform, well-defined pressure and temperature at every stage, which means the compression needs to proceed slowly enough that the system is always infinitesimally close to equilibrium. $\endgroup$
    – J. Murray
    Apr 6, 2020 at 22:47
  • 1
    $\begingroup$ @MichaelFaraday It might help to note that no real processes are truly reversible, but sufficiently slow processes are approximately reversible. $\endgroup$
    – J. Murray
    Apr 6, 2020 at 22:48
  • 1
    $\begingroup$ @MichaelFaraday It depends. If, for example, you have a gas with volume $V_1$ separated from region in vacuum and then suddenly remove the barrier, the gas will expand "freely" into the vacuum region without decreasing in temperature. From there, if you want to return the gas to its original state, you need to compress it isothermally, which will cause heat to flow into the environment, thus increasing the environment's entropy. $\endgroup$
    – J. Murray
    Apr 7, 2020 at 14:02
  • 1
    $\begingroup$ @MichaelFaraday See this animation: youtube.com/watch?v=T2Nuxralkj8 $\endgroup$
    – J. Murray
    Apr 7, 2020 at 14:02
  • 1
    $\begingroup$ @MichaelFaraday That only happens when the gas expands by pushing on a piston (and therefore doing work against the environment). In this case, the gas is expanding into vacuum, so there is nothing to push on. $\endgroup$
    – J. Murray
    Apr 7, 2020 at 18:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.