Physics › Section J · Thermodynamics › Topic J.1

The first law of thermodynamics

Energy can enter or leave a system in only two ways: as heat or as work. The first law of thermodynamics is energy conservation written for exactly that situation, and it is the starting point for every engine, refrigerator and living body in this section.

Two routes for energy

Leave a bicycle in the sun and the air in its tyres warms up. Pump the tyres hard and the air also warms up. Afterwards you cannot tell which happened: the warm air is the same either way. The first route is heat, energy that moves because of a temperature difference. The second is work, energy passed on by a force acting through a distance, here the pump's piston pushing on the air. Thermodynamics asks how these two routes change the energy stored inside a system, such as a gas in a cylinder or a person.

Internal energy

The energy stored inside a system is its internal energy, \(U\): the total kinetic and potential energy of all its atoms and molecules. Nobody can track every molecule, but \(U\) turns out to depend only on the present state of the system, described by a few quantities such as pressure, volume and temperature, and not on its history. It is a state function. For an ideal gas the molecules barely interact, so \(U\) depends on temperature alone. For a monatomic ideal gas, whose only internal energy is the kinetic energy of its atoms from the kinetic theory topic,

U = \tfrac{3}{2}nRT

Heat the gas and \(U\) rises; cool it and \(U\) falls.

Heat and work are energy in transit

A system contains internal energy, but it does not contain heat or work. Heat \(Q\) and work \(W\) describe energy crossing the boundary of the system during a process, much as deposits and withdrawals describe money moving through a bank account, while \(U\) is like the balance. Heat is a disorganised transfer, carried by random molecular collisions or by radiation; work is an organised one, a force moving something through a distance. Both are measured in joules, and both can change \(U\) by the same amount, as the tyre showed. Unlike \(U\), the amounts of heat and work depend on how the process is carried out.

The first law

Conservation of energy for a system that gains heat and does work gives the first law of thermodynamics:

\Delta U = Q - W

This course uses the convention of its textbook. \(Q\) is the net heat added to the system: positive when heat flows in, negative when it flows out. \(W\) is the net work the system does on its surroundings: positive when it pushes outwards, as an expanding gas does, and negative when the surroundings do work on it. If a gas takes in 5.0 kJ of heat and does 1.5 kJ of work, its internal energy rises by 3.5 kJ.

Another sign convention

AP Physics 2 and chemistry courses write the first law as \(\Delta U = Q + W\), where \(W\) means the work done on the system. Nothing physical has changed: work done on the system is just the negative of work done by it, so the two equations always give the same \(\Delta U\). Compressing a gas with 200 J of work counts as \(W = -200\) J in this course but \(W = +200\) J in the other convention, and either way \(U\) rises by 200 J if no heat flows. The chemistry topics on this site use the chemistry sign, so always check which meaning of \(W\) a source intends.

Worked example: two steps, one total

A gas takes in 650 J of heat while doing 220 J of work. Later it gives off 180 J of heat while the surroundings do 90 J of work on it. Find the total change in its internal energy. 1. Net heat: \(Q = 650 - 180 = 470\) J. 2. Net work done by the gas: \(W = 220 - 90 = 130\) J, because work done on the gas counts as negative. 3. First law: \(\Delta U = 470 - 130 = 340\) J. 4. Check step by step: the first stage gives \(650 - 220 = 430\) J, and the second gives \(-180 - (-90) = -90\) J. The total is \(430 - 90 = 340\) J, as before.

Same change, different paths

Now take a different process that carries the same gas from the same starting state to the same final state: it gives off 120 J of heat and has 460 J of work done on it. Then \(Q = -120\) J and \(W = -460\) J, so \(\Delta U = -120 - (-460) = +340\) J, exactly as in the two-step process. The mixtures of heat and work are very different, yet \(\Delta U\) agrees because the end states do. That is what it means for \(U\) to be a state function while \(Q\) and \(W\) depend on the path, and it is useful: you can find \(\Delta U\) from whichever path is easiest to analyse.

Worked example: Joule's paddle wheel

In the 1840s James Joule let falling weights turn a paddle wheel in water and showed that the temperature rise was proportional to the work done, so work and heat are two forms of energy transfer. Repeat a version: a 12.0 kg mass falls 2.50 m twenty times, turning paddles in 0.500 kg of water in an insulated can. 1. Work done on the water: \(20mgh = 20(12.0)(9.80)(2.50) = 5880\) J. 2. Insulation gives \(Q = 0\), and the work is done on the water, so \(W = -5880\) J and \(\Delta U = +5880\) J. 3. Temperature rise:

\Delta T = \frac{\Delta U}{mc} = \frac{5880}{(0.500)(4184)} = 2.81\ ^\circ\text{C}

4. Check: the water warms, as work done on it should make it.

Worked example: the body as a system

Your body keeps its temperature steady by losing heat, so \(Q\) is negative, and it usually does work on the world, so \(W\) is positive. Both drain internal energy, and food replaces it. During 1.00 h of cycling, a rider does \(4.0 \times 10^5\) J of work on the pedals and gives off \(1.2 \times 10^6\) J of heat. 1. First law:

\Delta U = -1.2 \times 10^6 - 4.0 \times 10^5 = -1.6 \times 10^6\ \text{J}

2. In food Calories, where 1 Cal = 1 kcal = 4184 J: \(1.6 \times 10^6 \div 4184 \approx 380\) Cal. 3. Only a quarter of the lost energy became work, so the body is about 25% efficient here. Eating more than you use stores the surplus, largely as fat.

Common mistakes to avoid

First, mixing sign conventions: in \(\Delta U = Q - W\), work done on the system is negative, so subtracting it adds energy. Second, treating heat as something a system contains; it has internal energy, and heat is only energy on the move. Third, assuming no heat means no temperature change: in Joule's insulated can, work alone warmed the water. Fourth, confusing heat with temperature: a large tank can take in heat with only a tiny temperature rise. Fifth, forgetting that a food Calorie is 4184 J, not 4.184 J.

Key takeaways

Energy crosses a system's boundary as heat Q or work W, and neither is stored. Internal energy U, the total kinetic and potential energy of the particles, is a state function; for an ideal gas it depends on temperature alone, and U = (3/2)nRT for a monatomic one. The first law is ΔU = Q − W, with Q positive into the system and W positive when done by it. AP Physics 2 and chemistry write ΔU = Q + W with W done on the system, which gives the same answers. ΔU depends only on the start and end states, while Q and W depend on the path.

Flashcards

Flashcard

Heat, Q

Energy transferred because of a temperature difference

Positive when it flows into the system.

Test your understanding

Question 1 of 5

A gas absorbs 900 J of heat and does 350 J of work on its surroundings. By how much does its internal energy change?

Question 2 of 5

A gas is compressed with 200 J of work done on it while it gives off 50 J of heat. What is its change in internal energy?

Question 3 of 5

Which of these is fixed by a system's present condition alone, whatever process brought it there?

Question 4 of 5

Paddles do 6280 J of work on 0.750 kg of water in an insulated container (c = 4184 J/(kg·°C)). What happens to the water's temperature?

Question 5 of 5

Without eating, a person gives off 6.0 × 10⁵ J of heat and does 1.5 × 10⁵ J of work. How does the body's internal energy change?

← Previous topicNext topic →