# Definition of an Inverse

**Inverse of a Relation:**Given a relation

*Example 1:*If

**Given a function** Inverse of a Function:

*Example 2:*Let

We can now generate a partial list of ordered pairs in the inverse of by switching the order of the input and output values in each line of the data table:

Now if we keep with tradition in mathematics and let be the input value and be the output value, then we get the following table, which corresponds to the equation .

And thus we can conclude that if then .
Let us look at the graphs of this function and its inverse.

One can see that when finding the inverse of a function, one simply reverses the rolls of the inputs and outputs in the ordered pairs. We often think of this in terms of "switching the x's and the y's." In fact, when you start with the equation of a function, written as y in terms of x, then switch the roll of x and y in the equation and then solve the new equation for y, you get the inverse. Let us see this with our example .
-Write the function as y in terms of x.
-Switch the roll of x and y.
-Solve for y.
-(Finish solving for y).
If you are just interested in seeing the graph of a function and its inverse using technology, you can often just enter the equations without solving for y with the inverse. For example, you could just enter and to see the graphs shown in the previous example.
Try this with some graphs on your own. Maybe start by putting and its inverse into the input bar below. You might also look at (enter y=x^2) and .

Download our apps here: