Skip to main content
Chemistry LibreTexts

5.4: First Law of Thermodynamics

  • Page ID
    158435
  • \( \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}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Learning Objectives 

    • Determine how heat and work are related to the overall internal energy of a system 
    • Calculate the work done by/on a system at constant pressure (PV work) 
    • Calculate changes in internal energy and enthalpy using the First Law of Thermodynamics
    • Define a state function and determine which variables are state functions 

    The First Law of Thermodynamics - Law of Conservation of Energy

    The first law of thermodynamics states that energy can not be created or destroyed, that is, the energy of the universe is constant. This allows us to define a thermodynamic system, which in the case of chemistry is a reaction, with the surroundings being everything else.

    Lets consider the combustion of hydrogen

    \[\ce{2H2 + O2 -> 2H2O}\]

    there is bond potential energy in the hydrogen and oxygen bonds along with kinetic energy as they translate, rotate and vibrate. This is a combustion reaction and from common experience we know that energy is released. That is, the bond potential energy of the product is lower than the reactant, and so energy is released to the surroundings.

    Internal Energy, U is the symbol we use to describe the internal energy of a system, although many textbook use E.

    Convention for Energy Flow

    So what is positive energy? The convention thermodynamics use is that positive energy is when the system gains energy, which is when either heat is transferred to, or work is done on the system. This requires differentiating the system from the surroundings. In chemical thermodynamics, the system represents the internal energy of the atoms of the reactants as they become products.

    C5F16.jpg

    Figure\(\PageIndex{1}\): Diagram of internal energy

    As the energy of the universe is constant, any energy lost by the system must be gained by the surroundings, and vice-versa, any energy gained by the system must be lost by the surroundings.

    Internal Energy is given the symbol U, and represents the energy of the system

    \[\Delta E_{Universe} = \Delta E_{System} + \Delta E_{Surrounding} = 0\]

    therefore,

    \[ \Delta E_{System} = - \Delta E_{Surrounding}\]

    Noting that: ESystem = U, we can write this as

    \[\Delta U = - \Delta E_{Surrounding}\]

    That is, the heat lost by the system is gained by the surroundings, and remember, that in chemistry, the reaction is the system, so.

    \[\Delta E_{Reaction} = -\Delta E_{Surrounding}\]

    • EReaction < 0, the system loses energy, (and the surrounding gains energy).
    • EReaction > 0, the system gains energy. (and the surrounding losses energy).

    Must Heat Flow From a System of High Energy to a System of Low Energy? No, although it can. It depends on the temperature differential.

    Direction of Heat Transfer: Heat energy flows from a hot object to a cold object, even if the cold object has more energy. To understand the direction of heat flow we need to invoke the second law of thermodynamics and the concept of entropy, which will be covered in chapter 18, where we will learn that the direction of a spontaneous process is the direction that maximizes the entropy of the universe. If you drop a mL of boiling water into the North Atlantic Ocean, heat will transfer from the boiling water to the cold ocean until they are at the same temperature, even though the ocean obviously has more energy then a mL of water. There are two observations we can make about heat energy transfer:

    1. Heat Flows from a substance at a higher temperature to the substance at a lower temperature, with the hot substance cooling and the cold substance warming.
    2. Once the temperature of the two substances equal, the system is at thermodynamic equilibrium. This is actually a dynamic equilibrium, in that energy is flowing between the substances, but the rate of flow in both directions is the same, so there is no net transfer of energy between the substances.

    Pressure-volume work*

    The kind of work most frequently associated with chemical change occurs when the volume of the system changes owing to the disappearance or formation of gaseous substances. This is sometimes called expansion work or PV-work, and it can most easily be understood by reference to the simplest form of matter we can deal with, the hypothetical ideal gas.

    expgas.gif

    The figure shows a quantity of gas confined in a cylinder by means of a moveable piston. Weights placed on top of the piston exert a force f over the cross-section area A, producing a pressure P = f / A which is exactly countered by the pressure of the gas, so that the piston remains stationary. Now suppose that we heat the gas slightly; according to Charles’ law, this will cause the gas to expand, so the piston will be forced upward by a distance Δx. Since this motion is opposed by the force f, a quantity of work f Δx will be done by the gas on the piston. By convention, work done by the system (in this case, the gas) on the surroundings is negative, so the work is given by

    \[w = – f Δx \label{3-1}\]

    When dealing with a gas, it is convenient to think in terms of the more relevant quantities pressure and volume rather than force and distance. We can accomplish this by multiplying the second term by A/A which of course leaves it unchanged:

    \[ w = -f Δx \dfrac{A}{A} \label{3-2}\]

    By grouping the terms differently, but still not changing anything, we obtain

    \[ w = -\dfrac{f}{A} Δx A \label{3-3}\]

    Since pressure is force per unit area and the product of the length A and the area has the dimensions of volume, this expression becomes

    \[w = –P ΔV \label{3-4}\]

     

    Enthalpy

    Enthalpy (\(H\)) comes from the Greek enthalpein, meaning (“to warm”). which is the measure of the heat of a system. From above we know the change in internal energy (U) of a system is equal to the heat and work done on the system.

    \[ΔU=Q+W \label{1st}\]

    We know the work of expansion is \(PV\) work, which for a system at constant pressure is

    \[W=-PΔV \label{work}\]

    For a system at constant pressure, the change in enthalpy \(ΔH\) is \(Q_p\), so

    \[Q_p = ΔH \label{heat}\]

    substituting the definitions of work (Equation \ref{work}) and heat (Equation \ref{heat}) into Equation \ref{1st} at constant \(P\) gives,

    \[ΔU= ΔH -PΔV\]

    rearranging to solve for enthalpy gives:

    \[ΔH = ΔU + PΔV\]

    Since PΔV is the negative of the work of expansion, enthalpy is the internal energy of the system minus the work of expansion. Note this equation is under conditions of constant pressure, which are the only conditions we will use in this class, and a more general equation for enthalpy is H=U+PV

    We often call enthalpy the heat of the system, and when a reaction gives off energy, we often call it the enthalpy of reaction, and tabulate enthalpies of reaction to determine the energy changes that occur as reaction proceed from reactants to products.

    State Functions

    Enthalpy and Internal Energy are state functions. A state function is a function whose value is defined by the state, its pressure, temperature, composition, and amount of substance, and not the process of how it was obtained. So the difference between two state functions is path independent. Thus any solution of NaCl at 25°C and 1 atm that contains a mixture of 1 mol NaCl and 100 mol H2O has the same internal energy and the same enthalpy as any other solution with the same specifications. It does not matter whether the solution was prepared by simply dissolving NaCl(s) in H2O, by reacting NaOH(aq) with HCl(aq), or by some other method. Therefore, no matter how you go from reactant to product, clipboard_e7856096c08ee527d8cb25ae7cd0d0a9f.png and clipboard_e2c4b89d6f8d3a35fed35894cc285f56e.png will be the same, and are state functions. 

    Is work a state function? No, as work is path dependent. If you look at Figure\(\PageIndex{2}\) you have a nice analogy for understanding the state function. The gravitational potential energy difference between an object at a height of the summit of Mt. Kilimanjaro and it's base is the same, no matter how you made it to the summit. The green and yellow path "X" and"Y" represent different paths, and the work required does depend on the path.

    image.png

    Figure\(\PageIndex{1}\): Diagram showing difference between path dependent function and a state function. The work required to reach the summit is not a state function, and depends on the path, but once you are on the top, the view is the same, no matter how you got there.

     

    Example \(\PageIndex{1}\)

    A sample of an ideal gas in the cylinder of an engine is compressed from 500. mL to 40.0 mL during the compression stroke against a constant pressure of 8.08 x 105 Pa. At the same time, 140 J of energy is transferred from the gas to the surroundings as heat. What is the total change in the internal energy 
    of the gas in joules?

    Solution

    clipboard_e5608107580bf802c554da2bd0072edb0.png

     

    Contributors: 

    • Robert Belford (UA of Little Rock) 
    • Ronia Kattoum (UA of Little Rock) 
    •  

    5.4: First Law of Thermodynamics is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?