Seeking to explain thermodynamics based on moving and interacting atoms

Chapter 3 – Energy, mass, and the 1st Law of Thermodynamics

Energy is one of the central ideas in thermodynamics. In this chapter, we take a physical approach to introducing energy and how it is conserved—a fact that imposes strict limits on what is and is not possible and thus serves as the foundation of the First Law of Thermodynamics. The conservation of mass is also introduced and, when combined with energy, leads to the powerful concept of the Mass & Energy Balance.

First things first – what is energy?

Ha! Great question.

Energy is one of the most powerful, unifying, and—yes—abstract concepts ever developed in science. At its core, energy is a property of matter that quantifies the ability of a system to do work. It’s a bit more nuanced than this, as you’ll soon see, so let’s first start with the easier concept of work.

Work – perhaps an easier starting point

Work itself is not abstract. It is physical and immediate. When you lift a weight, you do work, you consume energy. You feel it in your muscles. You are burning fuel–consuming energy–in your body to raise that weight against gravity.

We first learned how to quantify work long before the arrival of modern physics, through the analysis of simple machines—levers, pulleys, and other mechanical devices developed thousands of years ago.

In its simplest form, work was defined as weight multiplied by vertical distance. In modern notation, this becomes:

W = mgΔh

where W = work, m is mass, g is the gravitational constant, mg is weight, and Δh is the change in height.

More generally, work is defined through Newtonian mechanics as the integral of force through distance. That is the formal definition—but the physical idea remains the same: work results by pushing or lifting something through space against resistance, e.g., gravity.

Some history

Historically, work became the reference point for energy. The units of work—such as foot-pounds—became the standard units of energy. One foot-pound is the energy required to lift one pound of weight one foot high.

This origin is not arbitrary. The concept of work emerged from very practical problems—most notably in mining. When deep mine shafts filled with water, that water had to be removed. Teams of horses were used to haul buckets upward. Later, steam engines replaced the horses. The effort required to lift those buckets—weight through vertical distance—was called “work.” Steam engines proved to be more cost effective than horses for producing a given amount of work.

Work played a critical role in Sadi Carnot’s 1824 theoretical analysis of the steam engine and became one of the key forms of energy, alongside heat, in Rudolf Clausius’s ground-breaking 1850 publication that replaced the incorrect caloric paradigm with the modern with an entirely new paradigm called energy.

From there, the idea expanded. Different physical processes designed to produce work—mechanical, thermal, electrical—could all be compared by asking a simple question: what is required for the process to produce a given amount of work? Such questions gave rise to the concept of energy as a universal currency. And the answers to such questions provided the basis for economic cost comparisons.

Many ways to do work

Consider that there are many ways to lift a weight.

These are very different physical processes. They involve chemistry, heat, electricity, and mechanics. And yet, in every case, the same thing is happening:

But what does “energy is being consumed” mean?

In the world of energy, there must be a cause behind the effect. Buckets of water don’t magically come out of the mine shafts on their own. So what is it about energy that prevents this magic from happening? Answer: energy is a conserved quantity. This is what makes energy such a powerful concept.

Energy — a conserved quantity

Energy is a property of matter—defined as U for a closed system—but it is not an absolute quantity. It is always defined in terms of change. In fact, thermodynamics is built on change—which is why it makes extensive use of calculus and differential relationships.

The concepts of energy, work, and heat are all tied to change.

Energy is conserved, meaning that the sum of all energy changes must equal zero. Not approximately zero—exactly zero.

Work provides a clear starting point.

When a force acts through a distance, work is done. When you lift a weight, you change its position in a gravitational field. That change has an associated energy increase. But that increase does not come from nowhere—the source of the motion must lose energy by exactly the same amount.

When you compress a gas by pushing a piston into a cylinder, you again do work. The energy of the gas increases, often observed as a rise in temperature. And again, the source of that work must lose an equal amount of energy.

This is what conservation of energy means.

Consider an ideal case.

Place a weight on top of a piston. If the gas pressure inside the cylinder is high enough, the piston rises and the weight gains energy. That energy must come from somewhere—in this case, from the gas, whose energy decreases (lower temperature, lower pressure) by exactly the same amount.

Now suppose the gas pressure in the piston is maintained, and continue to lift the weight, by placing the system in contact with a hot reservoir. The reservoir loses energy, the gas maintains energy, and the piston continues to rises. The loss in thermal energy of the reservoir must equal the gain in gravitational energy of the weight.

We describe this process by saying that heat flows from the hot reservoir to the cooler gas.

This language is convenient, but it can be misleading. Heat is not a substance, and nothing physically “flows” in the sense of a material transfer. Heat is simply a way of describing energy transfer driven by a temperature difference.

It is important to distinguish clearly:

This bears repeating: the power of energy as a property is that it is conserved

In every example above, the increase in energy in one place is matched exactly by a decrease somewhere else—your body, a fuel source, a compressed gas, or a thermal reservoir.

This equality is what allows us to compare and convert different forms of energy using common units.

In real systems, additional effects—such as friction—must be considered. These do not violate conservation of energy. Instead, they redistribute energy into forms that are less useful for producing work, often appearing as a heat loss from the system, e.g., friction causing equipment to heat up, uninsulated pipes loosing heat to the environment, etc.

As a result, while energy is always conserved, the amount of useful work obtained from a real-world, non-ideal process is often less than the total energy consumed in generating that work. If things were ideal, the amount of work obtained would equal the energy consumed. But, and this is critical, the amount of work obtained would NEVER be greater than the energy consumed. That is a hard limit.

This concept deserves further discussion.

Energy as a conserved quantity establishes limits for what is and is not possible

The fact that energy is conserved means that an increase in energy somewhere must be accompanied by a decrease in energy somewhere else. Energy change does not happen on its own. There must be a causes behind the effect.

This forces a strict accounting.

The minimum amount of energy required to lift a weight is equal to—never less than—the increase in energy of the lifted weight itself. In practice, the required energy is usually greater due to real-world effects such as friction and other inefficiencies.

Conversely, the maximum amount of work that an elevated weight can produce is equal to—never greater than—the decrease in its energy as it is lowered from a higher to a lower position.

These are not approximations. They are hard, exact limits.

Energy conservation tells us what is possible and what is impossible. It sets the boundaries within which all physical processes must operate.

As will be covered later, additional limits—more subtle, but just as powerful—emerge when entropy enters the picture.

Kinetic Energy — The Energy of Motion

In earlier chapters, we introduced energy as the sum of kinetic and potential components. While that idea is straightforward, the details require closer attention.

Kinetic energy is typically written as: 1/2 m v2

While this expression works well for a single atom moving through space, most real systems consist of molecules made of multiple atoms. In such systems, motion becomes more complex.

A molecule can:

Each of these contributes to the total kinetic energy.

As a result, a multi-atom molecule carries more total kinetic energy than a single atom of the same mass moving at the same translational speed. That additional energy is real, and it matters.

Tracking all of these motions explicitly is possible in principle but impractical for real systems containing vast numbers of atoms. Classical thermodynamics takes a simpler approach. It introduces heat capacity (discussed in depth in Chapter 9).

Heat capacity quantifies how much energy a system absorbs for a given rise in temperature. It depends directly on how many modes of motion — translation, rotation, vibration — are available to the atoms and molecules involved. More modes means more ways to absorb energy, and thus a higher heat capacity. Temperature alone cannot capture this. Temperature is an intensive property that tells you the average kinetic energy per particle. Heat capacity is an extensive property that scales with the amount of matter present. Together they tell you how much total energy changes for a given change in temperature — or how much energy is required to change temperature by a given amount — and thermodynamics, as this chapter repeatedly emphasizes, is fundamentally about change.

Heat capacity is defined as:

C = dQ / dT

where dQ is the thermal energy added to the system and dT is the resulting change in temperature. When thermal energy is added to a system, its internal energy changes accordingly:

dU = dQ = C dT

The physical meaning of heat capacity — why it takes the values it does, and why it differs between gases, liquids, and solids — will be developed fully in Chapter 8.

A brief aside: the term heat capacity is unfortunate. It originates from an outdated view in which heat was thought to be a substance called caloric. As we know now, heat is not a substance—it quantifies the change in energy of a system caused by thermal contact with another system (see here). But the name remains, and it continues to confuse. We will return to this later.

Potential energy

If you hold a basketball outside a window on the 10th floor of a building, the ball isn’t moving—its kinetic energy is zero. But you have no doubt that it has the potential to deliver a great deal of kinetic energy to the sidewalk below.

When you let go, gravity takes over. The ball accelerates toward the Earth. Potential energy is converted into kinetic energy, and the total energy remains constant.

We are very familiar with this kind of behavior. Gravity-driven events are part of everyday experience.

But gravity is only one example of potential energy. The other is electromagnetic forces, which play a much greater role in thermodynamics. Events involving these forces are just as common—more common, in fact—but far less visible. They are happening all around us, all the time, but they are hidden at the atomic scale.

Consider gasoline.

When fuel burns in an engine, the potential energy stored in reactants’ chemical bonds transforms into kinetic energy in the products’ motions—manifested as high-temperature, high-pressure gases that push pistons and move your car down the road.

This is no different, in principle, from the falling basketball. Potential energy transforms to kinetic energy. The only difference is the source of the potential energy: electromagnetic rather than gravitational.

As discussed in the previous chapter, the electromagnetic potential energy of matter arises from several sources:

This quickly becomes complicated.

How do we keep track of all of this? Two approaches are used:

Together, these allow us to quantify total energy changes of a system.

Internal energy (U) represents the total kinetic and potential energy of a system. It is a core property used in thermodynamics, largely because it is conserved. This energy is not an absolute value; it’s always referenced against a set of conditions, meaning that it represents the energy difference between its own state and the reference state.

The 1st Law of Thermodynamics – simply put

This then brings us to the first law of thermodynamics, which in its most general form states:

A more specific form of the 1st Law was created by Rudolf Clausius when he considered energy changes of a system contained inside a piston-in-cylinder assembly:

ΔU = Q − W

This equation states that the change in internal energy of a system (ΔU) is equal to the thermal energy (heat) entering the system (Q) minus the work done by the system (W). If no heat and no work, no change in energy. For more on this, see here.

Note: In (Planck and Ogg, 1990) p. 57, Planck pointed out that heat (Q) quantifies the difference between two numbers and that such terms as “δQ” are inappropriate in this situation since the differential of a specific number is not the same thing as the very small difference between two specific numbers.  Q should stand on its own as a measured difference in internal energy caused by the exchange of thermal energy between two bodies.  Q is a difference, not a thing.  A body doesn’t have Q.  See also (Lewis and Randall, 1923) p. 54 for further discussion.  In this book the author chose to remain with δQ to denote a very small change in Q. 

Planck, Max, and Alexander Ogg. 1990. Treatise on Thermodynamics. 3. ed. Transl. from the 7. German ed. New York: Dover.

Lewis, Gilbert Newton, and Merle Randall. 1923. Thermodynamics and the Free Energy of Chemical Species. New York: McGraw-Hill Book Company, Inc.

Mass too is a conserved property of matter

Mass is also conserved.

As stated in Chapter 1, atoms persist. They do not appear or disappear under ordinary conditions. When applied to large collections of atoms, this leads to conservation of mass.

This principle was established experimentally by Antoine Lavoisier in the late 1700s, who showed that for chemical reactions, the total mass of reactants equals the total mass of products.

Matter is neither created nor destroyed.

This principle, combined with energy conservation, forms the foundation of the mass and energy balance, a central tool in engineering and science (see Chapter 4).

Summary

Energy quantifies the ability of a system to do work and is best understood through physical processes such as lifting a weight. It exists in kinetic and potential forms, and while these forms may change, their sum remains constant.

Energy is conserved, and this conservation establishes strict limits: the work required to produce a change can never be less than the associated energy change, and the work extracted can never exceed it. Real systems involve additional losses, but these limits define what is fundamentally possible.

This principle is formalized in the First Law of Thermodynamics and provides the foundational accounting framework for all energy transformations.

Mass, too, is conserved, and together with energy forms the basis of the mass and energy balance, which we take up in the next chapter.

END