A Factory Produces Two Products P­1 and P2. Each Of The Product P1requires 2 Hrs For Moulding, 3 Hrs For Grinding And 4 Hrs For Polishing, And Each Of The Product P2 requires 4 Hrs Moulding, 2 Hrs For Grinding And 2 Hrs For Polishing. The Factory Has Moulding Machine Available For 20 Hrs, Grinding Machine For 24 Hrs And Polishing Machine Available For 13 Hrs. The Profit Is Rs. 5 Per Unit Of P1 and Rs. 3 Per Unit Of P2 and The Factory Can Sell All That It Produces. Formulate The Problem As A Linear Programming Problem To Maximize The Profit.    

Why Kaysons ?

Video lectures

Access over 500+ hours of video lectures 24*7, covering complete syllabus for JEE preparation.

Online Support

Practice over 30000+ questions starting from basic level to JEE advance level.

Live Doubt Clearing Session

Ask your doubts live everyday Join our live doubt clearing session conducted by our experts.

National Mock Tests

Give tests to analyze your progress and evaluate where you stand in terms of your JEE preparation.

Organized Learning

Proper planning to complete syllabus is the key to get a decent rank in JEE.

Test Series/Daily assignments

Give tests to analyze your progress and evaluate where you stand in terms of your JEE preparation.



A factory produces two products P­1 and P2. Each of the product P1requires 2 hrs for moulding, 3 hrs for grinding and 4 hrs for polishing, and each of the product P2 requires 4 hrs moulding, 2 hrs for grinding and 2 hrs for polishing. The factory has moulding machine available for 20 hrs, grinding machine for 24 hrs and polishing machine available for 13 hrs. The profit is Rs. 5 per unit of P1 and Rs. 3 per unit of P2 and the factory can sell all that it produces. Formulate the problem as a linear programming problem to maximize the profit.    


Correct option is

Maximize     Z = 5x + 3y

Subject to the constraint

2x + 4y ≤ 20,

3x + 2y ≤ 24,

4x + 2y ≤ 13,

And,           x ≥ 0, y ≥ 0.

The given data may be put in the following tabular form:     



         P1                          P2





         2                            4

         3                            2

         4                            2      





         5                            3


Suppose x units of product P1 and y units of product P2 are produced to maximize the profit. Let Z denote the total profit.

Since each unit of product P1 requires 2 hrs for moulding and each unit of product P2 requires 4 hrs for moulding. Hence, the total hours required for moulding for x units of product P1 and y units of product P2 are 2x + 4y. This must be less than or equal to the total hours available for moulding. Hence,   

                             2x + 4y ≤ 20

This is the first constraint.   

The total hours required for grinding for x units of product P1 and y units of product P2 is 3x + 2y. But the maximum number of hours available for grinding is 24.     

This is the second constraint.   

Similarly for polishing the constraint is 4x + 2y ≤ 13.   

Since x and y are non-negative integers, therefore x ≥ 0, y ≥ 0   

The total profit for x units of product P1 and y units of product P2 is 5x + 3y. Since we wish to maximize the profit, therefore the objective function is 

Maximize           Z = 5x + 3y  

Hence, the linear programming problem for the given problem is as follows

                     Maximize     Z = 5x + 3y    

Subject to the constraints  

                  2x + 4y ≤ 20,

                  3x + 2y ≤ 24,   

                  4x + 2y ≤ 13,

And,           x ≥ 0, y ≥ 0.



A toy company manufactures two types of doll; a basic version doll and a deluxe version doll B. Each doll of type takes twice as long to produce as one of type A, and the company would have time to make a maximum of 2000 per day if it produces only the basic version. The supply of plastic is sufficient to produce 1500 dolls per day (both A and combined). The deluxe version requires a fancy dress of which there are only 600 per day available. If the company makes profit of Rs 3 and Rs 5 per doll respectively on doll and doll B; how many of each should be produced per day in order to maximize profit?


A firm can produce three types of cloth, say C1, C2, C3. Three kinds of wool are required for it, say red wool, green wool and blue wool. One unit of length C1 needs 2 metres of red wool, 3 metres of blue wool; one unit of cloth C2 needs 3 metres of red wool, 2 metres of green wool and 2 metres of blue wool; and one unit of cloth C3 needs 5 metres of green wool and 4 metres of blue wool. The firm has only a stock of 16 metres of red wool, 20 metres of green wool and 30 metres of blue wool. It is assumed that the income obtained from one unit of length of cloth C1 is Rs. 6, of cloth C2 is Rs. 10 and of cloth C3 is Rs. 8. Formulate the problem as a linear programming problem to maximize the income.


A furniture firm manufactures chairs and tables, each requiring the use of three machines A, B and C. Production of one chair requires 2 hours on machine A, 1 hour on machine B, and 1 hour on machine C. Each table requires 1 hour each on machine A and B and 3 hours on machine C. The profit realized by selling one chair is Rs 30 while for a table the figure is Rs 60. The total time available per week on machine A is 70 hours, on machine B is 40 hours, and on machine C is 90 hours. How many chairs and tables should be made per week so as to maximize profit? Develop a mathematical formulation.


A manufacturer of a line of patent medicines  is preparing a production plan on medicines A and B. There are sufficient ingredients available to make 20,000 bottles of A and 40,000 bottles of B but there are only 45,000 bottles into which either of the medicines can be put Further more, it takes 3 hours to prepare enough material to fill 1000 bottles of A, it takes one hour to prepare enough material to fill 1000 bottles of B and there are 66 hours available for this operation. The profit is Rs 8 per bottle for A and Rs 7 per bottle for B. Formulate this problem as a linear programming problem.


A resourceful home decorator manufactures two types of lamps say A andB. Both lamps go through two technicians, first a cutter, second a finisher. Lamp A requires 2 hours of the cutter’s time and 1 hour of the finisher’s time. Lamp B requires 1 hour of cutter’s and 2 hours of finisher’s time. The cutter has 104 hours and finisher has 76 hours of time available each month. Profit on one lamp A is Rs. 6.00 and on one lamp B is Rs 11.00. Assuming that he can sell all that he produces, how many of each type of lamps should he manufacture to obtain the best return.


A company makes two kinds of leather belts, A and B. Belt A is high quality belt, and B is of lower quality. The respective profits are Rs 4 and Rs 3 per belt. Each belt of type A requires twice as much time as a belt of type B, and if all belts were of type B, the company could make 1000 belts per day. The supply of leather is sufficient for only 800 belts per day (bothA and B combined). Belt A requires a fancy buckle, and only 400 buckles per day are available. There are only 700 buckles available for belt B. What should be the daily production of each type of belt? Formulate the problem as a LPP.     


A dietician whishes to mix two types of food 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 per kg of vitamin A and 1 unit per kg of vitamin C while food ‘II’ contains 1 unit per kg of vitamin A and 2 units per kg of vitamin C. It costs Rs 5.00 per kg to purchase food ‘I’ and Rs 7.00 per kg to produce food ‘II’. Formulate the above linear programming problem to minimize the cost of such a mixture.   


A diet is to contain at least 400 units of carbohydrate, 500 units of fat, and 300 units of protein. Two foods are available: F1 which costs Rs 2 per unit, and F2 which costs Rs 4 per unit. A unit of food F1 contains 10 units of carbohydrate, 20 units of fat, and 15 units of protein; a unit of food F2 contains 25 units of carbohydrate, 10 units of fat, and 20 unit of protein. Find the minimum cost for a diet consists of a mixture of these two foods and also meets the minimum nutrition requirements. Formulate the problem as a linear programming problem.


The objective of a diet problem is to ascertain the quantities of certain foods that should be eaten to meet certain nutritional requirement at minimum cost. The consideration is limited to milk, beaf and eggs, and to vitamins ABC. The number of milligrams of each of these vitamins contained within a unit of each food is given below:


Litre of milk

Kg of beaf

Dozen of eggs

Minimum daily requirements













1 mg

50 mg

10 mg


Rs 1.00

Rs 1.10

Re 0.50


What is the linear programming formulation for this problem?