Skip to content
spmaddmath.com.my
Tuition

Study

SyllabusFormulasMethodsExam & PapersTools
LocationsPricingBlogOur TeachersContact
EN

Practice questions · Linear Law

Linear Law, Practice Questions

Six original Linear Law practice questions of rising difficulty, each with a complete worked solution. They cover reducing y=ax2+by=ax^{2}+b, y=axny=ax^{n} and y=abxy=ab^{x} to the linear form Y=mX+cY=mX+c, then finding the constants from the gradient and intercept of a straight-line graph.

Attempt each under timing, then check every line.

How to use these practice questions

The six questions below rise in difficulty across the whole chapter, from reducing a simple relationship to linear form to finding two constants from a logarithmic straight-line graph. Give yourself roughly five to eight minutes per question and work on paper first, writing every line the way you would in the real exam, identify YY, XX, the gradient and the intercept, then substitute clearly.

Resist the urge to peek.

Only once you have committed to a full answer should you open the solution and mark yourself line by line. When your working differs from ours, stop at the exact line where the two part company; that single step is almost always where the mark was lost.

Because Add Math is marked analytically, correctly matching your relationship to Y=mX+cY=mX+c still earns credit even when the arithmetic slips, so always state YY and XX before you compute.

Six practice questions

Q1[3 marks]

The variables xx and yy are related by y=ax2+by=ax^{2}+b, where aa and bb are constants. Express this equation in the linear form Y=mX+cY=mX+c, and state YY, XX, the gradient and the YY-intercept.

Show worked solution

The relationship is already linear if you treat x2x^{2} as a single variable. Compare y=ax2+by=ax^{2}+b directly with Y=mX+cY=mX+c: the whole of x2x^{2} plays the role of XX, and yy plays the role of YY.

yY=ax2X+b\underbrace{y}_{Y}=a\,\underbrace{x^{2}}_{X}+b

So you plot yy against x2x^{2}. Matching term by term with Y=mX+cY=mX+c gives the gradient and intercept:

Answer

Y=yY=y, X=x2X=x^{2}, gradient m=am=a, and YY-intercept c=bc=b. The straight line of yy against x2x^{2} therefore has gradient aa and cuts the vertical axis at bb.

Q2[3 marks]

The variables xx and yy are related by y=axny=ax^{n}, where aa and nn are constants. Using logarithms to base 1010, express this equation in the linear form Y=mX+cY=mX+c, and state what should be plotted on each axis.

Show worked solution

Because the unknown nn sits as a power, take lg\lg of both sides so the power comes down. Use lg(pq)=lgp+lgq\lg(pq)=\lg p+\lg q and lgpk=klgp\lg p^{k}=k\lg p:

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

Reorder to match Y=mX+cY=mX+c, with the variable part written first:

lgyY=nlgxX+lga\underbrace{\lg y}_{Y}=n\,\underbrace{\lg x}_{X}+\lg a

Answer

Plot lgy\lg y (vertical axis, YY) against lgx\lg x (horizontal axis, XX). The gradient is m=nm=n and the YY-intercept is c=lgac=\lg a.

Q3[4 marks]

The variables xx and yy are related by y=abxy=ab^{x}, where aa and bb are constants. Express the equation in linear form, and explain how aa and bb are obtained from the straight-line graph of lgy\lg y against xx.

Show worked solution

Here the variable xx is the power, so take lg\lg of both sides. The term lgbx\lg b^{x} becomes xlgbx\lg b, which is linear in xx:

lgy=lga+lgbx=lga+xlgb\lg y=\lg a+\lg b^{x}=\lg a+x\lg b

Write the variable term first to match Y=mX+cY=mX+c. Note that the plot is lgy\lg y against xx itself, only yy is logged, not xx:

lgyY=(lgb)xX+lga\underbrace{\lg y}_{Y}=(\lg b)\,\underbrace{x}_{X}+\lg a

The gradient equals lgb\lg b and the YY-intercept equals lga\lg a. Reverse each with a power of 1010 to recover the constants:

b=10gradienta=10interceptb=10^{\,\text{gradient}} \qquad a=10^{\,\text{intercept}}

Answer

Gradient =lgb=\lg b, so b=10gradientb=10^{\text{gradient}}; YY-intercept =lga=\lg a, so a=10intercepta=10^{\text{intercept}}. Read the gradient and intercept off the line, then undo the logarithm with a power of 1010.

Q4[4 marks]

When y=ax2+by=ax^{2}+b is reduced to linear form and yy is plotted against x2x^{2}, the resulting straight line passes through the points (1,7)(1, 7) and (3,15)(3, 15), where each point is (x2,y)(x^{2}, y). Find the values of aa and bb.

Show worked solution

From question 1, plotting yy against x2x^{2} gives Y=yY=y, X=x2X=x^{2}, gradient aa and intercept bb. Find the gradient from the two points using m=Y2Y1X2X1m=\dfrac{Y_{2}-Y_{1}}{X_{2}-X_{1}}:

a=15731=82=4a=\frac{15-7}{3-1}=\frac{8}{2}=4

Now substitute one point, say (1,7)(1, 7), into y=aX+by=aX+b with a=4a=4 to find bb:

7=4(1)+b    b=37=4(1)+b \;\Rightarrow\; b=3

Answer

a=4a=4 and b=3b=3. Check with the other point: at X=3X=3, y=4(3)+3=15y=4(3)+3=15, which matches the given point (3,15)(3,15).

Q5[5 marks]

The variables xx and yy are related by y=axny=ax^{n}. When lgy\lg y is plotted against lgx\lg x, a straight line passes through the points (0,1)(0, 1) and (2,5)(2, 5).

Find the values of aa and nn.

Show worked solution

From question 2, lgy=nlgx+lga\lg y=n\lg x+\lg a, so the plot of lgy\lg y against lgx\lg x has Y=lgyY=\lg y, X=lgxX=\lg x, gradient nn and YY-intercept lga\lg a. Find the gradient from the two points:

n=5120=42=2n=\frac{5-1}{2-0}=\frac{4}{2}=2

The point (0,1)(0, 1) is on the YY-axis, so the YY-intercept is 11. Since the intercept equals lga\lg a, undo the logarithm with a power of 1010:

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

Answer

n=2n=2 and a=10a=10, so y=10x2y=10x^{2}. Check the far point: at lgx=2\lg x=2 we have x=100x=100, and y=10(100)2=100000y=10(100)^{2}=100000, giving lgy=5\lg y=5, which matches (2,5)(2,5).

Q6[5 marks]

The variables xx and yy are related by y=abxy=ab^{x}. When lgy\lg y is plotted against xx, a straight line passes through the points (0,2)(0, 2) and (3,5)(3, 5).

Find the values of aa and bb.

Show worked solution

From question 3, lgy=(lgb)x+lga\lg y=(\lg b)x+\lg a, so the plot of lgy\lg y against xx has gradient lgb\lg b and YY-intercept lga\lg a. Find the gradient from the two points:

lgb=5230=33=1    b=101=10\lg b=\frac{5-2}{3-0}=\frac{3}{3}=1 \;\Rightarrow\; b=10^{1}=10

The point (0,2)(0, 2) lies on the YY-axis, so the YY-intercept is 22. Since the intercept equals lga\lg a, undo the logarithm:

lga=2    a=102=100\lg a=2 \;\Rightarrow\; a=10^{2}=100

Answer

b=10b=10 and a=100a=100, so y=100(10)xy=100(10)^{x}. Check the far point: at x=3x=3, y=100(10)3=100000y=100(10)^{3}=100000, giving lgy=5\lg y=5, which matches (3,5)(3,5).

How to mark yourself like an examiner

Add Math is marked analytically, which means marks are attached to steps, not only to the final number. When you check your own script, award yourself credit the way a marker would: look for the correct linear form, the right identification of YY and XX, and a clean value for each constant.

  • Method mark: did you reduce to Y=mX+cY=mX+c correctly, taking lg\lg only when an unknown sits as a power?
  • Identification mark: are YY, XX, the gradient and the intercept each named correctly, for y=abxy=ab^{x} the plot is lgy\lg y against xx, not against lgx\lg x?
  • Substitution mark: is the gradient found as Y2Y1X2X1\dfrac{Y_{2}-Y_{1}}{X_{2}-X_{1}}, and a point put back to find the intercept?
  • Answer mark: when the intercept or gradient equals lga\lg a or lgb\lg b, did you undo it with a power of 1010 to recover the constant?
  • If your final number is wrong but the linear form and substitution are right, give yourself the method marks, that is exactly what a real marker does.

How a teacher helps

Marking yourself is powerful, but it is hard to see your own blind spots. In a one-to-one lesson our teacher watches the exact line where a mark slips away, logging xx when only yy should be logged, forgetting to undo lga\lg a with a power of 1010, or misreading a gradient from the graph, and corrects the habit on the spot.

Because our teachers are experienced, you work with someone who explains the why behind each step. Lessons are taught in English, while SPM papers are set in both Malay and English, so we make sure the notation reads the same to you either way.

Get 1-to-1 help.

Book a Trial Class

Frequently asked questions

How do I decide what to plot on each axis?

Rearrange the equation into Y=mX+cY=mX+c. Whatever multiplies the gradient is XX, and the isolated variable is YY.

For y=ax2+by=ax^{2}+b you plot yy against x2x^{2}; for y=abxy=ab^{x} you plot lgy\lg y against xx.

When do I need to take logarithms first?

Take lg\lg whenever an unknown constant appears as a power or the whole right side is a product of powers, such as y=axny=ax^{n} or y=abxy=ab^{x}. Logarithms bring the power down to a coefficient, which is what makes the graph a straight line.

The intercept came out as lga\lg a. How do I find aa itself?

Undo the logarithm with a power of 1010. If lga=2\lg a=2 then a=102=100a=10^{2}=100.

The same trick recovers bb from a gradient equal to lgb\lg b.

Do I lose all the marks if my final answer is wrong?

No. Because marking is analytic, a correct linear form and a correct substitution still earn marks even if the arithmetic slips at the end.

That is why you should always state YY and XX first.

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