Class 12 Mathematics LINEAR PROGRAMMING PROBLEMS Notes

Linear Programming Problems Notes | Nepal eNotes

Unit 18

Computational Method

Class 12 Mathematics

Linear Programming Problems

Class 12 Mathematics – Linear Programming Problems Notes PDF

On mobile, swipe inside the PDF to read all pages and pinch to zoom.

Contents / Quick Navigation

NEB / CDC Focus

The Grade 12 computational-method outcome is to solve linear programming problems of two variables by the simplex method. The formulation, standard form, slack variables, feasible/basic solutions and tableau steps below are included because they are necessary to execute the simplex method correctly.

1. Linear Programming Problem (LPP)

Linear Programming

Linear programming optimizes a linear objective function subject to linear equality/inequality constraints and non-negativity restrictions.

A typical problem asks to maximize profit or minimize cost, time, material use, or another linear quantity.

Maximize/Minimize Z=c₁x₁+c₂x₂ subject to linear constraints and x₁,x₂≥0.
Structure of a Linear Programming Problem Decision variablesx₁, x₂ ObjectiveMax / Min Z Constraintsresources / limits
Figure 1: Every LPP has variables, an objective and constraints.

2. Formulating a Linear Programming Problem

  1. Define the decision variables.
  2. Translate the goal into a linear objective function.
  3. Translate resource/requirement statements into linear constraints.
  4. Add non-negativity restrictions.
Model Example

A workshop makes products A and B. Each A gives profit 3 units and each B gives profit 5 units. Resource limits are:

x+2y≤8,   3x+2y≤12,   x,y≥0.

Objective:

Maximize Z=3x+5y.

Unit Check

Every coefficient in a resource constraint should represent resource used per unit of the corresponding decision variable. Mixing units is a common modeling error.

3. Key Terms

TermMeaning
Feasible solutionSatisfies every constraint including non-negativity.
Feasible regionSet of all feasible solutions.
Optimal solutionA feasible solution giving the best objective value.
Basic solutionA solution associated with selecting basic variables.
Basic feasible solutionA basic solution that is also feasible.
Slack variableNon-negative variable added to a ≤ constraint to convert it to equality.
Feasible Region Concept feasible region
Figure 2: Constraints carve out the set of feasible solutions.

4. Standard Form and Slack Variables

For simplex calculations, inequalities are converted to equations. For a maximization problem with ≤ constraints:

a₁x+b₁y≤c₁ ⇒ a₁x+b₁y+s₁=c₁ a₂x+b₂y≤c₂ ⇒ a₂x+b₂y+s₂=c₂ s₁,s₂≥0.

The slack variables measure unused resources.

Example

x+2y≤8 becomes x+2y+s₁=8.

3x+2y≤12 becomes 3x+2y+s₂=12.

Inequality → Equality for Simplex x+2y≤8unused capacity hidden x+2y+s₁=8s₁ = unused capacity
Figure 3: Slack variables convert resource inequalities into equations.

5. Basic Idea of the Simplex Method

The simplex method starts from a basic feasible solution and systematically changes the basis to improve the objective value until no further improvement is possible under the chosen optimality convention.

  1. Convert the LPP to standard form.
  2. Construct the initial simplex tableau.
  3. Identify the entering variable (pivot column).
  4. Use the minimum positive ratio test to identify the leaving variable (pivot row).
  5. Pivot so the pivot element becomes 1 and other entries in its column become 0.
  6. Repeat until the optimality condition is met.
  7. Read the basic variables and objective value.
Simplex Iteration Cycle Choose enteringvariable Ratio testleaving variable Pivot & updatetableau
Figure 4: Repeat pivot operations until the objective row signals optimality.

6. Simplex Tableau

One common classroom tableau for a maximization problem lists the basic variable, coefficients of decision/slack variables, right-hand-side values, and the objective-row information.

Basisxys₁s₂RHS
s₁12108
s₂320112
Z row / reduced-cost rowwritten according to the sign convention used by your textbook
Tableau Sign Convention

Different textbooks write the objective row as Z−3x−5y=0, Cj−Zj, or Zj−Cj. The entering-variable sign rule changes with the convention. Use one convention consistently throughout a problem.

7. Pivot Column, Pivot Row and Row Operations

7.1 Entering Variable

For a maximization tableau, choose the variable that most improves the objective according to the tableau’s reduced-cost convention.

7.2 Leaving Variable

For positive entries in the pivot column, compute

Ratio = RHS / positive pivot-column entry.

The smallest non-negative/positive admissible ratio selects the pivot row.

7.3 Pivot Operation

Scale the pivot row to make the pivot element 1, then eliminate the other entries in the pivot column using elementary row operations.

Pivot Selection Pivot columnentering variableobjective improvement Pivot rowleaving variableminimum positive ratio intersection = pivot
Figure 5: The pivot lies at the intersection of the entering-variable column and leaving-variable row.

8. Worked Simplex Example

Problem

Maximize Z=3x+5y

subject to

x+2y≤8,
3x+2y≤12,
x,y≥0.

Add slack variables:

x+2y+s₁=8,
3x+2y+s₂=12.

Initial basic solution is x=y=0, s₁=8, s₂=12, giving Z=0.

Using the usual maximization logic, y is a natural first entering variable because its objective coefficient 5 exceeds 3. Ratio test:

8/2=4,   12/2=6.

So the first row leaves and the pivot element is 2. After pivoting, continue until no improving reduced cost remains. The optimal corner for this model is

x=2,   y=3,   Z=21.

Check constraints:

2+2(3)=8,   3(2)+2(3)=12.

Geometric Check of the Worked LPP (2,3), Z=21
Figure 6: The simplex optimum agrees with the relevant vertex of the feasible region.

9. Special Situations to Recognize

SituationSignal / interpretation
Unbounded solutionObjective can improve without a finite bound; a valid leaving row may be unavailable for an improving entering column.
Multiple optimumAt optimum, a non-basic variable can have zero reduced cost under the relevant convention.
DegeneracyA basic variable may be zero; ratio tests can tie.
InfeasibilityNo point satisfies all constraints. More advanced simplex variants handle problems lacking an obvious initial basic feasible solution.

At Grade 12 level, focus first on correctly solving the standard two-variable cases presented in the prescribed exercises.

10. Real-Life Applications

  • Production planning under labor and material limits.
  • Allocation of land, feed, transport capacity or machine time.
  • Profit maximization and cost minimization.
  • Blending and resource-allocation problems.
Modeling Principle

The simplex method solves the mathematical model. A good solution still depends on defining meaningful decision variables, objective coefficients and realistic linear constraints.

11. Common Mistakes

Wrong objective direction

Do not maximize a quantity the problem asks you to minimize, or vice versa.

Missing non-negativity

Write x,y≥0 when quantities cannot be negative.

Slack sign

For a ≤ constraint, add a non-negative slack variable.

Ratio using negative entry

The ordinary minimum-ratio test uses admissible positive pivot-column entries.

Row operation only partly applied

Update the entire row, including RHS and all variable columns.

Mixing tableau conventions

Keep one reduced-cost sign convention from start to finish.

12. Formula / Procedure Sheet

Objective: Max/Min Z=c₁x₁+c₂x₂ ≤ constraint → add slack variable Pivot row: minimum admissible RHS / positive pivot-column coefficient New pivot row = old pivot row / pivot element Other rows: eliminate pivot-column entries by row operations

13. Important Exam Questions

Short

  1. Define LPP, objective function, constraint and feasible solution.
  2. Define slack variable and basic feasible solution.
  3. Explain pivot column, pivot row and pivot element.
  4. State the role of the minimum-ratio test.

Long / Numerical

  1. Formulate a two-variable real-life LPP.
  2. Convert an LPP to standard form using slack variables.
  3. Construct the initial simplex tableau.
  4. Solve a maximization LPP by simplex method.
  5. Interpret the final values of decision and slack variables.

14. One-Minute Revision

  • LPP optimizes a linear objective under linear constraints.
  • Decision variables must be clearly defined.
  • Include non-negativity restrictions.
  • For ≤ constraints, add slack variables.
  • The initial slack-variable basis often gives a basic feasible solution.
  • Choose an entering variable using the objective-row convention.
  • Choose the leaving row by the minimum positive ratio test.
  • Pivot to create a unit column for the entering basic variable.
  • Repeat until the tableau satisfies optimality conditions.
  • Always verify the final solution satisfies all original constraints.

15. Diagram Practice

  • LPP structure diagram.
  • Feasible region sketch.
  • Slack-variable conversion diagram.
  • Simplex iteration cycle.
  • Pivot-column and pivot-row diagram.
  • Geometric check of an optimum.

Also Visit

Source handling: The original Nepal eNotes PDF remains embedded above. The typed section follows the verified NEB/CDC syllabus and is designed as a searchable, responsive study companion. Where the PDF viewer does not expose handwritten page text, the typed section is a syllabus-aligned reconstruction and is not claimed to be a word-for-word transcription.

Original Nepal eNotes page: Linear Programming Problems Notes.

Discussion

Share a helpful question, idea, or explanation with other students.

Leave a Comment

Write a clear question, answer, or helpful explanation.
Your email will not be published.

Download Our Offline App

Study class-wise notes even when internet is not available. Get the app from Play Store.

Nepal eNotes offline app preview
Get it on Google Play