5A04 Exercise E
5A04 Exercise E
x −4 −1 2
Review Exercise 4 (p. 4.4)
y 0 −1 −2
1.
2.
∵ The two straight lines intersect at (−2.5, −0.5).
∴ The solution is x = −2.5 and y = −0.5.
Activity
Activity 4.1 (p. 4.6)
Value of x + y –1 5 7
2. (a)
4. 3, −3
115
NSS Mathematics in Action (2nd Edition) 5A Full Solutions
Quick Practice
Quick Practice 4.5 (p. 4.16)
Quick Practice 4.1 (p. 4.8)
Draw the solid line 3 x − 2 y = 2 . y < 2
(a) Graphical representation of x − y ≤ 4 :
x 0 2 4 2 x + y ≥ 3
y −1 2 5
When x = 0 and y = 0,
3 x − 2 y = 3(0) − 2(0) = 0 ≤ 2
∴ The half-plane containing the test point (0, 0) together
with the boundary represents the solutions of the
inequality.
Graphical representation of 3x − 2y ≤ 2:
(b) Since x and y are integers, the required possible pairs are
represented by the dots in the figure below.
116
4 Linear Programming
117
NSS Mathematics in Action (2nd Edition) 5A Full Solutions
(b)
118
4 Linear Programming
(c) Let $C be the cost, then C = 15x + 10y. (c) Let $C be the total cost on hiring workers per day.
C = 300 x + 200 y + 500(10 − x) + 300(15 − y )
= 9500 − 200 x − 100 y
(b)
119
NSS Mathematics in Action (2nd Edition) 5A Full Solutions
Choose a point in the shaded region, say (3, 0). (i) From the graph, P attains its maximum at (4, −0.5).
When x = 3 and y = 0 , ∴ Maximum value of P = 2(4) + (−0.5) + 0.5 = 8
3 x + 2 y = 3(3) + 2(0) = 9 < 12 From the graph, P attains its minimum at (0, −0.5).
∴ The remaining inequality is 3 x + 2 y < 12 . ∴ Minimum value of P = 2(0) + (−0.5) + 0.5 = 0
Hence, the required system of inequalities is
x − 2 y ≥ 2 (ii) Since x and y are integers, the feasible solutions
3 x + 2 y < 12 are represented by the dots in the figure below.
.
x ≥ 0
y ≤ 0
2. (a)
3. Choose (1, 2) as the test point.
When x = 1 and y = 2,
−2x = −2(1) = −2 < 2
∴ The half-plane containing the test point (1, 2)
represents the solutions of the inequality.
Graphical representation of y > −2x:
(b)
120
4 Linear Programming
121
NSS Mathematics in Action (2nd Edition) 5A Full Solutions
2.
16. (a) Choose a point in the shaded region, say (0, 0).
2 y − 4 x = 2(0) − 4(0) = 0 ≤ 3
∴ The inequality is 2y – 4x ≤ 3.
4.
122
4 Linear Programming
x ≤ 1
9. The solutions of are represented by the shaded
y ≤ 3x + 1
region in the figure below.
14.
123
NSS Mathematics in Action (2nd Edition) 5A Full Solutions
15. Choose a point in the shaded region, say (1, 1). y < x
∵ 2x + 3y = 2(1) + 3(1) = 5 ≤ 6
19. The solutions of x + 2 y ≤ 6 are represented by the
∴ One inequality is 2x + 3y ≤ 6. 2 x + y ≥ 2
∵ x+y−1=1+1−1=1≥0
∴ One inequality is x + y − 1 ≥ 0. shaded region in the figure below.
∵ x=1≥0
∴ One inequality is x ≥ 0.
2 x + 3 y ≤ 6
∴ The system of inequalities is x + y − 1 ≥ 0 .
x ≥ 0
x + y ≤ 7 2 x + y < 2
17. The solutions of y > 3 x are represented by the shaded 21. (a) The solutions of x ≥ 0 are represented by the
y > 2 y > −2
region in the figure below. shaded region in the figure below.
124
4 Linear Programming
3 x − 2 y + 4 ≥ 0
23. (a) The solutions of 5 x + y − 28 < 0 are represented by
2 x + 3 y − 19 ≥ 0
the shaded region in the figure below.
6.
7. (a) Choose a point in the shaded region, say (0, 0). (c) (i)
∵ x − y − 2 = 0 − 0 − 2 = −2 ≤ 0
∴ One inequality is x − y − 2 ≤ 0.
∵ x = 0 ≥ −2
∴ One inequality is x ≥ −2.
∵ y=0≤3
∴ One inequality is y ≤ 3.
x − y − 2 ≤ 0
∴ The system of inequalities is x ≥ −2 .
y ≤ 3
(b) (i) Check the values of P = 3x − y at the three From the graph, P attains its maximum at (2, 5).
vertices. ∴ Maximum value of P = 13
At (5, 3), P = 3(5) − 3 = 12 From the graph, P attains its minimum at (1, 2).
At (–2, 3), P = 3(–2) − 3 = –9 ∴ Minimum value of P = 6
At (–2, –4), P = 3(–2) − (−4) = –2
∴ Maximum value of P = 12
(ii)
Minimum value of P = −9
8. (a) Choose a point in the shaded region, say (1, 2). From the graph, P attains its maximum at (0, 5).
∵ 7x + y = 7(1) + 2 = 9 ≥ 5 ∴ Maximum value of P = 15
∴ One inequality is 7x + y ≥ 5.
From the graph, P attains its minimum at (3, 2).
∵ 7x + 4y = 7(1) + 4(2) = 15 ≤ 34 ∴ Minimum value of P = −6
∴ One inequality is 7x + 4y ≤ 34.
3
∵ y = 2 ≥ and y = 2 ≤ 5 x ≥ 0
2
3 9. (a) The solutions of y ≥ −4 are represented
∴ One inequality is ≤ y ≤ 5 . 5 x + 4 y − 20 ≤ 0
2
7 x + y ≥ 5 by the shaded region in the figure below.
3
∴ The system of inequalities is ≤ y ≤ 5 .
2
7 x + 4 y ≤ 34
126
4 Linear Programming
−1 ≤ x ≤ 2
10. (a) The solutions of y ≤ 9 are represented by the
x + y ≥ 6
shaded region in the figure below.
1 ≤ x ≤ 2
11. (a) The solutions of y ≤ 2 are represented by the
x + 2 y ≥ 3
shaded region in the figure below.
Level 2
x − 2 y + 4 ≥ 0
x + 2 y − 6 ≤ 0
12. The solutions of are represented by the
x ≥ 0
y ≥ 0
shaded region in the figure below.
127
NSS Mathematics in Action (2nd Edition) 5A Full Solutions
x − y ≥ 0
15. The solutions of x + y ≥ 2 are represented by the
3 x + y ≤ 12
shaded region in the figure below.
19. (a) The shaded region is the common region of the left
half-plane of L1, the lower half-plane of L2, the upper
Check the values of P = x + y − 3 at the three vertices. half-plane of L3 and the upper half-plane of L4.
At (1, 0), P = 1 + 0 − 3 = −2 x ≤ 9
At (2, 4), P = 2 + 4 − 3 = 3 y ≤ 8
At (5, 6), P = 5 + 6 − 3 = 8 ∴ The system of inequalities is 1 .
y ≥ 3 x
∴ Maximum value of P = 8
y ≥ −7 x + 22
Minimum value of P = −2
L2 : y = 8 (1)
L
4 : y = − 7 x + 22 (2)
By substituting (1) into (2), we have
8 = −7 x + 22
x=2
∴ Coordinates of B = (2, 8)
128
4 Linear Programming
129
NSS Mathematics in Action (2nd Edition) 5A Full Solutions
(b) (i) Check the values of P = x + 3 y at the three (ii) Since x and y are integers, the feasible solutions
vertices. are the points indicated by the dots in the figure.
At (−2, −1), P = −2 + 3(−1) = −5
At (1.5, 2.5), P = 1.5 + 3(2.5) = 9
At (5, −1), P = 5 + 3(−1) = 2
∴ Maximum value of P = 9
∴ Minimum value of P = −5
From the graph, P attains its maximum at (2, 2). Exercise 4D (p. 4.44)
∴ Maximum value of P = 2 + 3(2) = 8 Level 1
From the graph, P attains its minimum at (–2, –1). x + y ≥ 30
∴ Minimum value of P = −2 + 3(−1) = −5 x > y
1. The constraints are:
x ≥ 0
y ≥ 0
y ≥ −2
23. (a) The solutions of y ≤ 2 x + 2 are represented by
4 y ≤ −14 x + 41 4 x + 6 y ≤ 150
the shaded region in the figure below. 2. The constraints are: x + y ≤ 20
x and y are non-negative integers.
After simplification, we have:
2 x + 3 y ≤ 75
x + y ≤ 20
x and y are non-negative integers.
6 x + 8 y ≥ 160
3. The constraints are: 4 x + 2 y ≥ 90
x and y are non-negative integers.
After simplification, we have:
3 x + 4 y ≥ 80
(b) (i) Check the values of P = 3 x + 2 y − 6 at the three
2 x + y ≥ 45
vertices. x and y are non-negative integers.
At (−2, −2), P = 3(−2) + 2(−2) − 6 = −16
At (1.5, 5), P = 3(1.5) + 2(5) − 6 = 8.5
2 x + 5 y ≤ 100
At (3.5, −2), P = 3(3.5) + 2(−2) − 6 = 0.5
14 30
∴ Maximum value of P = 8.5 4. The constraints are: x + y≥7
60 60
Minimum value of P = −16 x and y are non-negative integers.
After simplification, we have:
2 x + 5 y ≤ 100
7 x + 15 y ≥ 210
x and y are non-negative integers.
130
4 Linear Programming
32 x + 8 y ≥ 160
x ≤ y
7. (a) The constraints are:
x ≥ 0
y ≥ 0
After simplification, we have:
4 x + y ≥ 20
(c) Let $P be the profit, then P = 300x + 200y. x ≤ y
x ≥ 0
y ≥ 0
(b)
(b)
131
NSS Mathematics in Action (2nd Edition) 5A Full Solutions
8. (a) The constraints are: From the graph, C attains its minimum at (10, 3).
6 x + 2 y ≤ 24 ∴ The company should hire 10 buses A and
3 buses B.
4 x + 2 y ≤ 20
x and y are non-negative integers. ∴ The minimum cost = $[450(10) + 600(3)]
After simplification, we have: = $6300
3 x + y ≤ 12
Level 2
2 x + y ≤ 10
x and y are non-negative integers. 10. (a) The constraints are:
50 x + 60 y ≤ 800
(b) 50 x + 40 y ≤ 600
x ≥ 0
y ≥ 0
After simplification, we have:
5 x + 6 y ≤ 80
5 x + 4 y ≤ 60
x ≥ 0
y ≥ 0
9. (a) The constraints are: (c) Let $C be the profit from selling each vaccine.
Total profit of selling vaccines = $C(x + y)
30 x + 50 y ≥ 450
600 x + 300 y ≥ 6000
x and y are non-negative integers.
After simplification, we have:
3 x + 5 y ≥ 45
2 x + y ≥ 20
x and y are non-negative integers.
(b)
132
4 Linear Programming
(b)
From the graph, C attains its minimum at (4, 3). 13. (a) The constraints are:
∴ 4 kg of food P and 3 kg of food Q are required 1000 x + 1000 y ≤ 80 000
to minimize the cost.
1000 x ≥ 10 000
Total weight of the mixture = (4 + 3) kg = 7 kg
4 3 1000 y ≥ 20 000
∴ There should be kg of food P and kg of 1000 y ≤ 3(1000 x)
7 7
food Q in each kg of the mixture so as to After simplification, we have:
minimize the cost. x + y ≤ 80
x ≥ 10
12. (a) The constraints are:
25 x + 10 y ≤ 4000 y ≥ 20
y ≤ 3 x
25 x + 20 y ≤ 7000
40 x + 5 y ≤ 4000 (b)
x and y are non-negative integers.
After simplification, we have:
5 x + 2 y ≤ 800
5 x + 4 y ≤ 1400
8 x + y ≤ 800
x and y are non-negative integers.
133
NSS Mathematics in Action (2nd Edition) 5A Full Solutions
(c) Let $P be the earnings from 1000 m2 of land for After simplification, we have:
growing soybeans, then the earnings for growing 9 x + 5 y ≤ 100
corns are $2P.
Total earnings = $(2Px + Py) = $P(2x + y) 12 x + 15 y ≤ 200
x ≤ 8
y ≤ 10
x and y are non-negative integers.
(b)
(b)
134
4 Linear Programming
(b)
135
NSS Mathematics in Action (2nd Edition) 5A Full Solutions
3. When x = 0 and y = 0,
2x + 3 = 2(0) + 3 = 3
y=0
∴ y ≤ 2x + 3
∴ The shaded region in the figure represents the x + 3 y < 3
9. The solutions of are represented by the
solutions of the inequality y ≤ 2x + 3. 3 x + 2 y ≥ 2
shaded region in the figure below.
4. The solutions of x ≥ 2 can be represented by the right
half-plane of x = 2.
∴ Region III or IV represents the solution.
Choose (4, 4) as the test point.
When x = 4 and y = 4,
x + 2y = 4 + 2(4) = 12 ≰ 6
∴ The half-plane without the test point (4, 4)
represents the solutions of the inequality.
∴ Region IV in the figure represents the solutions of
10. (a) Choose a point in the shaded region, say (0, 0).
x ≥ 2 ∵ x+y+2=0+0+2=2
.
x + 2 y ≤ 6 ∴ One inequality is x + y + 2 ≥ 0.
∵ 3x − y + 2 = 3(0) − 0 + 2 = 2
5. Since x and y are non-negative integers, the required ∴ One inequality is 3x − y + 2 ≥ 0.
possible pairs are represented by the dots in the figure ∵ 3x + y − 2 = 3(0) + 0 − 2 = −2
below. ∴ One inequality is 3x + y − 2 ≤ 0.
x + y + 2 ≥ 0
∴ The system of inequalities is 3 x − y + 2 ≥ 0 .
3 x + y − 2 ≤ 0
136
4 Linear Programming
(ii) Check the values of P = −2 x + y − 1 at the three 6. Choose a point in the shaded region, say (0, 1).
vertices. When x = 0 and y = 1 ,
At (0, 2), P = −2(0) + 2 − 1 = 1 −2 x − 3 y + 4 = −2(0) − 3(1) + 4 = 1 > 0
At (−1, −1), P = −2(−1) + (−1) − 1 = 0 ∴ −2 x − 3 y + 4 > 0
At (2, −4), P = −2(2) + (−4) − 1 = −9 ∴ The required inequality is −2 x − 3 y + 4 > 0 .
∴ Maximum value of P = 1
Minimum value of P = −9 x − y > −1
7. The solutions of are represented by the
x + y ≥ 3
shaded region in the figure below.
Revision Exercise 4 (p. 4.54)
Level 1
1. When x = 0 and y = 0,
x − 1 = 0 − 1 = −1 ≤ 0
∴ The half-plane containing the test point (0, 0)
together with the boundary represents the solutions of
the inequality.
y ≥ 3x
8. The solutions of are represented by the
x + 2 y < 2
2. When x = 0 and y = 0,
shaded region in the figure below.
−2 x + 4 = −2(0) + 4 = 4 > 0
∴ The half-plane containing the test point (0, 0)
represents the solutions of the inequality.
3. When x = 0 and y = 0,
3x − 2y = 3(0) + 2(0) = 0 ≥ −1
x − y − 6 < 0
∴ The half-plane containing the test point (0, 0)
together with the boundary represents the solutions of 9. The solutions of x ≥ 1 are represented by the
the inequality. y ≥ −2
shaded region in the figure below.
137
NSS Mathematics in Action (2nd Edition) 5A Full Solutions
11. Choose a point in the shaded region, say (4, 2). 16. The solutions of 4 x − 3 y < 12 are represented by the
∵ x+3=4+3=7 shaded region in the figure below.
y=2
∴ One inequality is y ≤ x + 3.
∵ 6 − 3x = 6 − 3(4) = −6
y=2
∴ One inequality is y > 6 − 3x.
y ≤ x + 3
∴ The system of inequalities is .
y > 6 − 3x
138
4 Linear Programming
3 x − 2 y < 6 25.
20. The solutions of are represented by the
4 x + y > 3
shaded region in the figure below.
2 x + 4 y − 3 ≤ 0
From the graph, P attains its maximum at (3, 1).
22. The solutions of 2 x + 3 y + 4 ≥ 0 are represented by the
x ≥ −3 ∴ Maximum value of P = 2(3) − 3(1) + 8 = 11
shaded region in the figure below. From the graph, P attains its minimum at (1, 3).
∴ Minimum value of P = 2(1) − 3(3) + 8 = 1
x ≤ 7
27. (a) The solutions of y ≤ 6 are represented by the
x + y − 8 ≥ 0
shaded region in the figure below.
139
NSS Mathematics in Action (2nd Edition) 5A Full Solutions
(ii) Check the values of Q = −3 x + y at the three 30. (a) The constraints are:
vertices. 3 x + 2 y ≤ 40
At (2, 6), P = −3(2) + 6 = 0
x + 2 y ≤ 24
At (7, 6), P = −3(7) + 6 = −15 x and y are non-negative integers.
At (7, 1), P = −3(7) + 1 = −20
∴ Maximum value of P = 0 (b)
Minimum value of P = −20
y ≤ 1
28. (a) The solutions of x + y ≥ 1 are represented by the
x − 5 y ≤ 8
shaded region in the figure below.
(b) (i) From the graph, P attains its maximum at (13, 1).
∴ Maximum value of P = 13 − 2(1) = 11
From the graph, P attains its minimum at (0, 1).
∴ Minimum value of P = 0 − 2(1) = −2
(b)
140
4 Linear Programming
From the graph, C attains its minimum at (6, 5). (c) Let $C be the cost, then C = 160x + 75y.
∴ Machines P and Q should operate for 6 hours
and 5 hours per day respectively so as to
minimize the cost.
(b)
141
NSS Mathematics in Action (2nd Edition) 5A Full Solutions
(b)
142
4 Linear Programming
(b) (i)
39. (a)
L3 : x + y = 5 (1)
L4 : 2 x − y + 2 = 0 (2)
(1) + (2) : 3 x + 2 = 5
x =1
143
NSS Mathematics in Action (2nd Edition) 5A Full Solutions
By substituting x = 1 into (1), we have (ii) Check the values of P = −2 x + y + 1 at the three
1+ y = 5 vertices.
y=4 At (0, 4), P = –2(0) + 4 + 1 = 5
∴ Coordinates of B = (1, 4) At (−6, −8), P = –2(–6) + (−8) + 1 = 5
At (6, 0), P = –2(6) + 0 + 1 = –11
By substituting x = 0 into (2), we have ∴ Maximum value of P = 5
2(0) − y + 2 = 0
Minimum value of P = −11
y=2
∴ Coordinates of C = (0, 2) −2 x + y ≥ 0
44. (a) The solutions of x + y ≤ 4 are represented by the
(c) Check the values of P = 4x + y at the four vertices. y ≥ 0
At O(0, 0), P = 4(0) + 0 = 0
shaded region in the figure below.
At A(5, 0), P = 4(5) + 0 = 20
At B(1, 4), P = 4(1) + 4 = 8
At C(0, 2), P = 4(0) + 2 = 2
∴ Maximum value of P = 20
Minimum value of P = 0
(b) (i) Choose a point in the shaded region, say (0, 0).
∵ 2x − 3y = 2(0) − 3(0) = 0 ≤ 12
∴ One inequality is 2x − 3y ≤ 12.
∵ 2x + 3y = 2(0) + 3(0) = 0 ≤ 12
∴ One inequality is 2x + 3y ≤ 12.
∵ 2x − y = 2(0) − 0 = 0 ≥ −4 (b) (i) Check the values of P = −7x + 4y at the four
∴ One inequality is 2x − y ≥ −4. vertices.
∴ The system of inequalities is At (0, 4), P = −7(0) + 4(4) = 16
At (2, 5), P = −7(2) + 4(5) = 6
2 x − 3 y ≤ 12
At (6, 5), P = −7(6) + 4(5) = −22
2 x + 3 y ≤ 12 . At (5, 1), P = −7(5) + 4(1) = −31
2 x − y ≥ −4 ∴ Maximum value of P = 16
Minimum value of P = −31
144
4 Linear Programming
(b)
145
NSS Mathematics in Action (2nd Edition) 5A Full Solutions
(b)
146
4 Linear Programming
(b)
147
NSS Mathematics in Action (2nd Edition) 5A Full Solutions
3. Answer: D
Choose (1, 0) as the test point.
When x = 1 and y = 0,
x+y=1+0=1≥0
x−y=1−0=1≥0
∴ (1, 0) is one of the solutions of the system.
∴ The answer is D.
∴ There are 7 ordered pairs (x, y) which satisfy the
system of inequalities.
4. Answer: D
Choose (4, −2) as the test point.
9. Answer: C
When x = 4 and y = −2,
L1 : x − 2 y + 12 = 0 (1)
2x + y = 2(4) + (−2) = 6 ≥ 0
x − 2y − 4 = 4 − 2(−2) − 4 = 4 ≥ 0 L2 : y = − x + 9 (2)
∴ (4, −2) is one of the solutions of the system. By substituting (2) into (1), we have
∴ Region IV, which contains (4, −2), is the answer. x − 2(− x + 9) + 12 = 0
x + 2 x − 18 + 12 = 0
5. Answer: A 3x = 6
Since x ≤ 2, regions I and II may be the answer.
Equation of the line passing through (0, 4) and (4, 0): x=2
y−4 0−4 By substituting x = 2 into (2), we have
= y = −2 + 9
x−0 4−0
y − 4 = −x =7
∴ The intersection of L1 and L2 is (2, 7).
x+ y =4
By substituting x = 0 into (1), we have
Consider x + y ≥ 4. 0 − 2 y + 12 = 0
Use test point (1, 1), we have
x+y=1+1=2≱4 y=6
∴ Region I, that does not contain (1, 1), is the answer. ∴ L1 intersects the y-axis at (0, 6).
By substituting y = 0 into (2), we have
6. Answer: D 0 = −x + 9
∵ The shaded region is the common region of the lower
x=9
half-plane of y = 3, the upper half-plane of x + y = 0,
∴ L2 intersects the x-axis at (9, 0).
i.e. y = −x and the upper half-plane of x – y + 3 = 0,
Check the values of P = x + 2 y − 3 at the four vertices.
i.e. y = x + 3.
At (0, 0), P = 0 + 2(0) − 3 = −3
y ≤ 3
At (0, 6), P = 0 + 2(6) − 3 = 9
∴ The system of the inequalities is y ≥ − x ,
y ≥ x + 3 At (9, 0), P = 9 + 2(0) − 3 = 6
At (2, 7), P = 2 + 2(7) − 3 = 13
y ≤ 3 ∴ Maximum value of P = 13
i.e. y ≥ − x .
x − y ≤ −3
10. Answer: A
Check the values of C = px + qy – 2 at the four vertices.
7. Answer: C At (−p, −q), C = p(−p) + q(−q) – 2 = − p2 − q2 − 2
∵ The shaded region is in the right half-plane of x = −3 . At (−q, p), C = p(−q) + q(p) – 2 = −2
∴ a ≥ −3 At (−p, q), C = p(−p) + q(q) – 2 = −p2 + q2 − 2
∴ I must be true. At (p, q), C = p(p) + q(q) – 2 = p2 + q2 − 2
∵ The shaded region is in the lower half-plane of ∵ p2 > 0 and q2 > 0
y = −2 x − 2 . ∴ − p2 − q2 − 2 is the minimum.
∴ b ≤ −2a − 2 ∴ C attains its minimum at (−p, −q).
2a + b + 2 ≤ 0
∴ II may not be true.
∵ The shaded region is in the upper half-plane of
1 32
x − 5 y = 32 , i.e. y = x − .
5 5
1 32
∴ b≥ a−
5 5
5b − a + 32 ≥ 0
∴ III must be true.
∴ The answer is C.
148
4 Linear Programming
Exam Focus 2. (a) The shaded region is the common region of the left
half-plane of x = 7, the lower half-plane of
Exam-type Questions (p. 4.68) 4
4 x − 3 y = 0 , i.e. y = x and the upper half-plane of
3
1. (a) ∵ The x-intercept and the y-intercept of L1 are both
4 40
equal to 4. 4 x + 3 y − 40 = 0 , i.e. y = − x + .
∴ Equation of L1: 3 3
y−4 0−4 x ≤ 7
=
x−0 4−0 ∴ The system of inequalities is 4 x − 3 y ≥ 0 .
y−4 4 x + 3 y − 40 ≥ 0
= −1
x
y = −x + 4 (b) (i) The constraints are:
∵ L1 ⊥ L 2 20 x ≤ 140
−1 20 x ≥ 15 y
∴ Slope of L2 =
slope of L1 20 x + 15 y ≥ 200
−1 x and y are non-negative integers.
=
−1 After simplification, we have:
=1 x ≤ 7
∵ L2 passes through (−2, −1).
4 x − 3 y ≥ 0
∴ Equation of L2:
4 x + 3 y − 40 ≥ 0
y − (−1) x and y are non-negative integers.
=1
x − (−2)
Let the total cost be $C,
y +1 then C = 5000x + 4000y.
=1
x+2 −5000 5
y = x +1 Slope of 5000x + 4000y = 0 is , i.e. −
4000 4
4
(b) Choose a point in the shaded region, say (0, 0). Slope of 4 x + 3 y − 40 = 0 is −
3
∵ y = 0 ≥ −1
∵ Slope of 5000x + 4000y = 0 is less negative
∴ One inequality is y ≥ −1.
than that of 4 x + 3 y − 40 = 0 .
∵ −x + 4 = −(0) + 4 = 4
∴ 5000x + 4000y = 0 is less steeper than
y=0
4 x + 3 y − 40 = 0 .
∴ One inequality is y ≤ −x + 4.
∵ x+1=0+1=1 Therefore, refer to the graph given in (a),
C attains its minimum at point A.
y=0
∴ One inequality is y ≤ x + 1.
y ≥ −1
∴ The system of inequalities is y ≤ − x + 4 .
y ≤ x +1
L1 : y = − x + 4 (1)
(c) L2 : y = x + 1 (2)
L : y = −1 (3) By substituting x = 7 into 4 x + 3 y − 40 = 0 ,
3
By substituting (3) into (1), we have we have
−1 = − x + 4 4(7) + 3 y − 40 = 0
x=5 y=4
∴ One of the vertices is (5, −1). ∴ The coordinates of A are (7, 4).
(2) − (1): Minimum cost = $[5000(7) + 4000(4)] = $51 000,
0 = 2x − 3 which is already over $50 000.
Hence, the manager’s claim is correct.
x = 1.5
By substituting x = 1.5 into (1), we have (ii) The factory requires at least 200 units of the
y = −1.5 + 4 plastic, therefore,
= 2.5 200
supplier A has to provide at least = 10 boxes
∴ One of the vertices is (1.5, 2.5). 20
Check the values of P = x + 2y at the three vertices. of the plastic for the factory.
At (5, −1), P = 5 + 2(−1) = 3 The cost = $5000(10) = $50 000
At (−2, −1), P = −2 + 2(−1) = −4 ∴ The total cost will be decreased.
At (1.5, 2.5), P = 1.5 + 2(2.5) = 6.5
∴ The maximum value of P is 6.5.
∴ Michael’s claim is correct.
149
NSS Mathematics in Action (2nd Edition) 5A Full Solutions
3. Answer: C 7. Answer: C
a By substituting x = 0 into equation of L1, we have
The slope of ax + by = 0 is − .
b 0 − 2y + 6 = 0
∵ a, b > 0 y=3
∴ The slope of the line ax + by = 0 is negative, and the ∴ One of the vertices is (0, 3).
line slopes downwards. By substituting y = 0 into equation of L2, we have
Choose (0, 1) as the test point. 2x + 0 − 8 = 0
When x = 0 and y = 1, x=4
ax + by = a(0) + b(1) = b > 0
∴ One of the vertices is (4, 0).
∴ The half-plane containing the test point (0, 1)
represents the solutions of the inequality. L1 : x − 2 y + 6 = 0 (1)
∴ The answer is C. L2 : 2 x + y − 8 = 0 (2)
(1) × 2 − (2):
4. Answer: A
−4 y + 12 − ( y − 8) = 0
The shaded region is the common region of the lower half
plane of x + y = 2, i.e. y = 2 − x , the lower half-plane of − 5 y + 20 = 0
y = x and the upper half-plane of y = 0. y=4
y ≤ −x − 2 By substituting y = 4 into (1), we have
x − 2(4) + 6 = 0
∴ The system of inequalities is y ≤ x ,
y ≥ 0 x=2
∴ One of the vertices is (2, 4).
x + y ≤ 2 Check the values of 3 x + 2 y − 4 at the four vertices.
i.e. y ≤ x . At (0, 0), 3(0) + 2(0) − 4 = −4
y ≥ 0
At (4, 0), 3(4) + 2(0) − 4 = 8
At (0, 3), 3(0) + 2(4) − 4 = 4
5. Answer: C At (2, 4), 3(2) + 2(4) − 4 = 10
−4 ≤ x ≤ 0 ∴ Maximum value = 10
∵ The shaded region of is the common
− 5 ≤ y ≤ 0 Minimum value = −4
region of the right half-plane of x = −4, the left ∴ The answer is C.
half-plane of x = 0, the upper half-plane of y = −5 and
the lower half-plane of y = 0. Investigation Corner (p. 4.73)
∴ Regions II, IV and VI may be the solution.
1. The constraints are:
1
∵ x − 2 y ≥ 0 , i.e. y ≤ x 5 x + 10 y ≤ 800
2
1 x ≤ y
∴ The lower half-plane of y = x , i.e. x − 2 y = 0 is x and y are non-negative integers.
2
the solution of the inequality x − 2 y ≥ 0 . After simplification, we have:
∴ Regions IV and VI represent the solution of x + 2 y ≤ 160
x − 2 y ≥ 0 x ≤ y
x and y are non-negative integers.
− 4 ≤ x ≤ 0 .
− 5 ≤ y ≤ 0
2. Let the daily profit be $P, then P = 15x + 25y.
6. Answer: D
The point (x, y) lying outside R does not satisfy one of the
0 ≤ x ≤ 5
y ≥ 0
inequalities in the system .
x + 2 y ≤ 15
2 x − y ≤ 10
When x = 4 and y = 6,
x + 2 y = 4 + 2(6) = 16 > 15 ,
which does not satisfy the inequality x + 2 y ≤ 15 .
∴ (4, 6) lies outside R.
150
4 Linear Programming
3. (a) When D = 1,
the daily profit, P = 15x + (25 − 1)y
= 15x + 24y
151