Which of the following graph represents the given constraints ?
\(x+y \le 8,\ x+y \ge 4,\ x-y \le 0,\ y \le 4,\ x \ge 0,\ y \ge 0\)
Answer & explanation
Correct answer: option 3
The correct answer is Option (3) →
Read each constraint as a side of a line:
\(x + y \ge 4\): on or above the line x + y = 4 (away from the origin)
\(x - y \le 0\), that is \(y \ge x\): on or above the line y = x
\(y \le 4\): on or below the line y = 4
These three lines enclose a triangle. Its corners:
x + y = 4 and y = 4: (0, 4)
x + y = 4 and y = x: (2, 2)
y = x and y = 4: (4, 4)
Every point of this triangle has \(x \ge 0\), \(y \ge 0\), and \(x + y \le 8\) (the largest value, 8, is at (4, 4)), so these constraints add no new boundary. The feasible region is the triangle with corners (0, 4), (2, 2) and (4, 4), lying between the line x + y = 4, the line y = x and the line y = 4. Option (3) shades exactly this triangle.
Why the other options are incorrect
Option (1) — Incorrect. Its shaded region lies below the line y = x, where \(x - y \ge 0\), the opposite of \(x - y \le 0\).
Option (2) — Incorrect. Its shaded triangle is on the origin side of x + y = 4, where \(x + y \le 4\), the opposite of \(x + y \ge 4\).
Option (4) — Incorrect. Its slanting line through the origin is flatter than y = x and meets y = 4 to the right of (4, 4), so its shaded region is not bounded by y = x.