1. Home
  2. Explore
  3. Physics
  4. Temperature and Thermal Equilibrium

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Temperature and Thermal Equilibrium

Speaker 1Speaker 2

Temperature and Thermal Equilibrium

18:03
0:00-18:03
  1. Anna

    Let’s start with a deceptively simple question: what is temperature? We often hear that it measures how much the particles in a substance are moving around. But a thermometer gives us a number, and that raises a deeper question: what does that number actually mean?

  2. Simon

    One experimental way to begin is to compare two substances. If energy naturally flows from A to B when they’re in contact, we call A hotter. If there’s no net energy flow either way, they have the same temperature. That tells us how to order temperatures, but not yet how to assign a precise number.

  3. Anna

    We could choose familiar reference points, like water’s freezing and boiling points, and label them zero and one hundred degrees Celsius. But that still leaves the question of how temperature should behave between those points. Ideally, in ordinary circumstances—not while something is melting, boiling, or exploding—we want a scale related in a simple way to the substance’s internal energy.

  4. Simon

    And temperature is not simply the same thing as internal energy. Different substances need different amounts of energy for the same temperature increase. Heating a gram of mercury by ten degrees Celsius takes about 1.4 joules, while heating a gram of water by the same amount takes about 42 joules—roughly thirty times as much.

  5. Anna

    Even a separate temperature-versus-energy rule for every substance would fail when the substance changes phase. So we want a more fundamental definition: a way to calculate temperature from the microscopic state of the particles, rather than relying only on thermometer behavior.

  6. Simon

    The idea that matter’s temperature comes from tiny particles moving and colliding was suggested in the mid-1700s by people including Daniel Bernoulli and Mikhail Lomonosov. But the statistical theory was formalized much later, in the late 1800s, by Boltzmann, Gibbs, Maxwell, and others. The surprising answer is that temperature is defined through entropy.

  7. Anna

    First, let’s distinguish two descriptions of a substance. A macrostate gives large-scale properties, such as its shape, volume V, particle number N, and total internal energy U. A microstate gives a precise description of the particles. Many different microstates can correspond to the same macrostate.

  8. Simon

    The number of microstates compatible with a macrostate is called its multiplicity, written with the Greek letter Omega. To count it, we need to make the state space discrete; otherwise, positions and momenta could vary continuously and there would be infinitely many possibilities. We can imagine a grid, and quantum mechanics later provides a principled scale for those state-space cells.

  9. Anna

    Once we know Omega, entropy is Boltzmann’s constant k times the logarithm of Omega: S equals k log Omega. We consider entropy as a function of energy and other macroscopic variables. Temperature is then defined as the reciprocal of how quickly entropy changes with energy, keeping the other variables fixed: one over temperature equals the partial derivative of S with respect to U.

  10. Simon

    That derivative may sound odd because the underlying microstates are discrete. But the quantum-scale steps are so tiny compared with ordinary changes in energy that, for a system with a huge number of particles, entropy can be closely approximated by a continuous function. Temperature and entropy are statistical ideas that become useful for very large systems.

  11. Anna

    Why should this definition match the familiar idea that objects exchange energy until they reach the same temperature? Imagine two systems, A and B, together isolated from the outside. Energy can move between them, but their total energy stays fixed.

  12. Simon

    The number of ways to choose a microstate for A and one for B is Omega A times Omega B. Taking the logarithm turns that product into a sum, so the combined entropy is S A plus S B. Since the systems continually explore microstates, the most probable combined macrostate is the one with the greatest multiplicity—and therefore the greatest total entropy.

  13. Anna

    Now let energy shift from B to A. If A gains a little energy, B loses the same amount, so the change in total entropy depends on the energy derivative for A minus the energy derivative for B. At the maximum, that change is zero. The two entropy derivatives must therefore be equal.

  14. Simon

    And because each derivative is one over temperature, equal derivatives mean equal temperatures. So the statistical definition explains thermal equilibrium: when the systems have had time to exchange energy, the most probable state is the one in which their temperatures match.

  15. Anna

    A tiny model makes the probability idea concrete. Suppose A and B each contain two particles, and there are four indivisible units of energy to distribute. Putting all four units in A gives five possible arrangements. Putting three in A and one in B gives eight, while splitting the energy evenly gives nine.

  16. Simon

    The evenly divided arrangement has the most ways to occur, so it’s the most likely. There can still be an uneven outcome, but as the number of particles and energy units grows, the probability peak around equilibrium gets sharper. A glass of water contains on the order of ten to the twenty-four particles, so the statistical preference is overwhelmingly strong.

  17. Anna

    That establishes why the entropy definition gives the right equilibrium condition. But does it also give a sensible numerical scale, where temperature is proportional to energy in ordinary circumstances? Let’s try a deliberately simple model in which particles share quantized energy.

  18. Simon

    For two particles, represent a microstate by the energy of the first particle on one axis and the energy of the second on the other. States with total energy U lie on a diagonal, and there are U plus one such states. With three particles, the states lie on a triangular slice; for large U, the count grows roughly like U squared.

  19. Anna

    Adding a fourth particle gives a higher-dimensional slice, with a count that grows roughly like U cubed. More generally, for N particles the multiplicity behaves approximately like a factor depending on N times U to the power N minus one. For enormous N, using N instead of N minus one makes essentially no difference.

  20. Simon

    Taking the logarithm gives something like N log U plus a term that depends only on N. Differentiating with respect to U makes the second term disappear and turns log U into one over U. The result is one over T approximately equal to kN over U, or T approximately equal to U divided by kN.

  21. Anna

    So in this rough model, temperature is proportional to energy per particle, with Boltzmann’s constant setting the conversion to kelvin. That’s encouraging. The model is crude, but the important point is that the detailed factor depending only on particle number vanishes when we differentiate.

  22. Simon

    For a more precise calculation, we need a particular substance. The simplest useful example is an ideal gas: point-like particles with minimal interactions, in a volume V, with total energy U. We’ll count its microstates, take the logarithm to find entropy, and then differentiate to get temperature.

  23. Anna

    Start with one particle. Its position has three coordinates, so a grid with spacings delta x, delta y, and delta z gives about V divided by delta x delta y delta z possible position states. Its momentum also has three coordinates, p x, p y, and p z.

  24. Simon

    For a particle of mass m, kinetic energy is the magnitude of momentum squared divided by two m. So momentum states with energy U lie on a sphere of radius square root of two m U in three-dimensional momentum space. Counting states in a thin shell around that sphere is approximately a surface-area calculation, divided by the momentum-grid spacing in each direction.

  25. Anna

    That shell description raises a fair question: what if the sphere falls between grid points? The answer is about scale. Quantum state spacings are microscopic, while the energy intervals we can meaningfully distinguish are much larger. A thin shell covering the relevant energy interval sweeps across the momentum states, so its volume gives a good approximation to their number.

  26. Simon

    When we pair each position spacing with its corresponding momentum spacing, we get products such as delta x times delta p x. This connects the count to the uncertainty principle: position and momentum cannot both be specified with arbitrary precision. Their uncertainty product is bounded on the scale of Planck’s constant.

  27. Anna

    Planck’s constant is about 6.6 times ten to the minus thirty-four kilogram metre squared per second. The uncertainty principle does not, by itself, tell us the exact size of every counting cell, but the natural cell scale is Planck’s constant. Sackur and Tetrode used that scale in their 1912 work, before quantum mechanics had been formally developed.

  28. Simon

    For N particles, we cannot simply count each particle’s momentum independently, because the constraint is on the total energy. The sum of the squares of all momentum coordinates must match the total energy. With three momentum coordinates per particle, the allowed states lie on a sphere in three N dimensions—a hypersphere.

  29. Anna

    The surface area of that high-dimensional hypersphere can be written using powers of pi, a factorial, and the radius raised to a high power. Dividing by the momentum-cell sizes and multiplying by the available position states gives a count for the gas. There’s one more correction: the particles are indistinguishable.

  30. Simon

    Swapping two indistinguishable particles doesn’t create a new physical microstate. If we counted all N-particle orderings, we would count each physical state N factorial times, so we divide the result by N factorial. That correction is essential to the multiplicity.

  31. Anna

    The resulting expression is complicated, but entropy requires its logarithm, and that’s where Stirling’s approximation helps. For a large number n, log of n factorial is approximately n log n minus n. Since a gas contains an enormous number of particles, this approximation is extremely useful.

  32. Simon

    After applying it and collecting terms, we get the Sackur–Tetrode equation, the entropy of an ideal gas in terms of its particle number, volume, energy, mass, and Planck’s constant. The full formula is intricate, but for temperature we only need to notice that its energy-dependent part is three k N over two times log U.

  33. Anna

    Everything else in the entropy expression is independent of U, so it vanishes when we differentiate with respect to energy at fixed volume and particle number. The derivative of log U is one over U. Taking its reciprocal gives the ideal-gas temperature: T equals two U divided by three k N.

  34. Simon

    Rearranging that result, an increase in temperature of delta T at fixed volume requires energy equal to three k N over two times delta T. So the heat capacity at constant volume is three k over two per particle, or three k times Avogadro’s constant over two per mole.

  35. Anna

    Numerically, that’s about 12.47 joules per mole per kelvin. It matches helium’s heat capacity at constant volume. That agreement is a striking success: a statistical count of microscopic states has predicted a measurable bulk property.

  36. Simon

    Other gases can store energy in additional ways. A diatomic molecule, such as one made of two atoms, can rotate as well as move. In the account here, two additional rotational degrees of freedom contribute, making five momentum-like degrees of freedom in total and giving a heat capacity of five k N over two.

  37. Anna

    That illustrates the equipartition theorem: each degree of freedom contributes one half k T to the internal energy per particle. The theorem applies beyond this simple ideal-gas example, although working out the available degrees of freedom depends on the substance.

  38. Simon

    There’s an interesting contrast in the Sackur–Tetrode calculation. The quantum-scale counting, hypersphere area, and indistinguishability correction are needed to get the full entropy formula. But many temperature results survive rougher counting, because factors independent of energy disappear when we differentiate.

  39. Anna

    That also explains why checking only the temperature can’t determine the entire entropy formula. Measuring temperature and energy lets us recover changes in entropy, but an energy-independent constant remains unknown. To fix that constant, we need an entropy reference point.

  40. Simon

    The reference point used in this discussion is absolute zero, where the simple picture says there is no energy and the particles are frozen, so entropy is zero. The real situation at very low temperatures can be more complicated, but absolute zero gives the crucial anchor for the experimental comparison.

  41. Anna

    Sackur and Tetrode could not simply cool an ideal gas all the way down to absolute zero, because a real substance changes phase. Their example was mercury vapour, but mercury is solid from absolute zero up to about minus 39 degrees Celsius, liquid until about 357 degrees, and only then a gas.

  42. Simon

    They could use measured heat capacities for the liquid and a model for low-temperature solids, along with the energy needed for the changes of phase, to account for the entropy from absolute zero up to the gas state. The source describes this as the route by which their entropy values could be compared with the formula, including its Planck-constant scale.

  43. Anna

    Now let’s clear up a common heat-capacity confusion. The 12.47 joule value is for constant volume, also called isochoric heat capacity. If you look up helium’s heat capacity at constant pressure, you’ll find about 20.79 joules per mole per kelvin instead.

  44. Simon

    The difference is that, at constant pressure, the gas can expand as it heats. But in the conventional definition of temperature, we take the partial derivative of entropy with respect to energy while holding volume and particle number fixed. We need to specify what stays fixed; otherwise, entropy depends on several variables and there is no single derivative.

  45. Anna

    Thermodynamics treats internal energy U as a function of entropy S and volume V, with particle number fixed here. Its partial derivative with respect to entropy is temperature. The volume derivative is related to pressure, with a minus sign in this convention: compressing a substance can increase its internal energy.

  46. Simon

    If we instead examine how entropy changes with volume while holding energy fixed, the relation is dS by dV equals pressure divided by temperature. Apply that to the ideal-gas entropy formula, and after rearranging, you recover P V equals k N T—the ideal gas law. Writing the particle count in moles gives the familiar version involving n and the gas constant.

  47. Anna

    We can get the constant-pressure heat capacity from the constant-volume result in two steps. First, heat the gas at fixed volume; that takes the isochoric heat capacity times the temperature change. Then let it expand adiabatically—without changing entropy—to the volume appropriate for the higher temperature.

  48. Simon

    The expansion requires energy associated with pressure times the volume change. Using the ideal gas law, the additional contribution is k N per degree of temperature increase. So constant-pressure heat capacity is constant-volume heat capacity plus k N: five k over two per particle, or about 20.79 joules per mole per kelvin.

  49. Anna

    The broader lesson is that different thermodynamic quantities involve different choices of what is held fixed. Temperature uses the energy derivative at fixed volume and particle number; pressure is tied to how energy changes with volume under the appropriate thermodynamic conditions. Keeping track of those conditions matters.

  50. Simon

    There are two complementary ways to approach thermodynamics. The macroscopic approach starts from broad thermodynamic laws and measurable quantities. The microscopic approach starts with particles and their possible states, making the statistical meaning of entropy clearer, though concepts such as how energy is divided between heat and work can be less transparent.

  51. Anna

    The same basic method can be applied to other systems: identify macrostates and microstates, count the compatible arrangements, take the logarithm to get entropy, and differentiate to find temperature. Similar ideas also appear in information theory, where one studies possible states in computer or communication systems.

  52. Simon

    But the counting becomes difficult outside an ideal gas. Solids require detailed theories of crystal structures, and liquids are even harder to handle. The method is powerful, but a precise definition does not guarantee an easy calculation.

  53. Anna

    So we can answer the original question: temperature is not simply internal energy or a direct count of particle motion. In statistical mechanics, it is the reciprocal of the rate at which entropy increases with energy, with volume and particle number held fixed.

  54. Simon

    And that definition explains both why energy flows toward equal temperatures and why, for an ideal gas, temperature tracks energy per particle. The entropy units are joules per kelvin, which are also the units of heat capacity, even though entropy and heat capacity are different quantities. A complicated route to a very useful number.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent