Inequality Solver

Solve linear and polynomial inequalities with AI-powered step-by-step solutions

Drag & drop or click to add images or PDF

Math Input
2x - 5 > 3
x^2 - 4x - 5 > 0
3x + 1 <= 7
(x - 1)(x + 3) >= 0

What is an Inequality?

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

  • << (less than)
  • >> (greater than)
  • \leq (less than or equal to)
  • \geq (greater than or equal to)

Unlike equations (which ask "what values make two sides equal?"), inequalities ask "what values make one side larger (or smaller) than the other?"

For example, the inequality:

2x5>32x - 5 > 3

asks: for which values of xx is 2x52x - 5 greater than 33?

The solution to an inequality is typically a range of values (an interval), not a single number. Solutions are often expressed in interval notation:

  • (a,b)(a, b): all values strictly between aa and bb
  • [a,b][a, b]: all values from aa to bb, inclusive
  • (,a)(b,)(-\infty, a) \cup (b, \infty): all values less than aa or greater than bb

Inequalities are fundamental in optimization, constraint problems, and determining domains and ranges of functions.

How to Solve Inequalities

1. Linear Inequalities

Solve like a linear equation, with one critical rule: flipping the inequality sign when multiplying or dividing by a negative number.

Example: Solve 2x5>32x - 5 > 3

  1. Add 5: 2x>82x > 8
  2. Divide by 2: x>4x > 4

Solution: (4,)(4, \infty)

Example with sign flip: Solve 3x+612-3x + 6 \leq 12

  1. Subtract 6: 3x6-3x \leq 6
  2. Divide by 3-3 (flip!): x2x \geq -2

2. Quadratic Inequalities

Solve the corresponding equation first, then test intervals.

Example: Solve x24x5>0x^2 - 4x - 5 > 0

  1. Factor: (x5)(x+1)>0(x - 5)(x + 1) > 0
  2. Critical points: x=1x = -1 and x=5x = 5
  3. Test intervals:
    • x<1x < -1: ()()=(+)>0(-)(-) = (+) > 0
    • 1<x<5-1 < x < 5: ()(+)=()<0(-)(+) = (-) < 0
    • x>5x > 5: (+)(+)=(+)>0(+)(+) = (+) > 0

Solution: (,1)(5,)(-\infty, -1) \cup (5, \infty)

3. Rational Inequalities

Find where the numerator and denominator are zero (critical points), then test sign in each interval. Never multiply both sides by an expression that could be negative.

4. Absolute Value Inequalities

  • x<a|x| < a means a<x<a-a < x < a
  • x>a|x| > a means x<ax < -a or x>ax > a

5. Sign Chart Method

For polynomial/rational inequalities, build a sign chart showing the sign of each factor in each interval.

TypeKey Step
LinearIsolate xx; flip sign if dividing by negative
QuadraticFactor, find roots, test intervals
RationalFind zeros of numerator and denominator
Absolute ValueSplit into two cases
CompoundSolve each part, then intersect/union

Common Mistakes to Avoid

  • Forgetting to flip the inequality sign: When you multiply or divide both sides by a negative number, you must reverse the direction of the inequality.
  • Including critical points incorrectly: For strict inequalities (<<, >>), critical points are NOT included. For \leq or \geq, they are.
  • Multiplying by a variable without considering its sign: If you multiply both sides by xx, you must consider cases where x>0x > 0 and x<0x < 0 separately.
  • Treating compound inequalities incorrectly: For a<f(x)<ba < f(x) < b, solve both parts simultaneously, not independently.
  • Writing solution in wrong notation: Use parentheses for strict inequalities and brackets for inclusive ones.

Examples

Step 1: Add 55 to both sides: 2x>82x > 8
Step 2: Divide both sides by 22: x>4x > 4
Step 3: Write in interval notation: (4,)(4, \infty)
Answer: x>4x > 4, or (4,)(4, \infty)

Step 1: Factor: (x5)(x+1)>0(x - 5)(x + 1) > 0. Critical points are x=5x = 5 and x=1x = -1.
Step 2: Test intervals: for x<1x < -1, both factors negative → product positive ✓; for 1<x<5-1 < x < 5, mixed signs → product negative ✗; for x>5x > 5, both positive → product positive ✓
Step 3: Solution: x(,1)(5,)x \in (-\infty, -1) \cup (5, \infty)
Answer: x<1x < -1 or x>5x > 5

Step 1: Subtract 66 from both sides: 3x6-3x \leq 6
Step 2: Divide by 3-3 and flip the inequality: x2x \geq -2
Step 3: Write in interval notation: [2,)[-2, \infty)
Answer: x2x \geq -2

Frequently Asked Questions

You flip (reverse) the inequality sign whenever you multiply or divide both sides by a negative number. For example, dividing both sides of -2x > 6 by -2 gives x < -3. This is because multiplying by a negative reverses the order of numbers on the number line.

Interval notation is a way to write solution sets. Parentheses ( ) mean the endpoint is excluded (strict inequality), and brackets [ ] mean it is included. For example, x > 3 is written as (3, infinity), and x >= 3 is written as [3, infinity).

First solve the corresponding equation to find critical points. Then test a value from each interval between (and beyond) the critical points to determine where the inequality holds. Use a sign chart to organize your work.

Strict inequalities use < or > and do not include the boundary value. Non-strict (or weak) inequalities use <= or >= and include the boundary value. This affects whether you use parentheses or brackets in interval notation.

Related Solvers

LinearQuadraticPolynomialEquation
Try AI-Math for Free

Get step-by-step solutions to any math problem. Upload a photo or type your question.

Start Solving