# 7.1 Linear Programming Model

SPM Form 5 Additional Mathematics (KSSM) · Chapter 7 Linear Programming. Interactive version with diagrams: https://spmtuition.com/add-math/form-5/chapter-7-linear-programming/7-1-linear-programming-model/

## Variables and constraints

![Non-negative item counts lie below the resource boundary](https://spmtuition.com/diagrams/required-workshop-feasible-region.svg)

*Non-negative item counts lie below the resource boundary*

Choose variables for the two quantities. Translate each condition into a linear inequality.

| Wording | Symbol |
| --- | --- |
| At most | ≤ |
| At least | ≥ |
| Less than | < |
| More than | > |

Include x ≥ 0 and y ≥ 0 when quantities cannot be negative.

**Worked example:** A workshop makes x stools and y tables. Each uses 2 and 5 hours. At most 40 hours are available. Form a constraint.

1. Time for stools = 2x hours.
2. Time for tables = 5y hours.
3. Total time cannot exceed 40 hours.

**Answer:** 2x + 5y ≤ 40

### Practice questions: Variables and constraints

1. “At most 12 items” gives which constraint?
   A. x + y ≤ 12
   B. x + y ≥ 12
   C. x + y = 12 only
   D. x + y > 12
   **Answer:** A. x + y ≤ 12. At most includes 12 and all smaller allowed totals.

2. Each A uses 3 kg, each B uses 2 kg, and 18 kg are available. Which constraint fits?
   A. 3x + 2y ≤ 18
   B. 2x + 3y ≤ 18
   C. 3x + 2y ≥ 18
   D. x + y ≤ 18
   **Answer:** A. 3x + 2y ≤ 18. Multiply each quantity by its resource requirement.

## Feasible region

![The common region satisfies all three inequalities](https://spmtuition.com/diagrams/required-common-inequality-region.svg)

*The common region satisfies all three inequalities*

1. Draw each boundary line
2. Use a test point to choose a half-plane
3. Find the overlap of all allowed half-planes
4. Label the feasible region and vertices

Use a solid boundary for ≤ or ≥. Use a dashed boundary for < or >.

> **Exam tip:** Keep the feasible region, not the rejected side. A test point on a boundary cannot choose a side.

### Practice questions: Feasible region

1. Which point satisfies x + y ≤ 5 with x,y ≥ 0?
   A. (5, 1)
   B. (2, 2)
   C. (3, 3)
   D. (−1, 2)
   **Answer:** B. (2, 2). It is non-negative and its sum is 4.

2. Which boundary style represents x + y < 6?
   A. No boundary
   B. A curve
   C. Dashed
   D. Solid
   **Answer:** C. Dashed. Strict inequalities exclude the boundary.

3. What is the feasible region?
   A. The union of rejected regions
   B. Any region near the origin
   C. Only the x-axis
   D. The overlap satisfying every constraint
   **Answer:** D. The overlap satisfying every constraint. A feasible solution must obey all conditions simultaneously.

---

Online SPM tuition for Physics, Chemistry, Biology, Mathematics and Additional Mathematics, Form 4–5, in English or BM. Students who want tuition or extra help can request it at https://spmtuition.com/tuition/.
