The absolute value function doesn’t have a single, clean inverse the way most functions do. Because absolute value turns both positive and negative inputs into positive outputs, it loses information about sign. Reversing that process gives you two possible answers for every input, not one. To work with an inverse, you need to split the problem into two separate cases or restrict the domain so only one branch remains.
Why Absolute Value Can’t Be Directly Inverted
A function pairs each input with exactly one output. Absolute value satisfies that rule going forward: plug in 3, get 3; plug in -3, get 3. But when you try to reverse it, a single output (3) maps back to two different inputs (3 and -3). That means the inverse relation of an absolute value function is not itself a function. It fails the vertical line test when graphed.
This happens because absolute value is defined as a piecewise operation. For any real number x:
- If x is zero or positive, |x| = x
- If x is negative, |x| = -x (which flips the sign back to positive)
That folding of two inputs onto the same output is exactly what makes a direct inverse impossible without extra steps.
The Two-Branch Inverse Relation
If you reflect the graph of y = |x| across the diagonal line y = x (the standard geometric method for finding an inverse), you get a sideways V-shape that opens to the right. This shape has two rays: one going upward and one going downward. Together, they form the inverse relation, but not a function.
For the basic case y = |x|, swapping x and y gives you x = |y|. Solving for y produces two solutions: y = x and y = -x, both valid only when x is greater than or equal to zero (since x came from an absolute value and can’t be negative). On a graph, that’s two lines fanning out from the origin to the right.
How to Find the Inverse Step by Step
The process works the same whether you’re dealing with y = |x| or a more complex function like y = 2|x – 8| + 2. Here’s the general method:
Step 1: Replace f(x) with y. This just makes the algebra easier to follow. For example, y = 2|x – 8| + 2.
Step 2: Swap x and y. Write x = 2|y – 8| + 2. You’re now solving for y in terms of x.
Step 3: Isolate the absolute value expression. Use normal algebra to get the absolute value by itself on one side. Subtract 2 from both sides: x – 2 = 2|y – 8|. Then divide by 2: (x – 2)/2 = |y – 8|.
Step 4: Split into two cases. This is the key step. When you have |something| = p, that means the expression inside equals either p or -p. So:
- Case 1: y – 8 = (x – 2)/2, which gives y = (x – 2)/2 + 8, simplified to y = x/2 + 7
- Case 2: y – 8 = -(x – 2)/2, which gives y = -(x – 2)/2 + 8, simplified to y = -x/2 + 9
Step 5: State the domain. The range of the original function becomes the domain of the inverse. Since the original function y = 2|x – 8| + 2 has a minimum output of 2 (the vertex of the V), the inverse is only defined for x values of 2 or greater. So you have two rays: y = x/2 + 7 and y = -x/2 + 9, both with the domain x ≥ 2.
Restricting the Domain to Get a True Function
If your problem requires the inverse to be an actual function (one output per input), you need to restrict the original absolute value function to just one side of its V-shape before inverting.
For y = |x|, the two natural choices are:
- Restrict to x ≥ 0, where |x| simply equals x. The inverse is y = x, which is just the identity line.
- Restrict to x < 0, where |x| equals -x. The inverse is y = -x (with x ≥ 0).
Each restriction gives you a one-to-one function (always increasing or always decreasing), which guarantees a proper inverse. On a graph, you’re keeping only one arm of the V instead of both.
For a transformed absolute value like y = 2|x – 8| + 2, you’d restrict at the vertex, x = 8. Keeping only x ≥ 8 (the right arm) gives one invertible piece, and keeping only x ≤ 8 (the left arm) gives the other. Each piece produces one of the two rays from Step 4 above.
Solving Absolute Value Equations
A closely related skill is solving equations where the absolute value equals a specific number, like |5x – 1| = 6. The logic is identical to Step 4 above: the expression inside the absolute value must equal either 6 or -6.
Set up both cases and solve each separately. From 5x – 1 = 6, you get x = 7/5. From 5x – 1 = -6, you get x = -1. Both are valid solutions. Always check by substituting back into the original equation, because if the absolute value was set equal to a negative number (like |something| = -3), there’s no solution at all.
When two absolute values face each other, like |X| = |Y|, the rule adapts slightly: either X = Y or X = -Y. You still split into two cases, solve each, and check.
Quick Reference for Common Forms
For y = a|x – h| + k, where (h, k) is the vertex of the V:
- Swap x and y to get x = a|y – h| + k
- Isolate: (x – k)/a = |y – h|
- Split: y = (x – k)/a + h and y = -(x – k)/a + h
- Domain of inverse: x ≥ k (if a is positive) or x ≤ k (if a is negative)
The vertex of the original function always determines where the domain of the inverse starts. The minimum (or maximum) output of the absolute value function becomes the boundary of the input for its inverse, because absolute value outputs can never go below the vertex value.

