For two variables, an LPP is solved graphically.
The feasible region
Plot each constraint line and shade the side satisfying its inequality. The overlap of all shaded regions (including $x,y\ge0$) is the feasible region. It is a convex polygon; its vertices are the corner points.
Corner-point theorem
If an optimal value of the objective function exists, it occurs at a corner point of the feasible region. Method:
- Find all corner points (intersections of boundary lines).
- Evaluate $Z=ax+by$ at each corner.
- The largest value is the maximum; the smallest is the minimum.
Bounded vs unbounded
If the feasible region is bounded, both a maximum and a minimum exist. If it is unbounded, an optimum may not exist — you must check whether $Z$ can grow without limit.