You are on page 1of 13

CHAPTER 10 LINEAR PROGRAMMING 1. Understand and use the concept of graphs of linear inequalities. 1.

1 Identify and shade the region on the graph that satisfies a linear inequality. (a) Shade the region that satisfies each of the following inequalities (b) x < 5 x2

(c)

y 10

(d)

y>4

(e)

y 3x

(f)

3x < y

10. Linear Programming

(g)

y 3x + 2

(h)

y 10 x + 6

(i)

2 x + 5 y > 10

(j)

x + 2 y < 20

(k)

x y >1

(l)

3x y 1

10. Linear Programming

1.2 Find the linear inequality that defines a shaded region .Write the linear inequality that defines the shaded region other than x 0 and y 0 (a) (b)

Linear inequality : (c) (d)

Linear inequality :

Linear inequality : Linear inequality : 1.3 Shade region on the graph that satisfies several linear inequalities. (a)

y 10, y 3 x, y 0

(b)

2 x + 5 y > 10, x < 5, x 0

y=3x

2 x + 5 y = 10
Answers for 1.2 (a) y<7 (b) x 1 (c) y 2x+4 (d) y< -2x+8 10. Linear Programming

(c)

y 3 x + 2 x + 2 y < 20, y 0, x 0

(d)

x y > 1, y > 4 , x 8

(e)

2 y x + 5, 2 y + x 5, x 5

(f)

2 x + y < 4, y x, x 0

(g)

2 y x + 4, y 3 x, x 3, y 0

(h)

2 y < x + 12, x + y 6, y > 2

10. Linear Programming

1.4 Find linear inequalities that define a shaded region Write the linear inequalities which define the shaded region. (a) (b)

Linear inequalities : (c) (d)

Linear inequalities :

Linear inequalities :
[ y < 7, x 1 ]

Linear inequalities : [ y 2 x + 4, y < 7, x 1 ] (f)

(e)

Linear inequalities : [ y 2 x + 4, x 0, y 0, y < 2 x + 8 ]

Linear inequalities : [ y 2 x + 4, y < 2 x + 8, y x + 4 ]

10. Linear Programming

2. Understand and use the concept of linear programming. 2.1 Solve problems related to linear programming by: A) writing linear inequalities and equations describing a situation. No (1) (2) (3) (4) (5) (6) (7) (8) (9) Constraints The value of x must be at least 5 The value of x is at most 5 The value of x must be more than 5 The minimum value of x is 5 The value of x must exceed y by at least 5 The value of x must be more than twice of y The value of x is at most three times of y The value of x is more than the value of y by at least 5 The value of x is not less than twice the value of y Inequality

(10) The value of x is at least three time the value of y (11) The sum of x and y is 45 (12) The sum of x and y is not less than 15 (13) The maximum value of x + y is 15 (14) The sum of x and y is more than 15 (15) The value of 2x+y is not more than 15 (16) The value of 2x+y is less than 10 (17) The ratio of x to y is at least 2 (18) The ratio of y to x is at most 1: 5

Answer: (1) x 5, (2) x 5;(3) x > 5, (4) x 5, (5) x y 5, (6) x > 2 y, (7) x 3 y ,
(8) x y 5, (9) x 2 y, (10) x 3 y (11) x + y = 45, (12) x + y 15, (13) x + y 15(14) x + y > 15, (15) 2 x + y 15 , (16) 2 x + y < 10, (17) x y 1 2 (18) y x 5

10. Linear Programming

B) writing linear inequalities and equations describing a situation and shading the region of feasible solutions.
( Use graph paper to answer these questions)

(1)

Shankar has an allocation of RM 225 to buy x kg of prawns and y kg of fish. The total mass of the commodities is not less than 15 kg. The mass of prawn is at most three times that of fish. The price of 1 kg of prawns is RM9 and the price of 1 kg of fish is RM5. i. Write down three inequalities, other than x 0 and y 0 , that satisfy all the above constraints. ii Hence, using a scale of 2cm to 5 kg for both axes, construct and shade the region R that satisfy all the above constraints. A district education office intends to organize a course on the teaching of Mathematics and Science in English. The course will be attended by x Mathematics participants and y Science participants. The selection of participants is based on the following constraints: I : The total number of participants is at least 40 II : The number of Science participants is at most twice that of Mathematics. III : The maximum allocation for the course is RM7200. The expenditure for a Mathematics participant is RM 120, and for a science participant is RM80. i Write down three inequalities, other than x 0 and y 0, which satisfy the above constraints. ii. Hence, by using a scale of 2 cm to 10 participants on both axes, construct and shade the region R which satisfies all the above constraints. An institution offers two computer courses, P and Q. The number of participants for the course P is x and for course Q is y. The enrolment of the participants is based on the following constraints: I : The total number of participants is not more than 100. II : The number of participants for course Q is not more than 4 times the number of participants for course P III : The number of participants for course Q must exceed the number of Participants for course P by at least 5

(2)

(3)

i Write down three inequalities, other than x 0 and y 0, which satisfy all the above
constraints. ii By using a scale of 2 cm to 10 participants on both axes, construct the shade the region R that satisfy all the above constraints. (4)

A workshop produces two types of rack, P and Q. The production of each type of rack involves two processes, making and painting. Table below shows the time taken to make and paint a rack of type P and a rack of type Q. Rack Time taken (minutes) Making Painting P 60 30 Q 20 40

The workshop produces x racks of type P and y racks of type Q per day. The production of racks per day is based on the following constraints:

10. Linear Programming

I II III

: The maximum total time for making both racks is 720 minutes. : The total time for painting both racks is at least 360 minutes. : The ratio of the number of racks of type P to the number of racks of type Q is at least 1:3 i Write three inequalities, other than x 0 and y 0, which satisfy all the above
constraints. ii Using a scale of 2 cm to 2 racks on both axes, construct and shaded the region R are satisfies all the above constraints. (5)

A factory produces two components, P and Q. In a particular day, the factory produced x pieces of component P and y pieces of component Q. The profit from the sales of a piece of component P is RM15 and a piece of component Q is RM12. The production of the components per day is based on the following constraints: I : The total number of components produced is at most 500. II : The number of component P produced is not more than three times the number of component Q III : The minimum total profit for both components is RM4200 i Write three inequalities, other than x 0 and y 0, which satisfy all the
constraints. ii. Using a scale of 2 cm to 50 components on both axes, construct and shade the region R which satisfy all the above constraints.

(6)

The members of a youth association plan to organize a picnic. They agree to rent x buses and y vans. The rental of a bus is RM 800 and the rental of a van is RM300. The rental of the vehicles for the picnics is based on the following constraints: I : The total number of vehicles to be rented is not more than 8 II: the number of buses is at most twice the number of vans III: the maximum allocation for the rental of the vehicles is RM4000 (a) Write three inequalities, other than x 0 and y 0, which satisfy all the above

constraints (b) Using a scale of 2 cm to 1 vehicle on both axes, construct and shade the region R which satisfy all the above constraints.
C) Determining and drawing the objective function ax + by = k where a, b and k are constants. Determining graphically the optimum value of the objective function. ( Use graph paper to answer these questions) (1) SPM 2003 P2 Q 14 Shanker has an allocation of RM 225 to buy x kg of prawns and y kg of fish. The total mass of the commodities is not less than 15 kg. The mass of prawns is at most three times that of fish. The price of 1 kg of prawns is RM9 and the price of 1 kg of fish is RM5. (a) Write down three inequalities, other than x 0 and y 0, that satisfy all the above conditions. [ 3 marks] (b) Hence, using a scale of 2 cm to 5 kg for both axes, construct and shade the region R that satisfies all the above conditions. [4 marks] (c) If Shanker buys 10 kg of fish, what is the maximum amount of money that could remain from his allocation? [3 marks] answers: x + y 15, x 3 y ,9x + 5 y 225, RM 130

10. Linear Programming

(2)

SPM 2004 P2 Q14 A district education office intends to organize a course on the teaching of Mathematics and Science in English. The course will be attended by x Mathematics participants and y Science participants. The selection of participants is based on the following constraints: I : The total number of participants is at least 40 II : The number of Science participants is at most twice that of Mathematics. III : The maximum allocation for the course is RM7200. The expenditure for a Mathematics participant is RM 120, and for a science participant is RM80. (a) Write down three inequalities, other than x 0 and y 0, which satisfy the above constraints. [3 marks] (b) Hence, by using a scale of 2 cm to 10 participants on both axes, construct and shade the region R which satisfies all the above constraints. [3marks] (c) Using your graph from (b) , find (i) the maximum and minimum number of Mathematics participants when the number of Science participants is 10, (ii) the minimum cost to run the course. [4 marks] x + y 40 , y 2 x , 120 x + 80 y 7200 Answer : ,30, 53 (13,27) RM3720

(3)

SPM 2005 P2 Q 14 An institution offers two computer courses, P and Q. The number of participants for the course P is x and for course Q is y. The enrolment of the participants is based on the following constraints: I : The total number of participants is not more than 100. II : The number of participants for course Q is not more than 4 times the number of participants for course P III : The number of participants for course Q must exceed the number of Participants for course P by at least 5

(a) Write down three inequalities, other than x 0 and y 0, which satisfy all the

above constraints. [3 marks] (b) By using a scale of 2 cm to 10 participants on both axes, construct the shade the region R that satisfy all the above constraints. [3 marks] (c) By using your graph from (b), find (i) the range of the number of participants for course Q if the number of participants for course P is 30. (ii) The maximum total fees per month that can be collected if the fees per month for courses P and Q are RM50 and RM 60 respectively. [4marks] Answers x + y 100, y 4 x, y x 5 ,35 y 70, RM 5800

10. Linear Programming

(4)

SPM 2006 P2 Q14 A workshop produces two types of rack, P and Q. The production of each type of rack involves two processes, making and painting. Table below shows the time taken to make and paint a rack of type P and a rack of type Q. Rack P Q Time taken (minutes) Making Painting 60 30 20 40

The workshop produces x racks of type P and y racks of type Q per day. The production of racks per day is based on the following constraints: I II III : The maximum total time for making both racks is 720 minutes. : The total time for painting both racks is at least 360 minutes. : The ratio of the number of racks of type P to the number of racks of type Q is at least 1:3 (a) Write three inequalities, other than x 0 and y 0, which satisfy all the above
constraints.

(b) Using a scale of 2 cm to 2 racks on both axes, construct and shaded the region R
are satisfies all the above constraints. (c) By using your graph from part (b), find (i) the minimum number of racks of type Q if 7 racks of type P are produced per day. (ii) The maximum total profit per day if the profit from one rack of type P is RM24 and from one rack of type Q is RM32.00 Answers
60 x + 20 y 720,30 x + 40 y 360 , x 1 , 4 ,RM720 y 3

(5)

SPM 2007 P2 Q14 A factory produces two components, P and Q. In a particular day, the factory produced x pieces of component P and y pieces of component Q. The profit from the sales of a piece of component P is RM15 and a piece of component Q is RM12. The production of the components per day is based on the following constraints: I II III a) : The total number of components produced is at most 500. : The number of component P produced is not more than three times the number of component Q : The minimum total profit for both components is RM4200 Write three inequalities, other than x 0 and y 0, which satisfy all the constraints. [3 marks] Using a scale of 2 cm to 50 components on both axes, construct and shade the region R which satisfy all the above constraints. [3 marks]

b)

10. Linear Programming

10

c)

Use your graph in part (b) to find (i) the minimum number of pieces of component Q if the number of pieces of component P produced on a particular day is 100 (ii) the maximum total profit per day [4 marks]

(6)

[ x + y 500, x 3 y ,15 x +12 y 4200,225, RM 7125] SPM 2008 P2 Q15 The members of a youth association plan to organize a picnic. They agree to rent x buses and y vans. The rental of a bus is RM 800 and the rental of a van is RM300. The rental of the vehicles for the picnics is based on the following constraints: I : The total number of vehicles to be rented is not more than 8 II: the number of buses is at most twice the number of vans III: the maximum allocation for the rental of the vehicles is RM4000 (a) Write three inequalities, other than x 0 and y 0, which satisfy all the above constraints [ 3 marks] (b) Using a scale of 2 cm to 1 vehicle on both axes, construct and shade the region R which satisfy all the above constraints. [ 3 marks] (c) Use the graph constructed in part (a) , to find (i) the minimum number of vans rented if 3 buses are rented (ii) the maximum number of members that can be accommodated into the rented vehicles if a bus can accommodate 48 passengers and a van can accommodate 12 passengers.

Answers: x + y 8, x 2 y,800 x + 300 y 4000, 2, (4,2) 216]


(7) An institution offers two types of Mathematics courses, Calculus and Statistics . The number of students taking Calculus course is x and the number of students taking Statistics course is y. The number of students taking the Mathematics courses is based on the following constraints: I:

[4 marks]

The ratio of the number of students taking Calculus course to the number of students taking Statistic course is not more than 80 : 20. II : The total number of students taking Mathematics courses is less than or equal to 80. III : The number of students taking Statistics course is at least 10 IV: (a) (b) (c) The number of students taking Calculus course is more than 20. Write four inequalities, other than x 0 and y 0,which satisfy all the above constraints. [4 marks] Using a scale of 2 cm to 10 students on both axes, construct and shade the region R which satisfies all of the above constraints. [3 marks] By using your graph from (b) ,find (i) the range of the number of students for Calculus course if the number of students for Statistics course is 20. (ii) the maximum examination fee that can be collected if the examination fees for Calculus and Statistics courses are RM 200 and RM 400 respectively. [3 marks]

10. Linear Programming

11

Answer:
(8)

x 80 , x + y 80, y 10, x > 20 , y 20 21 x 60 ,k=200x+400y, (21,59), RM27,800

A factory produces two components , A and B. In a particular day, the factory produced x pieces of component A and y pieces of component B. The production of the two components is based on the following constraints.: I : The total numbers of component is not more than 500. II : The number of component B produced is at most three times the number of component A, III : The minimum number of component B is 200. a) Write three inequalities, other than x 0 and y 0 , which satisfy all the above constraints. [ 3 marks] b) Using a scale of 2 cm to 50 components on both axes, construct and shade the region R which satisfies all the above constraints. [ 3 marks] c) Use your graph in part a), to find i. the maximum number of component A if the number of component B produced on a particular day is 300. [ 1 mark ] ii.The maximum total profit per day if RM 25 and RM 20 are the profit from the sales of component A and B respectively. [3 marks] Answer: x + y 500 , y 3 x , y 200 , 200, max point (300,200) , 25(300)+20(200)=11500 x participants and y participants took part in event A and event B of a fund raising telematch. Each participant of event A and event B donated RM40 and RM50 respectively. The following conditions are imposed. (i) Not more than 40 participants for event A (ii) At least 20 participants for event B (iii)The number of participants of event B is not more than twice the number of participants of event A. (iv) The total number of participants for both events is not more than 70. (a) Write an inequality for each condition above. (b) By using a scale of 2 cm to 10 units on both axes, construct and shade the region R that satisfies all the inequalities above. (c) Based on your graph, determine the maximum donation collected. [4 marks] [3 marks] [3 marks]

(9)

Answer: x 40, y 20, y 2 x, x + y 70 Donation = 40x +50y, (23, 46), RM3220


(10)

Table below shows the time needed for machine I and machine II to produce two types of

10. Linear Programming

12

electrical components P and Q in a certain factory. Electrical component P Q Machine I 4 minutes 8 minutes Machine II 10 minutes 4 minutes

The factory produces x component P and y component Q based on the following constraints: I II III Machine I can be operated for not more than 640 minutes in a day. Machine II must be operated for at least 400 minutes in a day. The number of components P produced must not be more than two times the number of component Q produced.

(a) State three inequalities, other than x 0 and y 0., which satisfy all of the above constraints [3 marks] (b) By using scales of 2 cm to 20 units on the x-axis and 2 cm to 10 units on the y-axis, draw and shade the region R which satisfy all the above constraints. [3 marks] (c) The profits made from selling each component P and component Q is RM 30 and RM20 respectively. (i) Given that 60 components Q have been produced, find the maximum number of component P that can be produced. [1 mark] (ii) calculate the maximum profit that can be made by the factory in a day.[3 marks] Answers [ 4 x + 8 y 640,10 x + 4 y 400, x 2 y , , 50, 3200]

10. Linear Programming

13

You might also like