Lecture 6. Statistical Processes. Irreversibility. Counting and Probability. Microstates and Macrostates. The Meaning of Equilibrium Ω(m) 9 spins

Similar documents
Irreversibility. Have you ever seen this happen? (when you weren t asleep or on medication) Which stage never happens?

Lecture 6 Examples and Problems

Lecture 4: Classical Illustrations of Macroscopic Thermal Effects

Lecture 6 Examples and Problems

213 Midterm coming up

MATH 3C: MIDTERM 1 REVIEW. 1. Counting

MAT Mathematics in Today's World

Lecture 9 Examples and Problems

Chapter 20 The Second Law of Thermodynamics

Thermodynamics: More Entropy

Lecture 8. The Second Law of Thermodynamics; Energy Exchange

Lecture 8. The Second Law of Thermodynamics; Energy Exchange

Let s start by reviewing what we learned last time. Here is the basic line of reasoning for Einstein Solids

Lecture 10: Probability distributions TUESDAY, FEBRUARY 19, 2019

Expected Value II. 1 The Expected Number of Events that Happen

Entropy, free energy and equilibrium. Spontaneity Entropy Free energy and equilibrium

Chapter 12- The Law of Increasing Disorder

Lecture 1: Probability Fundamentals

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 14

Detecting the Electric Field

Lecture 13. Multiplicity and statistical definition of entropy

Statistical Physics. How to connect the microscopic properties -- lots of changes to the macroscopic properties -- not changing much.

Chapter 11 Heat Engines and The Second Law of Thermodynamics

PHYSICS. Chapter 20 Lecture 4/E FOR SCIENTISTS AND ENGINEERS A STRATEGIC APPROACH RANDALL D. KNIGHT Pearson Education, Inc.

MP203 Statistical and Thermal Physics. Problem set 7 - Solutions

What was Aristotle s view of motion? How did Galileo disagree with Aristotle? Which answers agrees with Aristotle s view? Eliminate the others.

Name Date Block LESSON CLUSTER 6: Expansion and Contraction

Lecture Notes Set 3a: Probabilities, Microstates and Entropy

Chemistry 2000 Lecture 9: Entropy and the second law of thermodynamics

P (A) = P (B) = P (C) = P (D) =

Thermodynamics: More Entropy

Physics 9 Wednesday, February 29, 2012

The four laws of Thermodynamics. WOD are underlined.

Physics 172H Modern Mechanics

10/27/2012. Chapter 18: The law of increasing disorder. The arrow of time. Irreversible processes are all around us

Dr.Salwa Alsaleh fac.ksu.edu.sa/salwams

1 The Basic Counting Principles

PHYSICS 715 COURSE NOTES WEEK 1

Probability and the Second Law of Thermodynamics

Lecture 15. Available Work and Free Energy. Lecture 15, p 1

Chapter 14. From Randomness to Probability. Copyright 2012, 2008, 2005 Pearson Education, Inc.

MATH MW Elementary Probability Course Notes Part I: Models and Counting

Figure 1: Doing work on a block by pushing it across the floor.

Stuff 1st Law of Thermodynamics First Law Differential Form Total Differential Total Differential

Experimenting with Forces

Physics 213 Spring 2009 Midterm exam. Review Lecture

Building your toolbelt

AP Physics Ch 6 Day 4

Newton s Wagon. Materials. friends rocks wagon balloon fishing line tape stopwatch measuring tape. Lab Time Part 1

VISUAL PHYSICS ONLINE THERMODYNAMICS SECOND LAW OF THERMODYNAMICS ENTROPY

CIS 2033 Lecture 5, Fall

Lecture 4: Classical Illustrations of Macroscopic Thermal Effects. Heat capacity of solids & liquids. Thermal conductivity

Lecture 2. Binomial and Poisson Probability Distributions

Lecture 2 Binomial and Poisson Probability Distributions

the time it takes until a radioactive substance undergoes a decay

Physics 9 Friday, November 2, 2018

Class 22 - Second Law of Thermodynamics and Entropy

Worksheet for Exploration 21.1: Engine Efficiency W Q H U

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 2 MATH00040 SEMESTER / Probability

Period 13 Activity Solutions: Energy Balance of the Earth

STAT/SOC/CSSS 221 Statistical Concepts and Methods for the Social Sciences. Random Variables

11/29/2017 IRREVERSIBLE PROCESSES. UNIT 2 Thermodynamics: Laws of thermodynamics, ideal gases, and kinetic theory

Lecture 1. ABC of Probability

Lesson 39: Kinetic Energy & Potential Energy

Recap: Energy Accounting

SAM Teachers Guide Phase Change Overview Learning Objectives Possible Student Pre/Misconceptions

Outline of the Course

Concepts in Physics. Friday, October 16th

Lab 7 Energy. What You Need To Know: Physics 225 Lab

The Story of Energy. Forms and Functions

BIT 1002 Thermodynamics. First Law Heat engines Second Law Entropy. What is heat?

If there is nothing pushing on an object, it will not move. If there is nothing pushing on an object, it will not stop. The List:

Thermodynamics: Entropy

SAM Teachers Guide Phase Change Overview Learning Objectives Possible Student Pre/Misconceptions

Discrete Probability. Chemistry & Physics. Medicine

1. As a macroscopic analogy, think of an idealized pool table on which there is no friction. Let s consider a few scenarios.

Basic Probability. Introduction

Today. Exam 1. The Electric Force Work, Energy and Power. Comments on exam extra credit. What do these pictures have in common?

ENTHALPY, INTERNAL ENERGY, AND CHEMICAL REACTIONS: AN OUTLINE FOR CHEM 101A

MATH 10 INTRODUCTORY STATISTICS

Probabilistic models

Potential energy. Announcements:

5.4 The Kinetic Molecular Theory and Changes of State

4 Newton s Third Law of Motion Action and Reaction. For every force, there is an equal and opposite force.

Probabilistic models

7.1 Forces and Interactions. A force is always part of a mutual action that involves another force. For every force, there. opposite force.

Coupled Oscillators. 1 Introduction. 2 Theory. PHY 300 Lab 2 Fall 2012

Chapter 17. Free Energy and Thermodynamics. Chapter 17 Lecture Lecture Presentation. Sherril Soman Grand Valley State University

Big Bang, Black Holes, No Math

Chapter 19. Spontaneous processes. Spontaneous processes. Spontaneous processes

MATH 10 INTRODUCTORY STATISTICS

Irreversible Processes

The (Almost) Modern Atom Model. SUMMARY from previous lecture Energy comes in different forms. ENERGY IS ALWAYS CONSERVED.

Lesson 39: Kinetic Energy & Potential Energy

6.867 Machine Learning

Atomic Motion and Interactions

CSE 103 Homework 8: Solutions November 30, var(x) = np(1 p) = P r( X ) 0.95 P r( X ) 0.

Chemical Thermodynamics

Chapter 20. Heat Engines, Entropy and the Second Law of Thermodynamics. Dr. Armen Kocharian

One-to-one functions and onto functions

Transcription:

Lecture 6 Statistical Processes Irreversibility Counting and Probability Microstates and Macrostates The Meaning of Equilibrium Ω(m) 9 spins -9-7 -5-3 -1 1 3 5 7 m 9 Lecture 6, p. 1

Irreversibility Have you ever seen this happen? (when you weren t asleep or on medication) v h = U therm /mg U therm Thermal energy in block converted to CM KE ½ mv 2 = U therm End with v = 0 mgh = U therm Thermal energy Kinetic energy Potential energy Which stage never happens? Lecture 6, p. 2

Act 1: Irreversibility Replace the block in the last problem with an ice cube of the same mass. Will that stuff jump off the table? A) Yes B) No Lecture 6, p. 3

Solution Replace the block in the last problem with an ice cube of the same mass. Will that stuff jump off the table? A) Yes B) No You probably forgot that the ice will melt and then evaporate! What won t happen is for all the ice to jump up as one object. It will certainly all jump up, molecule-by-molecule. Why does one process happen, but not the other? There are lots of different ways for the water to evaporate, but only one way to jump up as a block. This is our first hint that: Which event will happen is determined by the number of different ways the various events could happen. Lecture 6, p. 4

The Direction of Time In Physics 211 (Classical Mechanics), most of the processes you learned about were reversible. For example, watch a movie of a pendulum swinging or a ball rolling down a plane. Can you tell from the action whether the movie is being played forwards or backwards? The real world is full of irreversible processes. E.g., a block sliding across a rough surface or a rocket being launched. You know whether a movie of those is being played backwards or forwards. Time has a direction. Consider the free expansion of a gas. On a microscopic scale motion is reversible, so... How can you in general know which way is forward? Our answer will be that total entropy never decreases. Which of the following are irreversible processes? An object sliding down a plane A balloon popping A basketball bouncing on the floor Rusting: Fe + O 2 Fe 2 O 3 Lecture 6, p. 5

Act 2 To illustrate how large, many-particle systems behave, consider a familiar system, the air in this room. Why does the air spread out to fill the room? a) The atoms repel each other, so the gas expands to fill up the available space. b) The atoms move around randomly, so they just end up all over the place by accident. c) The energy of the system is lowered when the gas fills all the available space. Lecture 1, Pg 6

Solution To illustrate how large, many-particle systems behave, consider a familiar system, the air in this room. Why does the air spread out to fill the room? a) The atoms repel each other, so the gas expands to fill up the available space. b) The atoms move around randomly, so they just end up all over the place by accident. c) The energy of the system is lowered when the gas fills all the available space. Choices a and c are wrong. In fact, there is a small attraction between molecules. The molecules just distribute themselves randomly and quite uniformly. There are simply more ways to spread out the gas than to compress it. Lecture 1, Pg 7

Act 3: Free Expansion of a Gas Free expansion occurs when a valve is opened allowing a gas to expand into a bigger container. Such an expansion is: A) Reversible, because the gas does no work and thus loses no energy. B) Reversible, because there is no heat flow from outside. C) Irreversible, because the gas won t spontaneously go back into the smaller volume. Lecture 6, p. 8

Solution Free expansion occurs when a valve is opened allowing a gas to expand into a bigger container. Such an expansion is: A) Reversible, because the gas does no work and thus loses no energy. B) Reversible, because there is no heat flow from outside. C) Irreversible, because the gas won t spontaneously go back into the smaller volume. Because there are many fewer microstates. But WHY do we necessarily get half of the molecules on each side Lecture 6, p. 9

Counting and Probability We ve seen that nature often picks randomly from the possible outcomes: Position of a gas atom Direction of a gas atom velocity We will use this fact to calculate probabilities. This is a technique that good gamblers know about. We will use the same counting-based probability they do. This is not like the stock market or football! We will end up with extremely precise and very general lawsnot fuzzy guesswork. Lecture 6, p. 10

Act 4: Rolling Dice Roll a pair of dice. What is the most likely result for the sum? (As you know, each die has an equal possibility of landing on 1 through 6.) A) 2 to 12 equally likely B) 7 C) 5 Lecture 6, p. 11

Solution Roll a pair of dice. What is the most likely result for the sum? (As you know, each die has an equal possibility of landing on 1 through 6.) A) 2 to 12 equally likely B) 7 C) 5 Why is 7 the most likely result? Because there are more ways (six) to obtain it. How many ways can we obtain a six? (only 5) Lecture 6, p. 12

Important Nomenclature Slide When we roll dice, we only care about the sum, not how it was obtained. This will also be the case with the physical systems we study in this course. For example, we care about the internal energy of a gas, but not about the motion of each atom. Definitions: Macrostate: The set of quantities we are interested in (e.g., p, V, T). Microstate: A specific internal configuration of the system, with definite values of all the internal variables. Dice example: These microstates all correspond to the seven macrostate. one microstate Due to the randomness of thermal processes: Every microstate is equally likely. Therefore the probability of observing a particular macrostate is proportional to the number of corresponding microstates. Lecture 6, p. 13

The Meaning of Equilibrium (1) An Introduction to Statistical Mechanics In the free expansion of a gas, why do the particles tend towards equal numbers in each equal-size box? Let s study this mathematically. Consider four particles, labeled A, B, C, and D. They are free to move between halves of a container. What is the probability that we ll find three particles on the left and one on the right? (That s the macrostate). A complication that we can ignore: We don t know how many states a particle can have on either side, but we do know that it s the same number on each side, because the volumes are equal. To keep things simple, we ll call each side one state. This works as long as both sides are the same. A C D one microstate B Lecture 6, p. 14

The Meaning of Equilibrium (2) Four microstates have exactly 3 particles on the left: B C D A A C D B A B D C A B C D We ll use the symbol Ω(N,N L ) to represent the number of microstates corresponding to a given macrostate. Ω(4,3) = 4. How many microstates are there with exactly 2 particles on the left? Use the workspace to find Ω(4,2) =. Lecture 6, p. 15

Solution Ω(4,2) = 6: A B C D A C B D A D B C B C A D B D A C C D A B This can be solved using the binomial formula, because each particle has two choices. Ω ( ) = N! = 4! N,N = L NCN L 6 N!N N! 2!4 2! L ( ) ( ) L Many systems are described by binary distributions: Random walk Coin flipping Electron spin Lecture 6, p. 16

The Meaning of Equilibrium (3) Now you can complete the table: The total number of microstates for this system is Ω tot = Plot your results: N L 0 1 2 3 4 Ω(4,N L ) Ω(4,N L ) 6 4 # microstates P(N L ) = Ω(4,N L )/Ω tot Probability 0.4 0.3 2 0 0 1 2 3 4 N L 0.2 0.1 0.0 0 1 2 3 4 N L Lecture 6, p. 17

Solution Now you can complete the table: N L 0 1 2 3 4 Ω(4,Ν L ) 1 4 6 4 1 The total number of microstates for this system is Ω 2 N tot = = 16 Plot your results: Ω(4,N L ) # microstates 6 4 P(N L ) = Ω(4,N L )/Ω tot Probability 0.4 0.3 2 0.2 0.1 0 0 1 2 3 4 N L 0.0 0 1 2 3 4 N L Lecture 6, p. 18

The Meaning of Equilibrium (4) You just plotted what is called an Equilibrium Distribution. It was done assuming that all microstates are equally likely. The basic principle of statistical mechanics: For an isolated system in thermal equilibrium, each microstate is equally likely. An isolated system that is out of thermal equilibrium will evolve irreversibly toward equilibrium. We ll understand why this is as we go forward. For example, a freely expanding gas is not in equilibrium until the density is the same everywhere. This principle also explains why heat flows from hot to cold. Lecture 6, p. 19

Equilibrium for Large N Here are the probability distributions for various number of particles (N). The width of a peak is proportional to N. The fractional width is proportional to N/N = 1/ N. This means that for very large N (e.g., 10 23 ), the effects of randomness are often difficult to see. Probability (N 1, N 2 ) 1.0 0.8 0.6 0.4 0.2 0.0 N = 2 0 1 2 Probability (N 1, N 2 ) 0.4 0.3 0.2 0.1 0.0 N = 4 N = 10 0 1 2 3 4 Probability (N 1, N 2 ) 0.30 0.25 0.20 0.15 0.10 0.05 0.00 N n ( ) = L = PN,n 0 2 4 6 8 10 C N! 1 2 (N n )!n!2 L N N L L width ~ 3 0.10 N 1 N = 100 0.030 N 1 N = 1000 0.010 N 1 N = 10,000 Probability (N 1, N 2 ) 0.08 0.06 0.04 0.02 Probability (N 1, N 2 ) 0.025 0.020 0.015 0.010 0.005 Probability (N 1, N 2 ) 0.008 0.006 0.004 0.002 width ~ 100 0.00 0.000 0 20 40 60 80 100 0 200 400 600 800 1000 N 1 N 1 0.000 0 2000 4000 6000 8000 10000 N 1 Lecture 6, p. 20

Equilibrium Values of Quantities We have seen that thermal equilibrium is described by probability distributions. Given that, what does it mean to say that a system has a definite value of some quantity (e.g., particles in left half of the room)? The answer comes from the large N behavior of the probability distribution. Ω(m) 18 particles 2x10 20 particles 0 2 4 6 8 10 12 14 16 18 N L 0 10 20 2x10 20 N L s.d. = 3 fractional width = 1/3 s.d. ~ 10 10 fractional width = 10-10 For large N, the equilibrium distribution looks remarkably sharp. In that case, we can accurately define an Equilibrium Value. The equilibrium value here is N L = N/2. Lecture 6, p. 21

Definitions: Macrostate: The set of quantities we are interested in (e.g., p, V, T). Microstate: A specific internal configuration of the system, with definite values of all the internal variables. Assume: Equilibrium Summary Due to the randomness of thermal processes, every microstate is equally likely. Therefore the probability of observing a particular macrostate is proportional to the number of corresponding microstates. P(A) = Ω Α /Ω tot If we have systems with large numbers of particles, then the resulting probability distribution can be very peaked à equilibrium (single) value Many systems are described by binary distributions: Random walk Coin flipping This can be solved using the binomial formula, Electron spin because each particle has two choices: N! Ω ( N,NL) = NCN L N!N N! Ω = 2 tot N L ( ) L Lecture 6, p. 22

Example: Electron Spin Electrons have spin and associated magnetic moment µ. They can only point up or down :* or One microstate Consider a system of N=9 spins: Similar to HHTTHTHHT in a coin flipping experiment: The total magnetic moment (what we can measure) is: M = (N up - N down )µ mµ m = spin excess = N up N down A macrostate is described by m. The microstate above has m = +1. *This is a result from P214 that you ll have to take on faith. Lecture 6, p. 23

Electron Spin (2) Count microstates for each value of m: N! N! Ω (N up ) = Ω (m) = N N m N m up!n down! +!! 2 2 N! 1 P(N up ) = N N!N! 2 up down Ω(N up ) or Ω(m) Number of up spins: N up = 0 1 2 3 4 5 6 7 8 9 N up - N down : m = -9-7 -5-3 -1 1 3 5 7 9 # microstates: Ω = 1 9 36 84 126 126 84 36 9 1 Each macrostate is described by m. (what we measure). This problem will become more interesting later in the course. We will put the spins in a magnetic field. The energy of spin up will not equal the spin down energy, and the probabilities will change. Lecture 6, p. 24

Gaussian Approximation to the Binomial Distribution When N is large, the binomial formula becomes impossible to evaluate on a calculator. N! N! 1 Ω (N ) = P(N ) = up up N N up!n down! N up!n down! 2 Fortunately, when N is large the shape of the distribution becomes a Gaussian: 2 2 ( ) ( ) 1/ 2 1/ 2 m /2N m /2N (m) 2 2 2 N e P(m) e Ω = = πn This expression can be evaluated for very large N (e.g., 10 23 ). πn Gaussian: Does it work? Try N = 20, m = 2: Binomial: Ω(1) = 167960, P(1) = 0.160 Gaussian: Ω(1) = 169276, P(1) = 0.161 The agreement improves as N increases. Ex: N = 10 10, m = 10 5 P(m) = 8.0 10-6 Lecture 6, p. 25

Next Week Entropy and Exchange between systems Counting microstates of combined systems Volume exchange between systems Definition of Entropy and its role in equilibrium Lecture 6, p. 26

Exercise: Random Walk Suppose that a particle is undergoing a 1-dimensional random walk (equally likely steps in the + or minus directions.) What is the probability: 1) that after N steps it is exactly where it started? Evaluate it for N=10. 2) that after N steps it is within 2 steps of the maximum possible positive position? Evaluate it for N=10. Lecture 6, p. 27

Solution Suppose that a particle is undergoing a 1-dimensional random walk (equally likely steps in the + or minus directions.) What is the probability: 1) that after N steps it is exactly where it started? Evaluate it for N=10. There are 2 N total microstates. We want N + = N - = N/2. The probability that this happens is: ( ) N! P 0 = = 0.246 N! 2 N ( ) 2 2 2) that after N steps it is within 2 steps of the maximum possible positive position? Evaluate it for N=10. Lecture 6, p. 28

Solution Suppose that a particle is undergoing a 1-dimensional random walk (equally likely steps in the + or minus directions.) What is the probability: 1) that after N steps it is exactly where it started? Evaluate it for N=10. There are 2 N total microstates. We want N + = N - = N/2. The probability that this happens is: ( ) N! P 0 = = 0.246 N! 2 N ( ) 2 2 2) that after N steps it is within 2 steps of the maximum possible positive position? Evaluate it for N=10. We must sum the three probabilities: P(N) + P(N-1) + P(N-2). P(N) = 1/2 N one microstate P(N-1) = 0 N + - N - must be even when N is even. P(N-2) = N/2 N N microstates: N + = N-1 and N - = 1. The sum is ( ) N + 1 P N 2 : N = = 0.011 2 N Lecture 6, p. 29

Exercise: Random Walk (2) Do the previous exercise when N = 10 6. For what value of m is P(m) half of P(0)? Lecture 6, p. 30

Solution Do the previous exercise when N = 10 6. There is no way that we are going to evaluate 2 1,000,000. We must use the Gaussian approximation: P(m) = 2 ( ) 1/ 2 2 m /2N e πn 1) m = 0: ( ) 2 ( 6) P0 π10 1/ 2 = = 8 10 4 2) m = N and m = N-2: PN 1/ 2 6 10 / 2 = e = 0 for all practical purposes. π10 ( ) 2 ( 6) For what value of m is P(m) half of P(0)? We want 2 e = m = 2ln( 2) N = 1.177 N = 1177 2 m /2N 1 Lecture 6, p. 31

Example: Probability & Microstates The typical baseball player gets a hit 25% of the time. If this player gets several hits in a row, he is said to be on a streak, and it s attributed to his skill. 1) What is the probability that this player will get a hit exactly 25% of the time if he tries 20 times (i.e., 5 hits and 15 misses)? 2) What is the probability that this player will get five hits (no misses) in a row? Lecture 6, p. 32

Solution The typical baseball player gets a hit 25% of the time. If this player gets several hits in a row, he is said to be on a streak, and it s attributed to his skill. 1) What is the probability that this player will get a hit exactly 25% of the time if he tries 20 times (i.e., 5 hits and 15 misses)? The probability of obtaining a particular microstate (five hits and 15 misses, in a specific order) is 0.25 5 0.75 15 = 1.3 10-5. Now, count microstates (different orderings of hits and misses): N = 20! / (5! 15!) = 15,504. Each microstate is equally likely, so the probability is 1.3 10-5 x 15,504 = 0.20. Here s one microstate: MMMMMHMHMMMHHMMMMHMM 2) What is the probability that this player will get five hits (no misses) in a row? There is only one way to do this (one microstate). The probability is: P = 0.25 5 = 0.00098. That s fairly small (about one in a thousand) for a particular player, but not unlikely to happen by chance somewhere on a particular day, if one remembers that there are more than 1000 at bats every day in major league baseball. Lecture 6, p. 33