Absolute Value Calculator

Solve absolute value equations and inequalities with AI-powered step-by-step solutions

Drag & drop or click to add images or PDF

Math Input
|x - 3| = 5
|2x + 1| < 7
|3x - 6| >= 9
|x^2 - 4| = 3

What is Absolute Value?

The absolute value of a real number xx, written x|x|, is its distance from 00 on the number line:

x={xif x0xif x<0|x| = \begin{cases} x & \text{if } x \geq 0 \\ -x & \text{if } x < 0 \end{cases}

Key properties:

  • x0|x| \geq 0 for all xx, with equality iff x=0x = 0.
  • xy=xy|xy| = |x||y| (multiplicative).
  • x+yx+y|x + y| \leq |x| + |y| (triangle inequality).
  • x2=x2|x|^2 = x^2, so x=x2|x| = \sqrt{x^2}.

Geometric interpretation: ab|a - b| is the distance between the numbers aa and bb on the number line. This is why absolute value inequalities translate cleanly into distance statements.

Absolute value extends to complex numbers (a+bi=a2+b2|a + bi| = \sqrt{a^2 + b^2}) and to vectors (Euclidean norm), but here we focus on the real-valued case used in most homework.

How to Solve Absolute Value Problems

Type 1: Absolute Value Equation

f(x)=c|f(x)| = c where cc is a constant.

  • If c<0c < 0: no solution (absolute value can never be negative).
  • If c=0c = 0: solve f(x)=0f(x) = 0.
  • If c>0c > 0: split into two cases: f(x)=cf(x) = c or f(x)=cf(x) = -c. Solve each, keep all valid solutions.

Example: 2x3=7|2x - 3| = 7 splits into 2x3=72x - 3 = 7 or 2x3=72x - 3 = -7, giving x=5x = 5 or x=2x = -2.

Type 2: Less-Than Inequality

f(x)<c|f(x)| < c (or \leq) where c>0c > 0.

Equivalent to: c<f(x)<c-c < f(x) < c (a compound inequality, AND).

Geometric meaning: f(x)f(x) is within distance cc of 00.

Example: 2x+1<7|2x + 1| < 7 becomes 7<2x+1<7-7 < 2x + 1 < 7, giving 4<x<3-4 < x < 3.

If c0c \leq 0, there's no solution (or only f(x)=0f(x) = 0 if c=0c = 0).

Type 3: Greater-Than Inequality

f(x)>c|f(x)| > c (or \geq) where c0c \geq 0.

Equivalent to: f(x)<cf(x) < -c or f(x)>cf(x) > c (a disjunction, OR).

Example: 3x69|3x - 6| \geq 9 becomes 3x693x - 6 \leq -9 or 3x693x - 6 \geq 9, giving x1x \leq -1 or x5x \geq 5.

If c<0c < 0, every real number satisfies the inequality.

Tricky: Absolute Value on Both Sides

f(x)=g(x)|f(x)| = |g(x)| splits into f(x)=g(x)f(x) = g(x) or f(x)=g(x)f(x) = -g(x).

Verifying Solutions

Always plug back into the original equation. Squaring or splitting can introduce extraneous solutions in some contexts.

Common Mistakes to Avoid

  • Dropping the negative case: x=5|x| = 5 has two solutions, x=5x = 5 and x=5x = -5. Beginners often only write the positive one.
  • Using AND vs OR backwards: x<c|x| < c uses AND (between c-c and cc); x>c|x| > c uses OR (less than c-c or greater than cc). Swapping them gives wrong answers.
  • Forgetting that cc must be non-negative: f(x)=3|f(x)| = -3 has no solution because f(x)0|f(x)| \geq 0 always.
  • Sign confusion in the negative case: 2x3=7|2x - 3| = 7 gives 2x3=72x - 3 = -7, not (2x)3=7-(2x) - 3 = 7. Negate the whole expression equal to c-c.
  • Missing extraneous solutions: After solving, always plug back into the original equation. If the absolute value structure relied on f(x)f(x) being non-negative, check that.

Examples

Step 1: Split into two cases: x3=5x - 3 = 5 or x3=5x - 3 = -5
Step 2: Case 1: x=8x = 8
Step 3: Case 2: x=2x = -2
Step 4: Both check in the original equation
Answer: x=8x = 8 or x=2x = -2

Step 1: Less-than inequality: rewrite as compound inequality
Step 2: 7<2x+1<7-7 < 2x + 1 < 7
Step 3: Subtract 1: 8<2x<6-8 < 2x < 6
Step 4: Divide by 2: 4<x<3-4 < x < 3
Answer: 4<x<3-4 < x < 3, or in interval notation (4,3)(-4, 3)

Step 1: Greater-than-or-equal: split into disjunction
Step 2: 3x693x - 6 \leq -9 or 3x693x - 6 \geq 9
Step 3: Case 1: 3x33x \leq -3, so x1x \leq -1
Step 4: Case 2: 3x153x \geq 15, so x5x \geq 5
Answer: x1x \leq -1 or x5x \geq 5

Frequently Asked Questions

Absolute value is always non-negative (≥ 0), so it can never equal a negative number. The equation has no real solution.

|x - a| is the distance between x and a on the number line. So |x - 3| < 5 means 'x is within 5 units of 3', which translates to -2 < x < 8.

|x| < c means 'x is within c of 0' — a single interval (AND). |x| > c means 'x is farther than c from 0' — two separate intervals (OR). The geometry forces the logical operator.

Split into two cases: x = 2x - 3 (giving x = 3) or x = -(2x - 3) (giving x = 1). Always check both candidate solutions in the original equation.

Related Solvers

Related Guides

Try AI-Math for Free

Get step-by-step solutions to any math problem. Upload a photo or type your question.

Start Solving