Mathematics · 2nd year

Linear Programming: Constraints, Feasible Region, Corner Points

EAPCET · JEE10 min read10 practice questions

NCERT Class 12 Mathematics, Chapter 12.

1. Lakshmi’s kitchen

Lakshmi makes snacks at home and sells them in boxes. She makes two kinds: laddus and murukulu.

A box of laddus needs 1 kg of flour and 2 hours of work. A box of murukulu needs 2 kg of flour and 1 hour of work.

This week she has only 8 kg of flour and 10 hours. She earns ₹60 on a box of laddus and ₹50 on a box of murukulu.

How many boxes of each should she make to earn the most?

Here is a question. Laddus earn more. Should she make only laddus?

(Stop for a moment. Think.)

Only laddus: her time allows 10 ÷ 2 = 5 boxes. Profit ₹300. But she uses only 5 kg of flour, and 3 kg sits unused.

Only murukulu: her flour allows 8 ÷ 2 = 4 boxes. Profit ₹200.

A mix: 4 boxes of laddus and 2 of murukulu. Flour 4 + 4 = 8 kg. Time 8 + 2 = 10 hours. Nothing is wasted. Profit ₹240 + ₹100 = ₹340.

The mix wins. This chapter gives a sure way to find such a best mix, without guessing.

2. The limits and the aim

First the plain meaning. Two things hold Lakshmi back: flour and time. She has one aim: the most profit.

Let x be the boxes of laddus and y the boxes of murukulu.

  • Flour: x + 2y ≤ 8
  • Time: 2x + y ≤ 10
  • She cannot make a negative number of boxes: x ≥ 0, y ≥ 0.

Think of a 25 kg rice bag. You can take out 10 kg, or all 25 kg, but never 26 kg. A ”≤” limit works just like that bag: up to the limit, never beyond.

These limits are called constraints. The last two, x ≥ 0 and y ≥ 0, are the non-negativity constraints.

The aim, profit Z = 60x + 50y, is called the objective function. In some problems we want it as large as possible (maximise). In others, such as cost, as small as possible (minimise).

When the aim and every limit are straight-line expressions in x and y (no x², no xy), we have a linear programming problem (LPP).

3. Walls on a floor: the feasible region

Draw the x and y axes. Write a limit with ”=” in place of ”≤” and you get a straight line. For example, x + 2y = 8 passes through (8, 0) and (0, 4).

The line cuts the floor into two sides. Which side is allowed? Try the point (0, 0): 0 + 0 ≤ 8 is true. So the side that holds (0, 0) is allowed.

Think of each line as a wall. Each wall shuts off its forbidden side. What is left after all the walls is every mix Lakshmi can really make.

This leftover piece is called the feasible region. Every point in it is a feasible solution.

For Lakshmi, the feasible region has four corners: (0, 0), (5, 0), (4, 2) and (0, 4). These corners are called corner points. The corner (4, 2) is where the flour wall meets the time wall. Solve x + 2y = 8 and 2x + y = 10 together and you get x = 4, y = 2.

4. A broom across the floor: the best is at a corner

Pick any profit, say ₹150. All the mixes with 60x + 50y = 150 lie on one straight line. A bigger profit gives a parallel line, further from (0, 0).

Now picture a long, straight broom, held parallel to these lines. Push it across the floor, away from (0, 0). The last spot of the floor it touches before it leaves is the best mix.

When the walls are straight, that last spot is always a corner. If the broom happens to lie parallel to a wall, it leaves along that whole wall at once.

This is the corner point theorem: if the objective function has a maximum or a minimum on the feasible region, it is reached at a corner point.

So we only need the corners:

Corner (x, y) Z = 60x + 50y
(0, 0) ₹0
(5, 0) ₹300
(4, 2) ₹340
(0, 4) ₹200

The largest is ₹340 at (4, 2). That mix is the optimal solution.

5. When two corners tie

Sometimes two neighbouring corners give the same best value. Then every point on the edge between them gives it too. That is the broom lying flat along a wall. Such a problem has infinitely many optimal solutions.

6. An open field: the unbounded region

Cost problems often say “at least”: at least 8 units of protein, at least 7 units of minerals. Then the allowed side of each line is away from (0, 0), and the region has no fence on its far side. It goes on for ever, like an open field.

Such a region is unbounded. A region that fits inside some circle is bounded.

Think of a bus on a road with no end. “Where is the nearest stop?” has a clear answer. “How far can the bus go?” has none: it can always go a little further.

On a bounded region, the maximum and the minimum always exist. On an unbounded region, check first:

  • Find Z at the corners. Say the smallest corner value is m.
  • Look at the open half-plane ax + by < m. If no point of the region lies in it, m is the minimum. If some point does, there is no minimum.
  • For a maximum M, test ax + by > M in the same way.

7. The method in five steps

  1. Name the two unknowns, x and y.
  2. Write the objective function Z and every constraint, including x ≥ 0, y ≥ 0.
  3. Draw each line, keep the allowed side, and find the feasible region.
  4. Find every corner (solve the two lines that meet there).
  5. Find Z at every corner. On a bounded region, pick the largest or the smallest. On an unbounded one, also do the half-plane test.

Key formulas

Idea Rule
Objective function Z = ax + by (maximise or minimise)
Constraints straight-line inequalities in x and y
Non-negativity x ≥ 0, y ≥ 0
Allowed side of a line test (0, 0) or any point not on the line
Corner point solve the two boundary lines that meet there
Corner point theorem the best value, if it exists, is at a corner
Tie at two neighbouring corners every point of that edge is optimal
Unbounded region, minimum m valid only if ax + by < m meets no point of the region
Unbounded region, maximum M valid only if ax + by > M meets no point of the region

Worked examples

Example 1. Find the maximum value of Z = 3x + 2y subject to x + y ≤ 6, x ≤ 4, x ≥ 0, y ≥ 0.

  1. Lines: x + y = 6 meets the axes at (6, 0) and (0, 6); x = 4 is a standing line. (0, 0) satisfies both, so the region lies on the origin side.
  2. Corners: (0, 0), (4, 0), (0, 6), and where x = 4 meets x + y = 6, that is (4, 2).
  3. Z = 3x + 2y at the corners: (0, 0) → 0, (4, 0) → 12, (4, 2) → 16, (0, 6) → 12.
  4. The region is bounded, so the largest corner value is the maximum: 16 at (4, 2).

Answer: 16

Example 2. A dairy farmer mixes two feeds for his buffalo. One kg of feed A gives 2 units of protein and 1 unit of minerals; one kg of feed B gives 1 unit of protein and 2 units of minerals. Each day the buffalo needs at least 8 units of protein and at least 7 units of minerals. Feed A costs ₹30 a kg and feed B ₹20 a kg. What is the least daily cost?

  1. Let x kg of A and y kg of B. Minimise Z = 30x + 20y subject to 2x + y ≥ 8, x + 2y ≥ 7, x ≥ 0, y ≥ 0.
  2. “At least” puts the region on the far side of each line, away from (0, 0). It is open (unbounded).
  3. Corners: (0, 8), (7, 0), and where 2x + y = 8 meets x + 2y = 7, that is (3, 2).
  4. Z at the corners: (0, 8) → ₹160, (3, 2) → ₹130, (7, 0) → ₹210. Smallest: ₹130.
  5. Half-plane test: 30x + 20y < 130 has no point in common with the region, so ₹130 is the minimum (3 kg of A, 2 kg of B).

Answer: ₹130

Example 3. Maximise Z = 4x + 10y subject to x + y ≤ 9, 2x + 5y ≤ 30, x ≥ 0, y ≥ 0. How many points of the feasible region give the maximum value?

  1. Corners: (0, 0), (9, 0), (0, 6), and where x + y = 9 meets 2x + 5y = 30, that is (5, 4).
  2. Z at the corners: (0, 0) → 0, (9, 0) → 36, (5, 4) → 60, (0, 6) → 60.
  3. Two neighbouring corners tie at 60. Z = 4x + 10y is just 2 × (2x + 5y), so it is parallel to the edge 2x + 5y = 30.
  4. Every point of the edge from (0, 6) to (5, 4) gives 60. So infinitely many points give the maximum.

Answer: Infinitely many

Example 4. Find the maximum value of Z = 3x + 2y subject to x + y ≥ 4, x ≥ 0, y ≥ 0.

  1. The region is everything on or beyond the line x + y = 4 in the first quarter. It runs on for ever: unbounded.
  2. Corners: (4, 0) → Z = 12 and (0, 4) → Z = 8.
  3. Half-plane test for 12: is there a point of the region with 3x + 2y > 12? Yes, (10, 0) gives 30.
  4. So Z can be made as large as we like. Z has no maximum value. (Its minimum is 8, at (0, 4).)

Answer: Z has no maximum value

Example 5. Find the maximum and the minimum of Z = x + 2y subject to x + y ≥ 3, x ≤ 4, y ≤ 3, x ≥ 0, y ≥ 0.

  1. (0, 0) fails x + y ≥ 3, so the origin is NOT in the region. Do not use it as a corner.
  2. Corners: (3, 0), (4, 0), (4, 3), (0, 3).
  3. Z = x + 2y: (3, 0) → 3, (4, 0) → 4, (4, 3) → 10, (0, 3) → 6.
  4. The region is bounded: maximum 10 at (4, 3), minimum 3 at (3, 0).

Answer: Maximum 10, minimum 3

Common mistakes

  • Forgetting x ≥ 0, y ≥ 0. Without them the region spills into negative values.
  • Keeping the wrong side of a line. Test a point such as (0, 0) every time.
  • Using (0, 0) as a corner when it is not in the region. With an “at least” limit it usually is not.
  • Missing a corner. Check where each line meets the axes and where every pair of lines meets.
  • Trusting the biggest corner on an unbounded region. Do the half-plane test first.
  • Mixing up “at most” and “at least”. “At most” is ≤, “at least” is ≥.

Recap: three lines to remember

  1. The limits (constraints) cut the floor down to the feasible region.
  2. The best value, when it exists, sits at a corner point.
  3. On an open (unbounded) region, do the half-plane test before you trust a corner.

References

Practice questions

Question language

Choose an answer, then press Check: you see at once whether it is right, and why.

If the English and Telugu versions of a question differ, go by the English text, and please tell us about the difference.

  1. Question 1

    Which of these points lies in the feasible region of x + y ≤ 5, x ≤ 3, x ≥ 0, y ≥ 0?x + y ≤ 5, x ≤ 3, x ≥ 0, y ≥ 0 సాధ్య ప్రాంతంలో కింది వాటిలో ఏ బిందువు ఉంది?

    Choose an answer first.

    Show answer and explanation

    Report an error

  2. Question 2

    What is the maximum value of Z = 7x + 4y subject to 4x + 5y ≤ 40, x ≥ 0, y ≥ 0?4x + 5y ≤ 40, x ≥ 0, y ≥ 0 పరిమితులకు లోబడి Z = 7x + 4y గరిష్ఠ విలువ ఎంత?

    Choose an answer first.

    Show answer and explanation

    Report an error

  3. Question 3

    At which corner point do the boundary lines x + y = 7 and 2x + y = 10 meet?x + y = 7, 2x + y = 10 సరిహద్దు గీతలు ఏ శీర్షం వద్ద కలుస్తాయి?

    Choose an answer first.

    Show answer and explanation

    Report an error

  4. Question 4

    Find the maximum of Z = 4x + 5y subject to x + y ≤ 8, x + 3y ≤ 12, x ≥ 0, y ≥ 0.x + y ≤ 8, x + 3y ≤ 12, x ≥ 0, y ≥ 0 పరిమితులతో Z = 4x + 5y గరిష్ఠ విలువ కనుక్కోండి.

    Choose an answer first.

    Show answer and explanation

    Report an error

  5. Question 5

    Find the minimum of Z = 2x + 5y subject to x + y ≥ 6, x ≤ 4, y ≤ 6, x ≥ 0, y ≥ 0.x + y ≥ 6, x ≤ 4, y ≤ 6, x ≥ 0, y ≥ 0 పరిమితులతో Z = 2x + 5y కనిష్ఠ విలువ కనుక్కోండి.

    Choose an answer first.

    Show answer and explanation

    Report an error

  6. Question 6

    Maximise Z = 3x + 6y subject to x + 2y ≤ 8, x + y ≤ 6, x ≥ 0, y ≥ 0. Where is the maximum reached?x + 2y ≤ 8, x + y ≤ 6, x ≥ 0, y ≥ 0 పరిమితులతో Z = 3x + 6y ని గరిష్ఠం చేయాలి. గరిష్ఠ విలువ ఎక్కడ వస్తుంది?

    Choose an answer first.

    Show answer and explanation

    Report an error

  7. Question 7

    Find the minimum of Z = 2x + 7y subject to 5x + 2y ≥ 16, x + 3y ≥ 11, x ≥ 0, y ≥ 0.5x + 2y ≥ 16, x + 3y ≥ 11, x ≥ 0, y ≥ 0 పరిమితులతో Z = 2x + 7y కనిష్ఠ విలువ కనుక్కోండి.

    Choose an answer first.

    Show answer and explanation

    Report an error

  8. Question 8

    A potter makes water pots and flower pots. A water pot needs 3 kg of clay and 1 hour on the wheel; a flower pot needs 2 kg of clay and 2 hours on the wheel. In a week he has at most 36 kg of clay and 20 hours on the wheel. He earns ₹150 on a water pot and ₹120 on a flower pot. What is his largest possible weekly profit?ఒక కుమ్మరి నీటి కుండలు, పూల కుండీలు చేస్తాడు. ఒక నీటి కుండకు 3 కిలోల మట్టి, సారె మీద 1 గంట పని కావాలి. ఒక పూల కుండీకి 2 కిలోల మట్టి, సారె మీద 2 గంటల పని కావాలి. వారంలో అతని దగ్గర గరిష్ఠంగా 36 కిలోల మట్టి, సారె మీద 20 గంటల సమయం ఉంటాయి. నీటి కుండ మీద రూ.150, పూల కుండీ మీద రూ.120 లాభం. వారానికి అతనికి వచ్చే అత్యధిక లాభం ఎంత?

    Choose an answer first.

    Show answer and explanation

    Report an error

  9. Question 9

    The corner points of a bounded feasible region are (2, 0), (7, 0), (8, 3), (4, 6) and (0, 4). For Z = 5x + 2y, what is (maximum of Z) − (minimum of Z)?ఒక పరిబద్ధ సాధ్య ప్రాంతం శీర్షాలు (2, 0), (7, 0), (8, 3), (4, 6), (0, 4). Z = 5x + 2y కు (Z గరిష్ఠం) − (Z కనిష్ఠం) ఎంత?

    Choose an answer first.

    Show answer and explanation

    Report an error

  10. Question 10

    A feasible region has the corner points (0, 0), (8, 0), (6, 3) and (0, 6). For Z = px + qy with p, q > 0, the maximum of Z is reached at both (8, 0) and (6, 3). Which relation between p and q is true?ఒక సాధ్య ప్రాంతం శీర్షాలు (0, 0), (8, 0), (6, 3), (0, 6). Z = px + qy, ఇక్కడ p, q > 0. Z గరిష్ఠ విలువ (8, 0), (6, 3) రెండింటి వద్దా వస్తే p, q ల మధ్య ఏ సంబంధం నిజం?

    Choose an answer first.

    Show answer and explanation

    Report an error

Practise more Mathematics questions

Back to top

In this lesson