Graphs, error bars and gradient uncertainty

AQA 7408 3.1.2 Graphs, error bars, lines of best fit, gradient and intercept uncertainty

Key idea

A graph averages out random error and shows a relationship. A good graph has labelled axes with units, a scale that fills over half the grid, points marked clearly with error bars, and a single smooth line of best fit balanced about the points.

The gradient comes from a large triangle on the line, at least half its length. The uncertainty in the gradient comes from the steepest and shallowest lines that still pass through all of the error bars: Δm = ½ (mmax − mmin). The same method gives the uncertainty in the intercept.

The features of a good graph.

Figure 38. The features of a good graph.

Read it: On the left a force–extension graph shows each point with an error bar and a straight line balanced about them. The dashed triangle (Δx = 6.0 cm, ΔF) is large, so the gradient is read accurately. The five points on the right are the checklist: axes labelled with quantity and unit, scale over half the grid, clear points with error bars, one smooth line, a large triangle.

Error bars show the uncertainty in each point.

Figure 39. Error bars show the uncertainty in each point.

Read it: Left: every y-value has the same absolute uncertainty ±1.5 so all bars are the same length. Right: the uncertainty is a fixed percentage (±8% in y and ±0.25 in x), so the y bars lengthen as y increases, and short horizontal bars show the x uncertainty. A bar runs one uncertainty above and one below the point.

What a line of best fit is, and is not.

Figure 40. What a line of best fit is, and is not.

Read it: Left (correct): one straight line with points balanced above and below. Middle (incorrect): joining the dots is not a best-fit line, it only follows the random scatter. Right (incorrect): forcing the line through the origin when the data do not go that way ignores a real non-zero intercept.

Use a large triangle for the gradient.

Figure 41. Use a large triangle for the gradient.

Read it: Left: a triangle with Δx = 1 and Δy = 2.5. A read-off error of half a small square is a large fraction of these small numbers, so the gradient is uncertain. Right: Δx = 7 and Δy = 17.5. The same read-off error is a tiny fraction, so the gradient is much better. Draw the triangle across at least half the line, and read its corners from the line, not from data points.

The steepest and shallowest lines give the uncertainty in the gradient.

Figure 42. The steepest and shallowest lines give the uncertainty in the gradient.

Read it: The purple line is the best fit with gradient 2.47 N cm−1. The teal dashed line is the steepest line that still passes through all the error bars (2.73) and the red dashed line is the shallowest (2.22). The uncertainty is half the difference: ½ (2.73 − 2.22) = 0.26 N cm−1, so the gradient is (2.47 ± 0.26) N cm−1, about 10%.

Equation: gradient and its uncertainty

Equation: gradient and its uncertainty

Symbol Meaning Unit
Δy, Δx differences read from the corners of the triangle on the line units of y, x
m gradient of the best-fit line unit of y ÷ unit of x
mmax, mmin gradients of the steepest and shallowest acceptable lines unit of y ÷ unit of x
Δm uncertainty in the gradient (absolute) same as m

The same two lines give the uncertainty in the intercept.

Figure 43. The same two lines give the uncertainty in the intercept.

Read it: Extend the steepest and shallowest lines back to the y axis. The steepest line cuts at −0.29 N and the shallowest at 2.02 N (the thick gold bar). The uncertainty in the intercept is ½ (2.02 − (−0.29)) = 1.16 N, so the best-fit intercept of 0.92 N is (0.9 ± 1.2) N.

Does the line pass through the origin?

Figure 44. Does the line pass through the origin?

Read it: Left: the intercept is within the uncertainty of zero (teal bar through the origin), so the data are consistent with proportionality. Right: the line misses the origin by more than the error (red bar), so y is not proportional to x: there is a systematic offset or an extra term.

Worked example: spring constant from the graph

The force–extension graph above has gradient (2.47 ± 0.26) N cm−1. Find the spring constant k in N m−1 with its percentage uncertainty.

  • Hooke’s law: F = kx, so the gradient of F against x is k.

  • Convert: 2.47 N cm−1 = 247 N m−1 (1 cm = 10−2 m).

  • Uncertainty: 0.26 N cm−1 = 26 N m−1, so k = (250 ± 30) N m−1.

  • Percentage: 0.26 ÷ 2.47 × 100 = 10.5%.

  • Comment: A 10% uncertainty in k is typical for a six-point graph with these error bars.

Derivation: proportionality and the intercept

If y ∝ x then y = kx. Compare with the straight line y = mx + c.

1. y = kx has gradient m = k and intercept c = 0.

2. So a proportional relationship must pass through the origin.

3. Real data give a best-fit intercept c ± Δc from the steepest and shallowest lines.

4. If c − Δc ≤ 0 ≤ c + Δc, zero lies in the range: the data are consistent with y ∝ x.

5. If zero lies outside the range, the relationship has a constant term (or a systematic error): y is not proportional to x.

Practice question Spec 3.1.2 · A photodiode 8 marks

The current from a photodiode is measured for different light intensities. The graph shows the measurements. Each current has an uncertainty of ±1.5 µA. The intensity is known precisely.

Diagram for the practice question: Spec 3.1.2 · A photodiode

(a) Outline how the error bars are used to find the uncertainty in the gradient of the line of best fit. [3 marks]

(b) Draw a line of best fit and determine its gradient. [3 marks]

(c) The intercept of the line of best fit is 1.1 µA and the steepest and shallowest lines give intercepts of −0.7 µA and 3.5 µA. Determine the uncertainty in the intercept and explain whether the current is proportional to the light intensity. [2 marks]

Show Mark SchemeHide Mark Scheme
Part Answer Extra information (allow / ignore) Marks
(a) draw the steepest and shallowest straight lines that pass through all the error bars do not accept ‘lines through the first and last point’ unless all bars are met 1
find the gradient of each line allow ‘calculate mmax and mmin’ 1
uncertainty = half the difference between the two gradients

allow ½ (mmax − mmin)

allow ‘half the range’

1
(b) a single straight line of best fit with points balanced about it, passing through all error bars line must not be a join-the-dots 1
large triangle, at least half the length of the line, coordinates read from the line allow ecf for coordinates 1
gradient = 0.045 µA per W m−2 (0.042 to 0.048)

allow 4.5 × 10−2

unit required

1
(c) uncertainty = ½ (3.5 − (−0.7)) = 2.1 µA, so intercept = (1.1 ± 2.1) µA allow ½ (3.5 + 0.7) 1
zero lies within the range (−1.0 to 3.2 µA), so the data are consistent with proportionality dependent on the first mark 1

Examiner’s note

Why the marks: The mark scheme for (a) is a three-part method and AQA uses it year after year. Part (c) turns the intercept uncertainty into a decision.

Key words: steepest, shallowest, all the error bars, half the difference, within the range.

Where marks go: (a) lines 1, gradients 1, half the difference 1. (b) line 1, triangle 1, value 1. (c) uncertainty 1, conclusion 1.

Practice question Spec 3.1.2 · Radiation intensity 8 marks

A detector measures the intensity I of radiation from a small source at distance d. The student expects I = kdn. The table shows the results, and the graph shows lg I against lg d with the best-fit line.

Diagram for the practice question: Spec 3.1.2 · Radiation intensity

Diagram for the practice question: Spec 3.1.2 · Radiation intensity

(a) Show that a graph of lg I against lg d is a straight line, and state what its gradient and intercept represent. [2 marks]

(b) Calculate lg d and lg I for d = 2.00 m. [1 mark]

(c) Use the graph to determine n. [3 marks]

(d) Determine k, including its unit. [2 marks]

Show Mark SchemeHide Mark Scheme
Part Answer Extra information (allow / ignore) Marks
(a) lg I = lg k + n lg d (taking logs of I = kdn) 1
compare with y = mx + c: gradient = n and intercept = lg k both needed 1
(b) lg 2.00 = 0.301 and lg 2.5 = 0.398

both values needed

allow 0.30 and 0.40

1
(c) large triangle read from the line, e.g. (−0.301, 1.60) and (0.477, 0.04) points must be on the line, at least half its length 1
gradient = (0.04 − 1.60) ÷ (0.477 + 0.301) = −2.0 allow ecf 1
n = −2.0 (−1.9 to −2.1) negative sign needed 1
(d) intercept at lg d = 0 is 1.0, so lg k = 1.0 allow 0.98 to 1.02 1
k = 101.0 = 10 W

allow W or W m−2 × m2

unit required

1

Examiner’s note

Why the marks: The unit of k comes from I = kdn: with n = −2 it is W m−2 × m2 = W. The point of the question is log rules and reading a gradient and intercept.

Key words: lg, gradient = n, intercept = lg k, large triangle.

Where marks go: (a) log equation 1, comparison 1. (b) 1. (c) triangle 1, gradient 1, n 1. (d) lg k 1, k with unit 1.

Quick-fire

Topic Question Model answer
Gradient How do you get the uncertainty in a gradient? ½ (mmax − mmin) from the steepest and shallowest lines through all error bars.
Triangle How large should a gradient triangle be? At least half the length of the line.
Error bars What does an error bar show? One uncertainty above and below the point.
Best fit Is ‘join the dots’ a line of best fit? No: a line of best fit is balanced about the points.
Origin How do you test proportionality from a graph? Check that the intercept range includes zero.
Unit Unit of the gradient of V against I? V A−1 = Ω.
Intercept What does y = mx + c say c is? The y-intercept: y when x = 0.
Percentage m = 2.47 ± 0.26: percentage uncertainty? 10.5 %.