📘 CodingMarble Learn

Inequalities: Rules, Intervals and Solving Them

An inequality says one amount is bigger or smaller than another, using <, >, ≤ or ≥. On a number line, the smaller number is on the left. You may add or subtract the same number on both sides, and multiply or divide by the same positive number, and the sign stays. If you multiply or divide by a negative number, the sign flips. The answer is usually a whole set of numbers, written as an interval such as (−∞, 4]. A quadratic inequality is solved from its roots and the shape of its graph. |x| < a means −a < x < a. Some inequalities are true for every number, like x² ≥ 0 and the AM–GM inequality.

🎬 Step-by-step story

  1. On the number line the smaller number is always on the left. 2 is left of 5, so 2 < 5.
  2. Add the same number to both sides and both points slide together. The order, and the sign, stay the same.
  3. Multiply by a negative number and the points mirror across 0. The order swaps, so the sign must flip.
  4. Solve 2x − 3 ≤ 5 line by line. The answer x ≤ 4 is a whole ray, with a filled dot at 4.
  5. A quadratic inequality: find the roots, then read the graph. x² − x − 6 < 0 is true only between −2 and 3.
  6. Your turn. Pick a type of inequality, move the number a, and read the interval that turns green.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why is −7 smaller than −2 when 7 is bigger than 2?

Smaller means further left on the number line. −7 is 7 steps left of 0, −2 only 2 steps, so −7 is further left and smaller.

Why doesn't adding a number change the sign?

Both sides move by the same amount in the same direction, so the one on the left stays on the left.

Why does a negative number flip the sign?

Multiplying by a negative mirrors points across 0, and a mirror swaps left and right, so the order reverses.

Why is the answer a range and not one number?

Many numbers make 2x − 3 ≤ 5 true: 4, 3, 0, −10 … all of them. That is why we shade a whole ray.

When is a quadratic answer 'between' and when 'outside' the roots?

For an upward parabola, it is below zero between the roots and above zero outside them. So '< 0' gives between, '> 0' gives outside.

What if there is no answer at all?

Then the solution set is empty (∅). In free play, pick |x| < a and set a to 0 or less: nothing turns green.

What is an inequality?

An equation says two sides are equal. An inequality says they are not equal, and tells which side is bigger.

On a number line, numbers grow from left to right. So the number on the left is always the smaller one. −7 < −2, because −7 is further left.

Every two real numbers can be compared: either a < b, a = b or a > b. Exactly one is true.

The rules (properties) of inequalities

These rules are like the rules for equations, with one big warning.

  1. Add or subtract the same number on both sides: the sign stays. If a < b then a + c < b + c.
  2. Multiply or divide by a positive number: the sign stays. If a < b and c > 0 then ac < bc.
  3. Multiply or divide by a negative number: the sign flips. If a < b and c < 0 then ac > bc.
  4. Chain rule (transitive): if a < b and b < c, then a < c.
  5. Adding two inequalities that point the same way is allowed: a < b and c < d give a + c < b + d. Subtracting them is NOT safe.
  6. Taking reciprocals of two positive numbers flips the sign: 2 < 5 but 1/2 > 1/5.

Why does a negative flip the sign? Multiplying by −1 mirrors every point across 0. The one on the left jumps to the right. So the order swaps.

Solving linear inequalities and interval notation

Solve just like an equation, using the rules above. The answer is a set of numbers.

Example: 5 − 2x > 11 → −2x > 6 → divide by −2 and flip → x < −3.

Showing the answer

InequalityInterval
x ≤ 4(−∞, 4]
x > −1(−1, ∞)
−2 < x ≤ 5(−2, 5]
all real numbers(−∞, ∞) = ℝ

Double inequalities like −1 ≤ 2x + 3 < 9: do the same thing to all three parts. −4 ≤ 2x < 6, so −2 ≤ x < 3.

Systems: solve each inequality, then keep only the numbers that satisfy both (the overlap, or intersection).

Quadratic, rational and modulus inequalities

Quadratic inequality (ax² + bx + c > 0 or < 0):

  1. Move everything to one side so the other side is 0.
  2. Find the roots (factorise or use the formula).
  3. Think of the graph. If a > 0 the parabola opens upward: it is below zero between the roots and above zero outside them.

x² − x − 6 < 0 → (x − 3)(x + 2) < 0 → −2 < x < 3.
x² − x − 6 ≥ 0 → x ≤ −2 or x ≥ 3.

Sign chart method: mark the roots on a line; test one number in each part; keep the parts with the right sign. This also works for rational inequalities like (x − 1)/(x + 4) > 0 (never divide by zero, so x ≠ −4 always gets a hollow dot). Do not multiply both sides by (x + 4), because you do not know its sign.

Modulus (absolute value): |x| is the distance of x from 0.

Inequalities that are always true (absolute inequalities)

Some inequalities hold for every allowed value. They are called absolute (or identical) inequalities. Proving one usually means turning it into 'a square is never negative'.

Proof of AM–GM: (√a − √b)² ≥ 0 → a − 2√(ab) + b ≥ 0 → (a + b)/2 ≥ √(ab).

Use: of all rectangles with perimeter 20 cm, the square (5 × 5) has the biggest area, 25 cm².

Try it at home

Draw a number line from −6 to 6 on paper. Put a coin on 1 and a button on 3. Now 'multiply by −1': move each to the opposite side of 0. Which one is on the left now? Write both statements with < or >. You have just seen why the sign flips.

In the 3D free play, pick |x| < a and set a = 0. Predict first: how many numbers turn green?

Key formulas and definitions

Worked examples

1. Solve 3x + 4 < 19 and write the interval.

3x < 15 (subtract 4). x < 5 (divide by 3, positive, sign stays). Interval (−∞, 5); hollow dot at 5.

2. Solve 7 − 2x ≥ 1.

−2x ≥ −6 (subtract 7). Divide by −2 and flip: x ≤ 3. Interval (−∞, 3]. Check x = 0: 7 ≥ 1 ✓.

3. Solve −3 < 2x + 1 ≤ 9.

Subtract 1 from all parts: −4 < 2x ≤ 8. Divide by 2: −2 < x ≤ 4. Interval (−2, 4].

4. Solve the system x + 2 > 0 and 2x − 5 ≤ 3.

First: x > −2. Second: 2x ≤ 8, x ≤ 4. Both: −2 < x ≤ 4, interval (−2, 4].

5. Solve x² − 5x + 4 ≤ 0.

(x − 1)(x − 4) ≤ 0. Roots 1 and 4. The parabola opens upward, so it is ≤ 0 between the roots, ends included: 1 ≤ x ≤ 4, interval [1, 4].

6. Solve |2x − 1| < 5.

−5 < 2x − 1 < 5. Add 1: −4 < 2x < 6. Divide by 2: −2 < x < 3. Interval (−2, 3).

7. Prove that x + 1/x ≥ 2 for every x > 0.

Since x > 0, multiply by x (sign stays): x² + 1 ≥ 2x ⇔ x² − 2x + 1 ≥ 0 ⇔ (x − 1)² ≥ 0, which is always true. Equality when x = 1.

Common mistakes

Practice quiz

1. Which is true?
2. If −3x < 12, then:
3. Interval notation for −1 ≤ x < 6 is:
4. |x| ≤ 2 means:
5. The solution of (x − 1)(x − 5) > 0 is:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is an inequality in maths?

A statement that two amounts are not equal, using <, >, ≤ or ≥. Its answer is usually a range of numbers.

When do you flip the inequality sign?

Only when you multiply or divide both sides by a negative number (and when you take reciprocals of two positive numbers).

How do you write the answer of an inequality?

On a number line (filled dot = included, hollow = not), or in interval notation with [ ] for included and ( ) for not included, e.g. (−∞, 4].

Where this is taught

PolandSzkoła podstawowa, klasa VIIINumber line and coordinate plane
RomaniaClasa a VIII-aReal intervals. Inequalities in ℝ
Ukraine9 класInequalities
Ukraine10 класAlgebra: functions, polynomials, equations and inequalities (36 h)
Ukraine11 класAlgebra: equations, inequalities and systems — review (30 h)
South Korea고등학교 1학년Sets and propositions
China高一Ch.2 Quadratic functions, equations, inequalities

Learn first

Learn next

Related lessons

All Maths lessons