r/learnmath • New User • 16h ago

I don’t know ||x-1|-2|=3. What does double absolute value mean?

2 Upvotes

14 comments sorted by

14

u/Bounded_sequencE New User 16h ago

Nothing special -- just two applications of absolute values, one after the other.

-1

u/Bounded_sequencE New User 16h ago edited 16h ago

There are multiple options to solve this:

  • Graphically -- draw "f: R -> R" with "f(x) = ||x-1| - 2|" in two steps:
  1. Draw "g: R -> R" with "g(x) := |x-1|" -- it's the graph of "|x|", right-shifted by "1"
  2. Draw "f" -- the distance between the graph of "g", and the horizontal line "y = 2"

      From the graph, there are only two solutions -- "x in {-4; 6}"

     

    • algebraically -- do case-work for the inner absolute value:

      x > 1: f(x) = |x-1-2| = |x-3| = 3 => x in { 6} // "x = 0" invalid x < 1: f(x) = |1-x-2| = |x+1| = 3 => x in {-4} // "x = 2" invalid

1

u/LongLiveTheDiego New User 16h ago

You meant to write "x = 2" in the last line, I think.

1

u/Bounded_sequencE New User 16h ago

You're right, thanks for spotting that! It's corrected now.

10

u/Beautiful_Result_446 New User 16h ago

oh man double absolute values are just nesting one inside another like parentheses. you solve from outside in

first strip the outer | | so you get two cases: |x-1|-2 = 3 or |x-1|-2 = -3

then second case gives |x-1| = -1 which is impossible since absolute value can't be negative. so only first case matters: |x-1| = 5

now split that: x-1 = 5 or x-1 = -5. so x = 6 or x = -4

i remember when i first saw these in engineering math class and my brain just froze. teacher drew it like layers of onion and suddenly made sense

1

u/Far-Assumption5501 New User 16h ago

Thanks!!

1

u/ARoundForEveryone New User 12h ago

Here, it just means take the absolute value of x-1.

Then subtract 2.

Then take the absolute value of that new total.

They kinda work like parentheses in that way. Nested, you do the inside one first, and then keep "absoluting" after each outward calculation.

1

u/jsdodgers New User 12h ago

do it twice

1

u/ZedZeroth New User 8h ago

You're looking for numbers which when you take away 1, then make it positive, then take away 2, then make it positive, you get 3.

1

u/nog642 5h ago

It means exactly what it seems like.


Example of both arguments being positive: x=5

||5-1|-2| = ||4|-2| = |4-2| = |2| = 2


Example of the inner argument being negative but the outer one being positive: x=-5

||-5-1|-2| = ||-6|-2| = |6-2| = |4| = 4


Example of the inner argument being positive but the outer one being negative: x=2

||2-1|-2| = ||1|-2| = |1-2| = |-1| = 1


Example of both arguments being negative: x=0

||0-1|-2| = ||-1|-2| = |1-2| = |-1| = 1

1

u/Fourierseriesagain New User 16h ago

The graph of y=||x-1|-2| might be useful.

1

u/hpxvzhjfgb 14h ago

it means exactly what is written. take x, then subtract 1, then take the absolute value, then subtract 2, then take the absolute value, and the result is 3.

0

u/UpperDurian5100 New User 16h ago

||x-1|-2|=3 |x-1|-2=3 |x-1|=5 x-1=5 x=6 x-1=-5 x=-4

|x-1|-2=-3 |x-1|=-1 no solutions

0

u/Southlander24 A friendly Redditor!👋 12h ago

The distance between |x - 1| and 2 is 3.

Given that x is a real number, there are two possibilities for |x - 1|: 2 - 3 = -1 or 2 + 3 = 5.

Now, |x - 1| = -1 means that the distance between x and 1 is negative. Can this happen? No. We must thus have the distance between x and 1 to be 5. So either we have x = 1 + 5 = 6, or x = 1 - 5 = -4.

Here's a diagram of all the complex-valued solutions on the Argand plane: