Subject: Class 12 Mathematics Chapter: Linear Programming Introduction Topic: 13.1 Linear Programming Introduction – Understand linear programming concepts
Linear Programming is a mathematical technique used to find the best possible outcome, such as maximum profit or minimum cost, under a given set of restrictions called constraints. It was developed by George Dantzig in 1947 and has since become one of the most widely used tools in operations research, economics, business management, and engineering. The word "linear" indicates that all the mathematical relations used in the problem are linear, meaning they can be represented by straight lines or planes, while "programming" refers to planning the best course of action from a number of available alternatives.
The basic idea behind linear programming is simple. In everyday life we constantly make decisions under limitations such as limited money, limited raw material, limited time, or limited manpower. Linear programming puts this decision making on a mathematical footing. It takes a real world problem, translates it into mathematical equations and inequalities, and then uses systematic methods to find the single best solution that satisfies all restrictions. This best solution is called the optimal solution, and it is what managers and planners actually need to implement in practice.
In the Class 12 syllabus, linear programming is studied under the topic of linear inequalities and their applications. The chapter teaches students how to formulate a problem in mathematical language, how to represent the constraints graphically, how to identify the region of feasible solutions, and finally how to find the optimum value of the objective function. Mastery of this chapter requires a solid understanding of straight lines, inequalities, and coordinate geometry, all of which are used constantly in the graphical method of solution.
Linear programming arose out of the need to allocate scarce resources in the most efficient way possible. During World War II, mathematicians and economists were challenged with problems such as how to schedule military operations, allocate food and fuel, and plan transportation with the least possible waste. The development of the simplex method by George Dantzig gave a powerful algorithm that could solve these large problems systematically, and the theory was later refined by researchers such as Leonid Kantorovich and John von Neumann.
The need for linear programming arises because resources are almost always limited. A factory has a limited number of machines, a fixed amount of raw material, a limited number of workers, and a limited time to produce goods. At the same time, the demand for products and the prices at which they can be sold are fixed by the market. The manager therefore faces a simple question: how much of each product should be produced so that the profit is maximum while all the restrictions are satisfied? Linear programming answers exactly this question.
Beyond profit maximization, linear programming is used for cost minimization, diet planning, transportation of goods, assignment of jobs to machines, blending of petrol and oils, and even in the design of flight schedules. The common thread in all these applications is that there is a well defined objective, a set of linear constraints, and a requirement to find the best possible decision. This is why the chapter begins with the basic terminology and gradually builds up to the graphical solution of two variable problems, which is the core of the Class 12 syllabus.
A linear programming problem, usually abbreviated as LPP, is a problem that seeks to maximize or minimize a linear function subject to a set of linear inequalities or equations. Every LPP has three essential parts: the decision variables, the objective function, and the constraints.
Every solution that satisfies all the constraints, including the non-negativity restrictions, is called a feasible solution. The set of all feasible solutions is called the feasible region. A solution that also gives the optimum value of the objective function is called an optimal solution. A very important theorem, which is the basis of the graphical method, states that if a linear programming problem has an optimal solution, then it occurs at a corner point of the feasible region.
Solved Example 1: A firm produces two products A and B. Each unit of A requires 2 hours of machine time and each unit of B requires 3 hours. The machine can work for at most 120 hours per week. Write the constraints and the objective function if the profit on A is Rs 40 per unit and on B is Rs 50 per unit.
Solution: - Step 1: Let x = number of units of product A, y = number of units of product B. - Step 2: Machine time constraint: 2x + 3y ≤ 120. - Step 3: Non-negativity: x ≥ 0, y ≥ 0. - Step 4: Objective function: Maximize Z = 40x + 50y.
Solved Example 2: A diet requires at least 60 grams of protein and 40 grams of fat per day. Each unit of food P contains 6 grams of protein and 2 grams of fat, while each unit of food Q contains 4 grams of protein and 5 grams of fat. Formulate the LPP to minimize the cost if food P costs Rs 15 per unit and food Q costs Rs 20 per unit.
Solution: - Step 1: Let x = units of food P, y = units of food Q. - Step 2: Protein constraint: 6x + 4y ≥ 60. - Step 3: Fat constraint: 2x + 5y ≥ 40. - Step 4: Non-negativity: x ≥ 0, y ≥ 0. - Step 5: Objective function: Minimize Z = 15x + 20y.
Formulation is the first and most important step in solving a linear programming problem. It means translating a verbal description of a real situation into mathematical form. A well formulated problem consists of three components: the decision variables clearly defined, the objective function written as a linear expression, and all constraints written as linear inequalities or equations. Care must be taken to convert phrases like "at least", "at most", "not more than", and "not less than" correctly into the symbols ≥, ≤, =, or their combinations.
The following steps should be followed while formulating any linear programming problem.
Solved Example 3: A workshop makes two types of products, type X and type Y. Each product of type X requires 3 kg of material A and 2 hours of labour. Each product of type Y requires 4 kg of material A and 1 hour of labour. The workshop has 180 kg of material A and 60 hours of labour available per week. The profit is Rs 100 per product of type X and Rs 80 per product of type Y. Formulate the LPP to maximize profit.
Solution: - Step 1: Let x = number of type X products, y = number of type Y products. - Step 2: Material constraint: 3x + 4y ≤ 180. - Step 3: Labour constraint: 2x + y ≤ 60. - Step 4: Non-negativity: x ≥ 0, y ≥ 0. - Step 5: Objective function: Maximize Z = 100x + 80y.
Solved Example 4: A company has two machines M1 and M2. Product P needs 2 hours on M1 and 4 hours on M2, while product Q needs 6 hours on M1 and 2 hours on M2. The machines are available for 24 hours and 16 hours per day respectively. Write the LPP if the company wants to maximize profit, with profits of Rs 30 and Rs 40 on P and Q respectively.
Solution: - Step 1: Let x = units of P, y = units of Q. - Step 2: Machine M1 constraint: 2x + 6y ≤ 24, that is x + 3y ≤ 12. - Step 3: Machine M2 constraint: 4x + 2y ≤ 16, that is 2x + y ≤ 8. - Step 4: Non-negativity: x ≥ 0, y ≥ 0. - Step 5: Objective function: Maximize Z = 30x + 40y.
The key skill in formulation is reading the problem carefully and identifying which numbers multiply the variables to form the constraints and the objective function. Students should practice converting everyday language into inequalities, because this is the step where most mistakes occur in the examination.
| Term | Meaning | Example |
|---|---|---|
| Decision variables | Unknown quantities to be determined | x = units of product A, y = units of product B |
| Objective function | Linear function to be maximized or minimized | Z = 40x + 50y |
| Constraints | Linear inequalities representing limitations | 2x + 3y ≤ 120 |
| Non-negativity restrictions | Variables cannot be negative | x ≥ 0, y ≥ 0 |
| Feasible solution | Satisfies all constraints and non-negativity | x = 10, y = 20 in a valid region |
| Feasible region | Set of all feasible solutions | Shaded polygon in the graph |
| Optimal solution | Feasible solution giving best Z value | Corner point giving maximum profit |
| Phrase in the problem | Mathematical symbol | Example |
|---|---|---|
| At least, not less than, minimum | ≥ | x ≥ 20 |
| At most, not more than, maximum | ≤ | y ≤ 15 |
| Exactly equal to | = | x + y = 40 |
| At least 25 units in total | x + y ≥ 25 | x + y ≥ 25 |
| Not more than 100 hours | 2x + 3y ≤ 100 | 2x + 3y ≤ 100 |
flowchart TD
A[Linear Programming Introduction] --> B[Decision Variables]
A --> C[Objective Function]
A --> D[Constraints]
A --> E[Feasible Region]
A --> F[Optimal Solution]
B --> G[x and y non-negative]
C --> H[Maximize or Minimize Z]
D --> I[Linear Inequalities]
D --> J[x >= 0, y >= 0]
E --> K[Set of feasible solutions]
F --> L[Occurs at corner point]
H --> M[Graphical Method]
I --> M
M --> N[Final Answer]
Linear programming is the mathematical language of decision making under constraints. The introduction to the chapter establishes the three building blocks of every linear programming problem, namely the decision variables, the objective function, and the constraints, and shows how a real world situation is translated into mathematical form. The skill of formulation is the foundation on which the entire chapter rests, because even a perfectly solved graph cannot help if the problem itself has been written incorrectly. Once a student masters the art of converting word problems into linear expressions and inequalities, the subsequent graphical methods become a straightforward application of coordinate geometry, and the optimal solution is found quickly and confidently.