Apakah Fungsi Invers

Read · 1 min

In a function, each input has one output. For any one-to-one function (only one value of yy for every xx), the inverse function "undoes" the original function.

Another way to think about the inverse function is: if the function f(x)f(x) gives the set of points (x,f(x))(x, f(x)), the inverse function (denoted by f−1(x)f^{-1}(x) gives the set of points (f(x),x)(f(x), x).

Thus, to invert the function basically means to switch the outputs and inputs.

Check what you really know

If you can solve a contest problem with this idea, you know it well. If not, you know exactly what to review. These are real problems from the AMC 8, AMC 10, AMC 12 and AIME, the national math competitions for middle and high school students, each with a worked solution on LIVE by Po-Shen Loh.

Read · 2 min

Inverses of Compositions

In this explanation I'm going to talk about how to find the inverse of a composition of functions. Before going on you may want to read about simplifying composite functions and any of the materials here on inverses you'd like.

Suppose ff and gg are invertible functions. That is, there are functions f−1f^{-1} and g−1g^{-1} such that

f(f−1(x))=f−1(f(x))=xf(f^{-1}(x)) = f^{-1}(f(x)) = x g(g−1(x))=g−1(g(x))=xg(g^{-1}(x)) = g^{-1}(g(x)) = x

whenever xx is in the domain of ff and g.g. Now we're going to talk about inverses of compositions of functions.

A composition of two functions ff and gg is a single function represented by the expression f(g(x)),f(g(x)), meaning we have an input xx and then apply gg to it. Whatever output we get, we apply to f.f. Note that this is DIFFERENT from g(f(x)),g(f(x)), which applies ff to the argument xx and then applies g.g.

Let's think about whether f(g(x))f(g(x)) has an inverse. Remember, our goal is to apply a function to get "back" to x,x, and it's important that ff and gg have inverses. We can think of this as a game, where we try to "rescue" xx from inside f(g(x)).f(g(x)). Let's work our way from the outside in. If we apply f−1,f^{-1}, we get

f−1(f(g(x))=g(x).f^{-1}(f(g(x)) = g(x).

Now, if we apply g−1,g^{-1}, we will get

g−1(f−1(f(g(x)))=g−1(g(x))=x.g^{-1}(f^{-1}(f(g(x))) = g^{-1}(g(x)) = x.

This makes us think g−1(f−1(x))g^{-1}(f^{-1}(x)) is the inverse of f(g(x)),f(g(x)), and this will be true if we also check that f(g(g−1(f−1(x)))).f(g(g^{-1}(f^{-1}(x)))). Let's do that one step at a time, using that f−1f^{-1} is the inverse of ff and g−1g^{-1} is the inverse of g.g.

f(g(g−1(f−1(x))))=f(f−1(x))=x.f(g(g^{-1}(f^{-1}(x)))) = f(f^{-1}(x)) = x.

We used that g(g−1(y))=y,g(g^{-1}(y)) = y, where y=f−1(x).y = f^{-1}(x). That let us simplify everything to the end.

In summary, if ff and gg have inverse functions f−1f^{-1} and g−1,g^{-1}, respectively, the inverse of f(g(x))f(g(x)) is g−1(f−1(x)).g^{-1}(f^{-1}(x)).

Now let's do an example with actual functions. This "composition-inverse formula" can save some work because we don't have to find f(g(x))f(g(x)) directly first.

Example: If f(x)=x−3f(x) = x - 3 and g(x)=x3+1,g(x) = x^3 + 1, find (f(g(x))−1.(f(g(x))^{-1}.

Solution: Our formula says that

(f(g(x)))−1=g−1(f−1(x)),(f(g(x)))^{-1} = g^{-1}(f^{-1}(x)),

so our first step is to find f−1(x).f^{-1}(x). This is familiar territory since ff is a linear function.

f(x)=x−3f(x) = x - 3

Set y=f(x),y = f(x), so

y=x−3.y = x - 3.

Now, flip the locations of yy and xx just like any other "find the inverse" problem.

x=y−3.x = y - 3.

Let's solve for yy again, which actually only takes one step: adding 33 to both sides:

y=x+3.y = x + 3.

This means that g−1(f−1(x))=g−1(x+3).g^{-1}(f^{-1}(x)) = g^{-1}(x + 3). Now we need to find g−1(x)g^{-1}(x) (that formula, when we find it, can have x+3x + 3 substituted in to replace xx).

Recall that

g(x)=x3+1,g(x) = x^3 + 1,

so just like when we found f−1,f^{-1}, set y=g(x):y = g(x):

y=x3+1.y = x^3 + 1.

Now swap the xx and y:y:

x=y3+1.x = y^3 + 1.

Let's solve for y,y, which will require two steps. Subtract 11 from both sides:

x−1=y3.x - 1 = y^3.

Take the cube root of both sides:

x−13=y\sqrt[3]{x - 1} = y

This means that g−1(x)=x−13.g^{-1}(x) = \sqrt[3]{x - 1}. Therefore,

g−1(x+3)=(x+3)−13=x+23.g^{-1}(x + 3) = \sqrt[3]{(x + 3) - 1} = \sqrt[3]{x + 2}.

This function is g−1(f−1(x)),g^{-1}(f^{-1}(x)), which is (f(g(x)))−1.(f(g(x)))^{-1}.

Illustrated · 1 min

Inverse Functions

Inverse functions are functions where the xx and yy coordinates are flipped. That is essentially a reflection over the line y=xy=x.

A function must be one-to-one in order to have an inverse.

Inverse Function
A reflection over the line y=x, switching the x and y coordinates.

Image source: by Anusha Rahman

Let's look at an example!

Example

Given the function y=3(x+3)3y=3\left(x+3\right)^{3}, find the inverse.

To start, we are going to graph the original function, which we can see below in purple.

Graph of y=3\left(x+3\right)^{3}

Made using Desmos

Next, since we know we are looking for the inverse of the function, we will add the graph of y=xy=x, which we can see below in orange.

Graphs of y=3\left(x+3\right)^{3}, y=x

Made using Desmos

The orange line will be the line we will reflect our function over. You will learn more about the specifics of how to find the inverse graphically and algebraically. For now, I will tell you that the equation for the inverse function is x=3(y+3)3x=3\left(y+3\right)^{3}. You can see the graph of the inverse function is green.

Graphs of y=3\left(x+3\right)^{3}, y=x, and x=3\left(y+3\right)^{3}

Made using Desmos

We can use the horizontal line test to check if the inverse graph is also a function.

Looking Further

A function must be both one-to-one and onto to have an inverse over its codomain. Being one-to-one means each output comes from only one input, so you can reverse it. Being onto means the function uses every possible output value. If a function doesn’t have both of these, you can’t fully reverse it.

Video · + 1 min read

(Video) Inverse Functions

by Professor Dave Explains

In this video, Professor Dave Explains walks you through what an inverse function is.

Summary

We know that when we put a value into a function (the input), we get another value (the output). If we plug this output value into the inverse function, we should get the input value back. Therefore, we can say that:

If a function =f(x)= f(x), the inverse function is NOT 1f(x)\frac{1}{f(x)}.

This definition is different than what we have previously seen for "inverse" in math. When we talked about inverses before, we talked about fraction inverses, which were essentially reciprocals. That is not the case for function inverses. We must use algebra to find the inverse of a function.

To find the inverse of a function, there are three main steps:

  1. Change f(x)f(x) into yy.

  2. Swap yy and xx.

  3. Solve for yy.

We can express a function inverse as f−1(x)f^{-1}(x). The inverse function must undo all of the operations from the original function.

Some key notes about inverse functions:

  • The domain of f(x)=f(x) = the range of f−1(x)f^{-1}(x), restricting the domain.

  • The domain of f−1(x)=f^{-1}(x) = the range of f(x)f(x), restricting the domain.

  • If, after swapping xx and yy, we can't solve, then the function does not have an inverse. If we are able to solve, then the function has an inverse.

  • Plugging the output of a function into its inverse function will always yield the original input value.

  • f[f−1(x)]=xf[f^{-1}(x)] = x AND f−1[f(x)]=xf^{-1}[f(x)]=x must both be true.

Try some of the examples at the end!

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems