WhatsApp us
IB DP Physics29 Nov 2026

IB Physics Graphs: How to Linearise Data, Use Log Graphs and Find the Gradient Uncertainty

Linearising turns a curved physics relationship into a straight line whose gradient and intercept give you a constant. How to choose the axes, when to use log-log or ln graphs, and how to draw maximum and minimum gradient lines, with three checked examples.

IB Physics Graphs: How to Linearise Data, Use Log Graphs and Find the Gradient Uncertainty

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 expectPlot on yPlot on xGradientIntercept
T = 2π√(L/g) (pendulum)T²L4π²/g0
v² = u² + 2asv²s2au²
I = k/d² (point source)I1/d²k0
pV = constant (fixed gas, fixed T)p1/Vthe constant0
y = kxⁿ, n unknownlog ylog xnlog k
N = N₀e^(−λt)ln Nt−λ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.200.400.600.801.00
T (s)0.901.271.551.802.01
T² (s²)0.811.612.403.244.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.200.300.400.500.60
I (W m⁻²)50.422.012.67.95.6
log d−0.699−0.523−0.398−0.301−0.222
log I1.7021.3421.1000.8980.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.100.200.300.400.50
V (V)0.520.991.461.982.48

Each point gets a vertical uncertainty bar from V − 0.05 to V + 0.05.

  1. Line of best fit. Its gradient is 4.91 V A⁻¹, so the resistance is about 4.9 Ω.
  2. 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 Ω.
  3. 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 Ω.
  4. 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?

  1. E = ½mv², with m to be found from E and v data.
  2. F = kq/r², with k to be found from F and r data.
  3. v² = u² + 2as: the gradient is 6.0 m s⁻² and the intercept is 16 m² s⁻². Find a and u.
  4. 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.
IB physics graphslinearising datalog-log graphsgradient uncertaintyIB tutor Gurgaon

Related guides

Keep exploring this maths topic

IB DP Physics29 Nov 2026

Gradient and Area Under a Graph in IB Physics: What Each One Means and How to Find It

In IB DP Physics the gradient and the area under a graph are physical quantities with units. A graph-by-graph table, how to draw a tangent, how to find areas by shapes, squares and trapezia, and four worked examples from motion, springs and impulse.

IB physics graphsgradient of a grapharea under a graphIB physics data analysis

By Maths Bodhi Team

Read guide

IB DP Physics29 Nov 2026

Exponential Decay and Logs in IB Physics: Half-Life, the Decay Constant and ln Graphs

The maths behind radioactive decay in IB Physics: the halving form and the e form of the decay law, how logs find a time or a half-life that is not a whole number, and how an ln graph of count-rate data gives the decay constant, including the background-count trap. Four checked examples.

IB physics radioactive decayhalf-lifeexponential decay logsln graphs physics

By Maths Bodhi Team

Read guide

IB DP Physics29 Nov 2026

IB Physics Paper 1A and 1B: Structure, Timing and How to Score on the Data Questions

How IB Physics Paper 1 works in the 2025 course: 1A multiple choice and 1B data-based questions in one sitting. The verified structure for SL and HL, a minute-by-minute time plan, annotated original examples and a checklist.

IB Physics Paper 1BIB Physics Paper 1AIB Physics exam techniqueIB Physics data-based questions

By Maths Bodhi Team

Read guide

IB DP Physics29 Nov 2026

IB Physics Uncertainty Propagation: The Rules, Worked Step by Step

How to propagate uncertainties in IB Physics: absolute, fractional and percentage uncertainty, the rules for adding, multiplying, dividing and raising to a power, and five worked examples from real lab calculations, including the pendulum and specific heat capacity.

IB physics uncertaintiesuncertainty propagationpercentage uncertaintyIB physics IA data analysis

By Maths Bodhi Team

Read guide

IB DP Maths29 Nov 2026

The Maths You Need for IB Physics, Theme by Theme (A to E)

A skills map of the maths inside IB DP Physics, built from the guide's Tool 3 list and sorted by the five themes. For each theme: the maths it leans on, a short worked example, and where the same skill sits in IB Maths AA or AI.

IB physics mathsmaths skills for physicsIB physics themesIB maths AA and AI

By Maths Bodhi Team

Read guide

IB DP Physics29 Nov 2026

IB Physics IA Ideas: 12 Original Starting Points and How to Check the Scope

Twelve original IB Physics IA ideas grouped by the approaches the IB allows (lab, fieldwork, spreadsheet modelling, databases, simulation), with the scope checks that separate a workable research question from a weak one, a worked uncertainty check, and the group-work rules. Students write their own report.

IB physics IA ideasIB physics IA topicsIB physics research questionscientific investigation

By Maths Bodhi Team

Read guide