Chapter 17 System of Linear Programming Solutions NEB Notes Class 12

Chapter 17: Linear Programming | NEB Mathematics Notes Class 12 (2080 Syllabus)
Maximize Z = 3x + 5y Subject to: 2x + y ≤ 8 x ≄ 0, y ≄ 0 šŸ“ˆ → Feasible Region

šŸ“Š Chapter 17: Linear Programming | NEB Mathematics Notes Class 12

Based on Latest Syllabus 2080 | Graphical Method, Simplex Method, Duality
āœ… Updated according to latest syllabus of 2080 | Complete notes with 15 solved problems
šŸ“Š Linear Programming — This chapter covers the mathematical method of getting the optimal solution (maximum profit or minimum cost) under given constraints. Topics include graphical method, feasible region, corner point method, simplex method, and duality. The notes have been updated according to the latest syllabus of 2080.
šŸ“š Exercise
šŸ“– Introduction to Linear Programming
Linear Programming (LP) is a mathematical method for obtaining the optimal solution (maximum profit or minimum cost) under certain constraints when resources are limited.

Components of LPP:
  • Objective Function: \(Z = ax + by\) (to be maximized or minimized)
  • Constraints: Linear inequalities like \(a_1x + b_1y \leq c_1\)
  • Non-negativity Restrictions: \(x \geq 0, y \geq 0\)
  • Decision Variables: x, y
  • Feasible Region: Set of all points satisfying all constraints
  • Optimal Solution: Point in feasible region that optimizes objective function
šŸ“ Mathematical Model of LPP
Standard Form:
Optimize \(Z = a_1x_1 + a_2x_2\)
Subject to:
\(b_{11}x_1 + b_{12}x_2 \leq c_1\)
\(b_{21}x_1 + b_{22}x_2 \leq c_2\)
\(x_1, x_2 \geq 0\) (Non-negativity constraints)
šŸ“ˆ Graphical Method (For 2 Variables)
Step 1: Convert inequalities into equations
Step 2: Plot lines on graph
Step 3: Identify feasible region (common area)
Step 4: Find corner points
Step 5: Evaluate objective function at each corner
Step 6: Select optimal (max/min) value
šŸ”„ Simplex Method
The Simplex Method is an iterative method used for solving LPP with two or more decision variables. It starts with a basic feasible solution and improves it in each iteration until optimality is reached.

Key Terms: Slack variables, basic variables, non-basic variables, pivot element, optimality condition.
āš–ļø Duality in Linear Programming
Every LPP has a corresponding dual problem. The original problem is the primal and the associated problem is the dual.

Principle of Duality: If either the primal or dual has a finite optimal solution, then the other also has a finite optimal solution, and:
\[ \text{Max Z (Primal)} = \text{Min W (Dual)} \]
Rules for forming Dual:
  • Maximization primal → Minimization dual
  • Constraints of primal become variables of dual
šŸ“ Solved Problems (15 Important Questions)
Q1 Maximize \(Z = 3x + 5y\) subject to \(x + y \leq 4\), \(x \geq 0\), \(y \geq 0\).
Corner points: (0,0) → Z=0; (4,0) → Z=12; (0,4) → Z=20
āœ… Maximum Z = 20 at (0,4)
Q2 Maximize \(Z = 4x + 3y\) subject to \(x + 2y \leq 10\), \(2x + y \leq 8\), \(x, y \geq 0\).
Corner points: (0,0) → 0; (0,5) → 15; (4,0) → 16; Intersection: solving \(x+2y=10\), \(2x+y=8\) gives \(x=2, y=4\) → Z = 8+12=20
āœ… Maximum Z = 20 at (2,4)
Q3 Minimize \(Z = 2x + 3y\) subject to \(x + y \geq 4\), \(2x + y \geq 5\), \(x, y \geq 0\).
Corner points: Intersection of \(x+y=4\) and \(2x+y=5\) gives \(x=1, y=3\) → Z=2+9=11
Also (0,5) → Z=15; (4,0) → Z=8
Feasible region unbounded, but (4,0) gives Z=8 (check constraints: 4≄4, 8≄5 OK)
āœ… Minimum Z = 8 at (4,0)
Q4 A factory produces two products A and B. Profit from A is Rs 40, from B is Rs 30. Each product requires machine time: A requires 2 hours, B requires 1 hour. Total machine hours available = 100. Market demand: at most 60 units of A. Find optimal production.
Let x = number of A, y = number of B
Maximize Z = 40x + 30y
Constraints: \(2x + y \leq 100\), \(x \leq 60\), \(x, y \geq 0\)
Corner points: (0,0)→0; (60,0)→2400; (0,100)→3000; Intersection: \(2(60)+y=100\) ⇒ y=-20 (not feasible). Also check (50,0) is on line? Actually intersection of 2x+y=100 and x=60 gives x=60, y=-20 invalid. So test (0,100) gives 3000, but check x≤60? 0≤60 OK. Also check where 2x+y=100 meets x=60 gives y=-20 not valid. So feasible region includes (0,100) because 2(0)+100=100 ≤100. Also need to check (50,0) not needed. Actually (0,100) gives Z=3000.
āœ… Produce 0 units of A, 100 units of B → Profit = Rs 3000
Q5 Solve graphically: Maximize Z = 2x + 3y subject to \(x + y \leq 6\), \(x \leq 4\), \(y \leq 4\), \(x, y \geq 0\).
Corners: (0,0)→0; (4,0)→8; (0,4)→12; (4,2)→8+6=14; (2,4)→4+12=16
Intersection of x=4 and x+y=6 ⇒ y=2; intersection of y=4 and x+y=6 ⇒ x=2
āœ… Maximum Z = 16 at (2,4)
Q6 Minimize Z = 5x + 4y subject to \(x + y \geq 6\), \(2x + y \geq 8\), \(x \geq 0\), \(y \geq 0\).
Intersection of x+y=6 and 2x+y=8 ⇒ x=2, y=4 → Z=10+16=26
(0,8)→Z=32; (6,0)→Z=30
Minimum = 26 at (2,4)
āœ… Minimum Z = 26 at (2,4)
Q7 Maximize Z = 3x + 2y subject to \(x + 2y \leq 10\), \(3x + y \leq 15\), \(x, y \geq 0\).
Intersection: x+2y=10 and 3x+y=15 → solve: multiply second by 2: 6x+2y=30, subtract first: 5x=20 ⇒ x=4, y=3 → Z=12+6=18
(0,5)→Z=10; (5,0)→Z=15
āœ… Maximum Z = 18 at (4,3)
Q8 Find dual of: Maximize Z = 2x + 3y subject to \(x + y \leq 4\), \(2x + y \leq 5\), \(x, y \geq 0\).
Primal: Max Z = 2x₁ + 3xā‚‚
Constraints: x₁ + xā‚‚ ≤ 4, 2x₁ + xā‚‚ ≤ 5, x₁, xā‚‚ ≄ 0
Dual: Minimize W = 4y₁ + 5yā‚‚
Constraints: y₁ + 2yā‚‚ ≄ 2, y₁ + yā‚‚ ≄ 3, y₁, yā‚‚ ≄ 0
āœ… Min W = 4y₁ + 5yā‚‚ subject to y₁+2y₂≄2, y₁+y₂≄3, y₁,y₂≄0
Q9 A company produces two products. Each unit of product P requires 2 hours of labor and 3 kg of material; each unit of Q requires 3 hours of labor and 2 kg of material. Available: 60 hours labor, 50 kg material. Profit: P = Rs 50, Q = Rs 40. Find optimal production.
Maximize Z = 50x + 40y
Constraints: 2x + 3y ≤ 60 (labor), 3x + 2y ≤ 50 (material), x, y ≄ 0
Intersection: 2x+3y=60 and 3x+2y=50 → multiply first by 2: 4x+6y=120, second by 3: 9x+6y=150 → subtract: 5x=30 ⇒ x=6, y=16 → Z=300+640=940
(0,20)→Z=800; (16.67,0)→Zā‰ˆ833
āœ… Optimal: x=6, y=16, Profit = Rs 940
Q10 Maximize Z = 5x + 7y subject to \(x + y \leq 8\), \(x \leq 5\), \(y \leq 6\), \(x, y \geq 0\).
Corners: (0,0)→0; (5,0)→25; (0,6)→42; (5,3)→25+21=46; (2,6)→10+42=52
Intersection of x=5 and x+y=8 ⇒ y=3; intersection of y=6 and x+y=8 ⇒ x=2
āœ… Maximum Z = 52 at (2,6)
Q11 Minimize Z = x + 2y subject to \(2x + y \geq 8\), \(x + 2y \geq 10\), \(x, y \geq 0\).
Intersection: 2x+y=8 and x+2y=10 → multiply first by 2: 4x+2y=16, subtract: 3x=6 ⇒ x=2, y=4 → Z=2+8=10
(0,8)→Z=16; (10,0)→Z=10
Minimum Z=10 at (2,4) and (10,0)
āœ… Minimum Z = 10 at multiple points
Q12 A diet requires at least 8 units of vitamin A and 10 units of vitamin B. Food P has 2 units of A and 1 unit of B per gram, costs Rs 3. Food Q has 1 unit of A and 2 units of B per gram, costs Rs 4. Find minimum cost.
Minimize Z = 3x + 4y
Constraints: 2x + y ≄ 8 (vitamin A), x + 2y ≄ 10 (vitamin B), x, y ≄ 0
Intersection: 2x+y=8, x+2y=10 → solve: multiply first by 2: 4x+2y=16, subtract second: 3x=6 ⇒ x=2, y=4 → Z=6+16=22
(0,8)→Z=32; (10,0)→Z=30
Minimum Z=22 at (2,4)
āœ… Minimum cost = Rs 22 with 2g of P and 4g of Q
Q13 Write the dual of: Minimize Z = 5x + 3y subject to \(2x + y \geq 6\), \(x + 2y \geq 8\), \(x, y \geq 0\).
Primal: Min Z = 5x₁ + 3xā‚‚
Constraints: 2x₁ + xā‚‚ ≄ 6, x₁ + 2xā‚‚ ≄ 8, x₁, xā‚‚ ≄ 0
Dual: Maximize W = 6y₁ + 8yā‚‚
Constraints: 2y₁ + yā‚‚ ≤ 5, y₁ + 2yā‚‚ ≤ 3, y₁, yā‚‚ ≄ 0
āœ… Max W = 6y₁ + 8yā‚‚ subject to 2y₁+y₂≤5, y₁+2y₂≤3, y₁,y₂≄0
Q14 Maximize Z = 4x + 6y subject to \(x + y \leq 5\), \(2x + 3y \leq 12\), \(x \geq 0\), \(y \geq 0\).
Intersection: x+y=5 and 2x+3y=12 → multiply first by 2: 2x+2y=10, subtract: y=2, x=3 → Z=12+12=24
(0,5)→Z=30; (5,0)→Z=20; (0,4)→Z=24; (6,0)→Z=24
āœ… Maximum Z = 30 at (0,5)
Q15 A manufacturer produces two types of products. Type A requires 2 hours on machine M1 and 1 hour on M2. Type B requires 1 hour on M1 and 2 hours on M2. Available: M1 = 100 hours, M2 = 80 hours. Profit: A = Rs 40, B = Rs 50. Find maximum profit.
Maximize Z = 40x + 50y
Constraints: 2x + y ≤ 100, x + 2y ≤ 80, x, y ≄ 0
Intersection: 2x+y=100, x+2y=80 → multiply second by 2: 2x+4y=160, subtract first: 3y=60 ⇒ y=20, x=40 → Z=1600+1000=2600
(0,40)→Z=2000; (50,0)→Z=2000
āœ… Maximum Profit = Rs 2600 at x=40, y=20
āœļø Practice Questions
P1 Maximize Z = 2x + 4y subject to x + y ≤ 5, 2x + y ≤ 8, x, y ≄ 0
āœ… Answer: Z = 16 at (0,4)
P2 Minimize Z = 4x + 5y subject to x + 2y ≄ 10, 2x + y ≄ 10, x, y ≄ 0
āœ… Answer: Z = 30 at (5,0) or (0,5)
P3 Find the feasible region for: x + y ≤ 6, x ≤ 4, y ≤ 5, x, y ≄ 0
āœ… Answer: Polygon with vertices (0,0), (4,0), (4,2), (1,5), (0,5)
P4 Write the dual of: Maximize Z = 3x + 4y subject to 2x + y ≤ 10, x + 2y ≤ 8, x, y ≄ 0
āœ… Answer: Minimize W = 10u + 8v subject to 2u+v≄3, u+2v≄4, u,v≄0
P5 A company produces x units of product P and y units of Q with profit 20x+30y. Constraints: x+y≤50, x≤30, y≤25. Find optimal.
āœ… Answer: x=25, y=25, Z=1250
šŸ“‹ Multiple Choice Questions (HSEB Pattern)
MCQ 1 In Linear Programming, the objective function is:
A) A linear expression to be optimized    B) A constraint    C) A non-linear equation    D) None
āœ… Answer: A) A linear expression to be optimized
MCQ 2 The feasible region in a LPP is always:
A) Concave    B) Convex    C) Circular    D) Linear
āœ… Answer: B) Convex
MCQ 3 The optimal solution of an LPP lies at:
A) Interior of feasible region    B) Boundary    C) Corner point    D) Any point
āœ… Answer: C) Corner point
MCQ 4 The dual of a maximization problem is a:
A) Maximization problem    B) Minimization problem    C) Equality problem    D) None
āœ… Answer: B) Minimization problem
MCQ 5 A constraint in LPP is written as:
A) Equation with =    B) ≤ or ≄    C) Only ≤    D) Only ≄
āœ… Answer: B) ≤ or ≄
MCQ 6 The variables that are ≄ 0 in LPP are called:
A) Slack variables    B) Decision variables    C) Surplus variables    D) None
āœ… Answer: B) Decision variables
MCQ 7 If the feasible region is empty, the LPP has:
A) Unique solution    B) Infinite solutions    C) No solution    D) None
āœ… Answer: C) No solution
MCQ 8 In the simplex method, the objective function coefficient of the entering variable should be:
A) Most negative (for maximization)    B) Most positive (for maximization)    C) Zero    D) None
āœ… Answer: A) Most negative (for maximization)
āš ļø Please do not repost this PDF on any website or social platform without permission.
This PDF provides the solutions of every question from the 1st exercise of class 12 linear programming chapter. If you want the notes of other chapters then you can search them in our site.
šŸ“š More Read
šŸ“Œ Key Linear Programming Summary:

• Objective Function: \(Z = ax + by\) (Maximize or Minimize)
• Corner Point Theorem: Optimal solution occurs at a corner point of feasible region
• Duality: Max Z = Min W (subject to proper conversion)
• Feasible Region: Convex polygon satisfying all constraints
• Simplex Method: Iterative method for higher-dimensional LPPs
šŸ“š Chapter 17: Linear Programming | NEB Mathematics Notes Class 12 (2080 Syllabus)
Complete notes with 15 solved problems, practice questions, and MCQs for HSEB preparation.

Leave a Comment