Absolute Value Equations
You're driving on Route 66 and pass mile marker 40. A diner is exactly 15 miles from you, but you can't tell whether it's ahead of you or behind you. Which mile markers could it be at? Two answers are possible, and that is the key idea of this page: an absolute value equation hides two equations at once.
Absolute value as distance
The absolute value of a number is its distance from $0$ on the number line. Distance is never negative, so $|x| \ge 0$ always. Some problems call the absolute value the modulus. It is the same thing.
So $|x-40|=15$ says: "the distance from $x$ to $40$ is $15$." Drag the points and see where they land.
Back to the start: the diner is at $|x-40|=15$, so $x-40=15$ or $x-40=-15$. It is at mile marker $55$ or $25$.
Find the numbers whose distance to the number $4$ on the real line is exactly $9$. Set up and solve the corresponding modulus equation.
Find the numbers whose distance to the number $4$ on the real line is exactly $9$. Set up and solve the corresponding modulus equation.
Solving $|expression| = k$
Only two numbers are exactly $k$ units from $0$: $k$ and $-k$. So the inside of the bars can only equal one of those two values.
Slide $k$ and watch the horizontal line cross the graph of $y=|2x-1|$. Two crossings for $k>0$, one at $k=0$, none for $k<0$.
Fractions cause no trouble. For $\left|\dfrac{x}{2}+1\right|=3$, solve $\dfrac{x}{2}+1=3$ and $\dfrac{x}{2}+1=-3$ the usual way. You get $x=4$ and $x=-8$.
Solve the following linear equation with a modulus: $|3x - 5| = 7$
Solve the following linear equation with a modulus:
$|3x - 5| = 7$
Isolate the modulus and find the solutions of the equation: $2|x + 4| - 10 = 0$
Isolate the modulus and find the solutions of the equation:
$2|x + 4| - 10 = 0$
Solve the following equation with fractional coefficients: $\left| \frac{2x}{3} - 1 \right| = 5$
Solve the following equation with fractional coefficients:
$\left| \frac{2x}{3} - 1 \right| = 5$
No solution, zero, and two absolute values
When the right side is $0$ there is only one case. $|A|=0$ means $A=0$, because $-0=0$ gives nothing new. For example, $|x^2-16|=0$ means $x^2=16$, so $x=4$ or $x=-4$. The two answers come from the quadratic, not from splitting.
Now what if both sides have absolute values? Two numbers have the same absolute value when they are the same distance from $0$. They are either equal or opposites.
Analyze and solve the following equation. Justify your answer: $|5x + 2| = -4$
Analyze and solve the following equation. Justify your answer:
$|5x + 2| = -4$
Solve the equation by considering that the arguments of the moduli are equal or opposite: $|2x - 1| = |x + 3|$
Solve the equation by considering that the arguments of the moduli are equal or opposite:
$|2x - 1| = |x + 3|$
Find the values of $x$ that satisfy the following quadratic equation with a modulus: $|x^2 - 9| = 0$
Find the values of $x$ that satisfy the following quadratic equation with a modulus:
$|x^2 - 9| = 0$
Quadratics and absolute value
If the inside is quadratic, each case is a quadratic equation, so you can get up to four real solutions. Use factoring or the quadratic formula on each one.
A second pattern: the equation is quadratic in $|x|$. Since $x^2=|x|^2$, substitute $u=|x|$ and remember $u\ge0$.
How many solutions does $|f(x)|=k$ have? Think of the graph of $|f(x)|$: it's the graph of $f$ with the part below the x-axis flipped up. Here $f(x)=x^2-2x-3=(x-3)(x+1)$ has its vertex at $(1,-4)$, and after flipping it becomes a peak at $(1,4)$. Slide $k$ and count the crossings.
The count depends on $k$ and the peak height $4$. For $k>4$ there are $2$ solutions, for $k=4$ there are $3$, for $0 Find all the real solutions of the equation: $|x^2 - 5x| = 6$ Find the solutions of the following equation by making an appropriate change of variable or distinguishing cases according to the sign of $x$: $x^2 - 4|x| - 5 = 0$ Determine the value of the parameter $k$ for which the equation $|x^2 - 4x + 3| = k$ has exactly three distinct real solutions.Find all the real solutions of the equation: $|x^2 - 5x| = 6$
Find the solutions of the following equation by making an appropriate change of variable or distinguishing cases according to the sign of $x$: $x^2 - 4|x| - 5 = 0$
Determine the value of the parameter $k$ for which the equation $|x^2 - 4x + 3| = k$ has exactly three distinct real solutions.
Variable on both sides: check for extraneous solutions
In $|A(x)|=B(x)$ the right side can change sign, and an absolute value can never equal a negative number. So after solving the two cases, you must make sure $B(x)\ge0$.
Solve the following equation and check the validity of the solutions obtained, discarding those that do not make sense: $|x - 5| = 2x - 1$
Solve the following equation and check the validity of the solutions obtained, discarding those that do not make sense:
$|x - 5| = 2x - 1$
Find the values of $x$ that satisfy the following equation, checking the solutions in the original equation: $|x^2 - 4x| = 3x - 6$
Find the values of $x$ that satisfy the following equation, checking the solutions in the original equation:
$|x^2 - 4x| = 3x - 6$
A particle oscillates around an equilibrium point. Its position $x$ at certain critical instants satisfies the equation $|x^2 - 10| = 3x$. Find the exact positions $x$…
A particle oscillates around an equilibrium point. Its position $x$ at certain critical instants satisfies the equation $|x^2 - 10| = 3x$. Find the exact positions $x$ where this occurs, making sure to discard invalid solutions.
Rational equations with absolute value
With a fraction inside the bars, you split into two cases as usual, but you must also exclude values that make the denominator $0$. Any candidate that does is not a solution.
A shortcut: when the numerator and denominator share a factor, you can simplify, but still write down the excluded value. For $\left|\dfrac{x^2-x-2}{x^2+x}\right|=1$, we have $\dfrac{(x-2)(x+1)}{x(x+1)}$, so the excluded values are $x=0$ and $x=-1$ even after canceling.
Solve the following rational equation with a modulus: $\left| \frac{x+2}{x-1} \right| = 3$
Solve the following rational equation with a modulus:
$\left| \frac{x+2}{x-1} \right| = 3$
Solve the following rational equation involving a modulus. Pay special attention to the values that make the denominator zero:…
Solve the following rational equation involving a modulus. Pay special attention to the values that make the denominator zero:
$\left| \frac{x^2 - x - 2}{x^2 + x} \right| = 1$
Two absolute values: solve by intervals
If two absolute values are added or subtracted (not set equal), you can't split into just two cases. Each absolute value changes behavior at a different point. The idea is to cut the number line at those points and remove the bars in each piece.
There is a nice way to see this: $|x-1|+|x-4|$ is the sum of the distances from $x$ to $1$ and to $4$. Between $1$ and $4$ that sum is always $3$, and outside it grows. That's why the middle interval gave "$3=5$".
Find the solutions of the equation by dividing the real line into intervals according to the roots of the arguments of the moduli: $|x - 2| + |x + 3| = 7$
Find the solutions of the equation by dividing the real line into intervals according to the roots of the arguments of the moduli:
$|x - 2| + |x + 3| = 7$
The profile of the entrance of a modern design tent is modeled by the equation $y = |x - 4| + |x - 8|$, where $x$ and $y$ are in feet. To place a horizontal support beam…
The profile of the entrance of a modern design tent is modeled by the equation $y = |x - 4| + |x - 8|$, where $x$ and $y$ are in feet. To place a horizontal support beam at a height of $y = 6$ feet, solve the equation $|x - 4| + |x - 8| = 6$ to find the coordinates $x$ of the ends of the support.
A robotic arm moves along a linear rail. Its distance to two beacons located at positions $x=0$ and $x=10$ must satisfy the constraint given by the equation…
A robotic arm moves along a linear rail. Its distance to two beacons located at positions $x=0$ and $x=10$ must satisfy the constraint given by the equation $2|x| - |x - 10| = 5$. Find the exact coordinates $x$ where the robot can stop.
Nested and combined absolute values
Nested. Peel the absolute values from the outside in, one layer at a time.
Absolute value mixed with other terms. Split by the sign of the expression inside the bars. In each case solve, then keep only solutions that fit that case.
Quadratic equals linear, both in absolute value. The rule $|A|=|B|\iff A=\pm B$ still works, and since you never squared or divided, there is nothing to reject. For example, $|x^2-1|=|x+1|$ gives $x^2-1=x+1$ (so $x=2$ or $x=-1$) and $x^2-1=-x-1$ (so $x=0$ or $x=-1$). The solutions are $x=-1$, $0$, and $2$. A repeated solution counts once.
Solve the following equation with nested moduli: $||2x - 1| - 4| = 5$
Solve the following equation with nested moduli:
$||2x - 1| - 4| = 5$
Find all the real solutions of the combined equation: $x^2 - 2|x - 1| = 2$
Find all the real solutions of the combined equation:
$x^2 - 2|x - 1| = 2$
Solve the following equation by equating the modulus of a quadratic expression to the modulus of a linear expression: $|x^2 - 5x + 4| = |2x - 6|$
Solve the following equation by equating the modulus of a quadratic expression to the modulus of a linear expression:
$|x^2 - 5x + 4| = |2x - 6|$
Applications: tolerance and deviation
Absolute value equations describe "how far from a target." In manufacturing, a part is acceptable if its length is within a tolerance of the target. The two solutions are the upper and lower limits.
A machine cuts steel cables for a suspension bridge. The length $L$ (in feet) of a cable is considered acceptable if it satisfies the tolerance equation…
A machine cuts steel cables for a suspension bridge. The length $L$ (in feet) of a cable is considered acceptable if it satisfies the tolerance equation $|2L - 150| = 1.5$. Calculate the maximum and minimum acceptable lengths for the cable.
In an economic model, the deviation of the price $P$ of a share from its reference value of $\$120$ is proportional to the price itself, modeled by the equation $|P -…
In an economic model, the deviation of the price $P$ of a share from its reference value of $\$120$ is proportional to the price itself, modeled by the equation $|P - 120| = \frac{P}{5}$. Calculate the exact prices that meet this condition.
During a chemical experiment, the margin of error in measuring the pH of a buffer solution is given by the equation $|2p - 14| = p - 4$, where $p$ is the pH value.…
During a chemical experiment, the margin of error in measuring the pH of a buffer solution is given by the equation $|2p - 14| = p - 4$, where $p$ is the pH value. Calculate the possible values of $p$ and discard those that lack physical or mathematical sense in this equation.