Inequality Calculator
Solve single-variable linear inequalities ($ax + b \le cx + d$), compound range inequalities ($L \le bx + c \le R$), and absolute value inequalities ($|ax + b| \le c$) with real-time number line graphing and interval notation.
Enter Inequality Expression
Step-by-Step Inequality Algebraic Derivation
How to Solve an Algebraic Inequality
To solve a linear inequality ax + b ≤ cx + d, isolate variable terms on one side and constant terms on the other: (a − c)x ≤ (d − b). Divide by (a − c). If (a − c) is negative, reverse the inequality direction (e.g. ≤ becomes ≥). Express final solutions in interval notation [k, ∞) or (−∞, k] and plot on a real number line.
Inequality Fundamentals & The Negative Sign Flip Rule
An algebraic inequality describes an order relationship between two expressions using the comparison symbols < (less than), ≤ (less than or equal), > (greater than), or ≥ (greater than or equal). Unlike equations with single numerical solutions, inequalities typically yield infinite sets of real numbers.
Proof: On the number line, 3 < 7. Multiplying by −1 reflects both values across 0 to −3 and −7. Since −3 is to the right of −7, −3 > −7.
Interval Notation vs. Set Builder Notation
Brackets [ ] indicate inclusive endpoints (solid dots on number line). Parentheses ( ) indicate strict exclusions and infinities (open circles).
Reads: "The set of all real numbers x such that x is greater than or equal to k."
Compound Inequalities (AND vs. OR)
Conjunction (AND / Intersection)
a ≤ x ≤ bRepresents a bounded interval between two numbers. Both conditions must hold true simultaneously: x ≥ a AND x ≤ b.
Disjunction (OR / Union)
x < a or x > bRepresents two disconnected rays extending outward toward ±∞. Solution is the union: (-∞, a) ∪ (b, ∞).
Absolute Value Inequalities (|u| ≤ c vs. |u| ≥ c)
The absolute value $|u|$ measures distance from zero on the real number line:
Distance from origin is within c units.
Distance from origin is at least c units.
Real-World Applications of Inequalities
Engineering Tolerances & QA
Precision manufacturing uses absolute value inequalities $|x - \mu| \le \delta$ to specify acceptable part dimensions before rejection.
Budget Constraints & Finance
Financial planners set up budget inequalities (Fixed + Variable Expenses ≤ Income) to establish maximum discretionary spending limits.
Speed & Safety Limits
Traffic regulations and industrial robotics enforce compound speed constraints (45 ≤ Speed ≤ 65 mph) for safe operational flow.
Step-by-Step Worked Numerical Solutions
Problem: Solve 5 − 2x ≤ 13.
Common Pitfalls & Mistakes to Avoid
Forgetting to Flip Inequality Sign
Failing to reverse the inequality direction when dividing by negative coefficients is the #1 student error in algebra.
Using Brackets on Infinity
Infinity (∞ and −∞) is an unbounded concept, not a real number. Never write [k, ∞]; always use parentheses [k, ∞).
Negative Absolute Value Contradictions
|x| < −3 has No Solution (absolute value is never negative). In contrast, |x| > −3 is true for All Real Numbers.
Lead Developer & Founder of Basic Math Tools. Specializes in browser-native computational algorithms and applied mathematics.
Mathematics & curriculum specialists. Audited against standard algebraic and arithmetic principles.