Solve an absolute value equation
Quick review (2 minutes)
Suppose you must stand exactly eight blocks from a sign on a straight road.
Isolate |A| = B first. For B > 0, solve A = B or A = −B. For B = 0, solve A = 0. For B < 0, there is no solution. These give two, one, or no inputs when A = mx + c and m ≠ 0. Check every input in the original equation.
Get the bars and their complete contents alone. Undo addition or subtraction outside first, then multiplication or division.
Name A, everything inside the bars, and B, the number on the other side. Inspect B before splitting.
For B > 0, write A = B or A = −B. For B = 0, write only A = 0. For B < 0, stop with no solution.
Solve each possible equation by undoing the inside operations. This finds the inputs that produce the required inside values.
Substitute each possible answer into the original equation. Keep only inputs that make both sides equal.
Write the answer as inputs and as a set. {−7, 3} lists two answers. {4} lists one answer. ∅ means the empty set, no answers, and can also be written { }. Braces collect answers; a comma separates them.
Solve 3|x + 2| − 4 = 11.
x = −7 or x = 3
Set: {−7, 3}
Splitting before isolating, or keeping only the positive branch. In 3|x + 2| − 4 = 11, the needed distance is 5, not 11. Box the isolated equation, then choose its branches.
Isolate the bars by undoing what happens outside them. The resulting B is the actual distance to inspect.
Check whether B is negative, zero, or positive before writing inside equations.
Solve every possible inside equation, then substitute into the original and list the complete answer set.
absolute value
The absolute value of a number is its distance from zero. It keeps the size without the direction, so it is never negative.
distance
Distance tells how far apart two places or numbers are. On a number line, the distance from A to B is |A − B|.
input
An input is a value supplied to a function. On its graph, the input is the horizontal coordinate x.
output
An output is the value a function returns for an input. On its graph, the output is the vertical coordinate y = f(x).
graph
A graph is a picture of input-output pairs. Each point (x, y) shows the output y that belongs to the input x.
absolute value equation
An absolute value equation sets an expression containing absolute value bars equal to another expression. A solution makes that equality true.
solution
A solution is an input value that makes the original equation or inequality true. Always check it in the original statement.
zero
A zero of a function is an input where its output is 0. On the graph, that input locates an x-intercept.
inequality
An inequality compares values. The signs < and > exclude equality; the signs ≤ and ≥ allow it. It states which value is smaller or larger.
isolate
To isolate an expression means to get it alone on one side by undoing outside operations. Preserve the equation or inequality while doing so.
real number
A real number is a value that can be placed on the number line. Real numbers include negative numbers, zero, positive numbers, fractions, and decimals.
no solution
No solution means no allowed input makes the statement true. An absolute value alone cannot equal a negative number because distance is never negative.
nonnegative
Nonnegative means zero or positive. It excludes every negative number.
opposite
The opposite of a number is equally far from zero on the other side. The opposite of 0 is 0.
branch
A branch is one alternative equation or inequality obtained when a problem separates into cases.
coefficient
A coefficient is the number multiplying a letter or grouped calculation.
set notation
Set notation names a collection. Curly braces with commas list its individual members.
empty set
The empty set has no members. Write ∅ or { } when no values satisfy the problem.
expression
An expression is a calculation made of numbers, letters, and operations. It does not by itself claim an equality.
1 In plain words
Suppose you must stand exactly eight blocks from a sign on a straight road. You can stand on its right or its left. An absolute value equation asks for every position with an exact distance. The unknown sits inside the bars, perhaps after several operations. First clear away the operations outside the bars until the distance stands alone. Then ask whether that distance is possible. Positive gives two directions. Zero means standing at the sign. Negative cannot describe a distance. In our rules, A is a nickname for everything inside the bars, and B is the number on the other side. In |2x − 6| = 8, A means 2x − 6 and B means 8.
2 Picture it
Reminder
Reminder: Multiplication beside bars, Equation balance, Fractions multiplying x, Negative substitution, Answer sets
- Multiplication beside bars. 3|x + 2| means 3 × |x + 2|. The bars group the whole inside, so finish x + 2 before multiplying.
- Equation balance. Subtract or add the same amount to both sides. Dividing an equation by a negative changes no equality sign: −2u = −8 becomes u = 4.
- Fractions multiplying x. x = 4 becomes x = 4 × = 6. The reciprocal cancels because their product is 1.
- Negative substitution. At x = −1, write 2(−1) − 6 = −2 − 6 = −8. Parentheses keep the negative input together.
- Answer sets. {−7, 3} means the set containing −7 and 3. {4} has one answer. ∅ and { } have none.
3 Why
For a positive B, only B and −B have distance B from zero. So |A| = B has exactly the same answers as A = B or A = −B. Each of those equations is a branch, one case to solve. They concern the entire inside A, never each term separately. At B = 0, both directions meet at A = 0. At B < 0, no real number has that distance. For A = mx + c, m and c are fixed numbers and m ≠ 0. Undoing addition and multiplication gives one input per branch. Other inside expressions can have different counts.
4 The rule
Isolate first.
For B > 0, solve or . For , solve . For B < 0, there is no solution. These give two, one, or no inputs when mx and . Check every input in the original equation.
The same idea, five ways
the absolute value of A equals B. A names the whole inside, and B is the number on the other side.
Find every input whose whole inside has exactly the required distance from zero.
- |A| = B
- For B > 0: A = B or A = −B
- |2x − 6| = 8 gives x = −1 or x = 7
- Set notation: {−1, 7}
- One answer: {4}
- No answers: ∅, also written { }
Find both houses exactly eight blocks from one sign. Zero distance means the sign itself; negative distance cannot occur.
The same idea, other ways
An exact positive distance from a landmark places you that far left or that far right. Neither direction can be discarded.
Absolute value sends both −5 and 5 to 5. Reversing it must consider both possible inputs. Then reverse the earlier addition or multiplication to recover x.
The graph y = |x + 2| crosses y = 5 twice, at −7 and 3. The line y = 0 meets the corner once. A line below zero never meets this distance graph because every output is zero or positive.
An inside value between −5 and 5 has distance less than 5; an inside value outside that span has distance greater than 5. Only its two boundary values can give distance exactly 5.
| B, the number on the other side | Inside equation or equations | If A = mx + c and m ≠ 0 |
|---|---|---|
| B > 0 | A = B or A = −B | Two solutions |
| B = 0 | A = 0 | One solution |
| B < 0 | No possible inside value | No solution: ∅ |
Part 1: B positive
Two opposite positions give the same positive distance. Solve both equations.
- For B > 0, |A| = B means A = B or A = −B.
- When A = mx + c and m ≠ 0, each inside equation gives one input and the two inputs differ.
- For |x| = 3, the answer set is {−3, 3}.
Worked example
An exact three-unit distance
Solve |x| = 3.
What it asks. Find every number whose distance from zero is exactly 3.
Show the steps and the answer
The plan. Choose the position three units left and the position three units right, then check them.
- Plan. Choose the position three units left and the position three units right, then check them.
- The distance is positive.
- Both directions count.
- or .These are the two positions three units from zero.
- Keep both possible inputs after checking and .An equation needs every input that makes it true.
- x = −3 or x = 3
- Set: {−3, 3}
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Use the word or between the two input values. You are listing alternatives, not requiring one x to be both numbers.
Part 2: B zero
You have distance zero only when you are at the center. Left and right give the same position, so do not count it twice.
- |A| = 0 means A = 0.
- Do not list +0 and −0 as different solutions.
Worked example
One solution
Solve |x − 4| = 0.
What it asks. Find the input exactly zero units from 4.
Show the steps and the answer
The plan. Set the whole inside to zero, solve for the center, and substitute it back.
- Plan. Set the whole inside to zero, solve for the center, and substitute it back.
- Only an inside value of zero has absolute value zero.
- Add 4 to both sides to find that input.
- Set .This asks for the input where the inside vanishes, the only way the distance can be zero.
- Add 4 to both sides: .This finds the center input by undoing subtracting 4.
- Check , then write {4}.The input satisfies the original equation, and the braces list its one answer.
- x = 4
- Set: {4}
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- When B is zero, solve one inside equation. There is only one zero-distance position.
Part 3: B negative
A negative required distance is impossible. You stop when isolation reveals it.
- |A| ≥ 0 for every real A.
- If isolation gives B < 0, no input can satisfy |A| = B. The answer set is ∅.
Worked example
A distance cannot equal −3
Solve |3x + 1| + 5 = 2.
What it asks. Find whether any x can make |3x + 1| + 5 equal 2.
Show the steps and the answer
The plan. Remove the outside +5, inspect the resulting distance, and stop if it is negative.
- Plan. Remove the outside +5, inspect the resulting distance, and stop if it is negative.
- Subtract 5 from both sides.
- Distance can be zero or positive, but never negative.
- Subtract 5 from both sides: .This isolates the bars so the required distance can be inspected.
- There is no solution. Write .No value inside the bars produces distance −3; the equation cannot hold for any input.
- No solution
- Set: ∅
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Inspect B after isolation. An outside negative can turn a negative starting number into a positive B.
Part 4: The bars may be on the right
A balanced scale can be read from either side. Swap the complete sides if it helps you see the bars on the left. Then undo the outside operations in the usual order.
- The left side equals the right side also means the right side equals the left side. You can swap the two complete expressions.
- Swapping sides changes no signs inside either expression.
- In an equation, dividing by a negative keeps equality. The inequality flip rule concerns inequality signs.
Worked example
A zero on the left
Solve 0 = −|x + 5| + 6.
What it asks. Find every input that makes the right side equal zero.
Show the steps and the answer
The plan. Swap sides, subtract 6, divide by −1, then solve two inside equations.
- Plan. Swap sides, subtract 6, divide by −1, then solve two inside equations.
- Read 0 = −|x + 5| + 6 from the right side to the left side.
- Division by a negative keeps the equals sign.
- The isolated distance will be 6.
- Swap the complete sides: .Equal amounts can be written in either order without changing the equation.
- Subtract 6 from both sides: .This removes the addition outside the bars.
- Divide both sides by −1: .This cancels the outside minus. Equality stays equality.
- Write or .The positive distance 6 can come from inside value 6 or −6.
- Subtract 5 in each equation: or .This finds the inputs that produce the two possible inside values.
- x = −11 or x = 1
- Set: {−11, 1}
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Write the whole equation in reverse order before doing algebra. Keep every sign attached to its expression.
5 How
- Get the bars and their complete contents alone. Undo addition or subtraction outside first, then multiplication or division.
- Name A, everything inside the bars, and B, the number on the other side. Inspect B before splitting.
- For B > 0, write A = B or A = −B. For B = 0, write only A = 0. For B < 0, stop with no solution.
- Solve each possible equation by undoing the inside operations. This finds the inputs that produce the required inside values.
- Substitute each possible answer into the original equation. Keep only inputs that make both sides equal.
- Write the answer as inputs and as a set. {−7, 3} lists two answers. {4} lists one answer. ∅ means the empty set, no answers, and can also be written { }. Braces collect answers; a comma separates them.
Solve an absolute value equation
- Isolate the bars by undoing what happens outside them. The resulting B is the actual distance to inspect.
- Check whether B is negative, zero, or positive before writing inside equations.
- Solve every possible inside equation, then substitute into the original and list the complete answer set.
6 Worked example
Worked example
Isolate before choosing directions
Solve 3|x + 2| − 4 = 11.
What it asks. Find every x that makes the left side equal 11, then write those inputs as a set.
Show the steps and the answer
The plan. Undo minus 4, then times 3 outside the bars. Solve two equations for the whole inside and check both inputs.
- Plan. Undo minus 4, then times 3 outside the bars. Solve two equations for the whole inside and check both inputs.
- The outside operations are times 3, then minus 4. Undo them in reverse order.
- After isolation, |x + 2| = 5 means x + 2 equals 5 or −5.
- A positive distance has a left position and a right position.
- Add 4 to both sides: , so .This removes the outside subtraction while keeping the sides equal.
- Divide both sides by 3: .Division cancels the outside multiplication. Now B, the number on the other side, is the true distance 5.
- Write or .The complete inside must be one of the two numbers whose absolute value is 5.
- In the first equation subtract 2 from both sides: .This finds the input that produces inside value 5.
- In the second equation subtract 2 from both sides: .This finds the input that produces inside value −5. Both possible directions must be checked.
- Substitute 3 and into the original equation and keep both. Write .Both give original left side 11, so both inputs belong to the answer set.
- x = −7 or x = 3
- Set: {−7, 3}
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 8
Bare bars
Solve |x| = 6.
What it asks. Find every number exactly six units from zero.
Show the steps and the answer
The plan. Use both directions from zero and check both.
- Plan. Use both directions from zero and check both.
- The bars are already alone.
- A positive B gives two inside values.
- The bars are isolated and .There are no outside operations to undo.
- or .Both directions have distance six from zero.
- x = −6 or x = 6
- Set: {−6, 6}
Rung 2 of 8
Undo an inside shift
Solve |x − 2| = 3.
What it asks. Find every number exactly three units from 2.
Show the steps and the answer
The plan. Split the inside into 3 or −3, then add 2 and check both inputs.
- Plan. Split the inside into 3 or −3, then add 2 and check both inputs.
- Keep x − 2 together as the whole inside.
- The center is 2.
- Write or .A positive distance 3 can come from either whole inside value.
- Add 2 in the first equation: .This finds the input three units right of 2.
- Add 2 in the second equation: .This finds the input three units left of 2.
- x = −1 or x = 5
- Set: {−1, 5}
Rung 3 of 8
Subtraction from a number
Solve |7 − x| = 3.
What it asks. Find every input whose distance from 7 is exactly 3.
Show the steps and the answer
The plan. Set the whole inside equal to 3 and −3, then undo subtraction of x in each equation.
- Plan. Set the whole inside equal to 3 and −3, then undo subtraction of x in each equation.
- Keep 7 − x together.
- |7 − x| = |x − 7| because reversing a difference keeps its distance.
- Write or .The whole inside has to be one of the two values whose absolute value is 3.
- In the first equation subtract 7: . Divide by : .This finds the input that makes the inside 3. Division keeps equality.
- In the second equation subtract 7: . Divide by : .This finds the input that makes the inside −3.
- x = 4 or x = 10
- Set: {4, 10}
Rung 4 of 8
A number multiplying x inside
Solve |2x − 6| = 8.
What it asks. Find every x whose whole inside 2x − 6 has distance 8 from zero.
Show the steps and the answer
The plan. Write the inside equal to 8 and −8, then solve and check each equation.
- Plan. Write the inside equal to 8 and −8, then solve and check each equation.
- A is 2x − 6, not x alone.
- Add 6, then divide by 2, in both branches.
- Write or .B = 8 > 0, so the complete inside has two possible values.
- In the first equation add 6 to both sides: .This removes the inside subtraction while keeping both sides equal.
- Divide by 2: .This finds the input that makes the inside 8.
- In the second equation add 6: .This removes the same subtraction for the other possible direction.
- Divide by 2: .This finds the input that makes the inside −8.
- x = −1 or x = 7
- Set: {−1, 7}
Rung 5 of 8
Isolate two outside operations
Solve 2|x − 1| + 3 = 11.
What it asks. Find every x that makes twice the distance from 1, plus 3, equal 11.
Show the steps and the answer
The plan. Subtract 3 and divide by 2 before choosing the two inside values.
- Plan. Subtract 3 and divide by 2 before choosing the two inside values.
- Undo the outside operations in reverse order.
- After isolation, B is 4.
- Subtract 3 from both sides: .This removes the outside addition.
- Divide both sides by 2: .The bars now stand alone, revealing the required distance.
- Write or .The whole inside must have distance 4 from zero.
- Add 1 in the first equation: .This finds the input on the right.
- Add 1 in the second equation: .This finds the input on the left.
- x = −3 or x = 5
- Set: {−3, 5}
Rung 6 of 8
Compare zero and negative B
Solve |2x − 8| = 0 and |2x − 8| = −1.
What it asks. Solve two separate equations. First find zero distance; then decide whether negative distance is possible.
Show the steps and the answer
The plan. For B = 0 solve one inside equation. For B = −1 stop with no solution.
- Plan. For B = 0 solve one inside equation. For B = −1 stop with no solution.
- Zero is a possible distance.
- Negative one is not a possible distance.
- For , set .This finds the input where the inside vanishes, the only way to have distance zero.
- Add 8 to both sides: .This removes the inside subtraction.
- Divide by 2: . Check .This isolates the input and confirms it in the original zero-distance equation.
- For , there is no solution: .Every distance is at least zero, so no input gives −1.
- |2x − 8| = 0: x = 4; set {4}
- |2x − 8| = −1: no solution; set ∅
Rung 7 of 8
A fraction multiplying x inside
Solve |x − 1| = 3.
What it asks. Find every x that makes the entire inside exactly three units from zero.
Show the steps and the answer
The plan. Set the inside equal to 3 and −3. Add 1, then multiply by the reciprocal in each equation.
- Plan. Set the inside equal to 3 and −3. Add 1, then multiply by the reciprocal in each equation.
- x means × x.
- Multiplying by gives 1.
- Keep exact fractions until the calculation finishes.
- Write or .The positive B = 3 allows two whole inside values.
- In the first equation add 1: .This removes the inside subtraction.
- Multiply both sides by : .The reciprocal cancels the multiplier of x and finds the first possible input.
- In the second equation add 1: .This removes the same subtraction in the other branch.
- Multiply both sides by : .The reciprocal finds the input that produces the negative inside value.
- x = −3 or x = 6
- Set: {−3, 6}
Rung 8 of 8
A negative outside multiplier and fractional answer
Solve −2|3x − 1| + 5 = −3.
What it asks. Find every x that makes the whole expression equal −3.
Show the steps and the answer
The plan. Remove +5, divide by −2, then solve the two inside equations and check the fractional input exactly.
- Plan. Remove +5, divide by −2, then solve the two inside equations and check the fractional input exactly.
- An equation keeps its equals sign when divided by a negative.
- The isolated distance becomes positive 4.
- The coefficient is the number multiplying a letter or the bars. Here −2 multiplies the bars and 3 multiplies x.
- Subtract 5 from both sides: .This removes the outside addition before inspecting the distance.
- Divide both sides by −2: .This cancels the outside multiplier. Equality stays equality; no inequality sign is present to flip.
- Write or .The positive B = 4 allows two whole inside values.
- In the first equation add 1: . Divide by 3: .These moves find the input that produces inside value 4. The fraction is exact.
- In the second equation add 1: . Divide by 3: .These moves find the input that produces inside value −4.
- x = −1 or x =
- Set: {−1, }
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Box the isolated |A| = B before choosing cases. Inspect B there, rather than the number in the starting equation.
- Two answers: list both in braces, smaller first. One answer: use one number in braces. No answers: use ∅.
- The textbook may write the second case as −A = B. Multiplying both sides by −1 gives A = −B, so the two versions have the same answers.
- Memory cue: alone, then two roads. First isolate the bars; take both roads only when B is positive.
7 The trap
Splitting before isolating, or keeping only the positive branch. In 3|x + 2| − 4 = 11, the needed distance is 5, not 11. Box the isolated equation, then choose its branches.
Problems marked OpenStax come from Precalculus 2e by Jay Abramson, published by OpenStax, under the CC BY-NC-SA 4.0 licence. Access for free at https://openstax.org/books/precalculus-2e/pages/1-introduction-to-functions.