Latest / Mechanical Engineering Made Simple / (17) Understanding the State of Equilibrium
Transcript
- 0:00Welcome back, design junkies, to mechanical engineering Made
- 0:02simple. Today we're doing a deep dive
- 0:04into some absolutely core to engineering analysis.
- 0:07It's the state of equilibrium in thermodynamics.
- 0:11That's right. You know most engineering design
- 0:13pretty much everything from say, simple heat exchangers right up
- 0:15to complex phase change systems. It all hinges on this
- 0:19assumption, the assumption of equilibrium thermodynamics.
- 0:22It basically defines the best possible outcome, you know, the
- 0:26ideal state. But, and this is the kicker, the
- 0:29real world is, well, it's messy. It's always running away from
- 0:33this ideal state. And that's where it gets really
- 0:34interesting, doesn't it? The actual effect of making this
- 0:37ideal assumption because a lot of crucial processes, think
- 0:40combustion for example, they happen so fast, way too fast to
- 0:45actually hit that ideal stable state.
- 0:47Exactly. And that's the context here
- 0:50really. It's about the consequences of
- 0:52not reaching equilibrium. Things like pollutants, carbon
- 0:55monoxide, texacanvas to jaro oxides of nitrogen, texdos.
- 1:00They are fundamentally a direct result of the system just not
- 1:04having enough time, not enough time to reach thermodynamic
- 1:08equilibrium. So before we can figure out why
- 1:10our real fast systems aren't getting there, we really need to
- 1:14define that ideal state mathematically.
- 1:16OK, so let's build up some intuition first, like before
- 1:20diving straight into the heavy math, the concept of
- 1:22equilibrium. It's often easier to grasp with
- 1:25simple mechanical systems. You know, the classic marble
- 1:27analogies. Yeah, those are great.
- 1:29They really set the stage for the the more rigorous
- 1:32mathematical criteria we'll need later, especially when we talk
- 1:35about entropy and energy. Right.
- 1:36So starting with the first one, stable equilibrium, just picture
- 1:39a marble sitting right at the bottom of a smooth bull.
- 1:41If you give it a little nudge, what happens?
- 1:43It rolls right back down to the bottom.
- 1:45It wants to be there. And mathematically, this
- 1:47stability translates to two conditions for an isolated
- 1:51system, the total variation of entropy, which we write as text
- 1:54dao, well, that has to be negative, so text dollar and at
- 1:58the same time the corresponding variation of energy text has to
- 2:01be positive. Essentially, if you disturb it,
- 2:04the system's energy goes up slightly and that pushes it back
- 2:06towards the stable lower energy state.
- 2:09Makes sense. Then you've got neutral
- 2:11equilibrium. Think of the marble, but this
- 2:14time it's in a perfectly flat horizontal through.
- 2:17The source material tells us it's an equilibrium anywhere
- 2:20along that through axis. Which means the criteria are 0
- 2:23for both variations in that direction.
- 2:26So text dollars me, but only along the through axis of
- 2:28course. OK, Next up, 3 unstable
- 2:32equilibrium. This is like trying to balance
- 2:34that marble right on the very top point of a smooth hill or
- 2:38Dome. Right, precarious.
- 2:40And the math shows the opposite signs compared to stable here.
- 2:42Tex Dillers and any tiny movement.
- 2:45Any nudge at all and it just rolls further away from that
- 2:48supposed equilibrium point. It doesn't return.
- 2:52And finally, there's four meta stable equilibrium.
- 2:56This one's a bit more subtle. Imagine the marble is sitting in
- 2:59a little dip, but that dip is actually higher up than another
- 3:03deeper dip nearby, like the higher of two troughs.
- 3:07Tiny disturbances. It just rolls back to the bottom
- 3:10of its little dip. Exactly infinitesimal variations
- 3:12cause it to return, but if you give it a bigger push.
- 3:15A larger variation. You can get knocked over the
- 3:17edge and fall down into the lower, more fundamentally stable
- 3:20through. OK, these analogies are helpful.
- 3:22Now you mentioned the notation text Eagle.
- 3:24Why the a? Why not just?
- 3:26Good question. It's a crucial detail actually.
- 3:28When we talk about equilibrium conditions, often the 1st order
- 3:31change, the differential text might be 0.
- 3:34That tells you you're at an equilibrium point, maybe stable,
- 3:37maybe unstable, maybe neutral. But for stability you need to
- 3:39look beyond the first term. Text represents the total
- 3:42variation, which includes higher order terms from like a Taylor
- 3:47series expansion. So mathematically, text plus
- 3:49FRAX 2 plus whole thing, text 2 plus not zero usually because
- 3:53those second derivative terms and so on are not 0.
- 3:57That's why for a truly stable state, the requirement is that
- 4:00the total variation of entropy must be negative.
- 4:04It accounts for the curvature if you like, not just the slope.
- 4:07OK, I get it. So text dollar finds the peaks
- 4:10and valleys, but text dollar confirms it's definitely a
- 4:13valley, a stable point. Precisely.
- 4:16Hasavilis and Keenan summarize the derived criteria nicely.
- 4:20Stable equilibrium has EDS, neutral has EDSE and unstable
- 4:24has EDS and unstable has EDS but the eye straights.
- 4:28EDS, right? And that link you made earlier,
- 4:31the engineer's intuition that energy rises upon disturbance in
- 4:35a stable mechanical system. That's mirrored by this negative
- 4:38variation of entropy in thermodynamics, yes.
- 4:41That's the conceptual bridge. OK, let's use that bridge.
- 4:44Let's transition now to a purely thermodynamic system, the
- 4:46classic example, heat transfer between two blocks.
- 4:49OK. Imagine an isolated system, just
- 4:51two metal blocks, a initially different temperatures text T91
- 4:55and text T2. Let's assume text T is hotter
- 4:57than text T2. They're connected by some
- 4:59conductor, so heat and amount of energy delta of kiora is
- 5:02transferred from the hot block to the cold block.
- 5:04Now, if we imagine this transfer happening reversibly, which is
- 5:08sort of an idealized process. Infinitely slowly.
- 5:11Then the entropy changes for each block are defined very
- 5:14precisely by the equations in the source.
- 5:16For block one losing heat text 1 frac delta T1 that's equation
- 5:201.1, and for block 2 gaining heat plus frac delta text T1.
- 5:25But of course, in reality, because text T1 is actually
- 5:27greater than text T2, the heat transfer is spontaneous.
- 5:30It's irreversible. This means the actual entropy
- 5:33changes are greater than the reversible case, so the
- 5:35inequalities apply. Text 1 frac alta Text T1 which
- 5:38is 1.1 A and text 2 plus frac delta text T2 which is 1.2 a.
- 5:43OK, so for the real irreversible process, what's the total
- 5:47entropy change for the whole isolated system?
- 5:49It's just the sum text 1 plus text 2 rate.
- 5:51Exactly, and when you add the reversible components you get
- 5:54the change left to Frag Alta Text 2.
- 5:56We can rewrite that slightly as texted to TM.
- 5:58And since we started with text 2 and text 2 and not a 2, is
- 6:01positive heat transfer that whole term?
- 6:03Must be positive. The total entropy, the isolated
- 6:06system increases during this spontaneous process.
- 6:08That's the second law in action. It confirms the system naturally
- 6:11moves towards increasing entropy.
- 6:13Now how do we prove that the equilibrium state itself
- 6:16corresponds to the maximum possible entropy we?
- 6:19Can use a sort of proof by contradiction.
- 6:21Imagine the blocks are already in equilibrium, so $2.00 of t =
- 6:25t two equals is T. Now suppose hypothetically a
- 6:28tiny amount of heat delta Q spontaneously transferred
- 6:33reversibly due to some infinitesimal fluctuation delta
- 6:37T, say from T plus delta T to T delta OK.
- 6:40Following the math in the source, the entropy changed Tait
- 6:43would be the heat out over the slightly higher temp plus the
- 6:46heat in over the slightly lower temp.
- 6:49So text delta T plus DD T. Right, and if you combine those
- 6:52fractions an approximate for small delta T ignoring the tiny
- 6:56delta T2 term in the denominator.
- 6:58You get equation 1.4 from the text.
- 7:01Take two plus delta T plus delta T plus delta T facts.
- 7:03Take Delta TT. Hold on, there seems to be a
- 7:06signed discrepancy in the source text.
- 7:07Equation 1.4 derivation step. Let's reevaluate.
- 7:10Frac delta T plus frac delta T plus frac delta T.
- 7:13Common denominator is D plus delta TTT 2D T 2 numerator
- 7:17becomes delta Q delta T plus delta Q plus delta Q plus delta
- 7:20T so frac and TQ delta T delta T It's approximate for small delta
- 7:24T. This is approx frac to Q delta
- 7:26T2. OK, the source materials
- 7:30intermediate step had a sign flip, but the ultimate
- 7:32conclusion is what matters. If we assume heat delta Q flows
- 7:37from hotter delta T plus delta T2, then delta Q and delta T are
- 7:42both positive I. Mean text would be positive
- 7:43frack to T2 delta T2 delta T2, which supports the idea that any
- 7:47spontaneous fluctuation away from uniform temperature
- 7:49increases entropy, implying the uniform state was not the
- 7:52maximum. Wait, the outline says the
- 7:55result proves maximum entropy is obtained when T1T2 because
- 7:59entropy would have decreased. Let's reconsider the sources
- 8:02intent with equation 1.4. Even with the apparent sign
- 8:05issue in the intermediate step, the procs Rack 2DD takes.
- 8:08You OK, let's follow the source text.
- 8:09Final form Text rack 2D T 2. If E delta Q spontaneously flows
- 8:14from the slightly hotter part T plus delta T to the slightly
- 8:17cooler part, then delta Q's is positive heat, leaving the plus
- 8:20DT part entering the HDT part and delta T is positive.
- 8:24In this scenario, the sources equation yields a negative text.
- 8:27So a spontaneous fluctuation equation away from equilibrium
- 8:31uniform T would lead to a decrease in entropy according to
- 8:34this equation. That doesn't seem right based on
- 8:36the second law. Agreed, the derivation seems
- 8:39problematic as transcribed or interpreted.
- 8:41However, the conclusion drawn from it in the broader
- 8:44thermodynamic context is sound. The state of uniform temperature
- 8:48T dollar T22 is the state of maximum entropy for this
- 8:51isolated system. Any spontaneous process drives
- 8:54the system towards the state, increasing total entropy until
- 8:58the maximum is reached at equilibrium.
- 9:00Right, let's perhaps rely on the established principle rather
- 9:04than getting bogged down in that specific derivations potential
- 9:07issue. The take away is clear.
- 9:09Equilibrium in an isolated system means maximum entropy.
- 9:13Yes, and this leads to the general criterion stated by
- 9:16Keenan back in 1963. For stability of any system, the
- 9:20variation of entropy shall be negative.
- 9:22Which is written mathematically using that total variation
- 9:25notation again as text total later.
- 9:27That's equation 1.5. And this really gives us the
- 9:30definitive mathematical statements for equilibrium and
- 9:32stability in an isolated system based on entropy.
- 9:35That means spontaneous change will occur.
- 9:38You're not stable. May be unstable.
- 9:40Moving away from equilibrium 2. If ESEE, it means you're at an
- 9:45equilibrium point. Could be stable, neutral or
- 9:49unstable. You're at a flat spot, peak or
- 9:51valley. And if etex EEE, that's the
- 9:54rigorous criterion confirming it's a stable equilibrium.
- 9:57The bottom of the valley. OK, so the entropy criterion is
- 10:00powerful. It's universal for isolated
- 10:02systems, but it's a bit abstract, isn't it?
- 10:06Like engineers usually deal with systems that aren't perfectly
- 10:09isolated. They're often held at constant
- 10:11temperature or constant pressure or constant volume.
- 10:14Exactly. And that's why we developed
- 10:16derived properties, things like Helmholtz and Gibbs energies.
- 10:19They essentially translate that abstract entropy criterion into
- 10:23something more tangible, often related to work potential under
- 10:26those more practical constraints.
- 10:28Right, making it more directly useful for design calculations.
- 10:31Let's start with Helmholtz energy, which we usually denote
- 10:34is $5. OK, what's what's the setup for
- 10:36deriving that? Imagine you have your system,
- 10:38system A. It can exchange heat delta Q
- 10:41dollars and do work DD Q. The first law for just system A
- 10:45is pretty standard delta text to Dole plus delta text you qua.
- 10:48That's equation 1.6 E Here is the total energy of the system.
- 10:53Now imagine this system interacts with a large heat
- 10:55reservoir at a constant temperature, $2.00 dollars.
- 10:58We want to find the maximum possible network we can get out
- 11:00of this combined setup, maybe using a reversible engine
- 11:03between A and the reservoir through a derivation involving
- 11:06the entropy changes of both the system and the reservoir, and
- 11:09applying the second law, we find something really neat.
- 11:12The maximum network obtainable delta W textnet turns out to be
- 11:16equal to the decrease in a specific state function of the
- 11:19system. A and that state function is.
- 11:21It's ET dollars SOA, where E is the system's total energy, S is
- 11:25entropy, and T dollars is the reservoir temperature.
- 11:28So the equation is Delta textile to Lamont stellar OK.
- 11:32So the maximum work you can extract is equal to the drop in
- 11:35this specific combination of properties.
- 11:37Precisely, and that combination ETSC evaluated the system's
- 11:43temperature T, often assumed equal to T dollars for processes
- 11:46occurring at the reservoir. Temperature is what we define as
- 11:49the Helmholtz free energy F. For typical thermodynamic
- 11:52systems where the total energy E is primarily internal energy U,
- 11:57the definition becomes V equals UTSC.
- 12:00That's equation 111. So F reresents the maximum total
- 12:04work you can get from the system during a process at constant
- 12:07temperature T. Yes.
- 12:08And that TT dollar term, you can think of it as the energy that's
- 12:11unavailable for work because it's associated with the
- 12:14system's entropy, the energy that must be sort of discarded
- 12:17as heat to the surroundings to satisfy the second law.
- 12:20OK, that makes sense. Maximum total work.
- 12:22But often, especially in like chemical engineering or
- 12:24processes open to the atmosphere, we care more about
- 12:27the useful work, right? The work that's left after
- 12:29accounting for pushing the atmosphere out of the way.
- 12:31Exactly. If the system changes volume by
- 12:33texte fee against a constant external pressure to go well,
- 12:36like atmospheric pressure, it does work equal to $2.00 text to
- 12:39just on the surround surroundings.
- 12:41That's not usually considered useful.
- 12:42So we need to subtract that from the network.
- 12:44The useful work Delta Wu would be Delta Wu, Delta W, she's you.
- 12:47That's equation 1.12. Right, and now substitute our
- 12:50expression for delta W or text net from before.
- 12:53OK, so delta text Udu text text uzu.
- 12:56How does it simplify? Well, if the process happens at
- 12:59constant pressure P dollars, we can bring P dollars inside the
- 13:02differential as D kdel. So delta text you do.
- 13:06Combining the terms inside the differential gives delta text to
- 13:08you E plus P0VT0 das. And E plus PVD is just enthalpy
- 13:14H, assuming E is mainly U. Exactly.
- 13:17So assuming you refrox you do in the process occurs at T prox T&P
- 13:21prox PU year, the maximum useful work becomes delta text juju we
- 13:25text DVDO. And there it is.
- 13:28That TTC must be the Gibbs free energy G.
- 13:30That's the one defined as DG equals HTS equation 1.14.
- 13:35So G represents the maximum useful work obtainable from a
- 13:38system during a process at constant temperature and
- 13:40pressure. Correct.
- 13:42And these functions UHF and G are incredibly powerful because
- 13:46they lead to a set of fundamental differential
- 13:48relations that connect all the key properties, especially when
- 13:52you include composition changes in multi component systems.
- 13:55The Gibbs equations, yeah, those are central.
- 13:57They are. They define how UHF and G change
- 14:00infinitesimally based on changes in TSPV and the amount of each
- 14:04chemical species another dollars.
- 14:07Let's transcribe them from the source, including the chemical
- 14:10potential term knee text FPP plus some me text P plus some me
- 14:15text T, and the really key one for many applications, text T +
- 14:19V text T That's equation 1.15. Wow.
- 14:24OK, that last one, the text equation, you can immediately
- 14:27see why it's so useful. If you're holding temperature
- 14:29constant text, D dollars. If you're holding pressure
- 14:32constant text dealers. Right.
- 14:34Those first two terms just vanish under those common
- 14:37laboratory or industrial conditions.
- 14:39Leaving just text MUI text beta for a process at constant P&P
- 14:43that simplifies things enormously.
- 14:45It absolutely does, and it leads directly to the practical
- 14:49criteria for equilibrium using these derived properties.
- 14:52So let's summarize those for Helholtz energy F, which is
- 14:56useful when. When volume and temperature are
- 14:58held constant, like reactions in a rigid thermostatic container.
- 15:02In that case, the system will spontaneously change in a way
- 15:05that decreases F until it reaches a minimum value.
- 15:08That minimum F signifies equilibrium.
- 15:10And the criterion for stability at constant V&T is that any
- 15:14small perturbation must increase F.
- 15:17So mathematically, text ination if for stability against small
- 15:20changes away from equilibrium, though the source notes text DAT
- 15:24dollar Z would be the more rigorous total variation
- 15:27criterion. Got it.
- 15:27Minimum F at equilibrium for constant Vt.
- 15:30Now for the more common case, Gibbs energy G.
- 15:33This applies when. When pressure and temperature
- 15:35are held constant, think of reactions in an open beaker or
- 15:38processes and flow systems at steady conditions.
- 15:41Right. And the criteria here are
- 15:42directly analogous to the entropy criteria, but flipped
- 15:45because G tends to a minimum, not a maximum.
- 15:48Exactly. The source lays it out clearly.
- 15:50One if text AG the change is spontaneous, the reaction or
- 15:55process will proceed as written. Moving towards equilibrium.
- 15:58If text EG the system is at equilibrium, no net tendency to
- 16:02change. The bottom of the Gibbs Energy
- 16:04Valley. And for stability the total
- 16:06variation must be positive if tax dollars hours at any
- 16:09fluctuation away from equilibrium must increase G.
- 16:11OK, so minimum G signifies stable equilibrium at constant
- 16:15PNT. Let's connect this back to the
- 16:18real world. Where do we actually encounter
- 16:20these different types of equilibrium?
- 16:21Well, stable equilibrium is what we aim for in what's often
- 16:25called thermostatics. It's in the most common state we
- 16:27analyze. Think about a simple mixture of
- 16:29liquid water and water vapor coexisting in a closed container
- 16:34at a fixed temperature and the corresponding saturation
- 16:36pressure that's stable. Or, you know, basically any
- 16:40point defined on a standard text heat crevy diagram for a pure
- 16:44substance represents a state of stable equilibrium.
- 16:47Right. What about metastable
- 16:49equilibrium? Where does that pop up?
- 16:50All over the place, especially in systems that rely on an
- 16:53initiation step. We mentioned combustion and
- 16:55spark ignition engines earlier. The fuel air mixture before the
- 16:59spark is metastable, it's reasonably stable, won't just
- 17:02ignite on its own, but a small perturbation, the spark energy
- 17:06pushes it over the activation barrier into a much more stable
- 17:09state, the combustion products. Like the marble and the higher
- 17:11through needing a nudge. Exactly.
- 17:14Another classic example is the Wilson cloud chamber.
- 17:17You have water vapour that's super saturated, cooled below
- 17:20its normal dew point without condensing, it's Med has stable.
- 17:23It stays as Vader until a charged particle passes through,
- 17:27creating ions that act as nucleation sites, the
- 17:29perturbation causing condensation trails.
- 17:32Fascinating and unstable equilibrium.
- 17:34Is that something we can actually observe?
- 17:36Not really. Sustained, no.
- 17:37Yeah, it's inherently transitory.
- 17:39It represents states the system passes through on its way to a
- 17:42stable or metastable state. Think about gases mixing.
- 17:47If you have two different gases separated by a partition and you
- 17:50suddenly remove the partition, the initial state of separated
- 17:53gases is unstable with respect to the mixed state.
- 17:56The driving force for mixing is a difference in chemical
- 17:58potential, pushing the system towards the more stable, higher
- 18:01entropy mixed state. Or back to combustion, the gases
- 18:04in the cylinder during the very rapid combustion process itself.
- 18:07They haven't fully reacted yet. Precisely, they are in highly
- 18:10unstable intermediate states, rapidly moving towards the more
- 18:13stable equilibrium products like Texkeo 2 texto.
- 18:17But as we said, they might not get all the way there if the
- 18:19process is too fast, leaving things like Dex TO day.
- 18:22Which brings us back to that Gibbs energy minimum at constant
- 18:25PNT. Why is that so critical,
- 18:28especially for mixtures? Engineers sometimes struggle
- 18:31with visualizing changes at constant PNT, causing a property
- 18:35like G to change. It's because the composition can
- 18:37change even if PNT are fixed. The system isn't necessarily
- 18:41stuck. Take text QO 2.
- 18:43At high temperature and atmospheric pressure, it's not
- 18:45perfectly stable. It could breakdown dissociate
- 18:48into text TO and text O22. That reaction involves changes
- 18:52in the amounts the text QO species according to the text
- 18:55equation at constant P&T. If the current mixture
- 18:58composition doesn't correspond to the minimum possible value of
- 19:01G for that P&T, then text U will be negative for the dissociation
- 19:04reaction and it will proceed spontaneously until that minimum
- 19:08G is reached. The chemical potentials, Dr. The
- 19:10Change. So minimum G dictates the
- 19:13equilibrium composition of a mixture at a given P&T exactly.
- 19:17It's fundamental for chemical equilibrium calculations.
- 19:20OK, let's try and synthesize this.
- 19:22This deep dive has really laid out the bedrock criteria for
- 19:25stability in thermodynamics. Yeah, we started with the
- 19:28universal tendency of isolated systems towards maximum entropy
- 19:32mathematically captured by 9 texted ES or simply detects DLA
- 19:36driving spontaneous change towards equilibrium.
- 19:39And then we saw how derived functions Helmholtz energy F and
- 19:43Gibbs energy G translate this for more practical scenarios.
- 19:47F defines the maximum total work available at constant V&T and
- 19:51its minimum significant equilibrium under those
- 19:53conditions. While G defines the maximum
- 19:55useful work at constant TNT and it's minimum signifies
- 19:59equilibrium there, which is crucial for chemical reactions
- 20:02and phase changes. The minimum energy, maximum
- 20:04entropy principles are the guiding forces.
- 20:07Now our source material dangled a rather interesting thought at
- 20:09the end. It hinted that irreversible
- 20:12thermodynamics might be key for future energy tech.
- 20:15Yeah, things like efficient solar energy conversion or fuel
- 20:18cells. These systems often operate in a
- 20:20steady state, not true stable equilibrium.
- 20:23They have continuous flows of energy and matter.
- 20:26Understanding the thermodynamics of these non equilibrium states
- 20:30might unlock new efficiencies. And it leaves us, the design
- 20:34junkies listening with a really provocative question, doesn't
- 20:36it? I think so.
- 20:38If we know that pollutants like text no UPS knows form because
- 20:41combustion is too fast to reach the minimum G equilibrium state,
- 20:45then maybe the focus shouldn't just be on the equilibrium
- 20:48endpoint itself. Maybe the real engineering
- 20:50challenge is controlling the rate of approach to equilibrium,
- 20:53understanding and manipulating the kinetics, how fast the
- 20:56system travels along the path from its initial unstable or
- 21:00attestable state towards the stable one.
- 21:02If we could control that rate, manage that distance from
- 21:05equilibrium effectively, could that be the key to actually
- 21:08achieving year 0 emissions? Controlling the journey, not
- 21:11just the destination. That definitely sounds like a
- 21:14topic for another deep dive. Non equilibrium thermodynamics
- 21:17in kinetics. Absolutely.
- 21:19It's where a lot of cutting edge research is happening.
- 21:21Until the next equation design junkies, we are mechanical
- 21:24engineering made simple.