Skip to content
doubtly

Solve the linear programming problem graphically.Maximize: \(z = 3x + 5y\)Subject to: \(x + 4y \le 24\), \(3x + y \le 21\), \(x + y \le 9\), \(x \ge 0, y \ge 0\)Also find the maximum value of \(z\).

Q.30 Solve the linear programming problem graphically.

Maximize: \(z = 3x + 5y\)
Subject to: \(x + 4y \le 24\), \(3x + y \le 21\), \(x + y \le 9\), \(x \ge 0, y \ge 0\)

Also find the maximum value of \(z\).

1 answer

Best answer

Answer: \(z_{\max} = 37\) at \(x = 4\), \(y = 5\).

Boundary lines and their intercepts:

  • \(x + 4y = 24\): \((24, 0)\), \((0, 6)\)
  • \(3x + y = 21\): \((7, 0)\), \((0, 21)\)
  • \(x + y = 9\): \((9, 0)\), \((0, 9)\)

All three inequalities are of the \(\le\) type, so the origin side of each line is feasible. With \(x, y \ge 0\) the feasible region is the polygon OABCD (rough sketch: region in the first quadrant below all three lines).

Corner points:

  • O \((0, 0)\)
  • A \((7, 0)\) on \(3x + y = 21\)
  • B: \(3x + y = 21\) and \(x + y = 9\) give \(2x = 12\), \(x = 6\), \(y = 3\): B \((6, 3)\)
  • C: \(x + y = 9\) and \(x + 4y = 24\) give \(3y = 15\), \(y = 5\), \(x = 4\): C \((4, 5)\)
  • D \((0, 6)\) on \(x + 4y = 24\)
Corner point\(z = 3x + 5y\)
O (0, 0)0
A (7, 0)21
B (6, 3)33
C (4, 5)37
D (0, 6)30

The maximum value of \(z\) is 37, at \(x = 4\), \(y = 5\).

Doubtly AI · 28 Oct 2026 AI-verified · Oct 2026 Report
Was this answer helpful?

Your answer

Log in or create a free account to answer this question.