Use compositions of functions to verify inverses algebraically
Identify an inverse algebraically
Identify the domain and range of inverse functions with tables
Suppose we want to calculate how much it costs to heat a house on a particular day of the year. The cost to heat a house will depend on the average daily temperature, and in turn, the average daily temperature depends on the particular day of the year. Notice how we have just defined two relationships: The cost depends on the temperature, and the temperature depends on the day.
Figure 1
Using descriptive variables, we can notate these two functions. The function C(T) gives the cost C of heating a house for a given average daily temperature in T degrees Celsius. The function T(d) gives the average daily temperature on day d of the year. For any given day, Cost=C(T(d)) means that the cost depends on the temperature, which in turns depends on the day of the year. Thus, we can evaluate the cost function at the temperature T(d). For example, we could evaluate T(5) to determine the average daily temperature on the 5th day of the year. Then, we could evaluate the cost function at that temperature. We would write C(T(5)). By combining these two relationships into one function, we have performed function composition.
We read the left-hand side as "f composed with g at x," and the right-hand side as "f of g of x." The two sides of the equation have the same mathematical meaning and are equal. The open circle symbol ∘ is called the composition operator.
It is also important to understand the order of operations in evaluating a composite function. We follow the usual convention with parentheses by starting with the innermost parentheses first, and then working to the outside.
Example
Using the functions provided, find f(g(x)) and g(f(x)).
f(x)=2x+1g(x)=3−x
Answer:
f(x)=2x+1g(x)=3−x
Let’s begin by substituting g(x) into f(x).\begin{array}f\left(g\left(x\right)\right)=2\left(3-x\right)+1\hfill \\ \text{ }=6 - 2x+1\hfill \\ \text{ }=7 - 2x\hfill \end{array}
Now we can substitute f(x) into g(x).
In the following video you will see another example of how to find the composition of two functions.
https://youtu.be/r_LssVS4NHk
Inverse Functions
An inverse function is a function for which the input of the original function becomes the output of the inverse function. This naturally leads to the output of the original function becoming the input of the inverse function. The reason we want to introduce inverse functions is because exponential and logarithmic functions are inverses of each other, and understanding this quality helps to make understanding logarithmic functions easier. And the reason we introduced composite functions is because you can verify, algebraically, whether two functions are inverses of each other by using a composition.
Given a function f(x), we represent its inverse as f−1(x), read as "f inverse of x." The raised −1 is part of the notation. It is not an exponent; it does not imply a power of −1 . In other words, f−1(x) does not mean f(x)1 because f(x)1 is the reciprocal of f and not the inverse.
Just as zero does not have a reciprocal, some functions do not have inverses.
Inverse Function
For any one-to-one functionf(x)=y, a function f−1(x) is an inverse function of f if f−1(y)=x.
The notation f−1 is read "f inverse." Like any other function, we can use any variable name as the input for f−1, so we will often write f−1(x), which we read as "f inverse of x."
Keep in mind that
f−1(x)=f(x)1
and not all functions have inverses.
In our first example we will identify an inverse function from ordered pairs.
Example
If for a particular one-to-one function f(2)=4 and f(5)=12, what are the corresponding input and output values for the inverse function?
Answer:
The inverse function reverses the input and output quantities, so if
f(2)=4, then f−1(4)=2;f(5)=12, then f−1(12)=5.
Alternatively, if we want to name the inverse function g, then g(4)=2 and g(12)=5.
Analysis of the Solution
Notice that if we show the coordinate pairs in a table form, the input and output are clearly reversed.
(x,f(x))
(x,g(x))
(2,4)
(4,2)
(5,12)
(12,5)
In the following video we show an example of finding corresponding input and output values given two ordered pairs from functions that are inverses.
https://youtu.be/IR_1L1mnpvw
How To: Given two functions f(x) and g(x), test whether the functions are inverses of each other.
Substitute g(x) into f(x). The result must be x. f(g(x))=x
Substitute f(x) into g(x). The result must be x. g(f(x))=x
If f(x) and g(x) are inverses, then f(x)=g−1(x) and g(x)=f−1(x)
In our next example we will test inverse relationships algebraically.
Example
If f(x)=x2−3, for x≥0 and g(x)=x+3, is g the inverse of f? g=f−1?
Answer:
Substitute g(x)=x+3 into f(x), this means the new variable in f(x) is x+3 so you will substitute that expression where you see x. Using parentheses helps keep track of things.
f(x+3)=(x+3)2−3=x+3−3=x
Our result implies that g(x) is indeed the inverse of f(x).
Answer
g=f−1[/latex],for[latex]x≥0
In the following video we use algebra to determine if two functions are inverses.
https://youtu.be/vObCvTOatfQ
We will show one more example of how to verify whether you have an inverse algebraically.
Example
If f(x)=x+21 and g(x)=x1−2, is g the inverse of f? g=f−1?
Answer:
Substitute g(x)=x1−2 into f(x), this means the new variable in f(x) is x1−2 so you will substitute that expression where you see x. Using parentheses helps keep track of things.
f(x1−2)=(x1−2)+21=x11=x
Answer
g=f−1
We will show one more example of how to use algebra to determine whether two functions are inverses of each other.
https://youtu.be/hzehBtNmw08
Domain and Range of a Function and It's Inverse
The outputs of the function f are the inputs to f−1, so the range of f is also the domain of f−1. Likewise, because the inputs to f are the outputs of f−1, the domain of f is the range of f−1. We can visualize the situation.
Domain and range of a function and its inverse
In many cases, if a function is not one-to-one, we can still restrict the function to a part of its domain on which it is one-to-one. For example, we can make a restricted version of the square function f(x)=x2 with its range limited to [0,∞), which is a one-to-one function (it passes the horizontal line test) and which has an inverse (the square-root function).
Domain and Range of Inverse Functions
The range of a function f(x) is the domain of the inverse function f−1(x).
The domain of f(x) is the range of f−1(x).
In our last example we will define the domain and range of a function's inverse using a table of values, and evaluate the inverse at a specific value.
Example
A function f(t) is given below, showing distance in miles that a car has traveled in t minutes.
Define the domain and range of the function and it's inverse.
Find and interpret f−1(70).
t (minutes)
30
50
70
90
f(t) (miles)
20
40
60
70
Answer:
1.Domain and Range of the Original Function
The domain of this tabular function, f(t) , is all the input values, t in minutes:30,50,70,90
The range of this tabular function,f(t), is all the output valuesf(t) in miles:20,40,60,70Domain and Range of the Inverse Function
The domain for the inverse will be the outputs from the original, so the domain of f−1(x) is the output values from f(t): 20,40,60,70
The range for the inverse will be the inputs from the original: 30,50,70,90
This translates to putting in a number of miles and getting out how long it took to drive that far in minutes.
2. So in the expression f−1(70), 70 is an output value of the original function, representing 70 miles. The inverse will return the corresponding input of the original function f, 90 minutes, so f−1(70)=90. The interpretation of this is that, to drive 70 miles, it took 90 minutes.
Summary
The inverse of a function can be defined for one-to-one functions. If a function is not one-to-one, it can be possible to restrict it's domain to make it so. The domain of a function will become the range of it's inverse. The range of a function will become the domain of it's inverse. Inverses can be verified using tabular data as well as algebraically.
Licenses & Attributions
CC licensed content, Original
Ex 1: Determine if Two Functions Are Inverses.Authored by: James Sousa (Mathispower4u.com) for Lumen Learning.License: CC BY: Attribution.
Ex 2: Determine if Two Functions Are Inverses.Authored by: James Sousa (Mathispower4u.com) for Lumen Learning.License: CC BY: Attribution.
CC licensed content, Shared previously
Precalculus.Provided by: OpenStaxAuthored by: Jay Abramson, et al..Located at: https://openstax.org/books/precalculus/pages/1-introduction-to-functions.License: CC BY: Attribution. License terms: Download For Free at : http://cnx.org/contents/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175..
Ex 1: Composition of Function.Authored by: James Sousa (Mathispower4u.com) .License: CC BY: Attribution.
Ex: Function and Inverse Function Values.Authored by: James Sousa (Mathispower4u.com) .License: CC BY: Attribution.
Notice that if we show the coordinate pairs in a table form, the input and output are clearly reversed.