Free Algebra Solver
Inequalities

Inequality Calculator

Solve linear inequalities, compound inequalities like −3 < 2x + 1 < 7, and quadratic or polynomial inequalities with a sign chart.

Preview -3x + 6 > 15 (Solve) Ready
Examples
Solution

Worked example: -3x + 6 > 15

Worked example. Edit the problem above and press Solve to solve your own.

Problem-3x + 6 > 15
  1. Simplify both sides of the inequality

    Remove parentheses and combine like terms.

    −3x + 6 > 15
    Original inequality
    −3x + 6 > 15
    Simplified form

    Equivalent simplification does not change the set of values that satisfy the inequality.

  2. Subtract 6 from both sides

    Subtract 6 to isolate the variable term.

    −3x + 6 − 6 > 15 − 6
    Subtract 6 on both sides
    −3x > 9
    Simplify both sides

    Adding or subtracting the same number from both sides preserves the order.

  3. Divide by −3 and reverse the inequality sign

    Dividing by a negative number reverses the inequality direction.

    −3x/−3 < 9/−3
    Reverse the sign because the divisor is negative
    x < −3
    Simplify both sides

    Multiplication by a negative number reverses order on the real number line.

Answerx < −3

Inequalities guide

How the inequality calculator solves problems

This inequality calculator handles linear, compound and quadratic inequalities, which covers most of the solving inequalities work in Algebra 1 and 2. It shows each step, flags when the sign flips, and gives the answer in inequality and interval notation.

How do you solve an inequality?

Solve it like an equation, with one extra rule: when you multiply or divide both sides by a negative number, reverse the inequality sign. For −3x + 6 > 15, subtract 6 to get −3x > 9, then divide by −3 and flip the sign to get x < −3.

How do you solve −3x + 6 > 15?

Subtract 6 from both sides, then divide by −3 and flip the sign. The answer is x < −3, which is (−∞, −3) in interval notation.

Start
−3x + 6 > 15
Subtract 6 from both sides
−3x > 9
Divide by −3 and reverse the sign
x < −3

A quick check: pick a number that should work, like x = −4. Then −3(−4) + 6 = 18, and 18 > 15 is true. Pick one that shouldn't, like x = 0: 6 > 15 is false, as expected.

When do you flip the inequality sign?

Flip it only when you multiply or divide both sides by a negative number. Adding or subtracting, even a negative, never flips it.

The reason shows up with plain numbers. 2 < 5 is true. Multiply both sides by −1 and you get −2 and −5, and −2 is the larger one, so the sign has to turn around: −2 > −5.

MoveFlip the sign?
Add or subtract any numberNo
Multiply or divide by a positiveNo
Multiply or divide by a negativeYes
Swap the two sidesYes (5 > x becomes x < 5)

You can also dodge the flip by collecting x on the side where its coefficient is positive. For −x + 4 ≥ 2x − 5, add x to both sides to get 4 ≥ 3x − 5, which leads to x ≤ 3 without dividing by a negative.

When x is on both sides and its coefficient ends up positive, there's nothing to flip. For 2x − 1 > x + 4, subtract x to get x − 1 > 4, then add 1 for x > 5.

How do you write the answer in interval notation?

Interval notation lists the start and end of the solution set. A parenthesis means the endpoint is left out (for < and >) and a square bracket means it's included (for ≤ and ≥). Infinity always gets a parenthesis.

InequalityInterval notation
x < −3(−∞, −3)
x ≥ −4[−4, ∞)
−2 < x < 3(−2, 3)
x ≤ 2 or x ≥ 3(−∞, 2] ∪ [3, ∞)

On a number line, a parenthesis matches an open circle and a bracket matches a filled-in dot.

How does the compound inequality calculator work?

A compound inequality like −3 < 2x + 1 < 7 has three parts, and you do each move to all three at once. The goal is to get x alone in the middle.

Start
−3 < 2x + 1 < 7
Subtract 1 from all three parts
−4 < 2x < 6
Divide all three parts by 2
−2 < x < 3

In interval notation that's (−2, 3). Mixed signs work the same way: −4 ≤ 3x + 2 < 11 gives −2 ≤ x < 3, or [−2, 3). If you divide all three parts by a negative, both signs flip.

How do you solve a quadratic inequality?

Get zero on one side, find where the quadratic equals zero, then test a number in each interval between those points. This is called a sign chart, and it's exactly what the quadratic inequality calculator shows.

For x² − 5x + 6 ≥ 0, the boundary equation x² − 5x + 6 = 0 has roots 2 and 3. Those split the number line into three intervals.

IntervalTest valuex² − 5x + 6Keep it?
(−∞, 2)x = 12 (positive)Yes
(2, 3)x = 5/2−1/4 (negative)No
(3, ∞)x = 42 (positive)Yes

Because the sign is ≥, the roots themselves count. The answer is x ≤ 2 or x ≥ 3, or (−∞, 2] ∪ [3, ∞). With a strict sign like x² − 9 < 0 the roots are left out, giving −3 < x < 3.

What are the common mistakes with inequalities?

Forgetting to flip after dividing by a negative is the classic one. From −3x > 9, writing x > −3 gives the exact opposite of the right set.

Flipping when you shouldn't comes a close second. Subtracting 6, or dividing by a positive 3, leaves the sign alone even if the numbers are negative.

With quadratics, students often solve x² − 9 < 0 as x < 3 by taking a square root. That misses the left side of the interval. The sign chart avoids this.

How do you show an inequality on a number line?

Put a circle at the boundary number, then shade the side that works. Use an open circle for < or > and a filled dot for ≤ or ≥.

With x < −3, draw an open circle at −3 and shade everything to the left. For −2 < x < 3, draw open circles at −2 and 3 and shade between them. For x ≤ 2 or x ≥ 3, shade two separate rays pointing outward, with filled dots at 2 and 3.

Reading the sign backwards is another trap. 5 > x and x < 5 are the same set, so if the variable is on the right, read the sign from the variable's side or rewrite it first.

What is the difference between "and" and "or" inequalities?

An "and" inequality keeps only the numbers that satisfy both conditions, so the answer is one connected piece. An "or" inequality keeps numbers that satisfy either condition, so the answer is often two separate pieces.

The compound inequality −2 < x < 3 is an "and" statement: x > −2 and x < 3 at the same time. The quadratic answer x ≤ 2 or x ≥ 3 is an "or" statement, and no single number can be in both parts. In interval notation, the ∪ symbol joins the pieces of an "or" answer.

Frequently asked questions

Short answers to the questions people ask most about this topic.

What is an inequality calculator?

It solves statements with <, >, ≤ or ≥ instead of an equals sign. You get the solution set in inequality form and interval notation, with steps.

When do you flip the inequality sign?

Only when you multiply or divide both sides by a negative number. Adding, subtracting, or dividing by a positive number leaves the sign as it is.

How do I type ≥ and ≤?

Type >= for ≥ and <= for ≤. The inequality solver converts them for display.

Can it solve compound inequalities?

Yes. Type all three parts on one line, like −3 < 2x + 1 < 7, and it returns −2 < x < 3.

What does a square bracket mean in the answer?

It means the endpoint is part of the solution. [−4, ∞) includes −4, while (−4, ∞) does not.

Can it solve absolute value inequalities?

Not yet. It solves absolute value equations like |2x − 3| = 7 on the absolute value equation solver page, but inequalities with absolute value aren't supported.

Does it handle cubic inequalities?

Yes, polynomial inequalities up to degree 6 use the same sign chart method, as long as the polynomial's roots can be found.

Can an inequality have no solution?

Yes. In x + 4 < x, subtracting x leaves 4 < 0, which is false, so no number works. In x < x + 4 you get 0 < 4, which is always true, so every real number is a solution.

Math keypad

Solve mode

Use the keypad below or tap the expression to use your phone keyboard.

Keyboard tips

Ctrl + Enter
Run the selected operation
a/b key
Select part of the problem first to wrap it in a fraction, root, power, or bars
sin(30)
Scientific functions work in Calculate mode; angles are in degrees unless you use π
^
Enter a power, such as x^2
sqrt(
Calculate an exact or simplified square root
a:b
Separate quantities in a ratio
12, 18
Separate integers in an LCM and GCD calculation
@ x =
Assign x when evaluating an expression
y =
Enter a polynomial function to graph
|
Wrap an absolute-value expression