Compound Inequality Calculator
A compound inequality calculator is an algebraic tool that solves pairs of inequalities joined by the logical connectors 'and' or 'or'. The calculator solves each inequality independently, then determines the solution set by finding either the intersection (for 'and' statements) or the union (for 'or' statements) of the individual solution intervals. It outputs the result in inequality notation and interval notation. A number line is not drawn. Algebra students use this utility to verify homework and understand compound logical conditions.
Pick AND or OR mode. Enter the linear pieces and operators; the calculator returns each piece's solution and the combined interval (intersection for AND, union for OR).
Quick Answer
Solve compound inequalities joined by 'and' or 'or'. Enter the coefficients for each piece to get both solution intervals and the combined intersection or union, in interval notation.
Mode
Format: a (op₁) mx + b (op₂) c. Both operators should point in the same direction (e.g. both < or both ≤).
op₁
op₂
For a single linear inequality (no AND/OR), use the inequality calculator. This page is specifically for compound forms.
Solution (intersection)
(-2, 2]
Split into two inequalities: 2x + 1 > -3 AND 2x + 1 <= 5. Intersect the two solution sets.
AND inequalities (a < expr < c) take the intersection of the two solutions. OR inequalities take the union. Empty intersection means no solution; a full union of (−∞, ∞) means all real numbers.
Examples
−3 < 2x + 1 ≤ 5
x ∈ (−2, 2]
x < −1 OR x > 3
x ∈ (−∞, −1) ∪ (3, ∞)
0 ≤ x − 5 ≤ 10
x ∈ [5, 15]
2x + 1 < 3 OR x − 1 > 4
x ∈ (−∞, 1) ∪ (5, ∞)
How it works
The calculator solves each linear piece on its own using the same logic as the single inequality solver (it flips the operator when the coefficient is negative). Then it combines the two intervals.
AND · solution = piece₁ ∩ piece₂
OR · solution = piece₁ ∪ piece₂
Related calculators
- Inequality calculator for a single one-variable linear inequality.
- Proportion calculator for ratio relationships that sometimes lead to inequalities.
- System of equations calculator for the equality cousin of compound conditions.
- All education calculators.
Related Calculators
More tools from Education



