Tip: Tutorly is best on desktop, but you can try it on mobile too.
Tutorly.sg Logo
Topic hub
Start here for the full cluster: O-Level AI Tutor (Singapore)
This helps you move from the big picture to the most relevant supporting guides.
Try Tutorly.sg free! No signup — start now →

How To Find Gradient Of A Line In Singapore O-Level Maths: A Full Tutorial

Updated April 29, 2026O Levels
Tutorly.sg editorial team
Singapore-focused study guides aligned to MOE exam formats.
  • Tutorly.sg has been mentioned on Channel NewsAsia (CNA)
  • Tutorly.sg has been used by thousands of users in Singapore

Free on Tutorly.sg

Practise with step-by-step help — free to start

On Tutorly.sg/app you can practise unlimited Singapore syllabus questions, get instant explanations when you are stuck, and use past-year papers — no sign-up needed to start.

  • ✓ PSLE, O Level, A Level, and more
  • ✓ Step-by-step working when you are stuck
  • ✓ Works on phone and laptop
Start practising on Tutorly.sg/app →

If you’re doing O-Level maths in Singapore, you cannot escape gradient questions.

Whether it’s in E-Maths or A-Maths, gradient shows up everywhere: straight-line graphs, coordinate geometry, kinematics graphs, and even in some tricky word problems. Good news: once you really understand gradient, a lot of graph questions suddenly feel much easier.

“Stuck on a question? See simple explanations that help you understand fast.”
👉 Give it a try and turn confusion into clarity in minutes.

Tutorly.sg learning in Singapore

This guide is written for Secondary / O-Level students in Singapore, following the MOE syllabus. I’ll walk you through:

  • How to find gradient of a line (step-by-step, like a proper tutorial)
  • How O-Level exam questions like to twist gradient concepts
  • Practice question ideas (including harder variants)
  • Common mistakes Singapore students make
  • How to use Tutorly.sg, a 24/7 AI tutor website, to drill gradient questions effectively

By the way, Tutorly.sg has already been used by thousands of students in Singapore and has even been mentioned on Channel NewsAsia (CNA), so you’re in pretty safe hands if you use it for revision.

Useful links:


Step-by-step tutorial

Let’s start from the basics and build up to exam-style questions.

1. What is gradient, really?

In O-Level maths, the gradient (or slope) of a straight line measures how steep the line is.

  • Positive gradient: line goes upwards from left to right
  • Negative gradient: line goes downwards from left to right
  • Gradient 00: horizontal line
  • Undefined gradient: vertical line (you usually write 𝑥 = 𝑎, not in 𝑦 = mx + 𝑐 form)

Conceptually:

Gradient = how much 𝑦 changes when 𝑥 increases by 1

Formally, between two points 𝐴(𝑥1,𝑦1)𝐴(𝑥_1, 𝑦_1) and 𝐵(𝑥2,𝑦2)𝐵(𝑥_2, 𝑦_2):

Gradient=𝑚=change in 𝑦change in 𝑥=𝑦2𝑦1𝑥2𝑥1\text{Gradient} = 𝑚 = \frac{\text{change in }𝑦}{\text{change in }𝑥} = \frac{𝑦_2 - 𝑦_1}{𝑥_2 - 𝑥_1}

You must remember “𝑦 over 𝑥”, not the other way round.


2. Method 1: Gradient from two points

This is the most common way gradient appears in O-Level questions.

Formula
Given 𝐴(𝑥1,𝑦1)𝐴(𝑥_1, 𝑦_1) and 𝐵(𝑥2,𝑦2)𝐵(𝑥_2, 𝑦_2):

𝑚=𝑦2𝑦1𝑥2𝑥1𝑚 = \frac{𝑦_2 - 𝑦_1}{𝑥_2 - 𝑥_1}

You can label either point as 1 or 2, as long as you are consistent.

Example 1 (basic)

Find the gradient of the line joining 𝐴(1, 3) and 𝐵(5, 11).

  1. Label:

    • 𝑥1=1, 𝑦1=3𝑥_1 = 1,\ 𝑦_1 = 3
    • 𝑥2=5, 𝑦2=11𝑥_2 = 5,\ 𝑦_2 = 11
  2. Substitute into formula:

𝑚=11351=84=2 𝑚 = \frac{11 - 3}{5 - 1} = \frac{8}{4} = 2

So the gradient is 22.

Example 2 (negative gradient)

Find the gradient of the line joining 𝐶(-2, 7) and 𝐷(4, -5).

  1. Label:

    • 𝑥1=2, 𝑦1=7𝑥_1 = -2,\ 𝑦_1 = 7
    • 𝑥2=4, 𝑦2=5𝑥_2 = 4,\ 𝑦_2 = -5
  2. Substitute:

𝑚=574(2)=126=2 𝑚 = \frac{-5 - 7}{4 - (-2)} = \frac{-12}{6} = -2

Gradient is -2 (line slopes downwards from left to right).


3. Method 2: Gradient from the equation of a line

In O-Level E-Maths, straight-line equations are usually written in slope-intercept form:

𝑦=mx+𝑐𝑦 = mx + 𝑐
  • 𝑚 is the gradient
  • 𝑐 is the 𝑦-intercept (value of 𝑦 when 𝑥 = 0)

So if you can rearrange an equation to 𝑦 = mx + 𝑐, you can read off the gradient directly.

Example 3

Find the gradient of the line 𝑦 = -3𝑥 + 7.

Already in 𝑦 = mx + 𝑐 form.

  • Gradient 𝑚 = -3

Example 4 (needs rearranging)

Find the gradient of the line 2𝑥 + 3𝑦 = 12.

  1. Rearrange to make 𝑦 the subject:
3𝑦=122𝑥 3𝑦 = 12 - 2𝑥 𝑦=23𝑥+4𝑦 = -\frac{2}{3}𝑥 + 4
  1. Compare with 𝑦 = mx + 𝑐:
  • Gradient 𝑚=23𝑚 = -\dfrac{2}{3}

This “rearrange to find gradient” style is very common in O-Level structured questions.


4. Method 3: Gradient from a graph

Sometimes, you’re given a graph in the paper and asked to “find the gradient of the line”. You’re expected to:

  1. Choose two clear points on the line (preferably where it crosses grid intersections).
  2. Read off the coordinates carefully.
  3. Use the same formula: 𝑚=𝑦2𝑦1𝑥2𝑥1𝑚 = \dfrac{𝑦_2 - 𝑦_1}{𝑥_2 - 𝑥_1}.

Example 5 (conceptual)

Suppose a straight line passes through (0, 2) and (4, 10) on the graph.

𝑚=10240=84=2𝑚 = \frac{10 - 2}{4 - 0} = \frac{8}{4} = 2

Even if the graph is from a real-life context (e.g. distance–time graph in a combined science paper, or a linear real-world model in E-Maths), gradient still means “change in vertical / change in horizontal”.


5. Using gradient to form the equation of a line

O-Level questions often mix “find gradient” and “find equation of line” together. A classic style:

Given the gradient and one point, find the equation of the line.

You usually use:

𝑦𝑦1=𝑚(𝑥𝑥1)𝑦 - 𝑦_1 = 𝑚(𝑥 - 𝑥_1)

Then simplify to 𝑦 = mx + 𝑐.

Example 6

A line has gradient 33 and passes through (2, 5). Find its equation.

  1. Use point-slope form:
𝑦5=3(𝑥2) 𝑦 - 5 = 3(𝑥 - 2)
  1. Expand:
𝑦5=3𝑥6 𝑦 - 5 = 3𝑥 - 6
  1. Rearrange:
𝑦=3𝑥1 𝑦 = 3𝑥 - 1

You might be asked to “hence find the gradient” of another line that is parallel or perpendicular – we’ll handle that in the strategy section.


Exam strategy guide

Knowing the formula is not enough for O-Level. The exam likes to test gradient in disguised ways. Here’s how to handle them confidently.

“Access more than 1000+ past year papers to practice”
👉 Start a paper today and test yourself like it’s the real exam.

Study smarter with Tutorly.sg

1. Recognise gradient keywords in questions

Look out for phrases like:

  • “Find the gradient of the line…”
  • “Hence, find the gradient of the line AB”
  • “A line 𝑙 has gradient 𝑚 and passes through…”
  • “A line is parallel / perpendicular to…”
  • “The rate of change of 𝑦 with respect to 𝑥…”

Whenever you see these, your gradient instincts should switch on.


2. Parallel and perpendicular lines (very common in O-Level)

This is a favourite in O-Level E-Maths.

Parallel lines

  • Parallel lines have the same gradient.

If line 𝐿1𝐿_1 has gradient 𝑚, any line parallel to it also has gradient 𝑚.

Example

Line 𝐿1𝐿_1 has equation 𝑦 = 2𝑥 + 3. Find the equation of a line parallel to 𝐿1𝐿_1 passing through (1, 4).

  1. Gradient of 𝐿1𝐿_1 is 22.
  2. Parallel line also has gradient 22.
  3. Use point-slope form:
𝑦4=2(𝑥1) 𝑦 - 4 = 2(𝑥 - 1) 𝑦4=2𝑥2𝑦 - 4 = 2𝑥 - 2 𝑦=2𝑥+2𝑦 = 2𝑥 + 2

Perpendicular lines

  • If two lines are perpendicular, their gradients 𝑚1𝑚_1 and 𝑚2𝑚_2 satisfy:
𝑚1×𝑚2=1 𝑚_1 \times 𝑚_2 = -1
  • So if 𝑚1=2𝑚_1 = 2, then 𝑚2=12𝑚_2 = -\dfrac{1}{2}.

Example

Line 𝐿1𝐿_1 has equation 𝑦 = 3𝑥 - 5. Find the gradient of a line perpendicular to 𝐿1𝐿_1.

  1. Gradient of 𝐿1𝐿_1 is 33.
  2. Let gradient of perpendicular line be 𝑚.
3𝑚=1𝑚=13 3𝑚 = -1 \Rightarrow 𝑚 = -\frac{1}{3}

3. Multi-step exam questions involving gradient

O-Level questions often hide gradient inside a longer coordinate geometry question. Typical pattern:

  1. Find gradient from two points.
  2. Use gradient to form equation of a line.
  3. Use equation to find intersection point / show some property.

Example (O-Level style)

Points 𝐴(1, 2) and 𝐵(5, 10) lie on line 𝐿1𝐿_1.

  1. Find the gradient of 𝐿1𝐿_1.
  2. Find the equation of 𝐿1𝐿_1.
  3. A line 𝐿2𝐿_2 is perpendicular to 𝐿1𝐿_1 and passes through 𝐵. Find the equation of 𝐿2𝐿_2.

Solution sketch

  1. Gradient of 𝐿1𝐿_1:
𝑚1=10251=84=2 𝑚_1 = \frac{10 - 2}{5 - 1} = \frac{8}{4} = 2
  1. Equation of 𝐿1𝐿_1 using point 𝐴(1, 2):
𝑦2=2(𝑥1) 𝑦 - 2 = 2(𝑥 - 1) 𝑦2=2𝑥2𝑦 - 2 = 2𝑥 - 2 𝑦=2𝑥𝑦 = 2𝑥
  1. Gradient of 𝐿2𝐿_2 is perpendicular to 𝐿1𝐿_1:
𝑚1×𝑚2=12𝑚2=1𝑚2=12 𝑚_1 \times 𝑚_2 = -1 \Rightarrow 2𝑚_2 = -1 \Rightarrow 𝑚_2 = -\frac{1}{2}

𝐿2𝐿_2 passes through 𝐵(5, 10):

Free on Tutorly.sg

Practise with step-by-step help — free to start

On Tutorly.sg/app you can practise unlimited Singapore syllabus questions, get instant explanations when you are stuck, and use past-year papers — no sign-up needed to start.

  • ✓ PSLE, O Level, A Level, and more
  • ✓ Step-by-step working when you are stuck
  • ✓ Works on phone and laptop
Start practising on Tutorly.sg/app →
𝑦10=12(𝑥5) 𝑦 - 10 = -\frac{1}{2}(𝑥 - 5)

You can leave it like this or simplify to 𝑦=12𝑥+252𝑦 = -\frac{1}{2}𝑥 + \frac{25}{2}, depending on the question.


4. Interpreting gradient in context (rate of change)

In some O-Level questions, especially word problems, gradient is described as “rate of change”.

Examples:

  • A linear graph of distance against time: gradient = speed
  • A graph of cost against number of items: gradient = cost per item
  • A graph of temperature against time: gradient = rate of temperature change per unit time

The maths is the same: still change in verticalchange in horizontal\dfrac{\text{change in vertical}}{\text{change in horizontal}}, but the units matter.

Example

A graph shows the mass of a substance (in grams) against time (in minutes). The line passes through (0, 50) and (10, 20). Find the rate at which the mass is decreasing.

Gradient:

𝑚=2050100=3010=3𝑚 = \frac{20 - 50}{10 - 0} = \frac{-30}{10} = -3

So mass is decreasing at 3 g per minute.

If you see “rate of change” in an O-Level maths question, think gradient.


5. Using Tutorly.sg for gradient revision (smartly)

Since you’re doing O-Levels in Singapore, your schedule is probably packed with CCA, tuition, and school homework. Gradient questions are actually perfect for short, focused practice sessions.

On Tutorly.sg (the 24/7 AI tutor website built for MOE syllabus students):

  1. Go to: https://tutorly.sg/app
  2. Choose your level (e.g. Sec 3, Sec 4) and subject (E-Maths / A-Maths).
  3. Ask specific things like:
    • “Give me 5 O-Level style questions on finding gradient from two points.”
    • “Show me step-by-step how to find the gradient of a line parallel to 𝑦 = 3𝑥 - 4 passing through (1, 7).”
    • “Create a challenging gradient question involving perpendicular lines and midpoints.”

Tutorly will give you questions and, after you submit your final answer, it will show you the full working so you can compare your method and fix your mistakes.

Because it’s aligned to the Singapore MOE syllabus, you don’t have to worry about weird foreign notation or off-syllabus content.


Worksheet practice

Here are practice ideas you can turn into your own “gradient worksheet”. I’ll include easy, medium, and hard variants similar to what you might see in school tests or O-Level prelims.

Try them on your own first. After that, you can use Tutorly.sg to generate more questions of the same style and check your answers.


A. Basic gradient from points (warm-up)

  1. Find the gradient of the line joining:

    • (a) 𝑃(2, 5) and 𝑄(6, 17)
    • (b) 𝐴(-3, 4) and 𝐵(1, -8)
    • (c) 𝐶(0, 0) and 𝐷(-4, 10)
  2. The points 𝑀(1, -2) and 𝑁(5, 𝑦) lie on a straight line with gradient 33. Find the value of 𝑦.

Hint: Use 𝑚=𝑦(2)51𝑚 = \dfrac{𝑦 - (-2)}{5 - 1} and solve for 𝑦.

  1. The line joining 𝑆(4, 7) and 𝑇(𝑘, 19) has gradient 22. Find the value of 𝑘.

Hint: Use 2=197𝑘42 = \dfrac{19 - 7}{𝑘 - 4}.


B. From equation to gradient (and back)

  1. Find the gradient of each line:
  • (a) 𝑦 = 5𝑥 - 3
    • (b) 𝑦=12𝑥+6𝑦 = -\dfrac{1}{2}𝑥 + 6
    • (c) 3𝑥 + 2𝑦 = 8
    • (d) 4𝑦 - 𝑥 = 12
  1. A line has gradient 34-\dfrac{3}{4} and passes through (2, 1). Find its equation in the form 𝑦 = mx + 𝑐.

  2. The line 𝐿 has equation 2𝑦 + 5𝑥 = 7.

  • (a) Find the gradient of 𝐿.
    • (b) Find the 𝑦-intercept of 𝐿.
    • (c) Find the 𝑥-intercept of 𝐿.

C. Parallel and perpendicular (medium)

  1. Line 𝐿1𝐿_1 has equation 𝑦 = 2𝑥 + 1.
  • (a) Find the gradient of a line parallel to 𝐿1𝐿_1.
    • (b) Find the gradient of a line perpendicular to 𝐿1𝐿_1.
    • (c) Find the equation of the line perpendicular to 𝐿1𝐿_1 and passing through (3, 4).
  1. Line 𝐿2𝐿_2 passes through 𝐴(1, 2) and 𝐵(5, 10).
  • (a) Find the gradient of 𝐿2𝐿_2.
    • (b) Find the equation of 𝐿2𝐿_2.
    • (c) A line 𝐿3𝐿_3 is parallel to 𝐿2𝐿_2 and passes through 𝐶(0, -1). Find the equation of 𝐿3𝐿_3.
  1. Line 𝐿4𝐿_4 has equation 3𝑦 - 𝑥 = 9.
  • (a) Find the gradient of 𝐿4𝐿_4.
    • (b) Find the equation of the line perpendicular to 𝐿4𝐿_4 and passing through (3, 0).

D. Harder exam-style variants (good for Sec 4 / O-Level prep)

These are closer to what you might see in school exams or O-Level Paper 2.

Question 10 (midpoint + gradient + equation)

“Doing Secondary Science? Pick a topic and practise like it’s a real exam — with clear answers right after.”
👉 Try Tutorly now and start a Science topic in seconds.

![Secondary Science topics you can practise on Tutorly.sg](/app/blog-images/middle 2.png)

Points 𝐴(2, 3) and 𝐵(8, 15) lie on a straight line.

  1. Find the gradient of AB.
  2. Find the coordinates of the midpoint 𝑀 of AB.
  3. A line 𝐿 is perpendicular to AB and passes through 𝑀. Find the equation of 𝐿.

Why this is useful: Combines gradient, midpoint, and perpendicular line — a very typical O-Level mix.


Question 11 (show that…, a common phrasing)

The points 𝑃(1, 4), 𝑄(3, 8) and 𝑅(7, 16) lie on a straight line.

  1. Show that the gradient of PQ is equal to the gradient of QR.
  2. Hence, explain why 𝑃, 𝑄 and 𝑅 are collinear.

Hint:

  • Calculate gradient of PQ and gradient of QR.
  • If they are equal, then 𝑃, 𝑄, and 𝑅 lie on the same straight line.

This “show that” style appears often in O-Level questions involving gradient and collinearity.


Question 12 (rate of change context)

The total cost 𝐶 (in dollars) of renting a study room is related to the number of hours 𝑡 by a straight-line graph. The graph passes through (0, 10) and (5, 40), where 𝑡 is in hours.

  1. Find the gradient of the line.
  2. Interpret the gradient in the context of the question.
  3. Find the equation connecting 𝐶 and 𝑡.
  4. Use your equation to find the cost of renting the room for 8 hours.

Why this is useful: Tests your understanding of gradient as rate of change and forming linear models.


Question 13 (harder perpendicular variant)

Line 𝐿1𝐿_1 passes through 𝐴(-2, 1) and 𝐵(4, 7).

  1. Find the gradient of 𝐿1𝐿_1.
  2. Find the equation of 𝐿1𝐿_1.
  3. Point 𝐶 lies on 𝐿1𝐿_1 such that AC=72AC = \sqrt{72} and 𝐶 has a positive 𝑥-coordinate.
    • (i) Show that the coordinates of 𝐶 are (4, 7).
    • (ii) A line 𝐿2𝐿_2 is perpendicular to 𝐿1𝐿_1 and passes through 𝐶. Find the equation of 𝐿2𝐿_2.

This is more challenging because it mixes distance formula, gradient, and perpendicular lines.


Question 14 (O-Level style coordinate geometry twist)

The straight line 𝐿 has equation 𝑦 = 2𝑥 - 3.

  1. Find the coordinates of the point where 𝐿 cuts the 𝑥-axis.
  2. Find the coordinates of the point where 𝐿 cuts the 𝑦-axis.
  3. A point 𝑃 lies on 𝐿 and has 𝑥-coordinate 𝑘. Express the coordinates of 𝑃 in terms of 𝑘.
  4. The line 𝑀 is perpendicular to 𝐿 and passes through 𝑃. Find the gradient of 𝑀 in terms of 𝑘.

Focus: You must be comfortable manipulating the equation and working in terms of variables.


Using Tutorly.sg to extend this worksheet

After trying these questions, you can get infinite variations by using Tutorly.sg:

  1. Go to: https://tutorly.sg/app
  2. Select your level and E-Maths / A-Maths.
  3. Ask:
  • “Give me 10 practice questions on gradient of a line, from easy to O-Level difficulty, with answers.”
    • “Generate 5 hard coordinate geometry questions involving gradient, midpoints and perpendicular lines for O-Level.”
    • “I keep making sign mistakes when finding gradient. Give me targeted practice and explanations.”

Tutorly will:

  • Give you questions aligned with the MOE O-Level syllabus.
  • Check your final answer.
  • Show you step-by-step working so you can see exactly where you went wrong and how to fix it.

This is especially helpful if you’re revising late at night and don’t have a tutor or teacher to ask.


Common mistakes

Here are the most frequent gradient mistakes I see from Singapore secondary students, especially in Sec 3–4.

1. Mixing up 𝑥 and 𝑦 in the formula

Wrong:

𝑚=𝑥2𝑥1𝑦2𝑦1𝑚 = \frac{𝑥_2 - 𝑥_1}{𝑦_2 - 𝑦_1}

Correct:

𝑚=𝑦2𝑦1𝑥2𝑥1𝑚 = \frac{𝑦_2 - 𝑦_1}{𝑥_2 - 𝑥_1}

Fix:
When you write the formula, say it in your head: “change in 𝑦 over change in 𝑥”.


2. Inconsistent labelling of points

Example:
You accidentally do:

  • 𝑦2𝑦1𝑦_2 - 𝑦_1 but then 𝑥1𝑥2𝑥_1 - 𝑥_2

This flips the sign.

Fix:
Once you choose which point is 1 and which is 2, stick with it for both numerator and denominator.


3. Sign errors (especially with negative numbers)

Common example:

𝑚=2314𝑚 = \frac{-2 - 3}{-1 - 4}

Students often write -2 - 3 = -1 or -1 - 4 = 3 by accident.

Fix:

  • Write intermediate steps clearly.
  • Use brackets: (-2) - 3, (-1) - 4.
  • Simplify carefully: (-2) - 3 = -5, (-1) - 4 = -5 so 𝑚=55=1𝑚 = \dfrac{-5}{-5} = 1.

4. Forgetting to rearrange to 𝑦 = mx + 𝑐

When the equation is given in a different form (e.g. 3𝑥 + 2𝑦 = 8), some students try to “guess” the gradient or think the coefficient of 𝑥 is the gradient.

It’s not, unless the equation


“Practice PSLE Science questions and get clear, step-by-step answers instantly.”
👉 Try a question now and see how fast you can improve.

Try Tutorly.sg on the website

Ready to practise?

If you want a Singapore-focused AI tutor you can use immediately (website, no sign-up), try Tutorly here:


Related Articles

Free on Tutorly.sg

Practise with step-by-step help — free to start

On Tutorly.sg/app you can practise unlimited Singapore syllabus questions, get instant explanations when you are stuck, and use past-year papers — no sign-up needed to start.

  • ✓ PSLE, O Level, A Level, and more
  • ✓ Step-by-step working when you are stuck
  • ✓ Works on phone and laptop
Start practising on Tutorly.sg/app →

More free resources