Linear Programming-Definition, Methods & Examples | Class 12 Math Notes Study Material Download Free PDF

Linear Programming is widely used in Mathematics and some other fields such as economics, business, telecommunication, and manufacturing fields. In this article, let us discuss the definition of linear programming, its components, and different methods to solve linear programming problems.

What is Linear Programming?

Linear programming (LP)  or Linear Optimisation may be defined as the problem of maximizing or minimizing a linear function that is subjected to linear constraints. The constraints may be equalities or inequalities. The optimisation problems involve the calculation of profit and loss.  Linear programming problems are an important class of optimisation problems, that helps to find the feasible region and optimise the solution in order to have the highest or lowest value of the function.

In other words, linear programming is considered as an optimization method to maximize or minimize the objective function of the given mathematical model with the set of some requirements which are represented in the linear relationship. The main aim of the linear programming problem is to find the optimal solution.

Linear programming is the method of considering different inequalities relevant to a situation and calculating the best value that is required to be obtained in those conditions. Some of the assumptions taken while working with linear programming are:

  • The number of constraints should be expressed in the quantitative terms
  • The relationship between the constraints and the objective function should be linear
  • The linear function (i.e., objective function) is to be optimised

Components of Linear Programming

The basic components of the LP are as follows:

  • Decision Variables
  • Constraints
  • Data
  • Objective Functions

Characteristics of Linear Programming

The following are the five characteristics of the linear programming problem:

Constraints – The limitations should be expressed in the mathematical form, regarding the resource.

Objective Function – In a problem, the objective function should be specified in a quantitative way.

Linearity – The relationship between two or more variables in the function must be linear. It means that the degree of the variable is one.

Finiteness –  There should be finite and infinite input and output numbers. In case, if the function has infinite factors, the optimal solution is not feasible. 

Non-negativity – The variable value should be positive or zero. It should not be a negative value.

Decision Variables – The decision variable will decide the output. It gives the ultimate solution of the problem. For any problem, the first step is to identify the decision variables.

Linear Programming Problems

The Linear Programming Problems (LPP) is a problem that is concerned with finding the optimal value of the given linear function. The optimal value can be either maximum value or minimum value. Here, the given linear function is considered an objective function. The objective function can contain several variables, which are subjected to the conditions and it has to satisfy the set of linear inequalities called linear constraints. The linear programming problems can be used to get the optimal solution for the following scenarios, such as manufacturing problems, diet problems, transportation problems, allocation problems and so on.

Methods to Solve Linear Programming Problems

The linear programming problem can be solved using different methods, such as the graphical method, simplex method, or by using tools such as R, open solver etc. Here, we will discuss the two most important techniques called the simplex method and graphical method in detail.

Linear Programming Simplex Method

The simplex method is one of the most popular methods to solve linear programming problems. It is an iterative process to get the feasible optimal solution. In this method, the value of the basic variable keeps transforming to obtain the maximum value for the objective function. The algorithm for linear programming simplex method is provided below:

Step 1: Establish a given problem. (i.e.,) write the inequality constraints and objective function.

Step 2: Convert the given inequalities to equations by adding the slack variable to each inequality expression.

Step 3: Create the initial simplex tableau. Write the objective function at the bottom row. Here, each inequality constraint appears in its own row. Now, we can represent the problem in the form of an augmented matrix, which is called the initial simplex tableau.

Step 4: Identify the greatest negative entry in the bottom row, which helps to identify the pivot column. The greatest negative entry in the bottom row defines the largest coefficient in the objective function, which will help us to increase the value of the objective function as fastest as possible.

Step 5: Compute the quotients. To calculate the quotient, we need to divide the entries in the far right column by the entries in the first column, excluding the bottom row. The smallest quotient identifies the row. The row identified in this step and the element identified in the step will be taken as the pivot element.

Step 6: Carry out pivoting to make all other entries in column is zero.

Step 7: If there are no negative entries in the bottom row, end the process. Otherwise, start from step 4.

Step 8: Finally, determine the solution associated with the final simplex tableau.

Graphical Method

The graphical method is used to optimize the two-variable linear programming. If the problem has two decision variables, a graphical method is the best method to find the optimal solution. In this method, the set of inequalities are subjected to constraints. Then the inequalities are plotted in the XY plane. Once, all the inequalities are plotted in the XY graph, the intersecting region will help to decide the feasible region. The feasible region will provide the optimal solution as well as explains what all values our model can take. Let us see an example here and understand the concept of linear programming in a better way.

Example:

Calculate the maximal and minimal value of z = 5x + 3y for the following constraints.

x + 2y ≤ 14

3x – y ≥ 0

x – y ≤ 2

Solution:

The three inequalities indicate the constraints. The area of the plane that will be marked is the feasible region.

The optimisation equation (z) = 5x + 3y. You have to find the (x,y) corner points that give the largest and smallest values of z.

To begin with, first solve each inequality.

x + 2y ≤ 14 ⇒ y ≤ -(1/2)x + 7

3x – y ≥ 0 ⇒ y ≤ 3x

x – y ≤ 2 ⇒ y ≥ x – 2

Here is the graph for the above equations.

Linear Programming - Graph

Now pair the lines to form a system of linear equations to find the corner points.

y = -(½) x + 7

y = 3x

Solving the above equations, we get the corner points as (2, 6)

y = -1/2 x + 7

y = x – 2

Solving the above equations, we get the corner points as (6, 4)

y = 3x

y = x – 2

Solving the above equations, we get the corner points as (-1, -3)

For linear systems, the maximum and minimum values of the optimisation equation lie on the corners of the feasibility region. Therefore, to find the optimum solution, you only need to plug these three points in z = 3x + 4y

(2, 6) :

z = 5(2) + 3(6) = 10 + 18 = 28

(6, 4):

z = 5(6) + 3(4) = 30 + 12 = 42

(–1, –3):

z = 5(-1) + 3(-3) = -5 -9 = -14

Hence, the maximum of z = 42 lies at (6, 4) and the minimum of z = -14 lies at (-1, -3)

Linear Programming Applications

A real-time example would be considering the limitations of labours and materials and finding the best production levels for maximum profit in particular circumstances. It is part of a vital area of mathematics known as optimisation techniques. The applications of LP in some other fields are

  • Engineering – It solves design and manufacturing problems as it is helpful for doing shape optimisation
  • Efficient Manufacturing – To maximise profit, companies use linear expressions
  • Energy Industry – It provides methods to optimise the electric power system.
  • Transportation Optimisation – For cost and time efficiency.

Importance of Linear Programming

Linear programming is broadly applied in the field of optimisation for many reasons. Many functional problems in operations analysis can be represented as linear programming problems. Some special problems of linear programming are such as network flow queries and multi-commodity flow queries are deemed to be important to have produced much research on functional algorithms for their solution.

Linear Programming Practice Problems

Solve the following linear programming problems:

  1. A doctor wishes to mix two types of foods in such a way that the vitamin contents of the mixture contain at least 8 units of vitamin A and 10 units of vitamin C. Food ‘I’ contains 2 units/kg of vitamin A and 1 unit/kg of vitamin C. Food ‘II’ contains 1 unit/kg of vitamin A and 2 units/kg of vitamin C. It costs Rs 50 per kg to purchase Food ‘I’ and Rs 70 per kg to purchase Food ‘II’. Formulate this problem as a linear programming problem to minimise the cost of such a mixture
  2. One kind of cake requires 200g of flour and 25g of fat, and another kind of cake requires 100g of flour and 50g of fat.  Formulate this problem as a linear programming problem to find the maximum number of cakes that can be made from 5kg of flour and 1 kg of fat assuming that there is no shortage of the other ingredients used in making the cakes.

Frequently Asked Questions on Linear Programming

Q1

What is Linear Programming?

Linear programming is a process of optimising the problems which are subjected to certain constraints. It means that it is the process of maximising or minimizing the linear functions under linear inequality constraints. The problem of solving linear programs is considered as the easiest one.

Q2

Mention the different types of linear programming.

The different types of linear programming are:
Solving linear programming by Simplex method
Solving linear programming using R
Solving linear programming by graphical method
Solving linear programming with the use of an open solver.

Q3

What are the requirements of linear programming?

The five basic requirements of linear programming are:
Objective function
Constraints
Linearity
Non-negativity
Finiteness

Q4

Mention the advantages of Linear programming

The advantages of linear programming are:
Linear programming provides insights to the business problems
It helps to solve multi-dimensional problems
According to the condition change, LP helps in making the adjustments
By calculating the cost and profit of various things, LP helps to take the best optimal solution

Q5

What is meant by linear programming problems?

The linear programming problems (LPP) helps to find the best optimal solution of a linear function (also, known as the objective function) which are placed under certain constraints (set of linear inequality constraints)

Er. Neeraj K.Anand is a freelance mentor and writer who specializes in Engineering & Science subjects. Neeraj Anand received a B.Tech degree in Electronics and Communication Engineering from N.I.T Warangal & M.Tech Post Graduation from IETE, New Delhi. He has over 30 years of teaching experience and serves as the Head of Department of ANAND CLASSES. He concentrated all his energy and experiences in academics and subsequently grew up as one of the best mentors in the country for students aspiring for success in competitive examinations. In parallel, he started a Technical Publication "ANAND TECHNICAL PUBLISHERS" in 2002 and Educational Newspaper "NATIONAL EDUCATION NEWS" in 2014 at Jalandhar. Now he is a Director of leading publication "ANAND TECHNICAL PUBLISHERS", "ANAND CLASSES" and "NATIONAL EDUCATION NEWS". He has published more than hundred books in the field of Physics, Mathematics, Computers and Information Technology. Besides this he has written many books to help students prepare for IIT-JEE and AIPMT entrance exams. He is an executive member of the IEEE (Institute of Electrical & Electronics Engineers. USA) and honorary member of many Indian scientific societies such as Institution of Electronics & Telecommunication Engineers, Aeronautical Society of India, Bioinformatics Institute of India, Institution of Engineers. He has got award from American Biographical Institute Board of International Research in the year 2005.

CBSE Class 12 Maths Syllabus 2025-26 with Marks Distribution

The table below shows the marks weightage along with the number of periods required for teaching. The Maths theory paper is of 80 marks, and the internal assessment is of 20 marks which totally comes out to be 100 marks.

CBSE Class 12 Maths Syllabus And Marks Distribution 2023-24

Max Marks: 80

No.UnitsMarks
I.Relations and Functions08
II.Algebra10
III.Calculus35
IV.Vectors and Three – Dimensional Geometry14
V.Linear Programming05
VI.Probability08
Total Theory80
Internal Assessment20
Grand Total100

Unit-I: Relations and Functions

1. Relations and Functions

Types of relations: reflexive, symmetric, transitive and equivalence relations. One to one and onto functions.

2. Inverse Trigonometric Functions

Definition, range, domain, principal value branch. Graphs of inverse trigonometric functions.

Unit-II: Algebra

1. Matrices

Concept, notation, order, equality, types of matrices, zero and identity matrix, transpose of a matrix, symmetric and skew symmetric matrices. Operations on matrices: Addition and multiplication and multiplication with a scalar. Simple properties of addition, multiplication and scalar multiplication. Noncommutativity of multiplication of matrices and existence of non-zero matrices whose product is the zero matrix (restrict to square matrices of order 2). Invertible matrices and proof of the uniqueness of inverse, if it exists; (Here all matrices will have real entries).

2. Determinants

Determinant of a square matrix (up to 3 x 3 matrices), minors, co-factors and applications of determinants in finding the area of a triangle. Adjoint and inverse of a square matrix. Consistency, inconsistency and number of solutions of system of linear equations by examples, solving system of linear equations in two or three variables (having unique solution) using inverse of a matrix.

Unit-III: Calculus

1. Continuity and Differentiability

Continuity and differentiability, derivative of composite functions, chain rule, derivative of inverse trigonometric functions like sin-1 x, cos-1 x and tan-1 x, derivative of implicit functions. Concept of exponential and logarithmic functions.
Derivatives of logarithmic and exponential functions. Logarithmic differentiation, derivative of functions expressed in parametric forms. Second order derivatives.

2. Applications of Derivatives

Applications of derivatives: rate of change of quantities, increasing/decreasing functions, maxima and minima (first derivative test motivated geometrically and second derivative test given as a provable tool). Simple problems (that illustrate basic principles and understanding of the subject as well as real-life situations).

3. Integrals 

Integration as inverse process of differentiation. Integration of a variety of functions by substitution, by partial fractions and by parts, Evaluation of simple integrals of the following types and problems based on them.

Fundamental Theorem of Calculus (without proof). Basic properties of definite integrals and evaluation of definite integrals.

4. Applications of the Integrals

Applications in finding the area under simple curves, especially lines, circles/ parabolas/ellipses (in standard form only)

5. Differential Equations

Definition, order and degree, general and particular solutions of a differential equation. Solution of differential equations by method of separation of variables, solutions of homogeneous differential equations of first order and first degree. Solutions of linear differential equation of the type:

dy/dx + py = q, where p and q are functions of x or constants.

dx/dy + px = q, where p and q are functions of y or constants.

Unit-IV: Vectors and Three-Dimensional Geometry

1. Vectors

Vectors and scalars, magnitude and direction of a vector. Direction cosines and direction ratios of a vector. Types of vectors (equal, unit, zero, parallel and collinear vectors), position vector of a point, negative of a vector, components of a vector, addition of vectors, multiplication of a vector by a scalar, position vector of a point dividing a line segment in a given ratio. Definition, Geometrical Interpretation, properties and application of scalar (dot) product of vectors, vector (cross) product of vectors.

2. Three – dimensional Geometry

Direction cosines and direction ratios of a line joining two points. Cartesian equation and vector equation of a line, skew lines, shortest distance between two lines. Angle between two lines.

Unit-V: Linear Programming

1. Linear Programming

Introduction, related terminology such as constraints, objective function, optimization, graphical method of solution for problems in two variables, feasible and infeasible regions (bounded or unbounded), feasible and infeasible solutions, optimal feasible solutions (up to three non-trivial constraints).

Unit-VI: Probability

1. Probability

Conditional probability, multiplication theorem on probability, independent events, total probability, Bayes’ theorem, Random variable and its probability distribution, mean of random variable.

Students can go through the CBSE Class 12 Syllabus to get the detailed syllabus of all subjects. Get access to interactive lessons and videos related to Maths and Science with ANAND CLASSES’S App/ Tablet.

Frequently Asked Questions on CBSE Class 12 Maths Syllabus 2025-26

Q1

Is Calculus an important chapter in the CBSE Class 12 Maths Syllabus?

Yes, Calculus is an important chapter in the CBSE Class 12 Maths Syllabus. It is for 35 marks which means that if a student is thorough with this chapter will be able to pass the final exam.

Q2

How many units are discussed in the CBSE Class 12 Maths Syllabus?

In the CBSE Class 12 Maths Syllabus, about 6 units are discussed, which contains a total of 13 chapters.

Q3

How many marks are allotted for internals in the CBSE Class 12 Maths syllabus?

About 20 marks are allotted for internals in the CBSE Class 12 Maths Syllabus. Students can score it with ease through constant practice.