# NCERT Solutions class 12 Maths Exercise Miscellaneous (Ex Misc.) Chapter 12 Linear Programming

## NCERT Solutions for Class 12 Maths Exercise Miscellaneous Chapter 12 Linear Programming – FREE PDF Download

Free PDF download of NCERT Solutions for Class 12 Maths Chapter 12 Exercise Miscellaneous (Ex Misc) and all chapter exercises at one place prepared by expert teacher as per NCERT (CBSE) books guidelines. Class 12 Maths Chapter 12 Linear Programming Exercise 12.2 Questions with Solutions to help you to revise complete Syllabus and Score More marks.

# NCERT Solutions for Class 12 Maths Chapter 12 Linear Programming (Ex Misc) Exercise Miscellaneous

1. A dietician has to develop a special diet using two foods P and Q. Each packet (containing 30 g) of food P contains 12 units of calcium, 4 units of iron, 6 units of cholesterol and 6 units of vitamin A, while each packet of the same quantity of food Q contains 3 units of calcium, 20 units of iron, 4 units of cholesterol and 3 units of vitamin A. The diet requires at least 240 units of calcium, atleast 460 units of iron and atmost 300 units of cholesterol. How many packets of each food should be used to maximize the amount of vitamin A in the diet? What is the maximum amount of vitamin A in the diet?

Ans. Let  and  be the number of packets of food P and Q respectively,  –

We have to maximize Z =  (vitamin A) subject to the constraints  (constraints on Calcium), i.e.,       ……….(i)

And  (constraints on Iron), i.e.,    ……….(ii)

Also  (constraints on Cholesterol), i.e.,   ……….(iii)

……….(iv)

Consider

Let

 A B C 0 10 20 80 40 0

Here, (0, 0) does not satisfy this inequation, therefore the required half plane does not include the point (0, 0)

Again consider

Let

 D E F 115 65 0 0 10 23

Here, also (0, 0) does not satisfy this inequation, therefore the required half plane does not include the point (0, 0)

Again consider

Let

Therefore, G (50, 0) and H (0, 75) satisfy the equation.

As (0, 0) satisfies the inequation , therefore the required half plane contains (0, 0)

The shaded region is the feasible solution and its corners are P (15, 20), Q (40, 15) and R (2, 72).

Now    Z =

At P(15, 20)  Z = 6 x 15 + 3 x 20 = 90 + 60 = 150

At Q (40, 15)  Z = 6 x 40 + 3 x 15 = 240 + 45 = 285

At R (2, 72)  Z = 6 x 2 + 3 x 72 = 12 + 216 = 228

Hence, maximum Z = 285 units of vitamin A at

### 2. A farmer mixes two brands P and Q of cattle feed. Brand P, costing Rs. 250 per bag, contains 3 units of nutritional element A, 2.5 units of element B and 2 units of element C. Brand Q costing Rs. 200 per bag contains 1.5 units of nutritional element A, 11.25 units of element B and 3 units of element C. The minimum requirements of nutrients A, B and C are 18 units, 45 units and 24 units respectively. Determine the number of bags of each brand which should be mixed in order to produce a mixture having a minimum cost per bag? What is the minimum cost of the mixture per bag?

Ans. Let number of bags of cattle feed brand P =  and number of bags of cattle feed brand Q =

We have to minimize Z =  subject to the constraints ,

0

Consider

Let

Now the points are A (6, 0) and B (0, 12).

Now clearly (0, 0) does not lie in the required half plane as (0, 0) does not satisfy the inequation .

Again consider

Let

Now point C (18, 0) and D (0, 4) lie on the line.

Now again (0, 0) does not lie in the required half plane as (0, 0) does not satisfy the inequation .

Again consider

Let

Here, the points E (12, 0) and F (0, 8) lie on the line.

Again also (0, 0) does not lie on the half plane as (0, 0) does not satisfy this inequation.

The feasible region of XCPQEY and the co-ordinates of corners are C (18, 0), P (9, 2), Q (3, 6) and E (0, 12).

Now     Z =

At C (18, 0)   Z = 250 x 18 + 200 x 0 = 4500

At P (9, 2)   Z = 250 x 9 + 200 x 2 = 2450

At Q (3, 6)   Z = 250 x 3 + 200 x 6 = 1950

At E (0, 12)   Z = 250 x 0 + 200 x 12 = 2400

Here, minimum cost Z = Rs. 1950 when

Hence, number of bags of brand P = 3 and number of bags of brand Q = 6 and minimum cost of the mixture per bag = Rs.  = Rs. 216.67 per bag.

### 3. A dietician wishes to mix together two kinds of food X and Y in such a way that the mixture contains at least 10 units of vitamin A, 12 units of vitamin B and 8 units of vitamin C. The vitamin contents of one kg food is given below:

 Food Vitamin A Vitamin B Vitamin C X 1 2 3 Y 2 2 1

One kg of food X costs Rs. 16 and one kg of food Y costs Rs. 20. Find the least cost of the mixture which will produce the required diet?

Ans. Let in the mixture food X weighs =  kg and in the mixture food Y weighs =  kg

We have to minimize Z =  subject to constraints,

Consider

Let

Points A (10, 0) and B (0, 5) lies on the line.

Here, (0, 0) does not satisfy the inequation , therefore the required half plane does not include (0, 0).

Again consider

Let

Points C (6, 0) and D (0, 6) lies on the line.

Again consider

Let

Again in the inequation (0, 0) is not included in the required half plane.

The shaded region is our feasible solution A (10, 0), P (2, 4), Q (1, 5), E (0, 8).

 E F G 0 1 2 8 5 2

The corners of the feasible region are A (10, 0), P (2, 4), Q (1, 5), E (0, 8).

Now Z =

At A (10, 0)   Z = 16 x 10 + 20 x 0 = 160

At P (2, 4)   Z = 16 x 2 + 20 x 4 = 112

At Q (1, 5)   Z = 16 x 1 + 20 x 5 = 116

At E (0, 8)   Z = 16 x 0 + 20 x 8 = 160

Therefore minimum Z = Rs. 112 at

Hence, minimum cost of the mixture = Rs. 112 when he mixes 2 kg of food X and 4 kg of food Y.

### 4. A manufacturer makes two types of toys A and B. Three machines are needed for this purpose and the time (in minutes) requires for each toy on the machines is given below:

 Types of Toys Machines I II III A 12 18 6 B 6 0 9

Each machine is available for a maximum of 6 hours per day. If the profit on each type of type A is Rs. 7.50 and that on each toy of type B is Rs. 5, shows that 15 toys of type A and 30 of type B should be manufactures in a day to get maximum profit.

Ans. Let  units of toys A and  units of toys B are produced by the manufacturer. Time spent on machine I to produce  units of toys A and  units of toys B =  minutes.

Since each machine is available for a maximum of 6 x 60 = 360 minutes.

Therefore, we have

and

now, the profit Z earned by the manufacturer to produce  units of type A and  units of type B is

we have to maximize Z =  i.e., 4Z =  subject to constraints  and

Consider

Let

Points A (30, 0) and B (0, 60) lies on the line. Also (0, 0) lies in the required half plane.

Again consider

Let

It represent the half plane to the left of .

Again consider

Let

Points C (60, 0) and D (0, 40) lies on the line. Therefore, (0, 0) lies in the required half plane.

The shaded portion is our feasible region. Its corners are O (0, 0), P (20, 0), Q (20, 20), R (15, 30), D (0, 40).

Now     Z =

At O (0, 0)   Z = 7.5 x 0 + 5 x 0 = 0

At P (20, 0)   Z = 7.5 x 00 + 5 x 0 = 150

At Q (20, 20)   Z = 7.5 x 20 + 5 x 20 = 250

At R (15, 30)   Z = 7.5 x 15 + 5 x 30 = 262.50

At D (0, 40)   Z = 7.5 x 0 + 5 x 40 = 200

Now maximum profit = Z = Rs. 262.50, when he manufacturers 15 toys of types A and 30 of type B in a day.

### 5. An aeroplane carries a maximum of 200 passengers. A profit of Rs. 1000 is made on each executive class ticket and a profit of Rs. 600 is made on each economy class ticket. The airline reserves at least 20 seats for executive class, However at least 4 times as many passengers prefer to travel by economy class than by the executive class. Determine how many tickets of each type must be sold in order to maximize the profit for the airline. What is the maximum profit?

Ans. Let number of tickets of executive class sold =  and number of tickets of economy class sold =

We have to maximize = Z =  subject to  and

Consider

Let

Points A (200, 0) and B(0, 200) are on the line and therefore (0, 0) is included in the required half plane.

Again consider

Let

It is the line parallel to axis at a positive distance 20 and the half plane lies towards right of it.

Again consider

Let

 O C D 0 20 40 0 80 160

Here, (40, 0) does not satisfy , therefore plane does not include (40, 0).

The shaded portion is the feasible region. Its corners are C (20, 80), D (40, 160) and P (20, 180)

Now    Z =

At C (20, 80) Z = 1000 x 20 + 600 x 80 = 20000 + 48000 = 68,000

At D (40, 60) Z = 1000 x 40 + 600 x 60 = 40000 + 96000 = 1,36,000

At P (20, 180) Z = 1000 x 20 + 600 x 180 = 20000 + 108000 = 1,28,000

Hence Maximum profit Z = Rs. 1,36,000 at

### 6. Two godowns A and B have grain capacity of 100 quintals and 50 quintals respectively. They supply to 3 ration shops. D, E and F whose requirements are 60, 50 and 40 quintals respectively. The cost of transportation per quintal from the godowns to the shops are given in the following table:

 Transportation cost per quintal (in Rs.) From / To A B D EF 6 32.50 4 23

How should the supplies be transported in order that the transportation cost is minimum? What is the minimum cost?

Ans. Let godown A supplies  quintals of grain to the ration shop D and  quintals to ration shop E.

We have to minimize Z =

+

+

Z =

Subject to  and

Consider

Let

Points P (100, 0) and Q (0, 100) lie on the line and it represents the half-plane containing (0, 0).

Again we consider  and

We draw  and

Again consider

Let

Points A (60, 0) and R (0, 60) lie on the line and it represents the half-plane containing (0, 0)

The shaded region is the feasible solution. Its corners are A (60, 0), B (60, 40), C (50, 50) and D (10, 50).

Now    Z =

At A (60, 0) Z =

At B (60, 40) Z =

At C (50, 50) Z =

At D (10, 50) Z =

Hence minimum value is Z = 510 at

### 7. An oil company has two depots A and B with capacities of 7000 L and 4000 L respectively. The company is to supply oil to three petrol pumps. D, E and F whose requirements are 4500 L, 3000 L and 3500 L respectively. The distances (in km) between the depots and the petrol pumps is given in the following table:

 Distance in km. From / To A B D EF 7 63 3 42

Assuming that the transportation cost of 10 liters of oil is Re. 1 per km, how should the delivery be scheduled in order that the transportation cost is minimum? What is the minimum cost?

Ans. Let  liters of oil is supplied from depot A to petrol pump D and  liters of oil supplied from depot A to petrol pump E then  liters of oil will be supplied from depot A to petrol pump F.

We have  and

Since requirements of oil at petrol pump, D, E and F are   and  liters respectively.

And

And

The cost of transportation per km for 10 liters oil is Re 1

The cost of transportation per km per liter = Rs.

The cost of transportation

Z =

Z =

Therefore, the feasible region is ABECD.

Its corners are A (500, 3000), B (35, 0), E (4500, 0), C (4500, 2500), D (4000, 3000).

Now    Z =

At A (500, 3000) Z = 0.3 x 500 + 0.1 x 3000 + 3950 = 4400

At B (3500, 0) Z = 0.3 x 3500 + 0.1 x 0 + 3950 = 5000

At E (4500, 0) Z = 0.3 x 4500 + 0.1 x 0 + 3950 = 5300

At C (4500, 2500) Z = 0.3 x 4500 + 0.1 x 2500 + 3950 = 5550

At D (4000, 3000) Z = 0.3 x 4000 + 0.1 x 3000 + 3950 = 5450

Minimum transportation charges are Rs. 4400 at

Hence, 500 liters, 3000 liters and 3500 liters of oil should be transported from depot A to petrol pumps D, E, F and 4000 liters, 0 liter and 0 liter of oil be transported from depot B to petrol pumps D, E and F with minimum cost of transportation of Rs. 4400.

### 8. A fruit grower can use two types of fertilizer in his garden, brand P and brand Q. The amounts (in kg) of nitrogen, phosphoric acid, potash and chlorine in a bag of each brand are given in the table. Tests indicate that the garden needs at least 240 kg of phosphoric acid, at least 270 kg of potash and at most 310 kg of chlorine.

If the grower wants to minimize the amount of nitrogen added to the garden, how many bags of each brand should be used? What is the minimum amount of nitrogen added in the garden?

 kg per bag Brand P Brand Q Nitrogen Phosphoric acidPotashChlorine 3 131.5 3.5 21.52

Ans. Let amount of Brand P of fertilizer =  bags and amount of Brand Q of fertilizer =  bags

We have to minimize Z =  subject to

Consider

Let

Points A (240, 0) and B (0, 120) lie on the line.

And (0, 0) does not lie on the required half-plane of this in equation.

Again consider

Let

Points C (90, 0) and D (0, 180) lie on the line.

Here also (0, 0) does not lie on the required half-plane of this inequation.

 E F G 0 100 200 155 80 5

Again consider

Let

Here also (0, 0) does not lie on the required half-plane of this inequation.

The shaded portion is the feasible region. Its corners are P (140, 50), Q (20, 140) and R (40, 100).

Now    Z =

At P (140, 50) Z = 3 x 140 + 3.5 x 50 = 420 + 175 = 595

At Q (20, 140) Z = 3 x 20 + 3.5 x 140 = 60 + 490 = 550

At R (40, 100) Z = 3 x 40 + 3.5 x 100 = 120 + 350 = 470

Hence minimum Z = 470 at

Therefore, minimum amount of nitrogen = 470 kg when 40 bags of brand P and 100 bags of brand Q are used.

### 9. Refer to Question 8. If the grower wants to maximize the amount of nitrogen added to the garden, how many bags of each brand should be added? What is the maximum amount of nitrogen added?

Ans. We have Z =  and Z is maximum at P (140, 50).

To maximize the amount of nitrogen, 140 bags of brand P and 50 bags of brand Q are required.

Therefore maximum amount of nitrogen required = 595 kg

### 10. A toy company manufactures two types of dolls, A and B. Market tests and available resources have indicated that the combined production level should not exceed 1200 dolls per week and the demand for dolls of type B is at most half of that for dolls of type A. Further, the production level of dolls of type A can exceed three times the production of dolls of other type by at most 600 units. If the company makes profit of Rs.12 and Rs. 16 per doll respectively on dolls A and B, how many of each should be produced weekly in order to maximize the profit?

Ans. Let the number of dolls of type A =  and number of dolls of type B =

We have to maximize Z =  subject to

Consider, x+y1200x+y≤1200

Let  x + y = 1200

=>y=1200x=>y=1200−x

 A B C 0 600 1200 1200 600 0

Here, (0, 0) is included in the required half plane and satisfies this inequation.

Again consider

Let

 O E F 0 200 600 0 100 300

Here, (100, 0) satisfies the inequation , therefore the required half plane includes (100, 0).

Again consider

Let

=>x=6003y=>x=600−3y

 D P Q 600 900 1200 0 100 200

Here, also (0, 0) is included in the required half-plane.

The shaded region DRSOD is the feasible region whose corners are D(600,0), R(1050,150),

S(800,400) and O(0,0).
Now     Z =
At D (600, 0)   Z = 12 x 600 + 16 x 0 = 7200
At R (1050, 150)   Z = 12 x 105 + 16 x 150 = 12600 + 2400 = 15,000
At S (800, 400)   Z = 12 x 800 + 16 x 400 = 9600 + 6400 = 16,000
At O (0, 0)   Z = 12 x 0 + 16 x 0 = 0
Hence maximum profit Z = Rs. 16,000 at