01 / 21

Graphical
Optimization

Learn to maximize or minimize an objective function over a feasible region using the graphical method of linear programming.

Finite Mathematics

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:

Objective Function
A linear expression to maximize or minimize, such as \( Z = 3x + 5y \).
Constraints
Linear inequalities that restrict the variables, e.g. \( 2x + y \leq 10 \).
Feasible Region
The set of all points \((x, y)\) that satisfy every constraint simultaneously.

Visualizing the Feasible Region

\(x\)
\(y\)
2 4 6 8 10 2 4 6 8
\( x + 2y = 10 \)
\( 3x + 2y = 18 \)
(0,0) (6,0) (4,3) (0,5) 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.

\(x\)
\(y\)
Increasing \(Z\)
Optimal iso-profit lines

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

Bounded
The feasible region is a closed polygon. Both a max and min of \( Z \) are guaranteed to exist at corner points.
Unbounded
The region extends infinitely in some direction. \( Z \) may be unbounded: no maximum (or no minimum) exists.
Bounded Unbounded
extends to \(\infty\)

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

1
Graph each constraint as a boundary line. Shade the side that satisfies the inequality.
2
Identify the feasible region: the area where all shaded regions overlap (including \( x \geq 0 \), \( y \geq 0 \)).
3
Find every corner point by solving pairs of boundary equations simultaneously.
4
Evaluate the objective function \( Z \) at each corner point.
5
Select the optimal value: the largest \( Z \) for maximization, the smallest for minimization.

Example 1: Setting Up

Step 1: Convert each inequality to an equation and find intercepts.

\( x + 2y = 8 \)
Intercepts: \((8, 0)\) and \((0, 4)\)
\( 3x + 2y = 12 \)
Intercepts: \((4, 0)\) and \((0, 6)\)

Step 2: The non-negativity constraints \( x \geq 0, y \geq 0 \) restrict us to the first quadrant.

Example 1: Graph & Corner Points

\(x\)
\(y\)
1 2 3 4 5 6 7 8 1 2 3 4 5 6 (0,0) (4,0) (2,3) (0,4)
\( x + 2y = 8 \)
\( 3x + 2y = 12 \)

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.

\(x\)
\(y\)
1 2 3 4 5 6 7 1 2 3 4 5 (0,6) (2,2) (4,0)
\( x + y = 4 \)
\( 2x + y = 6 \)
unbounded ↗

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):

\((0, 0)\)
\( P = 0 \)
\((5, 0)\)
\( P = 25 \)
\((4, 2)\)
\( P = 28 \)
\((2, 4)\)
\( P = 26 \)
\((0, 5)\)
\( P = 20 \)

Common Mistakes to Avoid

✕ Testing Interior Points
The optimal value is always at a corner, never in the interior. Don't waste time evaluating random feasible points.
✕ Missing a Corner Point
Every pair of boundary lines may intersect. Solve all pairs and check that each intersection is feasible before discarding it.
✕ Wrong Shading Direction
For \( \leq \), shade below/left of the line. For \( \geq \), shade above/right. Test \((0,0)\) to confirm.

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?