Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
Physics

12.2 First law of Thermodynamics: Thermal Energy and Work

Physics12.2 First law of Thermodynamics: Thermal Energy and Work

Section Learning Objectives

By the end of this section, you will be able to do the following:

  • Describe how pressure, volume, and temperature relate to one another and to work, based on the ideal gas law
  • Describe pressure–volume work
  • Describe the first law of thermodynamics verbally and mathematically
  • Solve problems involving the first law of thermodynamics

Teacher Support

Teacher Support

The learning objectives in this section will help your students master the following standards:

  • (6) Science concepts. The student knows that changes occur within a physical system and applies the laws of conservation of energy and momentum. The student is expected to:
    • (G) analyze and explain everyday examples that illustrate the laws of thermodynamics, including the law of conservation of energy and the law of entropy.

Section Key Terms

Boltzmann constant first law of thermodynamics ideal gas law internal energy pressure

Pressure, Volume, Temperature, and the Ideal Gas Law

Teacher Support

Teacher Support

[BL][OL][AL] Review the concept of force.

[OL] Ask students how much force it would take to hammer a nail into a wall. Would they achieve the same result if the nail were blunt instead of pointed? Why or why not?

Before covering the first law of thermodynamics, it is first important to understand the relationship between pressure, volume, and temperature. Pressure, P, is defined as

P= F A , P= F A ,
12.1

where F is a force applied to an area, A, that is perpendicular to the force.

Depending on the area over which it is exerted, a given force can have a significantly different effect, as shown in Figure 12.3.

In part (a), a finger pokes a man’s arm. In part (b), a needle pokes a man’s arm with the same force but over a smaller area, resulting in greater pressure.
Figure 12.3 (a) Although the person being poked with the finger might be irritated, the force has little lasting effect. (b) In contrast, the same force applied to an area the size of the sharp end of a needle is great enough to break the skin.

The SI unit for pressure is the pascal, where 1 Pa= 1 N/m 2 . 1 Pa= 1 N/m 2 .

Pressure is defined for all states of matter but is particularly important when discussing fluids (such as air). You have probably heard the word pressure being used in relation to blood (high or low blood pressure) and in relation to the weather (high- and low-pressure weather systems). These are only two of many examples of pressures in fluids.

The relationship between the pressure, volume, and temperature for an ideal gas is given by the ideal gas law. A gas is considered ideal at low pressure and fairly high temperature, and forces between its component particles can be ignored. The ideal gas law states that

PV=NkT. PV=NkT.
12.2

where P is the pressure of a gas, V is the volume it occupies, N is the number of particles (atoms or molecules) in the gas, and T is its absolute temperature. The constant k is called the Boltzmann constant and has the value k=1.38× 10 −23 J/K, k=1.38× 10 −23 J/K, For the purposes of this chapter, we will not go into calculations using the ideal gas law. Instead, it is important for us to notice from the equation that the following are true for a given mass of gas:

  • When volume is constant, pressure is directly proportional to temperature.
  • When temperature is constant, pressure is inversely proportional to volume.
  • When pressure is constant, volume is directly proportional to temperature.

This last point describes thermal expansion—the change in size or volume of a given mass with temperature. What is the underlying cause of thermal expansion? An increase in temperature means that there’s an increase in the kinetic energy of the individual atoms. Gases are especially affected by thermal expansion, although liquids expand to a lesser extent with similar increases in temperature, and even solids have minor expansions at higher temperatures. This is why railroad tracks and bridges have expansion joints that allow them to freely expand and contract with temperature changes.

Teacher Support

Teacher Support

[BL][OL][AL]Inform students that the ideal gas law is only strictly true for gases that are ideal. Real gases differ from these in certain ways. For instance, it is assumed that in an ideal gas, there are no intermolecular forces, all collisions between molecules are perfectly elastic, and so on. However, the ideal gas law is useful in calculations, because under standard conditions of temperature and pressure, many real gases, such as oxygen, nitrogen, hydrogen, and noble gases exhibit qualitative behavior that is very close to the behavior of an ideal gas.

To get some idea of how pressure, temperature, and volume of a gas are related to one another, consider what happens when you pump air into a deflated tire. The tire’s volume first increases in direct proportion to the amount of air injected, without much increase in the tire pressure. Once the tire has expanded to nearly its full size, the walls limit volume expansion. If you continue to pump air into tire (which now has a nearly constant volume), the pressure increases with increasing temperature (see Figure 12.4).

In part (a), air is added to a tire, measured using a pressure gauge, and the tire increases in volume. In part (b), more air is added but the volume remains the same, resulting in greater pressure as indicated by the gauge. In part (c), the volume remains nearly constant, so that an increase in temperature increases the pressure.
Figure 12.4 (a) When air is pumped into a deflated tire, its volume first increases without much increase in pressure. (b) When the tire is filled to a certain point, the tire walls resist further expansion, and the pressure increases as more air is added. (c) Once the tire is inflated fully, its pressure increases with temperature.

Pressure–Volume Work

Pressure–volume work is the work that is done by the compression or expansion of a fluid. Whenever there is a change in volume and external pressure remains constant, pressure–volume work is taking place. During a compression, a decrease in volume increases the internal pressure of a system as work is done on the system. During an expansion (Figure 12.5), an increase in volume decreases the internal pressure of a system as the system does work.

A piston in an engine cylinder with cross-sectional area A moves up a distance d as energy is added, causing the volume to expand by Ad.
Figure 12.5 An expansion of a gas requires energy transfer to keep the pressure constant. Because pressure is constant, the work done is PΔV PΔV .

Recall that the formula for work is W=Fd. W=Fd. We can rearrange the definition of pressure, P= F A , P= F A , to get an expression for force in terms of pressure.

F=PA F=PA
12.3

Substituting this expression for force into the definition of work, we get

W=PAd. W=PAd.
12.4

Because area multiplied by displacement is the change in volume, W=PΔV W=PΔV , the mathematical expression for pressure–volume work is

W=PΔV. W=PΔV.
12.5

Just as we say that work is force acting over a distance, for fluids, we can say that work is the pressure acting through the change in volume. For pressure–volume work, pressure is analogous to force, and volume is analogous to distance in the traditional definition of work.

Watch Physics

Work from Expansion

This video describes work from expansion (or pressure–volume work). Sal combines the equations W=PΔV W=PΔV and ΔU=QW ΔU=QW to get ΔU=QPΔV ΔU=QPΔV .

Grasp Check

If the volume of a system increases while pressure remains constant, is the value of work done by the system W positive or negative? Will this increase or decrease the internal energy of the system?

  1. Positive; internal energy will decrease
  2. Positive; internal energy will increase
  3. Negative; internal energy will decrease
  4. Negative; internal energy will increase

The First Law of Thermodynamics

Teacher Support

Teacher Support

[BL] Review heat transfer. When and how does heat transfer energy between two bodies? What happens when energy is transferred into or out of a system by heat?

Heat (Q) and work (W) are the two ways to add or remove energy from a system. The processes are very different. Heat is driven by temperature differences, while work involves a force exerted through a distance. Nevertheless, heat and work can produce identical results. For example, both can cause a temperature increase. Heat transfers energy into a system, such as when the sun warms the air in a bicycle tire and increases the air’s temperature. Similarly, work can be done on the system, as when the bicyclist pumps air into the tire. Once the temperature increase has occurred, it is impossible to tell whether it was caused by heat or work. Heat and work are both energy in transit—neither is stored as such in a system. However, both can change the internal energy, U, of a system.

Internal energy is the sum of the kinetic and potential energies of a system’s atoms and molecules. It can be divided into many subcategories, such as thermal and chemical energy, and depends only on the state of a system (that is, P, V, and T), not on how the energy enters or leaves the system.

In order to understand the relationship between heat, work, and internal energy, we use the first law of thermodynamics. The first law of thermodynamics applies the conservation of energy principle to systems where heat and work are the methods of transferring energy into and out of the systems. It can also be used to describe how energy transferred by heat is converted and transferred again by work.

Teacher Support

Teacher Support

[OL][AL] Ask students to give examples of processes where energy is converted from one form into another. Analyze whether energy transfer by heat occurs in each case.

Tips For Success

Recall that the principle of conservation of energy states that energy cannot be created or destroyed, but it can be altered from one form to another.

The first law of thermodynamics states that the change in internal energy of a closed system equals the net heat transfer into the system minus the net work done by the system. In equation form, the first law of thermodynamics is

ΔU=QW. ΔU=QW.
12.6

Here, ΔU ΔU is the change in internal energy, U, of the system. As shown in Figure 12.6, Q is the net heat transferred into the system—that is, Q is the sum of all heat transfers into and out of the system. W is the net work done by the system—that is, W is the sum of all work done on or by the system. By convention, if Q is positive, then there is a net heat transfer into the system; if W is positive, then there is net work done by the system. So positive Q adds energy to the system by heat, and positive W takes energy from the system by work. Note that if heat transfers more energy into the system than that which is done by work, the difference is stored as internal energy.

Q is shown adding energy to the system, while W causes energy to leave the system. For the system, the following equations are shown:
Figure 12.6 The first law of thermodynamics is the conservation of energy principle stated for a system, where heat and work are the methods of transferring energy to and from a system. Q represents the net heat transfer—it is the sum of all transfers of energy by heat into and out of the system. Q is positive for net heat transfer into the system. W out W out is the work done by the system, and W in W in is the work done on the system. W is the total work done on or by the system. W is positive when more work is done by the system than on it. The change in the internal energy of the system, ΔU ΔU, is related to heat and work by the first law of thermodynamics: ΔU=QW. ΔU=QW.

It follows also that negative Q indicates that energy is transferred away from the system by heat and so decreases the system’s internal energy, whereas negative W is work done on the system, which increases the internal energy.

Watch Physics

First Law of Thermodynamics/Internal Energy

This video explains the first law of thermodynamics, conservation of energy, and internal energy. It goes over an example of energy transforming between kinetic energy, potential energy, and heat transfer due to air resistance.

Watch Physics: First Law of Thermodynamics / Internal Energy. This video introduces and explains the first law of thermodynamics and the concept of internal energy.
Consider the example of tossing a ball when there’s air resistance. As air resistance increases, what would you expect to happen to the final velocity and final kinetic energy of the ball? Why?
  1. Both will decrease. Energy is transferred to the air by heat due to air resistance.
  2. Both will increase. Energy is transferred from the air to the ball due to air resistance.
  3. Final velocity will increase, but final kinetic energy will decrease. Energy is transferred by heat to the air from the ball through air resistance.
  4. Final velocity will decrease, but final kinetic energy will increase. Energy is transferred by heat from the air to the ball through air resistance.

Teacher Support

Teacher Support

[BL][OL] Demonstrate that the equation may be rearranged as Q=ΔU+W. Q=ΔU+W. This shows that any energy added by heat to a system is either converted into work or stored as internal energy.

Watch Physics

More on Internal Energy

This video goes into further detail, explaining internal energy and how to use the equation ΔU=QW. ΔU=QW. Note that Sal uses the equation ΔU=Q+W ΔU=Q+W , where W is the work done on the system, whereas we use W to represent work done by the system.

If 5 J are taken away by heat from the system, and the system does 5 J of work, what is the change in internal energy of the system?
  1. 10 J
  2. 0 J
  3. 10 J
  4. 25 J

Solving Problems Involving the First Law of Thermodynamics

Worked Example

Calculating Change in Internal Energy

Suppose 40.00 J of energy is transferred by heat to a system, while the system does 10.00 J of work. Later, heat transfers 25.00 J out of the system, while 4.00 J is done by work on the system. What is the net change in the system’s internal energy?

Strategy

You must first calculate the net heat and net work. Then, using the first law of thermodynamics, ΔU=QW, ΔU=QW, find the change in internal energy.

Discussion

A different way to solve this problem is to find the change in internal energy for each of the two steps separately and then add the two changes to get the total change in internal energy. This approach would look as follows:

For 40.00 J of heat in and 10.00 J of work out, the change in internal energy is

Δ U 1 = Q 1 W 1 =40.00 J10.00 J=30.00 J. Δ U 1 = Q 1 W 1 =40.00 J10.00 J=30.00 J.
12.10

For 25.00 J of heat out and 4.00 J of work in, the change in internal energy is

Δ U 2 = Q 2 W 2 =25.00 J(4.00 J)=21.00 J. Δ U 2 = Q 2 W 2 =25.00 J(4.00 J)=21.00 J.
12.11

The total change is

ΔU=Δ U 1 +Δ U 2 =30.00 J+(21.00 J)=9.00 J. ΔU=Δ U 1 +Δ U 2 =30.00 J+(21.00 J)=9.00 J.
12.12

No matter whether you look at the overall process or break it into steps, the change in internal energy is the same.

Teacher Support

Teacher Support

[BL] Make sure students are clear on the use of negative signs for heat transfer and work. Work done by an isolated system means an increase in volume, so W is positive and ΔU ΔU decreases or is negative.

Worked Example

Calculating Change in Internal Energy: The Same Change in U is Produced by Two Different Processes

What is the change in the internal energy of a system when a total of 150.00 J is transferred by heat from the system and 159.00 J is done by work on the system?

Strategy

The net heat and work are already given, so simply use these values in the equation ΔU=QW. ΔU=QW.

Discussion
Two different processes produce the same change in a system. (a) Heat transfers a total of 15.00 J into the system, while work takes out a total of 6.00 J. The change in internal energy is ΔU = Q - W = 9.00 J. (b) Heat removes 150.00 J from the system while work puts 159.00 J into it, producing an increase in internal energy of 9.00 J.
Figure 12.8 Two different processes produce the same change in a system. (a) A total of 15.00 J of heat transfer occurs into the system, while work takes out a total of 6.00 J. The change in internal energy is ΔU = Q – W = 9.00 J. (b) Heat transfer removes 150.00 J from the system while work puts 159.00 J into it, producing an increase of 9.00 J in internal energy. If the system starts out in the same state in (a) and (b), it will end up in the same final state in either case—its final state is related to internal energy, not how that energy was acquired.

A very different process in this second worked example produces the same 9.00 J change in internal energy as in the first worked example. Note that the change in the system in both parts is related to ΔU ΔU and not to the individual Q’s or W’s involved. The system ends up in the same state in both problems. Note that, as usual, in Figure 12.8 above, W out W out is work done by the system, and W in W in is work done on the system.

Practice Problems

3 .
How much work is done by a gas under 20 Pa of pressure increasing in volume by 3.0 m3?
  1. –0.15 J
  2. 6.7 J
  3. –23 J
  4. 60 J
4 .
What is the net heat out of the system when 25 J is transferred by heat into the system and 45 J is transferred out of it?
  1. 70 J
  2. 20 J
  3. 20 J
  4. 70 J

Check Your Understanding

Teacher Support

Teacher Support

Use these questions to assess student achievement of the section’s learning objectives. If students are struggling with a specific objective, these questions will help identify which and direct students to the relevant content.

5 .
What is pressure?
  1. Pressure is force divided by length.
  2. Pressure is force divided by area.
  3. Pressure is force divided by volume.
  4. Pressure is force divided by mass.
6.

What is the SI unit for pressure?

  1. pascal, or N/m3
  2. coulomb
  3. newton
  4. pascal, or N/m2
7 .
What is pressure-volume work?
  1. It is the work that is done by the compression or expansion of a fluid.
  2. It is the work that is done by a force on an object to produce a certain displacement.
  3. It is the work that is done by the surface molecules of a fluid.
  4. It is the work that is done by the high-energy molecules of a fluid.
8.

When is pressure-volume work said to be done ON a system?

  1. When there is an increase in both volume and internal pressure.
  2. When there is a decrease in both volume and internal pressure.
  3. When there is a decrease in volume and an increase in internal pressure.
  4. When there is an increase in volume and a decrease in internal pressure.
9 .
What are the ways to add energy to or remove energy from a system?
  1. Transferring energy by heat is the only way to add energy to or remove energy from a system.
  2. Doing compression work is the only way to add energy to or remove energy from a system.
  3. Doing expansion work is the only way to add energy to or remove energy from a system.
  4. Transferring energy by heat or by doing work are the ways to add energy to or remove energy from a system.
10 .
What is internal energy?
  1. It is the sum of the kinetic energies of a system’s atoms and molecules.
  2. It is the sum of the potential energies of a system’s atoms and molecules.
  3. It is the sum of the kinetic and potential energies of a system’s atoms and molecules.
  4. It is the difference between the magnitudes of the kinetic and potential energies of a system’s atoms and molecules.
Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution License and you must attribute Texas Education Agency (TEA). The original material is available at: https://www.texasgateway.org/book/tea-physics . Changes were made to the original material, including updates to art, structure, and other content updates.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
    Access for free at https://openstax.org/books/physics/pages/1-introduction
  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
    Access for free at https://openstax.org/books/physics/pages/1-introduction
Citation information

© Jun 7, 2024 Texas Education Agency (TEA). The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.