Absolute Value: Equations & Inequalities
Every technique here — isolating, splitting into "and"/"or", checking candidates, taming degenerate right-hand sides — follows from one geometric sentence. Learn the picture and the algebra becomes obvious.
🔬 Distance Lab
drag x around!$|x-3|$ is the distance from $x$ to $3$. Move $x$ and watch the distance — it's never negative, and it hits $0$ only when $x=3$.
The Idea First: Absolute Value Is Distance
The sign of a number records a direction (left/right, debt/credit); the absolute value keeps only the size: $|-7|=7$, $|7|=7$, $|0|=0$. On a number line, "size" has a direct geometric reading:
The one idea behind everything
An absolute value equation or inequality is never really about signs — it is a question about distance on the line.
The second identity is a shift of the first: instead of measuring from $0$, measure from $a$. For example $|7-2|=|5|=5$ (7 and 2 are five apart), and $|-5-3|=|-8|=8$ (−5 and 3 are eight apart).
Why $|x-a|$ is "distance from $x$ to $a$": slide the whole number line until the origin sits under $a$; the coordinate of $x$ becomes $x-a$, and its distance to the new origin is $|x-a|$. Distance is shift-invariant — that's why $|153-151|=|3-1|=2$.
- A machined rod is acceptable if $|L-50|\le 0.5$ mm.
- The temperature must satisfy $|T-68|\le 3$ °F.
- In the $\varepsilon$–$\delta$ definition of limits, "close" is $|x-a|<\delta$ and $|f(x)-L|<\varepsilon$.
abs(x) is the 1-D distance function, and $|x-y|$ is the simplest distance between two data points.Definition & Properties
Definition of the absolute value
The expression inside the bars is the argument.
Reading the minus correctly: in the second case, $-x$ means flip the sign, not "a negative number." When $x<0$, the value $-x$ is positive: $|-4|=-(-4)=4$. The bars are a sign-removal machine that always outputs a nonnegative number.
| Property | Statement | Comment |
|---|---|---|
| Nonnegativity | $|x|\ge0$, $|x|=0\iff x=0$ | outputs never negative |
| Symmetry | $|-x|=|x|$ | left/right look the same |
| Multiplicative | $|xy|=|x||y|$; $\left|\frac{x}{y}\right|=\frac{|x|}{|y|}$ | pull bars past $\times,\div$ |
| Square root | $|x|=\sqrt{x^2}$ | the honest $\sqrt{x^2}$ |
| Triangle | $|x+y|\le|x|+|y|$ | equality iff $xy\ge0$ |
| Reverse triangle | $\big||x|-|y|\big|\le|x-y|$ | used to bound errors |
| Distance | $|x-y|=|y-x|$ | distance is symmetric |
Theorem — Multiplicative property
For all real $x,y$: $|xy|=|x||y|$.
Theorem — Triangle inequality
For all real $x,y$: $|x+y|\le|x|+|y|$.
A Visual Dictionary of Solution Sets
An equation is a search for exact distances. The solutions of $|x-a|=c$ (with $c>0$) are the two points at distance $c$ from $a$: one left, one right — and $a$ is their midpoint.
Solving $|x-a|=c$ with $a=3$, $c=2$: the solutions are the two points at distance 2 from 3.
Inequalities are inside/outside statements. "Closer than $c$" carves out the interval between the two points; "farther than $c$" keeps everything outside them.
| Shape | Equivalence ($c>0$) | Solution set |
|---|---|---|
| $|X|<c$ | $-c<X<c$ ("and") | one interval |
| $|X|>c$ | $X<-c$ or $X>c$ ("or") | two rays |
The graph view. Plot $y=|x-2|$ (a V). A horizontal line $y=c$ cuts the V at the exact-distance solutions; where the V dips below the line solves $|x-2|<c$, and where it rises above solves $|x-2|>c$.
The Master Rules — everything in one table
Isolate the absolute value
Rearrange until the bars stand alone: $3|2x-1|=12 \Rightarrow |2x-1|=4$.
Classify the right-hand side $c$
$c<0$: no solution ($\varnothing$). $\;c=0$: solve $E=0$. $\;c>0$: split into $E=c$ or $E=-c$.
Solve each branch & present the set
Collect the surviving values into $\{\dots\}$ or interval notation.
Two absolute values: $|A|=|B|$
Both sides are nonnegative, so this is equivalent to $A^2=B^2$, i.e. $(A-B)(A+B)=0$. Squaring is legitimate only because both sides are $\ge0$.
Where the "and" and "or" come from
Because $|X|=\max(X,-X)$, the statement $|X|<c$ demands both $X<c$ and $-X<c$; the statement $|X|>c$ is satisfied when either holds:
"Size below $c$" is a sandwich around 0 (an and); "size above $c$" escapes the sandwich on either side (an or).
The master table
| Statement | $c>0$ | $c=0$ | $c<0$ |
|---|---|---|---|
| $|X|=c$ | $X=\pm c$ | $X=0$ | no solution ($\varnothing$) |
| $|X|<c$ | $-c<X<c$ (and) | $\varnothing$ | $\varnothing$ |
| $|X|\le c$ | $-c\le X\le c$ (and) | $X=0$ | $\varnothing$ |
| $|X|>c$ | $X<-c$ or $X>c$ (or) | $X\ne0$ | all reals $\mathbb R$ |
| $|X|\ge c$ | $X\le-c$ or $X\ge c$ (or) | $\mathbb R$ | $\mathbb R$ |
The argument $X$ can be anything: $3x-5$, $x^2-4$, $\sqrt{x}-2$. Isolate first, then substitute.
Interval notation: $|X|<c\to(-c,c)$ · $|X|\le c\to[-c,c]$ · $|X|>c\to(-\infty,-c)\cup(c,\infty)$ · $|X|\ge c\to(-\infty,-c]\cup[c,\infty)$.
Canonical Examples: Equations
5.1 · The three RHS cases in one breath
Solve (a) $|x|=8$, (b) $|x|=0$, (c) $|x|=-3$.
- (a) $c=8>0$: split → $x=8$ or $x=-8$. Set $\{-8,8\}$.
- (b) $c=0$: bars vanish, $x=0$. Set $\{0\}$.
- (c) $c=-3<0$: bars never output a negative → no solution, $\varnothing$.
5.2 · Linear: $|2x+1|=7$
- Split: $2x+1=7\Rightarrow x=3$, or $2x+1=-7\Rightarrow x=-4$.
- Check: $|2(3)+1|=7$ ✓ and $|2(-4)+1|=|-7|=7$ ✓. Solution $\{-4,3\}$.
5.3 · Isolate first: $2|4x-1|=6$
- Divide by 2: $|4x-1|=3$. Split: $x=1$ or $x=-\tfrac12$.
- Solution $\{-\tfrac12,1\}$.
5.4 · Two bars: $|x-1|=|x-5|$
- Branch $x-1=x-5$: $-1=-5$, impossible.
- Branch $x-1=-(x-5)$: $2x=6\Rightarrow x=3$.
- Solution $\{3\}$ — the midpoint of 1 and 5.
5.5 · A branch becomes an identity: $|x-4|=|4-x|$
- $|4-x|=|x-4|$, so the equation says a quantity equals itself.
- Branch 2 collapses to $0=0$ (an identity).
- Solution: every real number $\mathbb R$.
5.6 · Quadratic inside: $|x^2-4|=3$
- $x^2-4=3\Rightarrow x=\pm\sqrt7$; $x^2-4=-3\Rightarrow x=\pm1$.
- Solution $\{-\sqrt7,-1,1,\sqrt7\}$.
5.7 · Variable RHS — check answers! $|x+3|=x^2-4x-3$
- Branch 1: $x^2-5x-6=0\Rightarrow x=6,-1$.
- Branch 2: $x^2-3x=0\Rightarrow x=0,3$.
- Check all four candidates:
| $x$ | LHS $=|x+3|$ | RHS $=x^2-4x-3$ | Verdict |
|---|---|---|---|
| $-1$ | 2 | 2 | valid |
| $6$ | 9 | 9 | valid |
| $0$ | 3 | $-3$ | rejected |
| $3$ | 6 | $-6$ | rejected |
Solution $\{-1,6\}$. The rejected candidates are not optional bookkeeping — they are the answer.
5.8 · Linear, variable on right: $|x-2|=2x-5$
- Need $2x-5\ge0$, i.e. $x\ge\tfrac52$.
- Branch 1: $x=3$ ✓. Branch 2: $x=\tfrac73<\tfrac52$ → rejected.
- Solution $\{3\}$.
Canonical Examples: Inequalities
6.1 · Basic "and": $|x|\le2$
6.2 · Basic "or": $|x+3|>4$
- $x+3>4\Rightarrow x>1$, or $x+3<-4\Rightarrow x<-7$.
- Solution $(-\infty,-7)\cup(1,\infty)$.
6.3 · Isolate then sandwich: $3|4x-1|\le9$
- $|4x-1|\le3\Rightarrow -3\le4x-1\le3\Rightarrow-\tfrac12\le x\le1$.
- Interval $[-\tfrac12,1]$.
6.4 · Sidestep the sign flip: $|2-x|<8$
- Use symmetry: $|2-x|=|x-2|$, so $-8<x-2<8\Rightarrow-6<x<10$.
- Interval $(-6,10)$. The reflection trick avoids flipping signs.
6.5 · Degenerate RHS, four flavors
Solve (a) $2|3x+1|-4\ge2$, (b) $|3x+4|+5\le3$, (c) $|x+6|>0$, (d) $-10+|x-4|\ge-10$.
- (a) $|3x+1|\ge3$: $x\ge\tfrac23$ or $x\le-\tfrac43$ → $(-\infty,-\tfrac43]\cup[\tfrac23,\infty)$.
- (b) $|3x+4|\le-2$: $\varnothing$.
- (c) every $x\ne-6$: $(-\infty,-6)\cup(-6,\infty)$.
- (d) $|x-4|\ge0$: $\mathbb R$.
6.6 · Variable RHS inequality: $|x-1|<2x-3$
- Need $2x-3>0\Rightarrow x>\tfrac32$. Sandwich: $-(2x-3)<x-1<2x-3$.
- Right: $x>2$. Left: $x>\tfrac43$. Intersect with $x>\tfrac32$: $x>2$.
- Solution $(2,\infty)$.
6.7 · Two bars, square then read geometry: $|x-3|<|x+1|$
- Square: $(x-3)^2<(x+1)^2\Rightarrow-8x<-8\Rightarrow x>1$.
- Solution $(1,\infty)$ — points closer to 3 than to $-1$.
The Key-Point Method — several absolute values
Find the key points
Solve "argument = 0" for every bar.
Cut the line into regions
In each region every argument has a fixed sign, so drop the bars.
Solve within each region
Keep only solutions that actually lie in that region.
Take the union over regions
Combine the survivors.
7.1 · $|x-1|+|x-2|=3$
- Key points $1,2$ → three regions.
- $x\le1$: $3-2x=3\Rightarrow x=0$ ✓.
- $1\le x\le2$: $1=3$, impossible.
- $x\ge2$: $2x-3=3\Rightarrow x=3$ ✓.
- Union: $\{0,3\}$.
7.2 · $|x+1|-|x-2|>1$
- Key points $-1,2$.
- $x\le-1$: $-3>1$ false.
- $-1\le x\le2$: $2x-1>1\Rightarrow x>1$ → $(1,2]$.
- $x\ge2$: $3>1$ true → $[2,\infty)$.
- Union: $(1,\infty)$.
Worked Examples — a full solution & tolerances
8.1 · Solve $|2x-5|\ge3$ and graph
- Strategy: isolated, RHS the positive 3 → "or" shape. Endpoints from $|2x-5|=3$.
- Unfold: $2x-5\ge3\Rightarrow x\ge4$, or $2x-5\le-3\Rightarrow x\le1$.
- Endpoints: non-strict, so included: $|2(1)-5|=3$ ✓, $|2(4)-5|=3$ ✓.
- Checks: $x=4$: $3\ge3$ ✓. Gap $x=2.5$: $0\not\ge3$ ✓. Far $x=0$: $5\ge3$ ✓.
The tolerance template
Center $T$ = target, half-width $\varepsilon_t$ = tolerance. Any band $[b,c]$ has $T=\frac{b+c}{2}$ and $\varepsilon_t=\frac{c-b}{2}$ — the same center–radius picture as $\varepsilon$–$\delta$ limits.
8.2 · Band ↔ inequality & proportional tightness
(a) Temperatures acceptable in $[64,72]^\circ$F — one absolute-value inequality.
(b) Bolt acceptable iff $|d-12|\le0.2$ mm — list diameters.
(c) Which is proportionally tighter: $\pm0.5$ on 50 mm, or $\pm0.2$ on 12 mm?
- (a) Center 68, half-width 4: $|T_{\text{temp}}-68|\le4$.
- (b) $[11.8,12.2]$ mm.
- (c) $\frac{0.5}{50}=1\%$ vs $\frac{0.2}{12}\approx1.7\%$ — the bolt is proportionally tighter.
Common Misconceptions — eight traps, eight repairs
The 5-Step Problem-Solving Algorithm
Isolate
Get the absolute value alone: $|E|=c$, $|E|\lessgtr c$, or two bars.
Classify the right side
Positive, zero, negative — or contains $x$? Then checking is mandatory.
Unfold
"$=$" → ± split; "$<,\le$" → sandwich "and"; "$>,\ge$" → two-ray "or"; several bars → key-point method.
Solve each branch
Intersect the "and" pieces, union the "or" pieces, discard invalid candidates.
Verify
Graph it, write interval notation, plug endpoints into $|E|=c$, spot-check one interior point.
Computational Exploration
Computers know absolute value as abs(x), and symbolic engines solve it directly. All outputs below were produced with numpy, sympy and matplotlib.
11.1 · Seeing the solution set
import numpy as np, matplotlib.pyplot as plt f = lambda x: np.abs(x - 2) # the V-shaped function x = np.linspace(-6, 10, 800); xs = np.linspace(-1, 5, 200) plt.plot(x, f(x), lw=2, color="teal") plt.axhline(3.0, color="tab:red", ls="--") # y = 3 plt.fill_between(xs, f(xs), 3.0, color="tab:red", alpha=0.15) # |x-2| < 3 plt.plot([-1,5],[3,3],"o", color="tab:red") # |x-2| = 3 plt.show()
The dashed line $y=3$ meets the V at $(-1,3)$ and $(5,3)$; the shaded band marks $-1<x<5$.
11.2 · Truth tables without proofs
x = np.linspace(-10, 10, 2_000_001) # Claim: |2x-5| >= 3 <=> x <= 1 or x >= 4 lhs = np.abs(2*x - 5) >= 3 claim = (x <= 1) | (x >= 4) print("|2x-5| >= 3 mismatches:", np.count_nonzero(lhs != claim))
Two million sample points, zero disagreements. Scanning isn't a proof, but it catches sign slips and flipped endpoints instantly.
11.3 · Symbolic solving & extraneous-filtering
import sympy as sp x = sp.symbols("x", real=True) print(sp.solveset(sp.Abs(x-3) - 2, x, domain=sp.S.Reals)) # {1, 5} print(sp.solveset(sp.Abs(x-1) - sp.Abs(x-5), x, domain=sp.S.Reals)) # {3} print(sp.solveset(sp.Abs(x+3) - (x**2-4*x-3), x, domain=sp.S.Reals))# {-1, 6}
The last line returns $\{-1,6\}$ — sympy silently discarded the extraneous candidates 0 and 3.
11.4 · "Check your answers" as code
candidates = [-1, 6, 0, 3] # from |x+3| = x^2-4x-3 for x in candidates: lhs = abs(x + 3); rhs = x**2 - 4*x - 3 print(x, lhs, rhs, lhs == rhs)
6 9 9 True
0 3 -3 False
3 6 -6 False
Verification workflow: (1) solve symbolically; (2) confirm with a truth table or substitution; (3) draw the picture — if picture and symbols disagree, it's usually the symbols.
Connections — where absolute value lives
📏 Distance geometry
$|x-y|$ is the distance between two points. $|x-a|=|x-b|$ gives the midpoint; in the plane it upgrades to the perpendicular bisector.∞ Limits (ε–δ)
$\lim_{x\to a}f(x)=L$ is defined by $|x-a|<\delta$ and $|f(x)-L|<\varepsilon$ — the tolerance band with different letters.🔬 Measurement science
Every tolerance, error bar, and QC limit is $|\text{measured}-\text{target}|\le\varepsilon$.📊 Statistics
The absolute deviation $|x-\bar x|$ measures how far a point sits from the mean — the robust cousin of standard deviation.📈 Functions & graphs
$y=|x|$ is the simplest piecewise function and the prototype V-shape; $y=a|x-h|+k$ has vertex $(h,k)$ and slopes $\pm a$.🧭 Higher dimensions
$|x|$ is the 1-D case of a norm. For a complex number $z$, the modulus $|z|$ plays the role of absolute value.💻 Programming
abs(x) is native in every language; the sample-compare-count truth-table style is how you test claims about signs and boundaries.Practice Set — cover the answers, work on paper
Level 1 — Concepts
C1 Explain in one sentence why $|x-a|<c$ describes an interval centered at $a$, and state its endpoints.concept
C2 True or false: (a) $|x|=-x$ for every $x\le0$; (b) $|a+b|=|a|+|b|$ for all reals; (c) $\sqrt{x^2}=|x|$ for all reals.true/false
C3 Explain why $|x|=-4$ has no solutions while $|x|>-4$ holds for every real $x$.concept
C4 Without solving, how many solutions can $|2x-7|=5$ have? What about $=0$ and $=-1$?predict
C5 A student writes "$|x|>3$, so $x>\pm3$". Diagnose and repair.diagnose
C6 Describe the graph of $y=|2x-5|$: vertex, slopes, and where it lies on or above $y=3$.graph
Level 2 — Core skills
S1 Solve $|x+7|=3$.equation
S2 Solve $3|2x-4|=18$.equation
S3 Solve $|x^2-1|=3$.nonlinear
S4 Solve $|x-4|+2=1$.impossible
S5 Solve $-3|x-1|-6=3$.impossible
S6 Solve $|x-1|\le4$; give the interval.and
S7 Solve $|2x+6|>10$; give the interval.or
S8 Solve $|5-x|\ge1$; give the interval.reflection
S9 Solve $2|x-3|<0$.impossible
S10 Solve $|x-7|\ge-2$.all reals
S11 A bottling machine is acceptable when $|V-500|\le3$ (mL). Find the range.tolerance
Level 3 — Challenge
H1 Solve $|x-2|=3x+1$ (watch the RHS).variable RHS
H2 Solve $|x^2-1|=3$.nonlinear
H3 Solve $|x-3|+|x+1|=8$.key points
H4 Solve $|x-1|\ge|x+5|$.square
H5 Prove the reverse triangle inequality $\big||x|-|y|\big|\le|x-y|$.proof
H6 Solve $\left|\tfrac{x}{3}+2\right|\le1$; give the interval.fraction
Quick Drill — 25 mixed problems (answer key)
| # | Problem | Answer | Type |
|---|---|---|---|
| 1 | $|x|=8$ | $\{-8,8\}$ | eq, + |
| 2 | $|x-2|=6$ | $\{-4,8\}$ | eq, + |
| 3 | $|x+1|=0$ | $\{-1\}$ | eq, zero |
| 4 | $|x-4|=-6$ | No solution | eq, − |
| 5 | $|3x+2|=10$ | $\{-4,\tfrac83\}$ | eq, + |
| 6 | $|2x+5|+4=3$ | No solution | eq, − |
| 7 | $2|4x-1|=6$ | $\{-\tfrac12,1\}$ | eq, + |
| 8 | $\tfrac12|2x-6|+1=2$ | $\{2,4\}$ | eq, + |
| 9 | $-3|x-1|-6=3$ | No solution | eq, − |
| 10 | $|x-7|+2=2$ | $\{7\}$ | eq, zero |
| 11 | $|3x+2|=|x-6|$ | $\{-4,1\}$ | two bars |
| 12 | $|x-4|=|4-x|$ | $\mathbb R$ | two bars |
| 13 | $|x|\le2$ | $[-2,2]$ | ineq, + |
| 14 | $|x+3|>4$ | $(-\infty,-7)\cup(1,\infty)$ | ineq, + |
| 15 | $|x+3|<-6$ | No solution | ineq, − |
| 16 | $3|2x-4|\ge-9$ | $\mathbb R$ | ineq, − |
| 17 | $2|x-9|+6>6$ | $(-\infty,9)\cup(9,\infty)$ | ineq, zero |
| 18 | $-4|3x-1|\ge8$ | No solution | ineq, − |
| 19 | $-5|2x+2|-3\ge-3$ | $\{-1\}$ | ineq, zero |
| 20 | $-10+\tfrac56|x-4|\ge-10$ | $\mathbb R$ | ineq, zero |
| 21 | $3|\tfrac56x+2|+6<15$ | $(-6,\tfrac65)$ | ineq, + |
| 22 | $|x^2-4|=-4$ | No solution | nonlinear |
| 23 | $|x^2+9x+14|=0$ | $x=-2,-7$ | nonlinear |
| 24 | $|x^2+1|=2x$ | $x=1$ | nonlinear |
| 25 | $|x-1|=x^2+4x-5$ | $x=-6,1$ | nonlinear |
Study Plan & Exam Checklist
⏱ First 30 minutes
Read Sections 1–4 with a pencil. Redraw the equation/inequality pictures from memory, then write the master table once without looking. Do concept checks C1–C4.
⏱ Next 90 minutes
Work through Sections 5–7 actively: cover each solution, attempt it, then compare checks. Then do S1–S11 and H1–H3.
📅 Day two
Redo three problems you got wrong, from scratch. Draw the V-graph and key-point figures by hand. Run the four code listings (or read the outputs and match them to the worked examples).
🗓 End of week
Attempt H4–H6. Write the summary card from memory. Re-derive the "and"/"or" rules from $|X|=\max(X,-X)$ and the midpoint trick.
Exam Checklist — tick each before submitting
Summary Card & Further Resources
Absolute value in one card
- Definition: $|x|=x$ if $x\ge0$; $|x|=-x$ if $x<0$; outputs are never negative.
- One idea: $|x-a|$ is the distance from $x$ to $a$; everything else is geometry.
- Equations: $|E|=c$ with $c>0$ splits $E=\pm c$; $c=0$ gives $E=0$; $c<0$ gives $\varnothing$.
- Two bars: $|A|=|B|\iff A=\pm B$; special case $|x-a|=|x-b|$ → midpoint $\frac{a+b}{2}$.
- Inequalities ($c>0$): $|E|<c$ sandwiches ("and"); $|E|>c$ splits ("or").
- Degenerate: $|E|<0:\varnothing$; $|E|\le0:E=0$; $|E|>0$: all but $E=0$; $|E|\ge0$: all reals.
- Variable right side: require the correct sign, then check every candidate.
- Several bars: key points partition the line — unfold, solve per region, keep in-region, union.
- Tolerance: $|m-T|\le\varepsilon_t$ is the band $[T-\varepsilon_t,\,T+\varepsilon_t]$ — the same center–radius picture as $\varepsilon$–$\delta$ limits.
- Verify: endpoints in $|E|=c$, one spot value, and a truth-table or solveset run when a machine is available.
Further resources
abs(x-2) and a slider for the right-hand side; watching the intersections slide builds the V-graph intuition permanently.Built from "Absolute Value: Equations & Inequalities" (Calculus Deep Dives) & the companion worked-problem worksheet · Distance-first study guide