ClassApna

Class 12 Maths Notes

Linear Programming Class 12 Notes

Complete, exam-ready notes on linear programming: formulating an LPP from a word problem, drawing the feasible region, and using the corner point method to maximise profit or minimise cost — written for CBSE boards and JEE revision.

Class12SubjectMathematicsCoversCBSE · JEE

Written byDeep Narayan· Science & Mathematics EducatorReviewed byPushpanjali

What is this chapter about in one line?

Linear programming optimises a linear objective under linear constraints, and the optimum always sits at a corner of the feasible region.

Elements of an LPP

Linear programming problem

An LPP has a linear objective function Z=ax+byZ = ax + by to maximise or minimise, subject to linear constraints like px+qycpx + qy \leq c and non-negativity x0, y0x \geq 0,\ y \geq 0. The feasible region is the set of points satisfying every constraint.

Z=ax+by,subject to i(pix+qiy)ci,x,y0Z = ax + by,\qquad \text{subject to } \sum_i (p_i x + q_i y) \leq c_i,\quad x,y \geq 0
Objective and constraints

The Corner Point Method

  • Draw each constraint as a line, shade the side that satisfies the inequality, and find the intersection of all shaded regions.
  • Locate the corner (vertex) points of the feasible region.
  • Evaluate Z at every corner point.
  • Pick the largest value for a maximisation problem, the smallest for minimisation.

Corners are enough

You never need to test interior points: the linear objective is maximised or minimised at a corner of the feasible region. Evaluate Z only at the vertices.

Formulating a Word Problem

  • Decide the decision variables — the quantities the problem asks to choose (e.g. number of units of two products).
  • Write the objective as a linear function of the variables from the profit or cost data.
  • Translate each resource limit and requirement into a linear constraint.
  • Include the implicit
  • x0, y0x \geq 0,\ y \geq 0
  • constraints.

Special Cases

  • Unbounded region: the optimum may not exist for one direction — compare with a test to decide.
  • Infeasible: constraints with no common region, so no solution at all.
  • Multiple optima: when Z takes the same optimal value on a whole edge of the feasible region, every point of that edge is optimal.

Solved Examples

Example: Maximise Z=3x+2yZ = 3x + 2y subject to x+y4x + y \leq 4, xy2x - y \leq 2, x,y0x, y \geq 0.

Solution: The feasible region has corners (0,0), (2,0), (3,1), (0,4). Evaluating Z: 0, 6, 11 and 8. The maximum is 11 at (3,1).

Example: A machine makes two items A and B with a profit of ₹50 and ₹80, and takes 4 and 6 hours per unit with 60 hours available. Maximise daily profit.

Solution: Max Z=50x+80y\text{Max } Z = 50x + 80y subject to 4x+6y604x + 6y \leq 60, x,y0x,y \geq 0. Corners give (0,0)=0, (15,0)=750, (0,10)=800, so 10 units of B alone maximise profit at ₹800.

Revision

Key formulas at a glance

Memorise these before attempting numericals — most exam questions hinge on one of them.

Objective function

Z=ax+byZ = ax + by

Feasibility

px+qyc,x,y0px + qy \leq c,\quad x,y \geq 0

Corner point rule

maxZ, minZ{(xi,yi) : vertices of feasible region}\max Z,\ \min Z \in \{(x_i, y_i)\ :\ \text{vertices of feasible region}\}

Line from intercepts

xa+yb=1\frac{x}{a} + \frac{y}{b} = 1

Exam tips

How this chapter is asked

Where this topic appears in CBSE, JEE Main and NEET papers.

  • Always state the constraints with x ≥ 0 and y ≥ 0 explicitly.
  • Shade the feasible region clearly — the corners are read off its boundary.
  • Evaluate Z at every corner; never guess the optimum from a sketch alone.
  • Watch for unbounded regions where a maximum may not exist.
  • Check units in word problems: time, profit and quantity must all be consistent.

FAQ

Common questions

Why is the optimum found at a corner point?

The objective Z = ax + by is a family of parallel lines; the feasible region is a convex polygon. Sliding these lines, the last feasible line always touches a vertex, so the max and min occur at corners.

What is the feasible region?

The set of all points satisfying every constraint, including non-negativity. Only points inside it are possible solutions the company can actually implement.

What if the feasible region is unbounded?

The problem may still have an optimum, but a maximisation can be unbounded if Z grows without bound in an open direction — the graph tells you whether the region is closed in the direction of increase.

Can a linear programming problem have more than one solution?

Yes. If the objective line runs parallel to an edge of the feasible region, that entire edge is optimal, giving infinitely many solutions with the same value of Z.

Mastering this chapter with live help

Notes help, but doubts clear fastest in a live class. Narayan Gurukul Academy (ClassApna) runs small-batch CBSE, JEE and NEET coaching from our Mohali centre and online — with daily doubt support and mock tests.

One-on-one guidance available · Live online classes across India