Boyle's Law
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.
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:
- A glass tube bent into a J-shape, with one short arm sealed at the top and one long arm open to the atmosphere.
- A fixed amount of air was trapped inside the sealed short arm (the gas being studied). Crucially, no molecules could escape, so the total number remained constant.
- Mercury was poured into the long open arm. As mercury was added, its weight pushed down on the trapped air, compressing it.
- At each stage, Boyle measured two things: the new (smaller) volume of the trapped air column, and the height of mercury in the open arm (which directly indicates the pressure applied).
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.
The Statement of the Law
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
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).
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.
What Is the Constant k?
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 |
|---|---|---|---|
| atm | Litres (L) | L·atm | Most intro chemistry problems |
| Pascals (Pa) | m³ | Pa·m³ = Joules | SI units, directly energy |
| mmHg or torr | mL or L | mmHg·L | Lab-based measurements |
| bar | dm³ (= L) | bar·L | European and IUPAC problems |
| kPa | L | kPa·L | IB 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:
- Start with $PV = nRT$, where $R$ is the universal gas constant (8.314 J/(mol·K) or 0.0821 L·atm/(mol·K)).
- 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.
- If $PV$ equals a fixed number, then $PV$ itself is constant. Call that constant $k$.
- 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$.
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.
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.
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.
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.
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?
- You have the same number of molecules, all moving at the same average speed (since temperature has not changed).
- The container is now smaller, so molecules have less space to travel.
- Each molecule reaches a wall sooner, because there is less distance to cross.
- Each molecule collides with walls more often per second.
- More collisions per second means more force delivered to the walls per second.
- More force per unit area means higher pressure.
Smaller volume leads to higher collision frequency, which leads to higher pressure. That is Boyle's Law explained entirely from molecular motion.
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:
- Low pressure: Molecules are far apart, so intermolecular forces are too weak to matter, and the molecules' own volume is negligible.
- High temperature: Molecules move so fast that even if attractive forces act, molecules zoom past before those forces can take effect.
Deviations at High Pressure
As pressure increases dramatically, two things go wrong with ideal gas assumptions:
- Molecular volume is no longer negligible. At high pressure, gas is packed into small space, but molecules themselves still occupy room. The available empty space is less than the container's total volume. The gas resists compression more strongly than ideal predictions.
- Intermolecular forces become significant. When molecules are forced close together, van der Waals forces (attraction and repulsion) can no longer be ignored. Attraction pulls molecules closer than expected, effectively reducing pressure. Repulsion at very close range pushes back against compression, effectively increasing pressure.
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.
The Boyle Temperature
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 atm | mmHg or torr | = 760 mmHg = 760 torr |
| 1 atm | Pascals | = 101,325 Pa = 101.325 kPa |
| 1 atm | bar | = 1.01325 bar |
| 1 bar | Pascals | = 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 mL | cm³ | = 1 cm³ |
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
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.
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.