Algebra · real student question

Solve the equation with a nested absolute value: the absolute value of (the absolute value of x, minus 4) equals 5.

Question

Solve

x4=5.\bigl||x|-4\bigr|=5.

Step-by-step solution

  1. Peel the outer bars first. For any expression AA, the statement A=5|A|=5 means A=5A=5 or A=5A=-5. Treat A=x4A=|x|-4 as a single block for now:

    x4=5orx4=5.|x|-4=5\qquad\text{or}\qquad |x|-4=-5.

    Working inside-out instead of outside-in is what makes nested moduli confusing.

  2. Solve the first branch.

    x4=5  x=9  x=9 or x=9.|x|-4=5\ \Longrightarrow\ |x|=9\ \Longrightarrow\ x=9\ \text{or}\ x=-9.

  3. Solve the second branch.

    x4=5  x=1.|x|-4=-5\ \Longrightarrow\ |x|=-1.

    An absolute value is a distance from zero and can never be negative, so this branch contributes no solutions. Recognising a dead branch early saves the trouble of splitting it further.

  4. Collect the surviving solutions.

    x=9orx=9.x=9\quad\text{or}\quad x=-9.

  5. Verify both in the original equation. At x=9x=9: 94=94=5=5\bigl||9|-4\bigr|=|9-4|=|5|=5 ✓. At x=9x=-9: 94=94=5\bigl||-9|-4\bigr|=|9-4|=5 ✓. Both check out, so the solution set is {9,9}\{-9,9\}.

Answer

x=9 or x=9x=9\ \text{or}\ x=-9

Need to solve a different problem like this? Open the solver →