Linear Programming

Chapter 123 topics, part by part5 min read

What a linear programming problem is, its objective function, constraints and decision variables, how to formulate one, and the graphical (corner point) method for bounded and unbounded feasible regions.

📋
Part

Formulating and Solving LPPs

3 topics to learn here

Formulating and Solving LPPs · Topic 1 of 3

Linear programming problems and formulation

Maximise/minimise Z = ax + by subject to linear constraints and x, y ≥ 0.

  1. 1

    Optimisation problems (maximum profit, minimum cost, least use of resources) form an important class; linear programming handles those where everything is linear.

  2. 2

    An LPP has a linear objective function Z = ax + by, decision variables x, y ≥ 0 (non-negativity), and linear constraints (inequalities).

  3. 3

    Example: a dealer with ₹50,000 and space for 60 items buys tables (₹2500, profit ₹250) and chairs (₹500, profit ₹75): maximise Z = 250x + 75y subject to 5x + y ≤ 100, x + y ≤ 60, x, y ≥ 0.

  4. 4

    Linear programming is used in industry, commerce, management, diet planning, transportation and manufacturing problems.

Linear programming problemPartMeaningObjectiveMax or min Z = ax + byDecision variablesx, yConstraintsLinear inequalitiesNon-negativityx ≥ 0, y ≥ 0
❓ Can you answer?

What are non-negativity constraints?

Formulating and Solving LPPs · Topic 2 of 3

Graphical (corner point) method

Feasible region; corner point theorem: if an optimum exists, it occurs at a corner point; bounded region always has max and min.

  1. 1

    The common region satisfying all constraints, including x, y ≥ 0, is the feasible region; its points are feasible solutions; outside points are infeasible.

  2. 2

    Theorem 1: if Z has an optimal value over a convex polygonal feasible region, it occurs at a corner point (vertex).

  3. 3

    Theorem 2: over a bounded feasible region, Z attains a greatest and a least value, and both sit at corner points.

  4. 4

    Method: (1) draw the region, find corner points; (2) evaluate Z at each; (3) for a bounded region pick the largest M and smallest m.

  5. 5

    If two corners give the same optimal value, every point on the segment joining them is also optimal.

Graphical methodDraw constraintsShade regionFind corner pointsEvaluate Z at each
🧮 Worked example

Maximise Z = 3x + 4y subject to x + y ≤ 4, x, y ≥ 0.

  1. Corners: (0, 0) → 0, (4, 0) → 12, (0, 4) → 16

Answer: Maximum Z = 16 at (0, 4).

❓ Can you answer?

Where does the optimum of an LPP occur?

Formulating and Solving LPPs · Topic 3 of 3

Unbounded feasible regions and special cases

For unbounded regions: M is max if ax + by > M has no point in the region; m is min if ax + by < m has none; empty region ⇒ no solution.

  1. 1

    If the feasible region is unbounded, an optimum may or may not exist; if it exists it is at a corner point.

  2. 2

    For a candidate maximum M: draw ax + by > M; if this open half-plane has no common point with the region, M is the maximum; otherwise Z has no maximum.

  3. 3

    For a candidate minimum m: draw ax + by < m; if no common point, m is the minimum.

  4. 4

    If the constraints have no common region (e.g. x − y ≤ −1, −x + y ≤ 0), there is no feasible solution.

  5. 5

    Example: minimise Z = x + 2y with 2x + y ≥ 3, x + 2y ≥ 6: Z = 6 at (6, 0) and (0, 3) and at all points on the line between them.

Types of feasible regionsBounded region• Max and min both exist• At corner pointsUnbounded region• Optimum may not exist• Check open half-plane• ax + by > M (for max)
🧮 Worked example

Minimise Z = 3x + 5y with x + 3y ≥ 3, x + y ≥ 2, x, y ≥ 0.

  1. Corners: (3, 0) → 9, (3/2, 1/2) → 7, (0, 2) → 10
  2. 3x + 5y < 7 has no point in the region

Answer: Minimum Z = 7 at (3/2, 1/2).

❓ Can you answer?

What if no point satisfies all constraints?

🔤 Key words

Each science word with its meaning and its Hindi name. Cover the meaning and try to say it first.

  • Linear programmingरैखिक प्रोग्रामन

    Optimising a linear function subject to linear constraints.

  • Objective functionउद्देश्य फलन

    Z = ax + by to be maximised or minimised.

  • Decision variablesनिर्णायक चर

    x, y whose values we choose.

  • Constraintsव्यवरोध

    Linear inequalities the variables must satisfy.

  • Non-negativityऋणेतर व्यवरोध

    x ≥ 0, y ≥ 0.

  • Feasible regionसुसंगत क्षेत्र

    Common region satisfying all constraints.

  • Feasible solutionसुसंगत हल

    Any point of the feasible region.

  • Optimal solutionइष्टतम हल

    Feasible point giving the best value of Z.

  • Corner pointकोनीय बिंदु

    Vertex of the feasible region.

  • Unbounded regionअपरिबद्ध क्षेत्र

    Feasible region extending without limit.

🛂 One-look revision

One stamp per part. Read the key fact, then try to recall the whole topic.

  • ObjectiveZ = ax + byMax or min
  • ConstraintsLinear inequalitiesPlus x, y ≥ 0
  • Feasible regionAll constraints holdShade carefully
  • Corner point theoremOptimum at a vertexIf it exists
  • BoundedMax and min exist
  • UnboundedCheck ax + by > M or < mMay not exist
  • Two optimal cornersWhole segment optimalInfinitely many
  • No common regionNo feasible solution

❔ Questions and answers

Tap a question to see the answer. Try answering in your head first.

NCERT Exercise 12.1 (Q1–Q5)

QQ1 Maximise Z = 3x + 4y, x + y ≤ 4, x, y ≥ 0.
A
Corners (0, 0), (4, 0), (0, 4): max Z = 16 at (0, 4).
QQ2 Minimise Z = −3x + 4y, x + 2y ≤ 8, 3x + 2y ≤ 12, x, y ≥ 0.
A
Corners (0, 0), (4, 0), (2, 3), (0, 4): min Z = −12 at (4, 0).
QQ3 Maximise Z = 5x + 3y, 3x + 5y ≤ 15, 5x + 2y ≤ 10, x, y ≥ 0.
A
Corners (0, 0), (2, 0), (20/19, 45/19), (0, 3): max Z = 235/19 at (20/19, 45/19).
QQ4 Minimise Z = 3x + 5y, x + 3y ≥ 3, x + y ≥ 2, x, y ≥ 0.
A
Unbounded region; corners (3, 0), (3/2, 1/2), (0, 2); min Z = 7 at (3/2, 1/2) (3x + 5y < 7 has no common point).
QQ5 Maximise Z = 3x + 2y, x + 2y ≤ 10, 3x + y ≤ 15, x, y ≥ 0.
A
Corners (0, 0), (5, 0), (4, 3), (0, 5): max Z = 18 at (4, 3).

NCERT Exercise 12.1 (Q6–Q10)

QQ6 Minimise Z = x + 2y, 2x + y ≥ 3, x + 2y ≥ 6, x, y ≥ 0. Show the minimum occurs at more than two points.
A
Z = 6 at (6, 0) and (0, 3), and x + 2y < 6 meets no feasible point: min Z = 6 at every point of the segment joining them.
QQ7 Min and max of Z = 5x + 10y, x + 2y ≤ 120, x + y ≥ 60, x − 2y ≥ 0, x, y ≥ 0.
A
Corners (60, 0), (120, 0), (60, 30), (40, 20): min Z = 300 at (60, 0); max Z = 600 at all points of the segment from (120, 0) to (60, 30).
QQ8 Min and max of Z = x + 2y, x + 2y ≥ 100, 2x − y ≤ 0, 2x + y ≤ 200, x, y ≥ 0.
A
Corners (0, 50), (20, 40), (50, 100), (0, 200): min Z = 100 on the segment from (0, 50) to (20, 40); max Z = 400 at (0, 200).
QQ9 Maximise Z = −x + 2y, x ≥ 3, x + y ≥ 5, x + 2y ≥ 6, y ≥ 0.
A
Region is unbounded and −x + 2y > 1 meets it: no maximum.
QQ10 Maximise Z = x + y, x − y ≤ −1, −x + y ≤ 0, x, y ≥ 0.
A
The constraints have no common region: no feasible solution, so no maximum.

Back to the full listAll Class 12 Mathematics