Subject: Class 12 Mathematics Chapter: Constraints Topic: 13.4 Constraints – Represent constraints using inequalities
Constraints are the restrictions that turn an open mathematical problem into a realistic one. Without constraints, a producer could make an infinite number of products and earn infinite profit, and the question would have no meaning. Constraints express the real limits of the world, such as the amount of raw material available, the number of machine hours in a week, the minimum demand that must be met, or the space available for storage.
Every constraint is a linear inequality or equation in the decision variables. In a two variable problem the constraints have the forms ax + by ≤ c, ax + by ≥ c, or ax + by = c. The inequality sign is not a small detail; it decides which side of the boundary line belongs to the feasible region, and an incorrect sign changes the entire answer. Converting the words of a problem into the correct inequality is therefore one of the most heavily tested skills in the chapter.
In this chapter we study the different kinds of constraints, the conversion of word phrases into inequalities, the method of drawing boundary lines, and the technique of deciding which side of a line satisfies an inequality. These skills are the bridge between the formulation of a problem and its graphical solution.
Constraints are classified according to the role they play in the problem and the form of the inequality that represents them.
Solved Example 1: A garment factory has 120 metres of cloth and 80 hours of stitching time. A shirt needs 2 metres and 1 hour, while a pair of trousers needs 3 metres and 2 hours. Classify and write all the constraints if x shirts and y pairs of trousers are made.
Solution: - Step 1: Cloth is a resource with a limit, so it is a structural constraint: 2x + 3y ≤ 120. - Step 2: Stitching time is also a limited resource: x + 2y ≤ 80. - Step 3: The restrictions x ≥ 0 and y ≥ 0 are the non-negativity constraints.
The words of a problem indicate which inequality sign is needed. This translation is the step where the greatest number of marks are lost in examinations, so the mapping must be memorised.
Solved Example 2: A dietician plans a meal that must contain at least 40 grams of protein and not more than 300 grams of carbohydrate. Food X provides 8 grams of protein and 60 grams of carbohydrate per unit, while food Y provides 5 grams of protein and 40 grams of carbohydrate per unit. Write the constraints for x units of food X and y units of food Y.
Solution: - Step 1: Protein requirement: 8x + 5y ≥ 40. - Step 2: Carbohydrate limit: 60x + 40y ≤ 300. - Step 3: Non-negativity: x ≥ 0, y ≥ 0.
Solved Example 3: A contractor must produce exactly 500 concrete blocks each day using two machines. Machine M1 produces 20 blocks per hour and machine M2 produces 30 blocks per hour. If M1 runs for x hours and M2 for y hours, write the constraints.
Solution: - Step 1: The daily output must be exactly 500 blocks: 20x + 30y = 500. - Step 2: The machines cannot run for negative hours: x ≥ 0, y ≥ 0. - Step 3: If a machine can run for at most 10 hours, an additional constraint x ≤ 10 and y ≤ 10 would be added.
To draw a linear inequality we first replace the inequality sign by an equals sign and draw the resulting straight line, which is called the boundary line of the constraint.
Solved Example 4: Sketch the region represented by x + 2y ≤ 8 for x ≥ 0 and y ≥ 0.
Solution: - Step 1: Draw the line x + 2y = 8. Its intercepts are (8, 0) and (0, 4). - Step 2: Test the origin (0, 0) in x + 2y ≤ 8. Since 0 ≤ 8 is true, the origin lies on the feasible side. - Step 3: Shade the side containing the origin in the first quadrant. - Step 4: The feasible region is the triangle with vertices (0, 0), (8, 0) and (0, 4).
Solved Example 5: Sketch the region represented by 3x + y ≥ 6 for x ≥ 0 and y ≥ 0.
Solution: - Step 1: Draw the line 3x + y = 6 with intercepts (2, 0) and (0, 6). - Step 2: Test the origin (0, 0) in 3x + y ≥ 6. Since 0 ≥ 6 is false, the origin is not feasible. - Step 3: Shade the side away from the origin. - Step 4: The feasible region is the first quadrant region lying beyond the line from the origin.
When two or more constraints are combined, the feasible region of the whole problem is the intersection of the feasible sides of all the constraints. Points must satisfy every inequality simultaneously, and a point that fails a single constraint is outside the feasible region no matter how many other constraints it satisfies.
| Phrase in the problem | Meaning | Sign |
|---|---|---|
| At least, minimum, not less than | Greater than or equal to | ≥ |
| At most, maximum, not more than | Less than or equal to | ≤ |
| Exactly, must be equal to | Equal to | = |
| Cannot exceed, limited to, up to | Less than or equal to | ≤ |
| Must meet a target, requirement | Greater than or equal to | ≥ |
| Type of constraint | Form | Example |
|---|---|---|
| Structural | ax + by ≤ c | 2x + 3y ≤ 120 |
| Requirement | ax + by ≥ c | 8x + 5y ≥ 40 |
| Equality | ax + by = c | 20x + 30y = 500 |
| Non-negativity | x ≥ 0, y ≥ 0 | x ≥ 0 |
| Redundant | Does not change the region | x + y ≤ 200 when other limits are tighter |
flowchart TD
A[Constraints] --> B[Structural Constraints]
A --> C[Requirement Constraints]
A --> D[Equality Constraints]
A --> E[Non-negativity Restrictions]
A --> F[Redundant Constraints]
B --> G[ax + by <= c]
C --> H[ax + by >= c]
D --> I[ax + by = c]
E --> J[x >= 0, y >= 0]
F --> K[Does not bound the region]
G --> L[Boundary line]
H --> L
I --> L
L --> M[Test point decides feasible side]
Constraints are what make a linear programming problem realistic, because they capture the limited resources, the minimum requirements, and the non-negativity rules of the real situation in the language of linear inequalities. The correct representation of a constraint depends on converting the words of the problem into the right sign, drawing the correct boundary line, and choosing the correct half plane by the test point method. A student who can do these three things reliably can represent any constraint graphically, and when all the constraints are combined the intersection of their feasible sides produces the feasible region on which the entire graphical method of optimization is built.