Skip to main content
Chemistry LibreTexts

7.2: Relating Pressure, Volume, Amount, and Temperature- The Ideal Gas Law

  • Page ID
    216763
  • \( \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
    • Identify the mathematical relationships between the various properties of gases
    • Use the ideal gas law, and related gas laws, to compute the values of various gas properties under specified conditions

    During the seventeenth and especially eighteenth centuries, driven both by a desire to understand nature and a quest to make balloons in which they could fly (Figure \(\PageIndex{1}\)), a number of scientists established the relationships between the macroscopic physical properties of gases, that is, pressure, volume, temperature, and amount of gas. Although their measurements were not precise by today’s standards, they were able to determine the mathematical relationships between pairs of these variables (e.g., pressure and temperature, pressure and volume) that hold for an ideal gas—a hypothetical construct that real gases approximate under certain conditions. Eventually, these individual laws were combined into a single equation—the ideal gas law—that relates gas quantities for gases and is quite accurate for low pressures and moderate temperatures. We will consider the key developments in individual relationships (for pedagogical reasons not quite in historical order), then put them together in the ideal gas law.

    Figure \(\PageIndex{1}\): In 1783, the first (a) hydrogen-filled balloon flight, (b) manned hot air balloon flight, and (c) manned hydrogen-filled balloon flight occurred. When the hydrogen-filled balloon depicted in (a) landed, the frightened villagers of Gonesse reportedly destroyed it with pitchforks and knives. The launch of the latter was reportedly viewed by 400,000 people in Paris.
    This figure includes three images. Image a is a black and white image of a hydrogen balloon apparently being deflated by a mob of people. In image b, a blue, gold, and red balloon is being held to the ground with ropes while positioned above a platform from which smoke is rising beneath the balloon. In c, an image is shown in grey on a peach-colored background of an inflated balloon with vertical striping in the air. It appears to have a basket attached to its lower side. A large stately building appears in the background.

    Pressure and Temperature: Amontons’s Law

    Imagine filling a rigid container attached to a pressure gauge with gas and then sealing the container so that no gas may escape. If the container is cooled, the gas inside likewise gets colder and its pressure is observed to decrease. Since the container is rigid and tightly sealed, both the volume and number of moles of gas remain constant. If we heat the sphere, the gas inside gets hotter (Figure \(\PageIndex{2}\)) and the pressure increases.

    Figure \(\PageIndex{2}\): The effect of temperature on gas pressure: When the hot plate is off, the pressure of the gas in the sphere is relatively low. As the gas is heated, the pressure of the gas in the sphere increases.
    This figure includes three similar diagrams. In the first diagram to the left, a rigid spherical container of a gas to which a pressure gauge is attached at the top is placed in a large beaker of water, indicated in light blue, atop a hot plate. The needle on the pressure gauge points to the far left on the gauge. The diagram is labeled “low P” above and “hot plate off” below. The second similar diagram also has the rigid spherical container of gas placed in a large beaker from which light blue wavy line segments extend from the top of the liquid in the beaker. The beaker is situated on top of a slightly reddened circular area. The needle on the pressure gauge points straight up, or to the middle on the gauge. The diagram is labeled “medium P” above and “hot plate on medium” below. The third diagram also has the rigid spherical container of gas placed in a large beaker in which bubbles appear near the liquid surface and several wavy light blue line segments extend from the surface out of the beaker. The beaker is situated on top of a bright red circular area. The needle on the pressure gauge points to the far right on the gauge. The diagram is labeled “high P” above and “hot plate on high” below.

    This relationship between temperature and pressure is observed for any sample of gas confined to a constant volume. An example of experimental pressure-temperature data is shown for a sample of air under these conditions in Figure \(\PageIndex{3}\). We find that temperature and pressure are linearly related, and if the temperature is on the kelvin scale, then P and T are directly proportional (again, when volume and moles of gas are held constant); if the temperature on the kelvin scale increases by a certain factor, the gas pressure increases by the same factor.

    Figure \(\PageIndex{3}\): For a constant volume and amount of air, the pressure and temperature are directly proportional, provided the temperature is in kelvin. (Measurements cannot be made at lower temperatures because of the condensation of the gas.) When this line is extrapolated to lower pressures, it reaches a pressure of 0 at –273 °C, which is 0 on the kelvin scale and the lowest possible temperature, called absolute zero.
    This figure includes a table and a graph. The table has 3 columns and 7 rows. The first row is a header, which labels the columns “Temperature, degrees C,” “Temperature, K,” and “Pressure, k P a.” The first column contains the values from top to bottom negative 150, negative 100, negative 50, 0, 50, and 100. The second column contains the values from top to bottom 173, 223, 273, 323, 373, and 423. The third column contains the values 36.0, 46.4, 56.7, 67.1, 77.5, and 88.0. A graph appears to the right of the table. The horizontal axis is labeled “Temperature ( K ).” with markings and labels provided for multiples of 100 beginning at 0 and ending at 500. The vertical axis is labeled “Pressure ( k P a )” with markings and labels provided for multiples of 10, beginning at 0 and ending at 100. Six data points from the table are plotted on the graph with black dots. These dots are connected with a solid black line. A dashed line extends from the data point furthest to the left to the origin. The graph shows a positive linear trend.

    Guillaume Amontons was the first to empirically establish the relationship between the pressure and the temperature of a gas (~1700), and Joseph Louis Gay-Lussac determined the relationship more precisely (~1800). Because of this, the P-T relationship for gases is known as either Amontons’s law or Gay-Lussac’s law. Under either name, it states that the pressure of a given amount of gas is directly proportional to its temperature on the kelvin scale when the volume is held constant. Mathematically, this can be written:

    \[P∝T\ce{\:or\:}P=\ce{constant}×T\ce{\:or\:}P=k×T \nonumber \]

    where ∝ means “is proportional to,” and k is a proportionality constant that depends on the identity, amount, and volume of the gas.

    For a confined, constant volume of gas, the ratio \(\dfrac{P}{T}\) is therefore constant (i.e., \(\dfrac{P}{T}=k\)). If the gas is initially in “Condition 1” (with P = P1 and T = T1), and then changes to “Condition 2” (with P = P2 and T = T2), we have that \(\dfrac{P_1}{T_1}=k\) and \(\dfrac{P_2}{T_2}=k\), which reduces to \(\dfrac{P_1}{T_1}=\dfrac{P_2}{T_2}\). This equation is useful for pressure-temperature calculations for a confined gas at constant volume. Note that temperatures must be on the kelvin scale for any gas law calculations (0 on the kelvin scale and the lowest possible temperature is called absolute zero). (Also note that there are at least three ways we can describe how the pressure of a gas changes as its temperature changes: We can use a table of values, a graph, or a mathematical equation.)

    Example \(\PageIndex{1}\): Predicting Change in Pressure with Temperature

    A can of hair spray is used until it is empty except for the propellant, isobutane gas.

    1. On the can is the warning “Store only at temperatures below 120 °F (48.8 °C). Do not incinerate.” Why?
    2. The gas in the can is initially at 24 °C and 360 kPa, and the can has a volume of 350 mL. If the can is left in a car that reaches 50 °C on a hot day, what is the new pressure in the can?
    Solution
    1. The can contains an amount of isobutane gas at a constant volume, so if the temperature is increased by heating, the pressure will increase proportionately. High temperature could lead to high pressure, causing the can to burst. (Also, isobutane is combustible, so incineration could cause the can to explode.)
    2. We are looking for a pressure change due to a temperature change at constant volume, so we will use Amontons’s/Gay-Lussac’s law. Taking P1 and T1 as the initial values, T2 as the temperature where the pressure is unknown and P2 as the unknown pressure, and converting °C to K, we have:
    \(\dfrac{P_1}{T_1}=\dfrac{P_2}{T_2}\textrm{ which means that }\dfrac{360\:\ce{kPa}}{297\:\ce K}=\dfrac{P_2}{323\:\ce K}\)

    Rearranging and solving gives:

    \(P_2=\mathrm{\dfrac{360\:kPa×323\cancel{K}}{297\cancel{K}}=390\:kPa}\)

    Exercise \(\PageIndex{1}\)

    A sample of nitrogen, N2, occupies 45.0 mL at 27 °C and 600 torr. What pressure will it have if cooled to –73 °C while the volume remains constant?

    Answer

    400 torr

    Volume and Temperature: Charles’s Law

    If we fill a balloon with air and seal it, the balloon contains a specific amount of air at atmospheric pressure, let’s say 1 atm. If we put the balloon in a refrigerator, the gas inside gets cold and the balloon shrinks (although both the amount of gas and its pressure remain constant). If we make the balloon very cold, it will shrink a great deal, and it expands again when it warms up.

    Video \(\PageIndex{1}\): This video shows how cooling and heating a gas causes its volume to decrease or increase, respectively.

    These examples of the effect of temperature on the volume of a given amount of a confined gas at constant pressure are true in general: The volume increases as the temperature increases, and decreases as the temperature decreases. Volume-temperature data for a 1-mole sample of methane gas at 1 atm are listed and graphed in Figure \(\PageIndex{2}\).

    Figuire \(\PageIndex{4}\): The volume and temperature are linearly related for 1 mole of methane gas at a constant pressure of 1 atm. If the temperature is in kelvin, volume and temperature are directly proportional. The line stops at 111 K because methane liquefies at this temperature; when extrapolated, it intersects the graph’s origin, representing a temperature of absolute zero.
    This figure includes a table and a graph. The table has 3 columns and 6 rows. The first row is a header, which labels the columns “Temperature, degrees C,” “Temperature, K,” and “Pressure, k P a.” The first column contains the values from top to bottom negative 100, negative 50, 0, 100, and 200. The second column contains the values from top to bottom 173, 223, 273, 373, and 473. The third column contains the values 14.10, 18.26, 22.40, 30.65, and 38.88. A graph appears to the right of the table. The horizontal axis is labeled “Temperature ( K ).” with markings and labels provided for multiples of 100 beginning at 0 and ending at 300. The vertical axis is labeled “Volume ( L )” with marking and labels provided for multiples of 10, beginning at 0 and ending at 30. Five data points from the table are plotted on the graph with black dots. These dots are connected with a solid black line. The graph shows a positive linear trend.

    The relationship between the volume and temperature of a given amount of gas at constant pressure is known as Charles’s law in recognition of the French scientist and balloon flight pioneer Jacques Alexandre César Charles. Charles’s law states that the volume of a given amount of gas is directly proportional to its temperature on the kelvin scale when the pressure is held constant.

    Mathematically, this can be written as:

    \[VαT\ce{\:or\:}V=\ce{constant}·T\ce{\:or\:}V=k·T \nonumber \]

    with k being a proportionality constant that depends on the amount and pressure of the gas.

    For a confined, constant pressure gas sample, \(\dfrac{V}{T}\) is constant (i.e., the ratio = k), and as seen with the P-T relationship, this leads to another form of Charles’s law: \(\dfrac{V_1}{T_1}=\dfrac{V_2}{T_2}\).

    Example \(\PageIndex{2}\): Predicting Change in Volume with Temperature

    A sample of carbon dioxide, CO2, occupies 0.300 L at 10 °C and 750 torr. What volume will the gas have at 30 °C and 750 torr?

    Solution

    Because we are looking for the volume change caused by a temperature change at constant pressure, this is a job for Charles’s law. Taking V1 and T1 as the initial values, T2 as the temperature at which the volume is unknown and V2 as the unknown volume, and converting °C into K we have:

    \(\dfrac{V_1}{T_1}=\dfrac{V_2}{T_2}\textrm{ which means that }\dfrac{0.300\:\ce L}{283\:\ce K}=\dfrac{V_2}{303\:\ce K}\)

    Rearranging and solving gives: \(V_2=\mathrm{\dfrac{0.300\:L×303\cancel{K}}{283\cancel{K}}=0.321\:L}\)

    This answer supports our expectation from Charles’s law, namely, that raising the gas temperature (from 283 K to 303 K) at a constant pressure will yield an increase in its volume (from 0.300 L to 0.321 L).

    Exercise \(\PageIndex{2}\)

    A sample of oxygen, O2, occupies 32.2 mL at 30 °C and 452 torr. What volume will it occupy at –70 °C and the same pressure?

    Answer

    21.6 mL

    Example \(\PageIndex{3}\): Measuring Temperature with a Volume

    Change Temperature is sometimes measured with a gas thermometer by observing the change in the volume of the gas as the temperature changes at constant pressure. The hydrogen in a particular hydrogen gas thermometer has a volume of 150.0 cm3 when immersed in a mixture of ice and water (0.00 °C). When immersed in boiling liquid ammonia, the volume of the hydrogen, at the same pressure, is 131.7 cm3. Find the temperature of boiling ammonia on the kelvin and Celsius scales.

    Solution

    A volume change caused by a temperature change at constant pressure means we should use Charles’s law. Taking V1 and T1 as the initial values, T2 as the temperature at which the volume is unknown and V2 as the unknown volume, and converting °C into K we have:

    \[\dfrac{V_1}{T_1}=\dfrac{V_2}{T_2}\textrm{ which means that }\mathrm{\dfrac{150.0\:cm^3}{273.15\:K}}=\dfrac{131.7\:\ce{cm}^3}{T_2} \nonumber \]

    Rearrangement gives \(T_2=\mathrm{\dfrac{131.7\cancel{cm}^3×273.15\:K}{150.0\:cm^3}=239.8\:K}\)

    Subtracting 273.15 from 239.8 K, we find that the temperature of the boiling ammonia on the Celsius scale is –33.4 °C.

    Exercise \(\PageIndex{3}\)

    What is the volume of a sample of ethane at 467 K and 1.1 atm if it occupies 405 mL at 298 K and 1.1 atm?

    Answer

    635 mL

     

    Volume and Pressure: Boyle’s Law

    If we partially fill an airtight syringe with air, the syringe contains a specific amount of air at constant temperature, say 25 °C. If we slowly push in the plunger while keeping temperature constant, the gas in the syringe is compressed into a smaller volume and its pressure increases; if we pull out the plunger, the volume increases and the pressure decreases. This example of the effect of volume on the pressure of a given amount of a confined gas is true in general. Decreasing the volume of a contained gas will increase its pressure, and increasing its volume will decrease its pressure. In fact, if the volume increases by a certain factor, the pressure decreases by the same factor, and vice versa. Volume-pressure data for an air sample at room temperature are graphed in Figure \(\PageIndex{5}\).

    Figure \(\PageIndex{5}\): When a gas occupies a smaller volume, it exerts a higher pressure; when it occupies a larger volume, it exerts a lower pressure (assuming the amount of gas and the temperature do not change). Since P and V are inversely proportional, a graph of \(\dfrac{1}{P}\) vs. V is linear.
    This figure contains a diagram and two graphs. The diagram shows a syringe labeled with a scale in m l or c c with multiples of 5 labeled beginning at 5 and ending at 30. The markings halfway between these measurements are also provided. Attached at the top of the syringe is a pressure gauge with a scale marked by fives from 40 on the left to 5 on the right. The gauge needle rests between 10 and 15, slightly closer to 15. The syringe plunger position indicates a volume measurement about halfway between 10 and 15 m l or c c. The first graph is labeled “V ( m L )” on the horizontal axis and “P ( p s i )” on the vertical axis. Points are labeled at 5, 10, 15, 20, and 25 m L with corresponding values of 39.0, 19.5, 13.0, 9.8, and 6.5 p s i. The points are connected with a smooth curve that is declining at a decreasing rate of change. The second graph is labeled “V ( m L )” on the horizontal axis and “1 divided by P ( p s i )” on the vertical axis. The horizontal axis is labeled at multiples of 5, beginning at zero and extending up to 35 m L. The vertical axis is labeled by multiples of 0.02, beginning at 0 and extending up to 0.18. Six points indicated by black dots on this graph are connected with a black line segment showing a positive linear trend.

    Unlike the P-T and V-T relationships, pressure and volume are not directly proportional to each other. Instead, \(P\) and \(V\) exhibit inverse proportionality: Increasing the pressure results in a decrease of the volume of the gas. Mathematically this can be written:

    \[P \propto \dfrac{1}{V} \nonumber \]

    or

    \[P=k⋅ \dfrac{1}{V} \nonumber \]

    or

    \[PV=k \nonumber \]

    or

    \[P_1V_1=P_2V_2 \nonumber \]

    with \(k\) being a constant. Graphically, this relationship is shown by the straight line that results when plotting the inverse of the pressure \(\left(\dfrac{1}{P}\right)\) versus the volume (V), or the inverse of volume \(\left(\dfrac{1}{V}\right)\) versus the pressure (\(P\)). Graphs with curved lines are difficult to read accurately at low or high values of the variables, and they are more difficult to use in fitting theoretical equations and parameters to experimental data. For those reasons, scientists often try to find a way to “linearize” their data. If we plot P versus V, we obtain a hyperbola (Figure \(\PageIndex{6}\)).

    Figure \(\PageIndex{6}\): The relationship between pressure and volume is inversely proportional. (a) The graph of P vs. V is a hyperbola, whereas (b) the graph of \(\left(\dfrac{1}{P}\right)\) vs. V is linear.
    This diagram shows two graphs. In a, a graph is shown with volume on the horizontal axis and pressure on the vertical axis. A curved line is shown on the graph showing a decreasing trend with a decreasing rate of change. In b, a graph is shown with volume on the horizontal axis and one divided by pressure on the vertical axis. A line segment, beginning at the origin of the graph, shows a positive, linear trend.

    The relationship between the volume and pressure of a given amount of gas at constant temperature was first published by the English natural philosopher Robert Boyle over 300 years ago. It is summarized in the statement now known as Boyle’s law: The volume of a given amount of gas held at constant temperature is inversely proportional to the pressure under which it is measured.

    Example \(\PageIndex{4}\): Volume of a Gas Sample

    The sample of gas has a volume of 15.0 mL at a pressure of 13.0 psi. Determine the pressure of the gas at a volume of 7.5 mL, using:

    1. the P-V graph in Figure \(\PageIndex{6a}\)
    2. the \(\dfrac{1}{P}\) vs. V graph in Figure \(\PageIndex{6b}\)
    3. the Boyle’s law equation

    Comment on the likely accuracy of each method.

    Solution
    1. Estimating from the P-V graph gives a value for P somewhere around 27 psi.
    2. Estimating from the \(\dfrac{1}{P}\) versus V graph give a value of about 26 psi.
    3. From Boyle’s law, we know that the product of pressure and volume (PV) for a given sample of gas at a constant temperature is always equal to the same value. Therefore we have P1V1 = k and P2V2 = k which means that P1V1 = P2V2.

    Using P1 and V1 as the known values 13.0 psi and 15.0 mL, P2 as the pressure at which the volume is unknown, and V2 as the unknown volume, we have:

    \[P_1V_1=P_2V_2\mathrm{\:or\:13.0\:psi×15.0\:mL}=P_2×7.5\:\ce{mL} \nonumber \]

    Solving:

    \[P_2=\mathrm{\dfrac{13.0\:psi×15.0\cancel{mL}}{7.5\cancel{mL}}=26\:psi} \nonumber \]

    It was more difficult to estimate well from the P-V graph, so (a) is likely more inaccurate than (b) or (c). The calculation will be as accurate as the equation and measurements allow.

    Exercise \(\PageIndex{4}\)

    The sample of gas has a volume of 30.0 mL at a pressure of 6.5 psi. Determine the volume of the gas at a pressure of 11.0 psi, using:

    1. the P-V graph in Figure \(\PageIndex{6a}\)
    2. the \(\dfrac{1}{P}\) vs. V graph in Figure \(\PageIndex{6b}\)
    3. the Boyle’s law equation

    Comment on the likely accuracy of each method.

    Answer a

    about 17–18 mL

    Answer b

    ~18 mL

    Answer c

    17.7 mL; it was more difficult to estimate well from the P-V graph, so (a) is likely more inaccurate than (b); the calculation will be as accurate as the equation and measurements allow

    Breathing and Boyle’s Law

    What do you do about 20 times per minute for your whole life, without break, and often without even being aware of it? The answer, of course, is respiration, or breathing. How does it work? It turns out that the gas laws apply here. Your lungs take in gas that your body needs (oxygen) and get rid of waste gas (carbon dioxide). Lungs are made of spongy, stretchy tissue that expands and contracts while you breathe. When you inhale, your diaphragm and intercostal muscles (the muscles between your ribs) contract, expanding your chest cavity and making your lung volume larger. The increase in volume leads to a decrease in pressure (Boyle’s law). This causes air to flow into the lungs (from high pressure to low pressure). When you exhale, the process reverses: Your diaphragm and rib muscles relax, your chest cavity contracts, and your lung volume decreases, causing the pressure to increase (Boyle’s law again), and air flows out of the lungs (from high pressure to low pressure). You then breathe in and out again, and again, repeating this Boyle’s law cycle for the rest of your life (Figure \(\PageIndex{7}\)).

    Figure \(\PageIndex{7}\): Breathing occurs because expanding and contracting lung volume creates small pressure differences between your lungs and your surroundings, causing air to be drawn into and forced out of your lungs.
    This figure contains two diagrams of a cross section of the human head and torso. The first diagram on the left is labeled “Inspiration.” It shows curved arrows in gray proceeding through the nasal passages and mouth to the lungs. An arrow points downward from the diaphragm, which is relatively flat, just beneath the lungs. This arrow is labeled “Diaphragm contracts.” At the entrance to the mouth and nasal passages, a label of P subscript lungs equals 1 dash 3 torr lower” is provided. The second, similar diagram, which is labeled “Expiration,” reverses the direction of both arrows. Arrows extend from the lungs out through the nasal passages and mouth. Similarly, an arrow points up to the diaphragm, showing a curved diaphragm and lungs reduced in size from the previous image. This arrow is labeled “Diaphragm relaxes.” At the entrance to the mouth and nasal passages, a label of P subscript lungs equals 1 dash 3 torr higher” is provided.

     

    Moles of Gas and Volume: Avogadro’s Law

    The Italian scientist Amedeo Avogadro advanced a hypothesis in 1811 to account for the behavior of gases, stating that equal volumes of all gases, measured under the same conditions of temperature and pressure, contain the same number of molecules. Over time, this relationship was supported by many experimental observations as expressed by Avogadro’s law: For a confined gas, the volume (V) and number of moles (n) are directly proportional if the pressure and temperature both remain constant.

    In equation form, this is written as:

    \[V∝n\textrm{ or }V=k×n\textrm{ or }\dfrac{V_1}{n_1}=\dfrac{V_2}{n_2} \nonumber \]

    Mathematical relationships can also be determined for the other variable pairs, such as P versus n, and n versus T.

    Visit this interactive PhET simulation to investigate the relationships between pressure, volume, temperature, and amount of gas. Use the simulation to examine the effect of changing one parameter on another while holding the other parameters constant (as described in the preceding sections on the various gas laws).

    The Ideal Gas Law

    To this point, four separate laws have been discussed that relate pressure, volume, temperature, and the number of moles of the gas:

    • Boyle’s law: PV = constant at constant T and n
    • Amontons’s law: \(\dfrac{P}{T}\) = constant at constant V and n
    • Charles’s law: \(\dfrac{V}{T}\) = constant at constant P and n
    • Avogadro’s law: \(\dfrac{V}{n}\) = constant at constant P and T

    Combining these four laws yields the ideal gas law, a relation between the pressure, volume, temperature, and number of moles of a gas:

    \[PV=nRT \nonumber \]

    where P is the pressure of a gas, V is its volume, n is the number of moles of the gas, T is its temperature on the kelvin scale, and R is a constant called the ideal gas constant or the universal gas constant. The units used to express pressure, volume, and temperature will determine the proper form of the gas constant as required by dimensional analysis, the most commonly encountered values being 0.08206 L atm mol–1 K–1 and 8.3145 kPa L mol–1 K–1.

    The ideal gas law is easy to remember and apply in solving problems, as long as you use the proper values and units for the gas constant, R.

    Gases whose properties of P, V, and T are accurately described by the ideal gas law (or the other gas laws) are said to exhibit ideal behavior or to approximate the traits of an ideal gas. An ideal gas is a hypothetical construct that may be used along with kinetic molecular theory to effectively explain the gas laws as will be described in a later module of this chapter. Although all the calculations presented in this module assume ideal behavior, this assumption is only reasonable for gases under conditions of relatively low pressure and high temperature. In the final module of this chapter, a modified gas law will be introduced that accounts for the non-ideal behavior observed for many gases at relatively high pressures and low temperatures.

    The ideal gas equation contains five terms, the gas constant R and the variable properties P, V, n, and T. Specifying any four of these terms will permit use of the ideal gas law to calculate the fifth term as demonstrated in the following example exercises.

    Example \(\PageIndex{5}\): Using the Ideal Gas Law

    Methane, CH4, is being considered for use as an alternative automotive fuel to replace gasoline. One gallon of gasoline could be replaced by 655 g of CH4. What is the volume of this much methane at 25 °C and 745 torr?

    Solution
    Exercise \(\PageIndex{5}\)

    Calculate the pressure in bar of 2520 moles of hydrogen gas stored at 27 °C in the 180-L storage tank of a modern hydrogen-powered car.

    Answer

    350 bar

     

    If the number of moles of an ideal gas are kept constant under two different sets of conditions, a useful mathematical relationship called the combined gas law is obtained: \(\dfrac{P_1V_1}{T_1}=\dfrac{P_2V_2}{T_2}\) using units of atm, L, and K. Both sets of conditions are equal to the product of n × R (where n = the number of moles of the gas and R is the ideal gas law constant).

    Example \(\PageIndex{6}\): Using the Combined Gas Law

    When filled with air, a typical scuba tank with a volume of 13.2 L has a pressure of 153 atm (Figure \(\PageIndex{8}\)). If the water temperature is 27 °C, how many liters of air will such a tank provide to a diver’s lungs at a depth of approximately 70 feet in the ocean where the pressure is 3.13 atm?

    Figure \(\PageIndex{8}\): Scuba divers use compressed air to breathe while underwater. (credit: modification of work by Mark Goodchild)
    This photograph shows a scuba diver underwater with a tank on his or her back and bubbles ascending from the breathing apparatus.

    Letting 1 represent the air in the scuba tank and 2 represent the air in the lungs, and noting that body temperature (the temperature the air will be in the lungs) is 37 °C, we have:

    \[\dfrac{P_1V_1}{T_1}=\dfrac{P_2V_2}{T_2}⟶\mathrm{\dfrac{(153\:atm)(13.2\:L)}{(300\:K)}=\dfrac{(3.13\:atm)(\mathit{V}_2)}{(310\:K)}} \nonumber \]

    Solving for V2:

    \[V_2=\mathrm{\dfrac{(153\cancel{atm})(13.2\:L)(310\cancel{K})}{(300\cancel{K})(3.13\cancel{atm})}=667\:L} \nonumber \]

    (Note: Be advised that this particular example is one in which the assumption of ideal gas behavior is not very reasonable, since it involves gases at relatively high pressures and low temperatures. Despite this limitation, the calculated volume can be viewed as a good “ballpark” estimate.)

    Exercise \(\PageIndex{6}\)

    A sample of ammonia is found to occupy 0.250 L under laboratory conditions of 27 °C and 0.850 atm. Find the volume of this sample at 0 °C and 1.00 atm.

    Answer

    0.193 L

    The Interdependence between Ocean Depth and Pressure in Scuba Diving

    Whether scuba diving at the Great Barrier Reef in Australia (shown in Figure \(\PageIndex{9}\)) or in the Caribbean, divers must understand how pressure affects a number of issues related to their comfort and safety.

    Figure \(\PageIndex{9}\): Scuba divers, whether at the Great Barrier Reef or in the Caribbean, must be aware of buoyancy, pressure equalization, and the amount of time they spend underwater, to avoid the risks associated with pressurized gases in the body. (credit: Kyle Taylor).
    This picture shows colorful underwater corals and anemones in hues of yellow, orange, green, and brown, surrounded by water that appears blue in color.

    Pressure increases with ocean depth, and the pressure changes most rapidly as divers reach the surface. The pressure a diver experiences is the sum of all pressures above the diver (from the water and the air). Most pressure measurements are given in units of atmospheres, expressed as “atmospheres absolute” or ATA in the diving community: Every 33 feet of salt water represents 1 ATA of pressure in addition to 1 ATA of pressure from the atmosphere at sea level. As a diver descends, the increase in pressure causes the body’s air pockets in the ears and lungs to compress; on the ascent, the decrease in pressure causes these air pockets to expand, potentially rupturing eardrums or bursting the lungs. Divers must therefore undergo equalization by adding air to body airspaces on the descent by breathing normally and adding air to the mask by breathing out of the nose or adding air to the ears and sinuses by equalization techniques; the corollary is also true on ascent, divers must release air from the body to maintain equalization. Buoyancy, or the ability to control whether a diver sinks or floats, is controlled by the buoyancy compensator (BCD). If a diver is ascending, the air in his BCD expands because of lower pressure according to Boyle’s law (decreasing the pressure of gases increases the volume). The expanding air increases the buoyancy of the diver, and she or he begins to ascend. The diver must vent air from the BCD or risk an uncontrolled ascent that could rupture the lungs. In descending, the increased pressure causes the air in the BCD to compress and the diver sinks much more quickly; the diver must add air to the BCD or risk an uncontrolled descent, facing much higher pressures near the ocean floor. The pressure also impacts how long a diver can stay underwater before ascending. The deeper a diver dives, the more compressed the air that is breathed because of increased pressure: If a diver dives 33 feet, the pressure is 2 ATA and the air would be compressed to one-half of its original volume. The diver uses up available air twice as fast as at the surface.

     

    Standard Conditions of Temperature and Pressure

    We have seen that the volume of a given quantity of gas and the number of molecules (moles) in a given volume of gas vary with changes in pressure and temperature. Chemists sometimes make comparisons against a standard temperature and pressure (STP) for reporting properties of gases: 273.15 K (0.00 °C) and 1 atm (101.325 kPa). At STP, an ideal gas has a volume of about 22.4 L—this is referred to as the standard molar volume (Figure \(\PageIndex{10}\)).

    Figure \(\PageIndex{10}\): Since the number of moles in a given volume of gas varies with pressure and temperature changes, chemists use standard temperature and pressure (273.15 K and 1 atm or 101.325 kPa) to report properties of gases.
    This figure shows three balloons each filled with H e, N H subscript 2, and O subscript 2 respectively. Beneath the first balloon is the label “4 g of He” Beneath the second balloon is the label, “15 g of N H subscript 2.” Beneath the third balloon is the label “32 g of O subscript 2.” Each balloon contains the same number of molecules of their respective gases.

    Summary

    The behavior of gases can be described by several laws based on experimental observations of their properties. The pressure of a given amount of gas is directly proportional to its absolute temperature, provided that the volume does not change (Amontons’s law). The volume of a given gas sample is directly proportional to its absolute temperature at constant pressure (Charles’s law). The volume of a given amount of gas is inversely proportional to its pressure when temperature is held constant (Boyle’s law). Under the same conditions of temperature and pressure, equal volumes of all gases contain the same number of molecules (Avogadro’s law).

    The equations describing these laws are special cases of the ideal gas law, PV = nRT, where P is the pressure of the gas, V is its volume, n is the number of moles of the gas, T is its kelvin temperature, and R is the ideal (universal) gas constant.

    Key Equations

    • PV = nRT

    Summary

    absolute zero
    temperature at which the volume of a gas would be zero according to Charles’s law.
    Amontons’s law
    (also, Gay-Lussac’s law) pressure of a given number of moles of gas is directly proportional to its kelvin temperature when the volume is held constant
    Avogadro’s law
    volume of a gas at constant temperature and pressure is proportional to the number of gas molecules
    Boyle’s law
    volume of a given number of moles of gas held at constant temperature is inversely proportional to the pressure under which it is measured
    Charles’s law
    volume of a given number of moles of gas is directly proportional to its kelvin temperature when the pressure is held constant
    ideal gas
    hypothetical gas whose physical properties are perfectly described by the gas laws
    ideal gas constant (R)
    constant derived from the ideal gas equation R = 0.08226 L atm mol–1 K–1 or 8.314 L kPa mol–1 K–1
    ideal gas law
    relation between the pressure, volume, amount, and temperature of a gas under conditions derived by combination of the simple gas laws
    standard conditions of temperature and pressure (STP)
    273.15 K (0 °C) and 1 atm (101.325 kPa)
    standard molar volume
    volume of 1 mole of gas at STP, approximately 22.4 L for gases behaving ideally

    This page titled 7.2: Relating Pressure, Volume, Amount, and Temperature- The Ideal Gas Law is shared under a CC BY license and was authored, remixed, and/or curated by OpenStax.