Inequality Calculator
Solve single-variable linear inequalities ($ax + b \le cx + d$), compound bounded ranges ($L \le bx + c \le R$), and absolute value inequalities ($|ax + b| \le c$) with interactive real number line visualization, exact interval notation, and step-by-step algebraic derivations.
Enter Inequality Expression
Step-by-Step Inequality Algebraic Derivation
How to Solve an Algebraic Inequality
To solve an algebraic inequality ax + b ≤ cx + d, group variable terms on one side and constant terms on the other: (a − c)x ≤ (d − b). Divide both sides by the variable coefficient (a − c). If dividing or multiplying by a negative number, immediately flip the inequality symbol (≤ becomes ≥). Express final solutions in interval notation [k, ∞) or (−∞, k] and plot on a real number line using closed dots for inclusive boundaries (≤, ≥) and open circles for strict boundaries (<, >).
Linear Inequality Principles & The Negative Sign Flip Rule
In real analysis and algebra, an inequality defines an order relation between two mathematical expressions using one of four comparison operators: strictly less than ($<$), less than or equal to ($\le$), strictly greater than ($>$), or greater than or equal to ($\ge$).
While a linear equation $ax + b = c$ typically isolates a single discrete point on the real number line, an inequality typically delineates an infinite continuum of values satisfying the order relation. For visual two-dimensional plotting of inequalities, explore our Graph Linear Inequality Tool.
Mathematical Proof: Consider two real numbers $a$ and $b$ such that $a < b$. By the axiom of order, $b - a > 0$. If we multiply both sides by $-1$, we examine the difference $(-a) - (-b) = b - a > 0$. Because $(-a) - (-b)$ is strictly positive, $-a$ must be strictly greater than $-b$: $-a > -b$. Geometrically, multiplication by $-1$ reflects the number line across the origin $0$, reversing left-to-right relative positions.
Interval Notation, Endpoint Geometry & Set Builder Form
Communicating inequality solutions requires standardized mathematical notations that capture continuous intervals without ambiguity:
Square brackets $[ \, ]$: Indicate inclusive boundary endpoints where the boundary value itself satisfies the relation ($\le, \ge$). Displayed on number line plots as solid closed circles.
Parentheses $( \, )$: Indicate strict exclusions ($<, >$) or unbounded horizons ($-\infty, \infty$). Displayed on number line plots as open hollow circles.
Formally reads: "The set of all real numbers $x$ such that $x$ is greater than or equal to $k$." Set builder notation explicitly anchors the domain in the real field $\mathbb{R}$.
Compound Inequalities: Conjunctions (AND) vs. Disjunctions (OR)
A compound inequality connects two distinct inequality statements using logical operators:
Conjunction (AND / Intersection $\cap$)
a ≤ x ≤ bRequires that both conditions hold simultaneously. Solved by performing operations simultaneously across all three parts of the inequality chain:
Produces a single bounded line segment on the real number line spanning between endpoints.
Disjunction (OR / Union $\cup$)
x < a or x > bSatisfied if either individual condition holds true. Solved by treating each inequality independently and uniting their solution sets:
Produces two disconnected rays extending outward toward positive and negative infinity.
Absolute Value Inequalities & Distance Metrics
The absolute value $|u|$ geometrically represents the Euclidean distance of a coordinate $u$ from the origin $0$. This geometric definition governs the transformation of absolute value inequalities into algebraic compound forms:
States that the distance from the origin is at most $c$ units. For example, $|2x - 3| \le 7 \implies -7 \le 2x - 3 \le 7 \implies -4 \le 2x \le 10 \implies [-2, 5]$.
States that the distance from the origin is at least $c$ units. For example, $|x + 2| > 4 \implies x + 2 < -4 \text{ or } x + 2 > 4 \implies (-\infty, -6) \cup (2, \infty)$.
Special Negative Constant Cases: If $c < 0$, $|u| < c$ has no solution ($\emptyset$) because distance can never be negative. Conversely, $|u| > c$ is satisfied by all real numbers ($(-\infty, \infty)$) because absolute values are non-negative. To compare individual values directly, test our Greater Than or Less Than Calculator.
Comprehensive Inequality Classification Matrix
The reference table below synthesizes algebraic forms, logical endpoint classifications, and graphical representations:
| Inequality Statement | Boundary Type | Interval Notation | Number Line Dot | Set Builder Notation |
|---|---|---|---|---|
| x > k | Strict / Ray to $+\infty$ | (k, ∞) | Open Circle | { x ∈ ℝ | x > k } |
| x ≥ k | Inclusive / Ray to $+\infty$ | [k, ∞) | Solid Circle | { x ∈ ℝ | x ≥ k } |
| x < k | Strict / Ray to $-\infty$ | (-∞, k) | Open Circle | { x ∈ ℝ | x < k } |
| x ≤ k | Inclusive / Ray to $-\infty$ | (-∞, k] | Solid Circle | { x ∈ ℝ | x ≤ k } |
| a ≤ x < b | Compound Half-Open | [a, b) | Solid at a, Open at b | { x ∈ ℝ | a ≤ x < b } |
Real-World Applications in Engineering, Quality Control & Budgets
Inequalities are fundamental mathematical representations of limits, boundaries, tolerances, and resource constraints:
1. Precision Mechanical Engineering & CNC Tolerances
Aerospace and automotive engine components must satisfy rigorous dimensional tolerances to prevent friction failure or fluid leakage. If a piston cylinder requires an optimal diameter of $85.000\text{ mm}$ with a maximum allowable error of $0.015\text{ mm}$, quality control engineers express this as $|d - 85.000| \le 0.015$. Expanding yields the acceptable production window: $[84.985\text{ mm}, 85.015\text{ mm}]$.
2. Operations Research & Linear Programming Constraints
Supply chain logistics managers maximize profit subject to linear inequalities representing finite warehouse capacity, transportation fleet hours, and raw material availability: $3x_1 + 5x_2 \le 1200\text{ hours}$. In linear programming, the feasible region is defined by the intersection of these half-plane inequalities.
3. Corporate Finance & Break-Even Feasibility
A startup evaluating production profitability formulates revenue and expense inequality models: $\text{Revenue}(q) \ge \text{Fixed Overhead} + \text{Variable Unit Cost} \cdot q$. The resulting inequality $45q \ge 60000 + 15q \implies 30q \ge 60000 \implies q \ge 2000\text{ units}$ establishes the minimum operational production threshold.
Step-by-Step Worked Numerical Case Studies
Problem: Solve $4(2x - 3) \ge 11x + 6$.
Problem: Solve $|3x + 5| > 14$.
Common Traps, Infinity Brackets & Sign Errors
If $-2x \le 10$, dividing by $-2$ requires flipping $\le$ to $\ge$: $x \ge -5$. Failing to reverse this symbol inverts the entire solution ray across the number line.
Writing $[3, \infty]$ is mathematically incorrect. Infinity is an unbounded directional limit, not a real number that can be included. Always write $[3, \infty)$.
When solving compound forms like $10 > 2x + 4 \ge 2$, remember that reversing operators preserves validity: $2 \le 2x + 4 < 10 \implies -2 \le 2x < 6 \implies -1 \le x < 3$. Always maintain consistent left-to-right ascending order.
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.