Skip to content

LearnMathematics

Mathematics · NCERT Class 12 Mathematics Part II, Chapter 12

Linear Programming

CUET (UG) Mathematics 319, Section A and Section B1 · 69 min read · 13 worked examples · 12 practice questions

12.1 Introduction

A shop or a factory works inside limits of money, time and space, and wants the most profit or the least cost. An LPP (linear programming problem) is that question in maths.

A problem that asks for the largest or smallest value of something is an optimisation problem. An LPP is one special kind of it.

A tiny example: the tailor

A tailor has 10 m of cloth a day. A kurta needs 2 m and a shirt needs 1 m. He can stitch at most 7 pieces a day. He earns ₹100 on a kurta and ₹60 on a shirt. How many of each should he stitch?

Write each sentence of the problem as maths:

In wordsIn maths
2 m per kurta, 1 m per shirt, 10 m in all2x+y≤102x + y \le 10
at most 7 piecesx+y≤7x + y \le 7
he cannot stitch a negative numberx≥0x \ge 0, y≥0y \ge 0
the profit, to be made as large as possibleZ=100x+60yZ = 100x + 60y

Linear means every relation is a straight-line one: xx and yy appear only to the power 1, with no x2x^2 and no xyxy. Programming here means planning, not computer code.

Now try a few plans by hand:

Plan (x,y)(x, y)Cloth 2x+y2x + yPieces x+yx + yAllowed?Profit ZZ
(5,0)(5, 0)105yes₹500
(0,7)(0, 7)77yes₹420
(3,4)(3, 4)107yes₹540
(4,4)(4, 4)128no: too much clothnot allowed

Guessing finds ₹540 but cannot prove that nothing beats it. Section 12.2 proves it by checking the corners of the allowed region: 3 kurtas and 4 shirts, ₹540.

Loading the rest of the chapter…

Focused

Read the whole chapter

5 more sections: 13 worked examples, 12 graphs and figures, what CUET and the board exam ask, 12 practice questions with full solutions.

Unlock with Focused Aspirant