Last verified · v1.0
Calculator · math
1 D Linear Inequality Solver Calculator
Test whether a value x satisfies the linear inequality ax + b [op] c. Returns 1 if the point lies in the solution set on the number line, 0 if it does not.
Inputs
Test Value in Solution Set (1 = Yes, 0 = No)
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
The formula
How the
result is
computed.
What Is a 1D Linear Inequality?
A one-dimensional linear inequality takes the standard form ax + b [op] c, where a is the coefficient of the variable, b is a constant term, c is the right-hand side value, and [op] represents one of four comparison operators: strictly less than (<), strictly greater than (>), less than or equal to (≤), or greater than or equal to (≥). The graphing inequalities 1D calculator on this page evaluates whether a user-supplied test value x₀ falls inside the solution set, returning the binary result 1 (satisfied) or 0 (not satisfied).
The Point-Test Formula
The calculator implements the following membership function:
satisfies?(x₀) = 1 if ax₀ + b [op] c; = 0 otherwise
To evaluate this manually: substitute the candidate value x₀ into the expression ax₀ + b, compute the result, then apply the chosen operator to compare against c. If the comparison is true, the point lies within the solution interval on the number line.
Deriving the Full Solution Set
Understanding the complete solution set requires isolating x algebraically. The steps follow standard single-variable algebra, with one critical rule when the coefficient is negative:
- Step 1: Subtract b from both sides to obtain ax [op] c − b.
- Step 2: Divide both sides by a. If a > 0, the operator direction stays the same: x [op] (c − b) / a. If a < 0, the operator reverses direction (for example, < becomes >). If a = 0, the inequality collapses to the constant comparison b [op] c, which is either always true or always false regardless of x.
- Step 3: Identify the critical boundary x = (c − b) / a. Strict operators (< and >) produce an open boundary (excluded). Non-strict operators (≤ and ≥) produce a closed boundary (included).
According to the West Texas A&M University Virtual Math Lab, the sign-reversal rule when dividing by a negative coefficient is among the most frequently misapplied rules in introductory algebra. The point-test method used by this calculator sidesteps that confusion by directly evaluating whether a specific candidate value satisfies the original inequality without requiring the full algebraic solve.
Variable Reference
- a (Coefficient of x): The multiplier on the variable. In 5x − 3 > 7, a = 5. A negative value flips the solution interval direction when solving algebraically.
- b (Constant Term): The value added to ax on the left-hand side. In 5x − 3 > 7, b = −3.
- Operator: The comparison sign. Determines whether the boundary is open or closed and the direction of the solution ray.
- c (Right-Hand Side): The target constant. In 5x − 3 > 7, c = 7, giving solution x > 2.
- x₀ (Test Value): The candidate number to evaluate. Returns 1 if inside the solution interval, 0 if outside.
Worked Examples
Example 1: Strict Less-Than
Inequality: 2x + 3 < 7. Solution set: x < 2. Test x₀ = 1: 2(1) + 3 = 5; is 5 < 7? Yes. Result: 1. Test x₀ = 4: 2(4) + 3 = 11; is 11 < 7? No. Result: 0.
Example 2: Non-Strict Inequality with Negative Coefficient
Inequality: −4x + 8 ≥ 0. Algebraic solution: divide by −4 (flip sign) to get x ≤ 2. Test x₀ = 2: −4(2) + 8 = 0; is 0 ≥ 0? Yes. Result: 1. Test x₀ = 3: −4(3) + 8 = −4; is −4 ≥ 0? No. Result: 0.
Example 3: Zero-Coefficient Edge Case
Inequality: 0x + 5 < 10. Since a = 0, the inequality reduces to 5 < 10, which is always true. Every test value returns 1. If instead the constant comparison were false, e.g. 0x + 12 < 3, every test value would return 0.
Real-World Applications
Linear inequalities model constraints across science, finance, and engineering. Budget planning expresses a spending cap as px ≤ B, where p is unit price and B is the total budget. Speed compliance checks whether a measured speed satisfies v ≤ 65 mph. Manufacturing tolerances require a measurement m to satisfy |m − m₀| ≤ ε, which decomposes into two linear inequalities. Research compiled through ERIC (ED466389): Solving and Graphing Absolute Value Equations and Inequalities in One Variable confirms that substitution-based point testing is a pedagogically recommended approach for building student intuition about solution sets. The Paradise Valley Community College Unit 10: Systems of Equations and Inequalities further documents how mastery of the 1D case is the required prerequisite for understanding two-variable half-plane solutions and systems of inequalities.
Reference