Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Absolute Value Inequality Solver

How to use Absolute Value Inequality Solver
  1. Build the inequality in the display at the top: click the | | button once before and once after the expression inside the bars, one of the four Ineq symbols, and the Var, Num and Op buttons or the brackets for the rest, or type on the keyboard. Learn more about building inequalities
  2. Clear empties the display, the curved arrow undoes the last edit and the ⌫ button deletes the character before the caret. Learn more about editing
  3. Click Solve, or press Enter in the display, once the inequality is complete; an expression without an inequality symbol or without bars is refused. Learn more about solving
  4. Open Try an Example and click a card to load a random inequality of that form. Learn more about the templates
  5. The right panel lists the steps from isolating the bars to the compound or union form and its solution, and the answer card gives the inequality, a note and the interval; the box under the solver explains the method. Learn more about the solution
  6. Bars compared with a negative number end in No solution or All real numbers at once; bars compared with zero give a single point or everything but one point. Learn more about these cases
|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.

How the solver works

The solver reads one inequality in xx, yy or nn with a linear expression between absolute value bars. It isolates the bars by moving constants and dividing out a coefficient, flipping the sign if that coefficient is negative, settles the comparisons with zero or a negative number at once, then rewrites a less-than form as the chain −c<A<c-c < A < c and a greater-than form as the union A<−cA < -c or A>cA > c, solves the linear pieces and reports the answer as an inequality and as an interval. Learn more about absolute value inequalities





Getting Started

Demo|x − 3| < 5, Solve, Clear, no solution
Step 0 of 4
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:

• Type ∣x−3∣<5|x - 3| < 5 and press Enter — the right panel rewrites as −5<x−3<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).
• Click the "Simple Greater Than" example template — 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.
• Try the "No Solution" template — 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 ∣| ∣|). An expression without an inequality symbol is refused with "Input must be an inequality (use <, >, ≤, or ≥)", and one without bars with "No absolute value found". ∣x∣+3<1|x| + 3 < 1 isolates to ∣x∣<−2|x| < -2 and ends in No solution. What the bars mean for an inequality is explained in what is an absolute value inequality.

Building Inequalities with Buttons and Keyboard

DemoA coefficient and a constant, undo, delete, a union
Step 0 of 4
The button panel groups inputs by type. All inputs can be made either by clicking or typing on the keyboard.

• Variable row — xx, yy, nn.
• Number row — digits 0 through 9 and the decimal point.
• Operator row — multiplication, division, plus, minus.
• Ineq row — the four inequality symbols.
• Special row — 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. The Clear button empties the display entirely; the curved-arrow button steps through the undo stack one edit at a time; the ⌫ button deletes the character before the caret. 2⋅∣x+1∣−4>62 \cdot |x + 1| - 4 > 6 is isolated to ∣x+1∣>5|x + 1| > 5 and gives the union x<−6x < -6 or x>4x > 4. Why a greater-than form becomes a union is explained in the two cases.

Try an Example — Eight Form Templates

DemoOpen the templates, load two forms
Step 0 of 4
Click the "Try an Example" header to expand the template panel. Each card generates a random inequality of that form. Clicking again produces a new random version.

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

Roughly 80 percent of generated inequalities produce clean integer boundary values. Loading a template clears the previous solution; click Solve to work the new inequality. The four stages applied to every template are listed in the solving process explained.

Reading the Step-by-Step Solution

DemoA single point, then a non-strict union
Step 0 of 3
The solution panel shows each algebraic move as a labeled step. The exact sequence depends on the structural case.

• Rearrange (when applicable) — if the absolute value is on the right, the solver swaps sides and flips the direction.
• Isolate Absolute Value — subtracts an additive constant or divides by a coefficient outside the bars to leave ∣expression∣□c|expression| \square c alone on one side. Dividing by a negative coefficient flips the direction.
• No Solution or All Real Numbers (for special cases) — handles negative right sides and zero edge cases without applying the case split.
• Compound Inequality (for less-than form) — rewrites ∣A∣<c|A| < c as −c<A<c-c < A < c.
• Union of Two Inequalities (for greater-than form) — rewrites ∣A∣>c|A| > c as A<−cA < -c or A>cA > c.
• Solve Both Sides (compound) or Solve Both Branches (union) — finishes each linear sub-inequality.
• Solution Interval or Solution — 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. ∣x−5∣≤0|x - 5| \leq 0 is the Zero Case and holds only at x=5x = 5; ∣2x+1∣≥3|2x + 1| \geq 3 splits into 2x+1≤−32x + 1 \leq -3 or 2x+1≥32x + 1 \geq 3 and gives (−∞,−2]∪[1,∞)(-\infty, -2] \cup [1, \infty). The box under the solver, How the solver works, summarises the method in a few lines and links to the theory below. The split behind every answer is explained in the two cases.

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|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 "within cc of zero".

Case 2: ∣A∣>c|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, "more than cc away from zero" 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 ∣A∣≤c|A| \leq c becomes −c≤A≤c-c \leq A \leq c (closed interval), and ∣A∣≥c|A| \geq c becomes A≤−cA \leq -c or A≥cA \geq c (union with closed endpoints).

Edge cases when c≤0c \leq 0.

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

For deeper coverage see absolute value inequality and compound inequality.

The two forms are set out in two fundamental forms, solving the less-than form and solving the greater-than form.

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:

• A bounded interval (compound) — less-than form with c>0c > 0. Example: ∣x∣<3|x| < 3 gives −3<x<3-3 < x < 3.
• A union of two rays — greater-than form with c>0c > 0. Example: ∣x∣>3|x| > 3 gives x<−3x < -3 or x>3x > 3.
• A single point — non-strict less-than with c=0c = 0. Example: ∣x−5∣≤0|x - 5| \leq 0 gives x=5x = 5.
• All reals except one point — strict greater-than with c=0c = 0. Example: ∣x∣>0|x| > 0 gives all x≠0x \neq 0.
• All real numbers — greater-than form with c≤0c \leq 0 (and non-strict c=0c = 0).
• No solution — less-than form with c≤0c \leq 0 (and strict c=0c = 0).

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

Standard form for non-trivial cases. Once isolated to ∣ax+b∣□c|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 place of these inequalities among the types is absolute value inequalities, the distance reading is geometric interpretation, and the bars themselves are defined in definition of absolute value.

The Solving Process Explained

Four stages handle any standard absolute value inequality.

• 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.

• Stage 2: Examine the right side.

• c<0c < 0 with less-than form: no solution.
• c<0c < 0 with greater-than form: all real numbers.
• c=0c = 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).
• c>0c > 0: proceed to stage 3.

• Stage 3: Apply the case split.

• Less-than form (∣A∣<c|A| < c or ∣A∣≤c|A| \leq c): rewrite as the compound inequality −c□A□c-c \square A \square c with the same strictness on both sides.
• Greater-than form (∣A∣>c|A| > c or ∣A∣≥c|A| \geq c): rewrite as the union A□−cA \square -c or A□cA \square c with the appropriate strictness.

• 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.

The stages are worked in worked examples with linear expressions and summarised in summary of absolute value inequality forms; the chain form of the answer is compound inequalities.