NCERT Solutions for Class 12 Maths Chapter 12: Linear Programming
12NCERT Mathematics · solved
Linear Programming finds the best value (largest profit, least cost) of a linear expression when the variables must satisfy a set of linear inequalities. You draw the feasible region, find its corner points, and compare the value of the objective function at those corners.
Download PDFBoard questions on this chapter (9)
Try each question, open its solution, then mark yourself: 0 of 10 checked · 0 right
Exercise 12.1
Question 1. Solve graphically: Maximise Z = 3x + 4y subject to the constraints: x + y ≤ 4, x ≥ 0, y ≥ 0.
Show solution
- The feasible region is the triangle bounded by x = 0, y = 0 and x + y = 4 (bounded)
- Corner points: O(0, 0), A(4, 0), B(0, 4)
- Z at O = 0, at A = 12, at B = 16
Answer: Maximum Z = 16 at (0, 4).
Question 2. Solve graphically: Minimise Z = −3x + 4y subject to x + 2y ≤ 8, 3x + 2y ≤ 12, x ≥ 0, y ≥ 0.
Show solution
- Lines x + 2y = 8 and 3x + 2y = 12 meet where 2x = 4, i.e. at (2, 3)
- Feasible region (bounded) has corners O(0, 0), A(4, 0), B(2, 3), C(0, 4)
- Z: O → 0, A → −12, B → −6 + 12 = 6, C → 16
Answer: Minimum Z = −12 at (4, 0).
Question 3. Solve graphically: Maximise Z = 5x + 3y subject to 3x + 5y ≤ 15, 5x + 2y ≤ 10, x ≥ 0, y ≥ 0.
Show solution
- Lines 3x + 5y = 15 and 5x + 2y = 10 meet at (20/19, 45/19)
- Corners: O(0, 0), A(2, 0), B(20/19, 45/19), C(0, 3)
- Z: O → 0, A → 10, B → 100/19 + 135/19 = 235/19, C → 9
Answer: Maximum Z = 235/19 at (20/19, 45/19).
Question 4. Solve graphically: Minimise Z = 3x + 5y such that x + 3y ≥ 3, x + y ≥ 2, x, y ≥ 0.
Show solution
- The feasible region is unbounded; lines x + 3y = 3 and x + y = 2 meet at (3/2, 1/2)
- Corners: A(3, 0), B(3/2, 1/2), C(0, 2)
- Z: A → 9, B → 9/2 + 5/2 = 7, C → 10; the smallest is 7
- The half-plane 3x + 5y < 7 has no point in common with the feasible region, so 7 is the minimum
Answer: Minimum Z = 7 at (3/2, 1/2).
Question 5. Solve graphically: Maximise Z = 3x + 2y subject to x + 2y ≤ 10, 3x + y ≤ 15, x, y ≥ 0.
Show solution
- Lines x + 2y = 10 and 3x + y = 15 meet at (4, 3)
- Corners: O(0, 0), A(5, 0), B(4, 3), C(0, 5)
- Z: O → 0, A → 15, B → 18, C → 10
Answer: Maximum Z = 18 at (4, 3).
Question 6. Solve graphically: Minimise Z = x + 2y subject to 2x + y ≥ 3, x + 2y ≥ 6, x, y ≥ 0. Show that the minimum of Z occurs at more than two points.
Show solution
- Lines 2x + y = 3 and x + 2y = 6 meet at (0, 3); the feasible region is unbounded with corners A(6, 0) and B(0, 3)
- Z at A = 6, Z at B = 6
- The half-plane x + 2y < 6 has no point in common with the feasible region, so the minimum is 6
- Every point on the segment AB lies on x + 2y = 6, so Z = 6 at all of them (infinitely many points)
Answer: Minimum Z = 6 at every point of the segment joining (6, 0) and (0, 3), i.e. at more than two points.
Question 7. Solve graphically: Minimise and Maximise Z = 5x + 10y subject to x + 2y ≤ 120, x + y ≥ 60, x − 2y ≥ 0, x, y ≥ 0.
Show solution
- Corners: A(60, 0), B(120, 0), C(60, 30) (from x + 2y = 120 and x = 2y), D(40, 20) (from x + y = 60 and x = 2y)
- Z: A → 300, B → 600, C → 300 + 300 = 600, D → 200 + 200 = 400
- The region is bounded, so these give the extreme values
Answer: Minimum Z = 300 at (60, 0); maximum Z = 600 at every point of the segment joining (120, 0) and (60, 30).
Question 8. Solve graphically: Minimise and Maximise Z = x + 2y subject to x + 2y ≥ 100, 2x − y ≤ 0, 2x + y ≤ 200; x, y ≥ 0.
Show solution
- Corners: A(0, 50), B(20, 40) (x + 2y = 100 with y = 2x), C(50, 100) (y = 2x with 2x + y = 200), D(0, 200)
- Z: A → 100, B → 100, C → 250, D → 400
- The region is bounded
Answer: Minimum Z = 100 at every point of the segment joining (0, 50) and (20, 40); maximum Z = 400 at (0, 200).
Question 9. Solve graphically: Maximise Z = −x + 2y, subject to the constraints: x ≥ 3, x + y ≥ 5, x + 2y ≥ 6, y ≥ 0.
Show solution
- The feasible region is unbounded with corners A(6, 0), B(4, 1), C(3, 2)
- Z: A → −6, B → −2, C → 1; the largest corner value is 1
- The half-plane −x + 2y > 1 does meet the feasible region (for example (3, 10) is feasible and gives Z = 17)
- So Z can be made as large as we like
Answer: Z has no maximum value.
Question 10. Solve graphically: Maximise Z = x + y, subject to x − y ≤ −1, −x + y ≤ 0, x, y ≥ 0.
Show solution
- x − y ≤ −1 means y ≥ x + 1, while −x + y ≤ 0 means y ≤ x
- No point can satisfy both, so there is no feasible region
Answer: There is no feasible region, so Z has no maximum value.
Key points of Linear Programming (quick revision)
- A linear programming problem: optimise (maximise or minimise) Z = ax + by, the objective function, subject to linear constraints and x, y ≥ 0.
- Feasible region: the common region of all the constraints. Each point of it is a feasible solution; the best one is the optimal solution.
- Corner point method: if an optimal value exists, it occurs at a corner (vertex) of the feasible region.
- Steps: draw each constraint line, shade the feasible region, find all corner points (by solving pairs of line equations), and evaluate Z at each.
- Bounded region: the largest and smallest values of Z at the corners are the maximum and minimum.
- Unbounded region: if M is the largest corner value, check the open half-plane ax + by > M; if it has no point in common with the feasible region, M is the maximum, otherwise Z has no maximum (similarly for the minimum with ax + by < m).
- If two corners give the same optimal value, every point on the segment joining them is also optimal. If the constraints have no common region, there is no feasible solution.
How these solutions were checked
- Every question of the NCERT Mathematics reprint for 2026-27 is here, in the book's order and numbering.
- Every answer is worked out in full, then checked by substituting it back or recomputing it (algebra and calculus answers are verified by differentiation or computer algebra).
- Where the book has a misprint, or its printed answer differs from the correct one, the solution says so and shows why, so you can trust what you write in the exam.
- Found something that looks wrong? Tell us about it, and we correct it and update this page and its PDF.
Questions
How many exercises are there in Class 12 Maths Chapter 12 Linear Programming?
1 (Exercise 12.1), with 10 questions and parts in all. Every one is solved on this page.
Can I download the Class 12 Maths Chapter 12 Linear Programming NCERT solutions as a PDF?
Yes. The PDF has every question and its solution, free to download and print, with no sign-in.
Are questions from Linear Programming asked in the CBSE board exam?
Yes: 9 board questions from 3 papers (2023–2025), 15 marks in all. They are solved on our chapter-wise page.
Questions are from the NCERT textbook Mathematics for Class 12; the solutions are written by beMahan.All Class 12 NCERT solutions