Skip to content
spmaddmath.com.my
Tuition

Study

SyllabusFormulasMethodsExam & PapersTools
LocationsPricingBlogOur TeachersContact
EN

Method · Linear Law

How to reduce a relation to linear form

Rewrite a non-linear relation as Y=mX+cY = mX + c by taking logarithms or rearranging, so that plotting the right pair of variables gives a straight line whose gradient and intercept reveal the unknown constants.

What this method is for

Linear Law is about turning a curved relationship between two variables into a straight line. A straight line is easy to draw through data points and its gradient and vertical-axis intercept are easy to measure, so if you can rewrite a relation in the form Y=mX+cY = mX + c, you can read the unknown constants straight off the graph.

This method rearranges relations such as y=axny = ax^{n} or y=abxy = ab^{x}, usually by taking logarithms of both sides, until they match the straight-line shape.

straight-line form
Y=mX+cY = mX + c

For a power relation, taking lg\lg of both sides does the job:

y=axn    lgy=nlgx+lgay = ax^{n} \;\Rightarrow\; \lg y = n\,\lg x + \lg a

Comparing with Y=mX+cY = mX + c, you plot lgy\lg y against lgx\lg x, read the gradient as nn, and the intercept as lga\lg a.

When to reach for it

Reach for this method when a question gives a relation containing unknown constants together with either experimental data or a described straight-line graph of transformed variables. Phrases such as 'reduce to linear form', 'when lgy\lg y is plotted against lgx\lg x a straight line is obtained', or 'the graph of yx\frac{y}{x} against xx is a straight line' are direct signals.

Choose the transformation from the shape of the relation. A power law y=axny = ax^{n} or an exponential y=abxy = ab^{x} calls for taking logarithms so the exponent comes down.

A relation like y=ax+bx2y = ax + bx^{2} is better handled by dividing through by xx to reach yx=a+bx\frac{y}{x} = a + bx. Deciding the transformation first tells you exactly what to plot on each axis.

The steps

  1. 1

    Read off the relation and constants

    Note the non-linear relation and which constants you must find, for example aa and nn in y=axny = ax^{n}.

  2. 2

    Transform to Y = mX + c

    Take lg\lg of both sides for a power or exponential relation, or rearrange (for example divide by xx) so the equation becomes linear.

  3. 3

    Match the parts

    Identify YY, XX, the gradient mm, and the intercept cc by comparing your equation with Y=mX+cY = mX + c.

  4. 4

    Read the graph

    From the straight-line graph, take the gradient and the vertical-axis intercept.

  5. 5

    Form equations in the constants

    Set the gradient equal to its expression and the intercept equal to its expression, then solve for each constant.

  6. 6

    Undo any logarithm

    If the intercept was lga\lg a, recover a=10ca = 10^{c}; state the constants and, if asked, the original relation.

Worked example

Q1[4 marks]

The variables xx and yy are related by y=axny = ax^{n}, where aa and nn are constants. When lgy\lg y is plotted against lgx\lg x, a straight line is obtained with gradient 33 and a lgy\lg y-intercept of 11.

Find the values of aa and nn.

Show worked solution

Take lg\lg of both sides of y=axny = ax^{n} and use the laws of logarithms.

lgy=lg(axn)=lga+lgxn=nlgx+lga\lg y = \lg\left(ax^{n}\right) = \lg a + \lg x^{n} = n\,\lg x + \lg a

Compare this with the straight-line form Y=mX+cY = mX + c, taking Y=lgyY = \lg y and X=lgxX = \lg x:

lgyY=nmlgxX+lgac\underbrace{\lg y}_{Y} = \underbrace{n}_{m}\,\underbrace{\lg x}_{X} + \underbrace{\lg a}_{c}

The gradient of the line is nn, and it is given as 33:

n=3n = 3

The lgy\lg y-intercept is lga\lg a, and it is given as 11. Undo the logarithm:

lga=1    a=101=10\lg a = 1 \;\Rightarrow\; a = 10^{1} = 10

So a=10a = 10 and n=3n = 3, which means y=10x3y = 10x^{3}. As a check, taking lg\lg of y=10x3y = 10x^{3} gives lgy=1+3lgx\lg y = 1 + 3\lg x, a line of gradient 33 and intercept 11, exactly as stated.

Common pitfalls

  • Reading the intercept as aa instead of lga\lg a; you must undo the logarithm with a=10ca = 10^{c}.
  • Swapping the axes, being unsure which transformed variable is XX and which is YY, which flips gradient and intercept.
  • Splitting lg(axn)\lg(ax^{n}) incorrectly; it equals lga+nlgx\lg a + n\lg x, not lga×nlgx\lg a \times n\lg x.
  • Forgetting to bring the power down with the power law, leaving lgxn\lg x^{n} instead of nlgxn\lg x.
  • Mixing up gradient and intercept when matching the equation to Y=mX+cY = mX + c.

How a teacher helps

The step that trips students most is the very last one, reading the intercept as aa rather than lga\lg a, and forgetting to write a=10ca = 10^{c}. In one-to-one lessons our teachers pause exactly at the comparison line, where you match your equation to Y=mX+cY = mX + c, and make sure you label YY, XX, the gradient and the intercept before touching the numbers.

That single habit removes most Linear Law errors at once. We also check that you take lg\lg of the whole side, not just part of it.

Every teacher on spmaddmath.com.my is experienced. Lessons are online and taught in English, at your own pace.

Get 1-to-1 help.

Book a Trial Class

Frequently asked questions

Why do we reduce a relation to linear form at all?

Because a straight line is far easier to draw through data and to measure than a curve. Once a relation is written as Y=mX+cY = mX + c, the gradient and the vertical-axis intercept can be read directly, and each one gives an equation for an unknown constant.

How do I know whether to take logarithms or to divide through?

Take logarithms when the unknown is an exponent, as in y=axny = ax^{n} or y=abxy = ab^{x}, so the power comes down. Divide through (for example by xx) when the relation is a sum of terms, as in y=ax+bx2y = ax + bx^{2}, which becomes yx=a+bx\frac{y}{x} = a + bx.

The intercept of my line is 1, is the constant also 1?

Not if the vertical axis is lgy\lg y. If the intercept equals lga\lg a, you must undo the logarithm: a=101=10a = 10^{1} = 10.

Always check what the intercept actually represents before quoting the constant.

Do I earn marks for the transformation even without the final constants?

Yes. SPM Add Math uses analytic marking, so correctly reducing the relation to linear form and identifying YY, XX, the gradient and the intercept earns method marks, even if a numerical slip changes the final value of a constant.

Source:SRC-DSKP-EN

Written by the spmaddmath.com.my editorial team.· Last updated 5 September 2026

Ready to get started?

Book a Trial Classfrom RM50/hr · One-hour paid trial · Same-day reply
Book a Trial ClassOne-hour paid trial · Same-day reply