Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Absolute Value Inequality Solver

|x|

Solve absolute value inequalities step by step

Enter inequality...
Var
Num
Op
Ineq

Select an inequality type or enter your own absolute value inequality, then click Solve to see the step-by-step solution.






Getting Started

The solver shows an inequality display at the top with a blinking yellow caret marking the cursor position. Click anywhere in the display to place the cursor, or use arrow keys, Home, and End for keyboard navigation. Type directly or use the button panel below.

Three quick experiments:

&bull; Type x3<5|x - 3| < 5 and press Enter &mdash; the right panel rewrites as 5<x3<5-5 < x - 3 < 5, solves both sides, and reports the compound inequality 2<x<8-2 < x < 8 with the interval (2,8)(-2, 8).
&bull; Click the &quot;Simple Greater Than&quot; example template &mdash; an inequality like x+2>4|x + 2| > 4 loads. The solver rewrites as a union, x+2<4x + 2 < -4 or x+2>4x + 2 > 4, and reports the union answer x<6x < -6 or x>2x > 2.
&bull; Try the &quot;No Solution&quot; template &mdash; an inequality with a negative right side loads. The solver detects the impossibility immediately and reports no solution.

The Solve button is disabled until you enter something. The special row includes the absolute value bars button (rendered as | |).

Building Inequalities with Buttons and Keyboard

The button panel groups inputs by type. All inputs can be made either by clicking or typing on the keyboard.

&bull; Variable row &mdash; xx, yy, nn.
&bull; Number row &mdash; digits 0 through 9 and the decimal point.
&bull; Operator row &mdash; multiplication, division, plus, minus.
&bull; Ineq row &mdash; the four inequality symbols.
&bull; Special row &mdash; absolute value bars and parentheses.

The absolute value bars button inserts a single | character; click it twice to surround an expression. Keyboard users can type the vertical-bar character directly. For multi-term expressions inside the bars, type the terms between the two bars: 2x+1|2x + 1|.

Keyboard shortcuts: type letters and digits directly, use star or slash for multiplication and division, type << and >> directly, type <=<= or >=>= to insert \leq and \geq, type the vertical bar for absolute value, and press Enter to solve. Ctrl+Z undoes up to fifty edits back.

Try an Example — Eight Form Templates

Click the &quot;Try an Example&quot; header to expand the template panel. Each card generates a random inequality of that form. Clicking again produces a new random version.

&bull; Simple Less Than &mdash; x+a<b|x + a| < b. The compound case with coefficient 1 on the variable.
&bull; Simple Greater Than &mdash; x+a>b|x + a| > b. The union case with coefficient 1.
&bull; Less or Equal &mdash; ax+bc|ax + b| \leq c. Non-strict compound case with bracketed endpoints.
&bull; Greater or Equal &mdash; ax+bc|ax + b| \geq c. Non-strict union case with bracketed endpoints.
&bull; Isolate First &mdash; x+a+b<c|x + a| + b < c. Requires subtracting bb before applying the case split.
&bull; Coefficient Outside &mdash; ax+b>ca \cdot |x + b| > c. Requires dividing by aa before applying the case split.
&bull; No Solution &mdash; expression<|expression| < negative. Tests the impossible-case branch.
&bull; All Reals &mdash; expression0|expression| \geq 0. Tests the always-true branch.

Roughly 80 percent of generated inequalities produce clean integer boundary values.

Reading the Step-by-Step Solution

The solution panel shows each algebraic move as a labeled step. The exact sequence depends on the structural case.

&bull; Rearrange (when applicable) &mdash; if the absolute value is on the right, the solver swaps sides and flips the direction.
&bull; Isolate Absolute Value &mdash; subtracts an additive constant or divides by a coefficient outside the bars to leave expressionc|expression| \square c alone on one side. Dividing by a negative coefficient flips the direction.
&bull; No Solution or All Real Numbers (for special cases) &mdash; handles negative right sides and zero edge cases without applying the case split.
&bull; Compound Inequality (for less-than form) &mdash; rewrites A<c|A| < c as c<A<c-c < A < c.
&bull; Union of Two Inequalities (for greater-than form) &mdash; rewrites A>c|A| > c as A<cA < -c or A>cA > c.
&bull; Solve Both Sides (compound) or Solve Both Branches (union) &mdash; finishes each linear sub-inequality.
&bull; Solution Interval or Solution &mdash; states the final compound or union answer.

The final-answer card shows the answer in three forms: the inequality form (a<x<ba < x < b or x<ax < a or x>bx > b), a plain-language note about the bounds, and the interval notation.

The Two Cases — Why They Work

Every absolute value inequality reduces to one of two structural cases. Knowing which one is half the work.

Case 1: $|A| < c$ becomes a compound inequality (AND). The absolute value of AA is less than cc exactly when AA is closer to zero than cc units. That is, AA lies in the open interval from c-c to cc:

A<c        c<A<c|A| < c \;\iff\; -c < A < c


Geometrically: on the number line, A|A| is the distance from zero, so A<c|A| < c means &quot;within cc of zero&quot;.

Case 2: $|A| > c$ becomes a union (OR). The absolute value of AA is greater than cc exactly when AA is farther from zero than cc units. That is, AA lies outside the interval from c-c to cc:

A>c        A<c or A>c|A| > c \;\iff\; A < -c \text{ or } A > c


Geometrically: on the number line, &quot;more than cc away from zero&quot; means either far to the left or far to the right.

Non-strict variants. The strict << and >> produce open endpoints; the non-strict \leq and \geq produce closed endpoints. So Ac|A| \leq c becomes cAc-c \leq A \leq c (closed interval), and Ac|A| \geq c becomes AcA \leq -c or AcA \geq c (union with closed endpoints).

Edge cases when $c \leq 0$.

&bull; A<c|A| < c with c0c \leq 0: impossible because A0|A| \geq 0 never lies below a non-positive number.
&bull; A>c|A| > c with c<0c < 0: always true because A0>c|A| \geq 0 > c.
&bull; A0|A| \leq 0: only when A=0A = 0, giving a single point.
&bull; A0|A| \geq 0: always true.
&bull; A>0|A| > 0: all reals except where A=0A = 0.
&bull; A<0|A| < 0: no solution.

For deeper coverage see absolute value inequality and compound inequality.

What is an Absolute Value Inequality?

An absolute value inequality is an inequality containing an expression inside absolute value bars compared to another quantity. The standard form is

f(x)    c|f(x)| \;\square\; c


where f(x)f(x) is a linear expression (usually ax+bax + b), cc is a real number, and \square is one of <<, >>, \leq, \geq.

Solution shapes. Depending on the inequality direction and the sign of cc, the solution takes one of several forms:

&bull; A bounded interval (compound) &mdash; less-than form with c>0c > 0. Example: x<3|x| < 3 gives 3<x<3-3 < x < 3.
&bull; A union of two rays &mdash; greater-than form with c>0c > 0. Example: x>3|x| > 3 gives x<3x < -3 or x>3x > 3.
&bull; A single point &mdash; non-strict less-than with c=0c = 0. Example: x50|x - 5| \leq 0 gives x=5x = 5.
&bull; All reals except one point &mdash; strict greater-than with c=0c = 0. Example: x>0|x| > 0 gives all x0x \neq 0.
&bull; All real numbers &mdash; greater-than form with c0c \leq 0 (and non-strict c=0c = 0).
&bull; No solution &mdash; less-than form with c0c \leq 0 (and strict c=0c = 0).

Geometric meaning. xa|x - a| is the distance from xx to aa on the number line. So xa<c|x - a| < c means &quot;xx is within cc of aa&quot; (an interval centered at aa), and xa>c|x - a| > c means &quot;xx is more than cc from aa&quot; (the complement, two rays extending outward).

Standard form for non-trivial cases. Once isolated to ax+bc|ax + b| \square c with c>0c > 0, the linear-isolation case split applies cleanly: compound for less-than, union for greater-than.

For deeper coverage see absolute value inequality, absolute value, and interval notation.

The Solving Process Explained

Four stages handle any standard absolute value inequality.

&bull; Stage 1: Isolate the absolute value. Subtract any constants added to the absolute value expression. Divide by any coefficient multiplying it (flipping the direction once if the coefficient is negative). The goal is to reach the form f(x)c|f(x)| \square c where cc is a constant.

&bull; Stage 2: Examine the right side.

&bull; $c < 0$ with less-than form: no solution.
&bull; $c < 0$ with greater-than form: all real numbers.
&bull; $c = 0$, special cases: single point (non-strict less-than), all reals except a point (strict greater-than), no solution (strict less-than), all reals (non-strict greater-than).
&bull; $c > 0$: proceed to stage 3.

&bull; Stage 3: Apply the case split.

&bull; Less-than form ($|A| < c$ or $|A| \leq c$): rewrite as the compound inequality cAc-c \square A \square c with the same strictness on both sides.
&bull; Greater-than form ($|A| > c$ or $|A| \geq c$): rewrite as the union AcA \square -c or AcA \square c with the appropriate strictness.

&bull; Stage 4: Solve the resulting linear sub-inequalities. For compound form, isolate the variable in the middle by performing the same operation on all three parts. For union form, solve each branch independently. Direction flips once in each branch if the linear coefficient is negative.

The implementation. Internally, the solver collects linear terms inside the absolute value to extract coefficient aa and constant bb. It then performs the case split symbolically, solves each sub-inequality, and assembles the final answer in the appropriate compound, union, point, or special-case form. The final-answer card adapts to the matched branch.

For comprehensive treatment see solving absolute value inequalities and case analysis.

Related Concepts

Absolute Value &mdash; the distance from zero on the number line. Defined piecewise as xx if x0x \geq 0 and x-x if x<0x < 0. The foundational concept for any absolute value inequality.

Absolute Value Equation &mdash; the equality counterpart f(x)=c|f(x)| = c. Solves by splitting into two cases (f(x)=cf(x) = c and f(x)=cf(x) = -c) rather than the compound or union form of the inequality.

Compound Inequality &mdash; a chain like c<A<c-c < A < c that captures a bounded region. Arises naturally from less-than absolute value inequalities.

Union of Inequalities &mdash; two inequalities joined by &quot;or&quot;, producing a disconnected solution set. Arises naturally from greater-than absolute value inequalities.

Interval Notation &mdash; the standard way to write the solution. Parentheses for strict bounds, brackets for non-strict, the union symbol \cup for disconnected pieces.

Linear Inequality &mdash; the inequality type that the post-case-split sub-inequalities are. The solver routes each branch through standard linear-inequality logic.

Distance on the Number Line &mdash; the geometric interpretation. xa<c|x - a| < c asks for points within distance cc of aa; xa>c|x - a| > c asks for points farther than cc from aa. This perspective makes absolute value inequalities intuitive.

Triangle Inequality &mdash; the fundamental relation x+yx+y|x + y| \leq |x| + |y|. The cornerstone result connecting absolute value to addition; appears throughout analysis.

Piecewise Function &mdash; the formal way to define the absolute value function. The absolute value is the canonical example, splitting at x=0x = 0.

Quadratic Inequality &mdash; squaring both sides of f(x)>c|f(x)| > c gives f(x)2>c2f(x)^2 > c^2, a quadratic inequality with the same solution set when c0c \geq 0. An alternative solving path for some problems, though usually less direct than the case split.

Modulus &mdash; the generalization to complex numbers. a+bi=a2+b2|a + bi| = \sqrt{a^2 + b^2}. Real absolute value is the special case where the imaginary part is zero.

Number Line Graphing &mdash; the geometric representation of the solution. A compound solution is a single shaded segment; a union solution is two shaded rays extending outward.