Form 1 · Linear Equations and Inequalities in One Variable
Form 1 Linear Equations and Inequalities: KBAT worked examples
KBAT questions on linear equations and inequalities hide the method in the words. 'Exactly' means an equation with one answer; 'at most' or 'at least' means an inequality with a range.
Solve by doing the same to both sides, gather the letter on one side when it appears on both, and reverse the sign when you divide by a negative number. Then keep only whole numbers that fit the story and show them on a number line.
Written by the spmmath.com.my editorial team.
Updated 17 Nov 2026
Routine questions hand you the equation: solve 4x − 7 = 21. KBAT questions give a story, and you decide what to write.
The same story can need an equation for one part and an inequality for the next. The letter may end up on both sides.
A negative coefficient may force you to reverse the sign. And the answer often has to be a whole number of badges, pupils or boxes, so a neat algebra answer is not the end.
Use the same routine every time. Read: underline the comparing words and the numbers.
Plan: choose equation or inequality and name the letter. Solve: one step at a time, the same on both sides.
Check: put your answer back into the story and test the boundary. The 5 examples build from 1 budget to a stall with 2 limits.
Worked example 1: Spend exactly RM100, or at most RM100? Badges for the Science Club
The Science Club treasurer orders a banner for RM35 and badges at RM3 each from the club fund of RM100. All 18 members must get at least 1 badge each. (a) Can the treasurer spend exactly RM100? (b) If RM100 is the most she may spend, which whole numbers of badges can she order? Show both answers on number lines.
Show the answer and working
Let b be the number of badges. Total cost = 35 + 3b ringgit.
b must be a whole number, so no order costs exactly RM100. Check: 21 badges cost 35 + 63 = RM98 and 22 badges cost 35 + 66 = RM101.
(b) At most RM100: 35 + 3b ≤ 100. Subtract 35: 3b ≤ 65. Divide by 3 (positive, so the sign stays): b ≤ 21 2/3.
Tempting path: 'Round 21.67 to the nearest whole number, so 22 badges.' Reject it: 22 badges cost RM101, which breaks the limit. For an 'at most' limit, round down to 21.
Second condition: each of the 18 members needs a badge, so b ≥ 18.
Both together: 18 ≤ b ≤ 21, so b = 18, 19, 20 or 21.
Check against the story: 18 badges cost 35 + 54 = RM89 and 21 badges cost RM98. Both are within RM100, and every member gets a badge.
Answer:(a) No. 35 + 3b = 100 gives b = 21 2/3, which is not a whole number. (b) 18, 19, 20 or 21 badges.
'Exactly' gives an equation with one value; 'at most' gives an inequality with a range. When the answer must be a whole number below a limit, round down and test the boundary in the story.
Worked example 2: The letter is on both sides: two plots with the same fencing
Pak Hamid's rectangular vegetable plot is (2x + 3) m long and x m wide. He wants to replace it with a square plot of side (x + 6) m, using exactly the same length of fencing. (a) Find the value of x. (b) Which plot gives more planting area, and by how much? Should he make the change?
Tempting path: add only the two labelled sides of the rectangle: 2x + 3 + x = 4(x + 6), so 3x + 3 = 4x + 24 and x = −21. Reject it: a width of −21 m is impossible. The slip was using 2 of the rectangle's 4 sides.
Equation: 6x + 6 = 4x + 24.
Subtract 4x from both sides (the smaller x term, so the x stays positive): 2x + 6 = 24.
Subtract 6: 2x = 18. Divide by 2: x = 9.
Sizes: the rectangle is 2(9) + 3 = 21 m by 9 m; the square has side 9 + 6 = 15 m.
Check the fencing: 2 × (21 + 9) = 60 m and 4 × 15 = 60 m. They match.
(b) Areas: rectangle 21 × 9 = 189 m2; square 15 × 15 = 225 m2. The square gives 225 − 189 = 36 m2 more, for the same fencing, so the change is worth making.
Answer:(a) x = 9. (b) The square plot: 225 m2 against 189 m2, which is 36 m2 more, so he should make the change.
Build each side of the equation from the full story before solving, then move the smaller letter term. A negative length is a sign that the equation was set up wrongly, so rebuild it from the story.
Ask a teacher about this
One pupil, one teacher, online. Lessons in English or Bahasa Melayu.
One-hour paid trial · Same-day reply · from RM50/hr
Worked example 3: Why does the sign flip? A water tank during a supply interruption
During a water supply interruption, the Tan family's rooftop tank holds 900 L at 8:00 a.m. They use 45 L every hour. They want to keep at least 225 L in the tank for cooking and drinking. (a) Write and solve an inequality for the number of hours h they can keep using water at this rate. (b) The supply is due back at 10:00 p.m. Is their reserve safe?
Show the answer and working
Water left after h hours = 900 − 45h. At least 225 L: 900 − 45h ≥ 225.
Method A: subtract 900 from both sides: −45h ≥ −675. Divide both sides by −45 and reverse the sign: h ≤ 15.
Tempting path: keep the sign and write h ≥ 15. Test h = 20: 900 − 45 × 20 = 0 L, an empty tank, far below 225 L. So h ≥ 15 points the wrong way.
Method B: add 45h to both sides: 900 ≥ 225 + 45h. Subtract 225: 675 ≥ 45h. Divide by 45 (positive, so no flip): 15 ≥ h, which is h ≤ 15. Same answer.
Time cannot be negative, so 0 ≤ h ≤ 15: at most 15 hours, until 11:00 p.m.
Test the boundary and one value outside: h = 15 leaves 900 − 675 = 225 L (allowed); h = 16 leaves 900 − 720 = 180 L (too little).
(b) From 8:00 a.m. to 10:00 p.m. is 14 hours, and 14 ≤ 15. Water left = 900 − 45 × 14 = 270 L, which is at least 225 L. The reserve is safe, with 45 L to spare.
Answer:(a) 900 − 45h ≥ 225 gives 0 ≤ h ≤ 15, so at most 15 hours (until 11:00 p.m.). (b) Yes: after 14 hours, 270 L is left.
Dividing both sides by a negative number reverses the sign. If you want to avoid that step, move the letter term to the side where it is positive. Either way, test one value in the story to see the answer points the right way.
Worked example 4: When does one amount pass another? x on both sides of an inequality
Mei has RM200 in savings and spends RM12 of it on bus fares every week. Arif has RM50 and adds RM13 every week from helping at his family's stall. Neither of them adds or spends anything else. After how many whole weeks will Arif have more money than Mei for the first time? Show the weeks that work on a number line.
Show the answer and working
After w weeks: Mei has 200 − 12w ringgit and Arif has 50 + 13w ringgit. Arif has more: 50 + 13w > 200 − 12w.
Tempting path: solve 50 + 13w = 200 − 12w to get w = 6 and answer '6 weeks'. Reject it: after 6 weeks both have RM128, which is equal, not more.
Approach 1: add 12w to both sides: 50 + 25w > 200. Subtract 50: 25w > 150. Divide by 25: w > 6.
Approach 2: subtract 13w from both sides: 50 > 200 − 25w. Subtract 200: −150 > −25w. Divide by −25 and reverse: 6 < w. Same answer, but with an extra chance to forget the flip.
w is a whole number of weeks and w > 6 excludes 6 (open circle), so the first week that works is w = 7.
Check: after 7 weeks, Mei has 200 − 84 = RM116 and Arif has 50 + 91 = RM141, and 141 > 116. After 6 weeks they are equal at RM128.
Story check: Mei still has money at week 7, so the model still describes what happens.
Answer:After 7 weeks (Arif RM141, Mei RM116). The solution is w > 6.
With the letter on both sides, gather the letter terms on the side where they stay positive. The equation gives only the boundary; the inequality tells you which side of it the answers lie.
Worked example 5: Two limits at once: which numbers of kuih boxes work?
A Form 1 class runs a kuih stall on Canteen Day. The stall costs RM40 to rent. Each box of kuih costs RM3 to make and sells for RM5, and every box made is sold. The class fund can pay at most RM200 for rent and ingredients together, and the teacher wants a profit of at least RM50. (a) How many boxes break even? (b) Which numbers of boxes meet both conditions? (c) Can they make a profit of exactly RM55?
Show the answer and working
Let n be the number of boxes. Income = 5n. Cost = 40 + 3n. Profit = 5n − (40 + 3n) = 2n − 40.
(a) Break even: 5n = 40 + 3n. Subtract 3n: 2n = 40, so n = 20.
Profit at least RM50: 2n − 40 ≥ 50. Add 40: 2n ≥ 90, so n ≥ 45.
Fund at most RM200: 40 + 3n ≤ 200. Subtract 40: 3n ≤ 160, so n ≤ 53 1/3. n is whole and this is a ceiling, so n ≤ 53.
Tempting path: use the selling price in the fund limit, 40 + 5n ≤ 200, so n ≤ 32. Reject it: the fund pays the costs, not the selling price. It would also clash with n ≥ 45 and leave no answer at all.
(b) Both conditions: 45 ≤ n ≤ 53, which is 53 − 45 + 1 = 9 whole numbers.
(c) Exactly RM55: 2n − 40 = 55, so 2n = 95 and n = 47.5. That is not a whole number, so exactly RM55 is impossible: 47 boxes give RM54 and 48 give RM56.
Check the ends: n = 45 costs 40 + 135 = RM175 and makes 225 − 175 = RM50 profit; n = 53 costs 40 + 159 = RM199 and makes 265 − 199 = RM66 profit. n = 54 would cost RM202, over the fund.
Answer:(a) 20 boxes. (b) Any whole number of boxes from 45 to 53 (9 choices). (c) No: 2n − 40 = 55 gives n = 47.5, not a whole number.
Turn each sentence of the story into its own equation or inequality, solve them one at a time, then combine. A lower limit rounds up, an upper limit rounds down, and an exact target needs a whole-number answer to be possible.
Try a similar question
Question 1ApplicationGreatest whole number under a spending limit
A class hires a bus for RM120 and pays RM7 per pupil for museum tickets. The class fund can spend at most RM410. What is the greatest number of pupils who can go?
What probably happened:You rounded 41.4 up to 42, but 42 pupils cost 120 + 294 = RM414, which is over RM410. Under an 'at most' limit, round down.
What probably happened:You divided 410 by 7 and left out the RM120 bus. Subtract the fixed cost first: 7p ≤ 410 − 120.
What probably happened:You added the RM120 instead of subtracting it. From 120 + 7p ≤ 410, subtract 120 from both sides to get 7p ≤ 290.
Show the answer and working
Answer: B.41 pupils
Let p be the number of pupils: 120 + 7p ≤ 410.
Subtract 120: 7p ≤ 290. Divide by 7: p ≤ 41.4 (to 1 decimal place).
p is a whole number under a ceiling, so round down: p ≤ 41.
Check: 41 pupils cost 120 + 287 = RM407; 42 cost RM414. The answer is 41 pupils.
Try a similar question
Same skill, new numbers:
A robotics club pays RM60 for a kit and RM9 for each extra motor. It may spend at most RM250. What is the greatest number of extra motors it can buy?
What probably happened:You rounded 21.1 up, but 22 motors make the total 60 + 198 = RM258, over RM250. Under an 'at most' limit, round down.
What probably happened:You divided 250 by 9 and left out the RM60 kit. Subtract the fixed cost first: 9m ≤ 250 − 60.
What probably happened:You added the RM60 instead of subtracting it. From 60 + 9m ≤ 250, subtract 60 from both sides to get 9m ≤ 190.
Show the answer and working
Answer: C.21 motors
Let m be the number of motors: 60 + 9m ≤ 250.
Subtract 60: 9m ≤ 190. Divide by 9: m ≤ 21.1 (to 1 decimal place).
Round down: m ≤ 21. Check: 60 + 189 = RM249 is within RM250; 22 motors cost RM258.
Question 2ApplicationInequality with a negative coefficient
A candle is 24 cm tall and burns down by 1.5 cm every hour. Ahmad wants at least 6 cm of candle left. Which inequality gives the number of hours h it can burn?
What probably happened:You divided −1.5h ≥ −18 by −1.5 but kept the ≥ sign. Dividing by a negative number reverses the sign. Test h = 16: only 0 cm would be left.
What probably happened:You added 6 to 24 instead of subtracting. From 24 − 1.5h ≥ 6, subtract 24 from both sides to get −1.5h ≥ −18.
What probably happened:You divided only the 6 cm by 1.5. The candle starts at 24 cm, so write 24 − 1.5h ≥ 6 and solve that.
Show the answer and working
Answer: D.h ≤ 12
Height left after h hours = 24 − 1.5h. At least 6 cm: 24 − 1.5h ≥ 6.
Subtract 24: −1.5h ≥ −18.
Divide by −1.5 and reverse the sign: h ≤ 12.
Check: h = 12 leaves 24 − 18 = 6 cm (allowed); h = 13 leaves 4.5 cm (too short).
Try a similar question
Same skill, new numbers:
A tank holds 600 L of water and a tap lets out 40 L every hour. At least 160 L must stay in the tank. Which inequality gives the number of hours t the tap can stay open?
What probably happened:You divided −40t ≥ −440 by −40 but kept the ≥ sign. Dividing by a negative number reverses the sign. Test t = 15: the tank would be empty.
What probably happened:You added 160 to 600 instead of subtracting. From 600 − 40t ≥ 160, subtract 600 from both sides to get −40t ≥ −440.
What probably happened:You divided only the 160 L by 40. The tank starts with 600 L, so write 600 − 40t ≥ 160 and solve that.
Show the answer and working
Answer: A.t ≤ 11
Water left after t hours = 600 − 40t. At least 160 L: 600 − 40t ≥ 160.
Subtract 600: −40t ≥ −440. Divide by −40 and reverse: t ≤ 11.
Check: t = 11 leaves 600 − 440 = 160 L (allowed); t = 12 leaves 120 L (too little).
How do I know whether a word problem needs an equation or an inequality?
Look for the words that compare. 'Exactly', 'the same as', 'equals' or 'break even' mean an equation with one answer.
'At most', 'not more than' and 'maximum' mean ≤; 'at least', 'not less than' and 'minimum' mean ≥; 'more than' and 'less than' mean > and <. Many KBAT questions use both in one story.
When do I reverse the inequality sign?
Only when you multiply or divide both sides by a negative number. Adding or subtracting any number, or multiplying or dividing by a positive number, keeps the sign.
If you would rather avoid the flip, move the letter term to the side where it is positive first, then divide by a positive number.
Should I round up or down when the answer must be a whole number?
It depends on the limit, not on the decimal. Under an 'at most' limit such as a budget, round down, because rounding up breaks the limit.
Under an 'at least' target, round up, because rounding down falls short. Always test the whole number you chose in the story.
Why did I get a negative number or a fraction for something that must be whole?
Either the situation cannot happen exactly, or the equation was set up wrongly. A fraction of a badge for an exact budget means no whole number spends exactly that amount.
A negative length usually means a missing side or a sign slip, so rebuild the equation from the story. If the same step keeps going wrong, for example when to flip the sign, a teacher can work through your own working with you one-to-one and find where it slips.
Ask a teacher about this
One pupil, one teacher, online. Lessons in English or Bahasa Melayu.