Math Core

Lesson 3.1 · Solving Inequalities

Writing and graphing inequalities

An equation like x+3=10x + 3 = 10 has exactly one answer. Many real questions don't: you must be at least 16 to get a driver's permit, an elevator holds no more than 1,500 pounds, a phone plan lets you use up to 5 GB. Each of these describes a whole range of numbers, and the tool for writing a range is an inequality.

The inequality symbols

Definition

Inequality

An inequality is a statement that compares two expressions using one of these symbols:

symbolread asexample
<<is less thanx<4x < 4
>>is greater thanx>−1x > -1
≤\leis less than or equal tox≤10x \le 10
≥\geis greater than or equal tox≥0x \ge 0

The symbol always opens toward the larger side, like a mouth that wants the bigger number. In 2<92 < 9 the wide end faces 99.

An inequality can be read in either direction. The statement x<4x < 4 ("xx is less than 44") says exactly the same thing as 4>x4 > x ("44 is greater than xx"). When you flip the sides, you flip the symbol so it still points at the same thing.

Solutions of an inequality

A solution of an inequality is any value of the variable that makes it true. To test a value, substitute it and check whether the comparison holds.

For x+5≥8x + 5 \ge 8:

valuesubstitutetrue?
x=2x = 22+5=72 + 5 = 7, and 7≥87 \ge 8no
x=3x = 33+5=83 + 5 = 8, and 8≥88 \ge 8yes
x=3.5x = 3.53.5+5=8.53.5 + 5 = 8.5, and 8.5≥88.5 \ge 8yes
x=100x = 100105≥8105 \ge 8yes

Every number 33 or greater works, including fractions and decimals like 3.53.5. So this inequality has infinitely many solutions. You can't list them all, but you can describe them with a simpler inequality, x≥3x \ge 3, or draw them.

Graphing on a number line

The graph of an inequality in one variable shades every solution on a number line. Two choices decide what the graph looks like.

  1. The circle at the boundary. Use a closed (filled) circle when the boundary number is a solution (≤\le or ≥\ge). Use an open (hollow) circle when it is not (<< or >>).
  2. The direction of shading. Shade toward the numbers that make the statement true. When the variable is on the left, "less than" shades to the left and "greater than" shades to the right.

Here is x≥3x \ge 3. The filled circle shows that 33 is included, and the arrow shows that the solutions continue forever to the right.

−2−1012345678
x ≥ 3

And here is x<−1x < -1. The open circle shows that −1-1 itself is not a solution, but every number just below it, like −1.001-1.001, is.

−6−5−4−3−2−101234
x < -1

Reading and drawing graphs

inequalitycircleshading
x>ax > aopen at aato the right
x≥ax \ge aclosed at aato the right
x<ax < aopen at aato the left
x≤ax \le aclosed at aato the left

Common mistake

When the variable is on the right, as in 6>x6 > x, don't shade in the direction the symbol "points." Rewrite it with the variable first: 6>x6 > x means x<6x < 6, so the graph shades left from an open circle at 66. Test a number if you're unsure: 00 makes 6>06 > 0 true, so the side containing 00 gets shaded.

Worked example: Graphing an inequality

Graph y≤2.5y \le 2.5.

The symbol ≤\le includes the boundary, so draw a closed circle at 2.52.5. "Less than" means shade to the left.

−2−1012345
y ≤ 2.5

Check with a test point: y=0y = 0 gives 0≤2.50 \le 2.5, which is true, and 00 is on the shaded side.

Translating words into inequalities

Everyday phrases map onto the four symbols. The trickiest ones are "at least" and "at most," because they use no word like "greater" or "less."

phrasesymbol
is more than, exceeds, is above>>
is less than, is below, fewer than<<
at least, no less than, a minimum of≥\ge
at most, no more than, a maximum of, up to≤\le

A quick way to remember: "at least 1616" means 1616 is the least you can have, so 1616 and everything above it is allowed.

Worked example: Words to symbols

Write an inequality for each statement.

  1. A roller coaster rider's height hh must be at least 4848 inches.
  2. The number of people pp in the boat can be no more than 66.
  3. The temperature tt stayed above −4-4 degrees all night.
  4. You have $30. The total cost cc of your meal must not exceed that.

Solutions.

  1. "At least" includes 4848: h≥48h \ge 48.
  2. "No more than" includes 66: p≤6p \le 6.
  3. "Above" does not include −4-4: t>−4t > -4.
  4. "Must not exceed" means the cost can equal $30 but not go over: c≤30c \le 30.

Some situations also have a hidden restriction. In part 2 above, pp counts people, so it must be a whole number. The solutions are really 0,1,2,…,60, 1, 2, \dots, 6, even though the inequality p≤6p \le 6 on its own allows 5.55.5 and −3-3. Always ask whether the answer makes sense for the situation.

Writing an inequality from a graph

To go backward from a graph, read the three pieces of information it shows: the boundary number, the type of circle, and the direction of shading.

Worked example: Reading a graph

Write the inequality shown by each graph.

−5−4−3−2−1012345
012345678910

Solutions.

  1. The boundary is −2-2 with an open circle, so −2-2 is not included. The shading goes right: x>−2x > -2.
  2. The boundary is 77 with a closed circle, so 77 is included. The shading goes left: x≤7x \le 7.

Tip

To check any graph, pick one number in the shaded part and one number outside it. The shaded number should make the inequality true and the other should make it false.

Practice

Practice 1

Which value is a solution of 2x−1>72x - 1 > 7?

Practice 2

Write an inequality: your speed ss may be at most 6565 miles per hour.

Enter an inequality, e.g. x >= 4, -2 < x <= 3, or x < 1 or x > 5

Practice 3

Write an inequality: a club needs at least 1212 members nn to be recognized by the school.

Enter an inequality, e.g. x >= 4, -2 < x <= 3, or x < 1 or x > 5

Practice 4

Write the inequality shown by the graph.

−3−2−101234567

Enter an inequality, e.g. x >= 4, -2 < x <= 3, or x < 1 or x > 5

Practice 5

Write the inequality shown by the graph.

−6−5−4−3−2−101234

Enter an inequality, e.g. x >= 4, -2 < x <= 3, or x < 1 or x > 5

Practice 6

Which description matches the graph of −5<x-5 < x?

Practice 7

A carry-on bag can weigh no more than 2222 pounds. Which inequality describes the allowed weights ww, and which weight is not allowed?

Practice 8

How many integers are solutions of both x>−2x > -2 and x≤3x \le 3?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.