Starlight Tools

Absolute Value Equation and Inequality Calculator

Enter or paste a complete problem such as |2x โˆ’ 3| = 5 or |3x + 1| โ‰ค 7. Solve for x and get exact answers, every algebra step, interval and set-builder notation, a number line, and an optional function graph.

Also solves common multi-step forms such as โˆ’2|3x + 1| + 4 โ‰ฅ โˆ’10, including isolation and both inequality reversals.

Enter an absolute value statement

Type one absolute-value group and one relation. Supported: |ax+b| ? c, p|ax+b|+q ? r, or the same with the absolute-value side on the right. Use integers, finite decimals, or fractions.

Current scope: one linear expression inside one absolute-value group. Multiple groups such as |x|+|xโˆ’1|=3, variables outside the group, and nonlinear interiors such as |xยฒโˆ’1|=3 are identified but not solved.

|2x โˆ’ 3| = 5
Try an exact statement

Solution, notation, and visuals

Solution summary
x = โˆ’1 or x = 4
Solution set
{โˆ’1, 4}
Exact root(s)โˆ’1 and 4
Isolated form|2x โˆ’ 3| = 5
Endpointsโˆ’1 and 4 (included)
Check|2(โˆ’1) โˆ’ 3| = 5 and |2(4) โˆ’ 3| = 5 โœ“

Number line

Step-by-step solution

The algebra steps will appear here.

Formulas and decision rules

Absolute value is distance from zero. Its piecewise definition is:

|u|={uif uโ‰ฅ0โˆ’uif u<0

Direct equation roots

For a โ‰  0 and c > 0:

x=cโˆ’ba or x=โˆ’cโˆ’ba

Center and radius

For |ax+b| < c, the solution lies within radius c/|a| of center โˆ’b/a. Greater-than relations select the outside rays.

Inside: AND

|u|<cโ‡”โˆ’c<u<c

Outside: OR

|u|>cโ‡”u<โˆ’c or u>c

Threshold decision table

Relationc < 0c = 0c > 0
=No solutionOne root: u = 0Two cases: u = ยฑc
<No solutionNo solutionโˆ’c < u < c (AND)
โ‰คNo solutionu = 0โˆ’c โ‰ค u โ‰ค c (AND)
>All real xu โ‰  0u < โˆ’c or u > c (OR)
โ‰ฅAll real xAll real xu โ‰ค โˆ’c or u โ‰ฅ c (OR)

Method reference: OpenStax College Algebra 2e, ยง2.7 explains interval notation, inequality reversal, and absolute-value inequalities.

Worked examples for every case

=: two exact roots โ€” |2xโˆ’3|=5
  1. Split: 2xโˆ’3=โˆ’5 or 2xโˆ’3=5.
  2. Add 3: 2x=โˆ’2 or 2x=8.
  3. Divide by 2: x=โˆ’1 or x=4.
  4. Check: both substitutions give absolute value 5.
<: inside, open endpoints โ€” |3x+1|<7
  1. โˆ’7<3x+1<7.
  2. Subtract 1: โˆ’8<3x<6.
  3. Divide by 3: โˆ’8/3<x<2.
  4. Interval: (โˆ’8/3,2).
โ‰ค: inside, closed endpoints โ€” |xโˆ’4|โ‰ค2
  1. โˆ’2โ‰คxโˆ’4โ‰ค2.
  2. Add 4: 2โ‰คxโ‰ค6.
  3. Interval: [2,6]; both boundaries are included.
>: outside, open endpoints โ€” |x+2|>3
  1. x+2<โˆ’3 or x+2>3.
  2. Subtract 2: x<โˆ’5 or x>1.
  3. Interval: (โˆ’โˆž,โˆ’5) โˆช (1,โˆž).
โ‰ฅ and negative a โ€” |โˆ’2x+4|โ‰ฅ6
  1. โˆ’2x+4โ‰คโˆ’6 or โˆ’2x+4โ‰ฅ6.
  2. โˆ’2xโ‰คโˆ’10 or โˆ’2xโ‰ฅ2.
  3. Divide by โˆ’2 and reverse both signs: xโ‰ฅ5 or xโ‰คโˆ’1.
Fractional coefficient โ€” |(3/4)xโˆ’1|=5/2
  1. (3/4)xโˆ’1=โˆ’5/2 or (3/4)xโˆ’1=5/2.
  2. (3/4)x=โˆ’3/2 or (3/4)x=7/2.
  3. Multiply by 4/3: x=โˆ’2 or x=14/3.
One solution and zero threshold โ€” |xโˆ’3|=0
  1. An absolute value is zero only when its interior is zero.
  2. xโˆ’3=0, so x=3.
No solution โ€” |x|=โˆ’2
  1. |x|โ‰ฅ0 for every real x.
  2. It cannot equal โˆ’2, so the solution set is โˆ….
All real numbers โ€” |x|โ‰ฅ0
  1. Absolute value is nonnegative by definition.
  2. The statement is true for every real x: (โˆ’โˆž,โˆž).
Constant expression (a=0) โ€” |0x+3|โ‰ฅ2
  1. |0x+3|=3 for every x.
  2. 3โ‰ฅ2 is true, so every real number works.

Common mistakes and quick corrections

Forgetting the negative case

|x|=4 gives x=4 and x=โˆ’4.

Using OR for an inside interval

|x|<3 means โˆ’3<x<3 (AND), not two outside rays.

Not reversing a sign

โˆ’2x>6 becomes x<โˆ’3 after division by โˆ’2.

Including strict endpoints

|x|<2 uses open endpoints: (โˆ’2,2).

Ignoring a negative threshold

|x|<โˆ’1 has no solution because |x|โ‰ฅ0.

Mixing brackets and parentheses

xโ‰ฅ2 is [2,โˆž): include 2 with a bracket, never bracket infinity.

Distance and tolerance applications

Comfortable temperature

Within 4ยฐF of 72ยฐF is |Tโˆ’72|โ‰ค4, so 68โ‰คTโ‰ค76.

Manufacturing tolerance

A part within 0.5 mm of 10 mm is |xโˆ’10|<0.5, so 9.5<x<10.5.

Distance from a landmark

At least 3 km from position 8 is |xโˆ’8|โ‰ฅ3, so xโ‰ค5 or xโ‰ฅ11.

Methodology, verification, privacy, and limits

Authorship: Starlight Tools. No independent credentialed mathematics reviewer is currently listed. The transparent calculation methodology follows the absolute-value and inequality rules cited above. Last methodology review: 31 August 2026.

Test evidence: the pageโ€™s automated self-checks cover two-root, one-root, no-solution, all-real-number, all five relations, negative outer and inner coefficients, fractional coefficients, zero and negative thresholds, constant expressions, and a right-side absolute-value group. A failed self-check is reported in the browser console rather than hidden.

Numbers are converted to reduced fractions and processed with BigInt arithmetic. Each numeric part is limited to 30 digits. Scientific and repeating-decimal notation are unsupported; use an exact fraction. Multiple absolute-value groups, nonlinear interiors, and variables outside the absolute-value group are outside this calculatorโ€™s one-group linear scope.

All solving happens locally in your browser. The calculator does not transmit or store your equation or inequality.

Absolute value solver FAQs

How do you solve an absolute value equation?

For positive c, split |u| = c into u = -c or u = c, then solve both linear equations. A zero threshold gives one case, and a negative threshold gives no real solution.

How do you solve an absolute value inequality?

For positive c, less-than relations become one compound inequality between -c and c joined by AND. Greater-than relations become two outside inequalities joined by OR. Inclusive symbols include the endpoints.

Why can an absolute value problem have no solution?

An absolute value cannot be negative. A constant absolute-value expression can also make the comparison false for every real x.

Can the solution be all real numbers?

Yes. For example, |x| โ‰ฅ 0 is always true. If a = 0, the expression is constant and the original comparison is either true for every real x or false for all of them.

Can I enter fractions and decimals?

Yes. Use integers, finite decimals, or fractions such as -3/4. Exact fractions are reduced automatically.

Is this absolute value solver private?

Yes. It solves locally in your browser and does not send or store the values you enter.

Explore more tools