Learning

open
close

All blog posts

Explore the world of design and learn how to create visually stunning artwork.

Inverse Functions

June 21, 2024 | by Bloom Code Studio

Absolute Value Functions

June 21, 2024 | by Bloom Code Studio

Transformation of Functions

June 21, 2024 | by Bloom Code Studio

Composition of Functions

June 21, 2024 | by Bloom Code Studio

Rates of Change and Behavior of Graphs

June 21, 2024 | by Bloom Code Studio

Domain and Range

June 21, 2024 | by Bloom Code Studio

Functions and Function Notation

June 21, 2024 | by Bloom Code Studio

Introduction to Functions

June 21, 2024 | by Bloom Code Studio

Key Concepts

June 21, 2024 | by Bloom Code Studio

Linear Inequalities and Absolute Value Inequalities

June 21, 2024 | by Bloom Code Studio

Learning Objectives

In this section, you will:

A reversible heat pump is a climate-control system that is an air conditioner and a heater in a single device. Operated in one direction, it pumps heat out of a house to provide cooling. Operating in reverse, it pumps heat into the building from the outside, even in cool weather, to provide heating. As a heater, a heat pump is several times more efficient than conventional electrical resistance heating.

If some physical machines can run in two directions, we might ask whether some of the function โ€œmachinesโ€ we have been studying can also run backwards.ย Figure 1ย provides a visual representation of this question. In this section, we will consider the reverse nature of functions.

Diagram of a function and would be its inverse.

Figure 1 Can a function โ€œmachineโ€ operate in reverse?

Verifying That Two Functions Are Inverse Functions

Betty is traveling to Milan for a fashion show and wants to know what the temperature will be. She is not familiar with the Celsius scale. To get an idea of how temperature measurements are related, Betty wants to convert 75 degrees Fahrenheit to degrees Celsius using the formula

C=59(Fโˆ’32)๐ถ=59(๐นโˆ’32)

and substitutes 75 for F๐น to calculate

59(75โˆ’32)โ‰ˆ24ยฐC59(75โˆ’32)โ‰ˆ24ยฐC

Knowing that a comfortable 75 degrees Fahrenheit is about 24 degrees Celsius, Betty gets the weekโ€™s weather forecast fromย Figure 2ย for Milan, and wants to convert all of the temperatures to degrees Fahrenheit.

A forecast of Mondayโ€™s through Thursdayโ€™s weather.

Figure 2

At first, Betty considers using the formula she has already found to complete the conversions. After all, she knows her algebra, and can easily solve the equation for F๐น after substituting a value for C.๐ถ. For example, to convert 26 degrees Celsius, she could write

2626โ‹…95F===59(Fโˆ’32)Fโˆ’3226โ‹…95+32โ‰ˆ7926=59(๐นโˆ’32)26โ‹…95=๐นโˆ’32๐น=26โ‹…95+32โ‰ˆ79

After considering this option for a moment, however, she realizes that solving the equation for each of the temperatures will be awfully tedious. She realizes that since evaluation is easier than solving, it would be much more convenient to have a different formula, one that takes the Celsius temperature and outputs the Fahrenheit temperature.

The formula for which Betty is searching corresponds to the idea of an inverse function, which is a function for which the input of the original function becomes the output of the inverse function and the output of the original function becomes the input of the inverse function.

Given a function f(x),๐‘“(๐‘ฅ), we represent its inverse as fโˆ’1(x),๐‘“โˆ’1(๐‘ฅ), read as โ€œfโ€œ๐‘“ inverse of x.โ€๐‘ฅ.โ€ The raised โˆ’1โˆ’1 is part of the notation. It is not an exponent; it does not imply a power of โˆ’1โˆ’1 . In other words, fโˆ’1(x)๐‘“โˆ’1(๐‘ฅ) does not mean 1f(x)1๐‘“(๐‘ฅ) because 1f(x)1๐‘“(๐‘ฅ) is the reciprocal of f๐‘“ and not the inverse.

The โ€œexponent-likeโ€ notation comes from an analogy between function composition and multiplication: just as aโˆ’1a=1๐‘Žโˆ’1๐‘Ž=1 (1 is the identity element for multiplication) for any nonzero number a,๐‘Ž, so fโˆ’1โˆ˜f๐‘“โˆ’1โˆ˜๐‘“ equals the identity function, that is,

(fโˆ’1โˆ˜f)(x)=fโˆ’1(f(x))=fโˆ’1(y)=x(๐‘“โˆ’1โˆ˜๐‘“)(๐‘ฅ)=๐‘“โˆ’1(๐‘“(๐‘ฅ))=๐‘“โˆ’1(๐‘ฆ)=๐‘ฅ

This holds for all x๐‘ฅ in the domain of f.๐‘“. Informally, this means that inverse functions โ€œundoโ€ each other. However, just as zero does not have a reciprocal, some functions do not have inverses.

Given a function f(x),๐‘“(๐‘ฅ), we can verify whether some other function g(x)๐‘”(๐‘ฅ) is the inverse of f(x)๐‘“(๐‘ฅ) by checking if both g(f(x))=x๐‘”(๐‘“(๐‘ฅ))=๐‘ฅ and f(g(x))=x๐‘“(๐‘”(๐‘ฅ))=๐‘ฅ are true.

For example, y=4x๐‘ฆ=4๐‘ฅ and y=14x๐‘ฆ=14๐‘ฅ are inverse functions.

(fโˆ’1โˆ˜f)(x)=fโˆ’1(4x)=14(4x)=x(๐‘“โˆ’1โˆ˜๐‘“)(๐‘ฅ)=๐‘“โˆ’1(4๐‘ฅ)=14(4๐‘ฅ)=๐‘ฅ

and

(fโˆ˜fโˆ’1)(x)=f(14x)=4(14x)=x(๐‘“โˆ˜๐‘“โˆ’1)(๐‘ฅ)=๐‘“(14๐‘ฅ)=4(14๐‘ฅ)=๐‘ฅ

A few coordinate pairs from the graph of the function y=4x๐‘ฆ=4๐‘ฅ are (โˆ’2, โˆ’8), (0, 0), and (2, 8). A few coordinate pairs from the graph of the function y=14x๐‘ฆ=14๐‘ฅ are (โˆ’8, โˆ’2), (0, 0), and (8, 2). If we interchange the input and output of each coordinate pair of a function, the interchanged coordinate pairs would appear on the graph of the inverse function.

INVERSE FUNCTION

For any one-to-one function f(x)=y,๐‘“(๐‘ฅ)=๐‘ฆ, a function fโˆ’1(x)๐‘“โˆ’1(๐‘ฅ) is an inverse function of f๐‘“ if fโˆ’1(y)=x.๐‘“โˆ’1(๐‘ฆ)=๐‘ฅ. This can also be written as fโˆ’1(f(x))=x๐‘“โˆ’1(๐‘“(๐‘ฅ))=๐‘ฅ for all x๐‘ฅ in the domain of f.๐‘“. It also follows that f(fโˆ’1(x))=x๐‘“(๐‘“โˆ’1(๐‘ฅ))=๐‘ฅ for all x๐‘ฅ in the domain of fโˆ’1๐‘“โˆ’1 if fโˆ’1๐‘“โˆ’1 is the inverse of f.๐‘“.

The notation fโˆ’1๐‘“โˆ’1 is read โ€œfโ€œ๐‘“ inverse.โ€ Like any other function, we can use any variable name as the input for fโˆ’1,๐‘“โˆ’1, so we will often write fโˆ’1(x),๐‘“โˆ’1(๐‘ฅ), which we read as โ€œfโ€œ๐‘“ inverse of x.โ€๐‘ฅ.โ€ Keep in mind that

fโˆ’1(x)โ‰ 1f(x)๐‘“โˆ’1(๐‘ฅ)โ‰ 1๐‘“(๐‘ฅ)

and not all functions have inverses.

EXAMPLE 1

Identifying an Inverse Function for a Given Input-Output Pair

If for a particular one-to-one function f(2)=4๐‘“(2)=4 and f(5)=12,๐‘“(5)=12, what are the corresponding input and output values for the inverse function?

Solution

The inverse function reverses the input and output quantities, so if

f(2)f(5)==4,then fโˆ’1(4)=2;12,then fโˆ’1(12)=5.๐‘“(2)=4,then ๐‘“โˆ’1(4)=2;๐‘“(5)=12,then fโˆ’1(12)=5.

Alternatively, if we want to name the inverse function g,๐‘”, then g(4)=2๐‘”(4)=2 and g(12)=5.๐‘”(12)=5.

Analysis

Notice that if we show the coordinate pairs in a table form, the input and output are clearly reversed. Seeย Table 1.

(x,f(x))(๐‘ฅ,๐‘“(๐‘ฅ))(x,g(x))(๐‘ฅ,๐‘”(๐‘ฅ))
(2,4)(2,4)(4,2)(4,2)
(5,12)(5,12)(12,5)(12,5)
Tableย 1

TRY IT #1

Given that hโˆ’1(6)=2,โ„Žโˆ’1(6)=2, what are the corresponding input and output values of the original function h?โ„Ž?

HOW TO

Given two functions f(x)๐‘“(๐‘ฅ) and g(x),๐‘”(๐‘ฅ), test whether the functions are inverses of each other.

  1. Determine whetherย f(g(x))=x๐‘“(๐‘”(๐‘ฅ))=๐‘ฅย orย g(f(x))=x.๐‘”(๐‘“(๐‘ฅ))=๐‘ฅ.
  2. If either statement is true, then both are true, andย g=fโˆ’1๐‘”=๐‘“โˆ’1ย andย f=gโˆ’1.๐‘“=๐‘”โˆ’1.ย If either statement is false, then both are false, andย gโ‰ fโˆ’1๐‘”โ‰ ๐‘“โˆ’1ย andย fโ‰ gโˆ’1.๐‘“โ‰ ๐‘”โˆ’1.

EXAMPLE 2

Testing Inverse Relationships Algebraically

If f(x)=1x+2๐‘“(๐‘ฅ)=1๐‘ฅ+2 and g(x)=1xโˆ’2,๐‘”(๐‘ฅ)=1๐‘ฅโˆ’2, is g=fโˆ’1?๐‘”=๐‘“โˆ’1?

Solution

g(f(x))===1(1x+2)โˆ’2x+2โˆ’2x๐‘”(๐‘“(๐‘ฅ))=1(1๐‘ฅ+2)โˆ’2=๐‘ฅ+2โˆ’2=๐‘ฅ

We must also verify the other formula.

f(g(x))===11xโˆ’2+211xx๐‘“(๐‘”(๐‘ฅ))=11๐‘ฅโˆ’2+2=11๐‘ฅ=๐‘ฅ

so

g=fโˆ’1and f=gโˆ’1๐‘”=๐‘“โˆ’1and ๐‘“=๐‘”โˆ’1

Analysis

Notice the inverse operations are in reverse order of the operations from the original function.

TRY IT #2

If f(x)=x3โˆ’4๐‘“(๐‘ฅ)=๐‘ฅ3โˆ’4 and g(x)=x+4โˆ’โˆ’โˆ’โˆ’โˆš3,๐‘”(๐‘ฅ)=๐‘ฅ+43, is g=fโˆ’1?๐‘”=๐‘“โˆ’1?

EXAMPLE 3

Determining Inverse Relationships for Power Functions

If f(x)=x3๐‘“(๐‘ฅ)=๐‘ฅ3 (the cube function) and g(x)=13x,๐‘”(๐‘ฅ)=13๐‘ฅ, is g=fโˆ’1?๐‘”=๐‘“โˆ’1?

Solution

f(g(x))=x327โ‰ x๐‘“(๐‘”(๐‘ฅ))=๐‘ฅ327โ‰ ๐‘ฅ

No, the functions are not inverses.

Analysis

The correct inverse to the cube is, of course, the cube root xโˆ’โˆ’โˆš3=x13,๐‘ฅ3=๐‘ฅ13, that is, the one-third is an exponent, not a multiplier.

TRY IT #3

If f(x)=(xโˆ’1)3andg(x)=xโˆ’โˆ’โˆš3+1,๐‘“(๐‘ฅ)=(๐‘ฅโˆ’1)3and๐‘”(๐‘ฅ)=๐‘ฅ3+1, is g=fโˆ’1?๐‘”=๐‘“โˆ’1?

Finding Domain and Range of Inverse Functions

The outputs of the functionย f๐‘“ย are the inputs toย fโˆ’1,๐‘“โˆ’1,ย so the range ofย f๐‘“ย is also the domain ofย fโˆ’1.๐‘“โˆ’1.ย Likewise, because the inputs toย f๐‘“ย are the outputs ofย fโˆ’1,๐‘“โˆ’1,ย the domain ofย f๐‘“ย is the range ofย fโˆ’1.๐‘“โˆ’1.ย We can visualize the situation as inย Figure 3.

Domain and range of a function and its inverse.

Figure 3 Domain and range of a function and its inverse

When a function has no inverse function, it is possible to create a new function where that new function on a limited domain does have an inverse function. For example, the inverse of f(x)=xโˆ’โˆ’โˆš๐‘“(๐‘ฅ)=๐‘ฅ is fโˆ’1(x)=x2,๐‘“โˆ’1(๐‘ฅ)=๐‘ฅ2, because a square โ€œundoesโ€ a square root; but the square is only the inverse of the square root on the domain [0,โˆž),[0,โˆž), since that is the range of f(x)=xโˆ’โˆ’โˆš.๐‘“(๐‘ฅ)=๐‘ฅ.

We can look at this problem from the other side, starting with the square (toolkit quadratic) function f(x)=x2.๐‘“(๐‘ฅ)=๐‘ฅ2. If we want to construct an inverse to this function, we run into a problem, because for every given output of the quadratic function, there are two corresponding inputs (except when the input is 0). For example, the output 9 from the quadratic function corresponds to the inputs 3 and โ€“3. But an output from a function is an input to its inverse; if this inverse input corresponds to more than one inverse output (input of the original function), then the โ€œinverseโ€ is not a function at all! To put it differently, the quadratic function is not a one-to-one function; it fails the horizontal line test, so it does not have an inverse function. In order for a function to have an inverse, it must be a one-to-one function.

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๐‘“(๐‘ฅ)=๐‘ฅ2 with its domain limited to [0,โˆž),[0,โˆž), which is a one-to-one function (it passes the horizontal line test) and which has an inverse (the square-root function).

If f(x)=(xโˆ’1)2๐‘“(๐‘ฅ)=(๐‘ฅโˆ’1)2 on [1,โˆž),[1,โˆž), then the inverse function is fโˆ’1(x)=xโˆ’โˆ’โˆš+1.๐‘“โˆ’1(๐‘ฅ)=๐‘ฅ+1.

Q&A

Is it possible for a function to have more than one inverse?

No. If two supposedly different functions, say,ย g๐‘”ย andย h,โ„Ž,ย both meet the definition of being inverses of another functionย f,๐‘“,ย then you can prove thatย g=h.๐‘”=โ„Ž.ย We have just seen that some functions only have inverses if we restrict the domain of the original function. In these cases, there may be more than one way to restrict the domain, leading to different inverses. However, on any one domain, the original function still has only one unique inverse.

DOMAIN AND RANGE OF INVERSE FUNCTIONS

The range of a function f(x)๐‘“(๐‘ฅ) is the domain of the inverse function fโˆ’1(x).๐‘“โˆ’1(๐‘ฅ).

The domain of f(x)๐‘“(๐‘ฅ) is the range of fโˆ’1(x).๐‘“โˆ’1(๐‘ฅ).

HOW TO

Given a function, find the domain and range of its inverse.

  1. If the function is one-to-one, write the range of the original function as the domain of the inverse, and write the domain of the original function as the range of the inverse.
  2. If the domain of the original function needs to be restricted to make it one-to-one, then this restricted domain becomes the range of the inverse function.

EXAMPLE 4

Finding the Inverses of Toolkit Functions

Identify which of the toolkit functions besides the quadratic function are not one-to-one, and find a restricted domain on which each function is one-to-one, if any. The toolkit functions are reviewed inย Table 2. We restrict the domain in such a fashion that the function assumes allย y-values exactly once.

ConstantIdentityQuadraticCubicReciprocal
f(x)=c๐‘“(๐‘ฅ)=๐‘f(x)=x๐‘“(๐‘ฅ)=๐‘ฅf(x)=x2๐‘“(๐‘ฅ)=๐‘ฅ2f(x)=x3๐‘“(๐‘ฅ)=๐‘ฅ3f(x)=1x๐‘“(๐‘ฅ)=1๐‘ฅ
Reciprocal squaredCube rootSquare rootAbsolute value
f(x)=1×2๐‘“(๐‘ฅ)=1๐‘ฅ2f(x)=xโˆ’โˆ’โˆš3๐‘“(๐‘ฅ)=๐‘ฅ3f(x)=xโˆ’โˆ’โˆš๐‘“(๐‘ฅ)=๐‘ฅf(x)=|x|๐‘“(๐‘ฅ)=|๐‘ฅ|
Tableย 2

Solution

The constant function is not one-to-one, and there is no domain (except a single point) on which it could be one-to-one, so the constant function has no inverse.

The absolute value function can be restricted to the domain [0,โˆž),[0,โˆž), where it is equal to the identity function.

The reciprocal-squared function can be restricted to the domain (0,โˆž).(0,โˆž).

Analysis

We can see that these functions (if unrestricted) are not one-to-one by looking at their graphs, shown inย Figure 4. They both would fail the horizontal line test. However, if a function is restricted to a certain domain so that it passes the horizontal line test, then in that restricted domain, it can have an inverse.

Graph of an absolute function.

Figure 4 (a) Absolute value (b) Reciprocal square

TRY IT #4

The domain of function f๐‘“ is (1,โˆž)(1,โˆž) and the range of function f๐‘“ is (โˆ’โˆž,โˆ’2).(โˆ’โˆž,โˆ’2). Find the domain and range of the inverse function.

Finding and Evaluating Inverse Functions

Once we have a one-to-one function, we can evaluate its inverse at specific inverse function inputs or construct a complete representation of the inverse function in many cases.

Inverting Tabular Functions

Suppose we want to find the inverse of a function represented in table form. Remember that the domain of a function is the range of the inverse and the range of the function is the domain of the inverse. So we need to interchange the domain and range.

Each row (or column) of inputs becomes the row (or column) of outputs for the inverse function. Similarly, each row (or column) of outputs becomes the row (or column) of inputs for the inverse function.

EXAMPLE 5

Interpreting the Inverse of a Tabular Function

A functionย f(t)๐‘“(๐‘ก)ย is given inย Table 3, showing distance in miles that a car has traveled inย t๐‘กย minutes. Find and interpretย fโˆ’1(70).๐‘“โˆ’1(70).

t(minutes)๐‘ก(minutes)30507090
f(t)(miles)๐‘“(๐‘ก)(miles)20406070
Tableย 3

Solution

The inverse function takes an output of f๐‘“ and returns an input for f.๐‘“. So in the expression fโˆ’1(70),๐‘“โˆ’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.๐‘“โˆ’1(70)=90. The interpretation of this is that, to drive 70 miles, it took 90 minutes.

Alternatively, recall that the definition of the inverse was that if f(a)=b,๐‘“(๐‘Ž)=๐‘, then fโˆ’1(b)=a.๐‘“โˆ’1(๐‘)=๐‘Ž. By this definition, if we are given fโˆ’1(70)=a,๐‘“โˆ’1(70)=๐‘Ž, then we are looking for a value a๐‘Ž so that f(a)=70.๐‘“(๐‘Ž)=70. In this case, we are looking for a t๐‘ก so that f(t)=70,๐‘“(๐‘ก)=70, which is when t=90.๐‘ก=90.

TRY IT #5

Usingย Table 4, find and interpretย โ“ย f(60),๐‘“(60),ย andย โ“‘ย fโˆ’1(60).๐‘“โˆ’1(60).

t(minutes)๐‘ก(minutes)3050607090
f(t)(miles)๐‘“(๐‘ก)(miles)2040506070
Tableย 4

Evaluating the Inverse of a Function, Given a Graph of the Original Function

We saw inย Functions and Function Notationย that the domain of a function can be read by observing the horizontal extent of its graph. We find the domain of the inverse function by observing theย verticalย extent of the graph of the original function, because this corresponds to the horizontal extent of the inverse function. Similarly, we find the range of the inverse function by observing theย horizontalย extent of the graph of the original function, as this is the vertical extent of the inverse function. If we want to evaluate an inverse function, we find its input within its domain, which is all or part of the vertical axis of the original functionโ€™s graph.

HOW TO

Given the graph of a function, evaluate its inverse at specific points.

  1. Find the desired input on theย y-axis of the given graph.
  2. Read the inverse functionโ€™s output from theย x-axis of the given graph.

EXAMPLE 6

Evaluating a Function and Its Inverse from a Graph at Specific Points

A functionย g(x)๐‘”(๐‘ฅ)ย is given inย Figure 5. Findย g(3)๐‘”(3)ย andย gโˆ’1(3).๐‘”โˆ’1(3).

Graph of g(x).

Figure 5

Solution

To evaluate g(3),๐‘”(3), we find 3 on the x-axis and find the corresponding output value on the y-axis. The point (3,1)(3,1) tells us that g(3)=1.๐‘”(3)=1.

To evaluateย gโˆ’1(3),๐‘”โˆ’1(3),ย recall that by definitionย gโˆ’1(3)๐‘”โˆ’1(3)ย means the value ofย xย for whichย g(x)=3.๐‘”(๐‘ฅ)=3.ย By looking for the output value 3 on the vertical axis, we find the pointย (5,3)(5,3)ย on the graph, which meansย g(5)=3,๐‘”(5)=3,ย so by definition,ย gโˆ’1(3)=5.๐‘”โˆ’1(3)=5.ย Seeย Figure 6.

Graph of g(x).

Figure 6

TRY IT #6

Using the graph inย Figure 5,ย โ“ย findย gโˆ’1(1),๐‘”โˆ’1(1),ย andย โ“‘ย estimateย gโˆ’1(4).๐‘”โˆ’1(4).

Finding Inverses of Functions Represented by Formulas

Sometimes we will need to know an inverse function for all elements of its domain, not just a few. If the original function is given as a formulaโ€”for example, y๐‘ฆ as a function of xโ€”๐‘ฅโ€” we can often find the inverse function by solving to obtain x๐‘ฅ as a function of y.๐‘ฆ.

HOW TO

Given a function represented by a formula, find the inverse.

  1. Make sureย f๐‘“ย is a one-to-one function.
  2. Solve forย x.๐‘ฅ.
  3. Interchangeย x๐‘ฅย andย y.๐‘ฆ.
  4. Replaceย y๐‘ฆย withย fโˆ’1(x)๐‘“-1(๐‘ฅ). (Variables may be different in different cases, but the principle is the same.)

EXAMPLE 7

Inverting the Fahrenheit-to-Celsius Function

Find a formula for the inverse function that gives Fahrenheit temperature as a function of Celsius temperature.

C=59(Fโˆ’32)๐ถ=59(๐นโˆ’32)

Solution

CCโ‹…95F===59(Fโˆ’32)Fโˆ’3295C+32๐ถ=59(๐นโˆ’32)๐ถโ‹…95=๐นโˆ’32๐น=95๐ถ+32

By solving in general, we have uncovered the inverse function. If

C=h(F)=59(Fโˆ’32),๐ถ=โ„Ž(๐น)=59(๐นโˆ’32),

then

F=hโˆ’1(C)=95C+32๐น=โ„Žโˆ’1(๐ถ)=95๐ถ+32

In this case, we introduced a function hโ„Ž to represent the conversion because the input and output variables are descriptive, and writing Cโˆ’1๐ถโˆ’1 could get confusing.

TRY IT #7

Solve for x๐‘ฅ in terms of y๐‘ฆ given y=13(xโˆ’5).๐‘ฆ=13(๐‘ฅโˆ’5).

EXAMPLE 8

Solving to Find an Inverse Function

Find the inverse of the function f(x)=2xโˆ’3+4.๐‘“(๐‘ฅ)=2๐‘ฅโˆ’3+4.

Solution

yyโˆ’4xโˆ’3x====2xโˆ’3+42xโˆ’32yโˆ’42yโˆ’4+3Set up an equation.Subtract 4 from both sides.Multiply both sides by xโˆ’3and divide by yโˆ’4.Add 3 to both sides.๐‘ฆ=2๐‘ฅโˆ’3+4Set up an equation.๐‘ฆโˆ’4=2๐‘ฅโˆ’3Subtract 4 from both sides.๐‘ฅโˆ’3=2๐‘ฆโˆ’4Multiply both sides by ๐‘ฅโˆ’3and divide by ๐‘ฆโˆ’4.๐‘ฅ=2๐‘ฆโˆ’4+3Add 3 to both sides.

So fโˆ’1(y)=2yโˆ’4+3๐‘“โˆ’1(๐‘ฆ)=2๐‘ฆโˆ’4+3 or fโˆ’1(x)=2xโˆ’4+3.๐‘“โˆ’1(๐‘ฅ)=2๐‘ฅโˆ’4+3.

Analysis

The domain and range ofย f๐‘“ย exclude the values 3 and 4, respectively.ย f๐‘“ย andย fโˆ’1๐‘“โˆ’1ย are equal at two points but are not the same function, as we can see by creatingย Table 5.

x๐‘ฅ125fโˆ’1(y)๐‘“โˆ’1(๐‘ฆ)
f(x)๐‘“(๐‘ฅ)325y๐‘ฆ
Tableย 5

EXAMPLE 9

Solving to Find an Inverse with Radicals

Find the inverse of the function f(x)=2+xโˆ’4โˆ’โˆ’โˆ’โˆ’โˆš.๐‘“(๐‘ฅ)=2+๐‘ฅโˆ’4.

Solution

y(yโˆ’2)2x===2+xโˆ’4โˆ’โˆ’โˆ’โˆ’โˆšxโˆ’4(yโˆ’2)2+4๐‘ฆ=2+๐‘ฅโˆ’4(๐‘ฆโˆ’2)2=๐‘ฅโˆ’4๐‘ฅ=(๐‘ฆโˆ’2)2+4

So fโˆ’1(x)=(xโˆ’2)2+4.๐‘“โˆ’1(๐‘ฅ)=(๐‘ฅโˆ’2)2+4.

The domain of f๐‘“ is [4,โˆž).[4,โˆž). Notice that the range of f๐‘“ is [2,โˆž),[2,โˆž), so this means that the domain of the inverse function fโˆ’1๐‘“โˆ’1 is also [2,โˆž).[2,โˆž).

Analysis

The formula we found for fโˆ’1(x)๐‘“โˆ’1(๐‘ฅ) looks like it would be valid for all real x.๐‘ฅ. However, fโˆ’1๐‘“โˆ’1 itself must have an inverse (namely, f๐‘“ ) so we have to restrict the domain of fโˆ’1๐‘“โˆ’1 to [2,โˆž)[2,โˆž) in order to make fโˆ’1๐‘“โˆ’1 a one-to-one function. This domain of fโˆ’1๐‘“โˆ’1 is exactly the range of f.๐‘“.

TRY IT #8

What is the inverse of the function f(x)=2โˆ’xโˆ’โˆ’โˆš?๐‘“(๐‘ฅ)=2โˆ’๐‘ฅ? State the domains of both the function and the inverse function.

Finding Inverse Functions and Their Graphs

Now that we can find the inverse of a function, we will explore the graphs of functions and their inverses. Let us return to the quadratic functionย f(x)=x2๐‘“(๐‘ฅ)=๐‘ฅ2ย restricted to the domainย [0,โˆž),[0,โˆž),ย on which this function is one-to-one, and graph it as inย Figure 7.

Graph of f(x).

Figure 7 Quadratic function with domain restricted to [0, โˆž).

Restricting the domain to [0,โˆž)[0,โˆž) makes the function one-to-one (it will obviously pass the horizontal line test), so it has an inverse on this restricted domain.

We already know that the inverse of the toolkit quadratic function is the square root function, that is, fโˆ’1(x)=xโˆ’โˆ’โˆš.๐‘“โˆ’1(๐‘ฅ)=๐‘ฅ. What happens if we graph both f๐‘“ and fโˆ’1๐‘“โˆ’1 on the same set of axes, using the x-๐‘ฅ- axis for the input to both fand  fโˆ’1?๐‘“and  ๐‘“โˆ’1?

We notice a distinct relationship: The graph ofย fโˆ’1(x)๐‘“โˆ’1(๐‘ฅ)ย is the graph ofย f(x)๐‘“(๐‘ฅ)ย reflected about the diagonal lineย y=x,๐‘ฆ=๐‘ฅ,ย which we will call the identity line, shown inย Figure 8.

Graph of f(x) and f^(-1)(x).

Figure 8 Square and square-root functions on the non-negative domain

This relationship will be observed for all one-to-one functions, because it is a result of the function and its inverse swapping inputs and outputs. This is equivalent to interchanging the roles of the vertical and horizontal axes.

EXAMPLE 10

Finding the Inverse of a Function Using Reflection about the Identity Line

Given the graph ofย f(x)๐‘“(๐‘ฅ)ย inย Figure 9, sketch a graph ofย fโˆ’1(x).๐‘“โˆ’1(๐‘ฅ).

Graph of f^(-1)(x).

Figure 9

Solution

This is a one-to-one function, so we will be able to sketch an inverse. Note that the graph shown has an apparent domain of (0,โˆž)(0,โˆž) and range of (โˆ’โˆž,โˆž),(โˆ’โˆž,โˆž), so the inverse will have a domain of (โˆ’โˆž,โˆž)(โˆ’โˆž,โˆž) and range of (0,โˆž).(0,โˆž).

If we reflect this graph over the lineย y=x,๐‘ฆ=๐‘ฅ,ย the pointย (1,0)(1,0)ย reflects toย (0,1)(0,1)ย and the pointย (4,2)(4,2)ย reflects toย (2,4).(2,4).ย Sketching the inverse on the same axes as the original graph givesย Figure 10.

Graph of f(x) and f^(-1)(x).

Figure 10 The function and its inverse, showing reflection about the identity line

TRY IT #9

Draw graphs of the functionsย f๐‘“ย andย fโˆ’1๐‘“โˆ’1ย fromย Example 8.

Q&A

Is there any function that is equal to its own inverse?

Yes. Ifย f=fโˆ’1,๐‘“=๐‘“โˆ’1,ย thenย f(f(x))=x,๐‘“(๐‘“(๐‘ฅ))=๐‘ฅ,ย and we can think of several functions that have this property. The identity function does, and so does the reciprocal function, because

11x=x11๐‘ฅ=๐‘ฅ

Any functionย f(x)=cโˆ’x,๐‘“(๐‘ฅ)=๐‘โˆ’๐‘ฅ,ย whereย c๐‘ย is a constant, is also equal to its own inverse.