Solving equations that contain two absolute value expressions can seem intimidating at first, but with a systematic approach the process becomes straightforward. This article explains how to solve an equation with two absolute values, breaking down the method into clear steps, providing a worked example, and addressing common questions that arise during practice.
Introduction
An equation with two absolute values typically looks like
| f(x) | = | g(x) |
where f(x) and g(x) are algebraic expressions. But the key idea is that the absolute value of a number represents its distance from zero on the number line, so the equation states that the distances of f(x) and g(x) from zero are equal. On the flip side, consequently, f(x) can be either equal to g(x) or to ‑g(x). This dual possibility leads to multiple cases that must be examined separately And that's really what it comes down to..
Understanding Absolute Value Equations
Definition and Properties
-
Absolute value (or modulus) of a real number a, denoted |a|, is defined as:
- a if a ≥ 0,
- ‑a if a < 0.
-
The fundamental property used in solving | f(x) | = | g(x) | is:
- | A | = | B | ⇔ A = B or A = ‑B.
Why Two Cases?
Because the absolute value removes sign information, the equality of two absolute values implies that the expressions inside may have opposite signs. Recognizing this allows us to split the problem into two separate equations, each of which can be solved using standard algebraic techniques.
No fluff here — just what actually works The details matter here..
Step‑by‑Step Method
Below is a concise, repeatable procedure for tackling any equation with two absolute values.
-
Isolate each absolute value
confirm that each absolute expression stands alone on each side of the equation. If necessary, move terms to achieve this. -
Set up the two possible cases
- Case 1: f(x) = g(x)
- Case 2: f(x) = ‑g(x)
-
Solve each case separately
Treat each as a regular algebraic equation. Simplify, combine like terms, and isolate x. -
Check for extraneous solutions
Substitute each candidate back into the original equation to verify that it satisfies both absolute value conditions. Discard any that do not. -
Combine the valid solutions
The solution set is the union of the solutions from all valid cases.
Detailed Walkthrough
| Step | Action | Reason |
|---|---|---|
| 1 | Move all terms so that each absolute value is isolated. | Guarantees that the equality is directly between |
| 2 | Write f(x) = g(x) and f(x) = ‑g(x). | Captures the two sign possibilities inherent in absolute values. |
| 3 | Solve each linear (or polynomial) equation using addition, subtraction, multiplication, division, or factoring. | Standard algebra yields potential x values. Even so, |
| 4 | Plug each candidate into the original equation. | Confirms that the sign condition of the absolute value is met. |
| 5 | Collect all x that pass the check. | Gives the final solution set. |
Scientific Explanation
The absolute value function is piecewise linear, meaning its graph consists of two rays meeting at the origin. When you set |f(x)| equal to |g(x)|, you are essentially asking for the x values where the two “V‑shaped” graphs intersect. Intersections can occur in two ways:
- The two V‑shapes open in the same direction, leading to f(x) = g(x).
- One V‑shape is reflected across the x‑axis, leading to f(x) = ‑g(x).
Mathematically, this is captured by the identity:
|A| = |B| ⇔ (A − B)(A + B) = 0
which expands to two separate equations: A − B = 0 (Case 1) and A + B = 0 (Case 2). Solving these gives the complete set of possibilities.
Example Walkthrough
Problem: Solve | 2x − 3 | = | x + 1 |.
Step 1 – Isolate
The absolute values are already isolated.
Step 2 – Set up cases
- Case 1: 2x − 3 = x + 1
- Case 2: 2x − 3 = ‑(x + 1) = ‑x − 1
Step 3 – Solve each case
-
Case 1:
2x − 3 = x + 1 → 2x − x = 1 + 3 → x = 4 -
Case 2:
2x − 3 = ‑x − 1 → 2x + x = ‑1 + 3 → 3x = 2 → x = 2/3
Step 4 – Check solutions
-
For x = 4:
|2·4 − 3| = |8 − 3| = |5| = 5
|4 + 1| = |5| = 5 → valid. -
For x = 2/3:
|2·(2/3) − 3| = |4/3 − 3| = |4/3 − 9/3| = |‑5/3| = 5/3
|(2/3) + 1| = |2/3 + 3/3| = |5/3| = 5/3 → valid.
Step 5 –
Step 5 – Combine the valid solutions
Both candidates passed the check, so the complete solution set is:
x = 4 and x = 2/3, or equivalently x ∈ {2/3, 4}.
Common Pitfalls to Avoid
- Forgetting the second case. The most frequent mistake is solving only f(x) = g(x) and missing the reflected case f(x) = ‑g(x). Always account for both sign possibilities.
- Sign errors when distributing the negative. In Case 2, remember to negate every term inside the second expression. Writing 2x − 3 = ‑x + 1 (instead of ‑x − 1) is a classic slip.
- Skipping the verification step. Even though |A| = |B| is guaranteed to produce valid candidates, checking your work catches arithmetic mistakes and reinforces understanding.
- Assuming extraneous solutions are impossible. Unlike equations with variables inside a single absolute value equal to a constant, the |f(x)| = |g(x)| form rarely produces extraneous roots—but verifying costs little and protects against errors.
Why This Method Works Every Time
The elegance of the two-case approach lies in its completeness. That said, because absolute value is defined precisely by the rule that |a| equals either a or ‑a, splitting into f(x) = g(x) and f(x) = ‑g(x) exhausts all possibilities. Because of that, there is no third case to consider. This is why the factored identity |A| = |B| ⇔ (A − B)(A + B) = 0 is so powerful: it converts a single absolute-value equation into a straightforward product that vanishes when either factor is zero.
Conclusion
Solving equations of the form |f(x)| = |g(x)| reduces to a reliable, repeatable procedure: isolate the absolute values, split into the two sign cases, solve each resulting equation with ordinary algebra, verify the candidates, and unite the valid solutions. The worked example |2x − 3| = |x + 1| demonstrated the full process, yielding the solution set {2/3, 4}. Whether the expressions inside the bars are linear, quadratic, or more complex, the same framework applies—only the algebra in Step 3 grows more involved. Master this method and you hold a general tool for handling any equality between two absolute-value expressions, connecting the algebraic mechanics to the underlying geometry of intersecting V-shaped graphs Surprisingly effective..
Beyond Linear Expressions
The two‑case strategy works for any expressions (f(x)) and (g(x)), not just linear ones. When the inner functions become quadratic, cubic, or involve radicals, the algebraic manipulations in Step 3 become more involved, but the logical structure remains unchanged.
Example: (|x^{2}-4| = |3x+2|)
-
Identify the two cases
[ \begin{cases} x^{2}-4 = 3x+2 &\text{(Case 1)}\[4pt] x^{2}-4 = -(3x+2) &\text{(Case 2)} \end{cases} ] -
Solve each equation
Case 1: (x^{2}-3x-6=0)
[ x = \frac{3\pm\sqrt{9+24}}{2}= \frac{3\pm\sqrt{33}}{2} ]Case 2: (x^{2}+3x-2=0)
[ x = \frac{-3\pm\sqrt{9+8}}{2}= \frac{-3\pm\sqrt{17}}{2} ] -
Check the candidates
Because both sides are absolute values, each candidate automatically satisfies (|f(x)|=|g(x)|). Even so, it is still prudent to verify that no arithmetic slip occurred. Substituting the four numbers into the original equation confirms that all four are valid.
-
Solution set
[ x\in\Bigl{\frac{3+\sqrt{33}}{2},;\frac{3-\sqrt{33}}{2},;\frac{-3+\sqrt{17}}{2},;\frac{-3-\sqrt{17}}{2}\Bigr} ]Graphically, the two V‑shaped curves (y=|x^{2}-4|) and (y=|3x+2|) intersect at exactly these four points, matching the algebraic result It's one of those things that adds up..
Handling Multiple Absolute Values
When an equation contains more than two absolute‑value terms, such as (|2x-5|+|x+3|=10), the direct two‑case method is no longer sufficient. One common approach is to partition the real line according to the sign changes of each expression inside the bars:
- Find the critical points where each inner expression equals zero (here, (x=2.5) and (x=-3)).
- These points divide the number line into intervals: ((-\infty,-3),;(-3,2.5),;(2.5,\infty)).
- On each interval, replace every absolute value with its appropriate sign (positive or negative) and solve the resulting linear equation.
- Keep only the solutions that lie within the interval that produced them.
This systematic piecewise treatment extends the core idea of the two‑case method to arbitrarily many absolute‑value terms.
Using Technology Wisely
Modern graphing calculators or computer algebra systems can plot the two sides of an absolute‑value equation and locate intersection points automatically. While this provides a quick visual check, it should complement, not replace, the analytical steps. Relying solely on a graph can obscure algebraic errors, especially when the expressions are complex or when the intersection points are very close together Less friction, more output..
Practice Problems
- Solve (|5-2x| = |x+7|).
- Find all real solutions of (|x^{2}-9| = |2x-1|).
- Determine the solution set for (|3x+4| + |2-x| = 9).
- (Challenge