Topic 6 Inequalities

If I showed you a box and asked you how many apples are in it, you probably wouldn’t be able to give me an exact answer, but you might be able to say “less than 30.” If I asked how long a ladder would need to be to climb over a fence, you could say “2 metres long,” but a longer ladder would also work, so you could also say “at least 2 metres long.” These are examples of inequalities; they express the range of values which would be acceptable, by specifying the ends of those ranges. There are five mathematical symbols to describe inequalities:

  • \(\lt\) Less than — the left hand number could be every number up to, but not including, the right hand number
    • “x is less than 6” becomes \(x \lt 6\)
    • \(5 \lt 6\) is true
    • \(6 \lt 5\) isn’t true
    • \(6 \lt 6\) isn’t true
  • \(\gt\) Greater than — the right hand number could be every number up to, but not including, the left hand number
    • “x is greater than 5” becomes \(x \gt 5\)
    • \(6 \gt 5\) is true
    • \(5 \gt 6\) isn’t true
    • \(6 \gt 6\) isn’t true
  • \(\le\) Less than or equal to — the left hand number could be every number up to, and including, the right hand number
    • “x is less than or equal to 6” becomes \(x \le 6\)
    • \(5 \le 6\) is true
    • \(6 \le 5\) isn’t true
    • \(6 \le 6\) is true
  • \(\gt\) Greater than or equal to — the right hand number could be every number up to, and including, the left hand number
    • “x is greater than or equal to 5” becomes \(x \ge 5\)
    • \(6 \ge 5\) is true
    • \(5 \ge 6\) isn’t true
    • \(6 \ge 6\) is true
  • \(\ne\) Not equal to — the two numbers are different
    • “x is not equal to 5” becomes \(x \ne 5\)
    • \(6 \ne 5\) is true
    • \(6 \ne 6\) isn’t true

\(\lt\)” and “\(\gt\)” are referred to as strict inequalities, as they do not include the endpoints, so you could say, for instance, that “x is strictly less than 6” for \(x < 6\).

An inequality can also be used to express a range. E.g. suppose we have \(x > 5\) and \(x < 7\), this could be written as one inequality

\[ 5 < x < 7\]

6.1 Linear inequalities

Suppose I want to know the set of values of \(x\) for which

\[ x + 3 < 5\]

I can treat this just as I would any equation, i.e. subtract 3 from both sides and get

\[ x < 2\]

Similarly for subtraction. In general you can treat an inequality just like you would any equation, with one proviso — if you multiply or divide by a negative number you must swap the direction of the inequality. To illustrate why, consider

\[-5 < -1\] If I multiple both sides by \(-1\) I get 5 on the left, and 1 on the right, and we know that

\[5 > 1\]

Similarly, if I have

\[ -x < -1 \]

I must have

\[ x > 1 \]

6.2 Quadratic inequalities

Now consider \(x^2 + x - 2 < 0\). If this were an equation rather than an inequality, i.e. we had \(x^2 + x -2 = 0\), we could factorise it to give \((x+2)(x-1) = 0\) and solve to get \(x=-2\) and \(x=1\). However we have an inequality. Let’s look at the graph of \(y=x^2 + x -2\):

We are interested in when \(y < 0\), which is clearly when

\[-2 < x < 1\]

Similarly if we had been interested in \(x^2 + x - 2 > 0\) we would look at where \(y > 0\) and get

\[ x < -2 \qquad \mathbf{or} \qquad x > 1\]

as the solution.

So, in general for a quadratic inequality:

  1. Find the roots of the corresponding equality
  2. Do a quick sketch of the graph
  3. Inspect the graph to see which region solves the inequality.