Skip to content
spmaddmath.com.my
Tuition

Study

SyllabusFormulasMethodsExam & PapersTools
LocationsPricingBlogOur TeachersContact
EN

KBAT · Linear Law

KBAT: Choosing Variables for Linear Law

A linear-law KBAT question gives a non-linear relation and leaves you to choose the substitution that straightens it. The plotting is Form 4 work; the higher-order part is seeing that y=ax+bxy=ax+\tfrac{b}{x} becomes a line only when you plot xyxy against x2x^2, then reading the constants from the gradient and intercept.

What makes this a KBAT question

A routine linear-law question tells you what to plot: 'plot lgy\lg y against xx', and you obey. A KBAT version hands you a relation such as y=ax+bxy=ax+\tfrac{b}{x} and asks you to decide which variables straighten it, and here neither yy against xx nor a simple logarithm works.

That is Kemahiran Berfikir Aras Tinggi, higher-order thinking: rearranging into Y=mX+cY=mX+c and reading a gradient are ordinary Form 4 skills, but recognising that multiplying through by xx turns the relation into xy=ax2+bxy=ax^2+b, so you must plot xyxy against x2x^2, is a choice the question does not make for you. Matching the reshaped equation to Y=mX+cY=mX+c and then identifying what the gradient and intercept represent is the real test.

The algebra of the fit is easy once the right variables are chosen.

One worked problem, in the style of Paper 2

This is an original question written in the style of SPM Paper 2. Try it yourself before reading the solution.

Q1[8 marks]

Two positive quantities xx and yy are believed to be related by y=ax+bxy=ax+\dfrac{b}{x}, where aa and bb are constants. An experiment records the values (x,y)=(1,7),(2,8),(4,13)(x,y)=(1,7),\,(2,8),\,(4,13).

(a) Explain why plotting yy directly against xx does not give a straight line, and reduce the relation to linear form, stating the variables to plot and what the gradient and intercept represent. (b) Using the recorded values, obtain the straight-line equation and find aa and bb.

(c) Use your model to estimate yy when x=5x=5, and comment on how reliable the estimate is.

Show worked solution

Understand. The relation y=ax+bxy=ax+\tfrac{b}{x} mixes a term in xx with a term in 1x\tfrac{1}{x}, so yy is not a linear function of xx, its graph curves.

We must reshape it into the straight-line template Y=mX+cY=mX+c by choosing new variables.

Plan. The obstacle is the bx\tfrac{b}{x} term.

Multiplying the whole equation by xx clears the fraction and produces powers of xx we can group. Then compare the result with Y=mX+cY=mX+c, build a table, find the gradient and intercept, and read off aa and bb.

Execute. (a) Multiply y=ax+bxy=ax+\tfrac{b}{x} by xx:

xy=ax2+bxy = ax^2 + b

Compare with Y=mX+cY=mX+c: let Y=xyY=xy and X=x2X=x^2. Then the gradient m=am=a and the vertical intercept c=bc=b.

So we plot xyxy against x2x^2; the line's gradient gives aa and its intercept gives bb.

(b) Build the table of plotting variables from the data:

xyX = x²Y = xy
1717
28416
4131652

Using the first and last points (X,Y)=(1,7)(X,Y)=(1,7) and (16,52)(16,52), the gradient is

m=527161=4515=3m = \frac{52-7}{16-1} = \frac{45}{15} = 3

So a=3a=3. Find the intercept from Y=3X+cY=3X+c using (1,7)(1,7): 7=3(1)+c7=3(1)+c, giving c=4c=4, so b=4b=4.

The straight-line equation is

xy=3x2+4,soy=3x+4xxy = 3x^2 + 4, \quad\text{so}\quad y = 3x + \frac{4}{x}

(c) Estimate yy when x=5x=5:

y=3(5)+45=15+0.8=15.8y = 3(5) + \frac{4}{5} = 15 + 0.8 = 15.8

The recorded data run from x=1x=1 to x=4x=4, so x=5x=5 lies just beyond the range, a short extrapolation. The estimate y15.8y\approx15.8 is reasonable provided the relationship y=ax+bxy=ax+\tfrac{b}{x} continues to hold near x=5x=5; the further we go past the data, the less we can rely on it.

Check. Test the middle point (2,8)(2,8), which was not used for the gradient: X=4X=4, Y=xy=16Y=xy=16, and 3(4)+4=163(4)+4=16.

It lies exactly on the line, confirming a=3a=3 and b=4b=4.

Finding a sensible first step

When a relation refuses to be linear, the reliable first step is to look at which term is blocking a straight line and act to remove it, rather than guessing at logarithms. In y=ax+bxy=ax+\tfrac{b}{x} the blocker is the fraction bx\tfrac{b}{x}, so the natural move is to multiply every term by xx, giving xy=ax2+bxy=ax^2+b.

Now stand this beside the template Y=mX+cY=mX+c and match part for part: the constant bb sits where cc is, the coefficient aa multiplies x2x^2 where mm multiplies XX. That reading forces the choice Y=xyY=xy and X=x2X=x^2.

Choosing variables by matching to Y=mX+cY=mX+c, not by habit, is the skill being tested. Only take logarithms when the unknown constants sit in a power or an exponent; here they do not, so a plain rearrangement is the right tool.

What markers reward

Marking is analytic, so method marks are awarded line by line. On a choosing-variables linear-law question a marker looks for:

  • A clear reason that yy against xx is not linear, a term in xx plus a term in 1x\tfrac{1}{x}.
  • The correct rearrangement, multiplying by xx to get xy=ax2+bxy=ax^2+b.
  • The right choice of plotting variables, Y=xyY=xy and X=x2X=x^2, matched to Y=mX+cY=mX+c.
  • A correct table of XX and YY values computed from the data.
  • Gradient and intercept found correctly, giving a=3a=3 and b=4b=4.
  • An estimate at x=5x=5 with a comment on interpolation versus extrapolation.

How a teacher helps

Choosing-variables questions reward students who match an equation to Y=mX+cY=mX+c deliberately, and that habit grows with feedback. In a one-to-one lesson our teachers ask you to name the term that blocks a straight line, to try the rearrangement rather than reaching for logarithms by reflex, and to write the pairing Y=xyY=xy, X=x2X=x^2, m=am=a, c=bc=b explicitly before plotting.

We check your table column by column and your gradient from two clear points. Teachers at spmaddmath.com.my are experienced, and lessons are online and taught in English.

Message us on WhatsApp to arrange a one-hour paid class from RM50/hr at the teacher's rate.

Get 1-to-1 help.

Book a Trial Class

Frequently asked questions

How do I know whether to take logarithms or just rearrange?

Look at where the unknown constants sit. If they appear as a power or an exponent, y=axny=ax^n or y=abxy=ab^x, take logarithms to bring them down.

If they are ordinary coefficients, as in y=ax+bxy=ax+\tfrac{b}{x}, a plain rearrangement is enough: multiply through to clear fractions, then match to Y=mX+cY=mX+c. Choosing the method to fit the equation is the point of the question.

Why plot xyxy against x2x^2 and not something else?

Because multiplying y=ax+bxy=ax+\tfrac{b}{x} by xx gives xy=ax2+bxy=ax^2+b, which matches Y=mX+cY=mX+c exactly when Y=xyY=xy and X=x2X=x^2. That pairing makes the gradient equal to aa and the intercept equal to bb.

Any other choice would leave a term that still curves, so the graph would not be straight.

Is estimating yy at x=5x=5 reliable?

The data cover x=1x=1 to x=4x=4, so x=5x=5 is a short step beyond them, an extrapolation, which is less secure than reading a value inside the range. The estimate y15.8y\approx15.8 is reasonable if the model holds near x=5x=5.

Add Math Paper 2 is 2 hours 30 minutes and 100 marks with analytic marking, and noting the extrapolation earns the comment mark.

Source:SRC-DSKP-ENSRC-FORMAT

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