Energy and Entropy Physics 423
David Roundy
Spring 2012 Draft 1/30/2012
Contents
Contents i
1 Monday: What kind of beast is it?1 1.1 Thermodynamic variables (Chapter 1 )...... 1 Activity: Thermodynamic variable cards (4 min) ...... 1 Required homework 1.1: steam-tables...... 2 Activity: Dimensions (5 min?) ...... 2 Activity: Conjugate pairs (10 min?) ...... 2 Activity: Intensive vs. extensive (10-15 min) ...... 2 Required homework 1.2: extensive-internal-energy...... 2 Activity: State variables and functions (5 min?) ...... 2 Activity: Conserved quantities (??? min) ...... 3 Thermodynamic equilibrium ...... 3 Lecture: (??? min) ...... 3 Equations of state ...... 3 Lecture: (3-4 min) ...... 3
Physics 423 i 2 Tuesday: 4 Activity: Math pretest (15 min) ...... 4 2.1 Partial derivatives as change of variables ...... 4 Lecture: (???) ...... 4 Activity: Paramagnetism (??? min) ...... 4 Activity: Ideal gas bulk modulus (??? min) ...... 4 2.2 Total differential ...... 5 Lecture: (11 min) ...... 5 BWBQ: (5 min) ...... 6 Lecture: (5 min) ...... 6 BWBQ: (15 min) ...... 6 Exact vs. inexact differentials ...... 7 BWBQ: (10 min) ...... 7 Lecture: (5 min?) ...... 7 Required homework 1.3: total-differentials...... 7 2.3 Chain rules ...... 7 Lecture: (10 min) ...... 7 Exam: Math pretest ...... 8 Question 1 ...... 9 Question 2 ...... 9 Question 3 ...... 10 Question 4 ...... 11
3 Wednesday: 12 Handout: Changes of variables...... 12 Homework 1 due ...... 14 Problem 1.1 Steam tables ...... 14 Problem 1.2 Extensive internal energy ...... 14 Problem 1.3 Total differentials ...... 14
4 Thursday: 15 4.1 Mixed partial derivatives ...... 15 Activity: BWBQ: Mixed partials (30-40 min?) ...... 15 Activity: Mixed partials vanishing (??? min) ...... 15 Handout: Mixed partial derivatives...... 15 Required homework 2.1: a-maxwell-relation ...... 19 Required homework 2.2: adiabatic-susceptibility...... 19 Required homework 2.3: summation-notation ...... 19 Required homework 2.4: homogeneous-function-theorem ...... 19 Monotonicity and invertibility ...... 19 Activity: Monotonicity lecture/discussion (10 min) ...... 19 Legendre transform ...... 20 Lecture: (??? min) ...... 20
Physics 423 ii 5 Friday: Lagrange multipliers for minimization 23 Homework 2 due ...... 23 Problem 2.1 A Maxwell relation ...... 23 Problem 2.2 Adiabatic susceptibility ...... 23 Problem 2.3 Summation notation...... 24 Problem 2.4 Euler’s homogeneous function theorem...... 24
6 Monday: Lab 1: Heat and Temperature 26 Lecture: (10 min) ...... 26 Activity: Energy/Heat equivalence (15 min now, 10 min later) ...... 26 SWBQ: (5 min) ...... 26 SWBQ: (5 min) ...... 26 SWBQ: (5 min) ...... 26 Lecture: (10 min) ...... 26 SWBQ: (5 min?) ...... 27 Dulong-Petit Law ...... 27 Lecture: (5 min) ...... 27
7 Tuesday: First and Second Laws 28 Activity: Name-the-experiment pretest (10 min) ...... 28 System and surroundings ...... 28 Lecture: (2-3 min) ...... 28 BWBQ: (10 min) ...... 28 7.1 First Law ...... 28 Lecture: (10 min) ...... 28 SWBQ: (5 min) ...... 29 7.2 Second Law and Entropy ...... 29 SWBQ: (1 min) ...... 29 Lecture: (5 min) ...... 29 Fast and slow ...... 30 Lecture: (7-12 min) ...... 30 7.3 The thermodynamic identity (5.1.2.2 )...... 30 Lecture: (8-15 min) ...... 30 Activity: Name the experiment (20 min) ...... 30 7.4 Heat capacity ...... 31 SWBQ: (5 min (skipped in 2011)) ...... 31 Lecture: (10 min) ...... 31 BWBQ: (10 min (skipped in 2011)) ...... 32 Lecture: (5 min (skipped in 2011)) ...... 32 Activity: Entropy change of cooling coffee (20-30 min (skipped 2010)) . . . . 32 Required homework 3.1: adiabatic-ideal-gas ...... 33 Required homework 3.2: bottle-in-bottle...... 33 Exam: Pretest...... 33
Physics 423 iii Question 1 ...... 34 Question 2 ...... 34
8 Wednesday: Second Law lab 35 Activity: Melting ice (45 min) ...... 35 Lab 1 due...... 35 Question 1.1 Plot your data I ...... 36 Question 1.2 Plot your data II...... 36 Question 1.3 Specific heat ...... 37 Question 1.4 Latent heat of fusion...... 37 Question 1.5 Entropy for a temperature change ...... 37
9 Thursday: Heat and work 38 Activity: Expanding Gas Quiz (20-45 min) ...... 38 Handout: Quiz ...... 38 Question 1 Free expansion...... 39 Activity: Name the experiment with changing entropy (20 min) ...... 40 9.1 Work ...... 40 Lecture: (5 min) ...... 40 BWBQ: (10 min) ...... 40 Activity: Using pV plots (20-30 min) ...... 40 Activity: Using TS plots (15-20 min) ...... 41 Activity: Name the experiment for a rubber band (15 min) ...... 41
10 Friday: 42 10.1 Engines and Fridges ...... 42 Other views of the Second Law ...... 42 Lecture: (??? min) ...... 42 Carnot efficiency ...... 42 Lecture: (??? min) ...... 42 Activity: Carnot efficiency (??? min) ...... 44 Activity: Big money (15 min?) ...... 44 Lab 2 due...... 45 Question 2.1 Mass of ice remaining ...... 46 Question 2.2 Final temperature of water ...... 46 Question 2.3 Change in entropy of water...... 46 Question 2.4 Change in entropy of ice...... 47 Question 2.5 Net change...... 47 Question 2.6 Mass of ice remaining ...... 47 Question 2.7 Final temperature ...... 47 Question 2.8 Errors? ...... 47 Homework 3 due ...... 48 Problem 3.1 Adiabatic compression...... 48
Physics 423 iv Problem 3.2 A bottle in a bottle ...... 48 Practice homework 4.1: power-from-ocean ...... 49 Required homework 4.2: power-plant-river...... 49 Required homework 4.3: heat-pump...... 49
11 Monday: 50 Monotonicity and invertibility ...... 50 Activity: Monotonicity lecture/discussion (10 min) ...... 50 11.1 Thermodynamic potentials (Chapter 7 )...... 51 Legendre transform ...... 51 Activity: Legendre transform revisited (15 min?) ...... 51 Activity: Understanding the potentials (20 min) ...... 52 Lecture: (5 min?) ...... 52 Required homework 4.4: gibbs-free-energy ...... 53 11.2 Maxwell relations ...... 53 Lecture: (5 min) ...... 53 BWBQ: (15-25 min) ...... 53 Activity: Name the experiment with Maxwell relations (10 min) ...... 54
12 Tuesday: Lab 2: rubber band 55 Activity: Rubber band lab...... 55 Prelab 3 due...... 55 Question 3.1 Tension vs. temperature...... 56 Question 3.2 Isothermal stretch ...... 56 Lecture: (10 min) ...... 57 Required homework 4.5: free-expansion...... 58
13 Wednesday: 59 Activity: Name another experiment with Maxwell relations (10-20 min) . . . 59 Homework 4 due ...... 59 Problem 4.1 Power from the ocean (practice)...... 59 Problem 4.2 Power plant on a river...... 60 Problem 4.3 Heat pump ...... 60 Problem 4.4 Using the Gibbs free energy...... 61 Problem 4.5 Free expansion ...... 61
14 Thursday: Thermodynamics practice 62 Activity: Simple cycle (40-110 min) ...... 62 Activity: Temperature change of dissolving salt (40 min?) ...... 62 Activity: Never, sometimes or always true (60 min?) ...... 63 Handout: ...... 63
15 Friday: Thermodynamics practice 66
Physics 423 v Activity: Black body thermodynamics (30 min) ...... 66 Activity: Applying the second law...... 66 Required homework 5.1: maine-entropy-2nd-law-spontaneous-metal . 67 Required homework 5.2: isothermal-adiabatic-compressibility . . . . . 67 Lab 3 due...... 67 Question 3.3 Tension vs. temperature...... 69 Question 3.4 Tension vs. length...... 70 ∂S Question 3.5 ∂L T vs. length...... 70 Question 3.6 Isothermal stretch ...... 70 Question 3.7 Adiabatic stretch...... 70
16 Monday: Statistical approach 71 Lecture: (6 min) ...... 71 16.1 Fairness function (Chapter 6 ) ...... 72 Lecture: (13 min) ...... 72 Activity: Combining probabilities (??? min) ...... 72 Lecture: (??? min) ...... 73 Activity: Demonstrating extensivity (??? min) ...... 73
17 Tuesday: Optimizing the fairness 74 Activity: Students as molecules (20 min) ...... 74 17.1 Least bias lagrangian ...... 74 Lecture: (10 min?) ...... 75 17.2 Weighted averages ...... 75 Lecture: (20 min?) ...... 75 17.3 Probabilities of microstates (Chapter 11 ) ...... 75 Lecture: (10 min) ...... 75 SWBQ: (10 min) ...... 77 SWBQ: (3 min) ...... 77 Lecture: (7 min) ...... 77 Required homework 5.3: boltzmann-ratio...... 77 Challenge homework 5.4: plastic-rod ...... 77
18 Wednesday: From statistics to thermodynamics 78 18.1 Thermodynamic properties from the Boltzmann factor . . . . . 78 Lecture: (5 min) ...... 78 Activity: Solving for maximum fairness (10 min) ...... 78 Lecture: (15 min) ...... 79 BWBQ: (skipped this) ...... 80 BWBQ: (skip this?) ...... 80 Activity: Entropy of microcanonical ensemble (20 min) ...... 81 Homework 5 due ...... 81 Problem 5.1 Hot metal...... 81
Physics 423 vi Problem 5.2 Isothermal and adiabatic compressibility...... 81 Problem 5.3 Boltzmann ratio ...... 82 Problem 5.4 A plastic rod (challenge)...... 82 Required homework 6.1: rubber-band-model...... 83 Required homework 6.2: rubber-meets-road ...... 83
19 Thursday: Statistical mechanics of air 84 19.1 Quantum spectra ...... 84 Lecture: (10 min) ...... 84 19.2 Diatomic gas ...... 85 Lecture: (20 min) ...... 85 Activity: Diatomic molecule from quantum up (1 hour 30 min without wrap-up) 87
20 Friday: 88 20.1 Diatomic gas wrapup ...... 88 Lecture: (20 min) ...... 88 Homework 6 due ...... 92 Problem 6.1 A rubber band model ...... 93 Problem 6.2 The rubber meets the road ...... 93 20.2 Third law ...... 94 Ice rules ...... 95 Handout: Measurement of entropy of water ...... 95 Handout: Pauling ice rules...... 98 Handout: Entropy of water revisited ...... 103 Activity: Concept diagram (10 min) ...... 109 Exam: Survey and post-test...... 109 Question 1 ...... 110 Question 2 ...... 110 Question 3 ...... 111 Question 4 Lab 1...... 112 Question 5 Lab 2...... 112 Question 6 Lab 3...... 112 Question 7 Class as a whole ...... 113
21 Monday: Final exam 114 Exam: Final exam ...... 114 Problem 1 Masses on a piston...... 115 Problem 2 Gibbs free energy ...... 116 Problem 3 Two processes ...... 117 Problem 4 Hanging Chain ...... 118 Problem 5 Insulated room ...... 119 Problem 6 Soap bubble ...... 120
Physics 423 vii Class schedule 121
Index 123
Physics 423 viii 1 Monday: What kind of beast is it?
Current board:
1.1 Thermodynamic variables (Chapter 1 )
Activity: Thermodynamic variable cards (4 min) Give each student a set of 3 × 5 cards (or larger?), and ask them to write the name of each variable at the top of the lined side. Write down any thermodynamic variables that you can think of. If students seem puzzled, ask them to write down any properties of solids, liquids or gasses that they might measure, or values that might be helpful in predicting these properties. I’ll write down all these thermodynamic variables, and talk through any that seem par- ticularly interesting. As we go through the variables that students have come up with, I’ll give them the math- ematical notation that we’ll be using in this class, and they’ll add it on the blank side. In each of the following activities, we’ll ask students to divide up their cards, so each one must go into either one pile or the other. When we’ve established the correct answers, students will write them on the lined side, to make sure they know what each thing is. Add to this list any important variables the students may have missed, in particular, we want heat and work to be here, as well as the standard p, V , T , S, U, N, M, and density. I might also like to add number density n, specific heat or heat capacity, and maybe coefficient of thermal expansion or isothermal compressibility. “Are there any additional properties you might add if we were talking about a rubber band instead, looking at it as a one-dimensional system?” “How do we measure this?” We should now have τ and L as well. Here are some extra questions that may be worth asking: (but maybe not right now)
a) What is temperature?
b) How do we measure temperature?
c) How do we measure pressure?
Physics 423 1 Monday 4/18/2012 2 d) Would pV = (NkBT ) be a possible equation of state? e) How do we measure entropy? f) How many of the variables T , S, p and V are independent?
Required homework 1.1: steam-tables Activity: Dimensions (5 min?) “What are the dimensions of each of the thermody- namic quantities?”
Activity: Conjugate pairs (10 min?) If I have a solid object (say a stack of papers, or a book), and I put another object on top of it, what will happen to the height of the first object? It will get shorter. Why? Is this always true, or will it in some cases get taller? Height and force in the previous example are a conjugate pair. In your groups, try to divide our stack of thermodynamic variables up into analogous conjugate pairs. For each thing you can ask “What would I need to apply to change it?” Talk over their pairings. In cases where there isn’t a partner available, ask students if we might be missing a state variable that would be its conjugate partner. Talk over which way the pairings go... if you increase pressure, what happens to volume. Will this always be the case? If you increase temperature, what happens to other variables? Pairings: pV , TS, τL, M~ · B~ , E~ · P~ . There are several variables that don’t show up here. Q and W won’t, although they relate to some of these conjugate pairs. Similarly, those state variables that are simply products or ratios of other state variables don’t partake in these pairs.
Activity: Intensive vs. extensive (10-15 min) Ideally here I’d like to have two cups of water (the same amount), and ask what would happen to each of those thermodynamic quantities, if instead of asking about one cup of water, I put the two together and asked about a cup with twice as much water. Hopefully this will clarify the “doubling” that we mean. Break our thermodynamic variables into categories based on how they change if you have twice as much stuff. Once students have split things up, give the definitions of intensive and extensive. Extensive: U, V , N, M, p, S, L (sort of: Q, W ). Intensive: T , n, ρ, τ.
Required homework 1.2: extensive-internal-energy Activity: State variables and functions (5 min?) A state variable is one of the things that I would need to tell you in order for you to reproduce my experiment. There may be redundant state variables. A state function is something that could be measured (or possibly computed) if you know the state of a system (i.e. a sufficient set of state variables.
Physics 423 2 Monday 4/18/2012 This may be more clear if we use an example from classical mechanics. We can consider a single point particle, which is moving in some external gravitational field. We can split up the following variables: ~r, ~v, ~a, ~p, F~ , m, KE, PE, W . “Right down on your small whiteboard which of these variables are state variables, state functions (but not state variables), and which are neither.” State variables: ~r, ~v, ~p, m. State functions: ~a, F~ , KE, PE. Neither: W . Categorize the thermodynamic variables that we brainstormed earlier. State variables: V , N, M, p, T , n, ρ, S, τ, L. State functions (but not state variables): U, C, α. Neither: Q, W .
Activity: Conserved quantities (??? min) Which of the thermodynamic quantities are conserved?
Thermodynamic equilibrium Lecture: (??? min) Most state functions are only well-defined when a system is in thermodynamic equilibrium. e.g. if I throw sodium metal into a cup of water, and ask what the temperature of the cup is, you won’t be able to give me a good answer, since there are temperature variations, pressure variations, etc. However, if I ask what the volume of the cup is, you’ll have no problems.
Equations of state Lecture: (3-4 min) Many of our state variables are redundant: a few are needed to define the state, and the rest can be computed or measured based on those. An equation of state is how we express this computation. An equation of state is an equation that relates a set of mutually-dependent thermody- namic state variables, such as pressure-volume or tension-length. The most famous is the ideal gas equation pV = NkBT .
Physics 423 3 Tuesday 4/19/2012 2 Tuesday:
Current board:
Activity: Math pretest (15 min)
2.1 Partial derivatives as change of variables
Lecture: (???) We should say something on this topic.
Activity: Paramagnetism (??? min) We have the following equations of state for the total magnetization M, and the entropy S:
µB − µB e kB T − e kB T M = Nµ (2.1) µB − µB e kB T + e kB T ( µB − µB ) µB µB µB e kB T − e kB T k T − k T S = NkB ln 2 + ln e B + e B + (2.2) k T µB − µB B e kB T + e kB T Solve for the magnetic susceptibility, which is defined as: ∂M χB = (2.3) ∂B T Also solve for the same derivative, taken with the entropy S held constant: ∂M (2.4) ∂B S Why does this come out as zero?
Activity: Ideal gas bulk modulus (??? min) We have the following equations of state for a monatomic ideal gas. The first is the famous ideal gas law. The second is true only for a monatomic ideal gas. The third is the Sackur-Tetrode equation, which is true for any ideal gas.
pV = NkBT (2.5)
Physics 423 4 Tuesday 4/19/2012 3 U = Nk T (2.6) 2 B ( " 3 # ) V mU 2 5 S = Nk ln + (2.7) B N 3πNh¯2 2
From these, solve for the following partial derivatives: ∂p B = −V (2.8) ∂V T ∂p BS = −V (2.9) ∂V S The former is the isothermal bulk modulus...
2.2 Total differential
Lecture: (11 min) Introduce total differentials here. f(x, y) (2.10) ∂f ∂f df = dx + dy (2.11) ∂x y ∂y x This may look pretty weird at first, but if you think of the differential dx as a small change in x, then this is just a nice notation for the first terms in a Tailor expansion of f(x, y), which is 2 0 0 ∂f 0 ∂f 0 1 ∂ f 0 2 f(x , y ) = f(x, y) + (x − x) + (y − y) + 2 (x − x) + ··· ∂x y ∂y x 2! ∂x y (2.12) 2 0 0 ∂f 0 ∂f 0 1 ∂ f 0 2 f(x , y ) − f(x, y) = (x − x) + (y − y) + 2 (x − x) + ··· (2.13) ∂x y ∂y x 2! ∂x y ∂f ∂f ∆f = ∆x + ∆y + ··· (2.14) ∂x y ∂y x Now if we take the limit that ∆x is small and ∆y is small, the higher-order terms vanish, and we are left with ∂f ∂f df = dx + dy (2.15) ∂x y ∂y x Note also, that we can study the total differential of functions with any number of arguments, so if we had f(a, b, c, e), we could write ∂f ∂f ∂f ∂f df = da + db + dc + de (2.16) ∂a b,c,e ∂b a,c,e ∂c a,b,e ∂e a,b,c
Physics 423 5 Tuesday 4/19/2012 One exciting thing about total derivatives in thermodynamics is that the derivatives ∂f ∂f ∂x and ∂y are often observable state variables themselves! Thus we often interpret a y x total differential in order to find definitions for the terms.
BWBQ: (5 min) Interpret the following total differential
dR = adB + Cde (2.17) to find expressions for a and C. Interpret the following total differential
dH = T dS + V dp (2.18) to find expressions for the temperature T and the volume V .
Lecture: (5 min) Generally, common derivative sense applies to total differentials... product rule
f = gh (2.19) df = gdh + hdg (2.20) chain rule
f(x, y) = g(h) (2.21) dg df = dh (2.22) dh
BWBQ: (15 min) Given f(x, y) = ln (x2 + y2), find df. Find dF when: X F = − Pi ln Pi (2.23) i Find dF if
F = U − TS (2.24) dU = T dS − pdV (2.25)
Physics 423 6 Tuesday 4/19/2012 Exact vs. inexact differentials BWBQ: (10 min) Given an expression for a total differential
df = ydx + xdy (2.26)