Inequalities & Optimization
Solving inequalities follows almost the same steps as equations. You can add, subtract, and multiply/divide by positive numbers freely. The one special rule:
−2x > 6 → divide by −2 → x < −3 (sign reversed!)
This is the single most common error. Always ask: did I divide by a negative?
Types of Solutions
- Simple: x < 6 — a single ray on the number line
- Compound (AND): 9 ≤ x ≤ 13 — a segment; both conditions must hold simultaneously
- Compound (OR): x < −3 OR x > 5 — two rays; either condition suffices
- Notation: x ∈ (−∞, 6) means x < 6; x ∈ [−3, 5] means −3 ≤ x ≤ 5
Dividing by negative −3 reverses the inequality
4 ≤ x, i.e. x ≥ 41 ≤ x < 5x > 8Checkpoint 1 — Solving Inequalities
- Solve: −4x + 7 ≥ 19
- Solve: 3(2x − 1) < 2(x + 5)
- Solve: −3 < 2x + 1 ≤ 9
- −4x ≥ 12 → x ≤ −3 (flip!) → x ≤ −3
- 6x − 3 < 2x + 10 → 4x < 13 → x < 13/4 = 3.25
- Subtract 1: −4 < 2x ≤ 8; divide by 2: −2 < x ≤ 4
A one-variable inequality describes a set of numbers on the number line. There are two things to mark: the endpoint and the direction.
Number Line Rules
- Closed dot ● at the endpoint — use for ≤ or ≥ (endpoint included)
- Open dot ○ at the endpoint — use for < or > (endpoint excluded)
- Shade the ray in the direction that satisfies the inequality
- For AND compound (e.g. 1 ≤ x < 5): shade the segment between endpoints
- For OR compound (e.g. x < −3 OR x > 2): shade both rays outward
closed dot ● at 3shade leftopen dot ○ at −2closed dot ● at 4Checkpoint 2 — Number Line Graphs
- Describe the graph of x > −1
- Describe the graph of −5 ≤ x < 0
- Solve and describe graph: |2x + 3| < 7
- Open dot at −1, ray shaded right
- Closed dot at −5, open dot at 0, segment between them shaded
- |2x+3| < 7 → −7 < 2x+3 < 7 → −10 < 2x < 4 → −5 < x < 2. Open dots at −5 and 2, segment shaded.
A 2-variable inequality like y ≥ 2x + 1 describes a half-plane — one side of the boundary line (plus the line itself if the inequality is ≤ or ≥).
5-Step Graphing Method
- Step 1: Rearrange to isolate y if helpful
- Step 2: Graph the boundary line (y = mx + b)
- Step 3: Solid line for ≤ or ≥; dashed line for < or >
- Step 4: Test the point (0, 0) in the original inequality
- Step 5: True → shade origin side; False → shade opposite side
dashed lineshade the side containing the origin (above the line)solid line.below the line y = 3x.solid line.Checkpoint 3 — Graphing Half-Planes
- Describe the graph of 3x − 2y > 6
- Which side of y = x + 2 is shaded for y < x + 2?
- For x + y ≤ 5, test the point (2, 2). Is it in the shaded region?
- Rearrange: y < (3x−6)/2. Dashed line y = 1.5x−3. Test (0,0): 0 < −3? No → shade below the line (away from origin).
- Test (0,0): 0 < 0+2 ✓ → shade the side containing the origin (below the line)
- 2+2=4 ≤ 5 ✓ → yes, (2,2) is in the shaded region
A system of inequalities defines a feasible region — the set of all points satisfying ALL constraints simultaneously. This is usually a polygon (or sometimes unbounded).
Finding the Feasible Region
- Graph each inequality separately on the same axes
- The feasible region is the area where all shadings overlap
- Find all vertices (corner points) by solving pairs of boundary lines as simultaneous equations
- Include the non-negativity constraints x ≥ 0, y ≥ 0 when specified (restricts to the first quadrant)
- If a boundary is dashed, its vertices are open points — not included in the region
(0, 0)(4, 0). Check: x+y = 4 ≤ 6 ✓Subtract: (2x+y) − (x+y) = 8−6 → x = 2; then y = 6−2 = 4 →
(2, 4)
(0, 6). Check: 2(0)+6 = 6 ≤ 8 ✓Checkpoint 4 — Feasible Regions
- Find the vertices of: x ≥ 0, y ≥ 0, x + y ≤ 5, x + 2y ≤ 8
- Is (4, 1) feasible for: x ≥ 0, y ≥ 0, 2x + y ≤ 9, x + 3y ≤ 7?
- Intersections: (0,0); y=0,x+y=5 → (5,0); x=0,x+2y=8 → (0,4); x+y=5 and x+2y=8: subtract→y=3,x=2 → (2,3). Vertices: (0,0), (5,0), (2,3), (0,4)
- Check (4,1): 2(4)+1=9≤9✓; 4+3(1)=7≤7✓; x,y≥0✓ → Yes, (4,1) is feasible
Linear programming is the method of finding the maximum or minimum of a linear objective function subject to a set of linear constraint inequalities. This is the mathematical basis for most real-world resource optimization.
The 7-Step Method
- Step 1: Define variables — what do x and y represent?
- Step 2: Write the objective function (maximise or minimise what?)
- Step 3: Write all constraints (including x ≥ 0, y ≥ 0 if needed)
- Step 4: Graph constraints and shade the feasible region
- Step 5: Find all vertices (corner points)
- Step 6: Evaluate the objective function at every vertex
- Step 7: State the maximum (or minimum) and interpret in context
P(0, 0) = 3(0) + 5(0) =
0P(5, 0) = 3(5) + 5(0) =
15P(3, 4) = 3(3) + 5(4) = 9 + 20 =
29P(0, 6) = 3(0) + 5(6) =
30
C(1, 2) = 2 + 6 =
8C(4, 1) = 8 + 3 =
11C(5, 4) = 10 + 12 =
22C(2, 5) = 4 + 15 =
19
Checkpoint 5 — Linear Programming Setup
- Vertices: (0,0), (6,0), (4,3), (0,5). Maximise Z = 4x + 2y. Which vertex gives the maximum?
- Write the objective function and constraints for: A factory makes chairs ($30 profit) and tables ($50 profit). At most 20 items total; chairs need 2 hours, tables 5 hours, 70 hours available.
- Z(0,0)=0; Z(6,0)=24; Z(4,3)=16+6=22; Z(0,5)=10 → Maximum Z=24 at (6,0)
- Let x=chairs, y=tables. Objective: P = 30x + 50y. Constraints: x+y ≤ 20; 2x+5y ≤ 70; x ≥ 0; y ≥ 0
Now we apply all 7 steps to complete problems. The key challenge is translating a word problem into variables, an objective function, and constraints — then working through the geometry.
x + y ≤ 10 (total items)
2x + 3y ≤ 24 (hours)
x ≥ 0, y ≥ 0
A = (0, 0)
B = (10, 0) [y=0 in x+y=10]
C = (0, 8) [x=0 in 2x+3y=24]
D: solve x+y=10 and 2x+3y=24 → substitute y=10−x: 2x+3(10−x)=24 → −x=−6 → x=6, y=4 → D=(6,4)
P(0,0) = 0 P(10,0) = 150 P(0,8) = 160 P(6,4) = 90+80 =
170 ← Maximum
4x + 2y ≥ 8 (protein, simplifies to 2x + y ≥ 4)
x + 3y ≥ 6 (iron)
x ≥ 0, y ≥ 0
A: x = 0 in 2x+y=4 → (0, 4)
B: y = 0 in x+3y=6 → (6, 0)
C: intersection of 2x+y=4 and x+3y=6:
From first: y=4−2x; substitute: x+3(4−2x)=6 → x+12−6x=6 → −5x=−6 → x=6/5, y=4−12/5=8/5 → C=(1.2, 1.6)
C(0,4) = 0+12 = 12 C(6,0) = 12+0 = 12 C(1.2,1.6) = 2.4+4.8 =
7.2 ← Minimum
3x + 2y ≤ 120 (machine hours)
2x + 4y ≤ 160 → x + 2y ≤ 80 (labour)
x ≥ 0, y ≥ 0
A = (0, 0)
B: y=0 in 3x+2y=120 →
(40, 0)C: x=0 in x+2y=80 →
(0, 40)D: solve 3x+2y=120 and x+2y=80: subtract → 2x=40 → x=20; y=(80−20)/2=30 →
(20, 30)
P(0,0)=0 P(40,0)=1600 P(0,40)=2400 P(20,30)=800+1800=
2600 ← Maximum
Checkpoint 6 — Full Optimization
- For the bakery problem: if the constraint changes to at most 8 items total (hours unchanged), find the new optimal solution.
- A farmer plants wheat (profit $100/ha) and corn (profit $150/ha). Max 20 ha total. Wheat needs 2 h/ha work, corn needs 4 h/ha work, 60 h labour available. Wheat needs 10 L water, corn 30 L, 400 L available. Write the objective function and all constraints.
- New constraints: x+y≤8, 2x+3y≤24. Vertices: (0,0),(8,0),(0,8),(solve: x+y=8,2x+3y=24→x=0,y=8 same point). Evaluate P=15x+20y: P(0,0)=0; P(8,0)=120; P(0,8)=160 ← Maximum. Make all 8 pies.
- x=wheat ha, y=corn ha. Objective: P=100x+150y. Constraints: x+y≤20; 2x+4y≤60 (→x+2y≤30); 10x+30y≤400 (→x+3y≤40); x≥0; y≥0
Checkpoint 7 — Mixed Review
- Solve: −3(x − 2) > 2(x + 1) + 7
- Describe the feasible region for: x ≥ 0, y ≥ 0, y ≤ 4, x + y ≤ 6. List all vertices.
- For objective function Z = 5x + 8y and vertices (0,0), (4,0), (3,3), (0,4): find the maximum and where it occurs.
- −3x+6 > 2x+2+7 → −3x+6 > 2x+9 → −5x > 3 → x < −3/5 (flip!) → x < −0.6
- Constraints form a quadrilateral in Q1. Vertices: (0,0), (6,0), (2,4), (0,4)
— (6,0): x+y=6 meets y=0
— (2,4): x+y=6 meets y=4 → x=2 - Z(0,0)=0; Z(4,0)=20; Z(3,3)=15+24=39; Z(0,4)=32 → Maximum Z=39 at (3,3)