# Finding the Inverse of a Logarithmic Function

Finding the inverse of a log function is as easy as following the suggested steps below. You will realize later after seeing some examples that most of the work boils down to solving an equation. The key steps involved include isolating the log expression and then rewriting the log equation into an exponential equation. You will see what I mean when you go over the worked examples below.

**Steps to Find the Inverse of a Logarithm**

**STEP 1: **Replace the function notation *f *(*x*) by y.

*f* (*x*) → *y*

**STEP 2: **Switch the roles of *x* and *y*.

*x* → *y*

*y* → *x*

**STEP 3: **Isolate the **log expression** on one side (left or right) of the equation.

**STEP 4: **Convert or transform the log equation into its equivalent exponential equation.

- Notice that the subscript “b” in log form becomes the base with exponent “N” in exponential form.

- The variable “M” stays in the same place.

**STEP 5: **Solve the exponential equation for “*y*” to get the inverse. Then replace *y* by *f *^{ -1}(*x*) which is the inverse notation to write the final answer.

**Rewrite y as f ^{-1} (x)**

**Examples of How to Find the Inverse of a Logarithm**

**Example 1:** Find the inverse of the log equation

Start by replacing the function notation *f *(*x*) by *y*. Then, interchange the roles of *x* and *y*.

Proceed by solving for “*y*” and replacing it by *f*^{ -1}(*x*) to get the inverse. Part of the solution below includes rewriting the log equation into an exponential equation. Here’s the formula again that is used in the conversion process.

Notice how the base “2” of the log expression becomes the base with an exponent of “*x*“. The stuff inside the parenthesis remains in its original location.

Once the log expression is gone by converting it into an exponential expression, we can finish this off by subtracting both sides by 3. Don’t forget to replace the variable y by the inverse notation *f *^{ -1}(*x*) in the end.

One way to check if we got the correct inverse is to graph both the log equation and inverse function in a single xy-axis. If their graphs are symmetrical along the line *y* = *x* , then we can be confident that our answer is indeed correct.

**Example 2:** Find the inverse of the log function

Let’s add up some level of difficulty to this problem. The equation has a log expression being subtracted by 7. I hope you can assess that this problem is extremely doable. The solution will be a bit messy but definitely manageable.

So I begin by changing the *f* (*x*) into y, and swapping the *x* and *y*.

Now, we can solve for *y*. Add both sides of the equation by 7 to isolate the logarithmic expression on the right side.

By successfully isolating the log expression on the right, we are ready to convert this into an exponential equation. Observe that the base of log expression which is 5 becomes the base of the exponential expression on the left side. The expression **2 y-1** inside the parenthesis on the right is now by itself without the log operation.

After doing so, proceed by solving for “*y*” to obtain the required inverse function. Do that by adding both sides by 1, followed by dividing both sides by the coefficient of *y* which is 2.

Let’s sketch the graphs of the log and inverse functions in the same Cartesian plane to verify that they are indeed symmetrical along the line *y* = *x*.

**Example 3:** Find the inverse of the log function

So this is a little more interesting than the first two problems. Observe that the base of log expression is **missing**. If you encounter something like this, the assumption is that we are working with a logarithmic expression with **base 10**. Always remember this concept to help you get around problems with the same setup.

I hope you are already more comfortable with the procedures. We start again by making *f* (*x*) as *y*, then switching around the variables *x* and *y* in the equation.

Our next goal is to isolate the log expression. We can do that by subtracting both sides by 1 followed by dividing both sides by −3.

The log expression is now by itself. Remember, the “missing” base in the log expression implies a **base of 10**. Transform this into an exponential equation, and start solving for *y*.

Notice that the entire expression on the left side of the equation becomes the exponent of 10 which is the implied base as pointed out before.

Continue solving for *y* by subtracting both sides by 1 and dividing by − 4. After y is fully isolated, replace that by the inverse notation *f*^{ -1}(*x*). Done!

Graphing the original function and its inverse on the same xy axis reveals that they are symmetrical about the line *y *= *x*.