Use logarithmic scales to show data spanning many orders of magnitude, linearize data with logarithms to decide between exponential and power models and find their parameters, and interpret semi-log and log-log graphs.
Each is in the Maths AI glossary, with every other term in the subject.
Transforming one or both variables of a data set, usually by taking logarithms, so that the relationship between the transformed variables is a straight line whose gradient and intercept give the parameters of the original model.
A graph in which both axes are logarithmic, or equivalently a graph of against (or against
With a free account, Augment remembers where you stopped and what you have practiced.
A relationship of the form , where and are constants, so that multiplying by any factor multiplies by .
A graph in which one axis (usually the vertical) is logarithmic and the other is linear, or equivalently a graph of (or ) against ; exponential relationships appear on it as straight lines.
Explain why a logarithmic scale suits data that span several orders of magnitude or where the rate of growth matters more than the absolute size.
Read values from a logarithmic axis, including between the labelled powers of 10.
Show that an exponential relationship or gives a straight line when is plotted against .
Show that a power relationship gives a straight line when is plotted against .
Determine whether data have an exponential or a power relationship by linearizing them and comparing the straight-line fits.
Find the parameters of an exponential or power model from the gradient and intercept of a best-fit line on transformed data, using technology.
Interpret given semi-log and log-log graphs, including gradients, intercepts and the meaning of a straight line.
Use the equation of a line on transformed axes to make predictions, writing it in the variables of the context.
Many quantities in science, economics and technology range over enormous spans. The number of transistors on a computer chip rose from a few thousand in 1971 to billions forty years later; the intensity of sounds that the human ear can detect varies by a factor of more than a million million; the planets of the solar system take from under three months to over 160 years to orbit the Sun. On an ordinary graph, data like these squash almost every point into one corner. Logarithms solve the problem by turning multiplication into addition: on a logarithmic axis, every factor of 10 takes up the same distance.
Logarithms also straighten curved relationships. Taking logarithms turns exponential and power relationships into straight lines, and straight lines are easy to recognise, to fit and to read. This idea, called linearization, gives a reliable way to decide which kind of model suits a set of data and to find its parameters from a gradient and an intercept.
On an ordinary (linear) axis, equal distances represent equal differences: the gap from 0 to 100 is the same length as the gap from 900 to 1000. For data spanning several orders of magnitude, this wastes almost the whole axis on the largest values. If an axis must reach 1000, the values 1, 10 and 100 all crowd into the first tenth of it, and differences between them cannot be seen.
A logarithmic scale spaces values by their logarithms instead. The position of a value on a base-10 log axis is , so the values 1, 10, 100 and 1000 sit at positions 0, 1, 2 and 3, equally spaced. Equal distances represent equal ratios, and each step of one unit multiplies the value by 10.

The labelled gridlines on a log axis are usually powers of 10, sometimes written and sometimes as 1, 10, 100. The unlabelled minor gridlines between two powers of 10 stand for 2, 3, …, 9 times the lower power. They are not equally spaced: the gridline for 2 sits
To read a value at a point on a log axis, measure what fraction of the way the point lies from one power of 10 to the next. If the point is a fraction of the way from to , its position is
A point 0.6 of the way from 100 to 1000 is at position 2.6, so its value is , not 640. The reverse conversion uses the logarithm: the value 300 is at position , nearly half-way between 100 and 1000.
Several standard measurement scales are logarithmic, because the quantities they describe range over many orders of magnitude. Subtopic 1.5, Exponents and introduction to logarithms, introduces them; here they illustrate why the scaling is chosen.
Acidity. The pH of a solution is . Hydrogen-ion concentrations from about 1 to mol per litre become a compact scale from 0 to 14, and each step of 1 in pH is a factor of 10 in concentration.
Sound. The decibel level of a sound of intensity watts per square metre is
A logarithmic scale is the right choice in two situations. The first is when the data span several orders of magnitude, so that a linear scale would hide most of the values: country populations from thousands to over a billion, or earthquake amplitudes. The second is when the rate of growth matters more than the absolute size. On a log scale, a constant percentage growth rate appears as a straight line, so a steeper line means faster percentage growth, whatever the size of the quantity.
The second reason explains why charts of a spreading epidemic, a company's users or the price of a share over a century are often drawn on a logarithmic axis. On a linear axis the latest growth always looks most alarming, because the absolute increases are largest; on a log axis, a straight stretch shows a steady rate of growth, a steepening line shows the rate increasing, and a flattening line shows growth slowing. The Gapminder Foundation's charts of life expectancy against income per person use a logarithmic income axis, so that countries with incomes of a few hundred dollars and those with incomes of tens of thousands can be compared on one chart, and equal distances represent equal percentage differences in income.
YouTubeAn exponential relationship multiplies by the constant factor each time increases by 1. Taking natural logarithms of both sides and using the product and power laws of logarithms (subtopic 1.9) gives
The last line has the form with and . So the graph of
A semi-log graph can be drawn in two equivalent ways. Either the values of are plotted on an axis with a logarithmic scale (labelled 1, 10, 100, …), or the numbers are calculated and plotted on an ordinary axis. The shapes are identical; only the labels differ.
To recover the model from a straight line on a semi-log graph, undo the logarithms:
With base-10 logarithms, and . In both cases the model can also be written directly from the line:
When two points on the straight line of a semi-log graph are known, the method is the straight-line work of subtopic 2.1, Equations of straight lines, in the transformed variables.
On a semi-log graph with base-10 logarithms, a straight line means is multiplied by each time
A steeper line means a shorter doubling time. Lines with the same gradient on a semi-log graph describe quantities growing at the same percentage rate, even if one is a thousand times larger than the other.
In 1965 Gordon Moore, who later co-founded Intel, predicted that the number of components on an integrated circuit would double every year; in 1975 he revised the prediction to a doubling every two years. The prediction, known as Moore's law, held closely for decades, although the pace has slowed since around 2010. The transistor counts of a selection of Intel processors test it.
Processor | Intel 4004 | 8080 | 8086 | 80386 | 80486 | Pentium | Pentium 4 | Core 2 Duo | Nehalem-EX |
|---|---|---|---|---|---|---|---|---|---|
Year | 1971 | 1974 | 1978 | 1985 | 1989 | 1993 | 2000 | 2006 | 2010 |
Transistors | 2250 | 6000 | 29,000 | 275,000 | 1,180,235 | 3,100,000 | 42,000,000 | 291,000,000 | 2,300,000,000 |
Source: Wikipedia, "Transistor count", microprocessor table, retrieved 2026.
On a linear axis these counts cannot be compared, because the first six processors would all sit on the horizontal axis next to the 2.3 billion of 2010. With as years after 1970 and as the number of transistors, the values of are easy to plot.
1 | 4 | 8 | 15 | 19 | 23 | 30 | 36 | 40 | |
|---|---|---|---|---|---|---|---|---|---|
3.352 | 3.778 | 4.462 | 5.439 | 6.072 | 6.491 | 7.623 | 8.464 | 9.362 |
Linear regression of on with the GDC gives , with Pearson's correlation coefficient

The parameters of the model follow from the gradient and intercept:
The transistor count grew by about 41% a year, doubling about every two years, in line with Moore's 1975 revision. The model can then be tested by extrapolation. For 2020 () it predicts transistors. Apple's M1 processor, released in 2020, has about
In a power relationship the variable is the base and the exponent is a constant.
Taking logarithms of both sides of :
This time the straight line appears when is plotted against : both variables must be transformed. The gradient is the power and the intercept is .
The intercept on a log-log graph is the value of where , that is, where . This matches the power law, since
The gradient of a log-log graph says how responds to proportional changes in . Doubling multiplies by
A straight line on a log-log graph means a power law. Only a line of gradient 1 corresponds to direct proportion ; any other gradient describes a curve on ordinary axes.
Johannes Kepler published in 1619 the result that the square of a planet's orbital period is proportional to the cube of its average distance from the Sun (the semi-major axis of its orbit). In symbols, , or . The data of all eight planets give a striking log-log graph.
Planet | Mercury | Venus | Earth | Mars | Jupiter | Saturn | Uranus | Neptune |
|---|---|---|---|---|---|---|---|---|
(AU) | 0.387 | 0.723 | 1.000 | 1.524 | 5.203 | 9.537 | 19.19 | 30.07 |
(years) | 0.241 | 0.615 | 1.000 | 1.881 | 11.86 | 29.45 | 84.02 | 164.8 |
Source: NASA JPL Solar System Dynamics, "Planetary Physical Parameters" (sidereal orbital periods) and "Approximate Positions of the Planets" (semi-major axes, J2000), retrieved 2026. AU = astronomical unit.
Linear regression of on gives , with
The units chosen make the intercept zero: Earth has and , so it sits at the origin of the log-log graph. With other units (kilometres and days), the gradient would still be 1.5, because changing units multiplies or by a constant, which shifts the line up or down without changing its gradient.
Curved data on an ordinary graph could follow many kinds of model, and the eye is poor at telling an exponential curve from a power curve. A straight line, though, is easy to judge. Transforming the variables with logarithms, and testing which transformation makes the data straight, gives the choice of model a clear test.
The two transformations to test are summarised in one table.
Relationship | Linearized form | Plot | Gradient | Intercept |
|---|---|---|---|---|
Exponential |
The rule to remember is that the variable that sits in a power gets logged together with . In an exponential, is the exponent, so it stays as it is; in a power law, is the base, so it must be logged as well.
The GDC does the transforming and the fitting. The steps are the same for both models.
Enter the data: in list L1 and in list L2.
Create the transformed lists: L3 = ln(L2) and, for a power law, L4 = ln(L1).
Run linear regression of L3 on L1 (exponential test) and of L3 on L4 (power test). Record the gradient, the intercept and Pearson's correlation coefficient for each. On a TI-84 Plus CE the linear regression is under STAT → CALC (with MODE → STAT DIAGNOSTICS ON so that is shown); on a Casio fx-CG50 it is MENU → Statistics → CALC → REG → X → ax+b.
Choose the model whose transformed data are closer to a straight line:
The value of on transformed data measures how close the transformed points are to a straight line, as in subtopic 4.4, Correlation and regression. A value of very close to 1 does not prove the model is right, but comparing the two values of for the same data is a fair way to choose between the two families, especially when combined with a look at the transformed points. Subtopic 4.13, Non-linear regression, fits the same models directly with the GDC's exponential and power regression; the parameters can differ slightly from those found by linearization, because the two methods minimise different errors.
A new website records its daily visits for its first six days (hypothetical data). Growth like this could be exponential or a power law, and the two linearizations decide between them.
(days) | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|
120 | 205 | 330 | 560 | 940 | 1580 |
A student drops a marble into a tray of fine sand from six heights and measures the diameter of each crater (hypothetical measurements). The diameter grows more and more slowly as the height increases, a shape that could be either a power law with a small power or a slowing exponential.
(cm) | 10 | 20 | 40 | 80 | 160 | 320 |
|---|---|---|---|---|---|---|
(cm) | 3.7 | 4.5 | 5.3 | 6.2 | 7.5 | 8.9 |
The crater example shows the value of linearization beyond curve fitting. A gradient of about 0.25 on the log-log graph means that doubling the drop height multiplies the crater diameter by only , and a sixteenfold increase in height is needed to double the diameter. A power this close to a simple fraction suggests a physical law behind the data, which a scientist would then try to explain.
Logarithms of and are not the only way to straighten data, and other models need other transformations. The principle is always the same: rewrite the model so that it has the form , and identify which expressions play the roles of and
A natural logarithmic model is linear in : plot against .
A rate model
The rate constant of a chemical reaction is measured at five temperatures (hypothetical data).
(K) | 300 | 310 | 320 | 330 | 340 |
|---|---|---|---|---|---|
0.0326 | 0.0636 | 0.120 | 0.218 | 0.384 |
Scientific reports and news articles often show a semi-log or log-log graph, or give the equation of its straight line. Reading one always uses the same three facts.
The type of graph identifies the model. A straight semi-log graph ( against ) means exponential; a straight log-log graph ( against ) means a power law.
The gradient is a rate or a power. On a semi-log graph the gradient is
A graph that is straight in sections and then bends shows a change of behaviour: on a semi-log graph of cumulative cases in an epidemic, a straight early stretch shows exponential spread, and a later flattening shows the percentage growth rate falling.
The form is the Gutenberg–Richter law of seismology; the values of and differ from region to region.
The gradient of a straight line on transformed axes has a meaning that should be stated in the context's language, not just as a number.
On a semi-log graph with natural logarithms, a gradient of means the quantity grows (or decays) by a factor per unit of ; for small , this is approximately a growth of
YouTubeLogarithmic scaling and linearization appear on HL Paper 1 as short questions of 4 to 7 marks, on Paper 2 as part of a longer modelling question, and on Paper 3, where a context often begins with linear regression and develops into an exponential or power model found by transforming the data. The command terms are show that (taking logarithms of a model), find (gradient, intercept and parameters), write down (the equation of a regression line from the GDC), hence (convert the line back to the model), explain or justify (why a straight graph supports a model) and interpret (a gradient in context). You will not be asked to draw or sketch a semi-log or log-log graph, but you must read them.
Recurring question shapes:
A straight line through two given points on a graph of against or against : find the line, then the model, then a prediction.
A table of data: find the regression line of the transformed variables with the GDC, then the parameters.
"Show that
What to write down: the linearized equation in the question's variables, the gradient calculation or the regression used (which variable on which), the conversion or , and the final model with its variables. Give answers in standard form, never calculator notation such as 4.7E10.
The full exam-style question uses a table of flow measurements over a V-shaped notch in a weir (hypothetical data).
(cm) | 2 | 4 | 8 | 16 | 32 |
|---|---|---|---|---|---|
(mL s⁻¹) | 7.9 | 45.1 | 251 | 1440 | 8090 |
When a question gives two points on a transformed line, the gradient is the first method mark and the conversion of the intercept with or 10 is the last accuracy mark. Many candidates find the line correctly and then report the intercept itself as the parameter.
Answers involving parameters such as must be written in standard form. Calculator notation (4.15E7) is not accepted.
On a logarithmic axis, the labelled gridlines are 1, 10, 100 and 1000, equally spaced. A point lies 0.4 of the way from 10 to 100. Find the value it represents. [2]
The pH of a solution is . Find the pH of a solution with
Position , value .
pH
On a logarithmic scale, equal distances represent equal ratios; a value at position on a base-10 log axis is . Log scales suit data spanning many orders of magnitude and graphs where the rate of growth matters.
pH, decibels and the Richter scale are logarithmic scales: each unit (or 10 dB) is a factor of 10.
An exponential
I can explain when a logarithmic scale is better than a linear one.
I can read a value between gridlines on a logarithmic axis.
I can find the ratio of two values from their distance apart on a logarithmic axis, and explain why pH, decibels and earthquake magnitudes use logarithmic scales.
I can show that gives a straight line of against
31 exam-style questions on this subtopic, written in the style of the IB papers. The first has its markscheme open. Counted on
At an open-air concert in Copenhagen, a loudspeaker emits sound with a power of 0.5 watts. The intensity of the sound, in W m−2, at a distance of metres from the speaker is modelled by
The sound level, in decibels (dB), of a sound of intensity W m−2 is given by
Find the intensity of the sound at a distance of 10 m from the speaker. Give your answer in the form , where and
The energy, joules, released by an earthquake of magnitude can be estimated by
The pH of a solution is defined by , where is the concentration of hydrogen ions in moles per litre.
A sample of lemon juice has a pH of 2.3. Find the concentration of hydrogen ions in the lemon juice.
2 marks
(b) Find how far to the right of the gridline a country with a population of 2.5 million is plotted.
(c) Two countries are plotted 3.1 cm apart. Find the ratio of their populations.
(a) One decade (a factor of 10) is 2 cm, so 1.4 cm is of a decade. The point is at position , so the population is , about 50.1 million.
(b) The position of 2.5 million is , which is 0.398 of a decade past . The distance is
(c) A distance of 3.1 cm is decades, so the populations differ by a factor of . The larger population is about 35.5 times the smaller. The distance between two points on a log axis depends only on the ratio of their values, not on their sizes.
Earthquakes. On the Richter scale, each whole step in magnitude is a factor of 10 in the measured amplitude of the ground's shaking.
(a) Find the equation of the line in the form .
(b) Hence find an expression for in terms of .
(c) Find the value of when .
(a) The gradient is
Using the point : , so
(b) Exponentiating both sides:
(c) When , , about 493. This is the value where the line meets the vertical axis,
The area of a circle, , is a power law with and .
(a) Show that .
(b) Find the values of and .
(a) Taking natural logarithms of :
which is the required result.
(b) The gradient of the line is :
The intercept is the value of when . From :
So and : .
−0.949
−0.324 |
0.000 |
0.421 |
1.649 |
2.255 |
2.954 |
3.404 |
−1.423 | −0.486 | 0.000 | 0.632 | 2.473 | 3.383 | 4.431 | 5.105 |
(b) Solve : , so about 17.9 AU. Both answers use the power law inside the range of the planetary data, so they are interpolations of a very well-fitting model.
against (semi-log) |
Exponential | against (semi-log) |
Power | against (log-log) |
Convert back: , and (exponential) or (power).
Write the final model in the variables of the context, to 3 significant figures, with the unrounded values kept for any later calculation.
1 | 2 | 3 | 4 | 5 | 6 | |
|---|---|---|---|---|---|---|
4.787 | 5.323 | 5.799 | 6.328 | 6.846 | 7.365 |
Linear regression of on gives ; linear regression of on gives . The semi-log transformation is much closer to a straight line (the values rise by an almost constant 0.5 to 0.54 each day), so an exponential model fits better.
(b) The regression line is . Converting back:
So (3 s.f.).
(c) The doubling time is days. Day 30 lies far outside the six days of data; the model would predict about visits a day, which is unrealistic for a new website, so this extrapolation is not reliable. Growth like this must slow as the site reaches most of its likely audience.
(c) Estimate the diameter of the crater for a drop from 250 cm.
(a) Linear regression of on gives ; linear regression of on gives . The log-log transformation makes the data almost perfectly straight, while the semi-log one does not, so the power model is the better description.
(b) The log-log regression line is . So
The model is , close to .
(c) , about 8.36 cm. A height of 250 cm lies inside the range of the data, so this is an interpolation.
A logistic growth rate can be linearized by plotting the growth rate divided by the population against the population.
(b) Find the equation of the regression line of on .
(c) Hence estimate and .
(a) , which is the result.
(b) Put in L1 and in L2; create L3 = 1/L1 and L4 = ln(L2). Linear regression of L4 on L3 gives
with (more precisely, gradient and intercept ).
(c) The gradient is , so . The intercept is , so
Every value read from a log axis must be converted back with or before it is interpreted.
(b) Find the number of earthquakes per year with magnitude at least 4, and at least 6.
(c) Find the factor by which decreases for each increase of 1 in magnitude.
(d) Estimate the magnitude for which an earthquake of at least that magnitude happens about once a year.
(a) The graph of against is a straight line with gradient and intercept 7.2. A straight semi-log graph means an exponential relationship: .
(b) : , so
(c) Each increase of 1 in lowers by 1.05, so is divided by . Earthquakes become about 11 times rarer for each extra unit of magnitude.
(d) Once a year means , so : gives
On a semi-log graph with base-10 logarithms, a gradient of means a factor of per unit of , and a tenfold increase every units.
On a log-log graph, a gradient of means that multiplying by 10 multiplies by , and doubling multiplies by .
(a) Explain why the graph supports a model of the form .
(b) Find the values of and .
(c) Interpret the gradient in context.
(a) The model gives , which is a straight line in and with a negative gradient. A straight log-log graph with negative gradient therefore supports the model.
(b) The gradient is , so . The intercept is , so
(c) A gradient of means that doubling the distance divides the power received by : the signal follows an inverse square law, and moving ten times as far away cuts the power by a factor of 100.
A given graph or equation of a log scale (decibels, pH, Gutenberg–Richter): evaluate both ways and interpret.
(b) Find the equation of the regression line of on . [3]
(c) Hence find the values of and . [3]
(d) Use your model to estimate the height at which the flow rate is 1000 mL s⁻¹. [2]
(e) Explain why the value of for the transformed data supports the model. [1]
(a) M1
A1
AG
(b) values: 0.693, 1.386, 2.079, 2.773, 3.466 and values: 2.067, 3.809, 5.525, 7.272, 8.998 seen or entered (M1)
A1A1
Note: award at most A1A0 if the equation is written in and .
(c) A1
(M1)
A1
(d) (M1)
cm A1
(e) , very close to 1, so the transformed points lie almost exactly on a straight line, as the power model requires R1
Total [11]
The graph of against is a straight line with gradient 0.25 and -intercept 1.6. Find in terms of , and write down the value of when . [3]
Two variables are related by . The graph of against passes through and . Find and , and interpret . [5]
The graph of against is a straight line through and . Find in terms of , and find the factor by which is multiplied when is doubled. [6]
The number of bacteria in a culture, , hours after the start, is recorded (hypothetical data): ; . Find the regression line of on , the model , and the doubling time. [6]
For the data and (hypothetical), determine, by comparing suitable regressions, whether an exponential or a power model fits better, and find the better model. [7]
A log-log graph of the mass kg of trees of one species against their trunk diameter cm is a straight line with equation (hypothetical). Find the mass of a tree with diameter 30 cm, and find the factor by which the mass increases when the diameter doubles. [4]
Explain why a straight line on a log-log graph with gradient 1 represents direct proportion, while a straight line with gradient 3 does not. [3]
A semi-log graph of a country's real GDP against year has a straight section from 1990 to 2005 with gradient (base 10) 0.020, followed by a straight section with gradient 0.008. Find the annual percentage growth rate in each period, and interpret the change. [4]
, so ; at , .
Gradient , so ; intercept , so (3162.3…). is multiplied by 0.631 (falls by about 37%) for each unit of .
Gradient ; , ; . Doubling multiplies by .
(0.43805…, 5.73747…); , ; ; doubling time hours.
on : ; on : . Power model better: (1.50170…, 1.09540…), so .
, so kg (441.6…). Doubling multiplies by .
Gradient 1 gives , so : doubling doubles , which is direct proportion. Gradient 3 gives : doubling multiplies by 8, so is not proportional to (it is proportional to ).
: about 4.7% a year; : about 1.9% a year. GDP kept growing exponentially, but at a slower percentage rate in the second period.
A power law linearizes to : straight on a log-log graph ( against ), gradient , intercept .
Convert back with (or ); the intercept is never itself.
To choose between models, regress the transformed data both ways with the GDC and choose the one with closer to and no curved pattern.
The doubling time from a semi-log line is (or ); a log-log gradient means doubling multiplies by .
A straight log-log graph means a power law, which is linear only when the gradient is 1. Write every transformed equation in the context's variables.
I can show that gives a straight line of against .
I can find the equation of a transformed line from two points and convert it back to the model.
I can transform data lists on my GDC and run linear regression on them.
I can decide between an exponential and a power model by comparing the transformed regressions.
I can find a doubling time from the gradient of a semi-log graph.
I can interpret the gradient of a log-log graph as a power and explain what doubling does.
I can avoid giving the intercept of a transformed line as the parameter .
I can write regression equations in the question's variables and answers in standard form.
I can linearize a model given in a question, such as .
2 marks
(M1)
(W m−2) A1
[2 marks]
Hence find the sound level at a distance of 10 m from the speaker.
2 marks
(M1)
(dB) A1
[2 marks]
Show that , and find the value of .
4 marks
Find an expression for .
3 marks
(interchanging variables, seen anywhere) M1
Note: Accept or .
[3 marks]
Use your answer to part (d) to find the intensity of a sound of 95 dB.
1 mark
(W m−2) A1
[1 mark]
The city council requires the sound level at the nearest house to be no more than 85 dB. Find the minimum distance between the speaker and the nearest house.
3 marks
OR (M1)
OR
(m) A1
Note: Accept from use of .
[3 marks]
Find the energy released by an earthquake of magnitude 6.2. Give your answer in the form , where and .
2 marks
Two earthquakes have magnitudes and , and release energies
An earthquake of magnitude 7.1 struck a region that had a magnitude 5.9 earthquake a year earlier. Find how many times more energy was released by the larger earthquake.
2 marks
The concentration of hydrogen ions in a solution is multiplied by a factor . Show that the pH of the solution decreases by .
2 marks
Over ten years, the pH of the water in Lake Vänern fell from 6.8 to 5.9. Find the factor by which the concentration of hydrogen ions increased.
2 marks
(use of the quotient law) M1
(use of the power law) A1
A1
[4 marks]
2 marks