Absolute Value Equation Solver
Solve equations of the form |ax + b| = c.
About Absolute Value Equation Solver
To solve |f(x)| = c, solve both f(x) = c and f(x) = -c. If c < 0, there is no solution.
$$|ax + b| = c \Rightarrow ax + b = \pm c$$
How to use this calculator
- Enter the coefficient of x, the constant term, and the right side value c.
- Check that the equation is in the form |ax + b| = c.
- Read the two possible cases, ax + b = c and ax + b = -c.
- Solve each linear equation and combine the solutions, or report no solution if c < 0.
The formula explained
The rule |ax + b| = c Rightarrow ax + b = c means the expression inside the absolute value can equal either positive c or negative c. This turns one absolute value equation into two simpler linear equations.
- a = the coefficient of x
- b = the constant inside the absolute value
- c = the nonnegative number on the right side
- x = the variable you are solving for
Step by step method
- First, check whether c < 0. If it is, there is no solution because an absolute value cannot be negative.
- Write two equations: ax + b = c and ax + b = -c.
- Solve each equation for x by isolating the variable.
- Check your answers in the original equation if you want to confirm them.
Worked example
Problem. Solve |2x - 5| = 7.
- Set up the two cases: 2x - 5 = 7 and 2x - 5 = -7.
- Solve the first equation, 2x = 12, so x = 6. Solve the second equation, 2x = -2, so x = -1.
- Both values work, so the solution set is {x = 6, x = -1}.
Answer. x = 6 or x = -1
Tips and common mistakes
- If the right side is negative, like |2x - 5| = -3, the equation has no solution.
- Be careful with the minus sign in the second case, because ax + b = -c changes the sign of every term on the right side.
Frequently asked questions
How do I solve an absolute value equation like |ax + b| = c?+
Use the fact that |ax + b| = c means ax + b = c or ax + b = -c, as long as c is nonnegative. Solve each linear equation separately, then check the results in the original equation.
What does the formula |ax + b| = c ax + b = \pm c mean?+
It means the expression inside the absolute value can be either c or -c, because both have the same absolute value. This is why absolute value equations usually produce two solutions, unless one case is impossible.
What happens if c is negative in |ax + b| = c?+
There is no solution, because an absolute value cannot be negative. For example, |2x - 3| = -4 has no real solution.
How do I interpret the two answers from the solver?+
Each answer is a value of x that makes the absolute value equation true. You should substitute both back into |ax + b| = c to confirm they work, especially if the equation was simplified or rearranged first.
How is solving |ax + b| = c different from solving a regular linear equation?+
A regular linear equation usually has one solution, while an absolute value equation can have two, one, or no solutions. The absolute value creates two cases, because the inside expression can equal c or -c.
More Mathematics Tools
Explore related calculators in this category
Absolute Value Calculator
Calculate the absolute value of any number. Use this free calculator for fast, accurate answers, complete with the formula and a worked example.
Absolute Value Grapher
Plot y = |f(x)| and see the characteristic V-shape and reflections.
Cubic Equation Calculator
Find one real root of a cubic equation ax³ + bx² + cx + d = 0.
Future Value Calculator
Calculate the future value of a present amount.
You Might Also Like
Popular tools from other categories
Bernoulli Equation Calculator
Calculate pressure or velocity using Bernoulli's equation for fluid flow. Free calculator with instant results and a worked example.
Circle Equation Calculator
Find the equation of a circle from center and radius.
Ellipse Equation Calculator
Find properties of an ellipse from its equation.
Lensmaker's Equation Calculator
Calculate focal length using the lensmaker's equation. Free calculator with instant calculations, the underlying formula, and an easy-to-follow example.
Can't Find the Right Calculator?
Try our AI Math Solver, type any problem in plain English and get instant step-by-step solutions.