Form 2 · Graphs of Functions

Form 2 Graphs of Functions: KBAT worked examples

KBAT questions on graphs of functions mix three forms of one relationship: a rule, a table and a graph. To solve them, find or test the rule, check every table entry against it, and read the graph for values that fall between entries, such as when a river passes a danger level or where one price plan becomes cheaper than another.

These 5 worked examples show each move, with the tempting wrong path named and rejected.

Routine questions give you a rule and ask for a table, or give you a graph and one value to read. KBAT questions make you move between the forms yourself: find a rule hidden in a table, spot an entry that cannot be right, or answer a 'when' or 'for how long' question whose answer sits between two readings.

Use the same routine every time. Read: list what is given and in which form.

Plan: decide which form answers the question best, and why. Solve: work in that form, and test any rule on at least 2 points.

Check: put your answer back into the story and ask whether it makes sense. The examples build from a straight-line price list to a curve, a river graph and a comparison of 3 plans.

Worked example 1: Find the rule hidden in a price list

A canoe stall at a lake park shows this price list. Hours, t: 1, 2, 3, 4. Cost, C (RM): 5, 7, 9, 11. (a) Write a rule for C in terms of t. (b) Find the cost of hiring the canoe for 7 hours. (c) Time is charged in whole hours. Jun has RM20. What is the longest time he can hire the canoe?

Show the answer and working
  1. Tempting path: 1 hour costs RM5, so C = 5t. Test it on t = 2: 5 × 2 = 10, but the table says 7. Reject C = 5t: the cost is not proportional to the time.
  2. C rises by RM2 for every extra hour, so C = 2t + k, where k is a fixed fee.
  3. Use t = 1: 2 × 1 + k = 5, so k = 3. The rule is C = 2t + 3. Test t = 4: 2 × 4 + 3 = 11, which matches.
  4. (b) Approach 1, extend the table: t = 5, 6, 7 give 13, 15, 17. Approach 2, use the rule: C = 2 × 7 + 3 = 17. Both give RM17, but the rule takes one line and works for any t.
  5. (c) Solve 2t + 3 = 20: 2t = 17, so t = 8.5.
  6. Time is charged in whole hours, so test t = 8: 2 × 8 + 3 = 19, which is within RM20. t = 9 gives 2 × 9 + 3 = 21, which is more than RM20.
  7. Check against the story: 8 hours costs RM19 and leaves Jun RM1. The RM3 is the fixed fee: on a graph of C against t, the line would cut the C-axis at 3, not pass through 0.

Answer: (a) C = 2t + 3. (b) RM17. (c) 8 hours, which costs RM19.

Test a rule from a table on at least two columns before you use it. A constant rise means a straight line, and the value at t = 0 is the fixed part of the rule.

Worked example 2: Explain the point that does not fit

Mei Ling has 12 m of fencing for a rectangular vegetable bed. If the width is x m, the length is (6 − x) m and the area is A = x(6 − x) m2. Her brother made this table: x = 1, 2, 3, 4, 5 and A = 5, 8, 9, 16, 5. (a) Which entry does not fit? Explain using the rule. (b) What is the largest area, and what are the measurements of that bed?

Graph of A = x(6 − x) for x from 0 to 6: a smooth arch through (1, 5), (2, 8), (3, 9), (4, 8) and (5, 5), highest at (3, 9). The table's point (4, 16) is marked far above the curve, and the rule's point (4, 8) lies on it.2462468101214160xA(3, 9)(4, 8)(4, 16)
Show the answer and working
  1. Test each entry in the rule: x = 1 gives 1 × 5 = 5, x = 2 gives 2 × 4 = 8, x = 3 gives 3 × 3 = 9 and x = 5 gives 5 × 1 = 5. All match.
  2. x = 4 gives A = 4 × (6 − 4) = 4 × 2 = 8, not 16. So (4, 16) is the entry that does not fit.
  3. Likely cause: he expanded the rule to A = 6x − x2 and took 42 as 4 × 2 = 8, getting 24 − 8 = 16. In fact 42 = 16, so A = 24 − 16 = 8.
  4. Check by reasoning: widths 2 m and 4 m give the same bed turned round, so A at x = 4 must equal A at x = 2, which is 8.
  5. Tempting path: pick the biggest number in the table and say the largest area is 16 m2 at x = 4. Reject it: that number came from the error.
  6. The corrected table is 5, 8, 9, 8, 5. It is symmetrical about x = 3, so the top of the curve is at x = 3. Testing x = 2.5 gives 2.5 × 3.5 = 8.75, which is less than 9.
  7. Check against the story: width 3 m and length 6 − 3 = 3 m give area 9 m2 and perimeter 2 × (3 + 3) = 12 m, which matches the fencing.

Answer: (a) (4, 16) does not fit: the rule gives A = 4 × 2 = 8 when x = 4. (b) The largest area is 9 m2, for a square bed 3 m by 3 m.

When one point breaks the pattern, test it in the rule before you draw through it. For a curve like this, symmetry in the table is a free second check.

Ask a teacher about this

One pupil, one teacher, online. Lessons in English or Bahasa Melayu.

Book a Trial Class

One-hour paid trial · Same-day reply · from RM50/hr

Worked example 3: Find a value that falls between table entries

For gotong-royong, painting a fence takes 1 pupil 12 hours. With n pupils working at the same rate, the time taken is t = 12/n hours. The teacher's table shows n = 1, 2, 3, 4, 6, 12 and t = 12, 6, 4, 3, 2, 1. The job must be finished in at most 2.5 hours. What is the smallest number of pupils needed, and how long will they take?

Graph of t = 12/n for n from 1 to 12: a curve falling steeply from (1, 12), then flattening through (2, 6), (3, 4), (4, 3), (6, 2) and (12, 1). The point (5, 2.4) is marked on the curve.24681012246810120nt (h)(1, 12)(5, 2.4)t = 12/n
Show the answer and working
  1. From the table: 4 pupils take 3 hours, which is too long, and 6 pupils take 2 hours, which is fast enough. Test n = 5.
  2. Tempting path: 5 is halfway between 4 and 6, so the time is halfway between 3 and 2, which is 2.5 hours. This joins the two points with a straight line, but the graph is a curve, so reject this method.
  3. Use the rule: t = 12/5 = 2.4 hours.
  4. 2.4 is less than 2.5, so 5 pupils are enough. 4 pupils take 3 hours, which is more than 2.5, so 4 are not enough.
  5. Change to minutes: 0.4 × 60 = 24, so 2.4 hours = 2 hours 24 minutes.
  6. Check against the story: 5 pupils × 2.4 hours = 12 pupil-hours, the same work as 1 pupil for 12 hours.

Answer: 5 pupils, who take 2.4 hours (2 hours 24 minutes).

Between table values, use the rule or read the curve; average the neighbours only when the graph is a straight line. Here averaging gave 2.5 hours but the true time is 2.4 hours, and on a tighter limit that gap decides the answer.

Worked example 4: Read a river graph for a 'how long' question

During heavy rain, the water level of a river was read every 2 hours from midnight. The graph shows the level h metres t hours after midnight; between readings the level changed at a steady rate. The readings at t = 0, 2, 4, 6, 8, 10 were h = 1, 2, 4, 5, 4.5, 2.5. The danger level is 3.5 m. For how long was the river above the danger level?

Graph of river level h metres against time t hours after midnight, joining the readings (0, 1), (2, 2), (4, 4), (6, 5), (8, 4.5) and (10, 2.5) with straight pieces. A dashed horizontal line marks the danger level 3.5 m. It meets the graph at t = 3.5 on the way up and t = 9 on the way down, with dashed lines dropping to the t-axis at those times.123456789101234560t (h)h (m)h = 3.5 m
Show the answer and working
  1. Tempting path: count the readings above 3.5 m, at t = 4, 6 and 8, and say from t = 4 to t = 8, so 4 hours. Reject it: the level was already above 3.5 m before t = 4 and still above it after t = 8.
  2. Rising crossing: from t = 2 to t = 4 the level goes from 2 m to 4 m, a rise of 2 m in 2 hours, so 1 m per hour.
  3. From 2 m up to 3.5 m is 1.5 m, which takes 1.5 hours. The level passes 3.5 m at t = 2 + 1.5 = 3.5, which is 3:30 am.
  4. Falling crossing: from t = 8 to t = 10 the level goes from 4.5 m to 2.5 m, a fall of 2 m in 2 hours, so 1 m per hour.
  5. From 4.5 m down to 3.5 m is 1 m, which takes 1 hour. The level drops below 3.5 m at t = 8 + 1 = 9, which is 9:00 am.
  6. Time above the danger level = 9 − 3.5 = 5.5 hours.
  7. Check on the graph: the dashed line meets the graph at t = 3.5 and t = 9, and the graph stays above the line in between. 5.5 hours is longer than the 4 hours the table suggested, as it should be.

Answer: 5.5 hours (5 hours 30 minutes), from 3:30 am to 9:00 am.

For 'when' or 'for how long' questions, look for crossing points between readings. A table gives samples; the graph fills the gaps between them.

Worked example 5: Choose the cheapest of 3 plans from their graphs

Farah compares 3 monthly data plans. Plan X: RM2 per GB. Plan Y: RM6 plus RM1 per GB. Plan Z: RM10 flat for up to 10 GB. Her table for g = 2, 4, 6, 8 GB gives X: 4, 8, 12, 16; Y: 8, 10, 12, 14; Z: 10, 10, 10, 10 (in RM). She uses between 2 GB and 10 GB a month. Which plan is cheapest for each usage, and at what usage should she switch plans?

Graphs of monthly cost C in ringgit against data g in GB for 3 plans. X: C = 2g, a line from (0, 0) to (10, 20). Y: C = g + 6, a line from (0, 6) to (10, 16). Z: C = 10, a horizontal line. The lowest graph is X up to the point (5, 10), where X meets Z, and Z after it. Y is never the lowest.24681024681012141618200g (GB)C (RM)(5, 10)X: C = 2gY: C = g + 6Z: C = 10
Show the answer and working
  1. Tempting path: X and Y cost the same at 6 GB (both RM12), so switch there. Reject it: at 6 GB, Z costs only RM10, so the X and Y crossing sits above the lowest graph and does not matter.
  2. The lowest graph changes from X to Z, so solve 2g = 10: g = 5.
  3. Below 5 GB, for example at 4 GB: X = 8, Y = 10, Z = 10, so X is cheapest.
  4. Above 5 GB, for example at 8 GB: X = 16, Y = 14, Z = 10, so Z is cheapest.
  5. At exactly 5 GB: X = 2 × 5 = 10 and Z = 10, a tie, while Y = 5 + 6 = 11.
  6. Is Y ever cheapest? Y meets Z where g + 6 = 10, at g = 4, but X costs only 8 there. Y meets X at 6 GB, where Z costs only 10. So Y is never the lowest graph.
  7. Check against the story: at 3 GB, X = 6 beats Y = 9 and Z = 10. At 9 GB, Z = 10 beats Y = 15 and X = 18.

Answer: Plan X is cheapest below 5 GB and Plan Z is cheapest above 5 GB; at exactly 5 GB both cost RM10. Farah should switch at 5 GB. Plan Y is never the cheapest.

With several graphs, only the lowest one matters for 'cheapest' and only the highest for 'most'. A crossing that sits above the lowest graph is a trap.

Try a similar question

Question 1ApplicationFind the entry that does not fit a table of values

Hana made a table of values for y = x2 + 3 to draw its graph. For x = 0, 1, 2, 3, 4 she wrote y = 3, 4, 7, 9, 19. One entry is wrong. Which entry is it, and what should it be?

Show the answer and working

Answer: C. x = 3, y = 12

  1. Test each entry: 02 + 3 = 3, 12 + 3 = 4 and 22 + 3 = 7 all match.
  2. x = 3: 32 + 3 = 9 + 3 = 12, not 9.
  3. x = 4: 42 + 3 = 16 + 3 = 19, which matches.
  4. Hana probably took 32 as 3 × 2 = 6. The wrong entry is x = 3; y should be 12.

Learning standard 8.2.1

Try a similar question

Same skill, new numbers:

Ravi made a table of values for y = 2x2 − 1. For x = 0, 1, 2, 3, 4 he wrote y = −1, 1, 7, 11, 31. One entry is wrong. Which entry is it, and what should it be?

Show the answer and working

Answer: B. x = 3, y = 17

  1. Test each entry: x = 0 gives −1, x = 1 gives 2 − 1 = 1 and x = 2 gives 8 − 1 = 7, all matching.
  2. x = 3: 2 × 32 − 1 = 2 × 9 − 1 = 17, not 11.
  3. x = 4: 2 × 16 − 1 = 31, which matches.
  4. Ravi probably took 32 as 6, getting 12 − 1 = 11. The wrong entry is x = 3; y should be 17.

Question 2ApplicationSolve a problem from where two graphs meet

At the start, Tank P contains 2 litres and is filled at 3 litres per minute: V = 3t + 2. Tank Q contains 20 litres and drains at 3 litres per minute: V = 20 − 3t. The graphs of V against t are drawn on the same axes. After how many minutes do the tanks hold the same volume, and what is that volume?

Show the answer and working

Answer: D. t = 3 min, V = 11 L

  1. The graphs meet where the volumes are equal: 3t + 2 = 20 − 3t.
  2. Add 3t to both sides: 6t + 2 = 20, so 6t = 18 and t = 3.
  3. Tank P: V = 3 × 3 + 2 = 11. Check with Tank Q: 20 − 3 × 3 = 11.
  4. After 3 minutes both tanks hold 11 litres.

Learning standard 8.2.3

Try a similar question

Same skill, new numbers:

Siti cycles towards town from a village 12 km away: her distance from town after t hours is d = 12 − 4t km. Amir walks out of town along the same road: d = 2t km. The two graphs of d against t meet at one point. When, and how far from town, do they meet?

Show the answer and working

Answer: A. t = 2 h, d = 4 km

  1. They meet where the distances from town are equal: 12 − 4t = 2t.
  2. Add 4t to both sides: 12 = 6t, so t = 2.
  3. Amir: d = 2 × 2 = 4. Check with Siti: 12 − 4 × 2 = 4.
  4. They meet after 2 hours, 4 km from town.

Source:DSKP KSSM Mathematics Form 2 (English version)· DSKP KSSM Matematik Tingkatan 2 (Bahasa Melayu)

Frequently asked questions

How do I find the rule of a function from a table?

Look at how y changes each time x goes up by the same amount. If it changes by the same number every time, the graph is a straight line and the rule is y = (that change)x + (a fixed part); find the fixed part from one column.

Always test your rule on a second column before using it.

What should I do if one point in my table does not fit the graph?

Do not bend the graph to pass through it. Substitute that x-value into the rule again, slowly, and compare.

Most outliers come from a squaring slip such as taking 42 as 8, or a sign error with negative numbers.

Why can't I answer every graph question from the table?

A table only gives values at a few chosen points. Questions about when something crosses a level, or where one cost overtakes another, usually have answers between those points.

Read them from the graph, or work them out from the rule.

What if I am still stuck on a KBAT graph question?

Write down which form you were given and which form the question needs, then see where your working stopped. If you still cannot see the next move, share the exact step you got stuck on with a teacher, who can show you the idea behind it rather than only the answer.

Ask a teacher about this

One pupil, one teacher, online. Lessons in English or Bahasa Melayu.

Book a Trial Class

One-hour paid trial · Same-day reply · from RM50/hr

One-hour paid trial · Same-day replyfrom RM50/hr
Book a Trial Class