Modeling with
Constraints
Learn to represent real-world limits using equations, inequalities, and systems: then decide which solutions actually make sense.
What Is a Constraint?
A constraint is any condition that limits what values a variable can take. In the real world, constraints come from budgets, physical limits, rules, and available resources.
Equations vs Inequalities
The language of a problem tells you which mathematical tool to use. Look for keywords that signal equality or inequality.
Translating Words to Math
Here is a real scenario: "A bakery sells cookies for $3 each and brownies for $5 each. The total revenue must be at least $150."
Systems of Constraints
Real problems usually have multiple constraints at once. Together, they form a system of equations and/or inequalities.
A solution must satisfy every constraint simultaneously. The set of all such solutions is called the feasible region.
The Feasible Region
Viable vs Nonviable Solutions
A viable solution satisfies every constraint and makes sense in the real-world context. A nonviable solution fails at least one constraint or is unrealistic.
Strict vs Non-Strict Inequalities
| Strict | Non-Strict | |
|---|---|---|
| Symbol | \( < \) or \( > \) | \( \leq \) or \( \geq \) |
| Boundary included? | No (dashed line) | Yes (solid line) |
| Keyword clue | "less than," "more than" | "at most," "at least," "no more than" |
| Example | \( x > 5 \) | \( x \geq 5 \) |
Step-by-Step Method
Example 1: Nutrition Plan
Problem: A dietitian plans meals using Food A (200 cal, $2) and Food B (300 cal, $4). A patient needs at least 1200 calories and can spend at most $20.
Example 1: Graph the System
Example 2: Concert Tickets
Problem: A venue sells student tickets at $15 and adult tickets at $25. They want total revenue of exactly $3000 and can sell at most 150 tickets.
Example 3: Three Constraints
Problem: A factory makes tables (\( t \)) and chairs (\( c \)). Each table takes 3 hours; each chair takes 1 hour. The factory has at most 120 labor hours, uses at most 50 units of wood (2 per table, 1 per chair), and must make at least 10 chairs.
Test \( (15, 20) \): Labor: \( 3(15)+20 = 65 \leq 120 \) ✓. Wood: \( 2(15)+20 = 50 \leq 50 \) ✓. Chairs: \( 20 \geq 10 \) ✓. Viable.
Test \( (20, 15) \): Wood: \( 2(20)+15 = 55 > 50 \) ✕. Nonviable: exceeds wood supply.
Common Mistakes
Summary Table
| Keyword | Math Symbol | Graph Feature |
|---|---|---|
| "exactly," "is," "equals" | \( = \) | Solid line (solutions on line) |
| "at most," "no more than" | \( \leq \) | Solid line, shade below/left |
| "at least," "no fewer than" | \( \geq \) | Solid line, shade above/right |
| "less than" | \( < \) | Dashed line, shade below/left |
| "greater than" | \( > \) | Dashed line, shade above/right |
Question 1 of 5
A store sells pens for $2 and notebooks for $5. A customer can spend at most $30. Which inequality models this constraint?
Question 2 of 5
Given the system \( x + y \leq 10 \) and \( 2x + 3y \geq 18 \), is the point \( (6, 3) \) a viable solution?
Question 3 of 5
A school needs at least 200 volunteer hours from adults (\( a \)) and students (\( s \)). Adults work 4 hours each; students work 2 hours each. Which inequality represents this?
Question 4 of 5
A farmer grows corn (\( c \)) and wheat (\( w \)) on 100 acres. The system is: \( c + w \leq 100 \), \( c \geq 20 \), \( w \geq 10 \). Which point is nonviable?
Question 5 of 5
A caterer offers meal plan A ($8) and plan B ($12). They need exactly 50 meals total and must keep the total cost no more than $500. Which system represents these constraints?