< Return to Video

Inverse functions

  • 0:00 - 0:06
    >> Hi, again. This is Tim Hsu at San Jose State University. And I'm here today
  • 0:06 - 0:07
    to talk about inverse functions. I'll start by talking about what a one to one
  • 0:07 - 0:12
    function is. We'll talk a little bit about the definition of the inverse of a
  • 0:12 - 0:15
    one to one function. We will compare the global attributes of a function f and
  • 0:15 - 0:19
    its inverse f inverse. And finally, even though, as you'll see, this is not
  • 0:19 - 0:23
    strictly necessary for calculus, we'll talk about finding the formula for an
  • 0:23 - 0:26
    inverse function. Okay, so first we've got to talk about one to one functions
  • 0:26 - 0:30
    and what they are. So a one to one function, y equals f of x is a function that
  • 0:30 - 0:35
    never takes the same y value twice, it never has the same output twice. So
  • 0:35 - 0:38
    equivalently another way of describing one to one functions, is that a function
  • 0:38 - 0:42
    y equals f of x is one to one exactly when if and only if any horizontal line
  • 0:42 - 0:47
    that passes through the graph of y equals f of x it passes through it at most
  • 0:47 - 0:51
    once. You may know that as the horizontal line test. All right, so turning to
  • 0:51 - 0:56
    some examples of functions, here's an example. The sine function graphed here
  • 0:56 - 1:01
    from negative pi to positive pi, so the sine function is not one to one because
  • 1:01 - 1:05
    it takes the value of 1/2, at least twice over here and over here you can see
  • 1:05 - 1:08
    it. And you can see that it fails the horizontal line test because this red
  • 1:08 - 1:13
    horizontal line here at height 1/2 passes through the graph twice, fail. So the
  • 1:13 - 1:19
    sine function is not one to one. On the other hand, it can be shown that the
  • 1:19 - 1:23
    function f of x equals 2 to the x is one to one because it never attains the
  • 1:23 - 1:27
    same line value twice, so whatever kind of horizontal line you have here only
  • 1:27 - 1:30
    ever passes the graph once. Now, that's not obvious from what we talked about so
  • 1:30 - 1:37
    far, but it is true. For the future, let me recall, that the domain of 2 to the
  • 1:37 - 1:41
    x is all real values of x and the range of 2 to the x is all y zero. Okay, so
  • 1:41 - 1:45
    now we turn to the definition of the inverse of one to one functions and one
  • 1:45 - 1:50
    example, which we just saw. So suppose y equals f of x is a one to one function.
  • 1:50 - 1:55
    Then the inverse function, f inverse of x, is defined by saying that y is equal
  • 1:55 - 2:00
    to f inverse of x if and only if f of y equals x. In other words, here's a sort
  • 2:00 - 2:04
    of more verbal and less equationy way of looking at this. F inverse of x is
  • 2:04 - 2:08
    defined to be the input that you would need to give the forward function in
  • 2:08 - 2:12
    order to get x as an output, right. So again, once again, so what is f inverse
  • 2:12 - 2:17
    of x? It's the input you need to give the forward function to get x as an output
  • 2:17 - 2:21
    of the forward function. So and I'm fussing over the definition here and sort of
  • 2:21 - 2:25
    going over it a bit here because that is what you use in practice. Out of all
  • 2:25 - 2:29
    the things we talk about in this video, the most useful thing is actually this
  • 2:29 - 2:35
    theoretical nonsense, the definition of the inverse. Okay, so here's one
  • 2:35 - 2:39
    important consequence of the definition of f inverse that follows that, f
  • 2:39 - 2:45
    inverse of f of x is equal to x, right. Because what is f inverse? It's the
  • 2:45 - 2:49
    thing that you would need to feed f in order to get the input the output f of x,
  • 2:49 - 2:55
    well, that's just exactly x. And for all x and the domain of f and similarly, f
  • 2:55 - 2:59
    of f inverse of x is also equal to x, for all x in the domain of f inverse. So
  • 2:59 - 3:04
    this is the point of f inverse, this is the reason why we define inverse
  • 3:04 - 3:10
    functions. The point of an inverse function is that it undoes what f does, and
  • 3:10 - 3:15
    vice versa. So to look at a concrete example, so let f of x equal 2 to the x. As
  • 3:15 - 3:18
    it happens, this is a one to one function, which is again, not obvious but true.
  • 3:18 - 3:23
    So it has an inverse. So let's look at the question. What is f inverse of 32?
  • 3:23 - 3:27
    Very concrete question. Answer, well, by definition, as we were saying before, f
  • 3:27 - 3:31
    inverse of 32 is the input that you need to give the forward function f of x
  • 3:31 - 3:36
    equals 2 to the x to get an output of 32. So I want you to think about like what
  • 3:36 - 3:40
    x you could plug in to get an output of 32 and that will be the answer. Pause
  • 3:40 - 3:47
    your video now. Okay, in other words, f inverse of 32 is the solution to f of x
  • 3:47 - 3:54
    equals 32, or, in other words, f inverse of 32 is the solution to 2 to the ? Is
  • 3:54 - 4:00
    equal to 32. And again, see if you can pause the video now and think about what
  • 4:00 - 4:06
    should go in there to make that equation work. Well, hopefully you realized that
  • 4:06 - 4:12
    since f of 5 equals 2 to the 5 plus 32, you pause the video one more time, and
  • 4:12 - 4:18
    try to figure out what that tells you about f inverse of 32. Well, what that
  • 4:18 - 4:26
    tells you is precisely that f inverse of 32 is 5. So let's turn our attention to
  • 4:26 - 4:30
    more global matters. How do f and f inverse compare overall? How do they look in
  • 4:30 - 4:34
    the big picture? Well, the sort answer to that is that they look exactly the
  • 4:34 - 4:38
    same except everything that happens with f, you switch x and y and you get
  • 4:38 - 4:42
    something that happens f inverse. So for example, the domain of f becomes a
  • 4:42 - 4:47
    range of f inverse and the range of f becomes the domain of f inverse. The graph
  • 4:47 - 4:52
    of f inverse is actually the graph of f but you flip it over or mirror it by the
  • 4:52 - 4:57
    line y equals x. Okay, so returning to our example where the forward function is
  • 4:57 - 5:01
    f of x equals 2 to the x, again, let me repeat that the domain of 2 to the x is
  • 5:01 - 5:06
    all real x, and the range of 2 to the x is all y greater than zero. But on the
  • 5:06 - 5:10
    other hand, if here we have the graph of the inverse function, so here's a graph
  • 5:10 - 5:15
    of the forward function, f of x equals 2 to the x. And here's a graph of the
  • 5:15 - 5:20
    inverse function, f inverse of x. So if you take my word for it that is in fact
  • 5:20 - 5:24
    the inverse function of f of x, we see that the domain of the inverse function
  • 5:24 - 5:29
    is all positive x, just as the range of the forward function was all y greater
  • 5:29 - 5:35
    than zero. And the range of the inverse function is all real numbers. That's a
  • 5:35 - 5:38
    little harder to see. That corresponds with the fact that the domain of the
  • 5:38 - 5:43
    forward function is all real numbers. And furthermore, as we were saying before,
  • 5:43 - 5:50
    the graph of the inverse function, here, is the graph of f of x flipped over
  • 5:50 - 5:54
    this sort of line slope 1 through the origin, line y equals x. Here's the
  • 5:54 - 5:59
    forward function, you flip it over, y equals x to get the inverse, the graph of
  • 5:59 - 6:05
    the inverse function. Okay, so finally, we turn to finding the formula of an
  • 6:05 - 6:08
    inverse function. Let me start with a hard truth, which is that, if you're just
  • 6:08 - 6:11
    watching this for the purpose of calculus, feel free to skip to the end. Because
  • 6:11 - 6:14
    calculus pretty much only really needs inverse functions when we don't have
  • 6:14 - 6:20
    other formulas for them. So the most prominent example is the exponential
  • 6:20 - 6:23
    functions, the whole reason for talking about inverse functions with respect to
  • 6:23 - 6:26
    exponential functions, is that we don't have a better formula for the inverse
  • 6:26 - 6:29
    function 2 to the x to the natural log of 2, which is just another way of saying
  • 6:29 - 6:35
    the inverse function of 2 to the x. However, just for completeness, to find the
  • 6:35 - 6:38
    formula of f inverse, here's what you do. Given a formula for f, especially an
  • 6:38 - 6:43
    algebraic formula, one, you set up the equation y equals f of x. You switch the
  • 6:43 - 6:49
    variables x and y, step two. Three, you solve for y. And four, the end result is
  • 6:49 - 6:53
    that you get something that looks like y equals some stuff and x, and the answer
  • 6:53 - 6:57
    f inverse of x is equal to that stuff in x. All right, so turning to an example.
  • 6:57 - 7:02
    So take f of x equals x cubed minus 7, turns out that's not obvious but it's
  • 7:02 - 7:07
    true, that one to one. So to find a formula for x inverse of x, you set y equals
  • 7:07 - 7:12
    x cubed minus 7 and switch the variables x and y to get that x is equal to y
  • 7:12 - 7:18
    cubed minus 7. And then you solve for y. so then you add 7 to both sides and get
  • 7:18 - 7:21
    x plus 7 equals y cubed. Take the cube to both sides and get that y is equal to
  • 7:21 - 7:26
    the cube root of x plus 7. And so that's your answer, f inverse of x is equal to
  • 7:26 - 7:31
    the cube root of x plus 7. All right, well, what are you doing watching this? Go
  • 7:31 - 7:33
    do something useful instead. Thanks very much and bye.
Title:
Inverse functions
Description:

An overview of the inverse of a one-to-one function.

more » « less
Video Language:
English
Duration:
07:35
media vision edited English subtitles for Inverse functions

English subtitles

Revisions