Thermodynamics
Note: Intensive dExtensive
Hence,
Extensive means
Definitions
Systems
Consists of many constituents (particles)
We also wait long enough for the system it arrives to its thermodynamic (TD) equilibrium state.
If it is in the TD equilibrium state then it can be described by a few physical quantities called state variables.
Example of state variables:
Temperature
Specifically, Temperature describes the process of energy exchange between different systems in thermal contact.
Energy flows (is transfered) from the system with high temperature to the system with low temperature.
The systems reach thermal equilibrium when no more net energy transfer takes place by heating or cooling and at this point their temperatures are equal.
Unit: [T] = K, Kelvin with
Boltzmann Constant
The equation of state (EOS) is a functional relationship between the state variables of a system (in TD equilibrium).
EOS can be obtained experimentally, ex. ideal gas law,
Also can be obtained from first principles using SM or empirically (approximate).
An example is the van der Walls EOS (vdW)
EOS are continuous and small changes in one variable lead to small changes in the other variables unless something dramatic happens (e.g. phase change, where the system fundamentally changes its state [symmetry change/ topology change]). This second part is the well behaved nature of the system. Example solid
Small changes implies that you can linearize the EOS.
An example from the ideal gas law:
Types of Equilibrium
- Thermal:
- Mechanical:
, - Chemical/ Diffusive:
Process
A change of a system from one state (A) to another state (B).
Processes can be fast, slow, spontaneous, reversible, irreversible, quasistatic.
Quasistatic
A qs process is usually idealized process where all relevant state variables are well defined for the entire process.
In other words, a qs process is a sequence of TD equilibrium states.
Laws
Zeroth Law of TD
If A is in thermal equilibrium with C and B is in equilibrium with C then A is in thermal equilibrium with B.
First Law
Energy is conserved (provided we include energy changes by doing work and heating).
Then,
Real Process
Example - Gasoline 4 stroke Engine
- Expand Volume (ignite and expand)
- Explosion
- Intake
- Compression
1–2 Q=0 3–4 Q=0 2–4 dV=0 3–1 dV=0
Ideal Gas
Processes
What is the sign of the entropy changes? V2 is initially empty.
- (A) Slow Expansion (environment has temperature T1 and gas is in piston environment with pressure P1 and volume V1 and gets expanded to 2V1 = V2)
- (B) Remove pin holding boundary between two volumes
- (C) Small Hole in Boundary between two volumes
- (D) Thermally insulated adiabatic wall (expand slowly)
- Questions to ask - Systemitize
- Is the process quasistatic? (A,D due to them being slow) (B is not due to it being fast) (C is not a sequence of equilibrium states and so it is not)
- Use First Law (ΔU = W + Q)
- Find initial and final states for (ΔU, W, Q)
- Find quasistatic process that have the same initial and final states to analysize the non-qs processes
For (A) there is no change in Energy. For (B) there is no Work. For (C) there is no Work. For (D) there is no Heat Exchange.
For A,B,C the final pressure is half, the final volume is double. Note that ABC has no change in internal energy. Q is zero. W = -Q for A and since work is done by the system, work is negative and so entropy increases. Because BC is not quasistatic (we cannot use dQ = TdS), we can relate them to A and see that entropy must increase. D has Q=0 and so entropy does not change but the temperature decreases since the internal energy decreases (from the fact that the system is doing work).
Systematize
- What are the state variables?
- How many (total)?
- How many are independent?
- Which ones are independent?
State Variables
1 energy, 2 state variables for heating, 2 variables for each work. Thus we have a total number of state variables is 1 + 2Nw + 2 state variables. And the number of independent state variables is Nw+1.
Assume we have amystery state variable X, we then assume U(X) so we can find the conjugate pair.
Relations between state variables are described by well behaved EOS (twice differentiated). I.e. small changes are equivalent to toal differentials.
Legendre? Transformation:
Let Z=f(X,Y).
I.e. for the internal energy,
We can look at U(T,V,N). So,
Consider:
Energies
- U(S,V,N) (Assume: S(U,V,N), V(U, S, N), N(U, S, V), we may also write ℐ(U,S,V,N)=0)
- F = U - TS : F(T,V,N)
- H = U+PV : H(S,P,N)
- G = U - TS + PV : G(T,P,N)
- 𝓖 = U - TS - μN : 𝓖(T,P,μ)
Note from
For Heating and Work
- Heating: S, T
- Work: (P,V), (μ, N), (B, μ), …
Notes
- Compressibility:
(we will show the greater than later) - Thermal Expansion:
can be greater or less than zero. - Heat Capacity
Entropy Changes from Earlier Examples
Use an ideal gas.
Slow Isothermal Expansion
From slow, we know quasistatic.
Adiabatic Expansion
Calculate work done.
Note
So,
Alternatively (in class):
Efficiency
Example Problems
One
Strategy:
- Find the function with the variables mentioned:
- Linearize,
.
Need
So, we need
Two
Show
More Problems
Second Law
Entropy always increases or stays the same.
I.e. Entropy never decreases.
Implies an Entropy maximum principle.
A closed system after removal of one or more internal constraints will relax to that Thermodynamic Equilibrium state with the highest entropy consistent with the removed constraints.
- Mechanical
Say we have a block on a series of shelves and then we remove some shelves, then the mass will end up at the next possible state (a lower still existing shelf).
- Perturbed
Lets say we have a closed system in two halves. If we perturb it then
, . Since it is closed: , , . Then, redefine these such that etc. Then, , since is maximum. Then, each coefficient must be zero. Thus, , , and . - More General System - Equilibrium States from Helmholtz Free Energy
Let there be a system at
in an environment of temperature . Since so . . Multiplying by , we get , let this be (1). Also, , let this be (2). Adding (1) and (2), . Since the temperature is constant, . . Using the Helmholtz free energy, . Then, since is constant.Then,
. Thus, the minimizing the Helmholtz free energy gives the equilibrium states for constant temperature and volume.If we had constant pressure and temperature then the Gibbs free energy is used,
.For a mechanical system,
. so . This inequality becomes an equality for quasistatic processes. during relaxation is so . Since , so , so that . - Enthalpy
Consider
so so , . Thus, for constant pressure and temperature. - General
For constant pairs:
V,T p,T
Stability Conditions
Small perturbations do not give large changes instead they give small changes.
Example
Mechanics Example (1D)
Let
At the global minimum, the state is called stable. At a local minumum the state is metastable. At a maximum, the equilibrium is unstable.
Stability is the second order condition,
If we have more than a single coordinate, then
If we go to a generalized force
Euler Relation
Extensivity
From Before
How to use?
Variations
From the original inequality,
Helmholtz:
Consider the Maxwell relations from the Helmholtz free energy,
So,
Then,
Or,
If you have multiple particles, terms will appear in a similar fashion, and you will always have the
Example:
Consider
For
Analyzing like a quadratic form,
So,
Example:
Consider a simple substance (one chemical composition) observe 3 phases,
On the lines, we have coexistence of the phases, at intersections we have coexistence of all the phases. Phase boundaries.