Skip to content
SPM Tuition
Guide · Mathematics

Form 3 Maths: the equation of a route line

You can find a gradient, but turning two points into an equation still feels like guesswork.

To recover a straight-line rule from two points, divide the change in y by the change in x to get the gradient. Then substitute one point into y = mx + c to find c. A point lies on the route only if its coordinates make the equation true.

The straight-line chapter in KSSM (Kurikulum Standard Sekolah Menengah), the course Form 3 continues in 2027, builds on the gradient from Form 2. The route below is an original example for that chapter.

This topic is part of the Form 3 Mathematics guide.

How do you find the rule for this route?

Here is an original problem. A straight cycling route passes through P(2, 3) and Q(6, 11). Find its equation, then decide whether R(10, 18) and S(−1, −3) are on the route.

  1. Gradient. m = (11 − 3) ÷ (6 − 2) = 8 ÷ 4 = 2.
  2. Intercept. Substitute P into y = 2x + c: 3 = 2(2) + c, so c = −1.
  3. Equation. y = 2x − 1.
  4. Check with Q. 2(6) − 1 = 11, which matches Q’s y-coordinate.

Testing R(10, 18). 2(10) − 1 = 19, not 18, so R is not on the route. It lies 1 unit below it.

Testing S(−1, −3). 2(−1) − 1 = −3, which matches, so S is on the route.

What goes wrong with the gradient?

A pupil writes m = (6 − 2) ÷ (11 − 3) = 4 ÷ 8 = 1/2. That is the change in x over the change in y, upside down.

With m = 1/2, using P gives c = 2, so y = x/2 + 2. Test it with Q: 6 ÷ 2 + 2 = 5, not 11. The check with the second point catches the slip at once.

Try these yourself

These are original questions. Check every equation with both given points.

Question 1

A route passes through (0, 4) and (3, 10). Find its equation and decide whether (5, 14) is on it.

Answer

m = (10 − 4) ÷ (3 − 0) = 6 ÷ 3 = 2. The point (0, 4) is on the y-axis, so c = 4. The equation is y = 2x + 4.

Check (3, 10): 2(3) + 4 = 10. Test (5, 14): 2(5) + 4 = 14, so yes, it is on the route.

Question 2

Route 1 is y = 2x − 1 and route 2 is y = −x + 8. Do they share a point? If so, find it.

Answer

Set them equal: 2x − 1 = −x + 8, so 3x = 9 and x = 3. Then y = 2(3) − 1 = 5. The routes meet at (3, 5).

Check in route 2: −3 + 8 = 5. The gradients differ, 2 and −1, so the lines must cross exactly once.

Question 3

A line has gradient 5 and crosses the y-axis at 3. A classmate writes y = 3x + 5. Repair the equation.

Answer

In y = mx + c, m is the gradient and c is the y-intercept. The correct equation is y = 5x + 3.

Check the classmate’s version: at x = 0 it gives y = 5, but the line should cross the y-axis at 3. Swapping m and c changes both the slope and the crossing point.

Where should you go next?

The gradient itself is taught in Form 2’s reading a function graph and its gradient and in calculating a straight-line gradient. The same coordinate map skills appear in distance and midpoint between two teams.

If equations from points remain shaky, online one-to-one Mathematics tuition for Forms 1 to 3 can rebuild the checking habit. Lessons are in English or Bahasa Melayu, and the first is a paid one-hour trial from RM50.

Common questions

How do I find the equation of a line through two points?

Find the gradient m by dividing the change in y by the change in x. Put m and one point into y = mx + c and solve for c. Then check the equation with the second point.

How do I check whether a point lies on a line?

Substitute the point's x-value into the equation. If the result equals the point's y-value, the point is on the line. If not, it is above or below the line.

What does it mean if two lines have the same gradient?

They are parallel. If their y-intercepts differ, they never meet, so two routes with equations y = 2x − 1 and y = 2x + 4 have no common point.

Which curriculum does this page follow?

It follows KSSM, which Form 3 continues in 2027. Straight lines are a KSSM Form 3 chapter that builds on the Form 2 gradient work, and your school decides its timing.

Want to work through this topic with a teacher? We can explain the steps, look at your attempted questions and help you decide what to practise next.

If you have a question or a piece of working, you can share it.

  • Online one-to-one lessons for your child with an experienced teacher.
  • Your first class is a one-hour trial, from RM50. The fee is agreed before you book.
  • Happy with the teacher? Continue with lessons of about 1.5 hours. If not, ask for another teacher.