๐Ÿฆ– Bellaziraptor

Unit 2 ยท Lab

Boyle’s law and work from a PV curve

Measure how the pressure of a trapped gas depends on its volume, linearize the result to prove it is a genuine inverse relationship, then integrate your own data to find the work done compressing it. One afternoon, one syringe, and every idea in the unit shows up.

~60 minutes ยท equipment: minimal

Contents

  1. Research question
  2. Theory
  3. Materials
  4. Safety
  5. Procedure
  6. Data table
  7. Analysis
  8. Sample data & worked analysis
  9. Error analysis
  10. Conclusion questions
  11. Extensions

Research question

For a fixed quantity of gas held at constant temperature, how does absolute pressure depend on volume โ€” and how much work is required to compress it?

Hypothesis to test: P ∝ 1/V, so a graph of P against 1/V should be a straight line through the origin with slope nRT.

Theory

Starting from PV = nRT, hold n and T fixed and the right-hand side is a constant:

PV = constant   ⇒   P = (nRT) · 1V Plotting P vs 1/V turns a hyperbola into a line โ€” and a straight line is something your eye can actually check.

A curved graph is weak evidence: many different relationships produce curves that look alike. Linearizing is the whole method. If P vs 1/V comes out straight, the inverse relationship is confirmed; if it bends, it is not.

The work done on the gas is the area under the PV curve:

Won = −∫ViVf P dV    and for an isothermal process    Won = −nRT ln(VfVi)

You will compute this two ways โ€” numerically from your measured points, and analytically from the formula โ€” and see whether they agree. That comparison is the real payoff of the lab.

Materials

Two versions. Do whichever your equipment allows; the analysis is identical.

Version A โ€” with a pressure sensor (preferred)

Version B โ€” no sensor, using known masses

In version B, pressure is not measured โ€” it is computed from the force balance on the plunger:

P = Patm + mgA A = πdยฒ/4 for the plunger. Look up the day’s local barometric pressure โ€” do not assume exactly 101.3 kPa.
push pressure sensor trapped gas: V read off the graduations keep tubing short โ€” it adds dead volume
Version A. The tubing and sensor cavity hold gas too โ€” that extra “dead volume” is the main systematic error in this experiment, and part 4 of the analysis measures it.

Safety

Procedure

  1. Record the ambient temperature and, if you have a barometer or a weather app, the local atmospheric pressure. Convert the temperature to kelvin immediately so it is not forgotten later.
  2. Draw the plunger to 30.0 mL with the syringe open, then connect it to the sensor (version A) or cap it (version B). The gas is now sealed.
  3. With the plunger at rest, record the starting pressure. It should be close to atmospheric โ€” if it is not, your seal is leaking. Fix that before continuing.
  4. Compress to the next volume on your list. Hold it steady and wait 10–15 seconds before recording the pressure. See the callout below โ€” this step is the difference between a good data set and a bad one.
  5. Record pressure and volume. Repeat for volumes of 25, 20, 17.5, 15, 12.5, and 10 mL.
  6. Now reverse: let the plunger back out through the same volumes, recording pressure again. Comparing the two sweeps reveals friction and leaks.
  7. Repeat the entire run three times and average. If run 3 reads systematically lower than run 1 at every volume, you have a slow leak.
The step everyone skips

Compressing a gas quickly is adiabatic, not isothermal โ€” the gas heats up and reads high, exactly as described on the first law page. Waiting 10–15 seconds lets that extra energy leak out through the syringe walls so the gas returns to room temperature. Skip the wait and your points will sit systematically above the true isotherm, and the run will not linearize cleanly.

That failure mode is itself a nice observation: watch the pressure reading drift downward for a few seconds after each compression. You are watching a process go from adiabatic to isothermal in real time.

Data table

Print this page or copy the table. Absolute pressure, not gauge.

Ambient temperature: ________ °C = ________ K    Atmospheric pressure: ________ kPa

V (mL) 1/V (mL−1) P run 1 (kPa) P run 2 (kPa) P run 3 (kPa) P avg (kPa) PV (kPa·mL)
30.00.0333
25.00.0400
20.00.0500
17.50.0571
15.00.0667
12.50.0800
10.00.1000
The last column is a running sanity check: if Boyle’s law holds, every entry should be the same number to within a few percent.

Analysis

1. The raw PV curve

Plot P (vertical) against V (horizontal). You should get a hyperbola falling to the right โ€” the isotherm from the graph gallery, this time made of your own measurements.

2. Linearize

Plot P against 1/V and fit a straight line. Report the slope with units and the vertical intercept.

3. Extract the amount of gas

Convert the slope to SI (1 kPa·mL = 10−3 J) and solve:

n = slopeRT Then N = nNA gives the number of molecules, and m = nM with Mair ≈ 0.029 kg/mol gives the mass of air you trapped.

Check it against the direct calculation n = PV/RT using your starting state. The two should agree closely โ€” if they do not, suspect the temperature or a unit conversion.

4. Find the dead volume

The syringe graduations do not include the gas sitting in the nozzle, tubing, and sensor cavity. Calling that extra volume Vd, the true relation is

P(Vread + Vd) = nRT

which is why a plot against 1/Vread shows a small positive intercept and a slight bend. To measure Vd, try adding a trial value to every volume and re-plotting; the value that makes the line straightest and drives the intercept to zero is your dead volume. A few tenths of a millilitre up to a couple of millilitres is typical.

5. Work from the area โ€” numerically

Use the trapezoidal rule on your own PV points. For consecutive points,

Wby ≈ Σ Pi + Pi+12 (Vi+1Vi) Each term is the area of one trapezoid under the curve. Watch your units: kPa·mL = 10−3 J.

Compute the total for the compression from 30.0 mL down to 10.0 mL. Since the gas is being compressed, Won is positive and equals that area.

Calculus corner

Because the curve is convex (it bends upward), the trapezoidal rule overestimates the true area โ€” each straight chord sits above the curve. With seven points the error is small, but it is real and it is systematic, so it belongs in your error discussion rather than being hidden in “random uncertainty.” Taking more, closer-spaced points at the high-pressure end, where the curve bends most, shrinks it fastest.

6. Work from the formula โ€” analytically

Compare your numerical area to the isothermal prediction, using the nRT you got from the slope:

Won = −nRT ln(VfVi) With Vf < Vi the logarithm is negative, so Won comes out positive. Include the dead volume in both volumes if you measured it.

Report the percent difference between the two methods.

Sample data & worked analysis

Use this to practice the analysis before you have your own data โ€” or to check your spreadsheet is doing what you think. Taken at 22 °C (295 K).

V (mL)1/V (mL−1)P (kPa)PV (kPa·mL)
30.00.033368.52055
25.00.040081.72043
20.00.0500101.62032
17.50.0571114.52004
15.00.0667133.11997
12.50.0800156.21953
10.00.1000192.41924
The PV column drifts down by about 6% from top to bottom โ€” not random scatter, but a systematic trend. That drift is the dead volume announcing itself.
P (kPa) 1/V (mL⁻¹) 200 100 0 slope = nRT small positive intercept → dead volume
Straight to the eye, which confirms P ∝ 1/V. The intercept is about +7 kPa rather than 0 โ€” small, but consistently present, and exactly what a dead volume of roughly 1 mL produces.
Worked analysis of the sample data

Slope. Using the first and last points:

slope = 192.4 − 68.50.1000 − 0.0333 = 123.90.0667 = 1857 kPa·mL

Converting: 1857 kPa·mL = 1.857 J. (Two-point slopes are crude โ€” use a least-squares fit on the real thing.)

Amount of gas.

n = 1.857(8.31)(295) = 7.6×10−4 mol ≈ 4.6×1020 molecules, or about 22 mg of air.

Dead volume. The data are fit well by

P(V + 1.2 mL) = 2148 kPa·mL Check at V = 10.0: 2148/11.2 = 191.8 kPa, against 192.4 measured. At V = 30.0: 2148/31.2 = 68.8, against 68.5. Both within 0.5%.

With the dead volume included the corrected slope is 2148 kPa·mL, giving n = 8.8×10−4 mol โ€” about 15% higher than the uncorrected value. Systematic errors matter.

Work, numerically. Trapezoids from 10.0 to 30.0 mL:

10.0→12.5:  ยฝ(192.4+156.2)(2.5) =  435.8
12.5→15.0:  ยฝ(156.2+133.1)(2.5) =  361.6
15.0→17.5:  ยฝ(133.1+114.5)(2.5) =  309.5
17.5→20.0:  ยฝ(114.5+101.6)(2.5) =  270.1
20.0→25.0:  ยฝ(101.6+ 81.7)(5.0) =  458.3
25.0→30.0:  ยฝ( 81.7+ 68.5)(5.0) =  375.5
                            total  = 2210.8 kPa·mL = 2.21 J

So compressing from 30.0 mL to 10.0 mL requires Won = +2.21 J.

Work, analytically. Using the dead-volume-corrected constant:

Won = −(2148) ln(11.231.2) = (2148)(1.0245) = 2201 kPa·mL = 2.20 J

Percent difference: 0.5%. The numerical result is slightly higher, exactly as the convexity argument predicts. Two independent methods agreeing to half a percent is a strong result โ€” and the direction of the small disagreement is itself explained by the mathematics, which is better than agreement alone.

For scale: 2.2 J is roughly the work of lifting a 250 g apple one metre. You can feel it in your hand as you push the plunger.

Error analysis

Separate the two kinds โ€” AP rubrics award credit for knowing the difference.

SourceTypeEffect & fix
Dead volume in tubing and nozzleSystematic Every measured V is too small, so PV drifts. Fix by fitting Vd as in part 4, or by using the shortest possible tubing.
Compressing too fast (adiabatic heating)Systematic Pressures read high; the curve is steeper than the true isotherm. Fix by waiting for equilibrium at every point.
Plunger frictionSystematic, direction-dependent Makes compression readings high and expansion readings low โ€” which is why the two sweeps disagree. Average them, or lubricate the plunger.
Slow leak past the sealSystematic, grows with time Later runs read low at every volume. Detect by comparing run 1 with run 3; fix the seal rather than averaging it away.
Reading the graduationsRandom ±0.25 mL is typical, so it is worst at small volumes โ€” 2.5% at 10 mL versus 0.8% at 30 mL. Repeat and average.
Room temperature driftRandom / systematic nRT is not quite constant across a long session. Record T at the start and end.
Trapezoidal approximationSystematic Overestimates the area for a convex curve. Shrink it with more points where the curvature is greatest.
What makes this an AP-style analysis

Notice that every systematic error above has a known sign. “Human error” earns nothing on a rubric; “dead volume makes every recorded volume too small, which lowers the apparent PV product most at small volumes” earns full credit. Always state the direction of an error, not just its existence.

Conclusion questions

  1. Does your P vs 1/V graph support the hypothesis? Cite the shape and the intercept, not just “it looked straight.”
  2. Your PV column probably drifts in one direction. Which direction, and which systematic error explains that specific direction?
  3. The gas got warmer as you compressed it, yet you analyzed the data as isothermal. Justify that, referring to what you did in the procedure.
  4. Using the first law, state the sign of Q for the compression. (You did positive work on the gas and its temperature ended unchanged โ€” so where did the energy go?)
  5. Sketch your compression on a PV diagram and shade the region whose area you computed. Which page’s gallery figure does it match?
  6. If you repeated the lab with the syringe in an ice bath at 0 °C, how would the slope of your linearized graph change? By what factor, quantitatively?
  7. Estimate how much your result would change if the dead volume were twice what you measured. Is this experiment more sensitive to the dead volume or to your reading uncertainty?

Extensions

Previous← Second law & entropy BackUnit overview