Skip to content
SPM Tuition
Guide · Mathematics

Reading a function graph and its gradient

You can plot points from a table, but reading what the line means feels like a separate skill.

This topic covers two linked skills: drawing the graph of a function from its rule, and measuring how steep a straight line is. It is written for the KSSM (Kurikulum Standard Sekolah Menengah) course that Form 2 follows in 2027. In the textbook, graphs of functions and the gradient of a straight line are separate chapters, and your school decides their order.

It belongs to the Form 2 Mathematics route and follows factorisation inside algebraic fractions.

How do the parts fit together?

  1. Points and scales. If plotting ordered pairs or choosing a scale feels unsure, start with coordinates, graphs and gradients.
  2. From rule to graph. The lesson on plotting the water charge for a stated pricing rule builds a table of values, plots it and reads values back.
  3. Gradient. To compare how steeply two straight lines rise over equal runs, use the existing lesson on calculating a straight-line gradient.

Then mix all three in the graphs and gradient practice set.

What does one example look like from start to finish?

Here is an original rule. A bicycle rental charges RM3 to start plus RM2 for each hour, so cost C = 2h + 3.

Hours, h 0 1 2 3 4
Cost, C (RM) 3 5 7 9 11

Plot hours across and cost up. The points lie on a straight line that crosses the cost axis at 3. From h = 1 to h = 3 the cost rises from 5 to 9, a rise of 4 over a run of 2, so the gradient is 4 ÷ 2 = 2. That gradient is the RM2 charged per hour.

Now compare a second shop with C = 3h + 1. Over the same run of 2 hours it rises 6, so its gradient is 3 and its line is steeper, even though it starts lower at RM1. Both shops charge RM7 for 2 hours, which is where the lines cross.

Where should you start?

  • Unsure about axes and scales: begin with the coordinates foundations.
  • Comfortable plotting: go to the water charge lesson, then the gradient lesson.
  • Ready to test yourself: try the practice set and return to a lesson only for questions you miss.

Online one-to-one Mathematics tuition for Forms 1 to 3 is taught in English or Bahasa Melayu, starting with a paid one-hour trial from RM50.

Common questions

What is the difference between a graph of a function and a gradient?

A function graph shows every pair of values a rule produces, such as cost for each number of hours. The gradient describes how steep a straight line is: how much it rises for each step to the right. In context, the gradient is a rate.

Do all function graphs in Form 2 come out straight?

No. The KSSM textbook also asks pupils to plot curves, such as a rule with x². The plotting skill is the same: make a value table, choose a scale and plot carefully. Only straight lines have a single gradient.

Which line is steeper when two lines are on the same axes?

Compare how much each line rises over the same horizontal distance. The one that rises more is steeper. A line can start higher on the graph and still be less steep, so do not judge by height.

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.