KS Maths
Topic 2.10 · Applications and Interpretation HL

Linearising data with logarithms

Which plot comes out straight tells you the model

3 × 2ₓ and 3x² are completely different families, and at x = 2 they both give 12, at x = 4 they both give 48. Plot curved data and it looks curved whichever family made it. Take logs and one of them becomes a straight line.

Words you need (10 key words in this lesson)

The maths words this lesson uses, in plain English. Open this before you start if English is not your first language.

logarithm
The power you raise a base to, to get a number.Log base 10 of 100 is 2.
data
Facts and numbers that we collect.The data are the test scores.
power
A small raised number that shows how many times to multiply a number by itself.2 to the power 3 is 8.
gradient
How steep a line is. Up divided by across.A line going up 2 for each 1 across has gradient 2.
exponential
Growing or shrinking by multiplying by the same number again and again.Money in a bank grows exponentially.
axis
A number line that a graph is drawn on. The x-axis goes across and the y-axis goes up.The y-axis is vertical.
intercept
The point where a line or curve crosses an axis.The y-intercept is where x is zero.
straight line
A line that does not bend.A ruler draws a straight line.
plot
Mark points on a graph.Plot the point (2, 5).
write down
Give the answer with little or no working.Write down the median.

Preview You are reading the start of this lesson. The rest opens with a plan. See plans Already paid? Sign in

Warm-up

Four quick ones from earlier work. Try each on paper before you open the answer.

  1. Simplify ln(e³).
    Answer

    3. The natural logarithm asks “e to what power?”, so ln undoes the power of e. This is why e to the power of a log gets you back to the number.

  2. Simplify eln 7.
    Answer

    7. The exponential undoes the logarithm. Taking a log, and then undoing it, is the whole method of this lesson.

  3. Find the gradient of the line through (0.5, 1.2) and (2.5, 5.2).
    Answer

    2. Rise 5.2 − 1.2 = 4, run 2.5 − 0.5 = 2. Subtract in the same order top and bottom.

  4. Write ln(3 × 2x) as a sum of two terms.
    Answer

    ln 3 + x ln 2. The log of a product is a sum, and the log of a power brings the power down in front. Both laws are used on every page of this sub-topic.

Words used in this lesson
linearise
change a curved relationship into a straight line by changing what you plot. For example: plotting ln y instead of y can linearise an exponential.
logarithm (ln)
the power you need to raise a base to, to get the number. For example: ln 20 is about 3, because e to the power 3 is about 20.
exponential
a relationship where y is multiplied by the same factor for each step in x. For example: doubling every hour is exponential.
power relationship
y is proportional to x to a fixed power. For example: the area of a circle is a power of its radius.
gradient, intercept
the steepness of a line, and where it crosses the vertical axis. For example: ln y = 2 + 3x has gradient 3 and intercept 2.
parameter
a number in a model that you find from the data. For example: in y = kax the parameters are k and a.
family
a group of models with the same shape of rule. For example: exponential and power are two families.
undo
reverse an operation to get back where you started. For example: undo ln by using e to the power of it.
scale
the way an axis is marked. For example: a log scale marks equal ratios as equal steps.
hence
use the result you have just found. For example: “find the gradient, and hence state the value of a”.
xy3x² passes through two of themboth families give these two exactlyy against x. A steep curve, and 3 × 2ˣ and 3x² both pass through two of these points.Two gradients, measured at opposite ends. Equal means straight; unequal means the wrong plot.
n/agradient, first pair
n/agradient, last pair
cannot tellverdict

The same four points every time. Only the axes change.

Why taking a log straightens one and not the other

Exponential. Suppose y = kaₓ. Take natural logs of both sides:

ln y = ln k + x ln a

That is a straight line in ln y against x, with gradient ln a and intercept ln k. Logging only the vertical axis gives a semi-log graph.

Power. Suppose y = kxⁿ. Take natural logs:

ln y = ln k + n ln x

That is a straight line in ln y against ln x, with gradient n and intercept ln k. Logging both axes gives a log-log graph.

So there are two plots and one question: which one comes out straight? An exponential straightens against x. A power straightens against ln x. Whichever plot is straight names the family, and its gradient and intercept then hand you the parameters.

The rest of this lesson is in the full course

Still to come in this lesson:

In the full lesson every figure moves as you drag it, and every answer you type is checked, with a note on what each wrong answer means.

IB Diploma plan: AI HL$99Every Diploma lesson in both courses and both levels, so a change of course never locks you out, and every lesson from Year 7 for the refreshers. $99 for 12 months or $149 for 2 years.

One plan opens every Diploma lesson, AA and AI, SL and HL, for the whole family.

One payment. Nothing renews. Full refund within 30 days. Prices are in US$; Gumroad shows your local currency at checkout. Pay by card on Gumroad, then come back here and type the email you paid with: we email you a sign-in link. For a refund, reply to your Gumroad receipt or email hello@ksmaths.com.

Try a free sample lesson in every unit, and the whole Skill Tree. See this unit.

Already have a revision pack or the Years 7 to 11 plan? Move up and the unused part of what you paid comes off.

Teaching students who need extra support? Student codes for 5, 10 or 30 students.

AI HL Mock Exam Pack, $25BuyPlan $99