girgit.org

Linear Inequalities

What does it mean to solve an inequality?

The big ideaA solution of an inequality is any value of the variable that makes it true, and the set of all such values, the solution set, depends on which kind of numbers the variable is allowed to be.

In simple words

An equation usually has one right answer. A "less than" sentence usually has lots. If you may spend at most a hundred rupees on fifteen-rupee samosas, you could buy none, one, two, and so on up to six. Every one of those counts is a right answer. Solving means finding all of them at once, not just one.

Testing values one by one

Go back to the samosa shop: \( 15x \le 100 \), where \( x \) is the number of samosas. Since \( x \) counts samosas, it must be a whole number, 0 or more. Try values in turn and see whether the left-hand side (L.H.S.), \( 15x \), stays within the right-hand side (R.H.S.), 100:

\( x \)01234567
\( 15x \)0153045607590105
\( \le 100 \)?truetruetruetruetruetruetruefalse

Every value from 0 to 6 makes the statement true. Each one is a solution of the inequality: a value of the variable that turns the inequality into a true statement. All the solutions together form the solution set, here \( \{0, 1, 2, 3, 4, 5, 6\} \). From 7 on, every value fails, because \( 15x \) only grows.

Try it: drag across the bars to test counts one at a time, then show them all at once.

This trial and error method works for small cases but is slow, and it is hopeless when \( x \) can be any real number: you cannot test every decimal. The next two concepts give the proper rules.

The answer depends on which numbers are allowed

The same inequality can have different solution sets depending on what \( x \) is allowed to be. Take \( 12x \lt 50 \). Dividing both sides by 12 (a positive number, which is allowed, as you will see) gives \( x \lt \tfrac{25}{6} \), and \( \tfrac{25}{6} \approx 4.17 \).

Worked example

Solve \( 12x \lt 50 \) when \( x \) is (i) a natural number, (ii) an integer, (iii) a real number.

  1. Natural numbers start at 1. Those less than 4.17 are \( \{1, 2, 3, 4\} \).
  2. Integers include 0 and the negatives. Those less than 4.17 are \( \{\dots, -3, -2, -1, 0, 1, 2, 3, 4\} \): infinitely many, running off to the left.
  3. Every real number below \( \tfrac{25}{6} \) works, including \( 4.1 \), \( -\pi \) and \( \tfrac{1}{2} \). The solution set is the interval \( \left(-\infty, \tfrac{25}{6}\right) \).

See it: switch the kind of number and watch the same rule give three different answers.

In the last case the answer is a whole stretch of the number line, so it is written as an interval (you met these in the Sets chapter): a round bracket means the end is left out.

From now on, unless a question says otherwise, \( x \) is a real number. Word problems are the exception: if \( x \) counts people or packets, it must be a whole number, and you must say so.

Don't mix these up

  • "\( x \) is a natural number" starts at 1; "\( x \) is a whole number" or "the number of packets" starts at 0.
  • The solution set of a linear inequality over the real numbers is usually an infinite interval, not a list.
  • Check the end value separately: with \( \lt \) it is left out, with \( \le \) it is kept.

Try it. Solve \( 9x \lt 40 \) when (a) \( x \) is a natural number, (b) \( x \) is an integer, (c) \( x \) is real.

Answer
\( x \lt \tfrac{40}{9} \approx 4.44 \). (a) \( \{1, 2, 3, 4\} \). (b) \( \{\dots, -2, -1, 0, 1, 2, 3, 4\} \). (c) \( \left(-\infty, \tfrac{40}{9}\right) \).

Words to know

Solution of an inequality
A value of the variable that makes the inequality true.
Solution set
The set of all the solutions.
Trial and error
Testing values one at a time; slow and only works for small lists.
L.H.S. and R.H.S.
The left-hand side and right-hand side of the inequality sign.
\( (-\infty, a) \)
All real numbers less than \( a \); \( a \) itself is left out.

What is the solution set of \( 7x \lt 30 \) when \( x \) is a natural number?

  1. \( \{0, 1, 2, 3, 4\} \)
  2. \( \{1, 2, 3, 4\} \)
  3. \( \{1, 2, 3, 4, 5\} \)

Is \( x = -3 \) a solution of \( 2x + 9 \gt 4 \)?

  1. No, because the left side becomes 3, which is not greater than 4
  2. Yes, because −3 is a negative number
  3. It cannot be decided without solving

\( 5x \lt 12 \), with \( x \) an integer. Which of these is in the solution set?

  1. \( 2.4 \)
  2. \( 3 \)
  3. \( -10 \)