مرکز یادگیری / جبر

Solving inequalities: how to solve and graph them

Solving inequalities like equations — with one extra rule — and showing the answer on a number line, in interval notation and as a shaded region.

3 دقیقه مطالعهبه‌روزرسانی ۱۱ آبان ۱۴۰۵نوشته Sumzo teamبازبینی: Sumzo team

An inequality compares two expressions that may not be equal, using << (less than), >> (greater than), ≤\le (less than or equal to) or ≥\ge (greater than or equal to). Where an equation like x+4=9x + 4 = 9 has one answer, an inequality like x+4<9x + 4 < 9 has a whole range of answers: every number less than 5.

The good news: if you can solve equations, you already know how to do inequalities. Solving inequalities works almost exactly like solving equations — add, subtract, multiply or divide both sides by the same amount — with one important exception.

The one rule that is different

When you multiply or divide both sides by a negative number, reverse the inequality sign. Why? 2<32 < 3 is true, but multiplying both sides by −1-1 gives −2-2 and −3-3, and −2>−3-2 > -3. Multiplying by a negative flips the order of numbers, so the sign must flip too.

How to solve an inequality, step by step

  1. Simplify each side (expand brackets, collect like terms).
  2. Get the variable terms on one side and the numbers on the other.
  3. Divide by the coefficient of the variable — and reverse the sign if it is negative.
  4. Write the answer, graph it, and test one number from the answer in the original inequality.

مثال حل‌شده

Easy: a one-step inequality

Solve x+4<9x + 4 < 9.

نمایش راه‌حل
  1. Subtract 4 from both sides.
    x<5x < 5
  2. Test x=0x = 0: 0+4<90 + 4 < 9 is true, and 0 is in the answer.
    ✓\checkmark

پاسخ: x<5x < 5

بررسی‌شده با موتور ریاضی Sumzo

مثال حل‌شده

Medium: dividing by a negative number

Solve −2x+3≥11-2x + 3 \ge 11.

نمایش راه‌حل
  1. Subtract 3 from both sides.
    −2x≥8-2x \ge 8
  2. Divide by −2-2 and reverse the sign.
    x≤−4x \le -4
  3. Test x=−5x = -5: 10+3=13≥1110 + 3 = 13 \ge 11 is true.
    ✓\checkmark

پاسخ: x≤−4x \le -4

بررسی‌شده با موتور ریاضی Sumzo

مثال حل‌شده

Medium: a compound inequality

Solve −3≤2x+1<7-3 \le 2x + 1 < 7.

نمایش راه‌حل
  1. Subtract 1 from all three parts.
    −4≤2x<6-4 \le 2x < 6
  2. Divide all three parts by 2.
    −2≤x<3-2 \le x < 3

پاسخ: −2≤x<3-2 \le x < 3

بررسی‌شده با موتور ریاضی Sumzo

مثال حل‌شده

Hard: an absolute value inequality

Solve ∣x−4∣<3|x - 4| < 3.

نمایش راه‌حل
  1. The distance from xx to 4 is less than 3, so x−4x - 4 is between −3-3 and 3.
    −3<x−4<3-3 < x - 4 < 3
  2. Add 4 to all three parts.
    1<x<71 < x < 7

پاسخ: 1<x<71 < x < 7

بررسی‌شده با موتور ریاضی Sumzo

The variable on both sides

Collect the variable on whichever side keeps its coefficient positive — then you never have to flip the sign.

مثال حل‌شده

Collecting the variable on one side

Solve 5x−2>3x+65x - 2 > 3x + 6.

نمایش راه‌حل
  1. Subtract 3x3x from both sides (the coefficient stays positive).
    2x−2>62x - 2 > 6
  2. Add 2, then divide by 2.
    2x>8⇒x>42x > 8 \Rightarrow x > 4
  3. Test x=5x = 5: 23>2123 > 21 is true.
    ✓\checkmark

پاسخ: x>4x > 4

بررسی‌شده با موتور ریاضی Sumzo

Inequalities in words

  • “at least”, “no less than”, “minimum” → ≥\ge
  • “at most”, “no more than”, “maximum” → ≤\le
  • “more than”, “over”, “exceeds” → >>
  • “less than”, “under”, “fewer than” → <<

مثال حل‌شده

A budget problem

A taxi charges 3 dollars plus 2 dollars per kilometre. You have 15 dollars. How far can you travel?

نمایش راه‌حل
  1. Let dd be the distance in km. The cost must be at most 15.
    3+2d≤153 + 2d \le 15
  2. Subtract 3, then divide by 2.
    2d≤12⇒d≤62d \le 12 \Rightarrow d \le 6
  3. Check: 6 km costs 3+2×6=153 + 2 \times 6 = 15 dollars, exactly the budget.
    ✓\checkmark

پاسخ: At most 6 km (d≤6d \le 6)

بررسی‌شده با موتور ریاضی Sumzo

How to graph an inequality on a number line

  • Put a dot on the boundary number.
  • Use an open (hollow) dot for << or >>, because the number itself is not included.
  • Use a closed (filled) dot for ≤\le or ≥\ge, because it is included.
  • Shade the side containing the solutions: left for “less than”, right for “greater than”.

For x≤−4x \le -4: a filled dot at −4-4, shaded to the left. For −2≤x<3-2 \le x < 3: a filled dot at −2-2, an open dot at 3, and shading between them. In interval notation these are (−∞,−4](-\infty, -4] and [−2,3)[-2, 3) — square brackets for included ends, round ones for excluded ends and for infinity.

How to graph linear inequalities in two variables

An inequality like y>2x+1y > 2x + 1 describes a region of the coordinate plane, not a single line. To graph the linear inequality:

  1. Draw the boundary line y=2x+1y = 2x + 1: dashed for << or >>, solid for ≤\le or ≥\ge.
  2. Pick a test point not on the line — (0,0)(0, 0) is easiest. Here 0>2(0)+10 > 2(0) + 1 is false.
  3. Shade the side that does not contain the test point when the test is false (above the line here), or the side that does when it is true.

Common mistakes

  • Forgetting to reverse the sign after multiplying or dividing by a negative.
  • Using the wrong dot: open for << and >>, filled for ≤\le and ≥\ge.
  • Shading the wrong side. Always test one point.
  • Treating “greater than” absolute value inequalities as one interval: ∣x−4∣>3|x - 4| > 3 means x<1x < 1 or x>7x > 7 — two pieces.

پرسش‌های متداول

What is the solution to an inequality?

Every number that makes it true. For x+4<9x + 4 < 9 that is every number less than 5 — a range, usually shown on a number line or in interval notation, (−∞,5)(-\infty, 5).

How do you solve inequalities with negative numbers?

The same way as equations, except that multiplying or dividing both sides by a negative number reverses the sign. Adding or subtracting negatives doesn’t change it.

How do you graph a solution set?

On a number line: a dot at each boundary (open if not included, filled if included) and shading over every solution. In two variables: the boundary line, dashed or solid, and shading on the side that passes a test point.

What is the difference between solving an equation and an inequality?

The steps are the same, but an inequality usually has a range of answers rather than one, and the sign flips when you multiply or divide by a negative.

روی مسئله‌ای گیر کرده‌اید؟ از Sumzo AI بپرسید