All courses › Thermodynamics

Thermodynamics: free practice, theory and problems

Thermodynamics is about energy: how it is stored, converted and flows as heat and work. A system is whatever you are studying (for example the gas inside a cylinder), and everything outside it is the surroundings. The system can be closed (only energy crosses the boundary), open (mass also flows in and out, as in a turbine) or isolated (neither energy nor mass crosses the boundary).

4 parts65 problems15 concepts explainedPractice examFree
Start practising for free →

Contents

  1. Basic concepts
  2. Heat and entropy
  3. Thermodynamic cycles
  4. Heat pumps and refrigeration

1. Basic concepts

What is it about?

Thermodynamics is about energy: how it is stored, converted and flows as heat and work. A system is whatever you are studying (for example the gas inside a cylinder), and everything outside it is the surroundings. The system can be closed (only energy crosses the boundary), open (mass also flows in and out, as in a turbine) or isolated (neither energy nor mass crosses the boundary).

For an engineer this is the foundation for analyzing engines, refrigeration systems, power plants and heat pumps: they all rely on the fact that energy is never created or destroyed, only changes form.

Key quantities and formulas

How to solve the problems

  1. Decide what kind of system it is (closed/open) and what kind of process (isothermal, isobaric, etc.).
  2. Write down the known quantities in SI units, and remember to convert Celsius to kelvin.
  3. Choose the right law: the ideal gas law for state properties, the first law for the energy balance.
  4. Solve for the unknown, and check the sign: the work done by the system is positive in ΔU=Q−W\Delta U = Q - W.

Example

2 mol of gas at a constant pressure of 150 kPa is heated from 300 K to 450 K. How much work does the gas do?

  1. At constant pressure, W=p ΔVW = p\,\Delta V, and from the ideal gas law p ΔV=nR ΔTp\,\Delta V = nR\,\Delta T.
  2. ΔT=450−300=150\Delta T = 450 - 300 = 150 K.
  3. W=nR ΔT=2⋅8.314⋅150≈2494W = nR\,\Delta T = 2\cdot 8.314\cdot 150 \approx 2494 J ≈2.49\approx 2.49 kJ.

Answer: The gas does about 2.49 kJ of work on the surroundings.

Common mistakes

Ideal gas law: pV=nRTpV = nRT (kelvin!). First law: ΔU=Q−W\Delta U = Q - W. At constant pressure: W=p ΔV=nR ΔTW = p\,\Delta V = nR\,\Delta T.

Concepts in this part

Practise basic concepts in the app →

2. Heat and entropy

What is it about?

Heat is energy transferred because of a temperature difference. To understand how much heat is needed to warm something up, how efficiently a heat engine can convert heat into work, and why heat always flows from hot to cold, you need the concepts of heat capacity, entropy and Carnot efficiency.

This is central for engineers designing anything from cooling systems and heat pumps to steam turbines: the second law sets an upper limit on how much useful work you can extract from a given amount of heat.

Key quantities and formulas

How to solve the problems

  1. Decide whether the heat causes a temperature change (use cc) or a phase change (use LL), or both in sequence.
  2. For multiple steps (e.g. heating then melting): compute the heat for each step and add them together.
  3. For efficiency: identify THT_H and TCT_C in kelvin, and use Carnot as an upper bound.
  4. For entropy: make sure the temperature is in kelvin and that the sign matches the direction of the heat flow.

Example

How much heat is needed to warm 0.5 kg of ice from −5 °C to 0 °C and then melt it? (cice=2.1c_{ice} = 2.1 kJ/(kg·K), heat of fusion L=334L = 334 kJ/kg)

  1. Heating the ice: Q1=mc ΔT=0.5⋅2.1⋅5=5.25Q_1 = mc\,\Delta T = 0.5\cdot 2.1\cdot 5 = 5.25 kJ.
  2. Melting: Q2=mL=0.5⋅334=167Q_2 = mL = 0.5\cdot 334 = 167 kJ.
  3. Total: Q=Q1+Q2=5.25+167=172.25Q = Q_1 + Q_2 = 5.25 + 167 = 172.25 kJ.

Answer: About 172 kJ.

Common mistakes

Sensible heat: Q=mc ΔTQ = mc\,\Delta T. Latent heat: Q=mLQ = mL. Carnot: η=1−TC/TH\eta = 1 - T_C/T_H with temperatures in kelvin.

Concepts in this part

Practise heat and entropy in the app →

3. Thermodynamic cycles

What is it about?

A thermodynamic cycle is a series of processes that returns the system to its starting point, so it can repeat cycle after cycle – like an engine or a refrigeration machine does. Idealized cycles (Otto, Diesel, Brayton, Rankine) are simplified models that let us calculate efficiency and work without knowing every detail of a real machine.

For an engineer this is the tool for comparing and improving power plants, engines, refrigeration systems and heat pumps: how much useful work or heat do you get out for each unit of energy you put in?

Key quantities and formulas

How to solve the problems

  1. Identify what kind of machine it is: a heat engine (delivers work) or a heat pump/refrigerator (uses work).
  2. Set up the energy balance: W=QH−QCW = Q_H - Q_C for a heat engine.
  3. Use η\eta or COPCOP to connect what you know with what you are looking for.
  4. Check against the Carnot limit as a sanity check: real machines never exceed it.

Example

A heat pump has COPheat=3.2COP_{heat} = 3.2 and must deliver 8 kW of heat to a house. How much electric power does it need, and how much heat does it draw from the outside air?

  1. COPheat=QH/WCOP_{heat} = Q_H/W, so W=QH/COPheat=8/3.2=2.5W = Q_H/COP_{heat} = 8/3.2 = 2.5 kW.
  2. Energy balance: QC=QH−W=8−2.5=5.5Q_C = Q_H - W = 8 - 2.5 = 5.5 kW.

Answer: It uses 2.5 kW of electricity and draws 5.5 kW from the outside air.

Common mistakes

Heat engine: W=QH−QCW = Q_H - Q_C, η=W/QH\eta = W/Q_H. Heat pump: COPheat=QH/W=COPcold+1COP_{heat} = Q_H/W = COP_{cold} + 1.

Concepts in this part

Practise thermodynamic cycles in the app →

4. Heat pumps and refrigeration

What is it about?

Heat flows by itself from hot to cold. A heat pump or a refrigerator moves heat the other way, from cold to hot, and pays for it with electrical work. The point is that you move much more heat than the electricity you use. That is why heat pumps are so popular in Norwegian homes.

Concepts and formulas

QH=QL+WQ_H = Q_L + W
COPHP=QHW,COPR=QLW,COPHP=COPR+1\text{COP}_{HP} = \frac{Q_H}{W}, \qquad \text{COP}_{R} = \frac{Q_L}{W}, \qquad \text{COP}_{HP} = \text{COP}_{R} + 1
COPHP,max=THTH−TL,COPR,max=TLTH−TL\text{COP}_{HP,max} = \frac{T_H}{T_H - T_L}, \qquad \text{COP}_{R,max} = \frac{T_L}{T_H - T_L}

How to solve the problems

  1. Decide whether you are looking at heating (QHQ_H is the benefit) or cooling (QLQ_L is the benefit).
  2. Use COP=benefit/W\text{COP} = \text{benefit}/W and QH=QL+WQ_H = Q_L + W.
  3. For Carnot: convert to kelvin with T=t+273.15T = t + 273.15 before calculating.

Example

A house needs 8 kW of heat. The heat pump has a COP of 3.2.

  1. The electricity is W=QH/COP=8/3.2=2.5W = Q_H/\text{COP} = 8/3.2 = 2.5 kW.
  2. The heat taken from the outdoor air is QL=QH−W=8−2.5=5.5Q_L = Q_H - W = 8 - 2.5 = 5.5 kW.
  3. With an ordinary electric heater you would have used 8 kW of electricity. So you save 5.5 kW.

Common mistakes

COP = what you want / the electricity you pay for. Carnot: use kelvin.

Concepts in this part

Practise heat pumps and refrigeration in the app →

Example problems with solutions

Here are some of the problems in thermodynamics. In the app, calculation problems get new numbers every time, so you can practise until it sticks – and take a graded practice exam before the real one.

Basic concepts: The first law for a closed system (W = work done BY the system):

Answer: ΔU=Q−W\Delta U = Q - W

Heat added raises the internal energy, and work done by the system lowers it.

Heat and entropy: How much heat is needed to warm 2 kg of water from 20 to 70 °C? (c=4.18c = 4.18 kJ/(kg·K))

Answer: 418 kJ

Q=mcΔT=2⋅4.18⋅50=418Q = mc\Delta T = 2\cdot 4.18\cdot 50 = 418 kJ.

Thermodynamic cycles: A heat pump delivers 4 kW of heat and uses 1 kW of electricity. What is the COP?

Answer: 4

COPheat=QH/W=4/1=4COP_{heat} = Q_H/W = 4/1 = 4.

Heat pumps and refrigeration: A heat pump with a COP of 3 delivers 9 kW of heat to a house. How much electrical power does it use?

Answer: 3 kW

W=QH/COP=9/3=3W = Q_H/\text{COP} = 9/3 = 3 kW. The other 6 kW are taken from the surroundings.

Practise all the problems →

Matches these university courses

The content covers the syllabus found in engineering degrees, for example: