Linear Programming: Maximize Profit
Problem
Maximize P=5x+4y subject to x+y≤10, 2x+y≤14, x≥0, y≥0. Find the optimal corner point.
Explanation
What is linear programming?
Linear programming finds the maximum or minimum of a linear objective function (like profit ) subject to linear constraints (like , ).
The Corner Point Theorem
The optimal solution always occurs at a vertex (corner point) of the feasible region. So the algorithm is:
Step 1 — Graph the constraints to find the feasible region.
Step 2 — Find all corner points (where boundary lines intersect).
Step 3 — Evaluate the objective function at each corner.
Step 4 — The largest value is the maximum; the smallest is the minimum.
Step-by-step: Maximize
Subject to: , , , .
Corners: , , , .
, , , .
Maximum: at .
Try it in the visualization
The feasible region is shaded. Corner points are marked with values. An objective function line sweeps to show visually which corner is optimal. Linear programming finds the maximum (or minimum) of a linear objective function subject to linear constraints. The optimal solution is always at a corner point (vertex) of the feasible region. The corner point theorem guarantees this.
Evaluate at each corner: : ; : ; : ; : . Maximum is at .
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.