Topic 1 · Lesson 4 of 6
Straight-line graphs and gradients
Straight-line graphs: why physicists love them
A graph uses all your readings together, and smooths out random error in a way that a single calculation cannot. The most useful graph is a straight line, because you can tell by eye whether points lie on it, and its gradient and intercept are easy to measure and usually equal something physical.
A graph also defeats some systematic errors. In the graph below, every extension was measured with a 3 mm zero error. The line no longer goes through the origin, but it is exactly parallel to the true line, so a gradient-based result is unaffected. A non-zero intercept where you expected zero is the classic sign of a systematic error.
Linearising: getting a straight line from a curved law
Most physics laws are not of the form to begin with. The trick is to rearrange the equation so that it matches , then decide what to plot on each axis.
How to choose the axes
- Step 1: Write down the equation, with the two variables you measured (one you changed, one that responded).
- Step 2: Rearrange so that one side is a function of the dependent variable only, and the other side is (constant) × (function of the independent variable), plus a constant if there is one.
- Step 3: Match to : is what you plot up, is what you plot across, is the gradient and is the intercept.
- Step 4: Write down what the gradient (or intercept) equals, then make the unknown the subject.
For a pendulum, . Square both sides: . Compare with : plot up and across; the graph is a straight line through the origin with gradient , so . The diagram below shows how a curve becomes a straight line.
Other examples you will meet: for free fall from rest, , so against has gradient ; for a cell, , so against has gradient and intercept .
Gradients, error bars and worst lines
To measure a gradient, draw a large triangle on the best-fit line, covering at least half the line, and read the coordinates of its corners from points on the line (not from your data points, unless they happen to sit exactly on the line). Gradient = change in ÷ change in , with units.
An error bar is a line through a plotted point showing its uncertainty, ± the uncertainty in each direction. The best-fit line should pass through, or very close to, every error bar. A worst line is the steepest, or the shallowest, straight line that still passes through every error bar. The uncertainty in the gradient is then
and the percentage uncertainty in the gradient is this divided by the best gradient. The same method gives the uncertainty in an intercept.
Worked example
G from a graph, with its uncertaintytop grade
A student measures for five lengths of pendulum; the graph above shows the results with error bars of ±0.12 s². Find and its uncertainty.
Show solutionHide solution
- Best line: from to , gradient s² m⁻¹.
- Worst lines through all the error bars have gradients 4.28 and 3.72 s² m⁻¹. The larger difference from the best is s² m⁻¹.
- Percentage uncertainty in gradient: .
- m s⁻². Dividing by the gradient keeps the same percentage uncertainty, 7.2%, so m s⁻².
- m s⁻². Percentage difference from 9.81 is 0.4%, much less than 7%, so the result agrees with the accepted value.
Practise this topic
Both are part of Premium.