Physics Forums Insights
  • Physics
    • Physics Articles
    • Physics Tutorials
    • Physics Guides
    • Physics FAQs
  • Math
    • Math Articles
    • Math Tutorials
    • Math Guides
    • Math FAQs
  • Bio/Chem/Tech
    • Bio/Chem Articles
    • Computer Science Tutorials
    • Technology Guides
  • Education
    • Education Articles
    • Education Guides
  • Interviews
  • Quizzes
  • Forums
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu
entropy

How to Determine the Change in Entropy

August 22, 2016/9 Comments/in Physics Tutorials/by Chestermiller
📖Read Time: 8 minutes
📊Readability: Advanced 📐 (Technical knowledge needed)
🔖Core Topics: statefinalinitialreversiblechange

How do you determine the change in entropy for a closed system that is subjected to an irreversible process?

Here are some typical questions we get at Physics Forums from confused members:

  • If I have an irreversible adiabatic process, shouldn’t the change in entropy be zero since q/T is zero?
  • Since entropy is a function of the state, shouldn’t the change in entropy for an irreversible adiabatic process between an initial and final equilibrium state be the same as that for a reversible adiabatic process between the same two thermodynamic equilibrium states?

My objective in this article is to offer my cookbook recipe for determining the change in entropy for an irreversible process on a closed system, and then to provide a few examples of how this recipe can be applied.

Table of Contents

  • THE ENTROPY CHANGE RECIPE
    • EXAMPLE 1 Thermal Equilibration of Two Solids in Contact
    • EXAMPLE 2  Adiabatic Irreversible Expansion of an Ideal Gas
    • EXAMPLE 3  Gas and Vacuum in Divided Chamber
    • More Related Articles

THE ENTROPY CHANGE RECIPE

  1.  Apply the First Law of Thermodynamics to the irreversible process to determine the final thermodynamic equilibrium state of the system
  2. Forget about the actual irreversible process (entirely), and focus instead exclusively on the initial and final thermodynamic equilibrium states.  This is the most important step.
  3. Devise a reversible path between the same two thermodynamic equilibrium states (endpoints).  This reversible path does not have to bear any resemblance whatsoever to the actual irreversible process path.   For example, even if the actual irreversible process is adiabatic, the reversible path you devise does not have to be adiabatic.  You can even separate various parts of the system from one another, and subject each of them to a different reversible path, as long as they all end up in their correct final states. Plus, there is an infinite number of reversible process paths that can take you from the initial state to the final state, and they will all give the same value for the change in entropy.  So try to devise a path that is simple to work with (i.e., for which it is easy to apply step 4).
  4. For the selected reversible path, evaluate the integral of dq/T from the initial state to the final state, where dq is the incremental amount of heat added to the system along the sequence of changes comprising the reversible path.  This will be your change of entropy S.  That is, ##\Delta S=\int\frac{dq_{rev}}{T}##, where the subscript rev refers to the reversible path.

EXAMPLE 1 Thermal Equilibration of Two Solids in Contact

Consider two identical solid objects, each of mass M and heat capacity C.  Initially, the two solids are at temperatures ##T_H## and ##T_C##.  The objects are then brought into thermal contact and allowed to spontaneously equilibrate.

Step 1:  Apply the First Law of Thermodynamics to establish the final equilibrium state

There is no heat transferred and no work done on the combined system of two objects.  Therefore, the change in internal energy of the system ##\Delta U## is equal to zero:$$\Delta U=CM(T_F-T_H)+CM(T_F-T_C)=0$$where ##T_F## is the final equilibrium temperature.  Solving for ##T_F## gives:$$T_F=\frac{(T_H+T_C)}{2}$$

Step 2:  Focus exclusively on the initial and final thermodynamic equilibrium states of the system.

State 1:  Object 1 at ##T_H##.  Object 2 at ##T_C##

State 2:  Objects 1 and 2 at ##(T_h+T_C)/2##.

Step 3:  Devise a reversible process to take the system from its initial to its final thermodynamic equilibrium state.

Starting from State 1, we first separate the two objects.  We then take Object 1 and contact it with a continuous sequence of constant temperature reservoirs, running (very gradually) from its initial temperature ##T_H## to its final temperature ##(T_h+T_C)/2##.  Similarly, for Object 2, we contact it with a continuous sequence of constant temperature reservoirs, running (very gradually) from its initial temperature ##T_C## to its final temperature ##(T_h+T_C)/2##.

Step 4:  For the selected reversible path, evaluate the integral of dq/T from the initial state to the final state.  This will be the change of entropy.

For the very gradual removal of heat from the hotter object along the identified reversible path, we have $$dS_1=\frac{dq}{T}=\frac{MCdT}{T}$$Integrating this equation between the initial and final states of the Object 1, we obtain:$$\Delta S_1=MC\ln{\frac{(T_H+T_C)}{2T_H}}$$Similarly, for Object 2, we have:$$\Delta S_2=MC\ln{\frac{(T_H+T_C)}{2T_C}}$$So, if we add the changes in the entropies of the two objects together, we obtain the overall change in entropy of the combined system:$$\Delta S=2MC\ln{\left[\frac{(T_H+T_C)/2}{\sqrt{T_HT_C}}\right]}$$Note that the term in brackets in this equation is the arithmetic mean of the two initial temperatures divided by their geometric mean.  Mathematically, this ratio is always > 1, so the natural log of the ratio is >0, and the entropy change for our spontaneous thermal equilibration process is positive.

EXAMPLE 2  Adiabatic Irreversible Expansion of an Ideal Gas

Consider the irreversible expansion of ideal gas in an adiabatic cylinder with a massless, frictionless piston.  The volume, pressure, and temperature of the gas are initially ##V_0##, ##P_0##, and ##T_0##, respectively.  ##P_0## is also the pressure applied externally to the piston in the initial state of the system:  ##P_{ext}=P_0##.  At a certain instant of time, we suddenly decrease the force per unit area applied externally to the piston to a (significantly lower) new value ##P_{ext}=P_F## and cause it to stay at this new value until the system re-equilibrates.  In this scenario, the gas will expand very rapidly and irreversibly to the final state.

Step 1:   Apply the First Law of Thermodynamics to establish the final equilibrium state of the system.

For the very gradual removal of heat from the hotter object along the identified reversible path, we have $$dS_1=\frac{dq}{T}=\frac{MCdT}{T}$$Integrating this equation between the initial and final states of the Object 1, we obtain:$$\Delta S_1=MC\ln{\frac{(T_H+T_C)}{2T_H}}$$Similarly, for Object 2, we have:$$\Delta S_2=MC\ln{\frac{(T_H+T_C)}{2T_C}}$$So, if we add the changes in the entropies of the two objects together, we obtain the overall change in entropy of the combined system:$$\Delta S=2MC\ln{\left[\frac{(T_H+T_C)/2}{\sqrt{T_HT_C}}\right]}$$Note that the term in brackets in this equation is the arithmetic mean of the two initial temperatures divided by their geometric mean.  Mathematically, this ratio is always > 1, so the natural log of the ratio is >0, and the entropy change for our spontaneous thermal equilibration process is positive.

Step 2:  Focus exclusively on the initial and final thermodynamic equilibrium states of the system.

State 1:  Ideal gas at ##P_0##, ##T_0##, and ##V_0##

State 2:  Ideal gas at ##P_F##, ##T=T_F=\left[1-\frac{(\gamma -1)}{\gamma}\frac{(P_0-P_F)}{P_0}\right]T_0##, and ##V=V_F=\frac{P_0}{P_F}\left[1-\frac{(\gamma -1)}{\gamma}\frac{(P_0-P_F)}{P_0}\right]V_0##

Step 3:  Devise a reversible process to take the system from its initial to its final thermodynamic equilibrium state.

Starting from State 1, reversibly change the temperature of the gas at constant volume ##V_0## from the initial temperature ##T_0## to the final temperature ##T_F##.  This can be accomplished using the same kind of approach employed to change the temperatures of the objects in Example 1.  For this reversible change, we have $$dU=nC_vdT=dq_{rev}$$.

Once the gas is at volume ##V_0## and temperature ##T_F##, expand the gas isothermally and reversibly to the new volume ##V_F##.  This can be accomplished by very gradually reducing the pressure on the piston (while simultaneously adding heat from a constant temperature bath to maintain the temperature at ##T_F##) until the final volume ##V_F## is attained.  During this second portion of the reversible process scheme, dU = 0, and $$dq_{rev}=dW=PdV=\frac{nRT_F}{V}dV$$

Step 4:  For the selected reversible path, evaluate the integral of dq/T from the initial state to the final state.  This will be the change of entropy.

If we evaluate the integral of dq/T for the combination of reversible process changes described in Step 3, we obtain:$$\Delta S=nC_v\ln (T_F/T_0)+nR\ln (V_F/V_0)\tag{8}$$Substitution of Eqns. 2-7 into Eqn. 8 enables us to express ##\Delta S## solely in terms of the initial conditions and the ratio of the final pressure to the initial pressure ##P_F/P_0## (after considerable mathematical manipulation):$$\frac{T_0\Delta S}{P_0V_0}=\frac{\gamma}{(\gamma-1)}\ln{\left[1-\frac{(\gamma -1)}{\gamma}\frac{(P_0-P_F)}{P_0}\right]}-\ln{\left[1-\frac{(P_0-P_F)}{P_0}\right]}\tag{9}$$The entropy change calculated from Eqn. 9 for our irreversible process is found to always be positive, irrespective of whether ##P_F<P_0## or whether ##P_F>P_0##.  Therefore, the equation applies not only to irreversible expansions but also to irreversible compressions.  We can get a better feel for how this plays out if we expand the right-hand side of Eqn. 9 in a Taylor series in ##\frac{(P_0-P_F)}{P_0}##.  The linear term in the expansion cancels out, and the first non-zero term is the quadratic term:$$\frac{T_0\Delta S}{P_0V_0}\approx \frac{1}{2\gamma}\left[\frac{(P_0-P_F)}{P_0}\right]^2+…\tag{10}$$The term in brackets in Eqn. 10 is positive definite irrespective of the values of ##P_0## and ##P_F##.

EXAMPLE 3  Gas and Vacuum in Divided Chamber

Consider a rigid insulated chamber of volume ##2V_0## divided in half with a barrier.  In one-half of the chamber there is an ideal gas at temperature ##T_0## and pressure ##P_0##.  In the other half of the chamber, there is a vacuum.  Suddenly, the barrier is removed, and the system is allowed to spontaneously re-equilibrate.

Step 1:  Apply the First Law of Thermodynamics to establish the final equilibrium state

Since the chamber is rigid and insulated, no work W is done on the contents and no heat Q is transferred to the contents.  So, from the First Law of Thermodynamics, $$\Delta U=nC_v(T_F-T_0)=0$$This means that the final temperature of the gas ##T_F## is equal to its initial temperature ##T_0##.$$T_F=T_0$$From the ideal gas law it follows that since the volume has doubled, the pressure has halved:  $$P_F=P_0/2$$

Step 2:  Focus exclusively on the initial and final thermodynamic equilibrium states of the system.

State 1:  Ideal gas at ##P_0##, ##V_0##, and ##T_0##

State 2:  Ideal gas at ##P_0/2##, ##2V_0##, and ##T_0##

Step 3:  Devise a reversible process to take the system from its initial to its final thermodynamic equilibrium state.

Remove the initial gas from the rigid, insulated chamber, and place it in a cylinder of the same initial volume featuring a massless frictionless piston.  Cause the gas to expand isothermally and reversibly by placing the cylinder in contact with a constant temperature bath at ##T_0##, and moving the piston outward very gradually until the final volume is ##2V_0##.  In this isothermal reversible expansion, dU=0, and $$dq_{rev}=PdV=\frac{nRT_0}{V}dV$$

Step 4:  For the selected reversible path, evaluate the integral of dq/T from the initial state to the final state.  This will be the change of entropy.

If we evaluate the integral of dq/T for the reversible process described in Step 3, we obtain:  $$\Delta S=nR\ln(V_F/V_0)=nR\ln(2)=\frac{P_0V_0}{T_0}\ln(2)$$This entropy change is, of course, >0.

 

Read my next article: Lessons from the Bizarro Universe

Chestermiller

PhD Chemical Engineer
Retired after 35 years experience in industry
Physics Forums Mentor

More Related Articles

  • Frequently Made Errors in Heat: Elementary Level
  • Why Bother Teaching Mechanical Energy Conservation?
  • Learn Statistical Mechanics: Equilibrium Systems
  • What are Negative Absolute Temperatures
  • Understanding Entropy and the 2nd Law of Thermodynamics
  • Learn Statistical Mechanics: The Ideal Gas
Tags: Entropy
Share this entry
  • Share on Facebook
  • Share on X
  • Share on WhatsApp
  • Share on LinkedIn
  • Share on Reddit
  • Share by Mail
https://www.physicsforums.com/insights/wp-content/uploads/2016/08/entropy.png 135 240 Chestermiller https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png Chestermiller2016-08-22 13:23:182025-01-28 07:47:03How to Determine the Change in Entropy
You might also like
negative temperature Negative Absolute Temperatures: Explanation & Examples
entanglement_entropy Learn Entanglement Entropy in Quantum Mechanics
animationwalk Fun with Self-Avoiding Walks Simulations
entanglement_entropy2 Lesson on Entanglement Entropy in Quantum Field Theory
What is Entropy What Thermodynamics and Entropy Means
Thermodynamics Understanding Entropy and the 2nd Law of Thermodynamics
9 replies
  1. Logic hunter says:
    December 15, 2018 at 1:27 pm

    this article alone was sufficient to get my thermodynamics right.

    Log in to Reply
  2. Lo Scrondo says:
    November 7, 2016 at 4:26 am

    [QUOTE="Chestermiller, post: 5614358, member: 345636"]Isolated systems are a subset of closed systems.”I've thought that this could be the motivation. Thanks for your confirm!

    Log in to Reply
  3. Chestermiller says:
    November 7, 2016 at 4:26 am

    [QUOTE="Lo Scrondo, post: 5614327, member: 608182"]Many thanks for your contribution Chet, I've read many useful answers you gave here, before signing in!If I just could ask a thing…Your insight talks about entropy change in closed systems. However, doesn't the last example depict an isolated system?”Isolated systems are a subset of closed systems.

    Log in to Reply
  4. Lo Scrondo says:
    November 7, 2016 at 2:58 am

    Many thanks for your contribution Chet, I've read many useful answers you gave here, before signing in!If I just could ask a thing…Your insight talks about entropy change in closed systems. However, doesn't the last two examples depict isolated systems?

    Log in to Reply
  5. MexChemE says:
    August 25, 2016 at 8:51 am

    You're the best, Chet!

    Log in to Reply
  6. Chestermiller says:
    August 23, 2016 at 11:42 am

    [QUOTE="boneh3ad, post: 5548974, member: 268837"]Don't be so hard on yourself. I always thought of you more like the crazy old uncle.”I don't know about the uncle part, but….

    Log in to Reply
  7. Praphul T says:
    August 23, 2016 at 5:20 am

    Thank you Chet! I am a Master student in thermal engineering and I find this extremely helpful. [emoji4]

    Log in to Reply
  8. boneh3ad says:
    August 22, 2016 at 11:51 pm

    Don't be so hard on yourself. I always thought of you more like the crazy old uncle.

    Log in to Reply
  9. Greg Bernhardt says:
    August 22, 2016 at 10:52 pm

    Great recipe Chet! Looking forward to future tastings :)

    Log in to Reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply Cancel reply

You must be logged in to post a comment.

Trending Articles

  • Revisiting the Velocity-Time Function
  • Time Dilation & Redshift of Schwarzschild Black Holes
  • What Planck Length Is and It’s Common Misconceptions
  • Richard Feynman Quiz: Think You Know Richard Feynman?
  • Why 1 Equals 0.999… — Explanations & Rigorous Proofs
  • Learn Why Ohm’s Law Is Not a Law
  • Frequently Made Errors in Mechanics: Kinematics
  • Why the Need of Infinity in Physics
  • How Does an Airplane Wing Work? A Primer on Lift
  • Learn the Physics of Virtual Particles in Quantum Mechanics

Physics Forums

  • Classical Physics
  • Atomic and Condensed Matter
  • Quantum Physics
  • Special and General Relativity
  • Beyond the Standard Model
  • High Energy, Nuclear, Particle Physics
  • Astronomy and Astrophysics
  • Cosmology
  • Other Physics Topics

Receive Insights Articles to Your Inbox

Enter your email address:

Blog Information

  • Become a Member!
  • Write for Us!
  • Table of Contents
  • Blog Author List

Popular Topics

astronomy (17) black holes (17) classical physics (35) cosmology (16) education (23) electromagnetism (19) general relativity (19) gravity (24) interview (21) mathematics (39) mathematics self-study (21) Physicist (26) programming (18) Quantum Field Theory (31) quantum mechanics (36) quantum physics (24) relativity (40) Special Relativity (16) technology (19) universe (21)
2026 © Physics Forums, ALL RIGHTS RESERVED - Contact Us - Privacy Policy - About PF Insights
  • Link to X
  • Link to Facebook
  • Link to LinkedIn
  • Link to Youtube
Link to: Learn About Supersymmetry and Deligne’s Theorem Link to: Learn About Supersymmetry and Deligne’s Theorem Learn About Supersymmetry and Deligne’s TheoremSupersymmetryLink to: So I Am Your Intro Physics Instructor Link to: So I Am Your Intro Physics Instructor introphysicsSo I Am Your Intro Physics Instructor
Scroll to top Scroll to top Scroll to top