To linearise a physics graph, rearrange the equation you expect into the form y = mx + c and plot whatever quantities play the parts of y and x. The gradient m and the intercept c then hold the constant you want. For a power law, plot log y against log x and the gradient is the power. For exponential decay, plot ln y against time and the gradient is minus the decay constant. Uncertainty bars and maximum and minimum gradient lines then tell you how far to trust the result.
The Physics guide lists all of this in its maths tools: plotting linear and non-linear graphs, logarithmic scales, lines or curves of best fit, uncertainty bars, linearising graphs only where appropriate, maximum and minimum gradient lines drawn by eye, and the uncertainty in gradients and intercepts. It is the same at SL and HL. Students who want one-to-one practice with their own lab data can ask for Ajay Vatsyayan, our senior IB DP Physics tutor.
Why straighten a curve at all?
Your eye can judge a straight line far better than a curve. If the points of a linearised graph lie close to a line, the model fits; if they bend, it does not, and the bend tells you how. A straight line also has only two numbers, the gradient and the intercept, and each has a physical meaning you can check. An intercept that should be zero but is not is often the first sign of a systematic error.
The straight-line form, term by term
| Relationship you expect | Plot on y | Plot on x | Gradient | Intercept |
|---|---|---|---|---|
| T = 2π√(L/g) (pendulum) | T² | L | 4π²/g | 0 |
| v² = u² + 2as | v² | s | 2a | u² |
| I = k/d² (point source) | I | 1/d² | k | 0 |
| pV = constant (fixed gas, fixed T) | p | 1/V | the constant | 0 |
| y = kxⁿ, n unknown | log y | log x | n | log k |
| N = N₀e^(−λt) | ln N | t | −λ | ln N₀ |
The method is always the same. Take the equation, isolate the measured variables so one side looks like "something × variable + something", and match the pieces. If the power is known, plot against that power directly. If the power is unknown, take logs.
Worked example 1: g from a pendulum
A student measures the period T of a pendulum for five lengths L.
| L (m) | 0.20 | 0.40 | 0.60 | 0.80 | 1.00 |
|---|---|---|---|---|---|
| T (s) | 0.90 | 1.27 | 1.55 | 1.80 | 2.01 |
| T² (s²) | 0.81 | 1.61 | 2.40 | 3.24 | 4.04 |
T against L is a curve. Squaring the pendulum equation gives T² = (4π²/g) × L, a straight line through the origin, so plot T² against L.
- The line of best fit has gradient about 4.04 s² m⁻¹, and its intercept is close to zero (about −0.005 s²), as the model predicts.
- Gradient = 4π²/g, so g = 4π² ÷ 4.04 = 9.77 m s⁻².
Note the units of the gradient: s² on the y-axis divided by m on the x-axis. Writing them out is the quickest way to see that 4π² ÷ gradient really does give m s⁻².
Worked example 2: finding an unknown power with a log-log graph
A light sensor measures the intensity I from a small lamp at distances d. The student suspects I = kdⁿ but does not know n.
| d (m) | 0.20 | 0.30 | 0.40 | 0.50 | 0.60 |
|---|---|---|---|---|---|
| I (W m⁻²) | 50.4 | 22.0 | 12.6 | 7.9 | 5.6 |
| log d | −0.699 | −0.523 | −0.398 | −0.301 | −0.222 |
| log I | 1.702 | 1.342 | 1.100 | 0.898 | 0.748 |
Taking logs of I = kdⁿ gives log I = n log d + log k, a straight line with gradient n and intercept log k.
- Gradient of log I against log d: n = −2.00, so intensity follows an inverse-square law.
- Intercept: log k = 0.300, so k = 10^0.300 = 2.0 W.
The units of k follow from the equation: I in W m⁻² times d² in m² gives W. You can use log to base 10 or ln; the gradient is the same either way, and only the intercept changes. Logs of quantities with units are, strictly, logs of their numerical values in the chosen units, which is why the axis is labelled log(d/m).
Worked example 3: maximum and minimum gradient lines
A student measures the potential difference V across a resistor for five currents I. The uncertainty in each V reading is ± 0.05 V; the current uncertainty is small enough to ignore.
| I (A) | 0.10 | 0.20 | 0.30 | 0.40 | 0.50 |
|---|---|---|---|---|---|
| V (V) | 0.52 | 0.99 | 1.46 | 1.98 | 2.48 |
Each point gets a vertical uncertainty bar from V − 0.05 to V + 0.05.
- Line of best fit. Its gradient is 4.91 V A⁻¹, so the resistance is about 4.9 Ω.
- Maximum gradient line. The steepest line that still passes through every bar. Here it runs from the bottom of the first bar, (0.10, 0.47), to the top of the last, (0.50, 2.53): gradient 2.06 ÷ 0.40 = 5.15 Ω.
- Minimum gradient line. The shallowest line through every bar, from (0.10, 0.57) to (0.50, 2.43): gradient 1.86 ÷ 0.40 = 4.65 Ω.
- Uncertainty. A common convention is half the difference: (5.15 − 4.65) ÷ 2 = 0.25 Ω, rounded to 0.3.
R = 4.9 ± 0.3 Ω.
Joining the corners of the end bars is a shortcut. Always check that the line still passes through the middle bars; here both lines do. The same two lines give an intercept range: about −0.05 V for the steep line and +0.11 V for the shallow one. That range includes zero, so the data are consistent with V being proportional to I, with no sign of a zero error.
When not to linearise
The guide says linearise only where appropriate, and that matters. Linearising is the right move when theory gives you a model to test or a constant to find. It is the wrong move when you have no model at all; then the honest graph is the raw one, with a curve of fit. Two more cautions:
- Uncertainty bars change size. If y has uncertainty Δy, then ln y has an uncertainty of about Δy ÷ y. A value of 50 ± 2 becomes ln 50 ± 0.04. Bars on a log graph are no longer equal, so work each one out.
- Points bunch up. Taking 1/x or log x squeezes some points together and spreads others. Choose measurement values so the transformed points are spread along the axis, not the raw ones.
Log scales are not the same as log graphs
A log scale keeps the original numbers on the axis but spaces 1, 10, 100 and 1000 equally. It is used when data span many powers of ten. A log graph, as in example 2, plots the log values themselves on ordinary axes so that the gradient can be measured. Paper questions can use either, so read the axis labels before you read off a value.
Where the same maths sits in IB Maths
Straight lines in the form y = mx + c and linear regression are SL content in both AA and AI, and the regression line your calculator gives is what your spreadsheet calls the trend line; our AA SL regression and correlation guide covers it. The log laws that turn y = kxⁿ into log y = n log x + log k are part of AA SL exponentials and logarithms. For which maths course suits a physics student, see our pillar on AA versus AI for students taking physics.
Mistakes our tutors see
- Plotting T against √L or T against L² because the square root was "moved" to the wrong side.
- Forcing a line through the origin when the data say otherwise.
- Drawing maximum and minimum lines through the end points only, missing a middle bar.
- Reading the gradient from two data points instead of from the line, using a large triangle.
- Leaving units off the gradient, so the final constant comes out in the wrong unit.
Exam technique
The IB says Papers 1A and 1B give an opportunity to assess skills on graphing, units and uncertainties, and Paper 1B is built on data-based questions. Expect to be asked which quantities to plot, what the gradient represents, or how a systematic error would move the line. In data questions, write the straight-line equation with each term labelled before you calculate anything. In your own investigation, a linearised graph with uncertainty bars and both gradient lines is usually the centre of the data analysis.
Self-check
For each relationship, what should you plot to get a straight line, and what does the gradient give?
- E = ½mv², with m to be found from E and v data.
- F = kq/r², with k to be found from F and r data.
- v² = u² + 2as: the gradient is 6.0 m s⁻² and the intercept is 16 m² s⁻². Find a and u.
- A count rate C decays exponentially with time t. Which graph gives the decay constant?
Answers. (1) E against v²; gradient = m/2. (2) F against 1/r²; gradient = kq. (3) 2a = 6.0, so a = 3.0 m s⁻²; u² = 16, so u = 4.0 m s⁻¹. (4) ln C against t; gradient = −λ.
Where this leads next
Exponential data and ln graphs get their own guide: half-life, ln graphs and exponential decay in IB physics. Reading what the gradient and area mean on motion graphs is in gradient and area under a graph for IB physics, and the uncertainty in each plotted point comes from the propagation rules for IB physics uncertainties.
How Maths Bodhi helps
We work from real data sets, so linearising becomes a habit rather than a recipe. For the full course structure, see our guide to the IB physics syllabus, themes A to E.
Home tuition is available in Gurgaon (Gurugram). Students elsewhere in India and abroad learn with us online. You can book a free demo class.
Written and checked by the Maths Bodhi team. Facts checked against official IB sources, November 2026.
Frequently asked questions
- How do you linearise a graph in IB Physics?
- Rearrange the expected equation into the form y = mx + c, plot the quantity that plays y against the quantity that plays x, and read the constant from the gradient or intercept.
- How do you find the uncertainty in a gradient in IB Physics?
- Draw the steepest and shallowest straight lines that pass through all the uncertainty bars; a common convention is to take half the difference between their gradients as the uncertainty.
- When should you use a log-log graph in physics?
- When you expect a power law y = kxⁿ but do not know n; plotting log y against log x gives a straight line whose gradient is n.
- Is linearising graphs on the IB Physics syllabus for SL?
- Yes; linearising graphs where appropriate is one of the Tool 3 maths skills in the Physics guide, and those tools apply to SL and HL alike.
- What is the difference between a log scale and a log graph?
- A log scale keeps the original values on the axis but spaces powers of ten equally, while a log graph plots the log values themselves so that a gradient can be measured.
