Skip to main content
Virtual Laboratory
Physics Simulations Free · No Account Free & source-available · CC BY-NC-SA 4.0

Isothermal Gas Law (Boyle's Law)

Boyle's law states that for a fixed mass of gas at constant temperature, pressure varies inversely with volume, obeying pV = C and plotting as a straight line through the origin on a p–1/V graph. This Boyle's law simulation lets you seal a syringe, adjust volume, and compare heating, air leaks, and dead volume.

Isothermal Gas Law (Boyle's Law) — 3D Bench Preview

Interactive 3D Lab Preview

Runs right on this page in fullscreen · No account required

  • Explain the two experimental conditions for Boyle's law (coating the plunger with silicone grease to keep gas mass constant, and gripping the insulated top handle while pushing slowly to keep temperature constant) and connect isothermal pressure to molecular number density.
  • Linearize a curved p–V hyperbola into a straight p–1/V line through the origin, and determine the isothermal product constant C = pV from the slope.
  • Identify three experimental graph distortions quantitatively: barrel grip or rapid compression heats the gas and curves p–1/V upward at high pressure, plunger leaks curve p–1/V downward at high pressure, and connecting-hose dead volume V₀ shifts the V–1/p line to a negative y-intercept −V₀.

Press Esc or your browser Back button anytime to return to the guide.

Principle, Mechanism & Key Concepts

Isothermal Gas Law (Boyle's Law)

What You Will Investigate
Goal 01

Explain the two experimental conditions for Boyle's law (coating the plunger with silicone grease to keep gas mass constant, and gripping the insulated top handle while pushing slowly to keep temperature constant) and connect isothermal pressure to molecular number density.

Goal 02

Linearize a curved p–V hyperbola into a straight p–1/V line through the origin, and determine the isothermal product constant C = pV from the slope.

Goal 03

Identify three experimental graph distortions quantitatively: barrel grip or rapid compression heats the gas and curves p–1/V upward at high pressure, plunger leaks curve p–1/V downward at high pressure, and connecting-hose dead volume V₀ shifts the V–1/p line to a negative y-intercept −V₀.

When you plug a syringe tip and push the plunger inward, it gets harder to press—so why do some student p–1/V graphs curve upward at high pressure, others curve downward, and some straight lines miss the origin completely?

In 1662, Robert Boyle used a tall J-shaped glass mercury tube to show that halving the volume of trapped air at constant temperature doubles its pressure. On a modern desktop syringe-and-sensor bench, trapped air has a tiny heat capacity and dry rubber seals have microscopic gaps. Warmth from a hand gripping the barrel (around 36.5 °C, illustrative), rapid adiabatic compression in a fraction of a second, or even a 1.60 mL silicone connecting hose under the sensor (equipment setting; thermal relaxation and air-leak curves are illustrative teaching models) each leave a distinct geometric fingerprint on the graph.

At constant temperature, average molecular kinetic energy stays fixed, so gas pressure is strictly proportional to molecular number density. Any bend or offset away from a straight line through the origin is quantitative evidence of temperature drift, leaking gas, or unmeasured hose dead volume.
Isothermal Air-Column Setupp–1/V Linearization & Error CurvesInsulated handle (grip)Silicone grease16.0 mLHose V₀ = 1.60 mL100.0 kPa25.0 °CSetting: p₀ = 100 kPa · V = 8.0–20.0 mL1/V (mL⁻¹)pWarming (grip/fast) ↑IsothermalAir leak (dry) ↓No hose: pV = 1600 kPa·mL (through origin)With hose: V = C′·(1/p) − 1.60 mL (setting)
2D Visual Guide & Diagram — Isothermal Gas Law (Boyle's Law)

Cause-and-Effect Chain

01 Halve Volume Slowly
Condition: Apply silicone grease to seal the plunger, grip the insulated top handle, and slowly compress the air column from 16.0 mL to 8.0 mL (equipment settings).

Full heat exchange with the 25.0 °C surroundings keeps average molecular speed constant while molecular number density doubles (2n₀).

→ Wall collision frequency per unit area doubles, raising absolute pressure from 100.0 kPa to 200.0 kPa (preset baseline pV = 1600 kPa·mL).
02 Thermal Drift or Air Leak
Condition: Grip the syringe barrel directly with your hand, push the plunger rapidly (adiabatic work), or compress at high pressure without silicone grease.

Heating increases T on the right side of pV = nRT, whereas positive-pressure leaking reduces the trapped gas amount n (illustrative models).

→ At high pressure, the p–1/V graph bends noticeably upward when heated or downward when leaking.
03 Hose Dead-Volume Offset
Condition: Attach the connecting hose with dead volume V₀ = 1.60 mL (equipment setting) and record multiple (V, p) pairs.

Total trapped volume is V_total = V + V₀, satisfying p(V + V₀) = C′ = 1760 kPa·mL.

→ Plotting V against 1/p gives a straight line V = C′(1/p) − V₀ whose extended y-intercept directly reads −1.60 mL.

Core Formulas & Quantitative Relations

Boyle's Law (Fixed-Mass Isothermal Relation)
p₁V₁ = p₂V₂ = C (or p ∝ 1/V)

Requires constant gas mass (moles n) and constant thermodynamic temperature T. The constant C = nRT scales with both n and T. Equipment settings in this simulation: p₀ = 100.0 kPa, T₀ = 25.0 °C, V₁ = 16.0 mL, giving baseline C = 1600 kPa·mL.

Hose Dead-Volume Correction Equation
p · (V + V₀) = C′ ⇒ V = C′ · (1/p) − V₀

Here V is the syringe scale reading and V₀ = 1.60 mL (equipment setting) is the ungraduated residual volume inside the connecting hose and sensor port, matching the negative y-intercept on a V–1/p plot.

Microscopic Kinetic Pressure Relation
p = (2/3) · n₀ · E_k,avg

In an isothermal process, average translational kinetic energy E_k,avg stays constant. Reducing volume to 1/k multiplies molecular number density n₀ by k, so pressure p also multiplies by k.

Two Essential Graphs: p–1/V Curvature and V–1/p Dead-Volume Intercept

When analyzing isothermal gas graphs, check which variable sits on each axis first, then track how the slope k = nRT responds in the ideal gas law pV = nRT:

  • On a p–1/V graph, the slope of the line from the origin to any data point equals pV = nRT. If gas leaks out during compression (n decreases), the slope shrinks at large 1/V and the curve bends downward. If gripping the barrel or pushing too fast warms the gas (T increases), the slope grows at large 1/V and the curve bends upward.
  • On a V–1/p graph, a straight line that crosses the vertical axis at a negative intercept −V₀ (or the horizontal axis at a positive value) does not indicate a leak. Rewriting p(V + V₀) = C′ as V = C′(1/p) − V₀ lets you read the connecting-hose dead volume directly (V₀ = 1.60 mL, equipment setting in this simulation).
Fig. 1: p–1/V Slope k = pV = nRT1/Vp② T↑ steeper (up)① Ideal③ n↓ leak (down)Fig. 2: V–1/p Fit for Dead Volume V₀1/p (kPa⁻¹)V (mL)−V₀ = −1.60 mLV = 1760·(1/p) − 1.60 (setting)

Concept Breakdown

01

Hidden air leaks and hand warmth can quietly spoil gas-law data; two simple handling habits keep Boyle's law valid.

Protecting Both Conditions: Why Use Silicone Grease and an Insulated Handle?

Boyle's law (pV = C) applies only to a fixed mass of gas held at constant temperature. When a dry rubber plunger slides inside a glass syringe barrel under high compression (such as the equipment setting V = 8.0 mL and p = 200.0 kPa), a 100.0 kPa pressure difference across the seal forces air slowly through microscopic gaps, lowering the moles of trapped gas n. Spreading a thin coat of high-vacuum silicone grease on the plunger lip creates an airtight film that locks in the gas mass while reducing static friction lag. At the same time, human palm temperature (about 36.5 °C, illustrative) exceeds room temperature (25.0 °C, equipment setting), and pushing the plunger abruptly performs adiabatic compression work (W > 0, Q ≈ 0 ⇒ ΔU > 0). Hold only the blue insulated T-handle at the top and move the plunger slowly.

Try in the 3D bench: In Step 1, click the silicone grease tube on the left tray to lubricate the plunger. In Step 2, click the syringe barrel intentionally to trigger the red thermal-drift warning, then click the blue top handle to restore insulated handling.
02

Your eye cannot easily tell whether a downward curve follows p ∝ 1/V or p ∝ 1/V²; plotting against 1/V reveals a straight line immediately.

Linearization & Kinetic Mechanism: Why Does Halving Volume Double Pressure?

Under this simulation's 25.0 °C isothermal settings with zero hose dead volume (p₀ = 100.0 kPa), slowly compressing the air from V = 20.0 mL (p = 80.0 kPa) through 16.0 mL (100.0 kPa), 12.8 mL (125.0 kPa), 10.0 mL (160.0 kPa), and 8.0 mL (200.0 kPa) traces a smooth p–V hyperbola. Switching the horizontal axis to 1/V aligns every point onto a straight line through the origin with slope C = 1600 kPa·mL. From kinetic molecular theory, constant temperature T keeps average translational kinetic energy and average molecular speed unchanged, so each wall impact delivers the same average impulse. Halving the volume from 16.0 mL to 8.0 mL doubles molecular number density n₀, which doubles wall collisions per unit area each second and raises pressure cleanly from 100.0 kPa to 200.0 kPa.

Try in the 3D bench: In Steps 3 and 4, collect 5 steady-state data points and switch from the p–V curve to the p–1/V line. In Step 7, open the microscopic collision chamber to compare wall collision rates at 16.0 mL and 8.0 mL.
03

A short connecting tube always sits between the syringe tip and pressure sensor; ignoring it makes the apparent pV product shrink under compression.

Connecting-Hose Dead Volume V₀: Finding Hidden Air from a Shifted Line

When you enable the translucent silicone connecting hose (equipment setting dead volume V₀ = 1.60 mL), an initial scale reading of V₁ = 16.0 mL actually traps 17.60 mL of air at p₁ = 100.0 kPa, giving a true constant C′ = 1760 kPa·mL. Compressing the plunger to the 8.0 mL mark leaves a true volume of 9.60 mL and a measured pressure of 1760 / 9.60 = 183.3 kPa. Computing only the scale product p₂V₂ = 1466.7 kPa·mL yields a value well below the initial 1600 kPa·mL. Rewriting the relation as V = C′·(1/p) − V₀ and fitting on the V–1/p intercept view places the extrapolated vertical intercept cleanly at −1.60 mL, letting you measure the hose dead volume without disconnecting or filling the tube with water.

Try in the 3D bench: In Step 6, click the bottom connecting hose (or select Hose V₀) and switch the graph panel to the V–1/p fit to read the dashed vertical intercept at −1.60 mL.

Reference & Comparison Table

Comparison of syringe air-column readings across ideal isothermal, thermal-drift, air-leak, and hose dead-volume modes (equipment settings: T₀ = 25.0 °C, p₀ = 100.0 kPa, V₀ = 1.60 mL; thermal-drift and leak trends are illustrative models)
Scale Volume V (mL)Isothermal p (kPa)Apparent pV (kPa·mL)With Hose V₀ = 1.60 mL (kPa)Barrel Grip or Unsealed Trend (Illustrative)
20.080.01600.081.5Small deviation during low-pressure expansion
16.0 (initial atm)100.01600.0100.0Baseline setting: T = 25.0 °C, p = 100.0 kPa
12.8125.01600.0122.2Barrel grip warms gas (p high) / dry seal leaks (p low)
10.0160.01600.0151.7p–1/V curve visibly splits upward or downward
8.0 (high pressure)200.01600.0183.3Barrel grip p > 210 kPa (up); leak p < 165 kPa (down)
Common Misconceptions

Common Misconceptions

If the lab air conditioner holds the room at 25 °C, is pushing the syringe plunger down rapidly still an isothermal process?

No. Pushing the plunger rapidly does positive work on the trapped gas (W > 0) faster than heat can escape through the barrel wall, creating a nearly adiabatic compression. Internal energy and gas temperature spike, pushing measured pressure well above the isothermal value.

During isothermal compression, does pressure rise because gas molecules move faster and hit the walls harder?

No. Temperature determines the average translational kinetic energy of ideal gas molecules. At constant temperature, average molecular speed and average impulse per collision stay unchanged; pressure rises solely because higher number density produces more wall collisions per second.

Does using a longer connecting hose to the pressure sensor leave the inverse proportion between p and syringe reading V unaffected?

No. Air trapped inside the hose compresses and expands along with air in the barrel. A longer or wider hose adds a larger unmeasured dead volume V₀, so V vs. 1/p remains linear but no longer passes through the origin (V is not strictly inversely proportional to p).

Practice Quiz

Test your understanding with 6 diagnostic questions

Check concepts, graphs, and experimental error reasoning with immediate feedback for every choice.

Embed & Source Availability

Embed this simulation

Paste this iframe snippet into your non-commercial course page or learning platform.

Free & Source-Available (CC BY-NC-SA 4.0)

This simulation is licensed under CC BY-NC-SA 4.0 for non-commercial educational use, embedding, and adaptation with attribution.

Browse All 159 Free Labs →
Sources, Revision & Feedback

Sources, Revision & Feedback

Quiz →