terican

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.

FreeInstantNo signupOpen source

Inputs

Solution for x

Explain my result

0/3 free

Get a plain-English breakdown of your result with practical next steps.

Solution for x

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

Frequently asked questions

What is an absolute value equation and when does it arise?
An absolute value equation is an algebraic equation containing an absolute value expression, most commonly written as |ax + b| = c. The absolute value measures distance from zero, so it is always non-negative. These equations arise in manufacturing tolerances, physics displacement problems, finance, and any context where a quantity can deviate symmetrically from a fixed reference point in either direction.
Why does an absolute value equation typically produce two solutions?
An absolute value equation produces two solutions because both a positive and a negative number share the same absolute value. For example, |x| = 8 is satisfied by x = 8 and x = -8, since both lie exactly 8 units from zero. This symmetry forces the equation to split into two linear cases — the positive branch and the negative branch — each yielding its own solution.
What happens when the right-hand value c is negative in |ax + b| = c?
When c is negative, the equation has no real solution. Absolute value always returns a non-negative result because it measures distance, and distance cannot be negative. For instance, |3x + 1| = -5 is impossible for any real number x. The calculator detects this condition automatically and reports that no real solution exists, preventing any misleading numerical output.
How do I check whether the solutions this calculator produces are correct?
Substitute each solution back into the original equation |ax + b| = c and confirm that both sides match. For example, to verify x = -5 in |2x + 3| = 7, calculate |2(-5) + 3| = |-7| = 7, which equals the right-hand side. Performing this check for both the positive and negative branch solutions confirms accuracy and catches any arithmetic mistakes.
What does the branch selector option do, and when is the sum or product useful?
The branch selector controls which result the calculator returns. The positive branch gives x = (c - b) / a and the negative branch gives x = (-c - b) / a. The sum of both solutions equals -2b / a, and the product equals (b&#178; - c&#178;) / a&#178;. These combined values are especially useful in algebra when constructing a quadratic whose two roots are the solutions of the absolute value equation, or when analyzing symmetric properties of a function.
Can the calculator solve equations where b equals zero, such as |5x| = 20?
Yes. Setting b = 0 simplifies the equation to |ax| = c, and the calculator handles this form directly. For |5x| = 20, the positive branch gives x = 20 / 5 = 4 and the negative branch gives x = -20 / 5 = -4. The two solutions are always equal in magnitude and opposite in sign whenever b = 0, reflecting the perfect symmetry of the simplified equation around the origin.