Lesson Notes By Weeks and Term - Senior Secondary School 2







  • New General Mathematics SSS2 by M.F. Macraeetal.
  • Essential Mathematics SSS2 by A.J.S. Oluwasanmi. 


WEEK 3        DATE: ___________



-Application of Linear Inequalities in Real Life.

-Introduction to Linear Programming. 



Greatest and Least Values 


Draw a diagram to show the region which satisfies the following inequalities. 

5x + y - 4, x + y 4, y x + 2, y – 2x - 4

Find the greatest and the least value of the linear function F = x + 2y within the region. 


For the inequality 5x + y - 4, first draw the line 5x + y = - 4. 

When x = 0, y = 4, when x = -1, y = 1

Add a third point on your own and then draw line 5x + y = -4. You may need to extend the axes to do this: 

Now use a test point such as x = 0, y = 0 

When x = 0, y = 0, then 0 - 4 is true, so shade the region below the line 5x + y = -4. 

For the inequality x + y 4, first draw the line x + y = 4. 

When x = 0, y = 4 and when y = 0, x = 4.

So draw a line that passes through (0, 4) and (4, 0). 

Test point: (0, 0), so 0 4 is true. Shade the region above the line. 

Similarly, for y x + 2 and y – 2x - 4, shade the unwanted regions. 

The required region is labeled as R as shown. R is also called the feasible region (i.e. the region that satisfies a set of inequalities). 

The greatest (maximum) and the least (minimum) of any linear function such as F = x + 2y occurs at the vertices (corner points) of the region which satisfies the given set of the inequalities. 


At     A(-1, 1)        F = x + 2y 

                    F = -1 + 2 = 1 

At     B(1, 3)            F = x + 2y 

                F = 1 + 6 = 7 

At     C(2.67, 1.33)        F = x + 2y 

                F = 2.67 + 2.66 = 5.33

At     D(0, -4)        F = x + 2y 

            F = 0 – 8 = -8


F = x + 2y is least at the point D(0, 4).

    F = x + 2y is greatest at the point B(1, 3).


Note: The coordinates at point C can also be found by solving the simultaneous equations x + y = 4 and y – 2x = -4, 

Which gives x = 83 and y = 43.

Linear Programming 

In many real-life situations in business and commerce there are restrictions or constraints, which can affect decision-making. Typical restrictions might be the amount of money available for a project, storage constraints, or the number of skilled people in a labour force. In this section we will see that problems involving restrictions can often be solved by using the graphs of linear inequalities. This method is called linear programming. Linear programming can be used to solve many realistic problems. 


Example 1 

A student has N500. She buys pencils at N50 each and erasers at N20 each. She gets at least five of each and the money spent on pencils is over N100 more than that spent on erasers. 

Find     a. How many ways the money can be spent, 

  1. The greatest number of pencils that can be bought, 
  2. The greatest number of erasers that can be bought. 

Let the student buy x pencils at N50 and y erasers at N20.

From the first two sentences, 

50x + 20y 500

5x + 2y < 50                 (1)

Since she gets at least five of each,

x 5                         (2)

y 5                        (3)

From the third sentence, 

5x – 2y > 10  

Inequalities (1), (2), (3) and (4) are shown below 


  1. The solution set of the four inequalities is given by the twelve points marked inside the shaded region. For example, the point (7, 6) shows that the student can buy seven pencils and six erasers and still satisfy the restrictions on the two variables. Hence there are twelve ways of spending the money. 
  2. The greatest number of pencils that can be bought is eight, corresponding to the point (8, 5)
  3. The greates number of erasers is nine, corresponding to the point (6, 9).


Example 2

To start a new transport company, a businessman needs at least 5 buses and 10 minibuses. He is not able to run more than 30 vehicles altogether. A bus takes up 3 units of parking space, a minibus takes up to 1 unit of parking space and there are only 54 units available. 

If x and y are the numbers of buses and minibuses respectively, 

  1. Write down four inequalities which represent the restrictions on the businessman 
  2. Draw a graph that shows a region representing possible values x and y. 


  1. from the first sentence, 

    x 5

    y 10

From the second sentence, 

    x + y 30

from the third sentence, 

    3x + y 54

  1. in the figure below, R is the region that contains the possible values of x and y. 


  1. A student needs at least three notebooks and three pencils. Notebooks cost N60 and pencils N36 and the student has N360 to spend. The student decides to spend as much as possible of his N360. 
  1. How many ways can he spend his money? 
  2. Does any of the ways give him change? If so, how much? 
  1. To staff a tailoring company, a businesswoman needs at least 6 cutters and 10 seamstresses. She does not want to employ more than 25 people altogether. To be effective, a cutter needs 2 tables to work on and a seamstress needs 1 table. There are only 40 tables available. If x and y are the numbers of cutters and seamstresses respectively, 
  1. Write down four inequalities that represent the restrictions on the businesswoman, 
  2. Draw a graph that shows a region representing possible values of x and y, 
  3. Find the greatest value of y



  1. Draw the graphs of lines y=2x+1 and 2x+2y=7 on the same axes. Find the coordinates of their point of intersection to 1 decimal place.
  2. Sketch the graph of the inequalities.
  3.   3x+2>3      (b) 8-5x≤ 3        (c) 2x-3≤ 7
  4. If x-6≤ 1 and 2x-1> 8, what is the range of values of x which satisfies both inequalities?



New General Mathematics SSS2, pages 98-111, exercise 10g.




  1. Given that x is an integer, what is the greatest value of x which satisfies 4-3x >24 ?
  2. -7   B.  -6  C. -3  D.  6
  3. Given that 3x+y =1 and x-7y=19, then x+y=   A. -2  B. -3    C. 5  D. 3
  4. If 5+x≤7 and 4+x≥3, which of the following statement is true?
  5. -3≤x≤3      B. -1≤x<3  C. -1≤x≤2    D. -1≥x≥2
  6. Solve the inequality: 8-3x3    D. x>4
  7. The smallest integer that can satisfy the inequality 30-5x<2x+3 is    A. -4   B. 5   C. 3   D. 4

5.Solve the inequality 4y-7<2(3y-1)        A. y <  -5/2    B. y> -2/5     C. y< -5/3     D. y> -5/2



  1. A supermarket gives a special offer to customers who purchase at least a pack of vests and a pack of T-shirts. The offer is restricted to a total of 7 of these items. 
  1. Write down three inequalities which must be satisfied. 
  2. Draw the graphs of the above conditions and shade the region that satisfies them. 
  3. If the supermarket makes a gain of N5 on each vest and N8 on each T-shirt, find the maximum gain made by the supermarket. 
  1. A man buys two types of printers. The table below shows the cost and the necessary working space required for each type. 

Printer        Cost        Working space 

Type P        N15, 000    4000 cm2

Type Q        N25, 000    3000 cm2

The man has 48 000cm2 of working space and he can spend up to N290, 000 to buy these machines. 

  1. Write down the inequalities to represent the above constraints. 
  2. Draw the graphs of these inequalities to show the feasible region. 
  3. Use your graph to find the maximum number of printers the man can buy. 

© Lesson Notes All Rights Reserved 2023