Skip to main content
Chemistry LibreTexts

8.2: Internal Energy and First Law of Thermodynamics

  • Page ID
    369478
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Learning Objectives
    • State the first law of thermodynamics
    • To calculate changes in internal energy

    To study the flow of energy during a chemical reaction, we need to distinguish between a system, the small, well-defined part of the universe in which we are interested (such as a chemical reaction), and its surroundings, the rest of the universe, including the container in which the reaction is carried out (Figure \(\PageIndex{1}\)). In the discussion that follows, the mixture of chemical substances that undergoes a reaction is always the system, and the flow of heat can be from the system to the surroundings or vice versa.

    ddfd5dc289640638921ad7e80db57152.jpg
    Figure \(\PageIndex{1}\): A System and Its Surroundings. The system is that part of the universe we are interested in studying, such as a chemical reaction inside a flask. The surroundings are the rest of the universe, including the container in which the reaction is carried out.

    Three kinds of systems are important in chemistry. An open system can exchange both matter and energy with its surroundings. A pot of boiling water is an open system because a burner supplies energy in the form of heat, and matter in the form of water vapor is lost as the water boils. A closed system can exchange energy but not matter with its surroundings. The sealed pouch of a ready-made dinner that is dropped into a pot of boiling water is a closed system because thermal energy is transferred to the system from the boiling water but no matter is exchanged (unless the pouch leaks, in which case it is no longer a closed system). An isolated system exchanges neither energy nor matter with the surroundings. Energy is always exchanged between a system and its surroundings, although this process may take place very slowly. A truly isolated system does not actually exist. An insulated thermos containing hot coffee approximates an isolated system, but eventually the coffee cools as heat is transferred to the surroundings. In all cases, the amount of heat lost by a system is equal to the amount of heat gained by its surroundings and vice versa. That is, the total energy of a system plus its surroundings is constant, which must be true if energy is conserved.

    The state of a system is a complete description of a system at a given time, including its temperature and pressure, the amount of matter it contains, its chemical composition, and the physical state of the matter. A state function is a property of a system whose magnitude depends on only the present state of the system, not its previous history. Temperature, pressure, volume, and potential energy are all state functions. The temperature of an oven, for example, is independent of however many steps it may have taken for it to reach that temperature. Similarly, the pressure in a tire is independent of how often air is pumped into the tire for it to reach that pressure, as is the final volume of air in the tire. Heat and work, on the other hand, are not state functions because they are path dependent. For example, a car sitting on the top level of a parking garage has the same potential energy whether it was lifted by a crane, set there by a helicopter, driven up, or pushed up by a group of students (Figure \(\PageIndex{2}\)). The amount of work expended to get it there, however, can differ greatly depending on the path chosen. If the students decided to carry the car to the top of the ramp, they would perform a great deal more work than if they simply pushed the car up the ramp (unless, of course, they neglected to release the parking brake, in which case the work expended would increase substantially!). The potential energy of the car is the same, however, no matter which path they choose.

    c4edc2133cba844994fa308c6866479e.jpg
    Figure \(\PageIndex{2}\): Elevation as an Example of a State Function. The change in elevation between state 1 (at the bottom of the parking garage) and state 2 (at the top level of the parking garage) is the same for both paths A and B; it does not depend on which path is taken from the bottom to the top. In contrast, the distance traveled and the work needed to reach the top do depend on which path is taken. Elevation is a state function, but distance and work are not state functions.

    Direction of Heat Flow

    The reaction of powdered aluminum with iron(III) oxide, known as the thermite reaction, generates an enormous amount of heat—enough, in fact, to melt steel (Figure \(\PageIndex{3}\)). The balanced chemical equation for the reaction is as follows:

    \[\ce{ 2Al(s) + Fe_2O_3(s) -> 2Fe(s) + Al_2O_3(s)} \label{5.2.1}\]

    thermite.JPG
    Figure \(\PageIndex{3}\): The thermite reaction produces so much heat that the iron it produces comes out molten, a property that makes this reaction useful in welding. Image by Kingfisher [CC BY-SA 3.0 (https://creativecommons.org/licenses/by-sa/3.0)], from Wikimedia Commons.

    We can also write this chemical equation as

    \[\ce{2Al(s) + Fe_2O_3(s) \rightarrow 2Fe(s) + Al_2O_3(s)} + \text{heat} \label{5.2.2}\]

    to indicate that heat is one of the products. Chemical equations in which heat is shown as either a reactant or a product are called thermochemical equations. In this reaction, the system consists of aluminum, iron, and oxygen atoms; everything else, including the container, makes up the surroundings. During the reaction, so much heat is produced that the iron liquefies. Eventually, the system cools; the iron solidifies as heat is transferred to the surroundings. A process in which heat (q) is transferred from a system to its surroundings is described as exothermic. By convention, \(q < 0\) for an exothermic reaction.

    When you hold an ice cube in your hand, heat from the surroundings (including your hand) is transferred to the system (the ice), causing the ice to melt and your hand to become cold. We can describe this process by the following thermochemical equation:

    \[ \ce{heat + H_2O(s) \rightarrow H_2O(l)} \label{5.2.3}\]

    When heat is transferred to a system from its surroundings, the process is endothermic. By convention, \(q > 0\) for an endothermic reaction.

    Heat is technically not a component in Chemical Reactions

    Technically, it is poor form to have a \(heat\) term in the chemical reaction like in Equations \(\ref{5.2.2}\) and \(\ref{5.2.3}\) since is it not a true species in the reaction. However, this is a convenient approach to represent exothermic and endothermic behavior and is commonly used by chemists.

    Internal Energy

    Thermochemistry is a branch of chemical thermodynamics, the science that deals with the relationships between heat, work, and other forms of energy in the context of chemical and physical processes. As we concentrate on thermochemistry in this chapter, we need to consider some widely used concepts of thermodynamics.

    Substances act as reservoirs of energy, meaning that energy can be added to them or removed from them. Energy is stored in a substance when the kinetic energy of its atoms or molecules is raised. The greater kinetic energy may be in the form of increased translations (travel or straight-line motions), vibrations, or rotations of the atoms or molecules. When thermal energy is lost, the intensities of these motions decrease and the kinetic energy falls. The total of all possible kinds of energy present in a substance is called the internal energy (U), sometimes symbolized as E.

    As a system undergoes a change, its internal energy can change, and energy can be transferred from the system to the surroundings, or from the surroundings to the system. Energy is transferred into a system when it absorbs heat (q) from the surroundings or when the surroundings do work (w) on the system. For example, energy is transferred into room-temperature metal wire if it is immersed in hot water (the wire absorbs heat from the water), or if you rapidly bend the wire back and forth (the wire becomes warmer because of the work done on it). Both processes increase the internal energy of the wire, which is reflected in an increase in the wire’s temperature. Conversely, energy is transferred out of a system when heat is lost from the system, or when the system does work on the surroundings.

    The relationship between internal energy, heat, and work can be represented by the equation:

    \[ΔU=q+w \label{5.4.1}\]

    as shown in Figure \(\PageIndex{1}\). This is one version of the first law of thermodynamics, and it shows that the internal energy of a system changes through heat flow into or out of the system (positive q is heat flow in; negative q is heat flow out) or work done on or by the system. The work, w, is positive if it is done on the system and negative if it is done by the system.

    A rectangular diagram is shown. A green oval lies in the center of a tan field inside of a gray box. The tan field is labeled “Surroundings” and the equation “Δ U = q + w” is written at the bottom of the diagram. Two arrows face into the green oval and are labeled “q subscript in” and “w subscript on” while two more arrows face away from the oval and are labeled “q subscript out” and “w subscript by.” The center of the oval contains the terms “Δ U < 0”, “System,” and “Δ U 0.”" height="267" width="396" src="/@api/deki/files/57398/CNX_Chem_05_03_Systemqw.jpg">
    Figure \(\PageIndex{1}\): The internal energy, U, of a system can be changed by heat flow and work. If heat flows into the system, qin, or work is done on the system, won, its internal energy increases, ΔU > 0. If heat flows out of the system, qout, or work is done by the system, wby, its internal energy decreases, ΔU < 0.

    A type of work called expansion work (or pressure-volume work) occurs when a system pushes back the surroundings against a restraining pressure, or when the surroundings compress the system. An example of this occurs during the operation of an internal combustion engine. The reaction of gasoline and oxygen is exothermic. Some of this energy is given off as heat, and some does work pushing the piston in the cylinder. The substances involved in the reaction are the system, and the engine and the rest of the universe are the surroundings. The system loses energy by both heating and doing work on the surroundings, and its internal energy decreases. (The engine is able to keep the car moving because this process is repeated many times per second while the engine is running.) We will consider how to determine the amount of work involved in a chemical or physical change in the chapter on thermodynamics.

    As discussed, the relationship between internal energy, heat, and work can be represented as ΔU = q + w. Internal energy is a type of quantity known as a state function (or state variable), whereas heat and work are not state functions. The value of a state function depends only on the state that a system is in, and not on how that state is reached. If a quantity is not a state function, then its value does depend on how the state is reached. An example of a state function is altitude or elevation. If you stand on the summit of Mt. Kilimanjaro, you are at an altitude of 5895 m, and it does not matter whether you hiked there or parachuted there. The distance you traveled to the top of Kilimanjaro, however, is not a state function. You could climb to the summit by a direct route or by a more roundabout, circuitous path (Figure \(\PageIndex{2}\)). The distances traveled would differ (distance is not a state function) but the elevation reached would be the same (altitude is a state function).

    An aerial photo depicts a view of Mount Kilimanjaro. A straight, green arrow labeled X is drawn from the term “base,” written at the bottom of the mountain, to the term “Summit,” written at the top of the mountain. Another arrow labeled Y is draw from the base to the summit alongside the green arrow, but this arrow is pink and has three large S-shaped curves along its length.
    Figure \(\PageIndex{2}\): Paths X and Y represent two different routes to the summit of Mt. Kilimanjaro. Both have the same change in elevation (altitude or elevation on a mountain is a state function; it does not depend on path), but they have very different distances traveled (distance walked is not a state function; it depends on the path). (credit: modification of work by Paul Shaffner)

    The First Law

    The relationship between the energy change of a system and that of its surroundings is given by the first law of thermodynamics, which states that the energy of the universe is constant. We can express this law mathematically as follows:

    \[U_{univ}=ΔU_{sys}+ΔU_{surr}=0 \label{5.2.4a}\]

    \[\Delta{U_{sys}}=−ΔU_{surr} \label{5.2.4b}\]

    where the subscripts univ, sys, and surr refer to the universe, the system, and the surroundings, respectively. Thus the change in energy of a system is identical in magnitude but opposite in sign to the change in energy of its surroundings.

    The tendency of all systems, chemical or otherwise, is to move toward the state with the lowest possible energy.

    An important factor that determines the outcome of a chemical reaction is the tendency of all systems, chemical or otherwise, to move toward the lowest possible overall energy state. As a brick dropped from a rooftop falls, its potential energy is converted to kinetic energy; when it reaches ground level, it has achieved a state of lower potential energy. Anyone nearby will notice that energy is transferred to the surroundings as the noise of the impact reverberates and the dust rises when the brick hits the ground. Similarly, if a spark ignites a mixture of isooctane and oxygen in an internal combustion engine, carbon dioxide and water form spontaneously, while potential energy (in the form of the relative positions of atoms in the molecules) is released to the surroundings as heat and work. The internal energy content of the \(CO_2/H_2O\) product mixture is less than that of the isooctane/ \(O_2\) reactant mixture. The two cases differ, however, in the form in which the energy is released to the surroundings. In the case of the falling brick, the energy is transferred as work done on whatever happens to be in the path of the brick; in the case of burning isooctane, the energy can be released as solely heat (if the reaction is carried out in an open container) or as a mixture of heat and work (if the reaction is carried out in the cylinder of an internal combustion engine). Because heat and work are the only two ways in which energy can be transferred between a system and its surroundings, any change in the internal energy of the system is the sum of the heat transferred (q) and the work done (w):

    \[ΔU_{sys} = q + w \label{5.2.5}\]

    Although \(q\) and \(w\) are not state functions on their own, their sum (\(ΔU_{sys}\)) is independent of the path taken and is therefore a state function. A major task for the designers of any machine that converts energy to work is to maximize the amount of work obtained and minimize the amount of energy released to the environment as heat. An example is the combustion of coal to produce electricity. Although the maximum amount of energy available from the process is fixed by the energy content of the reactants and the products, the fraction of that energy that can be used to perform useful work is not fixed.

    Because we focus almost exclusively on the changes in the energy of a system, we will not use “sys” as a subscript unless we need to distinguish explicitly between a system and its surroundings.

    Although \(q\) and \(w\) are not state functions, their sum (\(ΔU_{sys}\)) is independent of the path taken and therefore is a state function.

    Thus, because of the first law, we can determine \(ΔU\) for any process if we can measure both \(q\) and \(w\). In the next section, we will learn how we can quantify heat and work.

    Summary

    In chemistry, the small part of the universe that we are studying is the system, and the rest of the universe is the surroundings. Open systems can exchange both matter and energy with their surroundings, closed systems can exchange energy but not matter with their surroundings, and isolated systems can exchange neither matter nor energy with their surroundings. A state function is a property of a system that depends on only its present state, not its history. A reaction or process in which heat is transferred from a system to its surroundings is exothermic. A reaction or process in which heat is transferred to a system from its surroundings is endothermic. The first law of thermodynamics states that the energy of the universe is constant. The change in the internal energy of a system is the sum of the heat transferred and the work done. The heat flow is equal to the change in the internal energy of the system plus the PV work done. When the volume of a system is constant, changes in its internal energy can be calculated by substituting the ideal gas law into the equation for ΔU.

    Glossary

    chemical thermodynamics
    area of science that deals with the relationships between heat, work, and all forms of energy associated with chemical and physical processes
    Expansion work (pressure-volume work)
    work done as a system expands or contracts against external pressure
    first law of thermodynamics
    internal energy of a system changes due to heat flow in or out of the system or work done on or by the system
    Internal energy (U)
    total of all possible kinds of energy present in a substance or substances
    State function
    property depending only on the state of a system, and not the path taken to reach that state

    8.2: Internal Energy and First Law of Thermodynamics is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?