After solving, a question may ask only for integers, prime numbers, perfect squares or rational numbers. List only the numbers of that kind that lie in the solution set. Each endpoint is decided by its sign: \(<\) and \(>\) leave it out; \(\le\) and \(\ge\) keep it.
| Kind of number | What to remember | Values in \(-2<x\le9\) |
|---|---|---|
| Integers | Whole numbers, including \(0\) and negative numbers | \(-1,0,1,2,\ldots,9\), which is \(9-(-1)+1=11\) integers |
| Prime numbers | Integers greater than \(1\) with exactly two factors; \(1\) is not prime and \(2\) is the only even prime | \(2,3,5,7\) |
| Perfect squares | Squares of integers: \(0,1,4,9,16,\ldots\) | \(0,1,4,9\) |
| Rational numbers | Every integer and fraction; a greatest or least value exists only if that endpoint is included | Greatest value \(9\); no least value, because \(-2\) is not included |
Method: solve and write the solution set with exact bounds; change fractional bounds to mixed numbers to see which whole numbers lie inside; decide each endpoint from its sign; list the values of the kind asked for; answer the exact question (the greatest, the least, all of them, or how many). The number of integers from \(m\) to \(n\) inclusive is \(n-m+1\).
Example
Solve \(-4\le2x-1<\dfrac{17}{2}\). Hence find (a) the integer values of \(x\), (b) the prime values of \(x\), (c) the least rational value of \(x\).
\(\begin{aligned}-4&\le2x-1<\dfrac{17}{2}\\-3&\le2x<\dfrac{19}{2}\\-\dfrac32&\le x<\dfrac{19}{4}\end{aligned}\)
Since \(-\dfrac32=-1\tfrac12\) and \(\dfrac{19}{4}=4\tfrac34\): (a) \(-1,0,1,2,3,4\); (b) \(2,3\); (c) \(-\dfrac32\), because the left endpoint is included. There is no greatest rational value, because \(\dfrac{19}{4}\) is not included and there is always a larger fraction below it.
Exam check: do not round a bound before choosing values, and read the restriction exactly: "positive integers" leaves out \(0\), and \(0\) is a perfect square (\(0=0^2\)) unless the question says "positive".
Create a free account to practise similar questions.
Need help? Join our E-Maths tuition for O-Level success.
Learn more