# Finding the Inverse of a Linear Function

The inverse of a linear function is much easier to find as compared to other kinds of functions such as quadratic and rational. The reason is that the domain and range of a linear function naturally span all real numbers unless the domain is restricted.

Before I go over five (5) examples to illustrate the procedure, I want to show you how the domain and range of a given function and its inverse are related.

Domain and Range are just swapped!

Notes to consider about the diagram:

• The domain of the original function becomes the range of the inverse function.
• The range of the original function becomes the domain of the inverse function.
• It is customary to use the letter $\large{\color{blue}x}$ for the domain and $\large{\color{red}y}$ for the range.

The general approach on how to algebraically solve for the inverse is as follows:

## Key Steps in Finding the Inverse of a Linear Function

1. Replace $f\left( x \right)$ by $y$.
2. Switch the roles of $x$ and $y$, in other words, interchange $x$ and $y$ in the equation.
3. Solve for $y$ in terms of $x$.
4. Replace $y$ by ${f^{ - 1}}\left( x \right)$ to get the inverse function.
5. Sometimes, it is helpful to use the domain and range of the original function to identify the correct inverse function out of two possibilities. This happens when you get a “plus or minus” case in the end.

### Examples of How to Find the Inverse of a Linear Function

Example 1: Find the inverse of the linear function

This function behaves well because the domain and range are both real numbers. This ensures that its inverse must be a function too. Maybe you’re familiar with the Horizontal Line Test which guarantees that it will have an inverse whenever no horizontal line intersects or crosses the graph more than once.

Use the key steps above as a guide to solve for the inverse function:

That was easy!

Example 2: Find the inverse of the linear function

Towards the end part of the solution, I want to make the denominator positive so it looks “good”. I did it by multiplying both the numerator and denominator by $-1$.

Example 3: Find the inverse of the linear function

Some students may consider this as a rational function because the equation contains some rational expressions. Don’t be confused by the fractions here. Yes, it has fractions however there are no variables in the denominator. This makes it just a regular linear function.

To work this out, I must get rid of the denominator. I will accomplish that by multiplying both sides of the equation by their Least Common Denominator (LCD).

As shown above, you can write the final answers in two ways. One with a single denominator, and the other is decomposed into partial fractions.

Example 4: Find the inverse of the linear function below and state its domain and range.

This is a “normal” linear function, however, with a restricted domain. The allowable values of $x$ start at $x=2$ and go up to positive infinity. The range can be determined using its graph. Remember that range is the set of all y values when the acceptable values of x (domain) are substituted into the function.

Pay particular attention to how the domain and range are determined using its graph.

Finding the inverse of this function is really easy. But keep in mind how to correctly describe the domain and range of the inverse function. We have gone over this concept at the beginning of this section about the swapping of domain and range.

Always verify the domain and range of the inverse function using the domain and range of the original. They are just interchanged.

Example 5: Find the inverse of the linear function below and state its domain and range.

The first step is to plot the function in $xy$-axis. Clearly label the domain and the range.

Open circle (unshaded dot) means that the number at that point is excluded. If you need to refresh on this topic, check my separate lesson about Solving Linear Inequalities.

Secondly, find the inverse algebraically using the suggested steps. Make sure that you write the correct domain and range of the inverse function.

The $x$ variable in the original equation has a coefficient of $-1$. Keep track of this as you solve for the inverse.

I hope that you gain some basic ideas on how to find the inverse of a linear function. I recommend that you survey the related lessons on how to find inverses of other types of functions.

### Practice with Worksheets

You might also be interested in:

Inverse of a 2×2 Matrix

Inverse of Absolute Value Function

Inverse of Constant Function

Inverse of Exponential Function

Inverse of Logarithmic Function