HomeCalculatorsMathAlgebra & EquationsLinear Inequality Calculator
Math calculator

Linear Inequality Calculator

Solve ax + b ○ rhs for ○ in {<, ≤, >, ≥}. Same engine as Linear Equation. Negative a flips the inequality. Not quadratic. Not a second engine. Runs locally.

Instant result
Result

Enter values to calculate.

Inputs
Mode
Formula
Trust summary Engine tested · Specification checked · 18/18 tests · Production surface contract 4/4 · v1.5.0
Input interpretation
Enter values to calculate.
Result
Model
The solution set of ax + b ○ rhs on ℝ for ○ in {<,≤,>,≥}.
Scope
Degree 1 only
Verification
Engine tested · 18/18 tests · Production surface contract 4/4 · Specification checked · v1.5.0
Named expert review
Optional · Not performed
Specification basis
  • ISO 80000-2:2019 Quantities and units — Mathematics
Specification basis
Evidence
7 golden · 3 boundary · 8 property · Production surface contract 4/4 · Artifact integrity PASS
Production
Embedded snapshot: STALE · Last attested schema matched 1.5.0 snapshot / local build · Semantic contract ✓ · Last attestation PASS · current evidence changed · re-attestation required · Public/cache ✓ · Origin ✓ · Live production status STALE (2 capabilities; 162 remain CURRENT) @ 2026-09-20T09:01:12.147Z
Semantic contract
PASS

Formulas

Core equations used by this calculator.

a > 0x ○ (rhs − b) / a
a < 0flip ○
a = 0ℝ if b ○ rhs, else ∅
iSame engine as /linear-equation. Not ax²+bx+c. Not a system. Not CAS. Default op is <.

How to use

1

Enter a, b, rhs, and ○

2x + 3 < 11 is a=2, b=3, rhs=11, op=< . The equation page stays at /linear-equation.

2

Read the half-line

x < 4, or ℝ / ∅ when a = 0. Quadratic inequalities are out of this engine.

Example calculations

Common configurations with formula and result.

ϟ

a positive

2x + 3 < 11

x < 4
(-∞, 4)
ϟ

a negative

−2x + 3 < 11

x > −4
(-4, ∞)

Linear Inequality calculator specification

Version 1.5.0 · Engine tested

Calculation status

Review policy · Evidence

Definition
ax + b ○ rhs with ○ in {<,≤,>,≥} is a half-line on ℝ when a ≠ 0. This page is mode=inequality on math.algebra.linear_equation. a < 0 flips the inequality. a = 0 is ℝ or ∅. Not a second engine. Not quadratic. Not CAS.
What it calculates
The solution set of ax + b ○ rhs on ℝ for ○ in {<,≤,>,≥}.
Inputs
  • a
  • b?
  • rhs
  • op
Outputs
  • interval
  • bound
  • status
  • sense
Formula
x ○ (rhs − b) / a, flipped when a < 0
Assumptions
  • Degree 1 only
  • Real coefficients
  • Not quadratic
  • Not a system
  • Not CAS
Units
  • dimensionless
Boundary conditions
  • missing a or rhs → MISSING_REQUIRED_INPUT
  • unknown op → INVALID_MODE
  • unknown mode (including quadratic, cas) → INVALID_MODE
  • a = 0 → ℝ or ∅
Example
a=2 b=3 rhs=11 op=lt → x<4
Validation cases

2 published on this page · 18/18 tests · Production surface contract 4/4 · View evidence

  • a=2 b=3 rhs=11 op=lt → x<4
  • mode=quadratic a=1 b=0 rhs=0 op=lt → INVALID_MODE
Specification basis
  • ISO 80000-2:2019 Quantities and units — Mathematics
Calculation version
1.5.0
}

Frequently asked questions

Key distinctions behind the calculation.

Is this a second linear engine?

No. It is mode=inequality on math.algebra.linear_equation, the same engine as /calc/math/linear-equation.

What if a is negative?

The inequality flips. −2x + 3 < 11 becomes x > −4.

Do you solve quadratic inequalities?

Yes. /calc/math/quadratic-inequality is mode=inequality on math.quadratic, not this page.