Graphical
Optimization
Learn to maximize or minimize an objective function over a feasible region using the graphical method of linear programming.
What is Linear Programming?
Linear programming is a method for finding the best outcome (maximum profit, minimum cost) given a set of linear constraints. Every LP problem has three parts:
Visualizing the Feasible Region
Why Do Corner Points Matter?
The objective function \( Z = ax + by \) is a family of parallel lines. As we slide these lines across the feasible region, the optimal value always occurs at a vertex (corner point) of the polygon.
The Corner Point Theorem
This means you only need to evaluate \( Z \) at each corner point: the largest value is the maximum, and the smallest is the minimum. You never need to test interior points.
Bounded vs Unbounded Regions
Maximization vs Minimization
| Maximize \( Z \) | Minimize \( Z \) | |
|---|---|---|
| Goal | Find the largest value of \( Z \) | Find the smallest value of \( Z \) |
| Direction | Push iso-profit line away from origin | Pull iso-cost line toward origin |
| Answer | Corner point with highest \( Z \) | Corner point with lowest \( Z \) |
| Unbounded? | May have no maximum | May have no minimum |
How to Solve Graphically
Example 1: Setting Up
Step 1: Convert each inequality to an equation and find intercepts.
Step 2: The non-negativity constraints \( x \geq 0, y \geq 0 \) restrict us to the first quadrant.
Example 1: Graph & Corner Points
Step 3: The corner point \((2, 3)\) is found by solving \( x + 2y = 8 \) and \( 3x + 2y = 12 \) simultaneously: subtracting gives \( 2x = 4 \), so \( x = 2 \), \( y = 3 \).
Example 1: Evaluating \( Z \)
Step 4: Evaluate \( Z = 4x + 3y \) at every corner point:
| Corner Point | \( Z = 4x + 3y \) |
|---|---|
| \((0, 0)\) | \( 4(0) + 3(0) = 0 \) |
| \((4, 0)\) | \( 4(4) + 3(0) = 16 \) |
| \((2, 3)\) | \( 4(2) + 3(3) = 17 \) |
| \((0, 4)\) | \( 4(0) + 3(4) = 12 \) |
Example 2: Minimization
Notice the constraints use \( \geq \): the feasible region is above each boundary line. This creates an unbounded region that opens upward and to the right.
Example 2: Finding the Minimum
Evaluate \( C = 2x + 5y \) at each corner point of the unbounded region:
| Corner Point | \( C = 2x + 5y \) |
|---|---|
| \((0, 6)\) | \( 2(0) + 5(6) = 30 \) |
| \((2, 2)\) | \( 2(2) + 5(2) = 14 \) |
| \((4, 0)\) | \( 2(4) + 5(0) = 8 \) |
Example 3: Multiple Constraints
Corner points (found by solving pairs of equations):
Common Mistakes to Avoid
Summary of the Graphical Method
| Step | Action | Key Detail |
|---|---|---|
| 1 | Graph constraints | Plot boundary lines, shade correct side |
| 2 | Find feasible region | Overlap of all shaded areas (include axes) |
| 3 | Identify corners | Solve all pairs of boundary equations |
| 4 | Evaluate \( Z \) | Plug each corner into \( Z = ax + by \) |
| 5 | Select optimum | Largest \( Z \) = max, smallest = min |
Question 1 of 5
According to the Corner Point Theorem, where does the optimal value of a linear objective function occur on a bounded feasible region?
Question 2 of 5
Given \( Z = 3x + 2y \) with corner points \((0,0)\), \((5,0)\), \((3,4)\), and \((0,6)\), what is the maximum value of \( Z \)?
Question 3 of 5
A feasible region is unbounded and opens upward. You want to maximize \( Z = x + 3y \). What can you conclude?
Question 4 of 5
When graphing \( 2x + y \leq 8 \), which side of the boundary line \( 2x + y = 8 \) do you shade?
Question 5 of 5
Minimize \( C = x + 4y \) subject to \( x + y \geq 5 \), \( x + 3y \geq 9 \), \( x \geq 0 \), \( y \geq 0 \). The corner points are \((0,5)\), \((3,2)\), and \((9,0)\). What is the minimum?