Solve the linear programming problem: maximize Z = 3x + 4y subject to constraints

medium CBSE CBSE 2023 3 min read

Question

Maximize Z=3x+4yZ = 3x + 4y subject to the constraints:

x+y4,x+3y6,x0,y0x + y \leq 4, \quad x + 3y \leq 6, \quad x \geq 0, \quad y \geq 0

(CBSE 2023, 6 marks)


Solution — Step by Step

x+y=4x + y = 4: passes through (4,0)(4, 0) and (0,4)(0, 4).

x+3y=6x + 3y = 6: passes through (6,0)(6, 0) and (0,2)(0, 2).

Along with x=0x = 0 and y=0y = 0, these form the boundary of the feasible region.

The feasible region is bounded by four vertices:

  • O = (0,0)(0, 0) — origin
  • A = (4,0)(4, 0) — x-intercept of x+y=4x + y = 4
  • B = intersection of x+y=4x + y = 4 and x+3y=6x + 3y = 6: subtract to get 2y=22y = 2, so y=1y = 1, x=3x = 3. Point B = (3,1)(3, 1).
  • C = (0,2)(0, 2) — y-intercept of x+3y=6x + 3y = 6
VertexZ=3x+4yZ = 3x + 4y
O(0,0)O(0, 0)00
A(4,0)A(4, 0)1212
B(3,1)B(3, 1)9+4=139 + 4 = 13
C(0,2)C(0, 2)0+8=80 + 8 = 8
Zmax=13 at (3,1)\boxed{Z_{\max} = 13 \text{ at } (3, 1)}

Why This Works

The corner point theorem guarantees that if a linear function has an optimum over a convex polygonal region, it occurs at a vertex. This is because a linear function can’t have a maximum in the interior of a convex set — it always increases in some direction until it hits a boundary, and then a corner.

So we only need to check the vertices, not every point in the region. For a problem with nn constraints, there are at most (n2)\binom{n}{2} potential vertices — a manageable number.


Alternative Method — Iso-profit line

Draw the line Z=3x+4y=cZ = 3x + 4y = c for increasing values of cc. These are parallel lines with slope 3/4-3/4. The maximum ZZ occurs at the vertex where the line 3x+4y=c3x + 4y = c last touches the feasible region as cc increases.

Visually, slide the line 3x+4y=c3x + 4y = c upward (increasing cc) until it just touches the feasible region — that touching point is the optimal vertex.

In CBSE boards, this question carries 6 marks. The marking scheme awards: 1 mark for plotting constraint lines, 1 mark for shading the feasible region, 1 mark for finding all vertices, 2 marks for the evaluation table, 1 mark for the final answer. You must draw the graph — solving algebraically without a graph loses 2 marks.


Common Mistake

Students sometimes check only the intercepts (4,0)(4,0) and (0,2)(0,2) and miss the intersection point (3,1)(3,1). The intersection of two constraint lines often gives the optimal vertex — skipping it means you’ll report Z=12Z = 12 (at (4,0)(4,0)) instead of the correct maximum Z=13Z = 13 (at (3,1)(3,1)). Always find all intersection points within the feasible region.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next