Module 20 Linear Programing
Module 20 Linear Programing
com
SPM
ADDITIONAL MATHEMATICS
FORM 5
MODULE 16
LINEAR PROGRAMMING
http://mathsmozac.blogspot.com
http://sahatmozac.blogspot.com
Page
3
3-8
9-11
12 15
16 13
18 -19
16.7 Answers
20 25
http://mathsmozac.blogspot.com
1
http://sahatmozac.blogspot.com
16.2 Identify and shade the region that satisfies several inequalities
(a) A region is said to satisfy a certain inequality if each point in the region satisfies
the inequality.
(b) When the given inequality is ax by c 0 or ax by c 0 the region above
the straight line ax by c 0 must be shaded.
y
2
(c) A solid line ( _________ ) line is used for an inequality which involves the sign
or and a dashed line ( _ _ _ _ ) is used for an inequality which involves the sign > or <.
http://mathsmozac.blogspot.com
2
http://sahatmozac.blogspot.com
-5
-2
-4
-6
-8
Example 1
Shade the region which satisfies the inequality 2 x 3 y 6 .
Solution
Step 1
Draw the straight line 2 x 3 y 6 , determine the x intercept and y intercept.
.x
y
0
2
3
0
Step 2
Since the inequality is , a full line must be drawn and the region above the straight line
2 x 3 y 6 must be shaded.
http://mathsmozac.blogspot.com
3
http://sahatmozac.blogspot.com
2x+3y6
2
-5
10
2x+3y=6
-2
-4
Example 2
Shade the region which satisfies the inequality 5 x 3 y 15 0 .
Solution
Step 1
Draw the straight line 5 x 3 y 15 0 , determine the x intercept and y intercept.
.x
Y
0
-5
-3
0
Step 2
Since the inequality is < , a dashed line must be drawn and the region below the straight
line 5 x 3 y 15 0 must be shaded.
y
6
A
-10
-5
-3
-2
-4
-5
-6
-8
http://mathsmozac.blogspot.com
4
http://sahatmozac.blogspot.com
Example 3
Shade the region which satisfies the inequality 3 x 2 y 6 .
Solution
Step 1
Change the coeffient of y on the left hand side to a positive value.
3x 2 y 6
Change the direction of
3 x 2 y 6
the inequality when the
sign is changed
Step 2
Draw the line 3 x 2 y 6 ,determine the x intercept and y intercept.
.x
y
0
-3
2
0
Step 3
Since the inequality is , a full line is drawn and the region above this line is shaded.
8
-5
-2
-4
-6
-8
http://mathsmozac.blogspot.com
5
http://sahatmozac.blogspot.com
Exercise 1
1.
Draw and shade the region which satisfies the following inequalities:
(a)
y 3 2x
(b) 2 y x 6
(c)
4 y x 20
(d) 3 y 18 2 x
2.
Draw and shade the region R which satisfies the following inequalities :
(a)
x 5 , 2 y x 2 and 4 x 5 y 20
http://mathsmozac.blogspot.com
6
http://sahatmozac.blogspot.com
(b)
y 1 , x y 5 and 5 x 2 y 10
3. Write down three inequalities which define the shaded region R in the diagrams below
(a)
y
(3,6)
R
0
Answer : ..
(b)
(2,7)
R
3
Answer : ..
http://mathsmozac.blogspot.com
7
http://sahatmozac.blogspot.com
a
b
c
d
e
f
g
h
Mathematical Expressions
y greater than x
y less than x
y not more than x
y not less than x
The sum of x and y is not more than k
The minimum value of y is k
The maximum value of y is k
y is at least k times the value of x
Inequality
yx
yx
yx
yx
x yk
yk
yk
y kx
Activity 2
1. The cost of a book is 50 cents and that of a pen is RM 1.30. A student wants to buy x
books and y pens with the following conditions.
I :
II:
III:
Write down the three inequalities other than x 0 and y 0 that satisfy all the above
conditions.
Answer :
2. A transport company delivers vegetables and flowers using lorries and vans. Each
lorry carries 40 boxes of flowers and 50 boxes of vegetables. Each van carries 20
boxes of flowers and 40 boxes of vegetables. In a day, the company uses x lorries and
y vans. The following conditions must be satisfied.
I
II
III
(a) Write down three inequalities other than x 0 and y 0 that satisfy all the above
conditions.
Answer :
http://mathsmozac.blogspot.com
8
http://sahatmozac.blogspot.com
(b) Using a scale of 2 cm to 5 units on both axes, draw three lines which define the
region satisfying all three inequalities. Shade this region.
http://mathsmozac.blogspot.com
9
http://sahatmozac.blogspot.com
3.
(a)
(b)
Answer
(a) ..
(b)
http://mathsmozac.blogspot.com
10
http://sahatmozac.blogspot.com
http://mathsmozac.blogspot.com
11
http://sahatmozac.blogspot.com
Solution
(a)
150 x 60 y 900
5 x 2 y 30
60 x 40 y 480
3 x 2 y 24
.. 1
.
2
http://mathsmozac.blogspot.com
12
http://sahatmozac.blogspot.com
0
15
6
0
0
12
8
0
12
5 x 2 y 30
10
x 5
5,4
4
3 x 2 y 24
2
10
15
20
-2
http://mathsmozac.blogspot.com
13
http://sahatmozac.blogspot.com
RM 60 6
RM 360
Exercise 3
1.
I
II
III
The company has made a survey on x rural people and y people from the town.
(a)
Write down three inequalities which satisfy all the above conditions.
(b)
Using a scale of 1 cm to 100 people on both axes ,draw three lines which define
the region satisfying all three inequalities. Shade this region.
(c)
Answer :
(a)
(c)
http://mathsmozac.blogspot.com
14
http://sahatmozac.blogspot.com
http://mathsmozac.blogspot.com
15
http://sahatmozac.blogspot.com
16.5
(ii) the maximum total fees that can be collected if the fees per month for
courses P and Q are RM50 and RM60 respectively.
4marks
Answer :
(a)
(c)
http://mathsmozac.blogspot.com
16
http://sahatmozac.blogspot.com
http://mathsmozac.blogspot.com
17
http://sahatmozac.blogspot.com
16.6 Assesment
Encik Ahmad sells two types of fried noodles. A pack of plain noodles uses 120 g of
prawns and 300 g of beef, while the special fried noodles uses 240 g of prawns and 200 g
of beef. Encik Ahmad has 8.4 kg of prawns and 12 kg beef to make x packs of plain
nodles and y packs of special noodles.
The number of packs for plain noodles cannot be more than two times the number of
special noodles.
(a) Write down 3 inequalities other than x 0 and y 0 , that satisfy all of the above
constraints.
2marks
(b) Using a scale of 2 cm to 10 units for x axis and 2 cm for 5 units for the y axis ,
draw all the three lines for the inequalities. , construct and shade the region R that
satisfies all the above constraints.
3marks
(c) Use the graph in (b) to answer the following questions :
(i) If Encik Ahmad fries the special noodles 10 packs more than the plain noodles,
state the maximum packs of plain noodles and maximum number of sspecial
noodles cooked.
(ii) What is the maximum profit obtained if a pack of plain noodles and a pack of
special noodles cost RM5 and RM7 each.
5marks
Answer
(a) ..
(c)
http://mathsmozac.blogspot.com
18
http://sahatmozac.blogspot.com
http://mathsmozac.blogspot.com
19
http://sahatmozac.blogspot.com
16.7 Answers
Exercise 1
1 (a)
y 3 2x
(b)
-2
_
8
2y x 6
-10
-5
10
-2
-4
-6
-8
http://mathsmozac.blogspot.com
20
http://sahatmozac.blogspot.com
-20
-10
10
20
4y x20
-2
-4
-6
-8
(c)
3 y 18 2 x
-15
-10
-5
10
15
20
-2
-4
-6
(d)
-8
2 (a) x 5, 2 y x 2, 4 x 5 y 20
(b)
y 1, x y 5,5 x 2 y 10
x5
6
2y x 2
-5
R
5
-2
10
4 x 5 y 20
http://mathsmozac.blogspot.com
21
http://sahatmozac.blogspot.com
x y 5
y 1
5
5 x 2 y 10
-2
3. (a) x 3, y 0, y 2 x
(b)
y 2 x 3,3 x 5 y 15, 7 x 3 y 35
Exercise 2
1. x 3, x y 12,5 x 13 y 100
2. 40 x 20 y 800,50 x 40 y 600, y 2 x
Activity 3
1.(a) x 500, y x , x y 1500
(c) (i) Cost 1.5 x 1.0 y . Draw the line 1.5 x y 150 . ( 150 = 1.5 X 1.0 X 100 )
From the graph, the minimum cost occurs when x 500, y 500
1.5(500) 1.0(500)
Therefore the minimum cost
RM 1250
(ii)
Area
Rural ( x person)
Town ( y person)
Payment
received
RM 2.00
RM 2.00
Cost
Profit
RM 1.50
RM 1.00
RM 0.50
RM 1.00
http://mathsmozac.blogspot.com
22
http://sahatmozac.blogspot.com
1600
x 500
1400
1200
yx
1000
max.(500,1000)
800
600
x y 1500
min .(500,500)
400
200
0.5 x y 500
150
0
100
200
400
600
800
1000
http://mathsmozac.blogspot.com
23
1200
140
http://sahatmozac.blogspot.com
0
100
y 4x
100
0
.x
y
0
0
10
40
y x5
.x
y
0
5
Assesment Test
(a)
or
1
x
2
(b)
Rujuk Lampiran B
(c)(i)
y = x + 10
x maximum = 16 and y maximum = 26
Plain noodles = 16 packs
Special noodles = 26 packs
http://mathsmozac.blogspot.com
24
15
20
http://sahatmozac.blogspot.com
1(b)
60
55
50
45
40
y = x + 10
35
30
y = 1x
3
25
(24, 23)
20
R
15
x + 2y = 70
10
3x + 2y = 120
10
20
30
40
50
60
http://mathsmozac.blogspot.com
25
70
x
80