PrepGo

The Ideal Gas Law - AP Physics 2: Algebra-Based Study Guide

Written by AP Content Team, Verified for 2026 AP Exams, Last updated: May 2026

Learn with study guides reviewed by top AP teachers. This guide takes about 15 minutes to read.

Getting Started

We will explore the behavior of gases, collections of countless atoms or molecules moving randomly within a container. At this scale, we are interested in how macroscopic properties like pressure and volume emerge from the microscopic chaos of particle motion. The core question is: Can we find a simple mathematical relationship that connects the pressure, volume, temperature, and amount of a gas, allowing us to predict its state?

What You Should Be Able to Do

After studying this section, you will be able to:

  • Describe the four fundamental assumptions that define an ideal gas.

  • Relate the pressure, volume, temperature, and quantity of a gas using the ideal gas law equation.

  • Interpret graphs that show the relationship between any two of the state variables (pressure, volume, temperature) when the others are held constant.

  • Explain how the concept of absolute zero arises from extrapolating a pressure-temperature graph for a gas.

Key Concepts & Mechanisms

The behavior of an ideal gas can be understood by examining the different ways we represent it: as a conceptual model of particles, as a concise mathematical formula, and as a set of predictive graphs. Each representation encodes specific information about the gas's state and behavior.

RepresentationWhat It EncodesHow to Read/Use ItTypical Pitfalls
The Conceptual ModelThe fundamental assumptions about the nature of gas particles and their interactions.Use these four assumptions to justify why the ideal gas law works and when it might fail: 1. Negligible Volume: The volume of individual particles is zero compared to the container volume. 2. Random Motion: Particles move randomly in all directions with a range of speeds. 3. Elastic Collisions: Collisions between particles and with container walls conserve kinetic energy. 4. No Intermolecular Forces: Particles only exert forces on each other during collisions.Forgetting that this is a model. Real gases have particles with volume and experience long-range attractive forces, especially at high pressure or low temperature.
The Mathematical Model (Ideal Gas Law)The quantitative relationship between a gas's macroscopic state variables.The equation is . Use it to solve for an unknown variable when the others are known. A second form, , is used when dealing with the number of individual particles instead of moles. All variables must be in SI units, especially temperature, which must be in Kelvin.Using Celsius for temperature is the most common mistake; it leads to incorrect calculations and breaks the direct proportionality. Confusing the number of moles (n) with the number of particles (N) is another frequent error.
Graphical ModelsThe proportional relationships between pairs of state variables when the amount of gas and one other variable are held constant.P vs. T (constant V): A straight line. Pressure is directly proportional to absolute temperature. V vs. T (constant P): A straight line. Volume is directly proportional to absolute temperature. P vs. V (constant T): A hyperbola. Pressure is inversely proportional to volume.Assuming all gas graphs are linear. The P vs. V relationship is an inverse curve, not a straight line. Misinterpreting the slope, which often contains information about the constant variables (e.g., the slope of a V vs. T graph is ).
The P vs. T Graph and Absolute ZeroThe theoretical limit of temperature based on the behavior of an ideal gas.For a gas at constant volume, a graph of Pressure vs. Temperature (in Celsius or Kelvin) is linear. By extending this line backward (extrapolating), we can find the temperature at which the pressure would theoretically become zero. This temperature is absolute zero.Believing that a real gas can actually reach zero pressure at this temperature. All real gases will liquefy or solidify before reaching absolute zero, at which point the ideal gas model no longer applies. The extrapolation is a theoretical tool.

Key Models & Diagrams

The ideal gas law, , is a powerful tool because it contains within it several simpler gas laws that emerge when certain variables are held constant. These relationships are most clearly visualized through graphs.

Graphical RepresentationGoverning Relationship (from )Predicted Observable
Pressure vs. Temperature (at constant Volume and Moles) Since the term in parentheses is constant, .A straight line passing through the origin if temperature is in Kelvin. The slope is proportional to the amount of gas and inversely proportional to the volume.
Volume vs. Temperature (at constant Pressure and Moles) Since the term in parentheses is constant, .A straight line passing through the origin if temperature is in Kelvin. The slope is proportional to the amount of gas and inversely proportional to the pressure.
Pressure vs. Volume (at constant Temperature and Moles) Since the term in parentheses is constant, .A hyperbolic curve. As volume increases, pressure decreases, but not linearly. Doubling the volume halves the pressure.

Key Components & Evidence

  • Pressure (P): The force exerted by gas particles colliding with the walls of their container, distributed over the area of the walls. The SI unit is the Pascal (Pa), equal to one newton per square meter (N/m²).

  • Volume (V): The three-dimensional space that the gas occupies, which is equal to the volume of its container. The SI unit is cubic meters (m³).

  • Temperature (T): A measure of the average translational kinetic energy of the particles in the gas. It must be expressed in the absolute temperature scale, Kelvin (K).

  • Moles (n): A measure of the amount of substance, where one mole contains Avogadro's number () of particles. The unit is the mole (mol).

  • Number of Particles (N): The total count of individual atoms or molecules in the gas sample. It is a dimensionless quantity.

  • Ideal Gas Constant (R): A universal proportionality constant that connects the energy, temperature, and molar scales. Its value is approximately 8.31 J/(mol·K).

  • Boltzmann Constant (k_B): A fundamental constant that relates the average kinetic energy of a particle to the absolute temperature. Its value is J/K.

  • Elastic Collisions: A key assumption of the ideal gas model where the total kinetic energy of the system is conserved during collisions between particles and with the container walls.

  • Absolute Zero (0 K): The theoretical temperature at which all classical motion of particles ceases. It is the x-intercept of a pressure-temperature graph and is equivalent to -273.15 °C.

Skill Snapshots

Causation

  • Increasing the temperature of a gas in a rigid container causes the average kinetic energy of its particles to increase, resulting in more frequent and more forceful collisions with the walls, which increases the pressure.

  • Decreasing the volume of a container holding a gas at constant temperature causes the particles to be confined in a smaller space, leading to a higher rate of collisions with the walls, which increases the pressure.

  • Adding more gas particles to a container at constant volume and temperature causes an increase in the total number of particles colliding with the walls per unit time, which increases the pressure.

Comparison

  • The ideal gas constant R relates macroscopic quantities (pressure, volume, moles), whereas the Boltzmann constant k_B relates macroscopic temperature to the energy of individual particles.

  • A graph of pressure versus absolute temperature (at constant volume) is a direct proportion (a straight line through the origin), whereas a graph of pressure versus volume (at constant temperature) is an inverse proportion (a hyperbola).

  • An ideal gas is a theoretical model where particles have no volume and no intermolecular forces, whereas a real gas consists of particles that have finite volume and experience attractive forces, causing it to deviate from ideal behavior at high pressures and low temperatures.

Change Over Time

  • Baseline: A fixed amount of ideal gas is sealed in a cylinder with a movable piston, establishing an initial pressure, volume, and temperature.

  • Change 1: If the cylinder is slowly heated while the piston is allowed to move freely (maintaining constant pressure), the gas's volume will increase in direct proportion to the increase in absolute temperature.

  • Change 2: If the piston is then locked in place and the gas is cooled, the volume will remain constant while the pressure decreases in direct proportion to the decrease in absolute temperature.

  • Continuity: Throughout both processes, the number of moles (n) of the gas inside the cylinder remains constant because the system is sealed.

Common Misconceptions & Clarifications

  1. Misconception: Temperature is the same as heat.

    • Clarification: Temperature is a property of a system—specifically, a measure of the average translational kinetic energy of its constituent particles. Heat is the process of transferring energy between systems due to a temperature difference. A gas has temperature; it does not "have" heat.
  2. Misconception: The ideal gas law is a universal law for all gases.

    • Clarification: The ideal gas law is an idealized model. It provides an excellent approximation for real gases at low pressures and high temperatures, where particles are far apart and their individual volumes and attractions are negligible. It fails when a gas is near its condensation point.
  3. Misconception: If you double the Celsius temperature, you double the pressure.

    • Clarification: The proportional relationships in the ideal gas law only work with absolute temperature (Kelvin). Doubling the temperature from 20 °C (293 K) to 40 °C (313 K) will only cause a minor increase in pressure, not double it. To double the pressure, you must double the Kelvin temperature (e.g., from 200 K to 400 K).
  4. Misconception: Pressure is a force.

    • Clarification: Pressure is defined as force per unit area (). While the pressure of a gas is caused by the forces of particle collisions, it is not a force itself. The total force on a container wall is the pressure multiplied by the area of that wall.

One-Paragraph Summary

The ideal gas law is a foundational model in physics that describes the relationship between the four macroscopic properties of a gas: pressure (P), volume (V), number of moles (n), and absolute temperature (T). Based on the assumptions that gas particles have negligible volume, move randomly, collide elastically, and exert no long-range forces, the model is expressed by the equation . This powerful formula allows for the prediction of one state variable if the others are known and explains the proportional relationships often visualized in graphs, such as the linear dependence of pressure on temperature at constant volume. By extrapolating this linear relationship to zero pressure, the concept of absolute zero (0 K) is established as the theoretical lower limit for temperature. While it is an idealization, the model is remarkably accurate for many gases under conditions of low pressure and high temperature.