Calculatorism

Absolute Value Calculator

Compute |x| and solve equations of the form |ax+b|=c.

Input Data

X
A
B
C

Results

Result
7
Solution
0
Note
x = 4 或 -1

At a glance:Absolute value |x|: x when x≥0, −x when x<0. Equation |ax+b|=c: when c≥0, split into ax+b=c and ax+b=−c, giving x=(c−b)/a and x=(−c−b)/a (a≠0); no solution when c<0. Complements linear-equation (no absolute value).

Formula

|x| = x (x≥0) or −x (x<0).

|ax+b|=c → x=(c−b)/a, x=(−c−b)/a (c≥0).

How to Use

  1. Enter x to find |x|.
  2. Enter a, b, c to solve |ax+b|=c.

Case Studies

|2x−3|=5 → x=4 or x=−1

2x−3=5 → x=4; 2x−3=−5 → x=−1.

FAQ

c<0?

Absolute value is non-negative, so no solution.

a=0?

Becomes |b|=c; decide unique or no solution from b and c.

Applications?

Distance, error bounds, tolerance bands.

Precision?

Shown to 4 decimal places.

Related Tools

References

Content review: Calculatorism Science Team. Results are for reference only; please refer to the relevant authorities for the official figures.

Found a problem with the results?

If this calculator's result is wrong, or you have any question about the calculation logic, please let us know. You are viewing:Absolute Value Calculator(/math/absolute-value)。