Chapter10 Linear Programming
Chapter10 Linear Programming
ADDITIONAL MATHEMATICS
FORM 5
CHAPTER 10
LINEAR PROGRAMMING
3. To check the answer by Use coordinates (5, -1) to check the b) y > 4/5x - 3
substituting one point within answer. Steps Solution
the region into the Therefore, 4(5) 3(-1) =23(> 12). 1. Draw a solid straight line
inequalities. So the shaded region satisfies the for equation 3x 5y + 3 0
inequalities.
PRACTICE 10.1.1 A
Shade the region that is defined the inequality.
a) 3x 5y + 3 0
Steps Solution
1. Draw a solid straight line 2. Determine the region
for equation 3x 5y + 3 0 which define the equation
and shade.
EXERCISE 10.1.1
1. For each shaded region given, state the inequalities that Answers:
defined the region. 1a) y < 3x + 2 b) 4x 3y 3
\a) c) 3y + 5x -4 d) 5x > -y 1
Example 10.1.2
For each of the following, find the linear inequality that define the
shaded region.
a)
b)
b)
c)
For each of the following, find the linear inequality that define the
shaded region.
a)
Solutions:
a)
Steps Solution
1. Find a linear equation. Gradient = - y-intercept = 2
x-intercept -1
=2
Linear equation is y = 2x + 2
b)
2. Write the inequality that The region is defined by y 2x + 2.
defines the region.
b)
Steps Solution
1. Find a linear equation. The linear equation of the line
passing through (4,0) and (1,5) is
y-0 = 5-0 ; y = -5/3x + 20/3
x-4 1-4
5x + 3y = 20
Solutions:
2. Write the inequality that The region is defined by 5x + 3y < a)
defines the region. 20
Steps Solution
1. Find a linear equation.
PRACTICE 10.1.2 A
Solutions:
b) c)
Steps Solution
1. Find a linear equation.
Example 10.1.3
Shade and label R for the region which every point satisfies linear
inequalities y 3x, x + y > 5 and 6y x 6.
Steps Solution
b) 1. Draw solid straight line
for equation y = 3x , 6y x = Refer below
6 and a dashed straight line
for equation x + y = 5.
Steps Solution
1. Draw solid straight lines
for 2. Shade the regions which
equation ................................. satisfies all the linear
......... inequalities.
b)
EXERCISE 10.1.3
c)
Answer
a)
Example 10.1.4 the boundaries and write the shaded region is above the solid line
Determine the inequalities that define the shaded region in the linear inequalities to define y=0. The inequality is y 0.
graph below. the shaded region. L2: The equation is y = 2x. The
shaded region is below the solid line
y = 2x. The inequality is y 2x.
b)
2. Find the equation for all L1: The equation is y = 0. The
b)
Steps Solution
1. Determine the lines that The shaded region is bounded
bounded the shaded region. by ...... lines as shown below.
Solutions:
a)
Steps Solution
1. Determine the lines that The shaded region is bounded
bounded the shaded region. by ...... lines as shown below.
EXERCISE 10.1.4
Find the inequalities that define the shaded region R. a) The lines are x = 0, y = 0, y = -3/2x + 3 and y = -4/5x + 4.
a) The inequalities are x 0, y 0, y > -3/2x + 3 and y < -4/5x
+ 4.
b) The line are y = -1/2x + 1/2, y = -3/2x + 4 and y = x -1.
The inequalities are y -1/2x + 1/2, y -3/2x + 4 and y x
-1
c) The lines are y = -1, y =3x and y = 3/2x + 3/2.
The inequalities are y > -1, y > 3x and y 3/2x + 3/2.
b)
c)
Answer:
10.2 Notes of The Concept of Linear Programming 2. Determine variables The number of cake A = x
The number of cake B = y
1. Linear programming can be used to solve problems by using
graphs. The following are the steps. 3. Determine the inequalities Total flour used up is less than 10
a) Determine the two variables, x and y. kg = 10000 g;
b) Form a system of inequalities. therefore 500x + 300y 10 000
c) Draw the graph for each inequality. 5x + 3y 10..........(1)
d) Determine the region which satisfies all the inequalities.
e) Form an optimum function k = ax + by. Total sugar used up is less than 6 kg
f) Select a suitable value of k and draw the line ax + by = k. = 6000 g
g) With the use of ruler and set square, slide the line towards Therefore 400x + 150y 6000
the region to obtain the required optimum function. 8x + 3y 120.........(2)
Example 10.2.1
Form inequalities that define the constraints specified in the PRACTICE 10.2.1
following problems. Form inequalities that define the constraints specified in the
1. Mrs Ling wants to make two types of cakes, A and B, with 10 following problems.
kg of flour and 6 kg of sugar. Cake A requires 500 g of flour 1. A handicraft factory produces x units of hats and y units of
and 400 g of sugar while cake B requires 300 g of flour and baskets everyday. The productions follows the following
150 g of sugar. She makes x number of cake A and y number constraints.
of cake B. State all the inequalities apart from x 0 and y 0. I : The number of hats produced is not more than 50
Solution: units per day.
Steps Solution II : The total production is at least 150 units a day.
1. Understanding problem *Cake A need 500 g flour and 400 g III : The number of baskets is not more than two times
sugar the number of hat produced.
*Cake B need 300g flour and 150 g
sugar 2. Determine variables The number of hats = x
* Total flour Mrs Ling had= 10 kg The number baskets = y
Total sugar Mrs Ling had = 6 kg
*The total flour and sugar used up 3. Determine the inequalities I :
is less than the total sugar Mrs Ling
had. II
III
Answer:
1. I : x y 30
II : x + y 100
III : y < 50
2. I : x + y 200
II : x 2y
III : 3x + 2y 1000
Answer:
EXERCISES 10.2.2 1. I x > y
1. A pack of coffee powder contains a mixture of x g of grade A II x + y 10, x + y 12
coffee powder and y g of grade B coffee powder. Both types Graph:
of coffee powder are mixed based on the following
conditions:
I The amount of grade A coffee powder must be more
than grade B coffee powder.
II A pack of coffee powder is at least 10g but not more
than 12 g.
Write the inequalities that describe the conditions and hence,
construct and shade the region of feasible solutions.
Solution:
1. Determine the vertices
Solution from the graph
1. Determine the vertices The vertices are (2,1), (4,1), (2,6)
from the graph and (1,3)
1. Use the vertices in c =
2x + y
2. Use the vertices in c = At (2,1), c = 2(2) + 1 = 5
2x + y At (4,1), c = 2(4) + 1 = 9
At (2,6), c = 2(2) + 6 = 10 2. State the maximum
At (1,3), c = 2(1) + 3 = 5 and minimum value
3. State the maximum The maximum value of c = 10 of c
and minimum value The minimum value of c = 5
of c
Solution
1) Construct a graph based on the inequalities in the questions.
Answer
(i) y = 4x + c
At (4,2), 2=4(4) + c
c = -14
The lines are y = -x + 6, y = 2/3x + 6 and y = 4x 14
The inequalities are y -x + 6, y 2/3x + 6 and y 4x
14.
(ii) The vertices are (0,6), (4,2), and (6,10)
At (0,6) , Q = (0) + 6 = 6
At (4,2), Q = (4) + 2 = 4
At (6,10), Q = (6) + 10 =13
The maximum value of Q = 13
(iii) At (0,6) , R= 2(6) + 3(1) = 12
At (4,2), R = 2(2) + 3(4) = 16
At (6,10), R = 2(10) + 3(6) = 38 2) From the graph, the first pair of integers is (2,3) and the last
The minimum value of R = 12 pair of integers is (4,6)
3) The maximum value of x + y = 4 + 6 = 10
Answer
1(i)