Class 12 Maths · Chapter 12 · Linear programming and probability

Linear Programming: notes, PYQs and NCERT solutions

Write the problem as an objective function Z=ax+byZ=ax+by with linear constraints, draw the feasible region, find its corner points, evaluate ZZ at each, and pick the largest or smallest (with an extra check if the region is unbounded).

72CBSE board questions, 2023–2026
15NCERT textbook questions solved
57NCERT Exemplar questions solved
Study Linear Programming on Trace

What the board asks most from Linear Programming

  1. Graphical method of solving linear programming problemsasked 65 times
  2. Linear Programming Problem and its Mathematical Formulationasked 5 times
  3. Mathematical formulation of the problemasked 2 times

Topics in the notes

  • 12.1 Introduction
  • 12.2 Linear Programming Problem and its Mathematical Formulation

Solved questions from Linear Programming

CBSE 2026 · 1 mark

In a linear programming problem, the linear function which has to be maximized or minimized is called (A) a feasible function (B) an objective function (C) an optimal function (D) a constraint

Answer

Answer: (B)

Reason:

By definition, in a linear programming problem, a linear function Z=ax+byZ = ax + by (where aa and bb are constants) which has to be maximized or minimized is called an objective function.

CBSE 2025 · 1 mark

Assertion (A): In a Linear Programming Problem, if the feasible region is empty, then the Linear Programming Problem has no solution. Reason (R): A feasible region is defined as the region that satisfies all the constraints.

Answer

Answer: (B)

  • Assertion (A) is true: When the feasible region is empty, there is no point that satisfies all constraints simultaneously, meaning there is no feasible solution, and hence the Linear Programming Problem has no solution.
  • Reason (R) is true: By definition, the feasible region of a linear programming problem is the common region determined by all the given constraints, including non-negative constraints.
  • However, Reason (R) merely defines a feasible region and is not the correct explanation for why the problem has no solution when the feasible region is empty.

CBSE 2025 · 1 mark

Assertion (A) : Every point of the feasible region of a Linear Programming Problem is an optimal solution. Reason (R) : The optimal solution for a Linear Programming Problem exists only at one or more corner point(s) of the feasible region.

Answer

Answer: (D) Assertion (A) is false and Reason (R) is true.

Reason:

Every point in the feasible region is a feasible solution, but not necessarily an optimal solution, making Assertion (A) false. By the fundamental theorem of linear programming, any optimal solution occurs at one or more corner points (vertices) of the feasible region, making Reason (R) true.

NCERT Exemplar

A manufacturing company makes two types of television sets; one is black and white and the other is colour. The company has resources to make at most 300300 sets a week. It takes Rs 18001800 to make a black and white set and Rs 27002700 to make a coloured set. The company can spend not more than Rs 648000648000 a week to make television sets. If it makes a profit of Rs 510510 per black and white set and Rs 675675 per coloured set, how many sets of each type should be produced so that the company has maximum profit? Formulate this problem as a LPP given that the objective is to maximise the profit.

Answer

Let xx denote the number of black and white television sets and yy denote the number of coloured television sets produced per week.

Since the number of sets produced cannot be negative, we have the non-negative restrictions:

x≥0,y≥0x \ge 0, \quad y \ge 0

1. Production Capacity Constraint:

The company has resources to make at most 300300 sets a week:

x+y≤300x + y \le 300

2. Cost Constraint:

The manufacturing cost is Rs 18001800 for each black and white set and Rs 27002700 for each coloured set. The total weekly expenditure cannot exceed Rs 648000648000:

1800x+2700y≤6480001800x + 2700y \le 648000

Dividing the entire inequality by 900900:

2x+3y≤7202x + 3y \le 720

3. Objective Function:

The profit is Rs 510510 per black and white set and Rs 675675 per coloured set. To maximise the total weekly profit ZZ (in Rs):

Z=510x+675yZ = 510x + 675y

Thus, the mathematical formulation of the given Linear Programming Problem is:

Maximise:

Z=510x+675yZ = 510x + 675y

subject to the constraints:

x+y≤3002x+3y≤720x≥0y≥0\begin{aligned} x + y &\le 300 \\ 2x + 3y &\le 720 \\ x &\ge 0 \\ y &\ge 0 \end{aligned}

Answer:

Maximise Z=510x+675yZ = 510x + 675y subject to x+y≤300x + y \le 300, 2x+3y≤7202x + 3y \le 720, and x,y≥0x, y \ge 0.

NCERT Exemplar

Minimise Z=3x+5yZ = 3x + 5y subject to the constraints :

x+2y≥10x+y≥63x+y≥8x,y≥0\begin{aligned} x + 2y &\ge 10 \\ x + y &\ge 6 \\ 3x + y &\ge 8 \\ x, y &\ge 0 \end{aligned}

Answer

To minimise Z=3x+5yZ = 3x + 5y subject to the given constraints:

x+2y≥10x+y≥63x+y≥8x,y≥0\begin{aligned} x + 2y &\ge 10 \\ x + y &\ge 6 \\ 3x + y &\ge 8 \\ x, y &\ge 0 \end{aligned}

Step 1: Find the boundary lines and their intercepts

  1. For the line x+2y=10x + 2y = 10:
  • When x=0x = 0, y=5  ⟹  (0,5)y = 5 \implies (0, 5)
  • When y=0y = 0, x=10  ⟹  (10,0)x = 10 \implies (10, 0)

Since (0,0)(0,0) does not satisfy 0+2(0)≥100 + 2(0) \ge 10, the feasible half-plane lies away from the origin.

  1. For the line x+y=6x + y = 6:
  • When x=0x = 0, y=6  ⟹  (0,6)y = 6 \implies (0, 6)
  • When y=0y = 0, x=6  ⟹  (6,0)x = 6 \implies (6, 0)

Since (0,0)(0,0) does not satisfy 0+0≥60 + 0 \ge 6, the feasible half-plane lies away from the origin.

  1. For the line 3x+y=83x + y = 8:
  • When x=0x = 0, y=8  ⟹  (0,8)y = 8 \implies (0, 8)
  • When y=0y = 0, x=83  ⟹  (83,0)x = \frac{8}{3} \implies \left(\frac{8}{3}, 0\right)

Since (0,0)(0,0) does not satisfy 3(0)+0≥83(0) + 0 \ge 8, the feasible half-plane lies away from the origin.

  1. x≥0,y≥0x \ge 0, y \ge 0 restricts the feasible region to the first quadrant.

---

Step 2: Determine the corner points of the feasible region

The feasible region is unbounded and has the following corner points:

  • Point AA: Intersection of 3x+y=83x + y = 8 with the yy-axis (x=0)(x = 0):

A(0,8)A(0, 8)

  • Point BB: Intersection of 3x+y=83x + y = 8 and x+y=6x + y = 6:

Subtracting the equations gives 2x=2  ⟹  x=12x = 2 \implies x = 1, and y=6−1=5y = 6 - 1 = 5:

B(1,5)B(1, 5)

  • Point CC: Intersection of x+y=6x + y = 6 and x+2y=10x + 2y = 10:

Subtracting the equations gives y=4y = 4, and x=6−4=2x = 6 - 4 = 2:

C(2,4)C(2, 4)

  • Point DD: Intersection of x+2y=10x + 2y = 10 with the xx-axis (y=0)(y = 0):

D(10,0)D(10, 0)

---

Step 3: Evaluate Z=3x+5yZ = 3x + 5y at the corner points

Corner Point (x,y)(x, y)Value of Z=3x+5yZ = 3x + 5y
A(0,8)A(0, 8)Z=3(0)+5(8)=40Z = 3(0) + 5(8) = 40
B(1,5)B(1, 5)Z=3(1)+5(5)=28Z = 3(1) + 5(5) = 28
C(2,4)C(2, 4)Z=3(2)+5(4)=26Z = 3(2) + 5(4) = 26 ←\leftarrow Minimum
D(10,0)D(10, 0)Z=3(10)+5(0)=30Z = 3(10) + 5(0) = 30

---

Step 4: Check for the unbounded region

Since the feasible region is unbounded, the smallest value 2626 may or may not be the minimum value of ZZ.

To verify, we draw the graph of the inequality:

3x+5y<263x + 5y < 26

Notice that for any point (x,y)(x, y) in the feasible region:

3x+5y=2(x+2y)+(x+y)≥2(10)+6=263x + 5y = 2(x + 2y) + (x + y) \ge 2(10) + 6 = 26

Hence, the open half-plane determined by 3x+5y<263x + 5y < 26 has no points in common with the feasible region.

Therefore, the minimum value of ZZ is 2626 attained at (2,4)(2, 4).

Answer: Minimum value of Z=26Z = 26 at (2,4)(2, 4)

More board questions from this chapter

  • The restrictions imposed on decision variables involved in an objective function of a linear programming problem are called : (A) feasible solutions (B) constraints (C) optimal solutions (D) infeasible solutions
  • The common region determined by all the constraints of a linear programming problem is called : (A) an unbounded region (B) an optimal region (C) a bounded region (D) a feasible region
  • A linear programming problem deals with the optimization of a/an : (A) logarithmic function (B) linear function (C) quadratic function (D) exponential function

Worked answers to every question, the full notes and an AI tutor that knows this chapter are on Trace.

See all answers
Trace · Class 12 notes, CBSE PYQs and NCERT solutions · Privacy · Terms · Refunds© Trace. All rights reserved. Copying or scraping this content is not allowed.