Energy and the First Law
Energy can't be made or destroyed, only moved. For a fixed chunk of stuff, the energy stored inside goes up by the heat that flows in and down by the work it does on its surroundings: .
What the symbols mean
- Change in internal energy
How much the energy stored in the molecules (their jiggling, spinning and vibrating) went up, in kJ.
- Heat added
Energy that crossed the boundary because of a temperature difference. Positive when it flows in.
- Work done by the system
Energy that crossed the boundary because something moved (a piston, a shaft, a current). Positive when the system does it on the surroundings.
What the symbols mean
- Heat rate
Heat flowing in per second, in kW (1 kW = 1 kJ/s).
- Power out
Work done by the system per second, in kW.
What the symbols mean
- Mass
The mass of the system, in kg.
- Specific heat at constant volume
Energy to warm 1 kg by 1 K with the volume held fixed. Air: 0.718 kJ/(kg·K).
- Temperature change
In kelvin; a change of 1 K is the same as a change of 1 °C.
Explanation
The first law of thermodynamics is simply energy bookkeeping for a chunk of stuff: the energy stored inside it goes up by whatever heat flows in and down by whatever work it does on the outside world. In there are only three pieces: (the change in internal energy, the energy of the molecules bouncing around inside), (heat, energy that sneaks across the boundary because one side is hotter) and (work, energy that crosses because something moves, like a piston being shoved outward). It's the same rule as a bank account: deposits minus withdrawals equals the change in the balance. Everything else in this unit, engines, refrigerators, turbines, is this one line applied carefully.
What's a closed system? It's a fixed amount of mass that we draw an imaginary boundary around: the air sealed inside a piston and cylinder, the water in a closed tank, the coolant in a sealed loop. Nothing flows in or out, but the boundary can move (the piston slides) and energy can cross it. Later in this unit, devices with fluid streaming through them get their own version of the law.
Heat versus work. Both are energy in transit; neither is something a system "has". The difference is what pushes it across the boundary. Heat goes because of a temperature difference: a flame under a pot, a hot engine block losing energy to the air. Work is everything else: a piston moving, a shaft turning, an electric current flowing through a wire. That last one surprises people. An electric heater coil sitting inside a tank of air is doing electrical work on the air, even though the result feels like heating.
The sign convention. Engineers count as positive when heat flows in and as positive when the system does work on the surroundings. That choice comes from engines: you put heat in and get work out, and it's nice when both are positive numbers. So:
- a gas pushing a piston out: ;
- a gas being compressed, or stirred by a paddle wheel, or heated by an electric coil inside it: ;
- a hot cylinder losing heat to the room: .
Some physics and chemistry books write with meaning work done on the system. It's the same law with the opposite sign on , so always check which book you're reading.
Internal energy is a state; heat and work are paths. Here's a subtle point that makes the law powerful. depends only on the state the system is in (for an ideal gas, only on its temperature). and depend on how you got from one state to another. Warm your hands by rubbing them together (work) or by holding them near a fire (heat): same final temperature, same , completely different and . Only the difference is fixed by the endpoints. If you've seen line integrals in Line Integrals of Vector Fields, this is the same story: behaves like a potential (path-independent), while and are like work done in a non-conservative field (path-dependent). That's why careful books write small amounts as and but .
Cycles. If a system goes around a loop and comes back to its starting state, is back where it started, so and
Every bit of net work an engine produces per cycle had to come in as net heat. We'll build on that in Heat Engines, Cycles and Efficiency.
Rates and units. Divide the law by a small time and you get the rate form . Energy is in kJ; rates are in kJ/s, which is exactly kW. If the rates change over time, integrate:
the area between the heat-rate curve and the work-rate curve. There's an animation further down that shows exactly that area filling in. One more unit worth knowing: 1 kWh kJ.
Connecting to temperature. For an ideal gas, depends only on , and , with kJ/(kg·K) for air. For a solid or liquid there's just one specific heat (water: 4.18 kJ/(kg·K), steel: about 0.46). Since a kelvin and a degree Celsius are the same size, is the same in either unit.
A common mistake. It's tempting to think that adding heat is the only way to raise a temperature, so "no heat means no temperature change". It isn't: squeeze the air in a bicycle pump fast and the pump barrel gets hot with essentially no heat added. The work done on the air () raises all by itself. Heat and temperature are different things.
A second one. With a heater coil or a paddle wheel inside a tank, students often write that energy as . It's work done on the system, . You'll get the same either way if you're consistent, but the exam answer for "find " will have the wrong sign.
This is the thermal big brother of Work and Energy from dynamics: there, tracked kinetic energy and work. Here we add the energy hiding inside the material and the heat that moves it around.
See it
Worked examples
A rigid tank holds 2 kg of air at 300 K. A 0.5 kW electric heater inside the tank runs for 5 minutes, and during that time 40 kJ of heat leaks out through the walls. Find the final temperature of the air ( kJ/(kg·K)).
- 1
Pick the system: the air in the tank. No mass enters or leaves, so it's a closed system and the first law is .
An engine running on a repeating cycle takes in 1.8 kJ of heat and rejects 1.1 kJ of heat per cycle. It completes 50 cycles per second. Find the net work per cycle and the power output.
- 1
The engine's working fluid comes back to the same state at the end of every cycle, so its internal energy is back where it started: per cycle.
Practice
Type your answer and check it. Solve them all to complete the lesson.
The gas in a piston-cylinder receives 25 kJ of heat and does 10 kJ of work pushing the piston out. Find in kJ.
A gas is compressed: 60 kJ of work is done on it, and it loses 18 kJ of heat to the cooling jacket. Find in kJ.
An insulated, rigid tank of water is stirred by a paddle wheel driven by a motor outside the tank. For the water, what are the signs of and ?
A rigid tank holds 1.5 kg of air. How much heat, in kJ, warms it from 290 K to 350 K? Use kJ/(kg·K).
An electric kettle's element delivers heat to 1.5 kg of water at 2 kW. Ignoring losses, how many seconds does it take to heat the water from 20 °C to 100 °C? Use kJ/(kg·K).
An engine cycle takes in 2.4 kJ of heat and rejects 1.5 kJ per cycle, at 40 cycles per second. What is its power output in kW?
A 1200 kg car moving at 25 m/s brakes to a stop. Suppose all of its kinetic energy ends up as internal energy in the four steel brake discs, 32 kg in total, with kJ/(kg·K). By how many kelvin do the discs warm up?
The hardest one here. Get it, and you've got this lesson.
A sealed cylinder holds 0.5 kg of air at 300 K. A burner adds heat at a steady kW while the piston rises and does work at a rate kW, with in seconds. Find the air's temperature after 30 s, in K. Use kJ/(kg·K).
Where it's used
Every thermal design starts with this balance. A car's radiator is sized so the heat it rejects matches the part of the fuel's energy that didn't become work. A data center's cooling plant must remove essentially every kilowatt the servers draw, because electrical work done on the chips ends up as internal energy and then heat. Battery packs in electric vehicles are designed around too: the losses during fast charging raise the cells' internal energy, and the coolant loop has to carry that heat away fast enough to keep them below about 45 °C.