Thermal physics uses a small, specific set of mathematical tools, and it uses them constantly.
This page is the toolkit — not a course in calculus, but the particular corners of it that
this subject leans on, with the notation this course will use for them.
It is a reference, not a narrative. Read the section the
readiness map sent you to, work its examples with
a pen, and come back when a later module makes you unsure.
so kB is an energy per unit temperature — which is the whole content of the statement
“temperature is a measure of energy per degree of freedom”.
Checking a candidate formula. Suppose you cannot remember whether the root-mean-square
speed of a gas molecule is 3kBT/m or 3kBT/m2 or 3kBTm. Only
one of them is a speed:
The other two fail. This costs ten seconds and catches a large fraction of all algebra errors.
When two different quantities share a unit. Pressure is a force per area and energy
density is an energy per volume, and they are the same thing dimensionally:
That is not a coincidence — it is the hint that pressure is going to turn out to be about
energy — but it is also not an identity. A monatomic ideal gas has P=32u and
isotropic radiation has P=31u, where u is the energy density. Sharing a
dimension tells you two quantities can be related; it never tells you by what factor. (This
is prediction 4 on the orientation page; the
physics behind the factors arrives in modules 4 and 16.)
Comparing numbers honestly. Two quantities agree when their fractional difference is
small:
Absolute differences mean nothing without a scale to compare
them to: the energies in this course are routinely around 10−18J, so a test
asking whether two of them differ by less than 10−12J will answer “no
difference” whatever the physics did.
Partial derivatives, and saying what is held fixed¶
For a function of several variables, the partial derivative with respect to one of them
is the ordinary derivative taken with the others held constant. For f(x,y)=x2y:
The subscript is not decoration. In ordinary calculus the notation ∂f/∂x is
unambiguous because the list of variables is fixed by how f was written. In thermodynamics
it is not: P, V, T and N are tied together by an equation of state, so any of them can
be eliminated in favour of the others, and “the derivative with respect to T” means
different things depending on what you chose to hold.
Mixed partials commute. For any function with continuous second derivatives,
For f=x2y both routes give 2x. This innocuous fact turns into a machine for generating
thermodynamic identities — the Maxwell relations of module 10 are nothing more than this
statement applied to the thermodynamic potentials — and it is also the exactness criterion
below.
For f=x2y this reads df=2xydx+x2dy. Read
practically: it says how much f changes when you nudge x and y by small amounts, to
first order in the nudges.
Along a path, the partial and the total derivative differ. Suppose we move along the line
y=x. Substituting first gives f=x3, hence df/dx=3x2, which is
3 at x=1. But (∂f/∂x)y at (1,1) is 2xy=2. The two numbers are
different and both are correct — they answer different questions. Dividing the total
differential by dx shows exactly where the gap comes from:
The partial derivative ignores the fact that y is changing too. The total derivative does
not. If prediction 5 on the module page caught you, this is the identity that resolves it.
Worked example. Take ω=ydx and go from (0,0) to (1,1) three ways.
Along the diagonaly=x: put x=t, y=t, so
∫01tdt=21.
Across, then up: on the first leg y=0, so the integrand vanishes; on the second leg
x is constant so dx=0. Total: 0.
Up, then across: on the first leg dx=0; on the second y=1 and x runs
from 0 to 1, giving ∫011dx=1. Total: 1.
Same start, same finish, three different answers: 0, 21, 1. The integral of a
differential form is in general a property of the route, not of the endpoints.
Sometimes a form is the total differential of some function, and then the route stops
mattering.
Apply the test to the two forms we have been using:
ω1=ydx+xdy: here ∂M/∂y=1 and
∂N/∂x=1. Equal, so ω1 is exact — and indeed
ω1=d(xy). Every route from (0,0) to (1,1) gives 1⋅1−0=1.
ω2=ydx: here ∂M/∂y=1 but ∂N/∂x=0.
Unequal, so ω2 is inexact — which is why the three routes above disagreed. There
is no function whose differential it is, and writing “d(something)” for it
would be a mistake.
This distinction is the reason this page exists. In module 5 the plane becomes the P–V
plane, and one of the forms you will integrate is exact while another is not. The exact one
integrates to a change in internal energy, which depends only on the endpoints; the inexact
one integrates to heat or to work, which depend on the route. Nothing physical is needed to
see the difference — it is already here, in ydx.