You have a table of numbers. Somewhere in it is a law of physics, and your job is to get the law out. A pendulum was timed at five lengths. A cart rolled down a ramp past five photogates. A detector counted clicks every two minutes for ten minutes. None of those tables announces what it means. Stare at raw columns long enough and you can convince yourself of almost anything.
The last lesson was about attacking a problem on paper: name what you know, name what you want, find the bridge. Data is the same job with one extra difficulty. The numbers are not exact. Every one of them is a little wrong, and you need an answer anyway, plus an honest statement of how wrong the answer might be. This lesson is the toolkit: turn the table into a straight line, read the physics off the slope and the intercept, and attach an uncertainty that means something.
Slope and area are the two things a graph gives you
Start with the graph you already half-know. Plot velocity against time. Between two instants the velocity climbs by while the clock advances by , and acceleration is defined as exactly that ratio, so the slope of a – graph is the acceleration. Steeper line, bigger acceleration. A flat line means no acceleration at all.
Now cut the same graph into thin vertical strips. Over a strip so narrow that barely changes, the distance covered is , which is the height of the strip times its width, its area. Add up every strip and you get the total displacement. So the area under a – graph is the displacement. Slope and area: those two readings cover most of what any graph in a lab is for.
Read that area as a trapezium: parallel sides of s and s, height m/s, so area m. Chopping it into a triangle, a rectangle and another triangle gives the same 24 m. Use whichever shape is easier.
The same two readings work on any axes. On a force-extension graph the slope is the spring constant, since means . On a voltage-current graph the slope is the resistance. On a position-time graph the slope is the speed. Before you read anything off a graph, say out loud what its slope means physically.
Quick check
A resistor's voltage is plotted on the vertical axis against current on the horizontal axis, and the points lie on a straight line through the origin. What does the area between the line and the current axis represent?
Make the graph straight before you read it
A straight line is the only shape your eye judges reliably. You can spot one point that has strayed off a line. You cannot spot one point that has strayed off a curve, because you do not know what the curve should have been. So the first move with any dataset is to plot it in whatever variables make the expected relation a straight line.
Take the pendulum. Theory says , where is the period in seconds, the length in metres and the acceleration of free fall. Plot against and you get a gentle curve that a dozen different laws would fit about equally well. Square both sides instead:
That is with , and . Plot against and the prediction is a straight line through the origin. Its slope measures , and the fact that it comes out straight is itself evidence that the square-root law is right.
The general move: rearrange the expected relation into where and are things you can compute from your columns. Four patterns cover almost everything you will meet.
- Squared variable. is already linear in against : slope , intercept .
- Reciprocals. The thin lens equation becomes . Plot against : slope and intercept . The physics you want sits in the intercept here, not the slope.
- Power law with unknown exponent. If , take natural logs of both sides: . On a log-log plot the slope is the exponent and the intercept is .
- Exponential. If , then . On a semi-log plot ( against , with not logged) the slope is .
Those last two are different plots and telling them apart is a result in itself. A power law straightens on log-log. An exponential straightens on semi-log. If you are unsure which law you have, try both and see which one comes out straight.
Decide what the slope and the intercept mean physically before you fit anything. Half the linearising problems you will see hide the answer in the intercept, and if you only ever look at slopes you will miss them.
Worked example 1: a curve straightened, twice
A cart is released from rest on a ramp and photogates measure its speed at four positions: , , , . Find the acceleration.
Speed against position curves, so do not plot that. From rest, , so square the speeds and plot against :
, , , , all in m²/s².
Those four numbers against do lie on a line through the origin. Take the slope from the two end points, which are the furthest apart and so the least affected by the wobble in any single reading:
The slope is , so m/s². Two things to notice. The squaring was not a trick, it came from the kinematics you already know. And the line passing through the origin confirms the cart really did start from rest; a positive intercept would have meant it was given a push.
Worked example 2: the answer lives in the intercept
A converging lens forms real images. Measured object and image distances are and . Find the focal length.
Write the lens equation in straight-line form: . Compute the reciprocals.
For the first pair: and . For the second: , .
Slope first, as a check on the model:
Theory says the slope must be exactly , and it is, so the data is behaving. Now the intercept. Using the first point,
and , so m, which is 12.0 cm. If you had only hunted for a slope you would have found , a pure number with no physics in it, and missed the lens entirely.
Quick check
Terminal speeds of coffee filters are plotted as the log of speed against the log of mass, and the points lie on a line of slope 0.5. What does that say about how terminal speed depends on mass?
Worked example 3: a background that ruins the straight line
A detector watches a radioactive source and records total count rates: , , . With the source taken away it still reads from cosmic rays and the walls. Find the half-life.
Try the semi-log plot on the raw numbers first, to see the failure. , , . The drops are then , not equal, so the points are not on a line, and a plain exponential does not fit. That is the signature of an added constant.
Subtract the background, because only the source part decays: , , . Now , , . The drops are and , identical. Straight line.
The slope is
and the half-life is the time to fall by a factor of two, so and
You could have seen it without logs at all: the corrected rates halve every three minutes. The logarithm is there so the eye can check that they keep halving at the same rate all the way along.
An exponential sitting on a constant offset still looks like a decay, and its semi-log plot still slopes downwards. It is only slightly bent, and if you fit a line through it anyway you get a half-life that is too long and no warning that anything happened. Whenever a decay is measured by a detector, ask what the reading is with the source gone, and subtract it first.
Uncertainty: the number after the plus-or-minus
A measurement with no uncertainty attached is not a measurement, it is a rumour. Two different things can go wrong.
Random error scatters points on both sides of the truth. Timing by hand, you are sometimes early and sometimes late. Averaging beats it down. Systematic error shifts every point the same way: a ruler with a worn end, a stopwatch that starts late, a length measured to the top of a pendulum bob instead of its centre. Averaging does nothing to it. A thousand repeats with a bad ruler gives a beautifully precise wrong answer.
For a single measurement quoted as cm, the cm is the absolute uncertainty and the ratio , or , is the relative uncertainty. The same relation read backwards turns a percentage specification into a number: a balance good to reading kg has kg.
Repeat a measurement times and you get a spread. The standard deviation measures how far a typical single reading falls from the mean:
But you do not report a single reading, you report the mean, and the mean is better than any one reading. Its uncertainty is the standard error
Try five timings: , , , , s. The mean is s. The deviations are , and their squares sum to . Divide by to get , take the root: s. Then s. Report s.
That is also the answer to "how many trials do I need". Rearranged, . To pull a spread of s down to a standard error of s you need . A count has to be a whole number, and would leave the standard error just above target, so round up: 24 trials. Notice how brutal the square root is: cutting the uncertainty in half costs four times the work.
Carrying uncertainty through a calculation
Uncertainties combine, and they do not simply add. Two independent errors are unlikely to both be at their worst in the same direction, so you add them in quadrature, which means squaring, adding, and taking the root.
For a sum or difference , the absolute uncertainties combine:
For a product or quotient or , the relative uncertainties combine:
And a power multiplies the relative uncertainty by the exponent: if then . That last rule tells you where to spend your effort. In an error in counts double, so time twenty swings and divide by twenty before you worry about the ruler.
Worked example 4. Five pendulum timings are fitted with against and the least-squares fit reports a slope s²/m. What is , and how well do you know it?
From , the slope is , so
Since is a constant divided by , it is a quotient, and the relative uncertainty passes straight through:
Report m/s². Round the uncertainty to one significant figure, then round the value to the same decimal place. Writing claims four digits you have not earned.
One more number you will be asked for: the percent difference from an accepted value, which is just as a percentage. Here , or . Compare that with your own : the disagreement is smaller than your uncertainty, so the experiment agrees with the accepted value.
Forcing a fit through the origin because theory says the intercept is zero throws away the best warning you have. Fit both the slope and the intercept, then ask whether the intercept is consistent with zero. If a against line hits the vertical axis well above zero, every length was measured short by the same amount, and the size of that missing length is , which you can now report as a finding instead of a mistake.
Recognising that this is the technique
You are being asked a data-analysis question, and should reach for this toolkit, whenever one of these shows up.
A table of pairs and the word "plot", "graph", "slope" or "intercept". Even if the word is absent, four or five pairs in the problem statement means fit, not solve. You are not meant to substitute one pair into a formula.
A relation that is not linear, plus an unknown constant. Then the question is which combination of the variables to put on the axes. Rearrange to first and everything else follows.
An unknown exponent. "Assuming , find " always means logs of both columns, then the slope. If the independent variable appears in an exponent instead (a decay, a discharge, a cooling curve) log only the dependent variable.
A plus-or-minus anywhere in the given data. Then the answer wants an uncertainty too, and you should track relative uncertainties through the algebra rather than the absolute ones, except across sums and differences.
Words like "background", "offset", "zero error", or a description of how the measurement was made that sounds slightly wrong. Those are systematic-error problems in disguise, and the fix is either to subtract a constant before fitting or to read the constant off the intercept.
The equipment in these questions changes every time (lenses, springs, filters, counters) but the moves do not. Get the relation into a straight line, decide in advance what the slope and the intercept mean, take the slope from well-separated points, and never quote a number without saying how well you know it.
Next you will put the graph-reading half of this to work on real motion, where the slopes and areas stop being an exercise and start being positions, velocities and accelerations: Motion in One Dimension.