College · 30 classes

Engineering - Thermodynamics

Each class is a short animated explainer with narration and illustrations, plus quick checks and a mastery quiz. Your progress saves automatically as you complete classes.

▶ Watch class 1 free — no sign-up
Progress map · 30 classes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Not startedStartedCompletedMastered
01
Why Does a Cold Drink Get Warm? Systems, States, and Equilibrium
Not started
Start →
02
The Zeroth Law: How a Thermometer Actually Works
Not started
Start →
03
From Ice to Steam: Charting the Behavior of Pure Substances
Not started
Start →
04
When Can We Assume a Gas is 'Ideal'?
Not started
Start →
05
What's the Difference Between Work and Heat?
Not started
Start →
06
The First Law: An Engineer's Energy Balance Sheet
Not started
Start →
07
Why Does It Take So Long to Boil Water?
Not started
Start →
08
Analyzing What Flows Through: The First Law for Control Volumes
Not started
Start →
09
Case Study: A First-Law Analysis of a Simple Power Plant
Not started
Start →
10
The Second Law: Why Don't Engines Run on Warm Seawater?
Not started
Start →
11
How Efficient Can We Be? Defining Thermal Efficiency
Not started
Start →
12
The Carnot Cycle: What is the Best Engine We Can Imagine?
Not started
Start →
13
Entropy: A New Property to Measure Irreversibility
Not started
Start →
14
Why is the Universe Getting Messier?
Not started
Start →
15
What Does an Ideal Turbine Look Like? Isentropic Processes
Not started
Start →
16
Beyond Conservation: How Much of Your Energy is Actually Useful?
Not started
Start →
17
The Exergy Balance: Accounting for Wasted Potential
Not started
Start →
18
Are We Grading on a Curve? Defining Second-Law Efficiency
Not started
Start →
19
Case Study: Where is the Waste in a Heat Exchanger?
Not started
Start →
20
The Rankine Cycle: The Engine of the Modern World
Not started
Start →
21
How Can We Squeeze More Power from Steam?
Not started
Start →
22
The Brayton Cycle: The Heart of the Jet Engine
Not started
Start →
23
The Otto Cycle: What Happens Inside Your Car's Engine?
Not started
Start →
24
The Diesel Cycle: Why are Trucks Different from Cars?
Not started
Start →
25
How Does Your Refrigerator Work? Pumping Heat Uphill
Not started
Start →
26
The Maxwell Relations: Uncovering Hidden Thermodynamic Relationships
Not started
Start →
27
Psychrometrics: The Science of Air Conditioning
Not started
Start →
28
Where Does the Energy in Fuel Come From?
Not started
Start →
29
How Far Will a Reaction Go? Gibbs Free Energy and Equilibrium
Not started
Start →
30
A Final View: Why Does Thermodynamics Even Work?
Not started
Start →
See inside a class

Here’s all of Class 1, in full.

Every class is 13 cards · narrated film + illustration · 3 quick checks · an interactive · a 5-question mastery quiz. Nothing hidden — this is the complete text of Why Does a Cold Drink Get Warm? Systems, States, and Equilibrium.

▸ Read the full class — Why Does a Cold Drink Get Warm? Systems, States, and Equilibrium

Why does a hot cup of coffee always cool down, but a lukewarm cup never spontaneously heats up? Why does a broken glass stay broken? These processes seem to have a built-in direction, an arrow of time. This observation, that some things happen and some things don't, is the central question of thermodynamics. It's a field born from the very practical problem of building better steam engines, but its implications reach into chemistry, biology, and even cosmology. It governs every energy transaction in the universe, from the metabolism of a single cell to the life cycle of a star. Our goal in this course is to understand the laws that dictate this directionality. And it starts with the simple, deceptive question of why your cold drink gets warm.

1. The Need for a Precise Language

Our everyday words—'hot', 'cold', 'work'—are too vague for engineering. We need a rigorous framework to analyze and design energy systems.

The fundamental problem is one of language and precision. Our intuitive vocabulary for energy is ambiguous. When we say something is 'hot', what do we actually mean? How is that different from the 'heat' it gives off? To engineer a solution—whether it's a jet engine, a power plant, or a chemical reactor—we cannot rely on intuition. The failure of early steam engines, like those of Newcomen, to achieve more than a percent or two of efficiency wasn't just a matter of poor materials. It was a failure to understand the fundamental relationship between the properties of steam, the heat supplied, and the work produced. The puzzle we must solve today is to build a formal, unambiguous language for energy. We need to rigorously define what we are studying, which we will call the 'system'. We need to be able to describe its condition at any moment, its 'state'. And we need to characterize the 'processes' that change that state. Without this shared, precise vocabulary, any analysis is just guesswork.

  • Everyday energy vocabulary is ambiguous
  • Hot and heat mean different things
  • Engineering demands precise definitions
  • Newcomen engines failed for lack of theory
  • Foundation for all thermal engineering

2. The Thermodynamic System and its State

A system is a defined region of study. Its state is its condition at a moment in time, described by properties that don't depend on history.

Let's establish our core definitions. A thermodynamic system is a quantity of matter or a region in space that we select for study. Everything external to that system is called the surroundings. The surface, real or imaginary, that separates the system from its surroundings is the boundary. We classify systems by what crosses this boundary. An isolated system exchanges neither mass nor energy. A closed system can exchange energy—in the form of heat or work—but not mass. An open system, which we will often call a control volume, can exchange both mass and energy. The condition of a system at any given moment is its state. We define a state by its properties—measurable characteristics like pressure, temperature, volume, and mass. The key insight here is that these properties are 'state functions'. This means their values depend only on the current state of the system, not on how the system arrived at that state. A liter of water at one atmosphere and 25 degrees Celsius has the same properties regardless of whether it was just melted from ice or just cooled after boiling. The state has no memory.

  • System is matter or region under study
  • Surroundings lie outside system boundary
  • Closed system fixed mass
  • Open system allows mass crossing boundary
  • Isolated system exchanges neither mass nor energy

3. From Steam Engines to Universal Laws

Thermodynamics wasn't born in a lab, but in the coal mines of the Industrial Revolution, from the challenge of building efficient heat engines.

The origins of thermodynamics are not in abstract theory, but in the noise and grime of the Industrial Revolution. The driving problem of the 18th century was how to pump water out of flooded coal mines. Engines developed by inventors like Thomas Newcomen did the job, but were incredibly inefficient. The intellectual leap came in 1824 from a French military engineer named Sadi Carnot. In his work, 'Reflections on the Motive Power of Fire,' Carnot did something revolutionary. He abstracted the physical engine—the pistons, boilers, and valves—into an idealized cycle. He realized that the maximum possible efficiency of any heat engine depends not on the working fluid or the mechanical design, but solely on the temperatures between which it operates: the hot source and the cold sink. This shifted the focus from mechanics to a new, more fundamental science of heat and work. Later, figures like Rudolf Clausius and William Thomson, Lord Kelvin, would formalize Carnot's ideas into the First and Second Laws, establishing thermodynamics as a cornerstone of modern physics and engineering.

  • Industrial Revolution motivated thermal science
  • Newcomen pumped flooded mines 1712
  • Carnot published Reflections 1824
  • Established efficiency limits
  • Founded modern thermodynamic discipline

4. The Drive Toward Thermal Equilibrium

When systems at different temperatures are in contact, energy flows from hot to cold until their temperatures equalize and net energy flow ceases.

How does a system, like our cold drink, actually change its state? It undergoes a process. And when does that process stop? When it reaches a state of equilibrium. Let's focus on thermal equilibrium. Our cold drink is the system, the can is the boundary, and the warm room is the surroundings. Initially, they are not in thermal equilibrium. The average kinetic energy of the air molecules in the room is higher than that of the molecules in the drink. At the boundary, the faster-moving air molecules collide with the can, transferring energy to the can, which in turn transfers energy to the slower-moving liquid molecules inside. We call this macroscopic transfer of energy 'heat'. This process continues, over billions upon billions of molecular collisions. The drink's temperature rises, and the room's temperature drops, though imperceptibly. The net flow of energy only stops when the temperatures of the system and surroundings become equal. At this point, energy exchange hasn't ceased, but the rate of energy transfer from the room to the drink is exactly balanced by the rate of transfer from the drink to the room. This is thermal equilibrium. It is a dynamic state of balance, and it is the final, most probable state for the combined system.

  • System undergoes process toward equilibrium
  • Cold drink absorbs heat from warm room
  • Molecular collisions transfer kinetic energy
  • Continues until temperatures equalize
  • Final state is thermal equilibrium

5. The Language of State and Process

We use specific notation to distinguish between properties of a state (P, V, T) and energy transfers during a process (Q, W).

We formalize these concepts with a specific mathematical syntax. A system's state is defined by its properties. We use uppercase letters for extensive (total) properties like Volume V; pressure P and temperature T are intensive properties (also uppercase), while lowercase symbols (v, u, h) denote specific, per-unit-mass quantities. A specific state, say State 1, can be represented as a point on a coordinate system, like a P-V diagram. A process is a path from an initial equilibrium state to a final one. The change in a state property, like volume, is written as delta V, which is simply V-two minus V-one. This change depends only on the endpoints, not the path taken. We call these 'point functions'. Other quantities, like heat, Q, and work, W, are fundamentally different. They are 'path functions'. Their values depend on the specific process followed between State 1 and State 2. To emphasize this, we denote their differentials with an inexact differential, delta, as in delta Q or delta W, to constantly remind ourselves that they are not properties of a system.

  • Extensive properties scale with size (V, m)
  • Intensive properties independent of size (P, T)
  • State 1 plotted on P-v or T-v diagrams
  • Path from state 1 to state 2 is process
  • Cycle returns to original state

6. The Zeroth Law of Thermodynamics

If two systems are in thermal equilibrium with a third, they are in thermal equilibrium with each other. This law makes temperature a meaningful concept.

The concept of thermal equilibrium is so foundational that it is codified as a law of thermodynamics. It is called the Zeroth Law, a name given by Ralph H. Fowler in the 1930s because, while it was articulated after the First and Second Laws, it is logically prior to them. The law states: If two systems are each in thermal equilibrium with a third system, then they are in thermal equilibrium with each other. This might sound trivially obvious, but its implication is profound. That 'third system' is a thermometer. The Zeroth Law is what provides the entire basis for temperature measurement. It guarantees that temperature is a consistent, fundamental property. When you measure the temperature of an object A, you are waiting for your thermometer to reach thermal equilibrium with A. When you then measure object B and get the same reading, the Zeroth Law ensures that if A and B were brought into contact, no net energy would flow between them. It elevates temperature from a mere sensation to a rigorous, comparable indicator of thermal state.

  • Establishes Temperature as a Fundamental Property: It provides the logical basis for the concept of temperature.
  • Transitive Property of Equilibrium: If A=C and B=C, then A=B, where '=' means 'is in thermal equilibrium with'.
  • Enables Measurement: The law is the principle behind every thermometer.
  • Logically Precedes First & Second Laws: Defines the very state variable (temperature) used in the other laws.

7. A Piston-Cylinder System Analysis

Let's apply our definitions to a classic problem: a gas expanding in a piston-cylinder device, doing work on its surroundings.

Let's apply this language to a concrete example. Consider a gas contained within a piston-cylinder device. The gas is our system—a closed system. The interior surfaces of the piston and cylinder form the boundary. Everything else is the surroundings. We define its initial condition, State 1, by its measured properties: pressure P₁ is 200 kilopascals, and volume V₁ is 0.5 cubic meters. Now, we initiate a process. We add heat to the gas, causing it to expand and push the piston outward until the volume has doubled. This is State 2, where V₂ is 1.0 cubic meter. Let's specify the process: it is an isobaric expansion, meaning it occurs at a constant pressure of 200 kilopascals. First, we can calculate the change in the state property 'volume'. Delta V is V₂ minus V₁, or 0.5 cubic meters. This value is independent of the process. Next, let's calculate the work done by the system on the surroundings. Work is a path function, given by the integral of P dV. For our specific isobaric path, this integral simplifies to P times delta V. Plugging in the numbers, the work is 200,000 Pascals multiplied by 0.5 cubic meters, which gives us 100,000 Joules, or 100 kilojoules. Had we reached the same final volume by a different path, delta V would be the same, but the work done, W, would be different.

  • Piston-cylinder gas as closed system
  • State 1: P_1 equals 200 kPa, V_1 equals 0.5 m^3
  • Heat compressed gas to State 2
  • Track property changes along process
  • Quantify energy interactions at boundary

8. The Limits of Classical Thermodynamics

Classical thermodynamics can tell you where a system is going, but not how fast it will get there or what happens at the molecular level.

The framework we are building—classical, or equilibrium, thermodynamics—is immensely powerful, but it's important to understand its limitations. The first major tradeoff is that it is silent on the subject of time. It can predict the final equilibrium state of a system, but it cannot tell us about the rate at which that state is approached. For that, we need the separate discipline of heat transfer. Second, classical thermodynamics operates at the macroscopic scale. It treats matter as a continuous medium, ignoring its underlying molecular structure. This is a perfectly valid and useful abstraction for most engineering problems. However, it breaks down at very small length scales or for very low-density gases where the continuum assumption is no longer valid. To bridge this gap, we need statistical mechanics, which connects the microscopic behavior of individual atoms and molecules to the macroscopic properties we observe. Finally, our definitions are based on equilibrium states. Many real-world processes, like an explosion or combustion in an engine, are highly non-equilibrium. For such processes, we can define the properties at the beginning and the end, but the state of the system during the process is often ill-defined.

  • Classical thermodynamics silent on time scales
  • Cannot predict rate of approach to equilibrium
  • Requires equilibrium states for analysis
  • Non-equilibrium thermodynamics extends framework
  • Heat transfer covers rate questions

9. Thermodynamics vs. Mechanics and Heat Transfer

Thermodynamics generalizes mechanics to include heat, and it predicts the destination of a process while heat transfer describes the journey.

It's useful to contrast thermodynamics with other fields you've studied. In Newtonian mechanics, you deal with forces, motion, and work. Thermodynamics incorporates and generalizes these concepts. The work done by an expanding gas on a piston is a form of mechanical work. But thermodynamics also accounts for energy transfer via heat, which is outside the scope of classical mechanics. Mechanics often focuses on the trajectory of a single particle or a rigid body, whereas thermodynamics deals with the bulk properties of systems containing trillions of particles, described by statistical averages like pressure and temperature. Now, let's compare it to heat transfer. This is a crucial distinction. Thermodynamics determines the 'what' and 'if'—what is the final state, and is the process even possible? Heat transfer determines the 'how' and 'how fast'—by what mechanism (conduction, convection, radiation) does the energy move, and what is the rate of transfer? To design a power plant, you need thermodynamics to calculate its maximum theoretical efficiency, but you need heat transfer to design the physical boiler and condenser that will actually achieve it. The fields are deeply complementary.

  • Mechanics handles work and motion
  • Thermodynamics adds heat and entropy
  • Heat transfer studies rate of energy flow
  • Statistical mechanics provides molecular foundation
  • Together form complete energy science

10. Confusing State, Process, Heat, and Work

The most common errors involve treating path functions like properties, equating heat with temperature, and being sloppy with system boundaries.

There are several classic conceptual traps in this foundational material. The most pervasive is confusing state properties with path functions. You will hear people talk about the 'heat in a system' or the 'work content'. This is fundamentally incorrect. A system *has* properties like internal energy, pressure, and temperature. Heat and work are not things a system possesses; they are processes of energy transfer across a boundary. They are verbs, not nouns. An analogy is a bank account: the balance is a state property. Deposits and withdrawals are the transfers, the processes. You don't 'have' a deposit in your account. A second common pitfall is to use 'heat' and 'temperature' interchangeably. Temperature is an intensive property reflecting the average kinetic energy of molecules. Heat is the transfer of energy driven by a temperature difference. A large iceberg at zero degrees Celsius has a much lower temperature than a small cup of coffee, but it contains vastly more thermal energy. Finally, a poorly defined system boundary is the number one cause of errors in problem solving. Always start any analysis by drawing a clear, unambiguous boundary for your system.

  • Confusing State and Path Functions: A system does not 'contain' heat or work; these are energy transfers.
  • Equating Temperature with Heat: Temperature is a property of a state; heat is an energy transfer process.
  • Sloppy System Boundaries: Ambiguity in defining the system, surroundings, and boundary leads to incorrect analysis.
  • Assuming Equilibrium: Applying equilibrium state equations to a system undergoing a rapid, non-equilibrium process.

11. Textbooks, Tables, and Software

Your key tools will be a good textbook, thermodynamic property tables (steam tables), and software like EES or Python with CoolProp.

To succeed in this course, you need to become proficient with a few key tools. First is your textbook. The two standard texts in the field are 'Fundamentals of Engineering Thermodynamics' by Moran and Shapiro, and 'Thermodynamics: An Engineering Approach' by Çengel and Boles. Pick one and treat it as your primary reference. Second, you will become intimately familiar with thermodynamic property tables, commonly known as steam tables. These are compilations of experimental data for common substances like water, refrigerants, and gases. Learning to navigate these tables to find properties like specific volume or enthalpy at a given state is a non-negotiable skill. For more complex problems, we turn to software. The academic standard for years has been EES, or Engineering Equation Solver. Increasingly, however, Python with scientific libraries is used. I strongly encourage you to install a library called CoolProp. It gives you programmatic access to high-accuracy thermodynamic property data for hundreds of fluids, a skill that is invaluable in modern engineering practice.

  • Moran, Shapiro, Boettner, and Bailey, 'Fundamentals of Engineering Thermodynamics'
  • Çengel and Boles, 'Thermodynamics: An Engineering Approach'
  • Thermodynamic Property Tables (e.g., Steam Tables)
  • EES (Engineering Equation Solver)
  • Python with libraries like CoolProp and Cantera

12. The Coffee Cup Calorimeter

This week, perform a simple mixing experiment to observe thermal equilibrium and practice using the language of systems, states, and processes.

For this week's exercise, I want you to perform a simple experiment and analyze it using the language we've developed. You will build a simple calorimeter using two nested styrofoam coffee cups and a lid. You will need a thermometer and a measuring cup. First, measure 100 milliliters of cold water. Define this as System A, and record its initial state by measuring its volume and temperature, T-A-one. Next, heat another 100 milliliters of water to around 70 or 80 degrees Celsius. This is System B; measure its volume and temperature, T-B-one, to define its initial state. Now, the process: quickly pour the hot water into the cold water in your calorimeter, put the lid on, and gently swirl. Monitor the temperature until it stabilizes at a final, constant value. This is the final equilibrium temperature, T-equilibrium. Your task is to write a one-page report. Clearly define your overall system and its boundary. What assumptions are you making about this boundary? Is it truly isolated? Describe the initial states of subsystems A and B, the process of mixing, and the final equilibrium state of the combined system. Use the precise terminology we have established today.

  • Build styrofoam cup calorimeter
  • Define hot water and cold water as Systems A and B
  • Combine and measure equilibrium temperature
  • Apply energy balance
  • Estimate specific heat of unknown solid

13. Systems, States, and the Zeroth Law

Today, we established the fundamental grammar of thermodynamics. We learned to precisely define a system, describe its state with properties, and analyze the processes that change its state.

  • A system is a region of study; its state is defined by macroscopic properties like P, V, and T.
  • State properties are path-independent (ΔV), while energy transfers like heat (Q) and work (W) are path-dependent.
  • A process is a change in state; processes cease when a system reaches equilibrium with its surroundings.
  • The Zeroth Law states that if A and C are in thermal equilibrium, and B and C are in thermal equilibrium, then A and B are in thermal equilibrium with each other.
  • The Zeroth Law establishes temperature as the universal indicator of thermal equilibrium.

Mastery quiz

  1. Which statement correctly describes a closed system?
    • It can exchange both mass and energy with its surroundings
    • It can exchange mass but not energy
    • It can exchange neither mass nor energy
    • It can exchange energy but not mass with its surroundings
  2. When a cold drink in a warm room reaches thermal equilibrium, what is happening at the molecular level?
    • The rate of energy transfer into the drink exactly balances the rate out
    • All energy exchange has completely stopped
    • Heat is still flowing net from drink to room
    • The drink continues to absorb heat indefinitely
  3. Which pair correctly labels an extensive and an intensive property?
    • Pressure is extensive; volume is intensive
    • Volume is extensive; pressure is intensive
    • Temperature is extensive; mass is intensive
    • Mass is intensive; temperature is extensive
  4. Heat (Q) and work (W) are denoted with an inexact differential because they are:
    • State functions whose change depends only on endpoints
    • Always equal to each other
    • Path functions whose values depend on the process followed
    • Properties stored within the system
  5. Thermodynamics determines whether a process is possible and its final state, while heat transfer determines:
    • The maximum theoretical efficiency
    • Whether energy is conserved
    • The change in entropy of the universe
    • The mechanism and rate of energy flow
HomePracticeFeedBlogMe