LCKurtz said:
It might help you to just list the ordered pairs for f. Then reverse them all and you should see a way to write f-1 as a formula similar in form to the formula for f(x).
All right. Thanks for your help.
Also, could I ask for help on finding inverses for the following?
f(x) = x + [x] (floor) and f(x) = x/(1-x
2) for -1 < x < 1.
For the first function, there is no reversible equation for the floor operator, so could I state the inverse as simply {(x+[x],x) | (x,x+[x]) \in f}?
Would it be possible to state that any x in f be a.b, where a is an integer and b is any real number?
Then
f(x) = a.b + a for a >= 0 and
f(x) = a.b + (a-1) for a < 0.
Then the inverse of f would be given by
f
-1(x) = 1/2 (x + 0.b) for x >= 0 and
f
-1(x) = 1/2 (x + 1.b - 0.(2b)) for x < 0.
For the second function, I interchanged the variables and obtains:
x(1-y
2) = y
0 = xy
2 + y - x
Using the quadratic formula, I got
y = (-1 +/- \sqrt{1+4x^2})/2x, -1 < y < 1
How do I know whether to take the positive or negative?