InfoTechEE
asked on
Discrete Math Functions
For f: R -> R defined by
3x - 5, x > 0;
f(x) = {
-3x + 1, x <= 0,
determine f^-1([-5,5]).
Can someone help out and show how to do this. This is a sample problem for a test.
3x - 5, x > 0;
f(x) = {
-3x + 1, x <= 0,
determine f^-1([-5,5]).
Can someone help out and show how to do this. This is a sample problem for a test.
Draw the graph of f(x) first, the inverse becomes obvious. The inverse is multi valued btw.
ASKER
It needs to be in a form of a proof.
Can you give an example of one that you do know how to do so that we can see how it should be structured?
f(x) is one-to-one and linear over x>0 and over x<=0 separately, so the domain that gives the range -5,5 should be easy to find. Then you just set y=f(x) and solve for x (again separately for the different pieces).
f(x) is one-to-one and linear over x>0 and over x<=0 separately, so the domain that gives the range -5,5 should be easy to find. Then you just set y=f(x) and solve for x (again separately for the different pieces).
ASKER
I'm not sure how to do this at all, but your explanation was very clear. The way the problem is worded to begin with is very confusing as I'm not sure what they are asking you to do. So just to clarify, that problem asks to simply find the domain and solve for x?
If so, do you just solve for x, and then plug in the range [-5, 5] into the y values?
Example 1: y = 3x -5
--> x = (y + 5)/3
--> x = (5 + 5)/3
--> x = 10/3
Example 2: y = -3x + 1
--> x = (y - 1)/-3
--> x = (-5 - 1)/-3
--> x = 2
Still a bit confused as you can tell.
If so, do you just solve for x, and then plug in the range [-5, 5] into the y values?
Example 1: y = 3x -5
--> x = (y + 5)/3
--> x = (5 + 5)/3
--> x = 10/3
Example 2: y = -3x + 1
--> x = (y - 1)/-3
--> x = (-5 - 1)/-3
--> x = 2
Still a bit confused as you can tell.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Again, all of the answers will be clear in a graph if it's carefully drawn.
ASKER
Almost everything is clear except one piece of terminiology:
"But you need to find the ranges separately for each of the two options."
if you have set A and B where a is a member of A and b is a member of B, and if f(a)=b, then f^-1(b) = a, right?
According to above statement, b is in the range, and a is in the domain.
Then -->according to f^-1([-5,5]) --> [-5,5] is the range right, and the inverse would be the domain right? Then how come your quote above says that you need to find the RANGES separately. Don't we already know the Range to be [-5,5], and we need to find the DOMAIN not the RANGE?
"But you need to find the ranges separately for each of the two options."
if you have set A and B where a is a member of A and b is a member of B, and if f(a)=b, then f^-1(b) = a, right?
According to above statement, b is in the range, and a is in the domain.
Then -->according to f^-1([-5,5]) --> [-5,5] is the range right, and the inverse would be the domain right? Then how come your quote above says that you need to find the RANGES separately. Don't we already know the Range to be [-5,5], and we need to find the DOMAIN not the RANGE?
Well, the domain of f is the same as the range of f^-1
"if you have set A and B where a is a member of A and b is a member of B, and if f(a)=b, then f^-1(b) = a, right?"
In your case, the domain of f is A and the range of f is B but for f^-1 it's flipped. The domain of f^-1 is B and the range is A.
"if you have set A and B where a is a member of A and b is a member of B, and if f(a)=b, then f^-1(b) = a, right?"
In your case, the domain of f is A and the range of f is B but for f^-1 it's flipped. The domain of f^-1 is B and the range is A.
ASKER
Excellent. Can you tell me if the question was worded a bit differently like below, what would change as far as my appraoch goes. No need to solve the below, I'm just curious what happens when you say its no longer R --> R, and now Z --> N. What happens? And now stating it is one-to-one and onto? How does that change my appraoch as well?
The function f: Z --> N defined by
2x - 1, if x > 0;
f(x) = {
-2x, otherwise.
is one-to-one and onto. Fine f^-1.
The function f: Z --> N defined by
2x - 1, if x > 0;
f(x) = {
-2x, otherwise.
is one-to-one and onto. Fine f^-1.
If it's one-to-one and onto, then the inverse will be defined everywhere on the whole domain.
If f is Z->N, it doesn't really change anything. Just f^-1 will of course be N->Z
If f is Z->N, it doesn't really change anything. Just f^-1 will of course be N->Z
ASKER
And since this time they are not providing a domain as in f^-1[-5,5] and instead only asking to find f^-1, all they are asking for is to solve for x in the 2 functions below?
The function f: Z --> N defined by
2x - 1, if x > 0;
f(x) = {
-2x, otherwise.
is one-to-one and onto. Fine f^-1.
The function f: Z --> N defined by
2x - 1, if x > 0;
f(x) = {
-2x, otherwise.
is one-to-one and onto. Fine f^-1.
Yes. All you need to do is reverse the function. It will have a { and two options just like f did.