Inverse function of an absolute

How do I find the inverse of an absolute?
You don't ;) But your function can be inverted nevertheless: just write an equation ([imath]|x+1|+|2x+4| + 4x = a[/imath]) and solve it for x, which will give you [imath]x[/imath] as a function of [imath]a[/imath].
 
You don't ;) But your function can be inverted nevertheless: just write an equation ([imath]|x+1|+|2x+4| + 4x = a[/imath]) and solve it for x, which will give you [imath]x[/imath] as a function of [imath]a[/imath].
but won't i have multiple possibilities?
 
but won't i have multiple possibilities?
I believe you will not. If you draw the function's graph you will see that it is piecewise linear and monotone. Solving it separately for each of the linear pieces will get you the answer.
 
I believe you will not. If you draw the function's graph you will see that it is piecewise linear and monotone. Solving it separately for each of the linear pieces will get you the answer.
I got three answers for x. What now?
 
[imath]f(x) = |x+1| + 2|x+2| + 4x[/imath]

[imath]x \ge -1 \implies f(x) = 7x+5 \implies f(-1)=-2 \implies f^{-1}(-2) = -1 \text{ and } f(0)=5 \implies f^{-1}(5) = 0[/imath]

[imath]x \le -2 \implies f(x) = x-5 \implies f(-2) = -7 \implies f^{-1}(-7) = -2[/imath]
 
[imath]f(x) = |x+1| + 2|x+2| + 4x[/imath]

[imath]x \ge -1 \implies f(x) = 7x+5 \implies f(-1)=-2 \implies f^{-1}(-2) = -1 \text{ and } f(0)=5 \implies f^{-1}(5) = 0[/imath]

[imath]x \le -2 \implies f(x) = x-5 \implies f(-2) = -7 \implies f^{-1}(-7) = -2[/imath]
hm interesting, give me a minute to see if i get this.
 
[imath]f(x) = |x+1| + 2|x+2| + 4x[/imath]

[imath]x \ge -1 \implies f(x) = 7x+5 \implies f(-1)=-2 \implies f^{-1}(-2) = -1 \text{ and } f(0)=5 \implies f^{-1}(5) = 0[/imath]

[imath]x \le -2 \implies f(x) = x-5 \implies f(-2) = -7 \implies f^{-1}(-7) = -2[/imath]
yeah i don't get it. how did you know in which one to put what values to get what you need for inverse functions???
 
yeah i don't get it. how did you know in which one to put what values to get what you need for inverse functions???
Write it out as a piece-wise function.
[math]f(x) = \begin{cases} x-5 &\text{if } x\le -2 \\ 5x+3 &\text{if } -2 < x<-1\\ 7x+5 &\text{if } x \ge -1\\ \end{cases}[/math]
 
I think that you can do this by inspection only.

Since the first two terms are never negative, the only way for f(x) = -7 is for the last term, 4x, to be negative. 4x<0, whenever x<0.

I would try x=-1 first. This surely will not work since 4x will be -4 which is not negative enough.
Now try x=-2. Wow it works!

To find x such that f(x)=-2:
Since -2>-7, I would try x values that are negative but bigger that -2. Maybe x=-1 will work? Does it.


To find x such that f(x)=5:
Since only 4*0<5 and 4*1<5 I would try non-negative values x=0 and x=1. Do any of these work?
 
Top