Meal Planning: Two Foods, Two Requirements
A meal is made from two foods. It must provide at least 40 g of protein and cost at most $30.
- Food A: 10 g protein per lb, $2/lb
- Food B: 5 g protein per lb, $4/lb
How do you find a combination that satisfies both requirements at once?
Which Combinations Pass Both Conditions?
| Protein? | Budget? | Both? | |
|---|---|---|---|
| 75 ✓ | 30 ✓ | Yes | |
| 15 ✗ | 6 ✓ | No | |
| 100 ✓ | 50 ✗ | No |
Constraints: Every Condition Must Hold
- A constraint is a condition every valid solution must satisfy
- Real problems have multiple constraints — all must hold at the same time
- The set of all solutions satisfying every constraint: the feasible region
Writing the Full System: Food Example
- Protein, at least 40 g:
- Budget, at most $30:
- No negative Food A:
- No negative Food B:
Why You Must Include Non-Negativity
- Real quantities can't be negative: write
and into the system - Without
, passes protein (95 g) and budget ($16) - Yet it means buying
lb of Food B
List Every Constraint Before Writing Algebra
- Time:
- Units:
- Cap:
- Non-neg:
Recall: Each Inequality Defines a Half-Plane
- A linear inequality in two variables divides the plane into two half-planes
- The boundary line is where equality holds:
- A test point picks the side:
gives ? No, so shade the other side
Intersection Not Union: All Must Hold
| Constraint | ||
|---|---|---|
| ✓ | ✗ | |
| ✓ | ✓ | |
| Both | ✓ | ✗ |
Feasible = the overlap where every half-plane's shading agrees.
Recall: Graph the Budget Constraint
Constraint:
Solid or dashed boundary? Which side is shaded?
Answer: Solid (
Two Constraints, One Feasible Region
Region F satisfies both
Recall: Solid or Dashed Boundaries
- ≤ or ≥ → solid line — the boundary is included; spending exactly $30 satisfies "at most $30"
- < or > → dashed line — the boundary is excluded
- Like a closed or open circle on a number line
Reading Food's Feasible Region, Edge by Edge
- A triangle: corners
, , - Edges: protein line, budget line,
-axis, all included forms no edge: the two lines meet at is on the budget edge: cost exactly $30
Exactly $30: The Budget Becomes an Equation
Change the budget to "the meal must cost exactly $30."
Predict the new feasible set before advancing.
- Budget:
- System:
, ,
Exactly $30: The Region Is a Segment
- Solutions lie on the cost line only
- Segment from
to , ends included is on it is on the line but gives g protein
Manufacturing's Region Is Not a Triangle
- A quadrilateral: corners
, , , forms no edge: the line touches the region only at
A region can have any number of sides, never a dent.
Mathematical vs. Contextual Viability Differ
Only whole units can be manufactured. Is
- Mathematical: passes all five inequalities (time
) ✓ - Contextual: not whole numbers of units ✗
- Food: pounds take every value, so no point is ruled out
Testing Which Manufacturing Points Are Viable
| Point | Viable? | Why not? |
|---|---|---|
| ✓ | — | |
| ✗ | Time: |
|
| ✓ | — | |
| ✗ | Units: |
Testing Food Points: Name Every Violation
| Constraint | ||
|---|---|---|
| ✓ | ||
| ✓ | ✓ | |
| Viable? | Yes | No |
Two Kinds of Non-Viable Points
| Type | Definition | Example |
|---|---|---|
| Outside the region | Violates at least one constraint; name each | |
| Inside, but ruled out by context | Passes every inequality; context forbids it |
Check the constraints first, then ask what the context allows.
Protein Rises to 60g: Larger or Smaller Region?
Does the feasible region get larger or smaller? Which direction does it shift?
Answer: Smaller — the protein constraint tightens, cutting away combinations that used to pass. The boundary line shifts away from the origin, so less of the region satisfies both constraints.
Corner Points: Recall Vertices, Reject Outsiders
- A corner: two included boundary lines meet, every other constraint holds
- Protein ∩ budget →
- Not corners:
costs $32; gives 37.5 g
The Feasible Region Tells the Full Story
- Outside: at least one rule broken
- Inside: all constraints hold at once
- Pounds take every value, so every point of Food's region is a viable meal
The constraints drew the boundary; you choose the plan.
Reading Each Corner in Context
| Corner | On which lines | In context |
|---|---|---|
| protein, |
4 lb A, no B: exactly 40 g | |
| budget, |
15 lb A, no B: exactly $30 | |
| protein, budget | exactly 40 g for exactly $30 |
The exact-$30 segment runs between two corners.
Two Exact Amounts: A System of Two Equations
"Exactly $30 and exactly 50 g of protein"
, so ,- Both non-negative: viable, the only option
Two Exact Amounts: When the One Point Fails
"Exactly $30 and exactly 20 g of protein"
, so , breaks : non-viable; no meal meets both
Find the Error: Which Half-Plane Is Wrong?
A student shaded below the protein line for
What mistake did the student make?
Answer: The protein constraint uses ≥. Test
Five Errors to Watch for Every Time
Wrong shading — test a point, don't guess
Union, not intersection — find the overlap
Missing non-negativity — write
Integers everywhere — only counts need whole numbers
Triangle only — a region can have any number of sides
Everything That Works at Once: Next Steps
The feasible region is the picture of everything that works at once.
- Every point inside satisfies all constraints simultaneously
- Every point outside breaks at least one rule
Coming next: solving systems of linear equations in general (REI.C.6).