Solving a Linear Inequality

Category: Algebra   Level: 201

-2x + 3 < 7 ⇒ -2x < 4 ⇒ x > -2

Solve an inequality like an equation, with one catch: multiplying or dividing by a negative number flips the number line, so the inequality sign flips too.

Step through it

Watch it

Animated walkthrough

Step by step

Step 1: Subtract 3 from both sides

Peel off the + 3 first, just as with an equation. The top line shows the values that −2x may take: anything less than 4.

-2x + 3 - 3 < 7 - 3 so -2x < 4

Step 1: Subtract 3 from both sides

Step 2: Divide by −2 and watch the line flip

Each value on the top line maps to x = value ÷ (−2). The arrows cross in the middle: big numbers become small ones, so the order reverses.

4 / (-2) = -2

Step 2: Divide by −2 and watch the line flip

Step 3: Flip the inequality sign

The orange values left of 4 on top land right of -2 on the bottom. Less-than becomes greater-than.

-2x < 4 ⇒ x > -2

Step 3: Flip the inequality sign

Step 4: Test one point on each side

Plug in a shaded point and an unshaded point. Only the shaded one makes the original inequality true, so the shading is right.

x = 0: -2(0) + 3 = 3 < 7 true; x = -3: -2(-3) + 3 = 9 < 7 false

Step 4: Test one point on each side

All steps at once

Storyboard

Generate it yourself

cd svg-generator
python3 -m svgmath render inequality-number-line --out /tmp/inequality-number-line

Source: svgmath/diagrams/equations.py