Sub topic 2
Systematic and random errors
This chapter assumes you know SI units, basic algebra, and how to read a straight-line graph. You should also be comfortable with simple powers such as L squared.
Systematic and random errors
A systematic error shifts every reading in the same direction. A zero error in a vernier caliper is one example. Repeating the measurement does not remove it. A random error changes unpredictably from reading to reading, for example because of eye judgment or small vibrations. Averaging many readings reduces random error.
Mean, absolute, relative and percentage error
Take four readings of a length: 2.31, 2.35, 2.33 and 2.29 cm. The mean is 2.32 cm. The absolute error of each reading is its distance from the mean: 0.01, 0.03, 0.01 and 0.03 cm. Their average, 0.02 cm, is the mean absolute error.
The relative error is the absolute error divided by the mean: 0.02 / 2.32 = 0.0086. The percentage error is 0.86 percent.
Combining errors in sums and differences
For Z = A + B or Z = A - B, the absolute errors add: ΔZ = ΔA + ΔB. Take two masses, 50.0 ± 0.1 g and 20.0 ± 0.2 g. Their difference is 30.0 ± 0.3 g. Errors add even for a difference, because the worst case widens the range.
Combining errors in products, quotients and powers
For these forms, the relative errors add. For Z = A^p B^q, ΔZ/Z = |p| ΔA/A + |q| ΔB/B. A power multiplies the relative error. For a side of 5.0 ± 0.1 cm, the area is 25 cm² with relative error 2 × (0.1/5.0) = 0.04. So the area is 25 ± 1 cm².
Using graphs: slope, intercept and best-fit line
Plot a quantity so that the relationship is a straight line, y = mx + c. Draw a best-fit line through the middle of the points. The slope m comes from two widely spaced points on that line. The intercept c is where the line meets the y axis. To estimate the error in the slope, draw the steepest and flattest lines that still fit the points. Half the difference between their slopes is the uncertainty.
Simple pendulum: finding g and its error
For a simple pendulum, T = 2π√(L/g), so g = 4π²L/T². The relative error is Δg/g = ΔL/L + 2ΔT/T. Timing 20 oscillations and dividing by 20 shrinks the error in T.
import math
L, dL = 1.000, 0.001 # length in m and its least count
n = 20 # oscillations timed
t, dt = 40.0, 0.1 # total time in s and stopwatch least count
T = t / n
dT = dt / n
g = 4 * math.pi**2 * L / T**2
relative_error = dL / L + 2 * dT / T
dg = g * relative_error
print(f"g = {g:.2f} +/- {dg:.2f} m/s^2")The output is g = 9.87 ± 0.06 m/s².
Exercise
A pendulum has L = 0.800 ± 0.002 m and T = 1.80 ± 0.02 s. What is the percentage error in g?
Show answer
Δg/g = ΔL/L + 2ΔT/T = 0.002/0.800 + 2(0.02/1.80) = 0.0025 + 0.0222 = 0.0247, so the percentage error is about 2.5 percent.