Skip to main content
Chapter 12 of 13
NCERT Solutions

Linear Programming

Gujarat Board · Class 12 · Mathematics

NCERT Solutions for Linear Programming — Gujarat Board Class 12 Mathematics.

45 questions20 flashcards5 concepts

Interactive on Super Tutor

Studying Linear Programming? Get the full interactive chapter.

Quizzes, flashcards, AI doubt-solver and a step-by-step study plan — built for ncert solutions and more.

1,000+ Class 12 students started this chapter today

A comparison chart showing two graphs: one with a bounded feasible region and another with an unbounded feasible region, explaining the implications for optimal solutions.
Super Tutor

Learn better with visuals Super Tutor has hundreds of illustrations like this across every chapter — all free to try.

Get started
10 Questions Solved · 1 Section

EXERCISE 12.1

1Maximise Z=3x+4yZ = 3x + 4y subject to the constraints: x+y4, x0, y0x + y \leq 4,\ x \geq 0,\ y \geq 0.Show solution
Given: Objective function Z=3x+4yZ = 3x + 4y

Constraints: x+y4, x0, y0x + y \leq 4,\ x \geq 0,\ y \geq 0

Step 1: Find the corner points of the feasible region.

The constraint x+y=4x + y = 4 meets the axes at A(4,0)A(4, 0) and B(0,4)B(0, 4).

With x0, y0x \geq 0,\ y \geq 0, the feasible region is the triangle with vertices:
- O(0,0)O(0, 0)
- A(4,0)A(4, 0)
- B(0,4)B(0, 4)

Step 2: Evaluate ZZ at each corner point.

| Corner Point | Z=3x+4yZ = 3x + 4y |
|---|---|
| O(0,0)O(0,0) | 3(0)+4(0)=03(0)+4(0) = 0 |
| A(4,0)A(4,0) | 3(4)+4(0)=123(4)+4(0) = 12 |
| B(0,4)B(0,4) | 3(0)+4(4)=163(0)+4(4) = 16 |

Step 3: Conclusion.

The maximum value of ZZ is 16\boxed{16} at the point B(0,4)B(0, 4).
2Minimise Z=3x+4yZ = -3x + 4y subject to x+2y8x + 2y \leq 8, 3x+2y123x + 2y \leq 12, x0x \geq 0, y0y \geq 0.Show solution
Given: Objective function Z=3x+4yZ = -3x + 4y

Constraints: x+2y8, 3x+2y12, x0, y0x + 2y \leq 8,\ 3x + 2y \leq 12,\ x \geq 0,\ y \geq 0

Step 1: Find corner points of the feasible region.

- Line x+2y=8x + 2y = 8 meets axes at (8,0)(8, 0) and (0,4)(0, 4).
- Line 3x+2y=123x + 2y = 12 meets axes at (4,0)(4, 0) and (0,6)(0, 6).

Intersection of the two lines:
Subtract x+2y=8x + 2y = 8 from 3x+2y=123x + 2y = 12:
2x=4    x=22x = 4 \implies x = 2
2+2y=8    y=32 + 2y = 8 \implies y = 3
Intersection point: C(2,3)C(2, 3).

Corner points of the feasible region:
- O(0,0)O(0, 0)
- A(4,0)A(4, 0)
- C(2,3)C(2, 3)
- B(0,4)B(0, 4)

Step 2: Evaluate ZZ at each corner point.

| Corner Point | Z=3x+4yZ = -3x + 4y |
|---|---|
| O(0,0)O(0,0) | 00 |
| A(4,0)A(4,0) | 12-12 |
| C(2,3)C(2,3) | 6+12=6-6+12 = 6 |
| B(0,4)B(0,4) | 1616 |

Step 3: Conclusion.

The minimum value of ZZ is 12\boxed{-12} at the point A(4,0)A(4, 0).
3Maximise Z=5x+3yZ = 5x + 3y subject to 3x+5y153x + 5y \leq 15, 5x+2y105x + 2y \leq 10, x0x \geq 0, y0y \geq 0.Show solution
Given: Objective function Z=5x+3yZ = 5x + 3y

Constraints: 3x+5y15, 5x+2y10, x0, y03x + 5y \leq 15,\ 5x + 2y \leq 10,\ x \geq 0,\ y \geq 0

Step 1: Find corner points of the feasible region.

- Line 3x+5y=153x + 5y = 15 meets axes at (5,0)(5, 0) and (0,3)(0, 3).
- Line 5x+2y=105x + 2y = 10 meets axes at (2,0)(2, 0) and (0,5)(0, 5).

Intersection of the two lines:
From 5x+2y=105x + 2y = 10: y=105x2y = \dfrac{10 - 5x}{2}

Substitute into 3x+5y=153x + 5y = 15:
3x+5105x2=153x + 5 \cdot \frac{10-5x}{2} = 15
6x+5025x=306x + 50 - 25x = 30
19x=20    x=2019-19x = -20 \implies x = \frac{20}{19}
y=105(20/19)2=10100/192=(190100)/192=9038=4519y = \frac{10 - 5(20/19)}{2} = \frac{10 - 100/19}{2} = \frac{(190-100)/19}{2} = \frac{90}{38} = \frac{45}{19}

Intersection point: C ⁣(2019, 4519)C\!\left(\dfrac{20}{19},\ \dfrac{45}{19}\right)

Corner points:
- O(0,0)O(0,0)
- A(2,0)A(2,0)
- C ⁣(2019,4519)C\!\left(\dfrac{20}{19}, \dfrac{45}{19}\right)
- B(0,3)B(0,3)

Step 2: Evaluate ZZ at each corner point.

| Corner Point | Z=5x+3yZ = 5x + 3y |
|---|---|
| O(0,0)O(0,0) | 00 |
| A(2,0)A(2,0) | 1010 |
| C ⁣(2019,4519)C\!\left(\frac{20}{19},\frac{45}{19}\right) | 10019+13519=2351912.37\frac{100}{19}+\frac{135}{19} = \frac{235}{19} \approx 12.37 |
| B(0,3)B(0,3) | 99 |

Step 3: Conclusion.

The maximum value of ZZ is 23519\dfrac{235}{19} at (2019, 4519)\left(\dfrac{20}{19},\ \dfrac{45}{19}\right).

Zmax=2351912.37\boxed{Z_{\max} = \frac{235}{19} \approx 12.37}
4Minimise Z=3x+5yZ = 3x + 5y such that x+3y3x + 3y \geq 3, x+y2x + y \geq 2, x,y0x, y \geq 0.Show solution
Given: Objective function Z=3x+5yZ = 3x + 5y

Constraints: x+3y3, x+y2, x0, y0x + 3y \geq 3,\ x + y \geq 2,\ x \geq 0,\ y \geq 0

Step 1: Find corner points of the feasible region.

- Line x+3y=3x + 3y = 3 meets axes at A(3,0)A(3, 0) and B(0,1)B(0, 1).
- Line x+y=2x + y = 2 meets axes at C(2,0)C(2, 0) and D(0,2)D(0, 2).

Intersection of the two lines:
Subtract x+y=2x + y = 2 from x+3y=3x + 3y = 3:
2y=1    y=12,x=212=322y = 1 \implies y = \frac{1}{2},\quad x = 2 - \frac{1}{2} = \frac{3}{2}
Intersection point: E ⁣(32, 12)E\!\left(\dfrac{3}{2},\ \dfrac{1}{2}\right)

The feasible region is unbounded (above both lines in the first quadrant). Corner points:
- D(0,2)D(0, 2)
- E ⁣(32,12)E\!\left(\dfrac{3}{2}, \dfrac{1}{2}\right)
- A(3,0)A(3, 0)

Step 2: Evaluate ZZ at each corner point.

| Corner Point | Z=3x+5yZ = 3x + 5y |
|---|---|
| D(0,2)D(0,2) | 0+10=100 + 10 = 10 |
| E ⁣(32,12)E\!\left(\frac{3}{2},\frac{1}{2}\right) | 92+52=7\frac{9}{2}+\frac{5}{2} = 7 |
| A(3,0)A(3,0) | 9+0=99 + 0 = 9 |

Step 3: Check for unbounded minimum.

The smallest value is 77 at E ⁣(32,12)E\!\left(\dfrac{3}{2}, \dfrac{1}{2}\right). Since the feasible region is unbounded, we check whether 3x + 5y < 7 has any point in the feasible region. The half-plane 3x + 5y < 7 has no common point with the feasible region.

Conclusion: The minimum value of ZZ is 7\boxed{7} at (32, 12)\left(\dfrac{3}{2},\ \dfrac{1}{2}\right).
5Maximise Z=3x+2yZ = 3x + 2y subject to x+2y10x + 2y \leq 10, 3x+y153x + y \leq 15, x,y0x, y \geq 0.Show solution
Given: Objective function Z=3x+2yZ = 3x + 2y

Constraints: x+2y10, 3x+y15, x0, y0x + 2y \leq 10,\ 3x + y \leq 15,\ x \geq 0,\ y \geq 0

Step 1: Find corner points of the feasible region.

- Line x+2y=10x + 2y = 10 meets axes at (10,0)(10, 0) and (0,5)(0, 5).
- Line 3x+y=153x + y = 15 meets axes at (5,0)(5, 0) and (0,15)(0, 15).

Intersection of the two lines:
From 3x+y=153x + y = 15: y=153xy = 15 - 3x
Substitute into x+2y=10x + 2y = 10:
x+2(153x)=10    x+306x=10    5x=20    x=4x + 2(15 - 3x) = 10 \implies x + 30 - 6x = 10 \implies -5x = -20 \implies x = 4
y=1512=3y = 15 - 12 = 3
Intersection point: C(4,3)C(4, 3)

Corner points:
- O(0,0)O(0,0)
- A(5,0)A(5,0)
- C(4,3)C(4,3)
- B(0,5)B(0,5)

Step 2: Evaluate ZZ at each corner point.

| Corner Point | Z=3x+2yZ = 3x + 2y |
|---|---|
| O(0,0)O(0,0) | 00 |
| A(5,0)A(5,0) | 1515 |
| C(4,3)C(4,3) | 12+6=1812+6 = 18 |
| B(0,5)B(0,5) | 1010 |

Step 3: Conclusion.

The maximum value of ZZ is 18\boxed{18} at the point C(4,3)C(4, 3).
6Minimise Z=x+2yZ = x + 2y subject to 2x+y32x + y \geq 3, x+2y6x + 2y \geq 6, x,y0x, y \geq 0. Show that the minimum of ZZ occurs at more than two points.Show solution
Given: Objective function Z=x+2yZ = x + 2y

Constraints: 2x+y3, x+2y6, x0, y02x + y \geq 3,\ x + 2y \geq 6,\ x \geq 0,\ y \geq 0

Step 1: Find corner points of the feasible region.

- Line 2x+y=32x + y = 3 meets axes at A ⁣(32,0)A\!\left(\dfrac{3}{2}, 0\right) and B(0,3)B(0, 3).
- Line x+2y=6x + 2y = 6 meets axes at C(6,0)C(6, 0) and D(0,3)D(0, 3).

Intersection of the two lines:
From 2x+y=32x + y = 3: y=32xy = 3 - 2x
Substitute into x+2y=6x + 2y = 6:
x+2(32x)=6    x+64x=6    3x=0    x=0, y=3x + 2(3-2x) = 6 \implies x + 6 - 4x = 6 \implies -3x = 0 \implies x = 0,\ y = 3
Intersection point: D(0,3)D(0, 3)

Note: Both lines meet at the same point on the yy-axis, D(0,3)D(0,3). The feasible region is unbounded with corner points:
- C(6,0)C(6, 0)
- D(0,3)D(0, 3)

Step 2: Evaluate ZZ at each corner point.

| Corner Point | Z=x+2yZ = x + 2y |
|---|---|
| C(6,0)C(6,0) | 6+0=66 + 0 = 6 |
| D(0,3)D(0,3) | 0+6=60 + 6 = 6 |

Step 3: Check for unbounded minimum.

Both corner points give Z=6Z = 6. We check whether x + 2y < 6 has any point in the feasible region. The half-plane x + 2y < 6 has no common point with the feasible region.

Step 4: Conclusion — minimum at more than two points.

Since Z=6Z = 6 at both C(6,0)C(6,0) and D(0,3)D(0,3), by the property of linear programming, every point on the line segment CDCD also gives Z=6Z = 6.

The line segment joining C(6,0)C(6,0) and D(0,3)D(0,3) lies on x+2y=6x + 2y = 6, which is the same as the constraint boundary. Every point (x,y)(x, y) on this segment satisfies all constraints and gives Z=6Z = 6.

Hence, the minimum value of ZZ is 6\boxed{6}, and it occurs at infinitely many points (all points on the segment joining (6,0)(6,0) and (0,3)(0,3)), i.e., at more than two points.
7Minimise and Maximise Z=5x+10yZ = 5x + 10y subject to x+2y120x + 2y \leq 120, x+y60x + y \geq 60, x2y0x - 2y \geq 0, x,y0x, y \geq 0.Show solution
Given: Objective function Z=5x+10yZ = 5x + 10y

Constraints: x+2y120, x+y60, x2y0, x0, y0x + 2y \leq 120,\ x + y \geq 60,\ x - 2y \geq 0,\ x \geq 0,\ y \geq 0

Step 1: Find corner points of the feasible region.

Key lines:
1. x+2y=120x + 2y = 120
2. x+y=60x + y = 60
3. x=2yx = 2y (i.e., x2y=0x - 2y = 0)

Intersection of lines (2) and (3): x=2yx = 2y and x+y=60x + y = 60
2y+y=60    y=20, x=40    A(40,20)2y + y = 60 \implies y = 20,\ x = 40 \implies A(40, 20)

Intersection of lines (1) and (3): x=2yx = 2y and x+2y=120x + 2y = 120
2y+2y=120    y=30, x=60    B(60,30)2y + 2y = 120 \implies y = 30,\ x = 60 \implies B(60, 30)

Intersection of lines (1) and (2): x+2y=120x + 2y = 120 and x+y=60x + y = 60
y=60, x=0    C(0,60)y = 60,\ x = 0 \implies C(0, 60)
But check x2y0x - 2y \geq 0: 0 - 120 = -120 < 0. Not feasible.

Check line (2) on xx-axis: x+y=60x + y = 60 at y=0y=0 gives x=60x=60. Check x2y0x-2y \geq 0: 60060 \geq 0 ✓. Check x+2y120x+2y \leq 120: 6012060 \leq 120 ✓. Point D(60,0)D(60, 0).

Check line (1) on xx-axis: x+2y=120x + 2y = 120 at y=0y=0 gives x=120x=120. Check x2y0x-2y\geq 0: 1200120\geq 0 ✓. Check x+y60x+y\geq 60: 12060120\geq 60 ✓. Point E(120,0)E(120, 0).

Corner points of feasible region:
- A(40,20)A(40, 20)
- B(60,30)B(60, 30)
- E(120,0)E(120, 0)
- D(60,0)D(60, 0)

Step 2: Evaluate Z=5x+10yZ = 5x + 10y at each corner point.

| Corner Point | Z=5x+10yZ = 5x + 10y |
|---|---|
| A(40,20)A(40,20) | 200+200=400200 + 200 = 400 |
| B(60,30)B(60,30) | 300+300=600300 + 300 = 600 |
| E(120,0)E(120,0) | 600+0=600600 + 0 = 600 |
| D(60,0)D(60,0) | 300+0=300300 + 0 = 300 |

Step 3: Conclusion.

- Minimum value of ZZ is 300\boxed{300} at D(60,0)D(60, 0).
- Maximum value of ZZ is 600\boxed{600}, which occurs at both B(60,30)B(60, 30) and E(120,0)E(120, 0), and hence at every point on the line segment joining BB and EE.
8Minimise and Maximise Z=x+2yZ = x + 2y subject to x+2y100x + 2y \geq 100, 2xy02x - y \leq 0, 2x+y2002x + y \leq 200, x,y0x, y \geq 0.Show solution
Given: Objective function Z=x+2yZ = x + 2y

Constraints: x+2y100, 2xy0, 2x+y200, x0, y0x + 2y \geq 100,\ 2x - y \leq 0,\ 2x + y \leq 200,\ x \geq 0,\ y \geq 0

Step 1: Find corner points of the feasible region.

Key lines:
1. x+2y=100x + 2y = 100
2. 2xy=0    y=2x2x - y = 0 \implies y = 2x
3. 2x+y=2002x + y = 200

Intersection of (1) and (2): y=2xy = 2x into x+2y=100x + 2y = 100:
x+4x=100    x=20, y=40    A(20,40)x + 4x = 100 \implies x = 20,\ y = 40 \implies A(20, 40)

Intersection of (2) and (3): y=2xy = 2x into 2x+y=2002x + y = 200:
2x+2x=200    x=50, y=100    B(50,100)2x + 2x = 200 \implies x = 50,\ y = 100 \implies B(50, 100)

Intersection of (1) and xx-axis (y=0y=0): x=100x = 100. Check 2xy02x-y\leq 0: 2000200 \leq 0? No. Not feasible.

Intersection of (3) and yy-axis (x=0x=0): y=200y = 200. Check x+2y100x+2y\geq 100: 400100400\geq 100 ✓. Check 2xy02x-y\leq 0: 2000-200\leq 0 ✓. Point C(0,200)C(0, 200).

Intersection of (1) and yy-axis (x=0x=0): 2y=100    y=502y=100 \implies y=50. Check 2xy02x-y\leq 0: 500-50\leq 0 ✓. Check 2x+y2002x+y\leq 200: 5020050\leq 200 ✓. Point D(0,50)D(0, 50).

Corner points of feasible region:
- A(20,40)A(20, 40)
- B(50,100)B(50, 100)
- C(0,200)C(0, 200)
- D(0,50)D(0, 50)

Step 2: Evaluate Z=x+2yZ = x + 2y at each corner point.

| Corner Point | Z=x+2yZ = x + 2y |
|---|---|
| A(20,40)A(20,40) | 20+80=10020 + 80 = 100 |
| B(50,100)B(50,100) | 50+200=25050 + 200 = 250 |
| C(0,200)C(0,200) | 0+400=4000 + 400 = 400 |
| D(0,50)D(0,50) | 0+100=1000 + 100 = 100 |

Step 3: Conclusion.

- Minimum value of ZZ is 100\boxed{100}, occurring at both A(20,40)A(20, 40) and D(0,50)D(0, 50), and hence at every point on the segment ADAD.
- Maximum value of ZZ is 400\boxed{400} at C(0,200)C(0, 200).
9Maximise Z=x+2yZ = -x + 2y, subject to the constraints: x3x \geq 3, x+y5x + y \geq 5, x+2y6x + 2y \geq 6, y0y \geq 0.Show solution
Given: Objective function Z=x+2yZ = -x + 2y

Constraints: x3, x+y5, x+2y6, y0x \geq 3,\ x + y \geq 5,\ x + 2y \geq 6,\ y \geq 0

Step 1: Find corner points of the feasible region.

Key lines:
1. x=3x = 3
2. x+y=5x + y = 5
3. x+2y=6x + 2y = 6

Intersection of (1) and (3): x=3x=3 into x+2y=6x+2y=6: 3+2y=6    y=323+2y=6 \implies y=\dfrac{3}{2}. Point A ⁣(3, 32)A\!\left(3,\ \dfrac{3}{2}\right).

Intersection of (1) and (2): x=3x=3 into x+y=5x+y=5: y=2y=2. Point B(3,2)B(3, 2).

Check: At B(3,2)B(3,2): x+2y=3+4=76x+2y = 3+4=7\geq 6 ✓.
At A(3,3/2)A(3, 3/2): x+y=3+3/2=9/2 < 5. Not satisfying constraint (2).

Intersection of (2) and (3): Subtract: (x+2y)(x+y)=65    y=1, x=4(x+2y)-(x+y)=6-5 \implies y=1,\ x=4. Point C(4,1)C(4,1).
Check x3x\geq 3: 434\geq 3 ✓.

The feasible region is unbounded. Corner points:
- B(3,2)B(3, 2)
- C(4,1)C(4, 1)
- and the region extends to infinity.

Also check along x=3x=3 upward: as yy\to\infty, Z=3+2yZ=-3+2y\to\infty.

Step 2: Evaluate Z=x+2yZ = -x + 2y at corner points.

| Corner Point | Z=x+2yZ = -x + 2y |
|---|---|
| B(3,2)B(3,2) | 3+4=1-3+4 = 1 |
| C(4,1)C(4,1) | 4+2=2-4+2 = -2 |

Step 3: Conclusion.

Since the feasible region is unbounded and ZZ increases without bound as yy \to \infty (along x=3x=3), ZZ has no maximum value.

The feasible region is unbounded, so Z=x+2yZ = -x + 2y has no maximum (it can be made arbitrarily large).
10Maximise Z=x+yZ = x + y, subject to xy1x - y \leq -1, x+y0-x + y \leq 0, x,y0x, y \geq 0.Show solution
Given: Objective function Z=x+yZ = x + y

Constraints: xy1, x+y0, x0, y0x - y \leq -1,\ -x + y \leq 0,\ x \geq 0,\ y \geq 0

Step 1: Analyse the constraints.

- xy1    yx+1x - y \leq -1 \implies y \geq x + 1 ... (i)
- x+y0    yx-x + y \leq 0 \implies y \leq x ... (ii)

Step 2: Check for feasibility.

From (i): yx+1y \geq x + 1, which means y > x.

From (ii): yxy \leq x.

These two conditions y > x and yxy \leq x cannot be satisfied simultaneously for any real values of xx and yy.

Step 3: Conclusion.

There is no feasible region (the constraints are contradictory). Hence, the given linear programming problem has no feasible solution, and therefore Z=x+yZ = x + y has no maximum value.

Stuck on a step?

Ask Super Tutor AI to explain any solution on this page in a simpler way — free, 24x7.

Ask a Doubt Free

Frequently Asked Questions

What are the important topics in Linear Programming for Gujarat Board Class 12 Mathematics?
Linear Programming covers several key topics that are frequently asked in Gujarat Board Class 12 board exams. Focus on the core concepts listed on this page and practise related questions to build confidence.
How to score full marks in Linear Programming — Gujarat Board Class 12 Mathematics?
Understand the core concepts first, then work through the 45 practice questions available for this chapter. Revise formulas and definitions regularly, and use flashcards for quick recall before the exam.
Where can I get free NCERT Solutions for Linear Programming Class 12 Mathematics?
This page has free step-by-step NCERT Solutions for every exercise question in Linear Programming (Gujarat Board Class 12 Mathematics) — written the way examiners award marks: given, formula, working, answer.

Sources & Official References

Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.

For serious students

Get the full Linear Programming chapter — for free.

Quizzes, flashcards, AI doubt-solver and a step-by-step study plan for Gujarat Board Class 12 Mathematics.