Skip to the page
Home Campus
Start free

Problems Involving Simultaneous Inequalities

How to list and count the integers, primes and other numbers that satisfy simultaneous inequalities, find the greatest and least values of expressions such as x − y, xy and x², and solve word problems with two conditions.

Before you start

In Secondary 2 you found the largest and smallest integer in the solution of one inequality: the largest integer in x<6x < 6 is 5, and in x≤3.6x \le 3.6 it is 3, never rounded to the nearest. In word problems, "at least" gives ≥\ge, "at most" and "not more than" give ≤\le, and a whole-number answer is rounded down for the greatest number allowed and up for the least number needed.

In lesson 2.1 you solved simultaneous inequalities: solve each one, and the solution is where they overlap.

Example: a solved pair

Solve the simultaneous inequalities 2x+5>02x + 5 > 0 and 3x−1≤83x - 1 \le 8.

Solution

The first: 2x>−52x > -5, so x>−2.5x > -2.5. The second: 3x≤93x \le 9, so x≤3x \le 3.

A number line from −4 to 5. Drawn above it, one over the other: x > −2.5, an open circle at −2.5 and a line with an arrow to the right; x ≤ 3, a filled circle at 3 and a line with an arrow to the left. On the line, where they overlap: a thick line from an open circle at −2.5 to a filled circle at 3.x > −2.5x ≤ 3−4−3−2−1012345−2.5

−2.5<x≤3-2.5 < x \le 3

Listing and Counting Integers

The solution of simultaneous inequalities is often a stretch between two numbers, and only a few integers lie in it. To list them, find the smallest and the largest, then go along the number line from one to the other.

The integers in a solution between two numbers

The smallest integer: if the left end is an integer that is included (≤\le), it is the smallest. If it is an integer that is not included (<<), the smallest is the next integer to its right. If it is not an integer, the smallest is the first integer to its right.

The largest integer: the same at the right end, going to the left.

How many: from the integer aa to the integer bb, there are b−a+1b - a + 1 integers.

Example 1: Ends that are and are not included

List the integers xx that satisfy each of these, and say how many there are.
(a) −2<x≤3-2 < x \le 3
(b) −2≤x<3-2 \le x < 3
(c) −2≤x≤3-2 \le x \le 3

Solution

(a) −2-2 is not included, so the smallest integer is −1-1. 3 is included, so it is the largest.

A number line from −4 to 5. A thick line from an open circle at −2 to a filled circle at 3. Points are marked at −1, 0, 1, 2 and 3.−4−3−2−1012345

From −1-1 to 3 there are 3−(−1)+1=53 - (-1) + 1 = 5 integers.

(b) −2-2 is included and 3 is not: the integers are −2-2 to 2, and there are 2−(−2)+1=52 - (-2) + 1 = 5.

(c) Both ends are included: the integers are −2-2 to 3, and there are 3−(−2)+1=63 - (-2) + 1 = 6.

(a) −1-1, 0, 1, 2, 3: five integers (b) −2-2, −1-1, 0, 1, 2: five integers (c) −2-2, −1-1, 0, 1, 2, 3: six integers

Example 2: Ends that are not integers

(a) List the integers that satisfy 2x+5>02x + 5 > 0 and 3x−1≤83x - 1 \le 8, the pair solved above.
(b) Solve 3x−2<2x+4≤5x−3,3x - 2 < 2x + 4 \le 5x - 3\text{,} and list the integers that satisfy it.

Solution

(a) The solution is −2.5<x≤3-2.5 < x \le 3. The first integer to the right of −2.5-2.5 is −2-2. −3-3 is to the left of −2.5-2.5, so it is not a solution: 2(−3)+5=−12(-3) + 5 = -1, and −1>0-1 > 0 is false.

A number line from −4 to 5. Drawn above it, one over the other: x > −2.5, an open circle at −2.5 and a line with an arrow to the right; x ≤ 3, a filled circle at 3 and a line with an arrow to the left. On the line, where they overlap: a thick line from an open circle at −2.5 to a filled circle at 3. Points are marked at −2, −1, 0, 1, 2 and 3.x > −2.5x ≤ 3−4−3−2−1012345−2.5

(b) Split: 3x−2<2x+43x - 2 < 2x + 4 gives x<6x < 6. 2x+4≤5x−32x + 4 \le 5x - 3 gives 7≤3x7 \le 3x, so x≥73x \ge \frac{7}{3}, that is x≥213x \ge 2\frac{1}{3}.

The first integer to the right of 2132\frac{1}{3} is 3. 6 is not included, so the largest integer is 5.

A number line from 0 to 8. Drawn above it, one over the other: x < 6, an open circle at 6 and a line with an arrow to the left; x ≥ 2⅓, a filled circle at 2⅓ and a line with an arrow to the right. On the line, where they overlap: a thick line from a filled circle at 2⅓ to an open circle at 6. Points are marked at 3, 4 and 5.x < 6x ≥ 2⅓0123456782⅓

Check x=3x = 3: the three parts are 7, 10 and 12, and 7<10≤127 < 10 \le 12 is true. Check x=2x = 2: the parts are 4, 8 and 7, and 8≤78 \le 7 is false.

(a) −2-2, −1-1, 0, 1, 2, 3: six integers (b) 213≤x<62\frac{1}{3} \le x < 6; the integers are 3, 4 and 5.

Primes, Even Numbers and Other Kinds

A question may ask only for numbers of one kind: positive integers, even or odd numbers, prime numbers, perfect squares or multiples. List the integers in the solution first, then pick out the ones of that kind. Remember that 1 is not a prime number, and 2 is the only even prime.

Example 3: Numbers of a certain kind

xx satisfies 4≤2x−1<254 \le 2x - 1 < 25. List
(a) the integers,
(b) the prime numbers,
(c) the even numbers,
(d) the perfect squares
that xx can be.

Solution

xx is in the middle part only, so add 1 to all three parts: 5≤2x<265 \le 2x < 26. Divide all three by 2: 2.5≤x<132.5 \le x < 13.

A number line from 1 to 14. A thick line from a filled circle at 2.5 to an open circle at 13. Points are marked at 3, 4, 5, 6, 7, 8, 9, 10, 11 and 12.12345678910111213142.5

(a) The first integer to the right of 2.5 is 3. 13 is not included, so the largest is 12.

(b) Of 3 to 12, the primes are 3, 5, 7 and 11. 9 is 3×33 \times 3, so it is not prime.

(c) The even numbers are 4, 6, 8, 10 and 12.

(d) The perfect squares are 4=224 = 2^{2} and 9=329 = 3^{2}.

(a) 3, 4, 5, …, 12 (ten integers) (b) 3, 5, 7, 11 (c) 4, 6, 8, 10, 12 (d) 4, 9

Example 4: Counting without listing

(a) How many integers satisfy −7<5−3x≤14-7 < 5 - 3x \le 14?
(b) How many integers satisfy 12<3x≤15012 < 3x \le 150, and how many of them are even?

Solution

(a) Split: −7<5−3x-7 < 5 - 3x and 5−3x≤145 - 3x \le 14.

The first: subtract 5 from both sides, −12<−3x-12 < -3x. Divide both sides by −3-3, which reverses the sign: 4>x4 > x, which is x<4x < 4.

The second: subtract 5 from both sides, −3x≤9-3x \le 9. Divide both sides by −3-3, which reverses the sign: x≥−3x \ge -3.

A number line from −5 to 5. Drawn above it, one over the other: x < 4, an open circle at 4 and a line with an arrow to the left; x ≥ −3, a filled circle at −3 and a line with an arrow to the right. On the line, where they overlap: a thick line from a filled circle at −3 to an open circle at 4. Points are marked at −3, −2, −1, 0, 1, 2 and 3.x < 4x ≥ −3−5−4−3−2−1012345

The integers run from −3-3 to 3: 3−(−3)+1=73 - (-3) + 1 = 7.

(b) Divide all three parts by 3: 4<x≤504 < x \le 50. The integers run from 5 to 50: 50−5+1=4650 - 5 + 1 = 46.

The even ones are 6, 8, 10, …, 50, that is 2×32 \times 3 to 2×252 \times 25: 25−3+1=2325 - 3 + 1 = 23.

(a) 7 integers (b) 46 integers, of which 23 are even

Greatest and Least Values of an Expression

When xx and yy each lie in a range, an expression in them, such as x+yx + y or xyxy, lies in a range too. Its greatest and least values come from the ends of the two ranges, but which ends depends on the expression.

Greatest and least values

Sum x+yx + y: the greatest value is the greatest xx plus the greatest yy; the least is the least xx plus the least yy.

Difference x−yx - y: the greatest value is the greatest xx minus the least yy; the least is the least xx minus the greatest yy. Taking away less leaves more.

Product xyxy: work out xyxy at the four pairs of ends (the "corners") and take the greatest and the least. With negative numbers, "greatest times greatest" is often wrong.

Square x2x^{2}: if the range of xx includes 0, the least value is 0. If the range does not include 0, the least value is the square of the end nearer 0. The greatest is the square of the end further from 0.

Quotient yx\frac{y}{x}: xx must not be 0. If xx is positive throughout, or negative throughout, try the four corners, as for xyxy. If xx can be any number on both sides of 0, yx\frac{y}{x} has no greatest or least value: xx near 0 makes it as large or as small as you like. If xx is an integer on both sides of 0, try x=1x = 1 and x=−1x = -1 with each end of yy.

Example 5: Sums and differences

xx and yy can be any numbers such that −7≤2x−1≤3-7 \le 2x - 1 \le 3 and 1≤3y−2≤131 \le 3y - 2 \le 13.
(a) Find the range of values of xx and the range of values of yy.
(b) Find the greatest and least values of x+yx + y, x−yx - y and y−xy - x.

Solution

(a) Add 1 to all three parts: −6≤2x≤4-6 \le 2x \le 4. Divide by 2: −3≤x≤2-3 \le x \le 2.

Add 2 to all three parts: 3≤3y≤153 \le 3y \le 15. Divide by 3: 1≤y≤51 \le y \le 5.

(b) x+yx + y: the greatest is 2+5=72 + 5 = 7, and the least is −3+1=−2-3 + 1 = -2.

x−yx - y: the greatest is the greatest xx minus the least yy, 2−1=12 - 1 = 1. The least is the least xx minus the greatest yy, −3−5=−8-3 - 5 = -8.

y−xy - x: the greatest is 5−(−3)=85 - (-3) = 8, and the least is 1−2=−11 - 2 = -1.

(a) −3≤x≤2-3 \le x \le 2 and 1≤y≤51 \le y \le 5 (b) x+yx + y: greatest 7, least −2-2; x−yx - y: greatest 1, least −8-8; y−xy - x: greatest 8, least −1-1

Example 6: Products, squares and quotients

With −3≤x≤2-3 \le x \le 2 and 1≤y≤51 \le y \le 5, as in Example 5, find the greatest and least values of
(a) xyxy,
(b) x2x^{2},
(c) yx\frac{y}{x}, if it has them.

Solution

(a) The corners: (−3)(1)=−3(-3)(1) = -3, (−3)(5)=−15(-3)(5) = -15, (2)(1)=2(2)(1) = 2 and (2)(5)=10(2)(5) = 10. The least xx times the least yy is −3-3, but −15-15 is less than that.

(b) The trap: squaring the ends gives (−3)2=9(-3)^{2} = 9 and 22=42^{2} = 4, and it is tempting to say that x2x^{2} lies between 4 and 9. But xx can be 0, and 02=00^{2} = 0; xx can be 1, and 12=11^{2} = 1. The range of xx includes 0, so the least value of x2x^{2} is 0. The end further from 0 is −3-3, so the greatest is (−3)2=9(-3)^{2} = 9.

(c) xx can be any number from −3-3 to 2, so it can be as close to 0 as we like, on either side (y0\frac{y}{0} itself has no meaning). Near 0 the quotient grows without end: x=0.01x = 0.01 and y=5y = 5 give yx=500\frac{y}{x} = 500, and x=−0.01x = -0.01 gives −500-500.

(a) Greatest 10, least −15-15 (b) Greatest 9, least 0 (c) No greatest or least value: xx can be as close to 0 as we like, on either side.

Example 7: Products of negative numbers

Given that xx and yy can be any numbers with −4≤x≤−1-4 \le x \le -1 and −3≤y≤2-3 \le y \le 2, find the greatest and least values of
(a) xyxy,
(b) x2x^{2}.

Solution

(a) The trap: the greatest xx times the greatest yy is (−1)(2)=−2(-1)(2) = -2, which is not the greatest value of xyxy. Try the corners: (−4)(−3)=12(-4)(-3) = 12, (−4)(2)=−8(-4)(2) = -8, (−1)(−3)=3(-1)(-3) = 3 and (−1)(2)=−2(-1)(2) = -2.

Two negative numbers multiply to a positive one, so the greatest is (−4)(−3)=12(-4)(-3) = 12. The least is (−4)(2)=−8(-4)(2) = -8.

(b) xx is negative throughout, so 0 is not in its range. Square the ends: (−4)2=16(-4)^{2} = 16 and (−1)2=1(-1)^{2} = 1. The end further from 0, −4-4, gives the greatest.

(a) Greatest 12, least −8-8 (b) Greatest 16, least 1

Integers or any numbers? A range with << at an end has no greatest or least value at that end: −3<x-3 < x allows −2.9-2.9, −2.99-2.99, −2.999-2.999, … but not −3-3, so xx has no least value. When a question says that xx and yy are integers, use the greatest and least integers in each range instead. Read which the question means, every time: it changes the answer.

Example 8: When x and y must be integers

xx and yy are integers, with −3<x≤2-3 < x \le 2 and 1≤y<51 \le y < 5. Find the greatest and least values of
(a) x−yx - y,
(b) xyxy,
(c) yx\frac{y}{x}, where x≠0x \ne 0.

Solution

The integers are x=−2x = -2, −1-1, 0, 1, 2 and y=1y = 1, 2, 3, 4.

(a) The greatest is 2−1=12 - 1 = 1. The least is −2−4=−6-2 - 4 = -6.

(b) The corners: (−2)(1)=−2(-2)(1) = -2, (−2)(4)=−8(-2)(4) = -8, (2)(1)=2(2)(1) = 2 and (2)(4)=8(2)(4) = 8.

(c) Now xx is −2-2, −1-1, 1 or 2, on both sides of 0, so the corners are not enough. Here yy is positive throughout, so yx\frac{y}{x} is greatest when xx is the positive integer nearest 0 and yy is greatest: 41=4\frac{4}{1} = 4. It is least when xx is the negative integer nearest 0 and yy is greatest: 4−1=−4\frac{4}{-1} = -4.

If xx could be any number in its range other than 0, yx\frac{y}{x} would have no greatest value: x=0.1x = 0.1 and y=4y = 4 give 40, and x=0.01x = 0.01 gives 400.

(a) Greatest 1, least −6-6 (b) Greatest 8, least −8-8 (c) Greatest 4, least −4-4

Word Problems with Two Conditions

Many problems set two conditions at once: a budget and a minimum order, a mark that must be at least one number but below another. Each condition is one inequality, and the answer must satisfy both.

Solving a problem with two conditions

Step 1: Say what the letter stands for, with its unit.

Step 2: Write one inequality for each condition, choosing each sign from the words.

Step 3: Solve each, and combine them into one statement.

Step 4: Give the values the setting allows, such as whole numbers: round down at the upper end and up at the lower end. On the number line, draw the bound you found, before rounding. Check both ends and the numbers just outside them.

Step 5: Answer in a sentence, with the unit.

Example 9: A budget and a minimum order

A class committee is ordering class T-shirts at S$12 each, with a delivery charge of S$25 for the whole order. The supplier takes orders of at least 15 T-shirts, and the committee can spend at most S$400. How many T-shirts can the committee order?

Solution

Let nn be the number of T-shirts. The order costs 12n+2512n + 25 dollars.

"At least 15 T-shirts": n≥15n \ge 15. "At most S$400": 12n+25≤40012n + 25 \le 400.

Subtract 25 from both sides: 12n≤37512n \le 375. Divide by 12: n≤31.25n \le 31.25. nn is a whole number, so n≤31n \le 31.

A number line from 10 to 35. Drawn above it, one over the other: n ≥ 15, a filled circle at 15 and a line with an arrow to the right; n ≤ 31.25, a filled circle at 31.25 and a line with an arrow to the left. On the line, where they overlap: a thick line from a filled circle at 15 to a filled circle at 31.25.n ≥ 15n ≤ 31.2510152025303531.25

So 15≤n≤3115 \le n \le 31. Check: 31 T-shirts cost 12×31+25=39712 \times 31 + 25 = 397 dollars, within S$400; 32 would cost 409409 dollars. 14 T-shirts would be below the minimum order.

The committee can order any whole number of T-shirts from 15 to 31.

Example 10: A mark between two grades

Jia Hui's marks in three tests were 58, 71 and 66. Each test is marked out of 100, in whole marks. A grade B needs an average mark of at least 60 but less than 70. What marks in a fourth test would give her a grade B?

Solution

Let mm be her mark in the fourth test. The four marks add up to 58+71+66+m=195+m,58 + 71 + 66 + m = 195 + m\text{,} and their average is 195+m4\frac{195 + m}{4}.

"At least 60 but less than 70": 60≤195+m4<70.60 \le \frac{195 + m}{4} < 70\text{.}

mm is in the middle part only, so multiply all three parts by 4: 240≤195+m<280240 \le 195 + m < 280. Subtract 195 from all three: 45≤m<8545 \le m < 85.

A number line from 40 to 90. Drawn above it, one over the other: m ≥ 45, a filled circle at 45 and a line with an arrow to the right; m < 85, an open circle at 85 and a line with an arrow to the left. On the line, where they overlap: a thick line from a filled circle at 45 to an open circle at 85.m ≥ 45m < 854050607080904585

The marks are whole numbers, so mm is 45 to 84. Check: with 45 the average is 2404=60\frac{240}{4} = 60, a B; with 44 it is 2394=59.75\frac{239}{4} = 59.75. With 84 it is 2794=69.75\frac{279}{4} = 69.75, a B; with 85 it is 2804=70\frac{280}{4} = 70, which is not less than 70.

Any mark from 45 to 84 in the fourth test gives Jia Hui a grade B.

Example 11: The cheapest of three plans

Three mobile phone plans charge as follows. Plan A: S$10 a month plus 10 cents for each minute of calls. Plan B: S$25 a month plus 4 cents for each minute. Plan C: S$40 a month with free calls. For what whole numbers of minutes of calls in a month is plan B the cheapest?

Solution

Let tt be the number of minutes of calls in a month. In dollars, plan A costs 10+0.1t10 + 0.1t, plan B costs 25+0.04t25 + 0.04t and plan C costs 40.

Plan B must be cheaper than plan A: 25+0.04t<10+0.1t.25 + 0.04t < 10 + 0.1t\text{.} Subtract 0.04t0.04t and 10 from both sides: 15<0.06t15 < 0.06t. Divide by 0.06: 250<t250 < t, which is t>250t > 250.

Plan B must also be cheaper than plan C: 25+0.04t<4025 + 0.04t < 40. Subtract 25: 0.04t<150.04t < 15. Divide by 0.04: t<375t < 375.

A number line from 200 to 400. Drawn above it, one over the other: t > 250, an open circle at 250 and a line with an arrow to the right; t < 375, an open circle at 375 and a line with an arrow to the left. On the line, where they overlap: a thick line from an open circle at 250 to an open circle at 375.t > 250t < 375200250300350400375

So 250<t<375250 < t < 375: whole minutes from 251 to 374. Check: at 250 minutes plans A and B both cost S$35, so B is not cheaper; at 251 minutes A costs S$35.10 and B S$35.04. At 374 minutes B costs S$39.96; at 375 minutes it costs S$40, the same as C.

Plan B is the cheapest for 251 to 374 minutes of calls a month.

Common Mistakes

  • Counting an end that is not included. −2<x≤3-2 < x \le 3 has the integers −1-1 to 3: five of them, not six.
  • Going the wrong way from a negative end that is not an integer. The smallest integer in x>−2.5x > -2.5 is −2-2, not −3-3: −3-3 is to the left of −2.5-2.5.
  • Taking the wrong ends for a difference. The least value of x−yx - y is the least xx minus the greatest yy: for −3≤x≤2-3 \le x \le 2 and 1≤y≤51 \le y \le 5 it is −3−5=−8-3 - 5 = -8, not −3−1=−4-3 - 1 = -4.
  • Squaring the ends when the range includes 0. For −3≤x≤2-3 \le x \le 2, x2x^{2} does not lie between 4 and 9: x=0x = 0 gives 0, so the least value is 0.
  • Multiplying the greatest values when there are negative numbers. For −4≤x≤−1-4 \le x \le -1 and −3≤y≤2-3 \le y \le 2, the greatest value of xyxy is (−4)(−3)=12(-4)(-3) = 12, not (−1)(2)=−2(-1)(2) = -2. Try all four corners.
  • Forgetting one of the two conditions. In Example 9 the budget alone allows up to 31 T-shirts, but the supplier also needs at least 15.

Practice

Work each question on paper before you open its solution. Answer each word problem in a sentence with its unit.

Question 1

List the integers xx that satisfy each of these, and say how many there are.
(a) −4≤x<1-4 \le x < 1
(b) −1.5<x≤4-1.5 < x \le 4

ShowHide solution

(a) −4-4 is included and 1 is not, so the integers are −4-4 to 0: 0−(−4)+1=50 - (-4) + 1 = 5.

A number line from −6 to 3. A thick line from a filled circle at −4 to an open circle at 1. Points are marked at −4, −3, −2, −1 and 0.−6−5−4−3−2−10123

(b) The first integer to the right of −1.5-1.5 is −1-1, and 4 is included: 4−(−1)+1=64 - (-1) + 1 = 6.

A number line from −3 to 6. A thick line from an open circle at −1.5 to a filled circle at 4. Points are marked at −1, 0, 1, 2, 3 and 4.−3−2−10123456−1.5

(a) −4-4, −3-3, −2-2, −1-1, 0: five integers (b) −1-1, 0, 1, 2, 3, 4: six integers

Question 2

Solve the simultaneous inequalities 3x+4≥−53x + 4 \ge -5 and 2x−7<42x - 7 < 4, and list the integers that satisfy both.

ShowHide solution

The first: subtract 4 from both sides, 3x≥−93x \ge -9. Divide by 3: x≥−3x \ge -3.

The second: add 7 to both sides, 2x<112x < 11. Divide by 2: x<5.5x < 5.5.

A number line from −5 to 7. Drawn above it, one over the other: x ≥ −3, a filled circle at −3 and a line with an arrow to the right; x < 5.5, an open circle at 5.5 and a line with an arrow to the left. On the line, where they overlap: a thick line from a filled circle at −3 to an open circle at 5.5. Points are marked at −3, −2, −1, 0, 1, 2, 3, 4 and 5.x ≥ −3x < 5.5−5−4−3−2−1012345675.5

The integers run from −3-3 to 5, the first integer to the left of 5.5.

−3≤x<5.5-3 \le x < 5.5; the integers are −3-3, −2-2, −1-1, 0, 1, 2, 3, 4, 5 (nine of them).

Question 3

Solve 2x−1<5x+8≤3x+20.2x - 1 < 5x + 8 \le 3x + 20\text{.} Then find
(a) the smallest and the largest integer that satisfy it,
(b) the prime numbers that satisfy it.

ShowHide solution

Split: 2x−1<5x+82x - 1 < 5x + 8 and 5x+8≤3x+205x + 8 \le 3x + 20.

The first: subtract 2x2x and 8 from both sides, −9<3x-9 < 3x. Divide by 3: −3<x-3 < x, which is x>−3x > -3.

The second: subtract 3x3x and 8 from both sides, 2x≤122x \le 12. Divide by 2: x≤6x \le 6.

A number line from −5 to 8. Drawn above it, one over the other: x > −3, an open circle at −3 and a line with an arrow to the right; x ≤ 6, a filled circle at 6 and a line with an arrow to the left. On the line, where they overlap: a thick line from an open circle at −3 to a filled circle at 6.x > −3x ≤ 6−5−4−3−2−1012345678

(a) −3-3 is not included, so the smallest integer is −2-2. 6 is included, so it is the largest. Check x=6x = 6: 11<38≤3811 < 38 \le 38 is true.

(b) The integers are −2-2 to 6. The primes among them are 2, 3 and 5.

−3<x≤6-3 < x \le 6 (a) Smallest −2-2, largest 6 (b) 2, 3, 5

Question 4

How many integers nn satisfy 5<2n+1≤615 < 2n + 1 \le 61? How many of them are multiples of 4?

ShowHide solution

Subtract 1 from all three parts: 4<2n≤604 < 2n \le 60. Divide all three by 2: 2<n≤302 < n \le 30.

The integers run from 3 to 30: 30−3+1=2830 - 3 + 1 = 28.

The multiples of 4 among them are 4, 8, …, 28, that is 4×14 \times 1 to 4×74 \times 7: 7 of them.

28 integers, of which 7 are multiples of 4

Question 5

xx satisfies 1≤9−2x<151 \le 9 - 2x < 15. Find
(a) the smallest integer that xx can be,
(b) the largest odd number that xx can be,
(c) the prime numbers that xx can be,
(d) how many integers satisfy the inequality.

ShowHide solution

Split: 1≤9−2x1 \le 9 - 2x and 9−2x<159 - 2x < 15.

The first: subtract 9 from both sides, −8≤−2x-8 \le -2x. Divide by −2-2, which reverses the sign: 4≥x4 \ge x, which is x≤4x \le 4.

The second: subtract 9 from both sides, −2x<6-2x < 6. Divide by −2-2, which reverses the sign: x>−3x > -3.

A number line from −5 to 6. Drawn above it, one over the other: x ≤ 4, a filled circle at 4 and a line with an arrow to the left; x > −3, an open circle at −3 and a line with an arrow to the right. On the line, where they overlap: a thick line from an open circle at −3 to a filled circle at 4. Points are marked at −2, −1, 0, 1, 2, 3 and 4.x ≤ 4x > −3−5−4−3−2−10123456

The integers are −2-2 to 4. (a) −2-2. (b) 4 is even, so 3. (c) The primes from −2-2 to 4 are 2 and 3. (d) 4−(−2)+1=74 - (-2) + 1 = 7.

(a) −2-2 (b) 3 (c) 2 and 3 (d) 7 integers

Question 6

Given that xx and yy can be any numbers with 2≤x≤62 \le x \le 6 and −1≤y≤4-1 \le y \le 4, find the greatest and least values of
(a) x+yx + y,
(b) x−yx - y,
(c) xyxy.

ShowHide solution

(a) Greatest 6+4=106 + 4 = 10; least 2+(−1)=12 + (-1) = 1.

(b) Greatest: the greatest xx minus the least yy, 6−(−1)=76 - (-1) = 7. Least: the least xx minus the greatest yy, 2−4=−22 - 4 = -2.

(c) The corners: (2)(−1)=−2(2)(-1) = -2, (2)(4)=8(2)(4) = 8, (6)(−1)=−6(6)(-1) = -6 and (6)(4)=24(6)(4) = 24.

(a) Greatest 10, least 1 (b) Greatest 7, least −2-2 (c) Greatest 24, least −6-6

Question 7

Given that xx and yy can be any numbers with −5≤x≤3-5 \le x \le 3 and −2≤y≤1-2 \le y \le 1, find the greatest and least values of
(a) x2x^{2},
(b) xyxy,
(c) x2−yx^{2} - y.

ShowHide solution

(a) The range of xx includes 0, so the least value of x2x^{2} is 0. The end further from 0 is −5-5, so the greatest is 25.

(b) The corners: (−5)(−2)=10(-5)(-2) = 10, (−5)(1)=−5(-5)(1) = -5, (3)(−2)=−6(3)(-2) = -6 and (3)(1)=3(3)(1) = 3.

(c) Greatest: the greatest x2x^{2} minus the least yy, 25−(−2)=2725 - (-2) = 27. Least: the least x2x^{2} minus the greatest yy, 0−1=−10 - 1 = -1.

(a) Greatest 25, least 0 (b) Greatest 10, least −6-6 (c) Greatest 27, least −1-1

Question 8

Ahmad says that if xx can be any number with −4≤x≤1-4 \le x \le 1, the least value of x2x^{2} is 1 and the greatest is 16. Is he right? Explain.

ShowHide solution

He squared the two ends: (−4)2=16(-4)^{2} = 16 and 12=11^{2} = 1. The greatest, 16, is right.

But the range of xx includes 0, and 02=00^{2} = 0 is less than 1. x=0.5x = 0.5 gives 0.25, which is less than 1 too.

No. The greatest value of x2x^{2} is 16, but the least is 0, when x=0x = 0.

Question 9

xx and yy are integers, with 1<x<61 < x < 6 and −3≤y<2-3 \le y < 2. Find the greatest and least values of
(a) x−yx - y,
(b) xyxy,
(c) yx\frac{y}{x}.

ShowHide solution

The integers are x=2x = 2, 3, 4, 5 and y=−3y = -3, −2-2, −1-1, 0, 1.

(a) Greatest 5−(−3)=85 - (-3) = 8; least 2−1=12 - 1 = 1.

(b) The corners: (2)(−3)=−6(2)(-3) = -6, (2)(1)=2(2)(1) = 2, (5)(−3)=−15(5)(-3) = -15 and (5)(1)=5(5)(1) = 5.

(c) xx is positive throughout, so try the corners: −32=−1.5\frac{-3}{2} = -1.5, 12=0.5\frac{1}{2} = 0.5, −35=−0.6\frac{-3}{5} = -0.6 and 15=0.2\frac{1}{5} = 0.2.

(a) Greatest 8, least 1 (b) Greatest 5, least −15-15 (c) Greatest 0.5, least −1.5-1.5

Question 10

Mdm Rosnah is buying curry puffs for a family gathering. They are sold in boxes of 8 at S$6.50 a box. She needs at least 120 curry puffs, and she can spend at most S$120. How many boxes can she buy?

ShowHide solution

Let bb be the number of boxes. "At least 120 curry puffs": 8b≥1208b \ge 120, so b≥15b \ge 15.

"At most S$120": 6.5b≤1206.5b \le 120, so b≤18.46…b \le 18.46\ldots, and as bb is a whole number, b≤18b \le 18.

So 15≤b≤1815 \le b \le 18. Check: 18 boxes cost S$117, and 19 would cost S$123.50. 15 boxes hold exactly 120 curry puffs.

Mdm Rosnah can buy 15, 16, 17 or 18 boxes.

Question 11

A goods lift can carry a load of at most 1200 kg. A worker of mass 68 kg takes sacks of rice up in the lift, each of mass 25 kg. To make a trip worthwhile, at least 20 sacks must go up each time. How many sacks can he take up in one trip?

ShowHide solution

Let ss be the number of sacks. "At least 20": s≥20s \ge 20.

The load is 68+25s68 + 25s kilograms, and "at most 1200": 68+25s≤120068 + 25s \le 1200. Subtract 68: 25s≤113225s \le 1132. Divide by 25: s≤45.28s \le 45.28, so s≤45s \le 45.

A number line from 15 to 50. Drawn above it, one over the other: s ≥ 20, a filled circle at 20 and a line with an arrow to the right; s ≤ 45.28, a filled circle at 45.28 and a line with an arrow to the left. On the line, where they overlap: a thick line from a filled circle at 20 to a filled circle at 45.28.s ≥ 20s ≤ 45.28152025303540455045.28

Check: with 45 sacks the load is 68+1125=119368 + 1125 = 1193 kg, within the limit; with 46 sacks it is 1218 kg.

He can take from 20 to 45 sacks in one trip.

Question 12

A class is going to the Science Centre. The bus costs S$300 and each pupil's ticket costs S$9, and the class fund has S$700 to pay for both. The bus has 40 seats for pupils, and the trip goes ahead only if more than 30 pupils go. How many pupils can go?

ShowHide solution

Let pp be the number of pupils. There are three conditions.

The fund: 300+9p≤700300 + 9p \le 700, so 9p≤4009p \le 400 and p≤44.4…p \le 44.4\ldots, and as pp is a whole number, p≤44p \le 44.

The seats: p≤40p \le 40. The trip: p>30p > 30.

A number line from 25 to 50. Drawn above it, one over the other: p > 30, an open circle at 30 and a line with an arrow to the right; p ≤ 44.4…, a filled circle at 44.4… and a line with an arrow to the left; p ≤ 40, a filled circle at 40 and a line with an arrow to the left. On the line, where they overlap: a thick line from an open circle at 30 to a filled circle at 40. Points are marked at 31, 32, 33, 34, 35, 36, 37, 38, 39 and 40.p > 30p ≤ 44.4…p ≤ 4025303540455044.4…

All three overlap from 30 (not included) to 40. Check: 40 pupils cost 300+360=660300 + 360 = 660 dollars, within S$700.

From 31 to 40 pupils can go.

Key Points

  • To list the integers in a solution, find the smallest and the largest. An end that is not included, or is not an integer, moves you to the next integer inwards.
  • From the integer aa to the integer bb there are b−a+1b - a + 1 integers.
  • For numbers of one kind (primes, even numbers, perfect squares, multiples), list the integers first, then pick them out.
  • The greatest value of x−yx - y is the greatest xx minus the least yy; the least is the least xx minus the greatest yy.
  • For xyxy, and for yx\frac{y}{x} when xx keeps one sign, try the four corners. If the range of xx includes 0, the least value of x2x^{2} is 0.
  • Say whether xx and yy are integers or any numbers in their ranges: it changes the answer.
  • In a word problem, write one inequality for each condition, combine them, and give the values the setting allows in a sentence.

Previous lesson2.1 Solving Simultaneous Linear Inequalities Next lesson5.1 Graphs of Cubic Functions

All Secondary 3 (Grade 9) lessons

Home Campus has lessons, practice questions with worked solutions and worksheets for Primary 3 to Secondary 2. Register free to practise and keep track of progress.

This lesson follows the Singapore Secondary 3 syllabus and was checked question by question before it was published. Spotted a mistake? Tell us.