Single-Variable Linear Inequality Grapher
Solve and graph single-variable linear inequalities on the 1D real number line. Step-by-step algebraic isolation, negative division sign flips, solid ● vs open ○ circles, and interval notation.
Interactive 1D Real Number Line Graph
Slim Minimal Rays • Solid vs Open CirclesStep-by-Step Algebraic Isolation
Rigorous Proof StepsSingle-Variable Linear Inequality Direct Overview
To solve and graph a single-variable linear inequality ax + b ≤ cx + d, collect variable terms on one side (a - c)x and constants on the other d - b. Divide by (a - c), remembering to reverse the inequality sign if dividing by a negative number. Graph the resulting ray on a 1D real number line using a solid disc ● for inclusive bounds (≤, ≥) or an open circle ○ for strict bounds (<, >).
Mathematical Definition of Single-Variable Inequalities
A single-variable linear inequality is a mathematical statement establishing an order relation between two first-degree polynomial expressions in a single unknown real variable $x$. While a linear equation $ax + b = cx + d$ isolates a discrete solution point on the real number line $\mathbb{R}$, a linear inequality describes an infinite continuous continuum of values satisfying the order relation.
The four standard inequality comparison relations are:
For inequalities governed by distance thresholds and absolute value bounds, explore our specialized Absolute Value Inequality Grapher.
Fundamental Axioms & The Negative Inversion Rule
Solving inequalities relies on the ordered field axioms of the real numbers $\mathbb{R}$:
Adding or subtracting any real quantity $c \in \mathbb{R}$ preserves the inequality sign without change:
Multiplying or dividing by a strictly positive scalar $c > 0$ preserves the direction of the inequality sign:
Multiplying or dividing by a strictly negative scalar $c < 0$ strictly reverses the inequality sign:
Universal Step-by-Step Algebraic Solving Pipeline
To solve any single-variable linear inequality in the general form $ax + b \le cx + d$:
- Collect Variable Terms:
Subtract $cx$ from both sides: $(a - c)x + b \le d$.
- Collect Constant Terms:
Subtract $b$ from both sides: $(a - c)x \le d - b$.
- Isolate $x$ (Apply Sign Flip if $(a - c) < 0$):
Divide by the net coefficient $A = a - c$. If $A < 0$, flip the sign ($\le \to \ge$, $< \to >$).
x \le \frac{d - b}{a - c} \quad (A > 0) \qquad \text{OR} \qquad x \ge \frac{d - b}{a - c} \quad (A < 0) - Verify with a Test Point:
Select a test value inside the proposed solution interval (such as $x = 0$) and substitute it into the original inequality to confirm truth.
Number Line Geometry: Rays, Intervals & Endpoints
The geometric representation on the 1D real number line translates algebraic inequalities into continuous graphical rays:
Used when the inequality includes an equality condition ($\le$ or $\ge$). The endpoint is an element of the solution set. Corresponding interval notation uses a square bracket $[ \dots ]$.
Used for strict order relations ($<$ or $>$). The boundary point itself is excluded, although all values arbitrarily close to it satisfy the condition. Corresponding interval notation uses a round parenthesis $( \dots )$.
Identities, Contradictions & Degenerate Cases
When the variable coefficients cancel out ($a = c$), the expression becomes independent of $x$:
- Universal Identity (All Real Numbers $\mathbb{R}$): If simplifying yields a true mathematical statement such as $3x + 5 > 3x + 2 \implies 5 > 2$, the inequality is an identity. Every real number $x \in \mathbb{R}$ satisfies the inequality. The solution is $(-\infty, \infty)$, and the entire real axis is shaded.
- Contradiction (No Solution $\emptyset$): If simplifying yields a false mathematical statement such as $2x + 7 \le 2x - 1 \implies 7 \le -1$, the inequality is a contradiction. No real number can satisfy the statement. The solution set is the empty set $\emptyset$, and no points are shaded on the number line.
Graded Step-by-Step Numerical Examples
Solve and graph: $-3x + 4 > 19$.
Solve and graph: $7x - 2 \le 3x + 14$.
Real-World Applications in Optimization & Threshold Analysis
- Business Break-Even and Profitability: Determining the minimum production volume $x$ required for revenue to exceed fixed and variable overhead: $R(x) \ge C(x) \implies p \cdot x \ge F + v \cdot x$. Solving yields $x \ge \frac{F}{p - v}$, the minimum unit threshold.
- Structural Safety Factors & Load Limits: Civil engineering beam design requires applied bending moments not to exceed maximum allowable tensile strength: $\sigma_{\text{applied}}(x) \le \sigma_{\text{allowable}}$.
- Electrical Current Limiting: Circuit breakers trip when load current exceeds safety ampacity: $I = P/V \le I_{\text{rated}}$. For linear equations converting boundary lines in two variables, check our General Form to Slope-Intercept Form Converter.
Common Pitfalls & Examination Mistakes
- Forgetting to Reverse Signs on Negative Division: Dividing $-2x \le 6$ by $-2$ and writing $x \le -3$ is the single most common student error. Dividing by a negative number must flip the direction: $x \ge -3$.
- Confusing Strict vs. Non-Strict Endpoint Symbols: Using a square bracket for strict inequalities (e.g. $[3, \infty)$ for $x > 3$) implies $x = 3$ is a solution, which violates $3 > 3$. Strict inequalities always take round parentheses.
- Reversing Signs When Subtracting: The sign flips only during multiplication or division by a negative number. Subtracting a positive or negative number never flips the inequality sign.
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.