SPM 2022 Add Maths Paper 2, Question 13Linear Programming
Solved on video in English and Bahasa Melayu · 6 marks · Form 5, Linear Programming · 6:29 video
The question
A factory produces guava juice and watermelon juice. Due to a limitation on production capacity, the factory can produce at most 180 packs of juice in a day. The number of packs of watermelon juice produced exceeds the number of packs of guava juice by less than 60 packs. The demand for the number of packs of watermelon juice is at least 1/2 of the number of packs of guava juice.
(a) In a day, the factory produces x packs of guava juice and y packs of watermelon juice. Write three inequalities other than x ≥ 0 and y ≥ 0 that satisfy all the above constraints.
[3 marks]
(b) Using a scale of 2 cm to 20 packs on both axes, construct and shade the region R which satisfies all the above constraints (x + y ≤ 180, y − x < 60, y ≥ (1/2)x, x ≥ 0, y ≥ 0).
[3 marks]
Use the graph constructed in 13(b) to answer the following:
(c) (i) State the maximum number of packs of guava juice produced. (ii) Due to an increase in the price of guava on a particular day, each pack of guava juice causes a loss of RM5.50. The profit from each pack of watermelon juice is RM40. If the factory has produced 80 packs of watermelon juice on that day, calculate the maximum profit obtained.
6:29Part (a)
Step 1
Let x = packs of guava juice and y = packs of watermelon juice.
3 more steps, each with the reason for it, in the full solution
Final answer
x + y ≤ 180; y − x < 60; y ≥ (1/2)x
Where students lose marks
Watch out: 'less than 60' is strict, so write y − x < 60, not y − x ≤ 60.
Part (b)
5 more steps, each with the reason for it, in the full solution
Final answer
Region R shaded (see video)
Where students lose marks
Watch out: use the scale 2 cm to 20 packs, and draw y − x = 60 as a dashed line because the inequality is strict.
Part (c)
6 more steps, each with the reason for it, in the full solution
Final answer
(i) 120 packs; (ii) RM3084.50
Where students lose marks
Watch out: guava is a loss, so pick the smallest allowed x (x = 21), not x = 100, which gives RM2650 instead of RM3084.50.
Watch every step of this question solved on video (6:29), with the reason behind each step and a box that checks your own answer.
No card. Every past-year question on video, in English and BM.
More Linear Programming questions
- SPM 2020 Add Maths Paper 2, Question 14
- SPM 2021 Add Maths Paper 2, Question 15
- SPM 2023 Add Maths Paper 2, Question 14
- SPM 2024 Add Maths Paper 2, Question 13
- Kuala Lumpur Trial 2025 Add Maths Paper 2, Question 12
- Melaka Trial 2025 Add Maths Paper 2, Question 15
- MRSM Trial 2025 Add Maths Paper 2, Question 13
- Selangor Trial 2025 Add Maths Paper 2, Question 15
Questions are re-typeset by Eduly for study and commentary. Eduly is not affiliated with Lembaga Peperiksaan Malaysia or the Ministry of Education.