Reversing an Input and Output Pair
You often translate words or sentences from English to Indonesian, for example, when watching movies or reading news. This translation process is similar to how a function works: there is an input (English word) and an output (Indonesian word).
Real language translation can be ambiguous. Here we use a deliberately small dictionary in which each selected word has exactly one paired translation.
Here, the "Translation Machine" acts like a function that transforms "Mathematics" (input) into "Matematika" (output).
The reverse mapping sends "Matematika" back to "Mathematics". This mapping is an inverse function.
Definition of Inverse Function
An inverse function is a function that "reverses" the operation of an initial function. If function maps element from domain to element in codomain , then its inverse function, denoted as (read "f inverse"), maps element from back to element in .
Mathematically:
In other words, if changes to , then changes back to . The inverse function "undoes" the effect of the original function.
The notation denotes the inverse function. The multiplicative inverse or reciprocal is written .
Condition for a Function to Have an Inverse
For a function to have a two-sided inverse , the function must be bijective. A bijective function is both injective (one-to-one) and surjective (onto).
- Injective (One-to-one): Every distinct element in the domain maps to a distinct element in the codomain. No two different inputs produce the same output.
- Surjective (Onto): Every element in the codomain is the result of mapping from at least one element in the domain. All possible outputs occur.
The specified domain and codomain matter. If is injective but does not reach all of , we can replace its codomain by its actual range. Writing that range as , the resulting function is bijective and therefore has an inverse . If is not injective, reversing its pairs sends one output to more than one input, so the reversed relation is not a function unless the original domain is restricted.
For example, is not injective on because . Restricting its domain and codomain gives the bijection
This function has the inverse .
Determining the Formula for an Inverse Function
To find the formula for the inverse function from a function , you can follow these steps:
- Replace with .
- Swap the positions of the variables and in the equation.
- Solve the equation for in terms of .
- Replace with to get the inverse function formula.
Example:
Let be defined by . Find its inverse.
-
Replace with :
-
Swap and :
-
Solve for :
-
Replace with :
So, the inverse function of is .
Graph of a Function and Its Inverse
The graph of the inverse function is a reflection of the graph of the original function across the line .
For example, look at the graph of , its inverse , and the identity line .
Check Your Understanding
Let be defined by . Work through the three steps below for this function. Check both compositions at the end, because a correct inverse undoes the original in both orders.
- Find .
- Verify both compositions and .
- State the domain and range of both functions.
Solution
Starting with , swap the variables and solve for :
Now verify both directions:
Both and have domain and range . The two identities confirm that the functions undo each other on their complete domains.