Last verified · v1.0
Calculator · math
Absolute Value Equation Calculator
Solve |ax + b| = c for both branches instantly. Find each solution, their sum, and product with this free absolute value equation calculator.
Inputs
Solution for x
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
The formula
How the
result is
computed.
How the Absolute Value Equation Calculator Works
An absolute value equation takes the standard form |ax + b| = c, where the vertical bars denote the absolute value — the non-negative distance a number lies from zero on the number line. Because distance is always non-negative, solving this type of equation requires splitting it into two separate linear equations and solving each one independently. This calculator automates that process instantly, returning the positive solution, the negative solution, or both combined as a sum or product.
The Core Formula
For any equation |ax + b| = c, the definition of absolute value produces exactly two cases:
- Positive branch: ax + b = c, which gives x = (c − b) / a
- Negative branch: ax + b = −c, which gives x = (−c − b) / a
Both branches combine into the compact expression x = (±c − b) / a, where the ± symbol represents the two possible solutions simultaneously. The formula works because absolute value is defined as |n| = n when n ≥ 0 and |n| = −n when n < 0, so either case can satisfy the original equation.
Variable Definitions
- a — coefficient of x: The multiplier of x inside the absolute value bars. Must be nonzero; if a = 0 the variable x disappears from the expression and no solution for x can be derived from this form.
- b — constant inside the bars: The number added to ax inside the absolute value. May be any real number, including zero. When b = 0, the equation simplifies to |ax| = c.
- c — right-hand value: The non-negative number the absolute value expression equals. When c < 0 there is no real solution, since absolute value is always ≥ 0. When c = 0, both branches collapse into the single solution x = −b / a.
- branch — solution selector: Determines which result to return: the positive branch solution, the negative branch solution, the arithmetic sum of both, or the product of both solutions.
Step-by-Step Solution Method
According to West Texas A&M University College Algebra Tutorial 21, the standard procedure for solving absolute value equations follows three steps: isolate the absolute value expression on one side of the equation; remove the bars by writing two separate equations using the positive and negative cases; then solve each linear equation. The Portland Community College ORCCA textbook emphasizes verifying every candidate solution by substituting it back into the original equation, since extraneous solutions can appear when absolute value expressions are embedded in larger equations. This calculator follows the same disciplined two-branch method used in standard college algebra curricula.
Worked Examples
Example 1 — Two Distinct Solutions
Solve |2x + 3| = 7 (a = 2, b = 3, c = 7).
- Positive branch: 2x + 3 = 7 → 2x = 4 → x = 2
- Negative branch: 2x + 3 = −7 → 2x = −10 → x = −5
Verification: |2(2) + 3| = |7| = 7 ✓ and |2(−5) + 3| = |−7| = 7 ✓. Sum of solutions: 2 + (−5) = −3. Product: 2 × (−5) = −10.
Example 2 — One Solution (c = 0)
Solve |3x − 6| = 0 (a = 3, b = −6, c = 0). Both branches collapse to 3x − 6 = 0, giving the unique solution x = 2. The sum and product both equal 2.
Example 3 — No Real Solution (c < 0)
Solve |x + 4| = −3. Since c = −3 < 0, no real number has an absolute value equal to a negative quantity. The equation has no real solution.
Real-World Applications
Absolute value equations appear whenever a quantity can deviate symmetrically from a reference point in either direction:
- Manufacturing tolerances: A shaft must measure exactly 50 mm ± 0.5 mm from specification. Setting |x − 50| = 0.5 yields the two acceptable boundary values x = 50.5 mm and x = 49.5 mm.
- Finance and trading: Identifying two price levels equidistant from a target, such as stop-loss and take-profit thresholds placed symmetrically around an entry price.
- Physics: Calculating the two positions on either side of an equilibrium point that correspond to a specific displacement magnitude.
- Signal processing: Finding the input values that produce a signal deviation of a fixed amplitude above or below a baseline.
- Quality assurance: Flagging batch measurements that differ from the standard by exactly a specified amount, identifying boundary cases for pass/fail classification.
Reference