Skip to main content
SingaporeAdditional MathematicsSyllabus dot point

How can we transform a non-linear relationship into a straight line to find its unknown constants?

Transform a non-linear relationship into the form Y equals mX plus c and use the gradient and intercept of the straight-line graph to find unknown constants

A focused answer to the O-Level A-Maths outcome on the linear law. Transforming power and exponential laws into straight-line form, then reading the gradient and intercept to find unknown constants.

Generated by Claude Opus 4.89 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Examples in context
  4. Try this

What this dot point is asking

SEAB wants you to take a non-linear law connecting two variables, such as y=axny = ax^n or y=Abxy = Ab^x, and rewrite it so that plotting suitable transformed quantities gives a straight line Y=mX+cY = mX + c. From the gradient and intercept of that line, read off the unknown constants. This is how experimental data is used to confirm a law and measure its parameters.

The answer

Why we linearise

A straight line is the easiest graph to draw and read. If a relationship can be cast as Y=mX+cY = mX + c for some functions YY and XX of the original variables, then plotting YY against XX gives a line whose gradient mm and intercept cc carry the unknown constants.

The power law y=axny = ax^n

Take logarithms (base 1010 or ee) of both sides:

lgy=lga+nlgx    lgy=n(lgx)+lga.\lg y = \lg a + n\lg x \;\Rightarrow\; \lg y = n\,(\lg x) + \lg a.

Plotting lgy\lg y against lgx\lg x gives a line of gradient nn and intercept lga\lg a.

The exponential law y=Abxy = Ab^x

Take logarithms of both sides:

lgy=lgA+xlgb    lgy=(lgb)x+lgA.\lg y = \lg A + x\lg b \;\Rightarrow\; \lg y = (\lg b)x + \lg A.

Plotting lgy\lg y against xx (note: xx itself, not lgx\lg x) gives a line of gradient lgb\lg b and intercept lgA\lg A.

Recovering the constants

Match the linear form to Y=mX+cY = mX + c, identify what YY and XX stand for, then solve: an intercept of lga\lg a gives a=10intercepta = 10^{\,\text{intercept}}, and a gradient equal to lgb\lg b gives b=10gradientb = 10^{\,\text{gradient}}.

Choosing what to plot for an unfamiliar law

Not every relationship is a clean power or exponential law, so the general skill is to rearrange any equation into the shape Y=mX+cY = mX + c and read off what YY and XX must be. For y=ax2+by = ax^2 + b, no logarithms are needed: plotting yy against x2x^2 is already linear, with gradient aa and intercept bb. For 1y=ax+b\tfrac{1}{y} = ax + b, plot 1y\tfrac{1}{y} against xx. The method is to isolate the part containing the unknown constants as a linear combination of two computable quantities, then those two quantities become your axes. Recognising that linearising is just "force it into Y=mX+cY = mX + c" extends the technique well beyond the two standard laws.

Reading constants from a best-fit line through data

With real experimental points, the plotted data will not lie perfectly on a line, so you draw a line of best fit and take its gradient and intercept from two well-separated points on that line, not from raw data points. Using points far apart on the fitted line reduces the effect of reading errors on the gradient. Then convert as usual, for instance a=10intercepta = 10^{\text{intercept}}. Emphasising the best-fit line, rather than any single data point, is what makes the constants reliable, and it is the practical reason the linear law is so useful for analysing measurements.

Examples in context

Example 1. Verifying a physical law. To test whether a pendulum's period TT obeys T=kLpT = kL^p, experimenters plot lgT\lg T against lgL\lg L; a straight line confirms the power law, and the gradient gives the exponent pp (close to 0.50.5), validating the theory.

Example 2. Modelling bacterial growth. Counting bacteria over time and plotting lgN\lg N against tt gives a straight line if growth is exponential, N=N0btN = N_0 b^t; the gradient measures the growth rate through lgb\lg b.

Try this

Q1. Write y=axny = ax^n in straight-line form and state what is plotted on each axis. [2 marks]

  • Cue. lgy=nlgx+lga\lg y = n\lg x + \lg a; plot lgy\lg y (vertical) against lgx\lg x (horizontal).

Q2. A plot of lgy\lg y against xx for y=Abxy = Ab^x has gradient 0.50.5. Find bb. [2 marks]

  • Cue. lgb=0.5\lg b = 0.5, so b=100.5=103.16b = 10^{0.5} = \sqrt{10} \approx 3.16.

Q3. For y=axny = ax^n, the lgy\lg y-against-lgx\lg x line has intercept 22. Find aa. [2 marks]

  • Cue. lga=2\lg a = 2, so a=100a = 100.

Exam-style practice questions

Practice questions written in the style of SEAB exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

Original5 marksThe variables xx and yy are related by y=axny = ax^{n}. When lgy\lg y is plotted against lgx\lg x, a straight line of gradient 22 passing through (0,0.5)(0, 0.5) is obtained. Find the values of aa and nn.
Show worked answer →

Take logarithms of y=axny = ax^n: lgy=lga+nlgx\lg y = \lg a + n\lg x, that is lgy=nlgx+lga\lg y = n\lg x + \lg a.

Compare with Y=mX+cY = mX + c where Y=lgyY = \lg y and X=lgxX = \lg x: the gradient is nn and the intercept is lga\lg a.

Gradient =2= 2, so n=2n = 2. Intercept =0.5=lga= 0.5 = \lg a, so a=100.5=103.16a = 10^{0.5} = \sqrt{10} \approx 3.16.

Markers reward taking logs to linearise, matching gradient to nn and intercept to lga\lg a, and solving for both constants.

Original5 marksThe variables xx and yy are related by y=Abxy = Ab^{x}. A graph of lgy\lg y against xx is a straight line with gradient 0.30.3 and lgy\lg y-intercept 11. Find AA and bb.
Show worked answer →

Take logarithms: lgy=lgA+xlgb\lg y = \lg A + x\lg b, that is lgy=(lgb)x+lgA\lg y = (\lg b)x + \lg A.

Comparing with Y=mX+cY = mX + c with Y=lgyY = \lg y and X=xX = x: gradient =lgb=0.3= \lg b = 0.3, intercept =lgA=1= \lg A = 1.

So b=100.32.00b = 10^{0.3} \approx 2.00 and A=101=10A = 10^{1} = 10.

Markers reward the correct linear form, matching gradient to lgb\lg b and intercept to lgA\lg A, and both constants.

Related dot points