Inverse of a Piecewise Function

Click For Summary

Homework Help Overview

The discussion revolves around finding the inverse of a piecewise function, specifically one defined with conditions on its domain and behavior at certain points. Participants express confusion regarding the lack of an explicit formula for the function and how to approach finding its inverse.

Discussion Character

  • Exploratory, Assumption checking, Conceptual clarification

Approaches and Questions Raised

  • Participants discuss interchanging variables and express confusion about solving for the inverse without an explicit formula. There are suggestions to list ordered pairs and reverse them to identify a potential formula for the inverse. Questions arise about the nature of the functions involved, particularly regarding the one-to-one property and how it affects the existence of an inverse.

Discussion Status

Some participants have offered guidance on how to approach the problem, including drawing graphs and considering the behavior of the function as variables approach certain values. There is an ongoing exploration of the implications of the floor function and its impact on the invertibility of the first function. Multiple interpretations of the second function's behavior are being discussed, with no explicit consensus reached.

Contextual Notes

Participants note that the floor function is not one-to-one, which complicates finding its inverse. There is also mention of specific intervals for the second function, indicating that it may be one-to-one within those bounds. The discussion reflects uncertainty about how to express the inverse cleanly and the implications of the function's properties on its invertibility.

SpringPhysics
Messages
104
Reaction score
0

Homework Statement


Find the inverse of
...{x...x =/= a1,...,an
f(x) = {ai+1...x = ai, i = 1,...,n-1
...{a1...x = an

Homework Equations


The Attempt at a Solution


I interchanged the variables x and y, but I am very confused as to how to solve for the rest. I don't understand how to find inverses if we aren't given an explicit formula. Can someone help please?
 
Physics news on Phys.org
SpringPhysics said:

Homework Statement


Find the inverse of
...{x...x =/= a1,...,an
f(x) = {ai+1...x = ai, i = 1,...,n-1
...{a1...x = an

Homework Equations





The Attempt at a Solution


I interchanged the variables x and y, but I am very confused as to how to solve for the rest. I don't understand how to find inverses if we aren't given an explicit formula. Can someone help please?

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).
 
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-x2) 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]) [tex]\in[/tex] 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-y2) = y
0 = xy2 + y - x
Using the quadratic formula, I got
y = (-1 +/- [tex]\sqrt{1+4x^2}[/tex])/2x, -1 < y < 1
How do I know whether to take the positive or negative?
 
Last edited by a moderator:
You shouldn't take either one. If your calculations are correct, you are saying that this function is NOT one to one and so does NOT have an inverse.
 
HallsofIvy said:
You shouldn't take either one. If your calculations are correct, you are saying that this function is NOT one to one and so does NOT have an inverse.

I am not sure which function you are referring to, but for the second function, the question asked to determine f-1 (the inverse) for -1 < x < 1. Hence, the function is 1-1 for the specified interval. I am just not sure there is an intuitive reason why the positive root works but not the negative.

The floor function is not 1-1 so it does not have an inverse, but the question is f(x) = x + floor (x), so that the function is 1-1. However, I am not sure how to cleanly express its inverse.

EDIT: Never mind for the floor function. Can someone please explain the first function?
 
Last edited:
SpringPhysics said:
EDIT: Never mind for the floor function. Can someone please explain the first function?

Are you talking about f(x) = x + [x]?

Try drawing the graph of f-1. You will see that its domain has gaps and the segments of the graph are translates of f(x) = x. Does that help?
 
LCKurtz said:
Are you talking about f(x) = x + [x]?

Try drawing the graph of f-1. You will see that its domain has gaps and the segments of the graph are translates of f(x) = x. Does that help?

Sorry, I meant f(x) = x/(1-x2)
 
When you interchanged x and y and solved for y you got:

[tex]y = \frac {-1 \pm \sqrt{1+4x^2}}{2x}[/tex]

One way you can tell you don't want the - choice is what happens as x approaches 0. The branch you want goes through the origin. If you look at

[tex]y = \frac {-1 - \sqrt{1+4x^2}}{2x}[/tex]

as [itex]x\rightarrow 0[/itex] you get a -2/0 form which indicates a vertical asymptote.

On the other hand if you let [itex]x\rightarrow 0[/itex] in

[tex]y = \frac {-1 + \sqrt{1+4x^2}}{2x}[/tex]

you get 0 as you can see if you rationalize the numerator and take the limit.

Another thing that is a bit more work is to observe that with the + choice you get [itex]-1\le y \le 1[/itex], which also tells you you have the right branch.
 
I see now. Thank you so much for your help!
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
30
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 12 ·
Replies
12
Views
4K
Replies
13
Views
5K
Replies
3
Views
1K