CH 431/Lecture 7
From WolfWikis
| CH 431 |
|---|
| Lecture 1 |
| Lecture 2 |
| Lecture 3 |
| Lecture 4 |
| Lecture 5 |
| Lecture 6 |
| Lecture 7 |
| Lecture 8 |
| Lecture 9 |
| Lecture 10 |
| Lecture 11 |
| Lecture 12 |
| Lecture 13 |
| Lecture 14 |
| Lecture 15 |
| Lecture 16 |
| Lecture 17 |
Contents |
LECTURE 7
Spontaneity and entropy
| S&McQ 817 |
There are many spontaneous events in nature. See e.g. fig 20.1 and 20.2. If you open the valve in both cases a spontaneous event occurs. In the first case the gas fills the evacuated chamber, in the second the gases will mix. The state functions U and H do not give us a clue what will happen. You might think that only those events are spontaneous that produce heat.
Not so:
- If you dissolve KNO3 in water, it does so spontaneously, but the solution gets cold.
- If you dissolve KOH in water, it does so spontaneously, but the solution gets hot.
Clearly the first law is not enough to describe nature.
A new state function named entropy
| S&McQ 820 |
Suppose we have a small reversible change dU in the energy of an ideal gas. We know that U only depends on temperature:
- dU = Cv.dT
We also know that any reversible work would be volume work.
- δwrev = -PdV
This means that we can write:
- δqrev = dU - δwrev
- δqrev = Cv.dT + PdV
| S&McQ 691 H-11 |
Let us examine if this represents an exact differential. If that were so we could take cross derivatives and arrive at the same answer:
- ∂ Cv/∂V should be equal to ∂P/∂T.
- ∂Cv/∂V= 0 because Cv does not depend on volume (only T, just like U: it is its derivative).
But:
- ∂P/∂T.= ∂(nRT/V)/∂T = nR/V and this is not zero!!
Clearly, δqrev is not a state function, but look what happens if we multiply everything with an 'integration factor' 1/T:
- δqrev/T = (Cv/T).dT + (P/T)dV
- ∂(Cv/T)/∂V = 0 because Cv/T still does not depend on volume
But:
- ∂(P/T)/∂T.= ∂(nR/V)/∂T = zero!!
Thus, the quantity dS = δqrev/T is an exact differential, so S is a state function. Its name is the ENTROPY.
Circular integrals
| S&McQ 820-1 |
Because it is a state function it integrates to zero over any circular path going back to initial conditions, just like U and H
As shown in section 20-3 we can use this fact to revisit the isotherm + isochore + adiabat circular path
- On the adiabat B there is no heat so qrev = 0.
- On the isochore C: δw=0, temperature is changing from T2 back to T1 this requires heat cV.ΔT.
| S&McQ 821-824 |
Along the isotherm A we have seen that :::qrev,A = +nRT ln[V2/V1]
The two quantities qrev,A and qrev,B+C are not the same, which once again underlines that heat is a path function. How about entropy?
First consider the path B+C:
We had seen this integral before, albeit from T1 to T2 (See Eq. 19.21):
- ΔSB+C = + nRln V2/V1
(Notice the + sign instead of the - sign in 19.21)
Along the isotherm A:
- qrev,A = +nRT ln[V2/V1].
T is a constant so that we can just divide and
- ΔSA is also +nRln[V2/V1].
Clearly entropy is a state function where qrev is not.
Spontaneity of an isolated system
|
Intermezzo: An isolated system is a little more than just adiabatic. In the latter heat cannot get in or out. In an isolated system nothing gets in or out, neither heat nor mass nor even any radiation like light. The isolated system is like a little universe all to itself |
| S&McQ 825-827 |
Let us consider a zero law process. We have two identical blocks of metal, say aluminum. They are each at thermal equilibrium, but at different temperatures. They are brought into contact with each other but isolated from the rest of the universe.
- Zeroth law: Heat will flow from hot to cold
- First law: There is no change in total energy
so:
- dUA= -dUB
There is also no work so:
- dUA = δqA + 0
Because U is a state function this makes q a state function as well, otherwise this equality does not hold. As there is only one term on the right there is only one path (along q). So we could write:
- dUA = dqA
This implies that we do not need to worry about reversible and irreversible paths as there is only one path.
As
- dS = δqrev/T => TdS = δqrev = dU in this particular case.
Thus we get:
Clearly as long as the two temperatures are not the same dS is not zero and entropy is not conserved. Instead it is increasing. Over time the temperatures will become the same (if the blocks are identical, the final temperature is the average of TA and TB) and the entropy will reach a maximum.
| S&McQ 836-837 |
For our two identical blocks of metal, we can in fact derive that the entropy change ΔS = Cv. ln[(TA2 + TB2)/4TATB]. This is indeed a postive quantity (See page 837).
In general we can say for an isolated system:
- dS ≥ 0
Thus iff we are dealing with a spontaneous (isolated!) process dS >0 and entropy is being produced. This gives us a criterium for spontaneity.
Entropy exchange of an open system
| S&McQ 828 |
In an isolated system dS represents the produced entropy dSprod and this is a good criterium for spontaneity. Of course the requirement that the system is isolated is very restrictive and makes the criteriun as good as useless... What happens in a system that can exchange heat with the rest of the universe? We do have entropy changes in that case, but part of them may have nothing to do with production, because we also have to consider the heat that is exchanged.
- dS = dSprod + dSexchange
IF the process is reversible (that is completely non-spontaneous) we are dealing with δqrev so that dSexchange =δqrev /T, but that is also what dStot is equal to (by definition). This leaves no room for entropy production.
So we have:
- Isolated: dS = dSprod + 0
- Reversible dS = 0 + δqrev/T
Notice that this demonstrates that for non-isolated systems entropy change is not a good criterium for spontaneity at all...
In the case the heat exchange is irreversible part of the entropy is entropy production by the system:
- Irreversible: dS = dSprod + δqirr/T
- Clearly dS > δqirr/T in this case.
Generalizing the isolated, irreversible and reversible cases we may say
| dS ≥ δq/T This is the Clausius inequality. |
Second law
The second law of thermodynamics can be formulated in many ways, but in one way or another they are all related to the fact that there is a state function S that at least in isolated systems tends to increase.
For a long time people have looked at the entire universe as an example of an isolated system and concluded that its entropy must be steadily increasing until δSuniverse becomes zero. Of late cosmologists like Hawkins have begun to question this assumption. The key problem there is the role of gravity and relativity in creating black holes. We will not consider this problem in any detail.
As we will see below the second law has important consequences for the question of how we can use heat to do useful work.
Vacuum expansion
| S&McQ 833-835 |
Let's compare two expansions from V1 to V2 for an ideal gas, both are isothermal. The first is an irreversible one, where we pull a peg an let the piston move against vacuum:

The second one is a reversible isothermal expansion from V1 to V2 (and P1 to P2) that we have examined before.
In the first case the is no change in energy because T does not change. There is also no volume work because -PextdV = -0dV integrates to zero. The piston has nothing to perform work against until it slams into the right hand wall. At this point V=V2 and then dV becomes zero.
No energy, no work that means: no heat!.
Clearly the zero heat is irreversible heat qirr = 0 and this makes it hard to calculate the entropy of this spontaneous process. But then this process ends in the same final state as the reversible expansion from V1 to V2 . We know that dU is still zero, but now δwrev = -δqrev is nonzero. We calculated its value before:.
- qrev = nRTln[V2/V1]
To find ΔS we just can divide out the (constant) temperature:
- ΔS= nRln[V2/V1]
As S is a state function this equation also holds for the irreversible expansion against vacuum.
|
Always calculate the entropy difference between two points along a reversible path!!. |
For the irreversible expansion into vacuum we see that
ΔS = ΔSprod + ΔSexchange = nRln[V2/V1] + 0
For the reversible one:
ΔS = ΔSprod + ΔSexchange = 0+ nRln[V2/V1]
Mixing two gases
| S&McQ 835-836 |
Consider two ideal gases at same pressure separated by a thin wall that is punctured. Both gases behave as if the other one is not there and again we get a spontaneous process, mixing in this case.
If the pressure is the same the number of moles of each gas should be proportional to the original volumes Va- and Vb and the total number of moles to the total volume Vtot.
For gas A we can write: ΔSA = nARlnVtot/VA = nAR ln ntot/nA
- ΔSB = R.nB ln Vtot/VB = R.nB ln ntot/nB
The entropy change in total per mole of gas is:
- ΔS/ntot =R[nB ln ntot/nB+ nA ln ntot/nA]/ntot
Using mole fractions ya = nA/ntot and the fact that ln[x/y] = - ln[y/x]
- ΔSmola = -R[yAlnyA +yBlnyB]
In the case of more than two gases:
- ΔSmola = -RΣ[yilnyi]
This entropy is known as the entropy of mixing. Its existence is the major reason why there is such a thing as diffusion and mixing when gases, but also solutions (even solid ones) are brought into contact with each other.
Carnot cycles
|
Sadi Carnot was a French engineer at the beginning of the 19th century. He considered a cyclic process involving a cylinder filled with gas. This cycle the Carnot cycle contributed greatly to the development of thermodymanics and the improvement of the steam engine Carnot demonstrated that the cold temperature on the right is as important as the heat source on the left in defining the possible efficiency of a heat engine |
| S&McQ 838-840 |
As we saw, heat and work are both forms of energy and under the right circumstance one form may be transformed into the other. However, the second law of thermodynamics puts a limitation on this.
To go from work to heat is called dissipation and there is no limitation on this at all. In fact it was through dissipation (by friction) that we discovered that heat and work were both forms of energy.
To go the other way is much harder. We can see that if we consider a circular reversible path in an ideal PV diagram. We start bottom left. The path consists of four steps:
- isochoric heating: q= +CvΔT (Cv is constant) from Tc to Th
- isothermal expansion qhot =-w: we get work out: whot =-RThln [V2/V1]
- isochoric cooling q= -CvΔT back to Tc
- isothermal compression qcold =-w: we must put work in: wcold =+RTcln [V2/V1]
The total fourstep process produces work because whot is larger in magnitude than wcold.
(See here for an animation. Notice anything different?)
The work is the integral under the upper isotherm minus the one under the lower curve, i.e.the surface area in between. Notice that this yellow area vanishes is we chose Thot= Tcold. Obviously how cold the cold side is of great importance!.
The amount of work is also equal to the difference in the heat picked up at high temperature qhot and dumped at low temperature qcold. The isochoric heats cancel. The problem is that qcold is only zero if the cold temperature is zero (Kelvin!). That means that we can never get all the heat we pick up at high temperatures to come out as work.
Efficiency
We can use the state function S to calculate how efficiently we can use heat to get useful work done. As the path is circular the circular integrals for both U and S are zero. This means that
Of course we spend good money on the fuel to start the cycle by heating things up. So how much work do we get for the heat we put in? If we define the efficiency of our heat engine as
- η≡-w/qhot
we get that
- η= 1+ qcold/qhot = 1-Tc/Th.
As you see we can only get full efficiency if Tcold is 0K (i.e. never).
Another implication is that if Tc = Th no work can be obtained. no matter how much energy is available in the from of heat. Or in other words, if one dissipates work into heat isothermally, none of it can be retrieved.
The above formula is not very forgiving at all. Just imaging that you have a heat source of say 400K (a superheated pool of water, e.g. a geyser) and you are dumping in the river at room temperature 300K. The best efficiency you'll ever get is:
- η= = 1-300/400= ¼.
Sadly, you'd be dumping three quarters of your energy as heat in the river.. (And that is best case scenario. There are always more losses, e.g. due to friction).
The arrow saying QC in the diagram below should then be three times as fat as the one that says W.
Heat pumps
| S&McQ none... |
So getting our work from heat is hard and always less than 100% succesful. The other way around should be easy. After all, we can dissipate work into heat freely even under isothermal conditions!
What happens if we let the heat engine run backwards? Consider reversing all the flows in the above diagram. Obviously we must put in work to make the cycle run in reverse. The heat will now flow from cold to hot, say from your cold garden into your nice and warm appartment. The amount of heat you get in your humble abode will be the sum of all the work (say 100 Joules) you dissipate plus the heat you pumped out of the garden (say 300 Joules). Thus if you are willing to pay for the energy you dissipate (100 Joules), you may well end up with a total of 400 Joules of heat in your appartment!.
Obviously if it is heat you after this is a better deal than just dissipating the work in your appartment (by burning some oil). Then you'd only get 100J for your precious buck.
Dissipating it as electrical heating is even worse because you would
- first burn (a lot more!) oil to generate heat
- use this heat to produce electrical work at great expense because a lot of the heats gets dumped at the low temperature side (the river or so)
- dissipate the work again in your appartment (without using it to pump any heat out of the garden)
I heat my appartment electrically.
To my defense I should add that I do not have a garden to pump heat from and I certainly do not have the (expensive) system of pipes, pumps and exchangers that would be required to make a heat pump work.
I do have a refrigerator. This is a heat pump too. It heats my room by pumping heat from its innards into my room. If I keep the door open, however, all it does is dissipate precious electrical work, because the pumped heat will flow back into its innards and spoil my milk.
All of this makes perfect sense if you own stock in an oil company. I'm sure my pension fund does.











