Linear Inequalities & Programming
Graphing linear inequalities, shading feasible regions, and linear programming problems.
Linear programming uses inequalities to describe limits, then finds the best possible outcome inside those limits. The shaded region is not decoration; it represents all values that satisfy every condition at the same time.
For CSEC, these problems usually involve resources such as time, money, materials, or production limits. Define the variables, write the inequalities from the wording, shade the feasible region, and test corner points when maximising or minimising. Each step explains the model.
Inequalities in One Variable
An inequality shows a relationship where something is greater than, less than, greater than or equal to, or less than or equal to something else.
Symbols:
- : greater than
- : less than
- : greater than or equal to
- : less than or equal to
Solving One-Variable Linear Inequalities
Solve like equations, BUT flip the inequality sign when multiplying or dividing by a negative number.
Solve :
Step 1: Add 2 to both sides
Step 2: Divide by 3 (positive, so don't flip)
Answer: All numbers greater than 3. Set notation:
Number line representation:
Solve :
Step 1: Subtract 5 from both sides
Step 2: Divide by -2 (negative, so FLIP the sign!)
Answer: All numbers greater than or equal to 2. Set notation:
Number line representation:
Inequalities in Two Variables
An inequality like represents a region (not just a line).
Graphing Two-Variable Inequalities
Step 1: Graph the boundary line
- Use dashed line if inequality is or (not included)
- Use solid line if inequality is or (included)
Step 2: Shade the appropriate region
- For : shade ABOVE the line
- For : shade BELOW the line
- Test a point if unsure: pick and check if it satisfies the inequality
Graph :
Step 1: Graph boundary line
- Y-intercept:
- Slope:
- Use SOLID line (inequality includes )
Step 2: Shade region
- Test point : ✓ TRUE
- Since makes it true and it's below the line, shade BELOW
What Is Linear Programming?
Linear programming is a method to find the best solution (maximum or minimum) when you have:
- An objective function (what you want to maximize or minimize)
- Constraints (limitations or restrictions, usually linear inequalities)
Real-world applications:
- Maximize profit subject to resource limits
- Minimize cost subject to production requirements
- Optimize resource allocation
The Feasible Region
The feasible region is the area that satisfies all constraints simultaneously.
To find it:
- Graph each constraint as a linear inequality
- Shade the region that satisfies ALL constraints
- The overlapping region is the feasible region
Graph the constraints:
Step 1: Graph each line
- Line 1: (intercepts at and )
- Line 2: (intercepts at and )
- Lines 3 & 4: axes (since and )
Step 2: Shade regions below/right of lines for and
Step 3: Overlapping region = feasible region (usually a polygon)
Optimization — Finding the Best Solution
The optimal solution occurs at a vertex (corner point) of the feasible region.
Method:
- Find all corner points of the feasible region
- Evaluate the objective function at each corner point
- Choose the point that gives the maximum or minimum value
Maximize profit: subject to:
Step 1: Find corner points of feasible region
- (origin)
- (where line 2 meets x-axis)
- (where lines 1 and 2 intersect)
- (where line 1 meets y-axis)
Step 2: Evaluate at each corner
- At :
- At :
- At : ← MAXIMUM
- At :
Optimal solution: gives maximum profit of 20
This means: produce 4 of product and 4 of product for maximum profit.