Skip to content
Worked Examples · Example 9

Q.Solve the following Linear Programming Problem Graphically. Maximize Z=6x+yZ = 6x + y Subject to constraints: 2x+y≥32x + y \geq 3 y−x≥0y - x \geq 0 x≥0x \geq 0, and y≥0y \geq 0

Sikkim CbseNCERTSubjective· 5mImportance★★★★★
41% · 9/22 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

This is an unbounded feasible region problem where the objective function Z=6x+yZ = 6x + y increases without limit along the ray y=xy = x in the first quadrant; hence the maximum is unbounded (infinite).

Why the graphical method works

Linear programming finds the best value of a linear objective function over a region defined by linear inequalities. The feasible region is a convex polygon (or unbounded convex set), and a fundamental theorem tells us that if an optimum exists, it occurs at a corner point. We plot the constraints, identify the feasible region, evaluate ZZ at each vertex, and check whether the region allows ZZ to grow without bound.

Step-by-step solution

1. Rewrite the constraints in a form easy to graph

We have:

  • 2x+y≥3  ⟹  y≥3−2x2x + y \geq 3 \implies y \geq 3 - 2x
  • y−x≥0  ⟹  y≥xy - x \geq 0 \implies y \geq x
  • x≥0x \geq 0, y≥0y \geq 0 (first quadrant)

Each inequality defines a half-plane; the feasible region is their intersection.

2. Plot the boundary lines

For 2x+y=32x + y = 3:

  • When x=0x = 0, y=3y = 3 → point (0,3)(0, 3)
  • When y=0y = 0, x=1.5x = 1.5 → point (1.5,0)(1.5, 0)

For y=xy = x:

  • A line through the origin with slope 11, passing through (0,0)(0,0), (1,1)(1,1), (2,2)(2,2), etc.

3. Identify the feasible region

We need:

  • Points above or on the line y=3−2xy = 3 - 2x
  • Points above or on the line y=xy = x
  • Points in the first quadrant

The line y=xy = x and y=3−2xy = 3 - 2x intersect where:

x=3−2x  ⟹  3x=3  ⟹  x=1,  y=1x = 3 - 2x \implies 3x = 3 \implies x = 1, \; y = 1

So the intersection point is (1,1)(1, 1).

Now check which region satisfies all constraints:

  • The line y=3−2xy = 3 - 2x has a negative slope; we want the region above it.
  • The line y=xy = x divides the first quadrant; we want the region above it (where y≥xy \geq x).

The feasible region is the area in the first quadrant that lies above both lines. The corner points are:

  • (0,3)(0, 3) — intersection of x=0x = 0 and 2x+y=32x + y = 3
  • (1,1)(1, 1) — intersection of y=xy = x and 2x+y=32x + y = 3
  • The region extends infinitely along the ray y=xy = x for x≥1x \geq 1
Watch out

A common mistake is to assume every LP has a finite maximum. When the feasible region is unbounded in the direction that increases the objective function, the maximum is infinite.

4. Evaluate the objective function at corner points

At (0,3)(0, 3):

Z=6(0)+3=3Z = 6(0) + 3 = 3

At (1,1)(1, 1):

Z=6(1)+1=7Z = 6(1) + 1 = 7

5. Check the direction of increase of Z=6x+yZ = 6x + y

The objective function can be rewritten as:

y=−6x+Zy = -6x + Z …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.