 So at UC Irvine, we don't boast about our athletic prowess very often. That's partly because we don't have a football team. But what we do have is probably the best men's volleyball program in the country. Does everybody know that? I mean, sort of flies under the radar. We've won two national championships in the last five years on this campus, national NCAA championships where we beat every other team in the country. That pretty much means we're the best men's volleyball team, collegiate men's volleyball team in the world because let's face it, the U.S. dominates in this sport. So these guys beat Penn State last night and tomorrow they're going to beat USC. And then we're going to have our third national championship on this campus. At least that's what I'm hoping happens. So we can be very proud. We should talk more about these guys. Okay. So we, sadly, we're going to start talking about the Gibbs energy today. Now, this is really a Chapter 16 topic. And I'm not sure we'll come back to anything else in Chapter 15. I'm going to think about it over the weekend. But I'm guessing we're probably done with Chapter 15. We did it in sort of two lectures. Okay. That material is important, but it's sort of abstract to us as chemists because where does the Carnot cycle fit in in chemistry? How does it affect our daily lives as chemists? I mean, I can't answer that question. It's a tenuous connection. But the Gibbs energy, for chemists that's what the thermodynamics, that's where the rubber meets the road in thermodynamics is the Gibbs energy. It's going to allow us to tell whether a chemical reaction happens or not, whether we're at equilibrium or not. All right. This is what thermodynamics is going to do for us as chemists. All right. So we've really been building up to this thing called the Gibbs energy. And today's lecture is extremely boring, but important. All right. We're going to have some of those. All right. Lots of symbols today. All right. But what we want to do is we want to figure out where this Gibbs energy comes from. All right. It was really never spelled out for me in the physical chemistry class I had back in 1981. All right. It was just, here's the Gibbs energy. Here's what it does. All right. Here's why it's important. But no one ever really derived it. But there is a nice derivation of the Gibbs energy. So that's what we're going to try and do today. Now we've only got 25 minutes. So we may not get, we're not going to get all the way through this lecture. And if we don't, we'll just continue it on Monday. So don't worry about that. But all of these guys, by the way, Clausius, not an Austrian. I saw that on a few forms. German. That's what that flag is right there. All right. Only one of these guys won the Nobel Prize. This sounds like a quiz question for next week. A, B, C, D. All right. Which one of these guys won the Nobel Prize? Anybody know? They all did enough to win it. But only one of them won it. So there's really a mystery here. Why did only one guy win the Nobel Prize, first of all? And which guy was it? No, Gibbs and Lewis are good guesses because those guys showed a one-to-darn thing. It was like the least famous guy on this slide. Nernst won the Nobel Prize in 1920. All right. Now, anybody know why? I mean, not why Nernst won, but why these other guys didn't win. I mean, objectively, they did more than Nernst and they didn't win it. The answer is, you know, the way the Nobel Prize works, you do something that's really important and then it takes a while. There's an induction period while the rest of the world tries to understand what you've done and then once they understand it, they have to appreciate what you've done and then once they appreciate it, they've got to get organized and give you the award. All right. And that process typically takes 20 years. All right. When did the Nobel Prizes start? Anybody know? How do you know that? Did you just memorize that? That's an amazing statistic to have on your fingertips. That's the answer. All right. He died in 1896 and he, in his will and final will and testament, he endowed the Nobel Prize and the first one was given 1901 and they don't give it to dead guys and most of these guys were dead. 1901 is here. All right. In principle, Boltzmann and Lewis could have won it but by the time everyone understood what they had done, they were dead. All right. Nernst hung on long enough to win the darn thing. What's that? Oh, yeah, this bar is not quite right. Yeah. Yeah, you're right. There's no good reason why he didn't win the Nobel Prize. It's one of those things where everybody who wins this award deserves it and then there's another 50 guys who should have won it who never did is sort of the way this works, I think. Okay. That's the reason is the award started here and then it takes a while and you know they only got their act together for a minute. You're right. Lewis should have won the darn thing. So this is Gibbs. He's our hero in this whole thing because he's the only American we're going to be talking about pretty much. C.N. Lewis was an American too, G.N. Lewis rather. But we're not going to, you know, we talk about him a lot when you talk about bonding. Lewis dot structures, that's the guy, right? But we mentioned him at the beginning of the class. Probably you might not remember this but he got his, he got the first Ph.D. in engineering in the whole country. The very first one that was given at Yale was in 1863, right before, or actually right during the Civil War, right? And then, you know, one of the sad realizations you come to if you're an experimentalist is all the guys whose names are attached to equations and chemistry are all theoreticians pretty much. All right. So Lewis was a theoretician. It's not the people in the lab mixing the chemicals together and plotting the data. It's the theoreticians who sit at their desks and with their pencils and figure stuff out. He was a theoretician like Einstein, Dirac, Schrodinger. All right, these guys never did an experiment outside of school, right? They just looked at other people's experiments and figured them out. So he had an appointment at Yale. He graduated from Yale. He got appointed there without salary. And this was common at that time. If you hadn't proven yourself as a scholar, it was not uncommon to get hired by a university. You teach, you do all this work, but they wouldn't pay you anything until you started to publish, which was hard to do in those days. Now, you write a paper, it's in your computer. In 10 minutes, you can submit it to a journal electronically. All right, boom, it's a link on your browser opens. There's a link to upload it to the website. It's gone, you're submitted. In those days, you know, everything had to be handwritten manuscripts in triplicate delivered by horseback to the journal office, which was somewhere on the East Coast. You know, I mean, this process could take years to publish a paper. All right, it's a lot different than it was now. So it wasn't until he got an offer from Hopkins in Baltimore that Yale, which is up in New Haven, Connecticut, said, okay, well, if Hopkins is going to offer you $3,000 a year, we'll give you $2,000, and that was enough for him to stay. And then right after that, he wrote his treaties on the equilibrium of heterogeneous substance. This basically spelled out everything that we think about as thermodynamics these days. He spelled it out in one. You know, these days, one of the standard strategies that we all have as academics is you take some body of data that you've got and you try to carve it up into the smallest publishable unit. So whatever you've done, you can get the most papers out of. Right? Because that's how you get promoted in this business. He took everything that he had done and put it into one 300-page paper and published it. It's like the opposite of what we would do today. He's even got a Facebook page. If you write a 300-page paper, you too can have a Facebook page for your paper. So here's his grave. He's buried on the Yale campus because the Yale campus is one of the coolest cemeteries that you've ever seen on it. All right? It's right on the campus. It's called the Grove Street Cemetery. Here it is. All right? Here's Grove Street. This is the Yale campus in New Haven. New Haven is a dump. Except for Yale. All right? You've got this beautiful university in this town that is really not so beautiful anymore. Getting better, I guess. Okay? So you can, anybody who wants to could go and look at the cemetery and the reason you might want to do that is because Gibbs is buried there. Next to his dad, here's a map. It's got its, the cemetery has its own website. You can see the name of everybody who was buried in this cemetery and what they did. It's all people from like the 1800s. It's pretty cool. Noah Webster. Yes, that Webster. Number 16. All right? Here's the gate that you go into. It's really, really cool. Huge grave markers like that. So if you're ever in New Haven, Grove Street Cemetery. Okay. So what we've been doing is learning the underpinnings of thermodynamics. That's what statistical mechanics is, right? It's the underpinnings of thermodynamics. But as chemists, what we really care about is equilibrium. We haven't said the word yet. Until today, we haven't used the word equilibrium, I don't think, or maybe once or twice. Okay? So we need to get to this because we're ready to be done talking about this whole subject, aren't we? All right? So let's get to the meat of the issue. And then we can put it behind us. Now, oops, my ear, I'll slip. That's supposed to be up there. So what we're going to try and do today is derive the Gibbs function and there's going to be a whole bunch of symbols, but I really think it's worth understanding this. So here we go. The system is surrounding. So we talked about this already. There's open systems, closed systems and isolated systems. Everybody remember that? Isolated systems, no matter or energy can change. Closed systems, energy only, open both energy and matter. Most of what we've said so far pertains to isolated systems because they're easier to understand. They're a lot simpler. For isolated systems, we've already derived that the entropy increases, has to increase. For any non-reversible process, if the process is reversible, I'm going to put an equal sign underneath this, greater than or equal to zero. Remember that? Okay, so for an isolated system entropy, this increases during a spontaneous process. That's what that means. We'll actually derive this again today. If you're in either one of these two categories and we virtually always are, if we're actually doing an experiment, we're not in an isolated system. We're either in an open system or a closed system. We have to consider both the system and the surroundings in this non-inequality. In other words, it's the total entropy of the universe that's got to get bigger. The universe includes the system that you care about and everything else. Okay? So there's two terms in this total entropy. There's the system that you care about and everything outside of it because your system is in communication with the outside world either by exchanging matter or by exchanging energy. Okay? So if the system is an isolated entropy, there's something to think about. Yes. Now, this is the only thing that matters in terms of understanding where something is spontaneous or not. We're going to derive this Gibbs function, but the Gibbs function is going to be derived from this. It's all about entropy. All right? So if you remember nothing else about this lecture, you need to remember that spontaneity of a chemical process is about entropy and the Gibbs energy is just a way to parameterize in a convenient way the entropy for us. That's all we're doing with the Gibbs function. We're parameterizing the entropy in a convenient way. Okay? So if this is true, then I can move that guy over to the right-hand side and put a minus sign on him, right? So that has to be true. And we've already said we've got an expression for the entropy in terms of the heat that's transferred and the temperature, and so I can make a substitution for the surroundings minus dS here is going to be dQ. It's plus dQ because there's normally a minus sign that connects this minus dQ over T with dS, all right? So if that's minus dS, that's going to be plus dQ over T surroundings. Now, Q is a conserved quantity. In other words, if plus Q enters the system, minus Q is removed from the surroundings, right? If Q goes into the system, it had to come from the surroundings, right? So if it's a plus for the system, it's a minus for the surroundings, right? Okay. So what we've already beaten into the ground is that the dU, where you use the internal energy, that equals dW plus dQ, that means dQ is dU minus dW. And so I can just plug this in for dQ and this equation right here, right? dU minus dW. And I've got this equation right here. We haven't done anything fancy yet. Everything's very simple. And all I've done here is assume that the only work that's being done is pressure volume work. Okay, so I've got PDV here. Now, let's multiply both sides by T surroundings. When we do that, we're going to get T surroundings on that side. We're going to lose it from the right side and so here we go. All I did is multiply by D surroundings. So now it's on the left-hand side. It's gone from over here. All right, this doesn't look like our conservation of entropy equations anymore, does it? It's starting to morph, all right? But we're still talking exclusively about entropy here. We've just made substitutions from symbols. This equation is going to keep coming up. We're going to call it the pink equation. What we're going to do is we're going to find convenient expressions for dU, plug them into the pink equation and we're going to find the Gibbs equation. We're going to find the Gibbs energy rather. The Helmholtz energy. That's what we're going to do in the next 10 minutes. We're going to keep coming back to the pink equation. Now, at equilibrium, for an isolated system, blah, blah, blah, blah, for an isolated system dV equals dU equals zero. In other words, the internal energy of the system doesn't change and the volume doesn't change and so if I prevent the volume from changing and I prevent dU from changing, this term is zero and this term is zero. In other words, dS of the system is going to have to be greater than or equal to zero for an isolated system. If I just take the pink equation and I say if my system is isolated, this term is zero and this term is zero, if I divide by T surroundings, dS system has got to be greater than or equal to zero. We've derived that now for an isolated system from this pink equation which came from this entropy argument, the total entropy of the system and the surroundings has to be greater than or equal to zero for any chemical process if it's spontaneous. Okay. Now, I'm going to stop writing cis every time I'm talking about the system so if you see a big letter with no subscript, assume it means the system. If I'm talking about the surroundings, I'll keep using that, boom. Okay. Now, this is a general expression for any system moving towards a new equilibrium. That's what the non-equality means. It means that the system is in flux towards equilibrium. All right? And I'm going to explain in detail exactly why we, how we think about that. Okay. Add equilibrium, the external pressure and the system pressure and the external temperature and the system temperature are equal to one another. In other words, the temperature is the same outside and inside the system. The pressure is the same outside and inside the system. I mean it's intuitively obvious that this would have to be true if we're talking about equilibrium, right? Okay. So all this means is the pressure and the temperature, yes, okay. So at equilibrium, the pink equation becomes the yellow equation. Only thing that's different is the equal sign, right? So that's what the inequality means that we're evolving towards equilibrium. When we get there, we get an equal sign. All right? We'll come back to this equation. All right? This is the so-called master equation of thermodynamics, but the pink equation's actually more useful. We'll keep coming back to the pink equation. We won't continue to mention the yellow equation. Okay. So the pink equation again, it addresses many processes of interest. For example, the volume and entropy are held constant. If the volume and entropy are held constant, volume and entropy, if I hold that constant, then dv is zero. If I hold the entropy constant, then ds is zero and that means the du has to be less than zero. So what does that mean? It means that it's u that is minimized as we evolve from a non-equilibrium state to an equilibrium state. It's u that is minimized if and only if entropy and volume are held constant. Now do we normally hold entropy and volume constant when we do chemistry? I don't know how you would. I mean volume, yes, you can do it, but entropy, difficult. So it's not super useful for us as chemists to use the internal energy as a marker for whether or not equilibrium or not because the internal energy is only going to be a minimum when volume and entropy are held constant. We can't hold entropy constant very easily. So we make note of this and we move on. In other words, the spontaneous process occurring at constant volume and entropy will minimize the internal energy. This is true, but not terribly useful. Now, last week we talked about the enthalpy. Maybe that's more useful. The enthalpy is u plus pv, that's just a definition. So if I take the total derivative of h that's going to be du plus vdp plus pdv and I can just solve for u and plug it into the pink equation, all right? That's going to be our standard strategy for the next six minutes. Find du, plug it into the pink equation, rearrange these variables, got pu and what do we do? Plug it into the pink equation. And what the pink equation tells us, now what I do, I've got this whole thing now that I'm going to plug into there, there it is, okay? And the first thing that we notice is that these two terms will cancel if the pressures are equal. And let's just imagine that we're approaching the equilibrium state and they are equal, all right? They won't necessarily be equal until that's true, but when we're close to equilibrium, this term and this term will cancel. I hope you'll agree. And then if pressure and entropy are now held constant, all right? We held volume and entropy constant earlier, all right? Now we're going to hold pressure and entropy constant. That is not more useful to us, by the way. But if we do that, entropy, so that goes to zero, pressure, so that goes to zero, these guys canceled with one another so we're left with d, so the enthalpy is the variable that we're going to care about if we can control and maintain constant the entropy and the pressure. Now is that a useful thing for us to know as chemists? Well, it's a useful thing to know, but as a practical matter, we're not going to be constantly doing this. Enthalpy is not going to tell us when we're at equilibrium most of the time. We can't satisfy this requirement of maintaining the entropy constant, okay? Now, temperature actually is a variable that we frequently hold constant as chemists. So if we consider dt equal to zero and dv equal to zero, hey, those are requirements that we are sometimes going to be able to satisfy in the laboratory, all right? We can do an experiment at constant temperature and we can do an experiment at constant volume, all right? And in principle, that's actually going to be quasi useful for us to understand whether we're at equilibrium under those conditions. So the thermodynamic variable we're going to care about here is something called the Helmholtz energy and all we're going to do here is write a definition for it. Helmholtz energy is called A, A is equal to U minus Ts. That's just how it's defined, all right? That equation doesn't really mean anything to us. All right? It wasn't, we didn't derive it from any place. We just defined the Helmholtz energy. That's what it is. Then what we do is write the derivative of that equation, all right? D A is D U minus D Ts, which is minus T D S minus S D T. Solve for D U. And what are we going to do? Plug it into the pink equation is the right answer, all right? There's the pink equation again. We put this guy in for D U. And there it is, all right, right there, okay? And now what we're talking about, all right? So that's going to cancel that without thinking too hard. If we assume we're close to equilibrium and these two temperatures are going to be equal to one another, that's the system temperature, that's the surroundings, okay? And then if we further assume that D T is zero and D V is zero, that goes away and D V, that guy goes away, okay? And so D A, the Helmholtz energy ends up being the thing that we're going to care about, all right? If the Helmholtz energy is getting lower, that should be spontaneous. If the Helmholtz energy is getting higher, that should be non-spontaneous for any system that we care about, all right? So if we're able to maintain temperature and volume constant, A is going to be our go-to variable. Now, the way that you do that is by using one of these guys in case you're wondering, all right? This is a par bomb. It's universally called a par bomb even though there's like five companies that make these things but par makes the best ones. All it says is a stainless steel container into which there's a glass jacket that goes inside here and these are gas inlets and outlets and you see these two tubes right there? Those are pressure, those are over pressure valves, right? They're thin aluminum membranes and if the pressure of this thing goes above 3,000 ATM, those blow, all right? And it sounds like a gunshot, all right, when they go off, all right? You're heating something in here. This needle goes all the way up to here and when this thing is about to blow up those two valves prevent that from happening but when they go off by golly, it's spectacular, all right? But I think you'll agree this thing can maintain constant volume no matter what the pressure is doing as long as the pressure stays below 3,000 ATM, boom. That's how you do constant volume and constant temperature. All right, now most of the time we're not going to use this guy, all right? So we have to still talk about the Gibbs energy but we'll do that on Monday.