Loading…

Linear Inequality Solver

Math Algebra • Inequalities

View all topics
Algebraic mode: use symbols <, >, ≤, ≥, or <=, >=.

Syntax (algebraic mode):
• Variable: x.
• Use <, >, <=, >= or the unicode symbols ≤, ≥.
• Linear expressions only (no \(x^2\), no \(x\) in denominators). Use * for multiplication or write implicit products like 8x, 5(2-x).
• Compound inequalities like -3 < 2x+1 <= 9 are interpreted as the intersection of two linear inequalities.
Word problem mode: you can type phrases such as 3x+5 is at most 2, x is no less than 4, x is greater than 1. The solver converts them to an inequality in \(x\).

Ready
Enter a linear inequality in one variable \(x\) and press Solve. The solver will:
  • Recognise single and compound linear inequalities.
  • Isolate \(x\) step by step, flipping the inequality sign when dividing by a negative number.
  • Show the solution set on a number line with open / closed dots and shaded intervals.

Number line: closed dots for ≤ / ≥, open dots for < / >. Green shading indicates all \(x\)-values that satisfy the inequality.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

How do I solve a linear inequality when I divide by a negative number?

When you divide or multiply both sides by a negative number, the inequality sign must flip. For example, -3x >= 0 becomes x <= 0 after dividing by -3.

What is a compound inequality like -3 < 2x+1 <= 9?

A compound inequality combines two conditions that must both be true at the same time. It is solved by solving each part and taking the intersection of the two solution intervals.

How do open and closed dots work on the number line for inequalities?

A closed dot means the endpoint is included (<= or >=), while an open dot means the endpoint is excluded (< or >). The shaded region shows all x values that satisfy the inequality.

Can I type a word problem phrase instead of inequality symbols?

Yes, word problem mode recognizes common phrases such as "at most" (<=) and "at least" (>=) and converts them into an inequality in x before solving.