Compound Inequality Solver
Enter the bounds and coefficients to solve the compound inequality for x.
Result
How it is calculated
The tool solves a < bx + c < d for x. Step one subtracts c from all three parts: a − c < bx < d − c. Step two divides all three by b, giving the two ends (a − c)/b and (d − c)/b. When b is negative, dividing reverses the inequality signs, so the two ends swap and the smaller one is always shown on the left. The inequalities are strict, so the end values themselves are not part of the solution. Answers are shown to four decimals. There is no result when b = 0 (x disappears) or when a is not smaller than d (no x can satisfy the chain).
Worked example
Solve 2 < −3x + 5 < 14, so a = 2, b = −3, c = 5, d = 14. Subtract 5 from every part: −3 < −3x < 9. Dividing by −3 gives (2 − 5)/(−3) = 1 and (14 − 5)/(−3) = −3. Because b is negative the order flips, and the tool shows -3.0000 < x < 1.0000. Check with x = 0: −3·0 + 5 = 5, which lies between 2 and 14, so it works.
Common mistakes
- Forgetting to reverse the direction when b is negative. With b = −3 the larger bound ends up on the left unless the signs are flipped.
- Subtracting c from only the middle part. It has to be removed from the lower bound a and the upper bound d as well.
- Entering the bounds in the wrong order, such as a larger than d. The chain a < … < d then has no solution and the tool returns nothing.
- Treating the ends as included. The inequalities are strict, so x equal to either end value does not satisfy the original statement.
- Setting b = 0 and expecting an answer. With no x term the expression is a constant, so there is nothing to solve for.
About this calculator
A compound inequality of the form a less than bx + c, and bx + c less than d squeezes the expression bx + c between two bounds at once, and it's solved the same way a single inequality is — by isolating x through valid algebraic operations applied to all three parts simultaneously: first subtract c from every part, then divide every part by b.
The one rule that trips people up is that dividing or multiplying an inequality by a negative number flips its direction — so if b is negative, "a less than (something) less than d" becomes "a greater than (something) greater than d" after dividing, and the bounds swap places accordingly. Getting this sign-flip right is exactly what separates a correctly solved compound inequality from a silently wrong one.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
After solving, test both ends yourself. For the chain 2 below -3x + 5 below 14, the tool gives x between -3.0000 and 1.0000. At x = 1 the middle expression equals exactly 2, and at x = -3 it equals exactly 14, so neither end belongs to the solution, because the inequalities are strict. Then pick any value between them to see the chain hold. Have you met a compound inequality with a non-strict sign that you wanted this tool to handle?