Linear Programming: Formulation, Feasible Region and the Corner Point Method

Linear programming is a chapter of the Class XII mathematics book that the CUET mathematics paper is set from and that the engineering-entrance mathematics syllabus does not contain, which is why the course had no chapter on it. This chapter teaches how to set up a problem from words, how to find the feasible region and its corner points, how to read off the optimum, and how to recognise the cases with multiple optima, no maximum or no solution. Every table of corner points was computed by enumeration.
Overview

1. What a Linear Programming Problem Is, and How to Set One Up

1 min read · 1 part

A linear programming problem (LPP) asks you to make a quantity as large or as small as possible, subject to limits. It has four parts. The decision variables are the unknowns you choose (here x and y). The objective function Z = ax + by is the quantity to maximise (a profit) or minimise (a cost), and it is linear. The constraints are linear inequalities that express the limits (hours, materials, requirements). The non-negativity restrictions x ≥ 0, y ≥ 0 say that you cannot make a negative quantity. Setting up the problem is the skill: read the sentence for what is chosen, what is optimised, and what is limited.

A worked set-up. A firm makes two products, P and Q. Each unit of P needs 1 hour of cutting and 3 hours of finishing; each unit of Q needs 2 hours of cutting and 1 hour of finishing. Cutting has 40 hours available and finishing has 30. The profit is ₹40 on each P and ₹50 on each Q. Let x units of P and y units of Q be made. Then maximise Z = 40x + 50y subject to x + 2y ≤ 40 (cutting), 3x + y ≤ 30 (finishing), and x, y ≥ 0.

The four parts of the P and Q problem
LPP: maximise profit
  • Decision variables
    • x units of P, y units of Q
  • Objective function
    • Z = 40x + 50y
  • Constraints
    • x + 2y ≤ 40 (cutting)
    • 3x + y ≤ 30 (finishing)
  • Non-negativity restrictions
    • x ≥ 0, y ≥ 0

A linear programming problem (LPP) asks you to make a quantity as large or as small as possible, subject to limits. It has four parts. The decision variables are the unknowns you choose…

2. The Feasible Region and the Corner Point Theorem

1 min read · 1 part

Draw each constraint as a line, shade the side that satisfies it, and keep the overlap. The common region is the feasible region: every point in it satisfies all the constraints and is a feasible solution. The feasible region of an LPP is always a convex polygon (any segment joining two of its points lies inside it). The corner point theorem says the optimum of a linear objective, if it exists, occurs at a corner point (vertex) of the feasible region. So the method is: find the corner points, evaluate Z at each, and pick the largest or smallest. A feasible region that can be enclosed in a circle is bounded, and then both a maximum and a minimum exist; otherwise it is unbounded.

The set-up above: corner points of the feasible region
Corner pointHow it arisesZ = 40x + 50y
(0, 0)Both axes0
(10, 0)3x + y = 30 meets the x-axis400
(4, 18)x + 2y = 40 and 3x + y = 30 meet1060 (maximum)
(0, 20)x + 2y = 40 meets the y-axis1000

Draw each constraint as a line, shade the side that satisfies it, and keep the overlap. The common region is the feasible region: every point in it satisfies all the constraints and is a…

3. Solving the Two Worked Problems

1 min read · 1 part

To find (4, 18), solve x + 2y = 40 and 3x + y = 30 together: from the second, y = 30 − 3x, and then x + 60 − 6x = 40 gives x = 4 and y = 18. Check that it uses all the cutting (4 + 36 = 40) and all the finishing (12 + 18 = 30). The maximum profit is therefore ₹1,060, from 4 units of P and 18 of Q. A second problem: maximise Z = 5x + 7y subject to x + y ≤ 6, x ≤ 4, x, y ≥ 0. The corner points are (0, 0), (4, 0), (4, 2) and (0, 6), with Z = 0, 20, 34 and 42, so the maximum is 42 at (0, 6).

Corner point method on the P and Q problem
  1. Draw each constraint, shade, keep overlapThis is the feasible region
  2. Corners (0, 0), (10, 0), (4, 18), (0, 20)
  3. Solve x + 2y = 40, 3x + y = 30Gives x = 4, y = 18
  4. Z = 0, 400, 1060, 1000
  5. Maximum ₹1,060 at (4, 18)4 units of P, 18 of Q

To find (4, 18), solve x + 2y = 40 and 3x + y = 30 together: from the second, y = 30 − 3x, and then x + 60 − 6x = 40 gives x = 4 and y = 18. Check that it uses all the cutting (4 + 36 = 40)…

4. Minimisation, Multiple Optima, Unbounded and Infeasible Cases

2 min read · 2 parts

For a minimisation problem the region is usually unbounded, because requirements are of the form ≥. Minimise Z = 2x + 3y subject to x + y ≥ 4, x + 3y ≥ 6, x, y ≥ 0. The corner points are (6, 0), (3, 1) and (0, 4), with Z = 12, 9 and 12, so the smallest value found is 9 at (3, 1). On an unbounded region a corner value is the minimum only if the open half-plane 2x + 3y < 9 has no point in common with the feasible region; here it has none, so the minimum is 9. If it did have a common point, the problem would have no minimum. For a maximum the corresponding test uses the half-plane Z > the corner value.

Special outcomes
SituationExampleWhat it means
Multiple optimal solutionsMaximise Z = x + y with x + y ≤ 4: Z = 4 at both (4, 0) and (0, 4)When Z is parallel to an edge, every point of that edge is optimal
Unbounded solutionMaximise Z = x + y with x − y ≤ 1: corners (0, 0) and (1, 0) onlyZ grows without limit along the region, so there is no maximum
Infeasible problemx + y ≤ 2 together with x + y ≥ 4The constraints share no point; there is no feasible region and so no solution
⚠️ The corner is a candidate, not an answer
Never read the answer from the corner that looks best on the graph without evaluating Z at every corner, and never forget the region’s boundedness. A maximum on an unbounded region with a positive objective does not exist, and a minimum there needs the half-plane test. The correct answer to a question can be "no maximum".

For a minimisation problem the region is usually unbounded, because requirements are of the form ≥. Minimise Z = 2x + 3y subject to x + y ≥ 4, x + 3y ≥ 6, x, y ≥ 0. The corner points are…

5. More Worked Problems: One Maximum, One Minimum

1 min read · 2 parts

Maximise Z = 3x + 2y subject to x + y ≤ 4, x + 3y ≤ 6, x ≥ 0 and y ≥ 0. The corner points of the feasible region are (0, 0), (4, 0), (0, 2) and the intersection of the two lines, found by subtracting the equations: 2y = 2, so y = 1 and x = 3, which gives (3, 1). Evaluating Z gives 0, 12, 4 and 11 respectively, so the maximum is 12 at (4, 0), and the intersection point is not the best here. Now minimise Z = 2x + 3y subject to x + y ≥ 5, x ≤ 4, y ≤ 4 and x, y ≥ 0. The region is bounded by the lines x + y = 5, x = 4 and y = 4, with corners (4, 1), (4, 4) and (1, 4). The values of Z are 11, 20 and 14, so the minimum is 11 at (4, 1).

Corner point values
ProblemCorner: ZOptimum
Maximise 3x + 2y(0,0): 0; (4,0): 12; (3,1): 11; (0,2): 412 at (4, 0)
Minimise 2x + 3y(4,1): 11; (4,4): 20; (1,4): 1411 at (4, 1)
⚠️ The optimum need not be the "interesting" corner
Students expect the optimum at the intersection of the two constraint lines. It can lie on an axis, as in the first problem. The only safe method is to evaluate Z at every corner point of the feasible region and compare, and to check each corner against all the constraints before accepting it.

Maximise Z = 3x + 2y subject to x + y ≤ 4, x + 3y ≤ 6, x ≥ 0 and y ≥ 0. The corner points of the feasible region are (0, 0), (4, 0), (0, 2) and the intersection of the two lines, found by…

Key takeaways

  • An LPP has decision variables, a linear objective function, linear constraints and non-negativity restrictions.
  • The feasible region is a convex polygon and the optimum of a linear objective, if it exists, is at a corner point.
  • Find every corner point, evaluate Z at each, and compare; the 40x + 50y example is maximised at (4, 18) with Z = 1060.
  • On an unbounded region a corner value is the minimum only if the open half-plane Z < that value misses the region.
  • If Z is parallel to an edge there are multiple optima; an empty feasible region means no solution.

Practice questions (24)

Attempt each one before opening the answer. Every explanation names the tempting wrong option as well as the right one, because that is where marks are lost.

  1. The corner point theorem says that the optimum of a linear objective function on a feasible region occurs:

    1. At a corner point, if an optimum exists
    2. At the centre of the region
    3. At a point on the x-axis only
    4. At the point farthest from the origin
    Show answer

    Answer: A — At a corner point, if an optimum exists

    A linear function on a convex polygon reaches its extreme values at vertices. Being far from the origin or at the centre has no bearing.
  2. Maximise Z = 40x + 50y subject to x + 2y ≤ 40, 3x + y ≤ 30, x, y ≥ 0. The maximum value of Z is:

    1. 1060
    2. 1000
    3. 400
    4. 1100
    Show answer

    Answer: A — 1060

    The corners are (0, 0), (10, 0), (4, 18) and (0, 20), giving Z = 0, 400, 1060 and 1000. The largest is 1060 at (4, 18). 1000 is the (0, 20) corner, which is not the maximum.
  3. The corner points of the region x + y ≤ 6, x ≤ 4, x, y ≥ 0 are:

    1. (0, 0), (4, 0), (4, 2), (0, 6)
    2. (0, 0), (6, 0), (0, 6)
    3. (0, 0), (4, 0), (0, 4)
    4. (4, 0), (4, 2), (6, 0)
    Show answer

    Answer: A — (0, 0), (4, 0), (4, 2), (0, 6)

    The line x = 4 cuts off the triangle: it meets x + y = 6 at (4, 2), so the region is a quadrilateral with those four vertices. Option B ignores the constraint x ≤ 4.
Show the other 21 questions
  1. Maximise Z = 5x + 7y subject to x + y ≤ 6, x ≤ 4, x, y ≥ 0. The maximum value is:

    1. 42 at (0, 6)
    2. 34 at (4, 2)
    3. 30 at (6, 0)
    4. 20 at (4, 0)
    Show answer

    Answer: A — 42 at (0, 6)

    The corner values are 0, 20, 34 and 42, so the maximum is 42 at (0, 6). (6, 0) is not feasible because it violates x ≤ 4.
  2. Minimise Z = 2x + 3y subject to x + y ≥ 4, x + 3y ≥ 6, x, y ≥ 0. The minimum value is:

    1. 9 at (3, 1)
    2. 12 at (6, 0)
    3. 12 at (0, 4)
    4. 0 at (0, 0)
    Show answer

    Answer: A — 9 at (3, 1)

    The corners are (6, 0), (3, 1), (0, 4) with Z = 12, 9, 12. The open half-plane 2x + 3y < 9 does not meet the unbounded region, so 9 is the minimum. (0, 0) violates the constraints.
  3. When the objective function Z = x + y is maximised under x + y ≤ 4, x, y ≥ 0, the maximum is reached:

    1. At every point of the segment from (4, 0) to (0, 4)
    2. Only at (0, 0)
    3. Only at (4, 0)
    4. Nowhere, the problem is unbounded
    Show answer

    Answer: A — At every point of the segment from (4, 0) to (0, 4)

    The line Z = 4 coincides with the edge x + y = 4, so every point on it is optimal, and the region is bounded. This is the case of multiple optimal solutions.
  4. The constraints x + y ≤ 2 and x + y ≥ 4 together have:

    1. No feasible region, so no solution
    2. A bounded feasible region
    3. An unbounded feasible region
    4. Exactly one feasible point
    Show answer

    Answer: A — No feasible region, so no solution

    No point can have x + y both at most 2 and at least 4, so the problem is infeasible.
  5. Maximise Z = x + y subject to x − y ≤ 1, x, y ≥ 0. The problem has:

    1. No maximum, since Z is unbounded above
    2. Maximum 1 at (1, 0)
    3. Maximum 0 at (0, 0)
    4. Maximum 2 at (1, 1)
    Show answer

    Answer: A — No maximum, since Z is unbounded above

    The region is unbounded and along x = y + 1, Z = 2y + 1 grows without limit; the corner values 0 and 1 are not maxima. The point (1, 1) is feasible but is not a maximum either.
  6. In a linear programming problem, the linear function that is to be maximised or minimised is called the:

    1. Objective function
    2. Constraint function
    3. Feasible function
    4. Slack function
    Show answer

    Answer: A — Objective function

    The function Z = ax + by whose best value is sought is the objective function. "Constraint function" is the tempting wrong option, because the constraints are the inequalities that limit x and y, not the quantity being optimised.
  7. The corner points of the feasible region x ≤ 3, y ≤ 2, x ≥ 0, y ≥ 0 are:

    1. (0, 0), (3, 0), (0, 2)
    2. (0, 0), (3, 0), (3, 2), (0, 2)
    3. (3, 0), (3, 2), (0, 2)
    4. (0, 0), (3, 2)
    Show answer

    Answer: B — (0, 0), (3, 0), (3, 2), (0, 2)

    The region is the rectangle bounded by the axes and the lines x = 3 and y = 2, so it has four corners. The triangle (0, 0), (3, 0), (0, 2) is the tempting wrong option; it would need the single constraint 2x + 3y ≤ 6, and it leaves out the corner (3, 2).
  8. Which point satisfies all of x + y ≤ 6, x ≥ 1 and y ≥ 2?

    1. (5, 2)
    2. (0, 3)
    3. (3, 3)
    4. (4, 1)
    Show answer

    Answer: C — (3, 3)

    For (3, 3): 3 + 3 = 6 ≤ 6, 3 ≥ 1 and 3 ≥ 2, so all three hold. (5, 2) is the tempting wrong option because it meets x ≥ 1 and y ≥ 2 but gives x + y = 7 > 6; (0, 3) breaks x ≥ 1 and (4, 1) breaks y ≥ 2.
  9. Maximise Z = 3x + 2y subject to x ≤ 4, y ≤ 3, x ≥ 0, y ≥ 0. The maximum value of Z is:

    1. 12
    2. 6
    3. 14
    4. 18
    Show answer

    Answer: D — 18

    The corners are (0, 0), (4, 0), (4, 3), (0, 3) with Z = 0, 12, 18, 6, so the maximum is 18 at (4, 3). 12 is the tempting wrong option: it is the value at (4, 0), where y is left at zero although the constraint allows y = 3.
  10. A feasible region of an LPP is called bounded if it:

    1. Can be enclosed within a circle
    2. Extends indefinitely in some direction
    3. Has exactly one corner point
    4. Contains the origin
    Show answer

    Answer: A — Can be enclosed within a circle

    A bounded region has finite extent, so some circle encloses it. Extending indefinitely is the definition of an unbounded region and is the tempting reversal; containing the origin says nothing about being bounded.
  11. Maximise Z = 3x + 4y subject to x + y ≤ 5, x + 3y ≤ 9, x, y ≥ 0. The maximum value of Z is:

    1. 15
    2. 17
    3. 12
    4. 20
    Show answer

    Answer: B — 17

    The lines meet at (3, 2). The corners (0, 0), (5, 0), (3, 2), (0, 3) give Z = 0, 15, 17, 12, so the maximum is 17. 15 is the tempting wrong option, the value at (5, 0) on the x-axis; 20 would need (5, 0) and (0, 5) both feasible, but (0, 5) breaks x + 3y ≤ 9.
  12. Minimise Z = 3x + 5y subject to x + 2y ≥ 8, 3x + 2y ≥ 12, x, y ≥ 0. The minimum value of Z is:

    1. 24
    2. 30
    3. 21
    4. 0
    Show answer

    Answer: C — 21

    The corners of the unbounded region are (8, 0), (2, 3) and (0, 6), with Z = 24, 21, 30, and Z = 3x + 5y < 21 does not meet the region, so the minimum is 21 at (2, 3). 24 is the tempting wrong option, the value at the x-axis corner (8, 0); 0 at the origin is infeasible.
  13. A workshop makes tables (x) and chairs (y), earning ₹50 and ₹30 on each. Labour allows 2x + y ≤ 40 and timber allows x + 2y ≤ 50. The maximum profit is:

    1. ₹1,000
    2. ₹750
    3. ₹1,250
    4. ₹1,100
    Show answer

    Answer: D — ₹1,100

    The two limits meet at (10, 20); the corners (0, 0), (20, 0), (10, 20), (0, 25) give ₹0, 1,000, 1,100, 750. ₹1,000 is the tempting wrong option, making only tables; mixing in 20 chairs earns ₹100 more. ₹1,250 would need (0, 25) with chairs at ₹50.
  14. The feasible region x + y ≤ 4, x ≤ 3, y ≤ 3, x, y ≥ 0 has how many corner points?

    1. 5
    2. 4
    3. 3
    4. 6
    Show answer

    Answer: A — 5

    The corners are (0, 0), (3, 0), (3, 1), (1, 3) and (0, 3), five in all. 4 is the tempting wrong option, from forgetting that x + y = 4 cuts off the corner (3, 3) and so replaces it with two vertices, (3, 1) and (1, 3).
  15. The iso-profit line 6x + 4y = Z has a slope of:

    1. 3/2
    2. −3/2
    3. −2/3
    4. −6
    Show answer

    Answer: B — −3/2

    Writing y = (Z − 6x)/4 = Z/4 − (3/2)x gives slope −3/2. The positive 3/2 is the tempting wrong option, dropping the sign; −2/3 inverts the ratio of the coefficients.
  16. Maximise Z = 5x + 5y subject to x + y ≤ 8, x ≤ 6, x, y ≥ 0. The maximum value of Z and the number of points where it occurs are:

    1. 40, at exactly one point
    2. 30, at exactly one point
    3. 40, at infinitely many points
    4. 40, at exactly two points
    Show answer

    Answer: C — 40, at infinitely many points

    The line Z = 40 lies along the edge x + y = 8, so every point on the segment from (0, 8) to (6, 2) gives 40. "Exactly two points" is the tempting wrong option: the two endpoints are corners, but the points between them are optimal as well. 30 is the value at (6, 0).
  17. Minimise Z = x + y subject to 2x + y ≥ 6, x + 2y ≥ 6, x, y ≥ 0. The minimum value of Z is:

    1. 6
    2. 3
    3. 2
    4. 4
    Show answer

    Answer: D — 4

    The corners are (6, 0), (2, 2) and (0, 6) with Z = 6, 4, 6, and x + y < 4 does not meet the region, so the minimum is 4 at (2, 2). 6 is the tempting wrong option, from reading off only the axis corners and missing the interior corner.
  18. Maximise Z = 4x + 5y subject to 5x + 3y ≤ 30, 2x + 5y ≤ 20, x, y ≥ 0. The maximum value of Z is:

    1. 560/19
    2. 24
    3. 20
    4. 30
    Show answer

    Answer: A — 560/19

    The lines meet at (90/19, 40/19), and the corners (0, 0), (6, 0), (90/19, 40/19), (0, 4) give Z = 0, 24, 560/19 ≈ 29.5, 20. The integer 24 is the tempting wrong option, the best axis corner; 30 would be the value if both constraints were ignored at the intersection and rounded up.
  19. Minimise Z = 20x + 10y subject to x + 2y ≥ 40, 3x + y ≥ 30, 4x + 3y ≥ 60, x, y ≥ 0. The minimum value of Z is:

    1. 300
    2. 260
    3. 800
    4. 180
    Show answer

    Answer: B — 260

    The corners are (40, 0), (4, 18) and (0, 30), with Z = 800, 260, 300; the third constraint 4x + 3y ≥ 60 is satisfied at all of them (160, 70, 90), so it is redundant. 300 is the tempting wrong option, the value at the y-axis corner; 180 at (6, 12) is infeasible since 6 + 24 = 30 < 40.
  20. The corner points of a feasible region are (0, 0), (6, 0), (4, 4) and (0, 5). For Z = x + ky with k > 0, Z is maximum uniquely at (4, 4) when:

    1. k > 4
    2. k < 1/2
    3. 1/2 < k < 4
    4. 1/2 < k ≤ 4
    Show answer

    Answer: C — 1/2 < k < 4

    Z at the corners is 0, 6, 4 + 4k and 5k. Beating (6, 0) needs 4 + 4k > 6, so k > 1/2; beating (0, 5) needs 4 + 4k > 5k, so k < 4. The tempting wrong option is "1/2 < k ≤ 4": at k = 4 the corners (4, 4) and (0, 5) tie at 20, so the maximum is no longer unique.
  21. How many points (x, y) with integer coordinates satisfy x + 2y ≤ 6, x ≤ 4, x ≥ 0, y ≥ 0?

    1. 16
    2. 12
    3. 10
    4. 14
    Show answer

    Answer: D — 14

    For x = 0, 1, 2, 3, 4 the allowed y values run from 0 up to 3, 2, 2, 1, 1, giving 4 + 3 + 3 + 2 + 2 = 14 points. 16 is the tempting wrong option: it counts the whole triangle x + 2y ≤ 6, which also has the points with x = 5 and 6, but x ≤ 4 removes them (the values 4 + 3 + 3 + 2 + 2 + 1 + 1 = 16).