A question regarding inverse functions

In summary: The inverse of a function f(x) is the same as f-1(x), which is written as f-1(y). In other words, if you have a function that looks like y=x3 on a graph, the inverse is x=y/2. In summary, the inverse of a function is the same as the original function - it's just drawn in a different way.
  • #1
christian0710
409
9
Hi I'm reading a book called Calculus lifesaver, and in the book they state that the inverse of a function f(x)= x3 is the same as f-1(x)=3√x and is the same as f-1(y)=3√y

So I did a test, with a simpler function and I can't see how this is true

If I have a function f(x)= 2*x

Then the inverse would be y=2x→ x=y/2

So It’s correct then to write f-1(x)= x/2

And Is it wrong or correct to write?
f-1(y)= y/2 Because this is not the inverse of y, this is the inverse of X, so the right thing would be to either call it f-1(x)= x/2 OR f(y)= y/2 right?? If i graph it,
f(y)= y/2 gives us the same graph as f(x)= 2*x and f-1(x)= x/2 gives us a different graf which is the inverse, so It must be an error to state that f-1(x)=3√x is the same as f-1(y)=3√y Or am i wrong?
 
Physics news on Phys.org
  • #2
Variable names have no special meaning. As long as you use them consistently, it is fine.
f(r)=2r and f(y)=2y are the same as f(x)=2x.
 
  • #3
I see but if we have a xy cordinate system, the have a function f(y)=2y and f(x)=2x we get two different graphs (don't we) because the one is a function of y and the other a function of x? That's my confusion.
 
  • #4
You get different graphs, but the functions are the same. They are just drawn in a different way.
 
  • #5
But how can the functions be the same if they have different graphs? a function only has one inverse, so how can it have two graphs? One of them must be correct and the other wrong? If i graph on a xy axis f(y)=2y and f(x)=2x i get two different graphs.
 
  • #6
The coordinate system that you use to graph your functions usually has its horizontal axis labelled as "x" and its vertical axis labelled as "y". When a function is in the form of y = f(x), y is the dependent variable and x is the independent variable.

You know what the graph of y = f(x) = x3 looks like. The equation x = g(y) = ## \sqrt[3]{y}## represents the inverse relationship between x and y, and this equation is equivalent to the equation y = x3, which means that each point (x, y) that is on one graph is also on the other. The only difference is that one function produces a y value for a given input x value, and the other function produces an x value for a given input y value.

Using inverse function notation, these equations say exactly the same thing and have exactly the same graph:

y = f(x) = x3
x = f-1(y) = ## \sqrt[3]{y}##

If I switch the variable names in the function I'm calling g, above, I get y = g(x) = ## \sqrt[3]{x}##. Switching x and y has the effect of reflecting each point (x, y) on the original graph across the line y = x. IOW, the point (x, y) gets reflected to (y, x). If that's hard to follow, the point (2, 8) gets reflected to (8, 2).

Our transformed (by reflection) function is now y = g(x) = ## \sqrt[3]{x}##. Because of the inverse relationship between f and g, we often write g(x) as f-1(x).

IMO, this switching gets a lot more attention in Precalc classes and textbooks than it deserves, because it distracts students from the more important concept that a function and its inverse are simply two ways to look at the relationship between x and y on a graph.

A function f and its inverse f-1 satisfy these relationships:

f (f-1(y)) = y, and
f-1(f(x)) = x
as long as y is in the domain of f-1 and x is in the domain of f.
 
  • #7
Man you deserve a Nobel prize for your explanations! This is great. So just to make sure I understand you let me reiterate what you just said:

So the inverse of f(x) y=x3 is obviously x(y)=f-1(y)=3√y and therefore by switching the variable x and y in the inverse function of y,
f-1(x)=3√x you get the inverse function of x. And this function is a mirror image of f(x) in the line line y=x.

So equating f-1(x)=3√x with f-1(y)=3√y is not completely correct, because it will give us two different graphs, it would however be correct to say that f-1(x)=3√x has an inverse relationship to y(x)=y3 and gives the same graph.
 
  • #8
Here is a small excerpt from the book, i highlighted what i misunderstand.
 

Attachments

  • inverse.JPG
    inverse.JPG
    25.3 KB · Views: 385
  • #9
Howdy,

In what your are writing, you are identifying a function too much with its graph. Or, rather, you are putting too much meaning in the specific variables x and y. This question is about functions, not variables. Think of a function as something numerical. It takes in an input and returns an output. The given function takes an input x and returns an output x^3. In other words, the output is the cube of the input (the letter we use to label the input is irrelevant).

The inverse operation "undoes" what the original operation did. So the inverse of the previous function would take a numerical input and return the cube root. Again, the letter we use to label the input is irrelevant. So whether we write the inverse function in terms of an input x or an input y is irrelevant as long as the output is the cube root of the input.
 
  • #10
Vargo said:
The inverse operation "undoes" what the original operation did. So the inverse of the previous function would take a numerical input and return the cube root. Again, the letter we use to label the input is irrelevant. So whether we write the inverse function in terms of an input x or an input y is irrelevant as long as the output is the cube root of the input.

Thank you, You are right I get too caught up in definitions because I fear that I misunderstand something, I see now that the output of any variable will still be a value plotted on the y axis, even f-1(y)=y2 :)
 
  • #11
christian0710 said:
Man you deserve a Nobel prize for your explanations! This is great. So just to make sure I understand you let me reiterate what you just said:

So the inverse of f(x) y=x3 is obviously x(y)=f-1(y)=3√y and therefore by switching the variable x and y in the inverse function of y,
f-1(x)=3√x you get the inverse function [STRIKE]of x[/STRIKE] as a function of x. And the graph of this function is a mirror image of the graph of f(x) in the line line y=x.

So equating f-1(x)=3√x with f-1(y)=3√y is not completely correct,
It's not even partially correct.
christian0710 said:
because it will give us two different graphs, it would however be correct to say that f-1(x)=3√x has an inverse relationship to y(x)=y3 and gives the same graph.

Here's the corrected version. y = f(x) = x3 is equivalent to x = f-1(y) = ## \sqrt[3](y)## - same graph.
At each point on this graph, the first equation tells you how to get the y value if you know the x value. The second equation tells you how to get the x value if you know the y value.

Here's a different example that shows how switching the variables can be a major distraction. The example involves converting Celsius temperatures to Fahrenheit and vice versa.

F = (9/5)C + 32

If we solve the equation above for C, we get
F - 32 = (9/5)C
(5/9)(F - 32) = C
so C = (5/9)(F - 32)

The first equation above gives you the temp in °F if you know the Celsius temp, so we have F = f(C) in function notation.

The last equatio above gives you the temp in °C if you know the Fahrenheit temp, so we have C = f-1(F)

It would be extremely foolish to switch C and F in either formula...
 
  • #12
Perfect then i understand:

Inverse Relationship between x and y:
f(x)=y=x3
x(y)=f-1(y)=3√y

Inverse function of f(x)
f(x)=y=x3
f-1(x)=3√x

And thank you for verifying that the definition from the book was incorrect.
 
  • #13
Are you talking about the part that you highlighted? If so, there's nothing wrong with it. They are saying that f-1(y) = ## \sqrt[3]{y}##, but if you switch letters, you get f-1(x) = ## \sqrt[3]{x}##.
 
Last edited:
  • #14
In the last part you mean f-1(x) = 3√x instead of √y right? :)

Okay, so they suggest this f-1(x) = 3√x instead of f-1(y) = 3√y because it might fool you to think that the input would be read on the y-axis and the output f(y)=x would be read on the x-axis.
 
  • #15
christian0710 said:
In the last part you mean f-1(x) = 3√x instead of √y right? :)
Yep, you got me. Copy/paste error.
christian0710 said:
Okay, so they suggest this f-1(x) = 3√x instead of f-1(y) = 3√y because it might fool you to think that the input would be read on the y-axis and the output f(y)=x would be read on the x-axis.

It's probably more because people think of functions being "of x".
 
  • #16
Thanks again. I appreciate your help!
 

What is an inverse function?

An inverse function is a function that undoes the action of another function. This means that if the original function takes a number x and produces a result y, the inverse function will take y and produce x. In other words, the inverse function "reverses" the output of the original function.

How do you find the inverse of a function?

To find the inverse of a function, you need to switch the input and output variables and solve for the new output variable. This can be done by setting the original function equal to y, switching the x and y variables, and then solving for y. The resulting equation will be the inverse function.

What is the domain and range of an inverse function?

The domain and range of an inverse function are switched from the original function. This means that the domain of the inverse function will be the range of the original function, and vice versa. It is also important to note that for an inverse function to exist, the original function must be one-to-one, meaning that each input has a unique output.

How do inverse functions relate to compositions?

Inverse functions are closely related to compositions, as they can be thought of as "undoing" each other. When two functions are composed, the output of the first function becomes the input of the second function. Inverse functions work in a similar way, with the output of the original function becoming the input of the inverse function.

What are some real-world applications of inverse functions?

Inverse functions are used in various fields, such as physics, engineering, and economics. One example is in the stock market, where inverse functions can be used to analyze the relationship between supply and demand. They are also used in navigation systems to find the inverse of a distance function, which can then be used to determine the direction and distance to a destination.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
7
Views
396
  • Precalculus Mathematics Homework Help
Replies
15
Views
640
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
10
Views
886
  • Precalculus Mathematics Homework Help
Replies
3
Views
612
  • Precalculus Mathematics Homework Help
Replies
12
Views
1K
  • Precalculus Mathematics Homework Help
Replies
13
Views
304
  • Precalculus Mathematics Homework Help
Replies
23
Views
605
  • Precalculus Mathematics Homework Help
Replies
6
Views
537
  • Precalculus Mathematics Homework Help
Replies
6
Views
1K
Back
Top