The solver shows an equation 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 and press Enter — the right panel splits the equation into x−3=5 and x−3=−5, then solves both branches to give x=8 or x=−2. • Click the "No Solution" example template — an equation with a negative right side loads. The solver detects this immediately and reports no solution. • Enter ∣2x+1∣=0 to see the zero case: only one solution exists because zero has only one absolute value preimage.
The Solve button is disabled until you enter something. Pressing Enter on the display is equivalent to clicking Solve. The special row offers the absolute value bars button (rendered as ∣∣).
Building Equations with Buttons and Keyboard
The button panel groups inputs by type. All inputs can be made either by clicking or typing on the keyboard.
• Variable row — x, y, n. The solver picks up whichever variable appears in the equation. • Number row — digits 0 through 9 and the decimal point. • Operator row — multiplication, division, plus, minus, equals. • Special row — absolute value bars button, 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 them between the two bars: ∣2x+3∣.
Keyboard shortcuts: type letters and digits directly, use star or slash for multiplication and division, and press Enter to solve. Ctrl+Z undoes up to fifty edits back; Backspace deletes the character before the cursor; Delete removes the one after it. The Clear button empties the display entirely; the curved-arrow button steps through the undo stack one edit at a time.
Try an Example — Eight Form Templates
Click the "Try an Example" header to expand the template panel. Each card generates a random equation of that form. Clicking again produces a new random version.
• Simple — ∣x+a∣=b. Coefficient of 1 on the variable; the base case. • With Coefficient — ∣ax+b∣=c. Requires solving each branch as a two-step linear equation. • Equals Zero — ∣ax+b∣=0. Single solution; the two cases collapse. • No Solution — ∣expression∣= negative. The solver detects and rejects immediately. • Isolate First — ∣x+a∣+b=c. Requires subtracting b before splitting into cases. • Coefficient Outside — a⋅∣x+b∣=c. Requires dividing by a before splitting. • Abs Both Sides — ∣ax+b∣=∣cx+d∣. Uses the A=B or A=−B case split. • Fraction Inside — ∣x/a+b∣=c. Tests fractional-coefficient handling inside the bars.
Roughly 80 percent of generated equations produce clean integer solutions; the rest exercise the special cases and edge scenarios.
Reading the Step-by-Step Solution
The solution panel shows each algebraic move as a labeled step. The step sequence depends on the structural case.
• Rearrange — if the absolute value is on the right side, the solver swaps sides for clarity. • Isolate Absolute Value — subtracts an additive constant or divides by a coefficient outside the bars to leave ∣expression∣=c alone on one side. • No Solution (when applicable) — if the isolated right side is negative, the solver flags impossibility and stops. • Zero Case (when applicable) — if the isolated right side equals zero, the inner expression must equal zero. Single solution returned. • Split into Two Cases — for ∣A∣=c>0, splits into A=c and A=−c. • Case 1: Positive — solves the linear equation A=c for the variable. • Case 2: Negative — solves the linear equation A=−c for the variable. • Verify Both Solutions — substitutes each candidate back into the original to confirm the absolute value evaluates to the right side.
For ∣A∣=∣B∣ equations, the solver uses Case 1: A = B and Case 2: A = -B instead of the positive/negative split.
The Two-Case Split — Why It Works
The absolute value function strips off the sign of its input. ∣5∣=5 and ∣−5∣=5. Two different inputs can produce the same output.
The principle. For any real number A,
∣A∣={A−Aif A≥0if A<0
So ∣A∣=c does not determine the sign of A. Both A=c and A=−c satisfy the equation. The solver must consider both possibilities and produce both solutions (or whichever turns out to be valid).
Example.∣x−4∣=7. The expression inside is x−4. Two cases:
• Case 1: x−4=7, so x=11. • Case 2: x−4=−7, so x=−3.
Check: ∣11−4∣=∣7∣=7 ✓ and ∣−3−4∣=∣−7∣=7 ✓. Both solutions are valid.
Edge cases the solver detects automatically.
• $|A| = c$ with $c < 0$: no solution. An absolute value cannot be negative. • $|A| = 0$: one solution. The inner expression must be exactly zero, so the two cases collapse. • $|A| = |B|$: two cases on inputs rather than outputs. Either A=B or A=−B. The principle is the same: both sign assignments of the right-hand expression must be checked.
For deeper coverage see absolute value and piecewise definition of absolute value.
What is Absolute Value?
The absolute value of a real number x, written ∣x∣, is its distance from zero on the number line:
∣x∣={x−xif x≥0if x<0
Equivalently, ∣x∣=x2. Absolute value is always non-negative: ∣x∣≥0 for every real x, with equality only when x=0.
Key properties.
• Non-negativity: ∣x∣≥0, with equality iff x=0. • Symmetry: ∣−x∣=∣x∣. The function is even. • Multiplicativity: ∣xy∣=∣x∣⋅∣y∣. • Triangle inequality: ∣x+y∣≤∣x∣+∣y∣, with equality when x and y have the same sign.
Graph. The graph of y=∣x∣ is a V-shape with vertex at the origin and slopes of ±1 on the two branches. The graph of y=∣ax+b∣ is a V with vertex at x=−b/a.
Geometric interpretation.∣x−a∣ is the distance between x and a on the number line. The equation ∣x−a∣=c asks: which points are exactly c units from a? Answer: a+c and a−c.
For deeper coverage see absolute value function, distance on the number line, and piecewise functions.
The Solving Process Explained
Three stages solve any absolute value equation. The first is mandatory; the second branches on the structural case.
• Stage 1: Isolate the absolute value. Move every term outside the bars to the other side. Subtract additive constants, then divide by any coefficient multiplying the absolute value expression. The goal is to reach the form ∣A∣=c where A is the expression inside the bars and c is a single number on the other side.
• Stage 2: Examine the right side.
• If $c < 0$: no solution. Stop. • If $c = 0$: the inner expression equals zero. Solve A=0 as a linear equation. Single solution. • If $c > 0$: split into two cases.
• Stage 3: Solve the two cases (when $c > 0$).
• Case 1: A=c. Solve as a linear equation in x. • Case 2: A=−c. Solve as a linear equation in x.
Both solutions are valid by construction. No extraneous-check step needed for the standard form because the squaring trap of radical equations does not arise here.
Variant: $|A| = |B|$. Both sides absolute values. The analogous split: Case 1 is A=B, Case 2 is A=−B. Each yields a linear equation. Both solutions are valid.
Variant with coefficient outside: a⋅∣A∣+d=c. Subtract d, divide by a, then proceed with the standard split.
For comprehensive treatment see solving absolute value equations and case analysis.
Related Concepts
Absolute Value Function — f(x)=∣x∣. V-shaped graph with vertex at the origin.
Absolute Value Inequalities — equations with <, >, ≤, or ≥ instead of equals. Two subtypes: ∣A∣<c becomes a compound inequality −c<A<c; ∣A∣>c becomes a union of two inequalities A<−c or A>c.
Piecewise Functions — functions defined by different rules on different intervals. The absolute value is the canonical example: ∣x∣ equals x on [0,∞) and −x on (−∞,0).
Distance Formula — the geometric interpretation of absolute value. ∣x−a∣ is the distance between points x and a on the real line.
Triangle Inequality — ∣x+y∣≤∣x∣+∣y∣. The fundamental inequality relating absolute values; appears throughout analysis.
Modulus — the absolute value generalized to complex numbers: ∣a+bi∣=a2+b2. The geometric interpretation as distance from origin extends to the complex plane.
Norm — the further generalization to vectors and other spaces. The absolute value is the one-dimensional norm.
Linear Equations — the equation type that results after splitting cases. The solver routes each case through a linear-equation step.
Compound Inequalities — used to express the solution set of an absolute value inequality. The form ∣x−a∣≤c corresponds to the compound inequality a−c≤x≤a+c.