4–5Working as a PhysicistCore

Graphs and Analysis

A table of readings shows what you measured. A graph shows what it means. Nearly every practical in the course ends with a straight-line graph, because a straight line turns a messy set of data into two numbers — a gradient\textbf{gradient} and an intercept\textbf{intercept} — that each have a physical meaning.

35 min Topic 1 · Working as a Physicist

What you'll be able to do

  • Plot graphs with appropriate scales, labels and lines of best fit
  • Rearrange equations into the form y=mx+cy = mx + c to identify gradient and intercept
  • Use logarithmic graphs to test for power law and exponential relationships
  • Use error bars and worst-fit lines to find the uncertainty in a gradient
1

Drawing a good graph

Label each axis with the quantity and unit, in the form "length / m". The independent variable, the one you control, goes on the xx-axis.

Choose scales so that the points fill at least half the grid in each direction, using sensible increments such as 1, 2 or 5 per square. Do not force the origin onto the graph unless it is needed.

Plot points precisely as small crosses, then draw a single smooth line of best fit\textbf{line of best fit} with roughly equal numbers of points on either side. Do not join the dots. Identify and ignore anomalous points, but say that you have done so.

Tip — When measuring a gradient, use a triangle covering more than half the line, and read coordinates from the line itself, not from data points.

2

Linearising equations

Compare the equation with y=mx+cy = mx + c. Whatever you plot on the yy-axis must match yy; whatever multiplies the xx variable is the gradient; any remaining constant term is the intercept.

For a pendulum, T=2πl/gT = 2\pi\sqrt{l/g} is not linear in ll. Squaring gives T2=4π2glT^{2} = \dfrac{4\pi^{2}}{g}l, so plotting T2T^{2} against ll gives a straight line through the origin with gradient 4π2/g4\pi^{2}/g.

For e.m.f. and internal resistance, V=ε−rIV = \varepsilon - rI is already linear: plotting VV against II gives gradient −r-r and yy-intercept ε\varepsilon.

Example 1A T2T^{2} against ll graph has gradient 4.05 s2 m−14.05\ \mathrm{s^{2}\,m^{-1}}. Find gg.
1Gradient =4π2/g= 4\pi^{2}/g.
2g=4π2/4.05=39.48/4.05g = 4\pi^{2}/4.05 = 39.48/4.05.
Answer9.75 m s−29.75\ \mathrm{m\,s^{-2}}
3

Logarithmic graphs

For a power law\textbf{power law} y=kxny = kx^{n}, taking logs gives log⁡y=nlog⁡x+log⁡k\log y = n\log x + \log k. A graph of log⁡y\log y against log⁡x\log x is a straight line with gradient nn and intercept log⁡k\log k.

For an exponential\textbf{exponential} y=y0e−λty = y_{0}e^{-\lambda t}, taking natural logs gives ln⁡y=−λt+ln⁡y0\ln y = -\lambda t + \ln y_{0}. A graph of ln⁡y\ln y against tt is a straight line with gradient −λ-\lambda.

Choosing which to use is itself a test: if ln⁡y\ln y against tt is straight, the relationship is exponential; if log⁡y\log y against log⁡x\log x is straight, it is a power law.

log⁡y=nlog⁡x+log⁡k\log y = n\log x + \log k
Power law y=kxny = kx^{n}.
ln⁡y=ln⁡y0−λt\ln y = \ln y_{0} - \lambda t
Exponential decay.
Example 1A log–log graph of yy against xx passes through (log⁡x,log⁡y)=(0.20,1.10)(\log x, \log y) = (0.20, 1.10) and (0.80,2.30)(0.80, 2.30). Find nn and kk in y=kxny = kx^{n}.
1Gradient n=(2.30−1.10)/(0.80−0.20)=2.0n = (2.30 - 1.10)/(0.80 - 0.20) = 2.0.
2Intercept: log⁡k=1.10−2.0×0.20=0.70\log k = 1.10 - 2.0 \times 0.20 = 0.70.
3k=100.70k = 10^{0.70}.
Answern=2.0n = 2.0, k=5.0k = 5.0

Tip — Logarithms have no units, but label the axis with the quantity inside, for example "ln (A / Bq)".

4

Error bars and gradient uncertainty

Error bars\textbf{Error bars} extend above and below (or either side of) each point by its absolute uncertainty. A line of best fit should pass through all or most of them.

To find the uncertainty in the gradient, draw the worst acceptable line\textbf{worst acceptable line} — the steepest or shallowest straight line that still passes through all the error bars.

The uncertainty in the gradient is the difference between the best-fit and worst-fit gradients. Its percentage uncertainty then feeds into the final result.

If a line expected to pass through the origin does not, even allowing for error bars, that indicates a systematic error — such as measuring pendulum length to the top of the bob instead of its centre.

Example 1A best-fit gradient is 4.05 s2 m−14.05\ \mathrm{s^{2}\,m^{-1}} and the worst-fit gradient is 4.25 s2 m−14.25\ \mathrm{s^{2}\,m^{-1}}. Find gg with its uncertainty.
1Gradient uncertainty =0.20= 0.20, i.e. 0.20/4.05=4.9%0.20/4.05 = 4.9\%.
2g=9.75 m s−2g = 9.75\ \mathrm{m\,s^{-2}} carries the same percentage uncertainty.
30.049×9.75=0.480.049 \times 9.75 = 0.48.
Answerg=9.7±0.5 m s−2g = 9.7 \pm 0.5\ \mathrm{m\,s^{-2}}

Equation recap

y=mx+cy = mx + c
Straight line.
log⁡y=nlog⁡x+log⁡k\log y = n\log x + \log k
Power law.
ln⁡y=ln⁡y0−λt\ln y = \ln y_{0} - \lambda t
Exponential.
Δm=∣mbest−mworst∣\Delta m = |m_{\text{best}} - m_{\text{worst}}|
Gradient uncertainty.

Common mistakes to avoid

Joining data points dot to dot.
Draw one smooth line of best fit.
Plotting TT against ll and expecting a straight line.
Plot T2T^{2} against ll to linearise.
Using a small triangle for the gradient.
Use a triangle spanning at least half the line.
Assuming the line must pass through the origin.
Only force it through if the physics requires it and the data support it.

Key takeaways

  • Label axes with quantity and unit; fill the grid; draw a line of best fit.
  • Rearrange equations to y=mx+cy = mx + c and match gradient and intercept.
  • Log–log graphs test power laws; ln⁡y\ln y–tt graphs test exponentials.
  • Error bars show each point’s uncertainty.
  • Gradient uncertainty is the difference between best and worst fit gradients.

Test yourself

Answer a few questions, then review anything you missed.

Next step

Keep practising

Start with the quiz above to check the key ideas. You can also choose another topic from the practice library.

Browse practice topics

Related lessons

All 5 lessons