Absolute Value Equation Calculator
Solve any absolute value equation instantly.
solution set for x
Solution Classification: Two Solutions
View breakdown
What the Absolute Value Equation Calculator Solves
The absolute value equation calculator solves any linear absolute value equation of the canonical form |ax + b| = c. It classifies the equation into its exact solution state (Two Solutions, One Solution, No Solution, or Infinite Solutions), computes the exact positive-branch and negative-branch roots (x₁ and x₂), identifies the V-graph vertex (x = −b/a), and measures the distance between the two roots on the real number line (2c ÷ |a|).
Geometrically, the absolute value |u| measures the non-negative distance of u from 0 on the real number line. When c > 0 and a ≠ 0, the equation |ax + b| = c asks for the two points whose expression ax + b lies exactly c units to the right (+c) and c units to the left (−c) of zero.
Both roots x₁ and x₂ are always symmetric around the vertex x = −b/a, separated by a total span of |x₁ − x₂| = 2c ÷ |a|.
If your problem uses <, ≤, >, or ≥ instead of =, solve for the interval notation and number-line graph in the Absolute Value Inequalities Calculator.
Common use cases
- Algebra I & Algebra II Homework VerificationCheck both the positive-case (
ax + b = c) and negative-case (ax + b = −c) roots of|ax + b| = cproblems. - Degenerate & No-Solution DetectionImmediately spot when a negative right-hand constant (
c < 0) or zero slope (a = 0) produces No Solution or Infinite Solutions. - Graphing V-Function InterceptsFind the axis of symmetry (
Vertex x = −b/a) and horizontal intercept spread when sketchingy = |ax + b| − c. - Engineering Tolerance BoundsSolve symmetric manufacturing or measurement tolerance equations (
|x − nominal| = tolerance) for upper and lower acceptance limits.
How the Positive and Negative Branch Split Works
Once the absolute value bars are isolated on the left side (|ax + b| = c), the sign of c and whether a is non-zero determine how the equation branches into linear equations.
- Coefficient of x (a): Slope multiplier inside the absolute value bars (
ain|ax + b| = c). - Inside Constant (b): Additive or subtractive constant inside the bars (
bin|ax + b| = c). - Outside Constant (c): Isolated right-hand side value representing the required distance from zero.
- Vertex (−b/a) & Distance Between Roots: Center point midway between
x₁andx₂, and the total distance|x₁ − x₂|between both solutions.
Walk through the default example |2x + 3| = 7: since c = 7 > 0, Case 1 sets 2x + 3 = 7, giving 2x = 4 ⇒ x₁ = 2. Case 2 sets 2x + 3 = −7, giving 2x = −10 ⇒ x₂ = −5. The vertex sits exactly halfway between 2 and −5 at x = −3/2 = −1.5, and the distance between the two roots is |2 − (−5)| = 7.
When c = 0 (such as |4x − 12| = 0), the positive and negative branches collapse into the same equation (4x − 12 = 0), yielding a single root right at the vertex (x₁ = 3, Root Distance = 0). When c < 0 (such as |3x + 5| = −4), no real number can have a negative absolute value, so the solution set is empty (No Solution).
According to OpenStax ( Rice University — College Algebra: Linear Absolute Value Equations), for any positive real number c, an absolute value equation |ax + b| = c is equivalent to the compound disjunction ax + b = c or ax + b = −c, while c < 0 yields the empty set.
When c − b is not evenly divisible by a and you need exact reduced fractions for your homework, simplify the ratio in the Fraction Calculator.
How to Solve |ax + b| = c Step by Step
Arrange your equation into the standard form |ax + b| = c and enter the three constants.
- Enter the Coefficient of x (a) and Inside Constant (b): Input
a(the number multiplyingx) andb(the number added or subtracted inside the bars; use a negative sign for subtraction, such as−6for|3x − 6|). - Enter the Isolated Right-Hand Side Constant (c): Input the number
con the right side of the equals sign. - Read the Solution State, Roots, and Vertex: Check Solution Type (
Two Solutions,One Solution, orNo Solution), readx₁andx₂, and open the breakdown drawer for the Vertex (−b/a) and Distance Between Roots.
To solve 2|3x − 6| + 4 = 22, first isolate the absolute value by subtracting 4 (2|3x − 6| = 18) and dividing by 2 (|3x − 6| = 9). Enter a = 3, b = −6, and c = 9 to get Two Solutions: x₁ = 5 and x₂ = −1, centered at vertex x = 2 with a root distance of 6.
Worked numerical examples
2x + 3 = 7 ⇒ x₁ = 4 ÷ 2 = 2 and 2x + 3 = −7 ⇒ x₂ = −10 ÷ 2 = −5
x₁ = 2, x₂ = −5)4x − 12 = 0 ⇒ x₁ = 12 ÷ 4 = 3 (root distance 0)
x₁ = 3, x₂ = None)|3x + 5| ≥ 0 cannot equal negative −4
Empty Set)| Scenario | Solution Type | Primary Root (x₁) | Secondary Root (x₂) | ||
|---|---|---|---|---|---|
| 2x + 3 | = 7 (Standard Two-Root Split) | Two Solutions | 2 | -5 | |
| 3x − 6 | = 9 (Positive & Negative Roots) | Two Solutions | 5 | -1 | |
| 5x + 10 | = 15 (Symmetric Integer Roots) | Two Solutions | 1 | -5 | |
| −2x + 8 | = 6 (Negative x Coefficient) | Two Solutions | 1 | 7 | |
| 4x − 12 | = 0 (Zero Right-Hand Side) | One Solution | 3 | None | |
| 3x + 5 | = −4 (Negative RHS → No Solution) | No Solution | None | None |
Four Algebraic Rules for Absolute Value Equations
Mastering these four structural properties prevents sign errors and extraneous-root traps on algebra exams.
Isolate the Bars First
If your original problem has terms outside the absolute value bars—such as 3|2x + 1| − 5 = 10—add 5 and divide by 3 first so the equation is in canonical form |2x + 1| = 5 before entering a, b, c.
Non-Negativity Axiom (|u| ≥ 0)
Because absolute value represents distance, |ax + b| is never negative for any real x. Any isolated equation |ax + b| = c with c < 0 immediately has zero real solutions.
Midpoint & Radius Interpretation
Rewriting |ax + b| = c by dividing by |a| gives |x − (−b/a)| = c/|a|, meaning the solutions are the two numbers at radius r = c/|a| from center x = −b/a.
Negative Coefficient Symmetry
Because |−u| = |u|, an equation with a negative a such as |−2x + 8| = 6 has the exact same solution set (x = 1 and x = 7) as |2x − 8| = 6.
Why Geometric Vertex & Root-Distance Outputs Help
Seeing the vertex and root spread alongside x₁ and x₂ connects symbolic algebra directly to coordinate graphing.
- Four-Case Classification: Automatically distinguishes Two Solutions (
c > 0), One Solution (c = 0), No Solution (c < 0), and Infinite Solutions (a = 0, |b| = c). - Exact Vertex & Axis of Symmetry: Computes
x = −b/a, which is both the midpoint of the roots and the vertex of the V-shaped graphy = |ax + b|. - Root Spread Verification: Displays
|x₁ − x₂| = 2c ÷ |a|so you can double-check your algebraic distance on a number line. - Negative & Decimal Coefficient Support: Handles negative slopes (
a < 0), fractional constants, and zero-slope edge cases cleanly.
If your problem replaces the equals sign = with an inequality symbol (<, ≤, >, or ≥), the two roots x₁ and x₂ computed here form the exact boundary endpoints of the solution interval.
Instructors building fresh algebra quiz sets without repeating coefficients can generate unbiased random integers for practice problems.
Edge Cases and Extraneous Root Rules
Watch for these three algebraic conditions when solving more advanced absolute value equations.
- Negative Multiplier Outside the Bars: In an equation like
−2|x + 4| = −10, dividing both sides by−2yields|x + 4| = +5(c = +5 > 0), which has Two Solutions (x = 1andx = −9) despite the initial negative sign. - Variable on the Right-Hand Side (
|ax + b| = dx + e): Whenxalso appears outside the bars, solving both branches can produce an extraneous root wheredx + e < 0; you must plug each candidate root back intodx + e ≥ 0. - Zero Coefficient of x (
a = 0): Whena = 0, the variablexvanishes and the equation reduces to|b| = c, which is either identically true for all real numbers (|b| = c) or false for all real numbers (|b| ≠ c). - Designed for equations where the right-hand side
cis a constant real number after isolating the absolute value bars. - Displays non-integer roots rounded to up to 4 decimal places (
e.g., 1.3333for4/3).
To solve absolute value inequalities (|ax + b| < c or |ax + b| ≥ c) and express the solution in interval notation (-5, 2) or (-∞, -5] U [2, ∞), switch to our absolute value inequalities calculator.
According to National Institute of Standards and Technology (NIST — Digital Library of Mathematical Functions: Elementary Algebraic Properties), the absolute value function satisfies non-negativity (|x| >= 0), even symmetry (|-x| = |x|), and the metric distance identity d(x, y) = |x - y| on the real line.
Working on relative error or percentage tolerance problems (|measured − exact| ÷ exact)? Compute the percentage in the Percentage Calculator.
Frequently asked questions
How do you solve an absolute value equation |ax + b| = c?
First make sure the absolute value bars are isolated on one side. If c > 0, split the equation into two linear equations: ax + b = c and ax + b = −c, then solve each for x. If c = 0, solve the single equation ax + b = 0. If c < 0, there is no solution.
Why does an absolute value equation have No Solution when c is negative?
The absolute value of any real number measures its distance from zero on the number line, which is always zero or positive (|u| ≥ 0). Because an absolute value can never equal a negative number, |ax + b| = c has no real solution whenever c < 0.
When does an absolute value equation have exactly One Solution?
An equation |ax + b| = c (with a ≠ 0) has exactly one solution when c = 0, because +0 and −0 are the same number. The single solution occurs at the vertex x = −b ÷ a.
How do I solve an equation with numbers outside the bars, like 2|x − 3| + 5 = 13?
Isolate the absolute value expression before using the calculator: subtract 5 from both sides (2|x − 3| = 8), then divide by 2 (|x − 3| = 4). Now enter a = 1, b = −3, and c = 4 to get x = 7 and x = −1.
What is the Vertex (−b/a) shown in the breakdown?
The vertex x = −b/a is the x-coordinate where the expression inside the absolute value bars equals zero (ax + b = 0). On a graph of y = |ax + b|, it is the sharp V-point, and on a number line it sits halfway between the two solutions x₁ and x₂.
Do I change the signs inside the absolute value bars when setting up Case 2?
No. Never change the signs inside the absolute value bars. Keep ax + b exactly as written for both cases: set ax + b = +c for Case 1 and ax + b = −c for Case 2.