Graphs and linearisation for practical data

Key idea: Choose graph axes from the physical model to make a straight line. Interpret its gradient and intercept with their units, and use lines consistent with the measurement allowances.

Reading settings

  • GCE A-Level H2 Physics 2027
On this page

Reading settings

Text size, line spacing and reading width for your lessons.

Text size
Line spacing
Reading width

Live preview

Take a moment to read at your own pace. Choose the text size and spacing that feel comfortable for you.

Pause after each idea, then explain it in your own words before moving on.

Narrower lines take effect when the screen has room.

Enlarged diagram

A curved graph is hard to judge by eye, but a straight line can be tested and its gradient and intercept read off. Linearising means choosing what to plot so that the physical model becomes a straight line, then turning the gradient and intercept back into physical quantities with the right units.

Choose axes from the physical model

Start with the quantities you measured and the relationship you want to test, then decide what to plot so that the fitted coefficients have a physical meaning.

For a simple pendulum at small amplitude,

T = 2π square root of (L/g) ⇒ T² = (4π²/g)L.

T is the period, L the effective pivot-to-centre-of-mass length and g the gravitational field strength. Assume g is constant and the pendulum is well approximated by a point mass on a light, inextensible suspension. A plot of T against L is curved. Squaring T gives a straight-line form whose gradient has a physical meaning.

These two plots show the same ideal illustrative model, T² = 4.00L when T is in seconds and L in metres. They are calculated, not measured. This coefficient corresponds to g ≈ 9.87 m s⁻²; the interactive lab below uses a separate illustrative data set.

Period against length: an ideal curved model

For the illustrative model T² = 4.00L (seconds and metres), T increases with L but its gradient decreases. These are calculated model values, not measured observations.

Scroll across the figure to read all labels.

For the illustrative model T² = 4.00L (seconds and metres), T increases with L but its gradient decreases. These are calculated model values, not measured observations.For the illustrative model T² = 4.00L (seconds and metres), T increases with L but its gradient decreases. These are calculated model values, not measured observations.
For the illustrative model T² = 4.00L (seconds and metres), T increases with L but its gradient decreases. These are calculated model values, not measured observations.
Open full-size graph
What to noticeIdeal small-angle pendulum model; fixed g. Calculated values, not experimental measurements.
View figure data
Figure data: Period against length: an ideal curved model
Effective length, L (m)Period, T (s)
0.100.6325
0.120.6928
0.140.7483
0.160.8000
0.180.8485
0.200.8944
0.220.9381
0.240.9798
0.261.0198
0.281.0583
0.301.0954
0.321.1314
0.341.1662
0.361.2000
0.381.2329
0.401.2649
0.421.2961
0.441.3266
0.461.3565
0.481.3856
0.501.4142
0.521.4422
0.541.4697
0.561.4967
0.581.5232
0.601.5492
0.621.5748
0.641.6000
0.661.6248
0.681.6492
0.701.6733
0.721.6971
0.741.7205
0.761.7436
0.781.7664
0.801.7889
0.821.8111
0.841.8330
0.861.8547
0.881.8762
0.901.8974
0.921.9183
0.941.9391
0.961.9596
0.981.9799
1.002.0000

Squared period against length: the same model

Squaring the period gives a straight-line trend with zero model intercept for the same ideal model. Its gradient is 4.00 s² m⁻¹, corresponding to g ≈ 9.87 m s⁻²; this does not prove that measured data have zero intercept.

Scroll across the figure to read all labels.

Squaring the period gives a straight-line trend with zero model intercept for the same ideal model. Its gradient is 4.00 s² m⁻¹, corresponding to g ≈ 9.87 m s⁻²; this does not prove that measured data have zero intercept.Squaring the period gives a straight-line trend with zero model intercept for the same ideal model. Its gradient is 4.00 s² m⁻¹, corresponding to g ≈ 9.87 m s⁻²; this does not prove that measured data have zero intercept.
Squaring the period gives a straight-line trend with zero model intercept for the same ideal model. Its gradient is 4.00 s² m⁻¹, corresponding to g ≈ 9.87 m s⁻²; this does not prove that measured data have zero intercept.
Open full-size graph
What to noticeIdeal small-angle pendulum model; fixed g. Calculated values, not experimental measurements.
View figure data
Figure data: Squared period against length: the same model
Effective length, L (m)Squared period, T² (s²)
0.100.40
0.120.48
0.140.56
0.160.64
0.180.72
0.200.80
0.220.88
0.240.96
0.261.04
0.281.12
0.301.20
0.321.28
0.341.36
0.361.44
0.381.52
0.401.60
0.421.68
0.441.76
0.461.84
0.481.92
0.502.00
0.522.08
0.542.16
0.562.24
0.582.32
0.602.40
0.622.48
0.642.56
0.662.64
0.682.72
0.702.80
0.722.88
0.742.96
0.763.04
0.783.12
0.803.20
0.823.28
0.843.36
0.863.44
0.883.52
0.903.60
0.923.68
0.943.76
0.963.84
0.983.92
1.004.00

Squaring changes the vertical quantity and its unit. It does not create more accurate measurements. For small fractional period uncertainty, Δ(T²) ≈ 2TΔ T; carry the transformed allowance into the new graph. For a larger allowance, transform the endpoints (T-Δ T)² and (T + Δ T)² while keeping the physically positive period range.

Choosing a fit and reading its gradient

Label each axis with the plotted quantity and unit. Choose simple scales that use much of the available graph paper. Include zero when it helps you interpret an intercept; you do not have to sacrifice the data range to include it on every graph.

Fit the overall trend rather than joining successive points. Inspect residuals—the differences between observations and fitted values—for a pattern or an unusual point. Investigate an apparent anomaly before excluding it. Curved residuals can indicate that a straight-line model does not describe the tested range.

Use two well-separated coordinates on the fitted line for a manual gradient:

m = (Δ Y)/(Δ X).

A large triangle reduces the relative effect of coordinate-reading uncertainty. Its corners do not need to be measured points. The gradient unit is the vertical-axis unit divided by the horizontal-axis unit; the intercept has the vertical-axis unit. Compare the physical equation with Y = mX + c before interpreting either coefficient.

Do not force a line through the origin just because the ideal equation has no intercept. First consider offsets, uncertainty and whether the model describes the apparatus. A justified zero-intercept fit and a free-intercept fit answer different questions.

Worked example 1

Turn a pendulum gradient into g

Problem

An illustrative small-angle pendulum graph has T²/s² vertically and L/m horizontally. A large triangle on its fitted line gives Δ T² = 2.40 s² and Δ L = 0.600 m. Find g.
Show full solution
  1. Calculate the gradient

    Method

    m = 4.00 s² m⁻¹.

    Reason

    The triangle uses changes on the fitted line and the axis units determine the gradient unit.

    Working

    Answer

    m = 2.40/0.600 = 4.00 s² m⁻¹
  2. Match the coefficient

    Method

    m = 4π²/g, so g = 4π²/m.

    Reason

    Compare T² = mL + c with the small-angle model; the gradient is inversely proportional to g.

    Working

    Answer

    g = 4π²/(4.00 s² m⁻¹) = 9.87 m s⁻²

Guided practice 2

Spring length against force

About 5 min

Problem

A spring in its Hooke’s-law range has L = L₀ + F/k. An illustrative graph plots total length L/cm vertically against force F/N horizontally. The gradient is 4.00 cm N⁻¹ and the intercept is 5.00 cm. Find the SI gradient and k in SI units. Use the next check to explain the intercept.

Try this before viewing the solution

Show the steps Optional working
Unit: m N⁻¹
Unit: N m⁻¹

Hints

Hint 1

Match the length unit

Convert centimetres to metres before taking the inverse gradient.
Hint 2

Compare coefficients

Write L = L₀ + (1/k)F and compare it with Y = c + mX.
Show solution step by step
  1. Convert before taking the inverse

    Method

    The SI gradient is 0.0400 m N⁻¹.

    Reason

    The plotted length is in centimetres, while k is required in newtons per metre.

    Working

    Answer

    4.00 cm N⁻¹ = 0.0400 m N⁻¹
  2. Read the coefficient and constant term

    Method

    k = 25.0 N m⁻¹ and L₀ = 5.00 cm.

    Reason

    For length against force the gradient is 1/k in SI units; the zero-force intercept is the unloaded length.

    Working

    Answer

    k = 1/0.0400 = 25.0 N m⁻¹

Check your understanding 1 What does the spring intercept mean?

For the graph above, explain the 5.00 cm intercept. Would a graph of extension against force have the same intercept? State when the straight-line model applies.

Show answer

The length intercept is the unloaded length L₀ = 5.00 cm. Extension is x = L-L₀, so its ideal force graph has zero extension at zero force. Both have the same SI gradient 1/k when length or extension is vertical and force horizontal. The line applies within the spring’s Hooke’s-law range. Compare your answer for the quantity on the vertical axis, the zero-force value and the range of proportional extension.

Check your understanding 2 Transfer to a discharging cell

For constant e.m.f. E and internal resistance r, V = E-rI. An illustrative graph of terminal p.d. V/V against current I/A has gradient -0.80 V A⁻¹ and intercept 1.50 V. Find E and r. Would a positive gradient agree with this model for positive discharge current?

Unit: V
Unit: Ω
Does a positive gradient agree with positive r and discharge current?

Show answer

E = 1.50 V and r = -m = 0.80 Ω, since V A⁻¹ = Ω. A positive gradient would imply negative r in this model; check polarity, current direction, measurements and model conditions rather than accepting that as an ordinary positive resistance. Changes in temperature or cell condition can make constant E and r unsuitable.

Compare lines within vertical allowances

Check your understanding 3 Predict before moving the line

If a straight line crosses every vertical allowance, must it be a limiting line with the largest or smallest possible gradient?

Must this be a limiting line?

Show answer

No. Many gradients may cross all the allowances with a suitable intercept. A limiting line reaches the steepest or shallowest gradient that still crosses every allowance; an arbitrary crossing line can lie inside that range.

Try an acceptable line and a limiting line

The lab supplies its own illustrative observations. Adjust the solid line to the overall trend. Select Include zero on both axes to see the intercept, then compare the dotted unweighted least-squares reference. That reference minimises squared vertical residuals; it does not weight observations by their different allowances.

Turn on Explore a limiting line. Adjust the dashed trial until it crosses every vertical allowance and approaches either end of the displayed allowed-gradient range. Drag the ends, or focus a handle and use the arrow keys; Shift moves faster. Explain why a line can cross every allowance yet still lie inside the limiting gradients.

Pendulum: T² against l. Small-angle pendulum: T² = (4π²/g)l; l is pivot-to-centre-of-mass length. A positive gradient is required. Fixed x values; separate vertical allowances; free intercept. These bounds do not include x uncertainty or shared calibration errors and are not statistical confidence limits. Your solid line: gradient 2.82 s^2 m^{−1}, intercept 0.998 s^2. Actual illustrative observations (x, y ± allowance): 0.200 m, 0.8197 s^2 ± 0.0541 s^2; 0.350 m, 1.390 s^2 ± 0.0723 s^2; 0.500 m, 2.001 s^2 ± 0.0904 s^2; 0.650 m, 2.655 s^2 ± 0.108 s^2; 0.800 m, 3.227 s^2 ± 0.127 s^2; 0.950 m, 3.823 s^2 ± 0.145 s^2.

More settings
Gradient of your line
2.82 s2 m−1
y-intercept of your line
0.998 s2
Model, units and fit condition
Small-angle pendulum: T² = (4π²/g)l; l is pivot-to-centre-of-mass length. A positive gradient is required. The solid line misses at least one vertical allowance; its gradient allowance is unavailable.
Illustrative data: x, y ± vertical allowance
0.200 m: 0.8197 s2 ± 0.0541 s2; 0.350 m: 1.390 s2 ± 0.0723 s2; 0.500 m: 2.001 s2 ± 0.0904 s2; 0.650 m: 2.655 s2 ± 0.108 s2; 0.800 m: 3.227 s2 ± 0.127 s2; 0.950 m: 3.823 s2 ± 0.145 s2
From your line
g = 14.0 m s⁻²

Try this

0 of 4 done
  1. Drag the ends of the line until it is a good best fit. (not done yet)

  2. Bring the trial line close to either limiting gradient while crossing every vertical allowance. (not done yet)

  3. Use the pendulum data to find g within 2% of 9.81 m s⁻². (not done yet)

  4. Use the cell data to find the e.m.f. from the y-intercept, within 0.03 V. (not done yet)

Check your understanding 4 Explain what your line shows

Record your best-fit gradient and the allowed-gradient range from the lab. Explain how you decided whether your dashed line was acceptable and whether it was limiting. If the lab is unavailable, sketch a set of vertical allowances and describe the two tests.

Show answer

An acceptable line crosses every vertical allowance. A limiting line does that and reaches either end of the feasible gradient range. Moving one end changes both gradient and intercept, so check every allowance again. Compare your explanation for both tests and the range shown by your own lab trial; the lab’s data differ from the ideal worked example. These limits use exact horizontal coordinates and separate vertical allowances, rather than a statistical confidence interval.

This simplified construction treats x as exact, allows a free intercept and treats each vertical allowance separately. The lab calculates the full feasible slope range using all observations. If you report a symmetric allowance around a compatible best-fit gradient, use the larger distance to the minimum or maximum slope. Trying just one arbitrary acceptable line can understate that allowance.

These limits are not statistical confidence intervals and do not account for horizontal uncertainty or shared calibration errors. Follow the method stated in your practical task, and explain the assumptions behind your own estimate. This activity develops graph judgement; it does not replace collecting real data or using a spreadsheet.

Check your understanding 5 Choose a symmetric gradient allowance

For a T² against L graph, a compatible best-fit gradient is 4.10 s² m⁻¹. The feasible gradients run from 3.84 to 4.23 s² m⁻¹. Find the smallest symmetric allowance about 4.10 that covers the full range, and calculate g from the best-fit gradient.

Unit: s² m⁻¹
Unit: m s⁻²

Show answer

The distances are 4.10-3.84 = 0.26 and 4.23-4.10 = 0.13 s² m⁻¹. Use ±0.26 s² m⁻¹ around 4.10 to cover both ends. Half the feasible range, 0.195, would be centred at 4.035 instead and would not cover the lower end when centred at 4.10. The best-fit estimate is g = 4π²/4.10 = 9.63 m s⁻².

Other ways to linearise a model

Choose a transformation from a proposed model and define the transformed quantities before plotting. A logarithm acts on a positive dimensionless ratio. Here x_ref and y_ref are fixed positive reference quantities with the same units as x and y.

ModelLinear plot: vertical against horizontalGradient
y = kxⁿ, with known ny against xⁿk, with unit [y]/[x]ⁿ
y = y₀e^kx, with y,y₀ > 0ln(y/y₀) against xk, with unit [x]⁻¹
y = axⁿ, with unknown n and positive x,yln(y/y_ref) against ln(x/x_ref)n, dimensionless
y = a/x + b, with x ≠ 0y against 1/xa, with unit [y][x]

For the power law, the intercept is ln(a x_refⁿ/y_ref). Changing reference quantities changes the intercept but not n. With natural logarithms the exponential gradient is k; using base-10 logarithms instead gives k/ln 10. State the base consistently. A logarithmic power-law gradient still gives n when both axes use the same base.

For small uncertainty, Δ ln(y/y_ref) ≈ Δ y/y, so a constant absolute y allowance generally does not stay constant after a log transformation. If an interval includes zero, its logarithm is not a valid finite transformed interval. Similarly, inversion and powers can produce asymmetric transformed intervals; check endpoint values and the allowed domain.

Check your understanding 6 A new force model

An investigation tests F = a xⁿ, with positive extension x. It gives F = 0.160 N at x = 0.0200 m and F = 0.640 N at x = 0.0400 m. Choose a straight-line plot for finding the unknown exponent. Use F_ref = 1 N and x_ref = 1 m for any logs. Find n, then the numerical value of a in SI units and its unit.

Vertical against horizontal
Show the steps Optional working
SI unit of a

Show answer

Take Y = ln(F/F_ref) and X = ln(x/x_ref). Then Y = nX + ln(a x_refⁿ/F_ref). The gradient is n = ln(0.640/0.160)/ln(0.0400/0.0200) = ln 4/ln 2 = 2. Thus a = F/x² = 0.160/(0.0200)² = 400 N m⁻², matching the second record. These two points are consistent with the model; more data across a suitable range are needed to test its shape.

Common mistakes

  • Reporting the gradient as the physical quantity. For T² against L the gradient is 4π²/g, so g = 4π²/m.
  • Using data points that are not on the line for the gradient triangle. Read two well-separated points on the fitted line.
  • Forgetting a unit conversion before inverting a gradient. A gradient in cm N⁻¹ must be converted to m N⁻¹ before finding k.
  • Forcing the line through the origin because the ideal equation has no intercept. Check offsets and uncertainty first.
  • Keeping the same error bar after transforming a quantity. Squaring, inverting or taking logarithms changes the allowance.
  • Taking the logarithm of a quantity with units. Take the log of a dimensionless ratio, such as y/y_ref.

Spotted an error? Report a correction

Syllabus and review details
Back to top