Form 4 Mathematics – LINEAR PROGRAMMING msomimaktaba, November 13, 2018August 17, 2024 LINEAR PROGRAMMINGSIMULTANEOUS EQUATIONS Solving simultaneous equations graphically, the solution is given by the point of intersection of the two lines.Examples 1. Solve graphically the following simultaneous equations.2x – y = 13x+3y =6 Equation 1 2x – y = 1X intercept, y= 02x – y = 12x – 0 = 1x = (, 0)Y intercept, x = o2x – y = 1y = 1(0, -1)Equation 2.3x + 3y = 6X intercept,Y=0 3x-0 = 6X = 2(2,0)Y intercept,X=00 + 3y = 63Y = 6y = 2(0,2)Solution ( 1,1) i.e x = 1 and y = 1.2. Ali paid 34 shillings for 10 oranges and 35 mangoes. Moshi went to the same fruit market and paid 24 shillings for 16 oranges and 18 mangoes . what was the price of a mango and for an orange.Solution:Let X be a price of an orangeLet y be the price of mangoes10X + 35 Y = 3416X + 18 Y = 24Solution:380 y = 314Y = 0.810X + 35y = 3410X + 35 x 0.8 = 3410X + 28 = 34X= 0.6X intercept,Y=010 X + 35 Y = 3410X + 0 = 3410 X = 34X = 3.4 (3.4,0)Y intercept , X=00 + 35 Y = 3435Y = 34Y = 1 (0,1)X intercept Y =016X + 18 Y = 2416X = 24X = 1.5 (1.5, 0)Y intercept X= 018Y = 24Y = 1.3* (0 ,1.3) x = 0.6 y = 0.8 ...Price of an orange is 0.6sh and price of a mango is 0.8sh.3. 7 X + 3Y + 12 = 05X – 2Y + 2 = 0Solution:7X + 3Y + 12 = 0X intercept y=07X + 0 = -12X = Y intercept X=00 + 3Y = -123Y = -12Y = 45X – 2Y = -2X intercept y=05X- 0 = -2X= Y intercept X= 00 – 2y = -2Y = 14. 2c + 2d = c – d2d + 2 = c + 1Solution:2c + 2d = c – d2c –c + 2d + d = 0c + 3d =0…….(1)2d + 2 = c + 12d + 2- c-1= 02d – c + 1= 0 ……..(2)c + 3d = 0c intercept, d = 0c = 0d intercept , c = 03d = 0d = 02d – c = -1C intercept, d= 0-c = -1c = 1d intercept , c= 00 – 2d = 1d = – d = (0, – 0.5)Solution (0.6, -0.2)By substitution methodc + 3d = 0 ——-(i)c – 2d = 1——–(ii)equation;c = -3dc -2d = 1c – 2(-0.2) = 1c + 0.4 = 1 – 0.4c = 0.6:. c = 0.6 , d = -0.2LINEAR INEQUALITIESWhen a linear equation of the form ax + by + c = 0 is represented on a coordinate plane, it separates the plane into two disjoint sets. E.g. y = 4 separate the plane into two disjoint sets The points above the line y= 4 satisfy the relation y>4, while those in the lower half plane satisfy the relation y < 4.SHADING OF REGIONS When drawing the inequality y > 4, first draw the line of separation to separate the plane y>4, and the plane y< 4 which is y = 0, Then shade the unwanted region. Note: The shaded region together with the line y = 4 represents y > 4Boundaries of half- plane Equations are used to describe the boundaries of half- plane. The boundary lines are continuous to include points on the line when the inequality is written using the sign > or < where as the boundary lines are dotted if the inequality is written in the of form < or >. E.g. Draw and show the half- plane representing the inequality 4x + 2y > 8 Feasible Region Feasible region is the region of intersection of all the inequality given in a problem. In order the feasible region to be seen clearly the unwanted region of the inequalities should be shaded leaving the required region clear. Example 1. Show the feasible region which satisfy the following inequalities 3x + 3y > 12 and y – x < 2 Solution 3x + 3y > 12, (0, 4) (4, 0) y – x < 2, (0, 2) (-2, 0) From 3x + 3y > 12, after drawing the line of separation i.e 3x + 3y = 12, The point above or below the line is used to test which region satisfy the inequality. e.g. (0, 0) the origin 3(0) + 3(0) > 12 0> 12 Not true ... The region below the line does not satisfy the inequality instead. The opposite region satisfies.The region below is shaded to live the wanted region clear.For the case of y – x < 2 testing using the origin (0, 0) 0 – 0 < 2 0 < 2 (it is true) The region below is the wanted region, therefore we shade the region above.Example 2 A bread dealer can buy up to 150 loaves if bread . premium bread costs 200/= per loaf and royal bread costs 280/= per loaf. The dealer can spend no more than 36000/= in the business. Premium bread sells at a profit of 40/= per loaf while royal bread sells at a profit of 50% per loaf . how many loaves of bread of each type should the dealer buy in order to generate maximum profit? Solution:Let X be the no. of premium bread.Let Y be the no of Royal bread200X + 250Y ≤ 36000X + Y ≤ 150X ≥ 0Y ≥ 0X intercept, Y=0200X+ 250Y = 36,000200X = 36000X = 180(180,0)X intercept, Y = 0X + Y = 150X = 150(150, 0)Y intercept, X = 00 + 250 Y = 36,000250Y = 36,000Y = 144( 0, 144)Y intercept, X = 00 + Y = 150Y = 150objective function40X + 50/100 x 250Y = Maximum profit40X + 125 Y = Maximum profitA (6, 0)B (144, 0)C (0,144)40X + 125Y = Maximum profit40 + 125X144 =18,040 The Corner points A (0, 0) C (30, 120) B (0, 144) D (150, 0)f(x, y) = 40x + 125y maximizef(0, 0) = 40x + 125y = 0 f(0, 144) = 40x + 125y = 18000 f(30, 144) = 40x + 125y = 15120 f(150, 0) = 40x + 125y = 6000optimal point is (0, 144) ... In order for the bread dealer to get maximum profit, he should prepare 144 royal breads only.Example 3. Draw a graph and show the feasible region which is satisfied by the inequalities ;X ≥ 0, 2x + y ≤ 4, 2x +3y ≥ 8 , y ≥ 0 , y+ 3x = 9 , x + y ≤ 10Which If any of the inequalities can be omitted without affecting the answer.SOLUTION 2x + y = 4X intercept, Y = 02x + 0 =4x = 2(2, 0)Y intercept0 + y = 4y = 4(0, 4)2x + 3y = 8X intercept, Y =02x + 0 = 82x = 8x =4(4, 0)y intercept, x =00 + 3Y = 8y =8/3(0 , 2.7)x + 3y = 9x intercept, y =0x + 0 = 9x = 9y intercept, y = 00 + 3Y = 9y = 3(0, 3)x + y = 10x intercept, y =0x =10(10, 0)y intercept, x =0y = 10(0, 10 )Example 4. George buys X pencils 10 shillings each,( X+8) exercise books at 10 shillings each. If he wishes to have some change as town bus fare from a 200shs note, form an inequality in X and solve it to find the range of X. Solution:X no. of pencils0 X + 10(X+8) ≤20010X + 10X + 80 = 20020 X = 120X = 6X < 6The range of x is = 1, 2,3,4,5.Exercise 8.1 1. Show by shading out the unwanted regions, the half planes representing the following simultaneous inequalities. a) y < 2x – 1, y > 3 – x b) -3 < x – y<2 c) y< 2x, y > 3 – x, y > -1Solutiona) y < 2x – 1 y > 3 – x 1 < 2x – y y + x > 3 2x – y> 1 y + x = 3 2x – y = 1 (0, 3) (3,0) (0, -1) (1/2, 0) (b) -3 < x – y < 2 -3 < x – y x – y < 2 x – y > -3 x – y = 2 x – y = -3 (0, -2) ( 2, 0) (0, 3) (-3, 0)(c) y > 2x – 1 y > 3 – x y – 2x > -1 y + x > 3 y – 2x = -1 y + x = 3 (0, -1) (1/2, 0) (0, 3) (3, 0) y > -1 y = -1 Linear Programming Linear programming is a branch of mathematics which enables to solve problems which one wants to get the greatest or least value of a quantity.Solving linear programming problems 1.A farm is to be planted with wheat and maize while observing the following. If wheat yields a profit of 800 Sh. per hectare while maiza yields 600sh.per hectare.How should the area be planted in order to get maximum profit?Solution Step1: Express the information provided in mathematical form Let x represents number of hectares of wheat planted y represents number of hectares of maize to be plantedStep2: The objective function This is the function to be optimized. The objective of the problem is to maximize the profit. Therefore 800x – profit yielded by wheat 600y – profit yielded by maize The objective function f(x,y) = 800x + 600y is to be maximized.Step3.Availability. 2x + y < 10 (Available days of labor) 700x + 600y < 4200 (Available money for labors cost) 300x + 400y < 2400 (Available money for fertilizer) x > 0, y>0 hectares of wheat and maize can only be positive. (non – negative) ... The problem is to maximize f(x,y) = 800x + 600y subject to 2x + y < 10 700x + 600y < 4200 i.e 7x + 6y < 42 300x + 400y < 2400 i.e 3x + 4y < 24 x > 0, y>0 Step4.Plot the constraints on the graph 2x + y < 10 (0,10 ) (5,0 ) 7x + 6y < 42 (0,7 ) (6,0 ) 3x + 4y < 24 (0,6 ) (8, 0) step 5.The Identify the corner points. A(0, 6), B(0,0), C(5,0), D(3.3, 2.4), E(2.4, 4.2)Step6.Substitute the corner points to the objects function. f(x, y) = 800x + 600y f(0, 6) = 800x + 600y = 3600 f(0, 0) = 800x + 600y = 0 f(5, 0) = 800x + 600y = 40000 f(3.8, 2.4) = 800x + 600y = 4480 f(2.4, 4.2) = 800x + 600y = 4500Note: The point gives the best solution is called optimal point and the best solution is called the optimal solution ... f(2.4, 4.2) is the optimal point and 4500 is the optimal solution. 2.4 hectares should be planted wheat and while 4.2 hectares should be planted maize in order to get maximum profitEXERCISE 8.21. A doctor prescribes that in order obtain an adequate supply of Vitamins A and C, his patient shall have portions of food 1 and 2. The number of the units of vitamin A and C are given in a table below,The doctor prescribes a minimum of 14 units of vitamin A and 21 units of vitamin C. What are the least number of portion of food 1 and 2 that will fit the doctors prescription?Solution Let x represents number of portion of food 1 and y represent number of portion of food 2. 3x + y > 14 2x + 7y > 21 x > 0 y > 0 Objective function To minimize f(x,y) = x + y To represents the constraint on the x-y plane 3x + y = 14 (0, 14) (4.667, 0) 2x +7y = 21 (0, 3) (10.5, 0) x = 0 y = 0Corner points A(0, 14) B(4.03, 1.9) C(10.5, 0) f(x,y) = x + y f(0, 14) = 0 + 14 f(4.03, 1.9) = 4.03 + 1.9 f(10.5, 0) = 10.5 + 0Best solution(optimal solution) = 5.93 and the optimal point is (4.03, 1.9). ... 4.03 is the portion of the food 1 and 1.9 is the portion of food 2 that should be taken to fit the doctors prescription. ALL NOTES FOR ALL SUBJECTS QUICK LINKS:AGRICULTURE O LEVEL PURE MATHEMATICS A LEVELBAM NOTES A LEVELBASIC MATH O LEVELBIOLOGY O/A LEVELBOOK KEEPING O LEVELCHEMISTRY O/A LEVELCIVICS O LEVELCOMPUTER(ICT) O/A LEVELECONOMICS A LEVELENGLISH O/A LEVELCOMMERCE O/A LEVELACCOUNTING A LEVELGENERAL STUDIES NOTESGEOGRAPGY O/A LEVELHISTORY O/A LEVELKISWAHILI O/A LEVELPHYSICS O/A LEVELMOCK EXAMINATION PAPERSNECTA PAST PAPERS Basic Mathematics Study Notes Form 4 Basic Mathematics Study Notes Msomi Maktaba All Notes FORM 4MATHEMATICSPost navigationPrevious postNext postRelated Posts Msomi Maktaba All Notes KCSE Results 2023/2024 – Check your KCSE Results here! February 3, 2024The Kenya Certificate of Secondary Education (KCSE) results are an important indicator of educational achievement in Kenya. This exam, taken at the end of secondary school, marks the end of a student’s formal education and is a key factor in determining which universities and colleges a student can apply for…. Read More Form 5 Commerce Study Notes FORM FIVE COMMERCE – TRADE IN GENERAL November 11, 2018February 13, 2019ALL NOTES FOR ALL SUBJECTS QUICK LINKS: AGRICULTURE O LEVEL PURE MATHEMATICS A LEVEL BAM NOTES A LEVEL BASIC MATH O LEVEL BIOLOGY O/A LEVEL BOOK KEEPING O LEVEL CHEMISTRY O/A LEVEL CIVICS O LEVEL COMPUTER(ICT) O/A LEVEL ECONOMICS A LEVEL ENGLISH O/A LEVEL COMMERCE O/A LEVEL ACCOUNTING A LEVEL… Read More Form One Selection 2024 Dar es Salaam February 2, 2024Form One Selection 2023 Dar es Salaam Region – List of Selected students to join form one studies for 2023 intake This is to inform the general public that selection process for admission into secondary school – Form one studies for Government Secondary Schools for 2023 Academic Session is still… Read More Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Comment *Name * Email * Website Save my name, email, and website in this browser for the next time I comment. Δ
Msomi Maktaba All Notes KCSE Results 2023/2024 – Check your KCSE Results here! February 3, 2024The Kenya Certificate of Secondary Education (KCSE) results are an important indicator of educational achievement in Kenya. This exam, taken at the end of secondary school, marks the end of a student’s formal education and is a key factor in determining which universities and colleges a student can apply for…. Read More
Form 5 Commerce Study Notes FORM FIVE COMMERCE – TRADE IN GENERAL November 11, 2018February 13, 2019ALL NOTES FOR ALL SUBJECTS QUICK LINKS: AGRICULTURE O LEVEL PURE MATHEMATICS A LEVEL BAM NOTES A LEVEL BASIC MATH O LEVEL BIOLOGY O/A LEVEL BOOK KEEPING O LEVEL CHEMISTRY O/A LEVEL CIVICS O LEVEL COMPUTER(ICT) O/A LEVEL ECONOMICS A LEVEL ENGLISH O/A LEVEL COMMERCE O/A LEVEL ACCOUNTING A LEVEL… Read More
Form One Selection 2024 Dar es Salaam February 2, 2024Form One Selection 2023 Dar es Salaam Region – List of Selected students to join form one studies for 2023 intake This is to inform the general public that selection process for admission into secondary school – Form one studies for Government Secondary Schools for 2023 Academic Session is still… Read More