Boyle's Law

💡 Learning ObjectivesUnderstand Boyle's Law as the inverse relationship between pressure and volume. Learn its historical discovery, mathematical forms, and molecular explanation. Apply the law to solve quantitative problems and recognize real-world applications.

Where Did This Law Come From?

Before tackling equations, understanding the story of Boyle's Law makes the mathematics feel earned rather than arbitrary. This law was discovered through careful observation of trapped air being compressed by mercury, drop by drop, in a bent glass tube.

Robert Boyle and the 1662 Experiment

In 1662, Irish scientist Robert Boyle published The Spring of the Air and its Effects, exploring a poetic but profound idea: air behaves like a spring. Push it, and it pushes back. Release it, and it relaxes. Boyle wanted to know if this springiness followed a predictable mathematical rule. The answer, as it turned out, was yes.

✏️ Historical Detail for ExamsWhile the law carries Boyle's name, much of the experimental work was actually performed by his lab assistant, Robert Hooke (the same physicist who later gave us Hooke's Law for springs. A fitting coincidence given the "air as a spring" concept). This distinction frequently appears in exam questions.

Mariotte's Independent Discovery

In 1676, about 14 years later, French physicist Édme Mariotte independently discovered the same relationship between pressure and volume. His crucial contribution was emphasizing that temperature must remain constant for the law to work. Something Boyle had not stressed as strongly. Because of this, the law is called Mariotte's Law in France and much of Europe, while English-speaking countries know it as Boyle's Law. Same physics, different historical credit depending on geography.

The J-Tube Apparatus

Understanding Boyle's actual experimental setup reveals why the results were so clean and convincing. The apparatus was shaped like the letter J, hence its name:

Diagram: J-Tube Apparatus Setup

Figure 1: The J-tube apparatus with sealed short arm, mercury column in open arm, and trapped air above mercury. Show mercury levels at different pressures demonstrating inverse relationship.

The pattern was strikingly consistent: every time pressure doubled, volume was cut in half. Every time pressure tripled, volume dropped to one-third. This elegant inverse relationship is the heart of Boyle's Law.

⚠️ Why Mercury and Not Water?Mercury is about 13.6 times denser than water, so a short mercury column can produce enormous pressure. Using water would have required a tube over 13 times taller, making the experiment impractical. Mercury also barely evaporates at room temperature, so it wouldn't contaminate the trapped air with vapor.

The Statement of the Law

📖 Boyle's Law DefinitionAt constant temperature, and for a fixed amount of gas, the volume of the gas is inversely proportional to its pressure. Every word matters here; read it carefully and multiple times.

This statement tells you three critical things: (1) the exact type of relationship (inverse), (2) the conditions where it works (constant temperature, fixed amount of gas), and (3) which quantities are involved (pressure and volume only).

Two Essential Conditions

⚠️ Common Exam Mistake: Forgetting the Amount of GasBoyle's Law requires both temperature and the amount of gas to stay constant. Most students remember the temperature condition but forget about the gas amount. If gas molecules are added to or removed from the container, Boyle's Law fails immediately; even if temperature is perfectly steady.

Think back to Boyle's J-tube: the air was sealed inside the short arm. That seal was not a small detail; it was the physical mechanism ensuring the amount of gas never changed. Why does this matter? Pressure arises from molecular collisions with container walls. If you add more molecules, you get higher pressure from sheer population increase, not from squeezing. Boyle's Law specifically describes what happens when you squeeze the same group of molecules into a smaller space.

Understanding Inverse Proportionality

The phrase "inversely proportional" is used quickly in textbooks, but let's build real intuition for it. Direct proportionality means: double one thing, and the other doubles too. Written as $y = kx$. Inverse proportionality means: double one thing, and the other is cut in half. Triple one thing, and the other drops to one-third. Written as $y = \frac{k}{x}$, or equivalently, $xy = k$ (a constant).

✏️ Intuition-Building AnalogyImagine a fixed budget of $120 to spend on identical notebooks. The number you can buy is inversely proportional to the price per notebook. If each costs $10, you buy 12. If the price doubles to $20, you buy only 6. If it triples to $30, you buy only 4. Notice: price times quantity always equals $120. This is exactly the structure of $P \times V = k$ in Boyle's Law. Pressure is like price, volume is like quantity, and the "budget" is the fixed energy of the trapped gas.
⚠️ Do Not Confuse with Inverse Square LawBoyle's Law is simple inverse proportionality: $V$ is proportional to $\frac{1}{P}$ (first power). It is not $V$ proportional to $\frac{1}{P^2}$ (which you see in gravity and Coulomb's Law). Doubling pressure halves volume; it does not quarter it.

The Mathematical Forms

Form 1: The Proportionality Statement

The most direct translation of the words into symbols:

$$V \propto \frac{1}{P} \text{ (at constant } n \text{ and } T\text{)}$$

Form 2: The Constant Product

Multiply both sides by $P$ and you get:

$$PV = k$$

Here $k$ is a constant, but only for one specific gas sample at one specific temperature. It is not a universal constant like the speed of light.

Form 3: The Problem-Solving Form

This is the version you will use in almost every exam question. Since $PV$ always equals the same constant throughout any process where temperature and amount of gas are fixed, the initial state must equal the final state:

$$P_1 V_1 = P_2 V_2$$

Subscript 1 denotes the initial state; subscript 2 denotes the final state. Temperature and amount of gas must remain constant throughout.

📖 Why This Formula WorksSince $PV = k$ is constant throughout the process, the value of $k$ at the start must be identical to the value of $k$ at the end. Therefore, $P_1 V_1$ (which equals $k$) must equal $P_2 V_2$ (which also equals $k$). If two things both equal the same constant, they equal each other. That simple logic is the entire justification.

What Is the Constant k?

💡 k Is Not UniversalUnlike the speed of light or Avogadro's number, $k$ is not the same value for every gas or every situation. It stays constant only during one specific experiment, for one fixed sample of gas at one fixed temperature. Change the temperature or use a different amount of gas, and $k$ takes on a completely different value.

The value of $k$ depends on the amount of gas ($n$) and temperature ($T$). More molecules means more collisions, producing a larger $PV$ product. Higher temperature means faster, harder-colliding molecules, also increasing the product. So $k$ is proportional to $nT$.

The units of $k$ are simply pressure × volume. Here is a quick reference:

Pressure Unit Volume Unit Unit of k Where You See It
atmLitres (L)L·atmMost intro chemistry problems
Pascals (Pa)Pa·m³ = JoulesSI units, directly energy
mmHg or torrmL or LmmHg·LLab-based measurements
bardm³ (= L)bar·LEuropean and IUPAC problems
kPaLkPa·LIB and A-level questions

Deriving Boyle's Law from the Ideal Gas Law

Boyle's Law is not an isolated fact; it is a special case of the Ideal Gas Law: $PV = nRT$. Here is how to derive it:

  1. Start with $PV = nRT$, where $R$ is the universal gas constant (8.314 J/(mol·K) or 0.0821 L·atm/(mol·K)).
  2. In Boyle's Law, both $n$ (amount) and $T$ (temperature) are held fixed. Since $R$ is always a fixed constant, the entire right side $nRT$ becomes a fixed number throughout the process.
  3. If $PV$ equals a fixed number, then $PV$ itself is constant. Call that constant $k$.
  4. So $PV = k$, which is exactly Boyle's Law. Now you can see clearly why $k$ is proportional to $nT$: because $k$ literally equals $n$ times $R$ times $T$.
✏️ The Beauty of Nested Gas LawsBoyle's Law, Charles's Law, and Gay-Lussac's Law are not three separate things to memorize. They are all three different "slices" of the single Ideal Gas Law, each obtained by holding a different pair of variables constant. This unifying view makes the entire topic coherent rather than fragmented.

Reading the Graphs

Boyle's Law appears in several different graph types, and examiners love testing whether you recognize the law across all visual forms. Each graph below shows the same relationship from a different angle.

Graph 1: P vs V - The Rectangular Hyperbola

The most iconic Boyle's Law graph plots pressure (vertical) against volume (horizontal). The result is a curve called a rectangular hyperbola.

Why a hyperbola? Because $PV = k$ can be rewritten as $P = \frac{k}{V}$ (mathematically the same as $y = \frac{k}{x}$, the definition of a rectangular hyperbola). As volume gets very small, pressure shoots up steeply. As volume gets very large, pressure drops toward zero but never quite reaches it.

Diagram: Pressure vs Volume - Rectangular Hyperbola

Figure 2: Family of isotherms showing rectangular hyperbola curves at different temperatures. Higher temperature curves are further from origin. Both axes show asymptotic behavior (never touching axes).

Each curve is called an isotherm, representing data collected at one single fixed temperature. Run the experiment at a higher temperature, and you get a different hyperbola sitting further from the origin. Higher temperature means a larger value of $k$, pushing the whole curve outward.

✏️ Reading a Family of IsothermsThe outermost curve (furthest from the origin) is always the highest temperature. The innermost curve (closest to the origin) is always the lowest temperature. Each curve never touches either axis. Touching the vertical axis would mean zero volume (impossible), and touching the horizontal axis would mean zero pressure (impossible for gas with molecules still present).

Graph 2: P vs 1/V - The Straight Line

If you plot pressure against the reciprocal of volume ($\frac{1}{V}$ on the horizontal axis), the hyperbola becomes a straight line through the origin. This happens because $P = k \cdot \frac{1}{V}$ is just the equation of a straight line with slope $k$ and zero intercept.

This linearized plot is very useful in practice: you can read the value of $k$ directly from the slope, which is much easier and more precise than estimating from a curved graph.

Diagram: Pressure vs Reciprocal Volume - Linear Plot

Figure 3: Straight line passing through origin with slope equal to k. Show multiple isotherms at different temperatures producing parallel lines with different slopes. Label slope and intercept clearly.

Graph 3: PV vs P - Testing How Ideal a Gas Is

For a perfectly ideal gas, $PV$ is constant no matter what the pressure is, so plotting $PV$ against $P$ gives a perfectly flat horizontal line.

For a real gas, the line starts flat at low pressure, then deviates. It can dip below the ideal line at moderate pressures (when attractive forces between molecules pull them closer than expected) and rise above the ideal line at very high pressures (when the molecules' own volume becomes significant).

Diagram: PV Product vs Pressure

Figure 4: Horizontal flat line for ideal gas. Overlay real gas curves showing dip at moderate pressures (intermolecular attractions) and rise at high pressures (molecular volume effects). Label regions clearly.

💡 Preview of the Compressibility FactorThis deviation is exactly what the compressibility factor $Z = \frac{PV}{nRT}$ measures. For an ideal gas, $Z = 1$ at all pressures. For real gases, $Z$ dips below 1 at moderate pressures and rises above 1 at very high pressures. You will study this in detail with real gases and van der Waals corrections.

Graph 4: PV vs V - Another Flat Line

Similar to Graph 3, plotting $PV$ against $V$ for an ideal gas at constant temperature also gives a flat horizontal line. Since $k$ does not change no matter which variable you plot it against (as long as $T$ and $n$ are fixed), both the $PV$ vs $P$ and the $PV$ vs $V$ plots show the same flat line. This is a useful double-check: a flat line on either of these plots confirms that $PV$ is truly constant, not just coincidentally constant on one particular graph.

Diagram: PV Product vs Volume

Figure 5: Horizontal flat line for ideal gas showing constant PV across entire volume range. Include real gas deviations similar to Figure 4. Label axes clearly with examples of how PV stays constant.

Graph 5: log P vs log V - The Slope of −1

Taking logarithms of both sides of $PV = k$:

$$\log P + \log V = \log k$$

Rearranging to isolate $\log P$:

$$\log P = -1 \times (\log V) + \log k$$

This is a straight line with slope exactly −1 and vertical intercept equal to $\log k$.

Diagram: Log-Log Plot of Pressure vs Volume

Figure 6: Straight line on logarithmic scale with slope of exactly −1. Show multiple isotherms at different temperatures as parallel lines with same slope but different intercepts. Use grid lines to show log scale clearly.

⚠️ The Slope Must Be Exactly −1Students often forget the negative sign or write "negative slope" without specifying it is precisely −1. The slope of exactly −1 is the direct mathematical fingerprint of simple inverse proportionality. If you ever see a log-log plot with a slope of −1, Boyle's Law-type behavior is at play.

What Is Actually Happening at the Molecular Level?

What Does Isothermal Mean?

The word isothermal (iso = same, thermal = temperature) describes a process where temperature stays constant at every moment during the process, not just equal at start and end.

An isothermal compression means: the gas is squeezed into smaller volume while some mechanism (a large heat reservoir, or a very slow process) keeps temperature constant throughout. This is the precise condition under which Boyle's Law applies.

📖 Isothermal vs AdiabaticIn an adiabatic compression, no heat escapes at all. All work done on the gas stays inside it, raising its temperature. Boyle's Law assumes heat can escape freely so temperature stays flat. This is why Boyle's Law experiments are done slowly, giving heat time to flow out and keep temperature constant at every step.

Why Squeezing Gas Raises Its Pressure

Kinetic Molecular Theory models a gas as an enormous number of tiny particles moving randomly and constantly, bouncing off each other and container walls. Pressure is not mysterious; it is simply the combined effect of countless molecular collisions on the container walls. Every collision delivers a tiny push. With about $10^{23}$ molecules in even a small sample, these pushes add up to measurable pressure.

Diagram: Kinetic Molecular Theory - Effect of Volume Reduction on Pressure

Figure 7: Two side-by-side containers showing same number of gas molecules at different volumes. Left container larger (lower pressure, molecules spaced apart, fewer collisions per unit area). Right container smaller (higher pressure, molecules closer together, more collisions per unit area). Use arrows to show molecular movement and collision frequency. Include wall pressure indicators.

So what happens when you squeeze the container?

Smaller volume leads to higher collision frequency, which leads to higher pressure. That is Boyle's Law explained entirely from molecular motion.

⚠️ Frequency, Not Force - A Key DistinctionIn Boyle's Law, increased pressure comes from molecules hitting walls more often, not from each individual collision being harder. The force of each collision depends on molecular speed, which depends on temperature. Since temperature does not change in Boyle's Law, each collision stays equally hard. Only the collision rate increases. This is different from Gay-Lussac's Law (pressure vs temperature at constant volume), where heating makes molecules move faster, so each collision is harder. These are genuinely different molecular mechanisms.

When the Law Works and When It Breaks Down

Boyle's Law in Ideal Conditions

Boyle's Law in exact form ($PV = k$) is strictly true only for an ideal gas (a theoretical gas with zero-size molecules and no attractive or repulsive forces between them). No real gas is perfectly ideal, but many come very close under the right conditions:

Deviations at High Pressure

As pressure increases dramatically, two things go wrong with ideal gas assumptions:

Deviations at Low Temperature

At lower temperatures, molecules slow down considerably. Slower molecules spend more time near their neighbors, giving intermolecular attractive forces much more opportunity to act. As temperature keeps dropping, these attractions become increasingly important, and eventually the gas undergoes a phase change and becomes a liquid. At that point, Boyle's Law fails entirely.

⚠️ High Pressure and Low Temperature Are Both DangerousThe conditions that cause the worst deviations from Boyle's Law (high pressure and low temperature) are exactly the same conditions pushing a gas toward liquefying. This is not coincidence. Both effects come from the same underlying cause: intermolecular forces, which the ideal gas model ignores completely, become impossible to ignore when molecules are either forced very close (high pressure) or moving slowly (low temperature).

The Boyle Temperature

💡 What Is the Boyle Temperature?Every real gas has a specific temperature, called its Boyle temperature, at which it obeys Boyle's Law very well across a surprisingly wide range of pressures. At this special temperature, the effect of intermolecular attraction and the effect of finite molecular volume happen to nearly cancel each other out, making the real gas mimic ideal behavior unusually well. Above the Boyle temperature, the compressibility factor $Z$ stays close to 1 across a wide pressure range. Well below it, $Z$ deviates from 1 much more dramatically as pressure increases. You do not need to calculate Boyle temperatures yet. Just recognize the term and understand the concept, as it will come up again with van der Waals gases.

Solving Problems and Real-World Uses

Getting Units Right Before You Calculate

Before doing any numerical problem, one rule matters more than any formula: your units must be consistent. Boyle's Law works with any pressure unit and any volume unit, but you cannot mix units within the same calculation. $P_1$ and $P_2$ must be in the same unit. $V_1$ and $V_2$ must be in the same unit.

Pressure Conversions:

From To Conversion
1 atmmmHg or torr= 760 mmHg = 760 torr
1 atmPascals= 101,325 Pa = 101.325 kPa
1 atmbar= 1.01325 bar
1 barPascals= 100,000 Pa = 100 kPa

Volume Conversions:

From To Conversion
1 litre (L)millilitres or dm³= 1000 mL = 1 dm³
1 m³litres= 1000 L
1 mLcm³= 1 cm³
✏️ Best Practice Before Plugging Numbers InScan all four values ($P_1$, $V_1$, $P_2$, $V_2$) and confirm that $P_1$ and $P_2$ are in the same unit, and $V_1$ and $V_2$ are in the same unit. You do not need pressure and volume units to match each other. You only need each variable to be internally consistent across the two states.

Worked Example 1: Basic Application

Problem: A gas occupies 4.0 L at a pressure of 2.0 atm. The pressure is increased to 5.0 atm at constant temperature. What is the new volume?

Step 1: Write down what you know. $P_1 = 2.0$ atm, $V_1 = 4.0$ L, $P_2 = 5.0$ atm, $V_2 = ?$

Step 2: Write the formula. $P_1 V_1 = P_2 V_2$

Step 3: Substitute. $(2.0)(4.0) = (5.0)(V_2)$ → $8.0 = 5.0 \times V_2$

Step 4: Solve. $V_2 = \frac{8.0}{5.0} = 1.6$ L

✏️ Quick Sanity CheckPressure increased from 2.0 to 5.0 atm (a factor of 2.5). So volume must decrease by the same factor: $\frac{4.0}{2.5} = 1.6$ L. This matches! Getting into the habit of checking answers using inverse proportion logic directly, not just trusting the algebra, is a valuable skill.

Worked Example 2: Unit Conversion Required

Problem: A balloon has a volume of 600 mL at a pressure of 760 mmHg. What pressure (in atm) is needed to compress it to 250 mL at the same temperature?

Step 1: Write down what you know. $P_1 = 760$ mmHg, $V_1 = 600$ mL, $V_2 = 250$ mL, $P_2 = ?$ (answer wanted in atm)

Step 2: Handle units. Volumes are already matching (both mL). Convert $P_1$ from mmHg to atm: $\frac{760 \text{ mmHg}}{760} = 1.0$ atm

Step 3: Apply the formula. $(1.0)(600) = (P_2)(250)$

Step 4: Solve. $P_2 = \frac{600}{250} = 2.4$ atm

Real-World Applications

Breathing

Every breath you take is a live Boyle's Law demonstration. Your diaphragm, the dome-shaped muscle beneath your lungs, contracts and pulls downward when you breathe in. This increases the volume of your chest cavity and lungs. By Boyle's Law, more volume means lower pressure. Since air naturally flows from high to low pressure, outside air rushes in through your nose and mouth to equalize the difference. That is what breathing in actually is.

Breathing out is the reverse: the diaphragm relaxes and moves back up, chest volume decreases, internal pressure rises above atmospheric pressure, and air flows back out.

Diagram: Breathing and Boyle's Law

Figure 8: Two diagrams showing inhalation and exhalation. Inhalation: diaphragm contracts downward (shows increased chest volume), pressure drops inside lungs below atmospheric, air flows in through nose/mouth. Exhalation: diaphragm relaxes upward (shows decreased chest volume), pressure rises above atmospheric, air flows out. Use arrows to show air flow direction and pressure comparisons.

Syringes

Pulling back the plunger increases the volume inside the barrel. Boyle's Law tells you this drops the internal pressure. The higher external pressure pushes fluid in to fill the newly created low-pressure space. Pushing the plunger back compresses the volume, raises pressure above atmospheric, and forces fluid out.

Scuba Diving

As a diver goes deeper, water pressure increases by roughly 1 atm for every 10 metres of depth. Air spaces inside the diver's body (especially the lungs) are subject to Boyle's Law: increasing pressure would compress them, and decreasing pressure during ascent would cause them to expand.

⚠️ Why Divers Must Never Hold Their Breath While AscendingIf a diver holds their breath while swimming up, the air trapped in their lungs expands rapidly as surrounding pressure drops. This expansion can exceed what lung tissue can safely handle, causing pulmonary barotrauma (a serious injury). Divers are trained to breathe continuously while ascending, allowing expanding air to escape naturally through exhalation rather than building up dangerously inside a sealed airway.

Bicycle and Tire Pumps

A hand pump traps air in a cylinder and forces the piston down to reduce that air's volume. By Boyle's Law, the pressure shoots up. Once the pressure is high enough to overcome the pressure already inside the tire plus the valve resistance, compressed air flows in. Each pump stroke is a miniature $P_1 V_1 = P_2 V_2$ demonstration.

Cartesian Diver Toy

A Cartesian diver is a classic classroom demonstration. A small object with a trapped air pocket (like a glass dropper or sealed packet) sits inside a sealed bottle filled with water. When you squeeze the bottle, increased pressure inside compresses the air pocket in the diver. The diver now displaces less water, loses buoyancy, and sinks. Release the squeeze, pressure drops, the air pocket expands, buoyancy returns, and the diver floats back up. It is Boyle's Law and Archimedes' principle working together.

Connection to the Combined Gas Law

Boyle's Law is very useful, but it only works when temperature is perfectly constant. In many real situations and exam problems, temperature changes too. To handle those cases, Boyle's Law is combined with Charles's Law (volume proportional to temperature at constant pressure) to give the Combined Gas Law:

$$\frac{P_1 V_1}{T_1} = \frac{P_2 V_2}{T_2}$$

This applies to a fixed amount of gas where pressure, volume, and temperature can all change.

Notice what happens if you set $T_1 = T_2$ (temperature constant): the $T$ terms cancel out, leaving exactly $P_1 V_1 = P_2 V_2$. Boyle's Law pops back out as a special case. This same pattern runs throughout gas law study: the Ideal Gas Law is most general, the Combined Gas Law is one step simpler, and Boyle's, Charles's, and Gay-Lussac's laws are each special cases where one variable stays fixed. Learning to see this nested structure makes the entire topic coherent rather than fragmented.