Free Algebra Solver
Inequalities

Inequality calculator

Solve linear inequalities with explicit sign-reversal reasoning.

Interpreted as: -3x + 6 > 15 (Solve) Ready
Examples
Solution

Step-by-step working

Your solution will appear here

Choose an operation and run it to see exact working, verification, and available visuals.

Inequality guide

Solve linear inequalities without losing the direction of the answer

A linear inequality solver with steps isolates x much like a linear equation solver, but one order rule is crucial: multiplying or dividing by a negative number reverses the inequality symbol. This guide also explains endpoints, interval notation, and reliable solution checks.

What is a linear inequality?

A linear inequality compares two first-degree expressions with <, >, ≤, or ≥. Instead of usually producing one value, it describes a set of values. For x > 3, every real number greater than 3 works. The boundary 3 is excluded because the symbol is strict.

The symbols ≤ and ≥ include equality, so their boundary points belong to the solution set. On a number line, strict endpoints use an open circle and inclusive endpoints use a closed circle. Interval notation records the same distinction with parentheses and brackets.

How to solve a linear inequality step by step

Use distribution, combining like terms, and inverse operations as you would for an equation. Keep the comparison symbol unchanged when adding or subtracting the same value from both sides. Watch the sign of the number used in the final multiplication or division.

  1. Simplify each side by distributing and combining like terms.
  2. Collect variable terms on one side and constants on the other.
  3. Add or subtract the same expression on both sides without changing the inequality direction.
  4. Divide by the coefficient of x; reverse the symbol only if that coefficient is negative.
  5. State the solution as an inequality and, when useful, in interval notation.
  6. Check the boundary and a representative value from the claimed solution set.

Why does the inequality sign reverse for a negative number?

Multiplication by a negative reflects numbers across zero and reverses their order. Since 2 < 5, multiplying both values by −1 produces −2 > −5. The same rule applies when dividing by a negative because division by −a is multiplication by −1/a.

The sign does not reverse merely because a negative number appears somewhere in the line. It reverses at the exact step where both sides are multiplied or divided by a negative quantity. A good inequality calculator calls out that moment explicitly.

Positive multiplier
a < b, c > 0 ⇒ ac < bc
Negative multiplier
a < b, c < 0 ⇒ ac > bc
Interval example
x > 3 ⇔ (3, ∞)

Worked example: −3x + 6 > 15

Subtract 6 from both sides to get −3x > 9. Now divide both sides by −3. Because the divisor is negative, reverse > to <: x < −3. In interval notation, the answer is (−∞, −3), and −3 is excluded.

Check x = −4, a value inside the interval: −3(−4) + 6 = 18, and 18 > 15 is true. Check the boundary x = −3: 9 + 6 = 15, and 15 > 15 is false, so the open endpoint is correct.

How to read interval notation

A bracket includes a finite endpoint, while a parenthesis excludes it. Infinity is not a number that can be included, so ±∞ always uses a parenthesis. Thus x ≥ 2 becomes [2, ∞), and x < −1 becomes (−∞, −1).

The calculator currently focuses on supported one-variable linear inequalities. Compound inequalities, absolute-value inequalities, and rational inequalities may require additional interval analysis beyond the published capability.

Common inequality mistakes

The most frequent mistake is forgetting the reversal after division by a negative. Other errors include using a closed endpoint for < or >, reversing after addition of a negative, and checking only the boundary even though a strict boundary is expected to be false.

A single test point does not replace the algebraic derivation, but it can expose a reversed interval quickly. Choose a simple value clearly inside the proposed set and evaluate the original inequality.

Frequently asked questions

Concise answers about the method, notation, checks, and calculator limits.

When do I reverse an inequality sign?

Reverse it only when both sides are multiplied or divided by a negative number.

Does subtracting a negative reverse the sign?

No. Adding or subtracting the same value preserves order, even when that value is negative.

What is the difference between < and ≤?

< excludes the boundary value, while ≤ includes it. The same distinction applies to > and ≥.

How do I write x ≥ 4 in interval notation?

Write [4, ∞). The bracket includes 4, and infinity always uses a parenthesis.

How can I check an inequality answer?

Test a value inside the claimed interval and inspect the boundary. Both checks should agree with the original symbol.

Can this tool solve every kind of inequality?

It is focused on supported one-variable linear inequalities. See Accuracy for compound, rational, and other current limits.

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
^
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